/* 全体 */
body{
    font-family: serif;
    margin: 0;
    padding: 0;
    background-color: #FDFDFD;
}

/* header */
.logo{
    width: 300px;
    height: 200px;
    margin:-40px auto;
    display: block;
    object-fit: cover;
}


/*=========================================
#hamburger
=========================================*/
.hamburger {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 150;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

.hamburger span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background-color: #333333;
    transition: transform .3s;
}

.hamburger.is-active span {
    background-color: #ffffff;
}

.hamburger span:nth-child(1) {
    top: 30%;
}

.hamburger span:nth-child(2) {
    top: 60%;
}

.hamburger span:nth-child(3) {
    top: 90%;
}

/*=========================================
#drawer
=========================================*/
.drawer {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 130;
    width: 100%;
    height: 100vh;
    background-color: #3a3a3a;
    transition: opacity .3s, visibility .3s;
}

.drawer.is-active {
    visibility: visible;
    opacity: 1;
}

.drawer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.drawer__list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.drawer__link {
    color: #ffffff;
    margin-left: -50px;
}

.drawer__item a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.drawer__item{
    list-style: none;
}

.main_sub{
    text-align: center;
    margin-top: 20px;
}


/*===========================
    ニュース 
 ==========================*/
.news {
    width: 90%;
    margin: 0 auto;
    border-radius: 15px;
}
  
  
.inner {
    width: 90%;
    margin: 0 auto;
    padding: 65px 0 100px;
    border-radius: 15px;
}
  
  
.sub_ttl {
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
}

/* ここからがニュース記事のCSS */

.news_list {
    margin: 0 5%;
}

.news_list_item {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
    list-style: none;
}

.news_list_item:first-child {
    border-top: 1px solid #E6E6E6;
}
.news_list_item a {
    position: relative;
    display: flex;
    padding-right: 30px;
    text-decoration: none;
    color: #333333;
}

.news_list_date {
    font-size: 15px;
    display: flex;
    margin-right: 15px;
    align-items: center;
}

.news_item {
    background: #fbd187;
    border-radius: 14px;
    width: 6em;
    /* 親要素の文字サイズを基準 */
    text-align: center;
    margin-left: 20px;
}

.arrow {
    width: 25px;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 50%;
    right: 0;
}

.arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background: #707070;
    transform: rotate(45deg);
    position: absolute;
    right: 0px;
    bottom: 2px;
}

/*===========================
    検索
 ==========================*/
 .search-form-5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 300px; /* 任意の幅に調整してください */
    overflow: hidden;
    border-radius: 3px;
    background-color: #fafafa;
    margin: 0 auto;
    margin-top: 50px;
}

.search-form-5 input {
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    background-color: #fafafa;
    font-size: 1em;
    outline: none;
}

.search-form-5 input::placeholder {
    color: #999;
}

.search-form-5 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.search-form-5 button::after {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%3Cpath%20d%3D%22M23.7%2020.8%2019%2016.1c-.2-.2-.5-.3-.8-.3h-.8c1.3-1.7%202-3.7%202-6C19.5%204.4%2015.1%200%209.7%200S0%204.4%200%209.7s4.4%209.7%209.7%209.7c2.3%200%204.3-.8%206-2v.8c0%20.3.1.6.3.8l4.7%204.7c.4.4%201.2.4%201.6%200l1.3-1.3c.5-.5.5-1.2.1-1.6zm-14-5.1c-3.3%200-6-2.7-6-6s2.7-6%206-6%206%202.7%206%206-2.6%206-6%206z%22%20fill%3D%22%23777777%22%3E%3C%2Fpath%3E%20%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    content: '';
}

/*===========================
    アコーディオン
 ==========================*/

.accordion {
    margin: 20px auto;
    max-width: 60vw;
}
    
.toggle {
    display: none;
}
    
.option {
    position: relative;
    margin-bottom: 1em;
}
    
.title,
.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
    
.title {
    border: solid 1px #ccc;
    padding: 1em;
    display: block;
    color: #333;
    font-weight: bold;
}

