@charset "UTF-8";

/*===================================
ヘッダー
===================================*/
.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    color: #204666;
    background-color: #fff;
    box-shadow: 0px 2px 6px 0px rgb(0 0 0 / 25%);
}

.header__logo{
    width: 15%;
}

.header__logo-img{
    width: 70%;
}

.header__link{
    align-items: center;
}

.header__nav-list{
    font-weight: 900;
    gap: 60px;
    margin-right: 60px;
}

.header__nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 4px; /* 下線との余白 */
    text-decoration: none;
}

.header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #FF6E4A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.header__nav-link:hover::after {
    transform: scaleX(1);
}

.header__cta-link{
    max-width: 350px;
} 

.cta-button__link{
    width: 200px;
    padding: 15px;
    text-align: center;
    background: #FF6E4A;
    border-radius: 20px;
    color: #fff;
    display: block; 
    font-size: 1.8rem;
    font-weight: bold;
}

.u-sm-block{
    display: none;
}

@media screen and (max-width: 768px) {

    .header__logo-img{
        width: 140px;
    }

    /* 初期状態（is-ready が無い間） */
    .header:not(.is-ready),
    .header:not(.is-ready) * {
        transition: none;
    }

    /* is-ready 以降 */
    .header.is-ready,
    .header.is-ready * {
        transition: all 0.4s ease;
    }

    .header__logo{
        width: 30%;
    }

    .header__nav-item{
        border-bottom: 1px solid #C6C5C6;
    }

    .u-pc-block{
        display: none;
    }

}