.title::after,
.title::before {
    content: "";
    position: absolute;
    right: 1.25em;
    top: 1.25em;
    width: 2px;
    height: 0.75em;
    background-color: #999;
    transition: all 0.3s;
}
    
.title::after {
    transform: rotate(90deg);
}

.content {
    max-height: 0;
    overflow: hidden;
    background-color: #fafafa;
}

.content p {
    margin: 0;
    padding: 0.5em 1em 1em;
    font-size: 0.9em;
    line-height: 1.5;
}

.toggle:checked + .title + .content {
    max-height: 500px;
    transition: all 1.5s;
}
 
.toggle:checked + .title::before {
    transform: rotate(90deg) !important;
}

/*===========================
    ラジオボタン
 ==========================*/

.radio_wrapper{
    margin-top: 20px;
}

.radio-3 {
    border: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 60vw;
}

.radio-3 label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    max-width: 200px;
    padding: .5em .7em;
    border: 1px solid #ffc35c;
    border-radius: 25px;
    background-color: #ffc35c26;
    cursor: pointer;
    margin: -10px 20px 20px 20px;
}

.radio-3 label:has(:checked) {
    background-color: #ffc35c;
    color: #fff;
}

.radio-3 label::before,
.radio-3 label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}

.radio-3 label::before {
    width: 14px;
    height: 14px;
    background-color: #fff;
}

.radio-3 label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: calc(7px + .7em);
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background-color: #ffc35c;
}

.radio-3 input {
    display: none;
}




/*===========================
    バナースライドショー
 ==========================*/

.out{
    position: relative;
    margin-top: 50px;
}

.in img{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
}
.out img{
    display: block;
    width: 100%;
    height: auto;
}

.out input{
    display: none;
}

.in{
    display: flex;
    justify-content: center;
}

label span{
    display: block;
    width: 10px;
    height: 10px;
    padding: 7px;
    margin: 10px 0 0;
    border-radius: 100%;
    cursor: pointer;
    position: relative;
}

label span::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    opacity: 0.5;
    border-radius: 100%;
}  

input:nth-of-type(1):checked ~ .in label:nth-of-type(1) span::before,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) span::before,
input:nth-of-type(3):checked ~ .in label:nth-of-type(3) span::before,
input:nth-of-type(4):checked ~ .in label:nth-of-type(4) span::before{
    background: #000;
    opacity: 1;
}

label span::before{
    animation: slidebutton 14s infinite;
}

@keyframes slidebutton{
    0%{opacity: 0.5;background: #e0e0e0;}
    3.5%{opacity: 1;background: #333;}/* b÷x×100=y */
    25%{opacity: 1;background: #333;}/* 100÷c=z */
    28.5%{opacity: 0.5;background: #e0e0e0;}/* y+z */
}

label:nth-of-type(2) span::before,label:nth-of-type(2) img{
    animation-delay: 3.5s;
}

label:nth-of-type(3) span::before,label:nth-of-type(3) img{
    animation-delay: 7s;
}

label:nth-of-type(4) span::before,label:nth-of-type(4) img{
    animation-delay: 10.5s;
}

input:nth-of-type(1):checked ~ .in label:nth-of-type(1) img,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) img,
input:nth-of-type(3):checked ~ .in label:nth-of-type(3) img,
input:nth-of-type(4):checked ~ .in label:nth-of-type(4) img{
    opacity: 1;
    z-index: 1;
}

.in img{
    animation: slide 14s infinite;/* (a+b)×c=x */
    opacity: 0;
}

@keyframes slide{
    0%{opacity: 0;}
    3.5%{opacity: 1;z-index: 1;}/* b÷x×100=y */
    25%{opacity: 1;}/* 100÷c=z */
    28.5%{opacity: 0;z-index: 0;}/* y+z */
}

input:checked ~ .in img,input:checked ~ .in span::before{
    animation: none;
}

.in:hover img,.in:hover span::before{
    animation-play-state:paused;/* マウスを載せると一時停止 */
}

/*===========================
    フッター
 ==========================*/

.footer-2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 25px 10px 10px;
    background-color: #333;
    position: sticky;
}

.footer-2__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1.5em;
    list-style-type: none;
    margin: 0 0 .5em;
    padding: .5em;
}

.footer-2__sns-icon {
    width: 21px;
    height: 21px;
}

.footer-2__copyright {
    margin: 0;
    color: #ffffffb3;
    font-weight: 200;
    font-size: .8em;
}

/*===========================
    Q&A
 ==========================*/
.qa_sub{
    text-align: center;
    font-size: 20px;
}

.qa_wrapper{
    margin: 40px 0;
}

.qa-6 {
    width: 70%;
    max-width: 600px;
    border-bottom: 2px solid #ebebeb;
    margin: 0 auto;
    margin-bottom: 50px;
}

.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    margin: 0 10px;
}