/*===================================
ハンバーガーメニュー
===================================*/
body.is-fixed{
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.hamburger {
  display: none;
  position: relative;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger__line:nth-child(1) {
  top: 0;
}
.hamburger__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger__line:nth-child(3) {
  bottom: 0;
}
.is-open .hamburger__line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media screen and (max-width: 768px) {

  .header {
    display: flex;
    align-items: center;
  }

  .header__logo {
    flex-shrink: 0;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 1001;
  }

  /* PCナビはSPでは非表示 or off-canvas */
  .header__link {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #FFF6F1;
    padding: 50px 40px 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    border-radius: 80px 0px 0px 0px;
    overflow-y: auto;
  }

  .header.is-open .header__link {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    margin-right: 0;
  }

  .header-menu__link--top,.header-menu__parent--about,.header-menu__item--news,.header-menu__parent--service,.header-menu__link--contact,.header-menu__item--school{
        font-size: 2.2rem;
        font-weight: bold;
        color: #000;
    }

    .header-menu__parent--about,.header-menu__parent--service,.header-menu__link--contact{
        margin-bottom: 20px;
    }

    .header-menu__en{
        display: block;
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 5px;
        color: #FF6E4A;
    }

    .header-menu__child{
        display: block;
        font-size: 1.6rem;
        margin-bottom: 10px;
        border-bottom: dotted 4px #f9b651;
    }

    .header-menu__item--logo{
        width: 200px;
        margin: 50px auto;
    }

  .cta-button {
    margin-top: 24px;
  }
}


/*===================================
共通
===================================*/
[id]{
  scroll-margin-top: 100px;
}

.l-main{
    margin-top: 95px;
}

.l-section{
    background-image: url(../img/top/top_bkg.png);
    background-size: 100%;
    /* height: 1450px; */
    background-repeat: no-repeat;
}

.l-container{
    max-width: 1300px;
    margin: 0 auto;
}

.bg-orange{
    background-color: #FFF6F1;
}

.section-title__jp{
    font-size: 5rem;
    font-weight: bold;
    display: inline-block;
}

.section-title__en{
    font-weight: bold;
    font-style: normal;
    font-size: 1.4rem;
    letter-spacing: 1px;
    display: block;
    color: #FF6E4A;
}

.page-section{
    padding-top: 100px;
    padding-bottom: 60px;
}

.section-block_01{
    background-image: url(../img/top/top_bkg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.section-block_02{
    background-color: #FFF6F1;
    padding: 40px 0 60px;
}

.section-block_03{
    background-image: url(../img/top/top_bkg_reverse.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.block-title {
    font-size: 3rem;
    font-weight: bold;
    width: fit-content;
    position: relative;
    padding-bottom: 12px;
}

.block-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        to right,
        #FF6E4A 0%,
        #FF6E4A 20%,
        #E5E3E3 20%,
        #E5E3E3 100%
    );
}

.scroll-space{
    box-sizing: border-box;
    overflow: hidden;
}

.fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
  &.fadein-left{
      transform: translate(-30px,0);
  }
  &.fadein-right{
      transform: translate(30px,0);
  }
  &.fadein-up{
      transform: translate(0,-30px);
  }
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}

@media screen and (max-width: 768px) {

    .l-main{
        margin-top: 90px;
    }

    .l-section{
        background-image: url(../img/top/top_bkg_sp.png);
        background-position: top;
        background-size: auto;
    }

    .section-block_01{
        background-image: url(../img/top/top_bkg_sp.png);
        background-position: top;
        background-size: 100% 100%;
    }

    .section-block_03{
        background-image: url(../img/top/top_bkg_sp_reverse.png);
        background-position: top;
        background-size: 100% 100%;
    }

    .section-title__jp{
         font-size: 2.5rem;
    }

    .section-title__en{
        font-size: 1.3rem;
    }

    .block-title{
        font-size: 2.3rem;
        padding-bottom: 8px;
    }

    .block-title::after{
        height: 3px;
    }
}

/*===================================
下層ページメインビジュアル
===================================*/
.sub-mv{
    background-color: #FFF6F1;
    padding: 10px 10px 0;
    margin-top: 100px;
}

.sub-mv__inner{
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-mv__title{
    font-size: 60px;
    font-weight: bold;
}

.breadcrumb{
    position: absolute;
    bottom: 10px;
    display: flex;
}

.breadcrumb__item {
  font-size: 14px;
}

.breadcrumb__item:not(:last-child) span{
    border-bottom: solid 1px #C4C0C0;
    padding-bottom: 5px;
}

.breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
}

@media (max-width: 768px){

    .sub-mv{
        padding: 30px 15px;
        margin-top: 90px;
    }

    .page-section{
        padding-top: 50px;
    }

    .sub-mv__inner{
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-mv__title{
        font-size: 30px;
    }

    .breadcrumb{
        bottom: -10px;
    }
}


/*===================================
フッター
===================================*/
.l-footer{
    background-color: #FFF6F1;
    padding: 30px 30px 10px;
    font-weight: bold;
}

.l-footer__inner{
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
}

.footer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: #fff;
    padding: 105px 45px;
    width: 55%;
    max-width: 1100px;
    font-size: 15px;
}

.footer__nav-group{
    display: flex;
    gap: 40px;
}

.footer .footer__nav .footer__item{
    margin-bottom: 10px;
    position: relative;
}

.footer .footer__nav .footer__item::before{
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #FFA78D;
    position: absolute;
    top: 7px;
    left: -13px;
}

.footer .footer__nav .footer__sub-item{
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.footer .footer__nav .footer__sub-item::before{
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 15px;
    height: 1px;
    background: #FFA78D;
}

.footer .footer__company .footer__logo{
    display: block;
    width: 240px;
} 

.footer .footer__company .footer__address{
   margin-top: 25px;
} 

.tel-link{
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.tel-link::before{
    content: url(../img/top/tel.svg);
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.footer .footer__company .footer__sns{
    display: flex;
    align-items: center;
    margin-top: 10px;
} 

.footer .footer__company .footer__sns .instagram{
    display: block;
    width: 48px;
    margin-right: 5px;
} 

.footer-contact{
    background-color: #fff;
    padding: 30px;
    width: 43%;
}

.footer-contact__btn{
    display: block;
    background-color: #FF6E4A;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    position: relative;
    margin-top: 24px;
    margin-left: auto;
    transition: 0.5s;
}

.footer-contact__btn:hover{
    opacity: 0.5;
}

.footer-contact__btn img{
    position: absolute;
    width: 100px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.footer-contact__text{
    font-size: 15px;
    margin-top: 35px;
    line-height: 2;
}

.l-footer__copyright{
    display: block;
    text-align: center;
    margin-top: 20px;
    font-weight: 100;
}

/* タブレット（PCサイズ維持） */
@media screen and (max-width:1300px) and (min-width:768px){

    .l-footer__inner{
        display: block;
    }

    .footer {
        justify-content: flex-start;
        gap: 100px;
        width: 100%;
        max-width: none;
    }

    .footer__nav-group{
        gap: 100px;
    }

    .footer-contact{
        display: block;
        width: 100%;
    }

}

@media (max-width: 768px){

   .l-footer{
        padding: 20px;
    }

    .l-footer__inner{
        display: block;
    }

    .footer{
        display: block;
        padding: 35px;
        width: 100%;
    }

    .footer .footer__company .footer__logo{
        width: 200px;
        margin: 0 auto;
    }

    .footer__nav-group{
        margin-top: 20px;
        display: block;
    }

    .footer .footer__nav .footer__item{
        padding-left: 15px;
    }

    .footer .footer__nav .footer__item::before{
        left: 0;
    }

    .footer .footer__nav .footer__sub-item{
        padding-left: 40px;
    }

    .footer .footer__nav .footer__sub-item::before{
        left: 20px;
    }

    .footer-contact{
        padding: 0 35px 35px;
        width: 100%;
        display: block;
    }

    .footer-contact__text{
        margin-top: 15px;
    }

    .footer-contact__btn{
        width: 90px;
        height: 90px;
        margin-top: 15px;
    }

    .footer-contact__btn img{
        width: 60px;
    }

}