.qa-6 summary::before,
.qa-6 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-6 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-6[open] summary::after {
    transform: rotate(225deg);
}

.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
    transform: none;
    opacity: 1;
}

.qa-6 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

.yoyaku{
    color: #333;
}


/*===========================
    スキルアップ
 ==========================*/

.tab-1 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.tab-1 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: #e9f0f6;
    color: #535353;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-1 > label:hover {
    opacity: .8;
}

.tab-1 input {
    display: none;
}

.tab-1 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.tab-1 label:has(:checked) {
    background-color: #fff;
    border-color: #feb958 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #333333;
}

.tab-1 label:has(:checked) + div {
    display: block;
}

.sikaku{
    text-align: center;
    margin-top: 40px;
    font-size: 17px;
}

.skill_sub{
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
}

.skill_sub img{
    width: 200px;
    height: 130px;
    object-fit: cover;
}

.skill_sub a{
    text-decoration: none;
    color: #333;
    margin: 10px 10px;
}

.skill_sub a p{
    margin-top: -2px;
}

/*===========================
    お問い合わせフォーム
 ==========================*/

.Form {
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

@media screen and (max-width: 480px) {
    .Form {
      margin-top: 40px;
    }
}

.Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 90%;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

@media screen and (max-width: 480px) {
    .Form-Item {
      padding-left: 14px;
      padding-right: 14px;
      padding-top: 16px;
      padding-bottom: 16px;
      flex-wrap: wrap;
    }
}

.Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
}

.Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 17px;
}
@media screen and (max-width: 480px) {
    .Form-Item-Label {
      max-width: inherit;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
}

.Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
}

  @media screen and (max-width: 480px) {
    .Form-Item-Label.isMsg {
      margin-top: 0;
    }
}

.Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #F6C6A2;
    color: #fff;
    font-size: 14px;
}

@media screen and (max-width: 480px) {
    .Form-Item-Label-Required {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      width: 32px;
      font-size: 10px;
    }
}

.Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 16px;
    font-family: serif;
}

@media screen and (max-width: 480px) {
    .Form-Item-Input {
      margin-left: 0;
      margin-top: 18px;
      height: 40px;
      flex: inherit;
      font-size: 15px;
    }
}

.Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}

@media screen and (max-width: 480px) {
    .Form-Item-Textarea {
      margin-top: 18px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 15px;
    }
}

.Form-Btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #F6C6A2;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: none;
    font-family: serif;
}
@media screen and (max-width: 480px) {
    .Form-Btn {
      margin-top: 24px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 160px;
      font-size: 16px;
    }
}

.form_title{
    text-align: center;
    font-size: 20px;
}

.form_sub{
    text-align: center;
    margin-top: -20px;
    font-size: 15px;
}
  



@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}

@media screen and (max-width: 769px) {
    .news_list_item a  {
        font-size: 14px;
    }
    .arrow{
        display: none;
    }

    .logo{
        width: 200px;
    }

    .skill_sub img{
        width: 150px;
    }

}
@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }
    .news_list_item a {
        padding-right: 0;
    }
}