/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: #000;
  background: #f5f5f0;
  font-family:var(--font-base);
  font-size: 1.8rem;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: scroll;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
li,
ol {

  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd {
  margin: 0;
}


/* ==================================================
   VARIABLE
================================================== */

:root {
 /* ベース */
  --font-base:
   "Noto Sans JP", sans-serif;


  --content-width: 1200px;

  --side-padding: 40px;

  --section-space: 140px;
}



/*Utility*/

@media screen and (min-width: 768px) and (max-width: 1660px) {
  html {
    font-size: calc(100vw * 10 / 1660);
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: calc(100vw * 10 / 450);
  }
}

/* ========================================
   PC / SP 判定用
======================================== */

.u_visible_sp {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .u_visible_sp {
        display: block !important;
    }
    .u_visible_pc{
      display: none !important;
    }
}


/* ========================================
   画像共通
======================================== */

.u_switch_img {
    opacity: 1;
}

@media screen and (min-width: 768px) {
  .u_inner {
    max-width: calc(100% - 20rem);
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .u_inner {
    margin: 0 2rem;
  }
}


/* ========================================
   header
======================================== */

.header{
  width: 100%;

}

/* ========================================
   MENU BUTTON
======================================== */

.menu_btn {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;

    width: 16rem;
    height: 16rem;

    padding: 0;
    border: none;
    border-radius: 0 0 0 2.5rem;

    background: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu_btn span {
    display: block;
    width: 6rem;
    height: 1rem;

    border-radius: 10rem;
    background: #33b495;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* メニュー表示中 */
.menu_btn.is_active span:nth-child(1) {
    transform: translateY(1.3rem) rotate(45deg);
}

.menu_btn.is_active span:nth-child(3) {
    transform: translateY(-1.3rem) rotate(-45deg);
}

/* ========================================
   NAV OVERLAY
======================================== */

.nav_overlay {
    position: fixed;
    inset: 0;
    z-index: 1002;

    background: rgba(0, 0, 0, 0.3);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.nav_overlay.is_active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========================================
   NAV CLOSE
======================================== */

.nav_close {
    position: absolute;
    top: 2rem;
    right: 3rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 9rem;
    height: 9rem;

    padding: 0;
    border: none;
    background: transparent;

    cursor: pointer;
}

.nav_close > span:not(.nav_close_txt) {
    position: absolute;

    width: 6rem;
    height: 0.8rem;

    border-radius: 10rem;
    background: #33b495;
}

.nav_close > span:nth-child(1) {
    transform: rotate(30deg);
}

.nav_close > span:nth-child(2) {
    transform: rotate(-30deg);
}

.nav_close_txt {
    margin-top: 7rem;

    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.25em;
    color: #4d4d4d;
}

/* ========================================
   GLOBAL NAV WRAP
======================================== */

.global_nav_wrap {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1003;

    width: min(32%, 85rem);
    height: auto;
    /* おばけ画像を外側にはみ出させる */
    overflow: visible;

    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.5s ease,
        visibility 0s linear 0.5s;
}

.global_nav_wrap.is_active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;

     transition:
        transform 0.5s ease,
        visibility 0s;
}


@media only screen and (max-width: 1536px) {
  .global_nav_wrap {
      width: min(37%, 90rem);
  }
}

@media screen and (max-width: 767px) {
    .global_nav_wrap {
      width: 80%;
  }
}

/* ========================================
   GLOBAL NAV
======================================== */

.global_nav {
    position: relative;
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;

    padding-top: 2rem;

    background: #fff;
    border-radius: 0 0 0 3rem;

    overflow-x: hidden;
    overflow-y: auto;
    z-index: 3;
}


/* ========================================
   おばけ画像
======================================== */

.global_nav_obake {
    position: absolute;
    left: -4rem;
    bottom: -2rem;
    width: 20rem;
    z-index: 2;
    pointer-events: none;

    opacity: 0;
    transform: translateX(0rem);

    transition:
        opacity 0.3s ease,
        transform 0.6s ease;

    transition-delay: 0s;
}

/* メニューが開いたとき */
.global_nav_wrap.is_active .global_nav_obake {
    opacity: 1;
    transform: translateX(-7rem);

    /* メニューが開いてから0.4秒遅れて動く */
    transition-delay: 0.4s;
}

.global_nav_obake img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 767px) {
    .global_nav_obake {
        width: 13rem;
        left: -2rem;
    }
    .global_nav_wrap.is_active .global_nav_obake {
    opacity: 1;
    transform: translateX(-5rem);
    }
}

/* ========================================
   NAV LIST
======================================== */

.global_nav_list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 1;

    gap: clamp(0.3rem, 1vh, 1rem);

    margin: 0;
    padding: clamp(1.5rem, 4vh, 4rem) 10%;

    list-style: none;
}

.global_nav_list li a {
    display: flex;
    align-items: center;
    gap: 2.5rem;

    padding: clamp(0.8rem, 2vh, 2rem) 0;

    color: #333333;
    font-size: clamp(1.8rem, 2.2vw, 3.2rem);
    font-weight: bold;
    letter-spacing: 0.08em;

    text-decoration: none;
}

.global_nav_list li a::before {
    content: "";

    flex-shrink: 0;

    width: 1.8rem;
    height: 1.8rem;

    border-radius: 50%;
    background: #d9e021;
}

.global_nav_list li:nth-child(even) a::before {
    background: #33b495;
}

/* ========================================
   NAV BOTTOM
======================================== */

.global_nav_bottom {
    flex-shrink: 0;
}

.global_nav_bottom a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 12rem;
    padding: 2.5rem 10%;

    color: #333333;
    font-size: clamp(1.8rem, 2.2vw, 3.5rem);
    font-weight: bold;
    letter-spacing: 0.08em;

    text-decoration: none;
}

.global_nav_login {
    background: #79e6c6;
}

.global_nav_trial {
    background: #ffc34b;
    border-radius: 0 0 0 3rem;
}

.global_nav_arrow {
    font-size: 4rem;
    line-height: 1;
}

.global_nav_login .global_nav_arrow {
    color: #33b495;
}

.global_nav_trial .global_nav_arrow {
    color: #f15a24;
}

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

    .menu_btn {
        width: 8rem;
        height: 8rem;
        border-radius: 0 0 0 2rem;
        gap: 0.8rem;
    }

    .menu_btn span {
        width: 3rem;
        height: 0.5rem;
    }

    .global_nav {
        width: 100%;
        padding-top: 4rem;
    }

    .nav_close {
        top: 1.5rem;
        right: 1.5rem;
        width: 5rem;
        height: 5rem;
    }

    .nav_close > span:not(.nav_close_txt) {
        width: 4rem;
        height: 0.5rem;
    }

    .nav_close_txt {
        font-size: 1.2rem;
    }

    .global_nav_list {
        gap: 0;
        padding: 2rem 8%;
    }

    .global_nav_list li a {
        gap: 1.5rem;
        padding: 1.5rem 0;
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }

    .global_nav_list li a::before {
        width: 1.2rem;
        height: 1.2rem;
    }

    .global_nav_bottom a {
        min-height: 8rem;
        padding: 2rem 8%;
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

}

/* ========================================
   アニメーション
======================================== */

/* --- リスト項目のホバーアニメーション --- */
.global_nav_list li a {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.global_nav_list li a:hover {
  transform: translateX(10px); /* 右へ少しスライド */
  color: #d9e021; /* ホバー時の文字色（全体をうっすら変えたい場合） */
}

.global_nav_list li:nth-child(even) a:hover{
  color: #33b495;
}


/* ホバー時に左の丸（ドット）をぷるんと大きくする */
.global_nav_list li a::before {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.global_nav_list li a:hover::before {
  transform: scale(1.3); /* 丸を少し大きく */
}


/* --- 下部ボタン（ログイン・お申し込み）のホバーアニメーション --- */
.global_nav_bottom a {
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

/* ログインボタンのホバー */
.global_nav_login:hover {
  background-color: #5bd4b0; /* 少し濃い色へ変化 */
  padding-left: 12%; /* 全体が右へ少し押し出される演出 */
}

/* 体験申し込みボタンのホバー */
.global_nav_trial:hover {
  background-color: #ffb129; /* 少し濃い色へ変化 */
  padding-left: 12%;
}

/* 矢印をホバー時にさらに右へピョンと動かす */
.global_nav_bottom a:hover .global_nav_arrow {
  transform: translateX(6px);
  transition: transform 0.3s ease;
}
.global_nav_arrow {
  transition: transform 0.3s ease;
}

/* ========================================
   FOOTER
======================================== */
.footer{
  width: 100%;
  height: auto;
  position: relative;
  background:linear-gradient(to bottom, transparent 70%, #33b495 30%),
  url(../site/img/footer_bg.webp)no-repeat center top;
  background-size: contain;
  margin-top: 10%;
}


.footer_lead{
  display: block;
  margin: 0 auto;
  text-align: center;
  position: relative;
  top: -15rem;
}

.footer_lead h3{
  font-size: clamp(4.2rem,3.64vw,7rem);
  font-weight: 400;
  color: #333333;
  letter-spacing: 0.15em;
  padding-bottom: 2rem;
}

.footer_lead p{
  font-size: clamp(1.6rem,1vw,2rem);
  font-weight: bold;
  color: #333333;
  letter-spacing: 0.1em;
}


.footer_body{
  position: relative;
}

.footer_img{
position: absolute;
top: -36%;
left: 0;
z-index: 1;
}

@media screen and (min-width: 2000px){
  .footer{
 background:linear-gradient(to bottom, transparent 70%, #33b495 30%),
  url(../site/img/footer_bg.webp)no-repeat center top;
  background-size: cover;
  min-height: 140rem;
  }
  .footer_body {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: 10%;
}
}

.footer_inner{
  width: 100%;
  max-width: 130rem;
  margin: 0 auto;
  padding: 4% 0 2%;
}


.footer_logo{
  display: block;
  margin: 0 auto 7%;
    max-width: 420px;
}

.footer_bottom{
   display: flex;
   justify-content: space-between;
   padding-bottom: 2rem;
}

.footer_bottom ul{
  display: flex;
  padding: 0;
  width: 60%;
  gap: 2%;
}

.footer_bottom ul li{
  font-size: clamp(1.8rem, 1.25vw,2.4rem);
  margin-right: 5%;
    color: #f5f5eb;
    transform: 0.8s ease;
}

.footer_bottom ul li:hover{
color: #d9e021;
}

.keirinkan_logo{
  max-width: 300px;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.keirinkan_logo:hover{
    transform: translateY(-2px);
}


.footer_copyright{
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: #f5f5eb;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer{
      background:linear-gradient(to bottom, transparent 50%, #33b495 50%),
  url(../site/img/footer_bg.webp)no-repeat center top;
  background-size: contain;
  }
}

@media screen and (max-width: 767px) {
.footer{
  margin-top: 60%;
  background:url(../site/img/footer_bg_sp.webp)no-repeat center top;
  background-size: cover;
}
.footer_lead{
  top: -25rem;
  padding: 0 2rem 4rem;
}

.footer_lead h3{
  font-size: 3.8rem;
  padding-bottom: 1rem;
}

.footer_body{
  margin-top: -15%;
}

.footer_inner{
  padding: 0 2% 12rem;
}

.footer_logo{
  max-width: 240px;
}
.footer_bottom{
  display: block;
}

.footer_bottom ul{
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 6rem;
}

.footer_bottom ul li{
  font-size: 1.8rem;
margin-right: 0;
margin-top: 2rem;
}


.keirinkan_logo{
  max-width: 240px;
  display: block;
  margin: 4rem auto 0;
}
.footer_copyright{
  font-size: 1.4rem;
  text-align: center;
  line-height: 2;
}

.copyright{
  font-size: 1.4rem;
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

}

/* ========================================
   banner
======================================== */


.banner {
    position: fixed;
    display: block;
    width: 7%;
    height: 33%;
    max-width: 100%;
    text-decoration: none;
    z-index: 100;
    right: 0.5%;
    top: 30%;
    cursor: pointer;
}


.banner img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.banner:hover .banner-off{
  opacity: 0;
  visibility: hidden;
}

.banner .banner-on{
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 1s ease;
}

.banner:hover .banner-on{
  opacity: 1;
  visibility: visible;
}

.banner_text {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3.4rem;
    font-weight: bold;
    text-align: center;
    writing-mode: vertical-rl;
    letter-spacing: .4em;
    height: 100%;
}

@media (max-width: 767px) {
  .banner {
    width: 90%;
    height: 8rem;
    right: 50%;
    transform: translateX(50%) !important;
    bottom: 2%;
    top: auto;
  }

  .banner_text{
    writing-mode: unset;
    width: 100%;
  font-size: 2.8rem;
  letter-spacing: 0.3em;
  height: auto;
  top: 45%;
  left: 50%;
  }
}

.up_btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 50;
    width: 50px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0.5s ease;
}

.up_btn.is_show {
    opacity: 1 ;
    visibility: visible;
    transform: translateY(0);
}

.up_btn a {
    display: block;
    position: relative;
}

.up_btn img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.up_btn a img {
    position: absolute;
    top: 0;
    left: 0;
}

.up_btn .up_off {
    position: relative;
    transition: opacity 0.3s ease;
}

.up_btn a:hover .up_off {
    opacity: 0;
}

.up_btn .up_on {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.up_btn a:hover .up_on {
    opacity: 1;
}

@media (max-width: 767px) {
  .up_btn{
    display: none;
  }
}

/* ========================================
   KV
======================================== */

.kv{
  background-image:
    linear-gradient(to right, #efe908 2px, transparent 2px),
    linear-gradient(to bottom, #efe908 2px, transparent 2px);
    background-size: 75px 75px;
    background-position: 29px 14px;
    position: relative;
    width: 100%;
    height:auto;
}

@media (max-width: 767px) {
.kv{
    background-size: 50px 50px;
    background-position: 40px 47px;
}
}

.kv_inner{
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 3;
  padding-top: clamp(2rem, 3.125vw, 6rem);
  padding-bottom: 9rem;
  min-height: max(98rem, 100vh);
  height: auto;
}


.kv_inner .logo{
  width: 43%;
  position:absolute;
  z-index: 3;
  margin: 4rem auto 0;
  top: 43%;
  left: 50%;
  transform: translate(-50%,-50%) !important;
}

.kv_inner .logo img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.kv_inner h3{
  display: inline-block;
  position: absolute;
  z-index: 3;
  width: 32%;
  top: 5%;
  left: 50%;
  transform: translateX(-50%) !important;
}



@media only screen and (max-width: 1536px) {
.kv_inner .logo{
    margin: 2rem auto 0;
    max-width: 74rem;
}
.kv_inner h3{
 max-width: 58rem;
}

}

.kv_img_li{
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.kv_img{
  position: absolute;
}

.kv_img.a{
  width: 40%;
  left: -10%;
  top: -3%;
  z-index: 1;
}

.kv_img.b{
  width: 13%;
  left: 17%;
  top: 60%;
  z-index: 2;
}

.kv_img.c{
  width: 17%;
  right: 12%;
  top: 10%;
}

.kv_img.d{
  width:20%;
  right: 4%;
  top: 47%;
}

.kv_img.e{
  width: 13%;
  right: 25%;
  top: 62%;
}

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

  .kv_img.e{
  top: 58%;
  right: 27%;
  }
}




@media screen and (max-width: 767px) {
.kv_inner h3{
  position: absolute;
  width: auto;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) !important;
  min-width: 260px;
}

.kv_inner .logo{
  width: 87%;
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%,-50%) !important;
}
.kv_img.a {
    width: 70%;
    left: -13%;
    top: -2%;
}
.kv_img.b {
    width: 28%;
    top: 3%;
    left: auto;
    right: 12%;
}
.kv_img.c {
    width: 41%;
    right: auto;
    top: 54%;
    left: -5%;
}
.kv_img.d {
    width: 65%;
    right: 0;
    top: 53%;
}    
.kv_img.e {
    top: 15%;
    right: 0;
    width: 35%;
  }
}


/* ========================================
   アニメーション
======================================== */

/* --- キーフレーム（浮き上がるアニメーション） --- */
@keyframes kvFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* 20px下から */
  }
  to {
    opacity: 1;
    transform: translateY(0);    /* 元の位置へ */
  }
}

/* --- メインビジュアル内の初期設定とアニメーション適用 --- */
.kv .kv_inner h3,
.kv .kv_inner .logo,
.banner,
.kv_img {
  opacity: 0; /* 最初は消しておく（ちらつき防止） */
  animation: kvFadeInUp 0.8s ease-out forwards; /* 0.8秒かけて再生し、最後のアニメーション状態を維持 */
}

/* --- 時間差（ディレイ）の設定 --- */

/* 1番目：タイトル（0.2秒後にスタート） */
.kv .kv_inner h3 {
  animation-delay: 0.2s;
}

/* 2番目：ロゴ（0.6秒後にスタート） */
.kv .kv_inner .logo {
  animation-delay: 0.6s;
}

.banner {
    animation-delay: 0.8s;
}

.kv_img.a{
  animation-delay: 0.8s;
}

.kv_img.b{
  animation-delay: 0.9s;
}


.kv_img.c{
  animation-delay: 1s;
}


.kv_img.d{
  animation-delay: 0.8s;
}


.kv_img.e{
  animation-delay: 0.9s;
}



/* ========================================
   lead
======================================== */
.lead_top{
    background: url(../site/img/lead_top.png)no-repeat center top;
    background-size: cover;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 3;
}


.lead{
  /*background: url(../site/img/lead_bg.webp)no-repeat center top;
  background-size: cover;
  margin-top: -23rem;*/
  position: relative;
  z-index: 3;
  background-color: #33b495;

}


@media screen and (max-width: 767px) {
  .lead {
     margin-top: -22rem;
    background: url(../site/img/lead_bg_sp.webp)no-repeat center top;
    background-size: contain;
   }
}

.lead_ttl{
  display: block;
  margin: auto;
  width: 60%;
  padding-top: 4rem;
}

.lead_ttl img{
  display: block;
  width: 100%;
  height: auto;
}

.lead_txt{
  text-align: center;
  color: #f5f5f0;
  font-weight: bold;
  font-size:clamp(1.9rem, 2.5vw,3.7rem); 
  line-height: 1.8;
  padding: 4rem 0 14rem;
  letter-spacing: .3rem;
}

.lead_btn {
    width: 45%;
    max-width: 90rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

/* メイン画像 */
.lead_btn_img {
    display: block;
    width: 60%;
    height: auto;
}


@media only screen and (max-width: 1536px) {
  .lead_btn_img {
    width: 58%;
    margin-left: 0;
  }
}


/* 申し込みボタン */
.lead_btn a {
    display: block;
    width: 80%;
    max-width: 660px;
    box-sizing: border-box;
    background-color: #f08214;
    color: #ffffff;
    font-weight: bold;
    font-size: clamp(1.8rem, 1.7vw, 3.3rem);
    padding: 1.8em 2.2em;
    border-radius: 9999px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    letter-spacing: 0.3em;
    margin: -2% 0 0;
    position: relative;
    z-index: 1;
    transform: 0.8s;
}

.lead_btn a:hover {
    transform: translateY(2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
    background-color: #efe908;
}

.lead_btn a::after{
  content: "";
  background: url(../site/img/lead_btn_img.png)no-repeat;
  width: 120px;
  position:absolute;
  height: 120px;
  right: -10rem;
  top: -7rem;
  background-size: contain;
} 

@media only screen and (max-width: 1536px) {
  .lead_btn a::after{
  width: 100px;
  height: 100px;
  right: -10rem;
  top: -5rem;
  }
}

/* ボタン内のテキスト */
.lead_btn span {
    display: block;
    width: 100%;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.2em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* 右側の装飾画像 */
.lead_btn_img_a {
    display: block;
    width: 12%;
    position: absolute;
    right: 0;
    bottom: 27%;
}

.lead_btn_img_a img {
    display: block;
    width: 100%;
    height: auto;
}


@media only screen and (max-width: 1366px) {
    .lead_btn a::after {
      width: 80px;
      height: 80px;
      right: -8rem;
      top: -6rem
    }
}


/* PC：画面幅が狭い場合 */
@media screen and (max-width: 1200px) {
    .lead_btn {
        width: 55%;
    }

    .lead_btn a {
        width: 85%;
    }
}


@media screen and (max-width: 1030px) {
    .lead_btn a::after {
      width: 80px;
      height: 80px;
      right: -10rem;
      top: -8rem;
    }
}

.lead_body{
    margin: 0 auto;
    padding: 20rem 0 30rem;
}

.lead_body_ttl{
  text-align: center;
  color:#efe908 ;
}

.lead_body_ttl p{
  font-size: clamp(2.4rem, 1.77vw, 3.4rem);
  font-weight: bold;
}

.lead_body_ttl h4{
  font-size: clamp(4rem, 3.65vw, 7rem);
  padding-top: 2rem;
  letter-spacing: .8rem;
}


@media screen and (max-width: 767px) {
  .lead_txt{
    padding: 4rem 2rem 6rem;
    letter-spacing: 0.1rem;
    line-height: 1.6;
  }

  .lead_ttl{
     width: 70%;
  }
  .lead_btn{
  width: 100%;
  }
  .lead_btn a {
    top: -3.5rem;
  }

.lead_btn a::after{
  width: 35px;
  height: 35px;
  right: -2rem;
  top: -2rem;
}


  .lead_btn a span{
    left: 49%;
    font-size: 2rem;
  }
  .lead_btn_img{
    width: 56%;
  }
  .lead_body{
  background: #00b49b;
  padding: 4rem 2rem 10rem;
  }
  .lead_body_ttl h4{
    padding-top: 0;
    font-size: 3.4rem;
    letter-spacing: 0.3rem;
  }
  .lead_body_ttl p{
    font-size: 2rem;
  }
}


/* ========================================
   LEAD VOICE
======================================== */

.lead_voice {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 8rem auto 0;
    aspect-ratio: 1920 / 1080;
    overflow: hidden;
}

/* 各アイテム */
.lead_voice_item {
    position: absolute;
}

.lead_voice_item img {
    display: block;
    width: 100%;
    height: auto;
}

/* テキスト */
.lead_voice_item p {
    position: absolute;
    margin: 0;

    color: #111;
    font-size: clamp(1.8rem, 1.56vw, 3rem);
    line-height: 2;
    letter-spacing: 0.02em;
    text-align: justify;
}

/* ========================================
   ITEM A
======================================== */

.lead_voice_item.a {
    width: 43%;
    left: 8%;
    top: 4%;
    z-index: 1;
}

.lead_voice_item.a p {
    top: 23%;
    left: 39%;
    width: 53%;
}

/* ========================================
   ITEM B
======================================== */

.lead_voice_item.b {
    width: 43%;
    left: 8%;
    top: 48%;
    z-index: 3;
}

.lead_voice_item.b p {
    top: 15%;
    left: 39%;
    width: 55%;
}

/* ========================================
   ITEM C
======================================== */

.lead_voice_item.c {
    width: 43%;
    right: 8%;
    top: 18%;
    z-index: 2;
}

.lead_voice_item.c p {
    top: 16%;
    right: 40%;
    width: 51.5%;
}

/* ========================================
   ITEM D
======================================== */

.lead_voice_item.d {
    width: 45%;
    right: 6%;
    top: 63%;
    z-index: 4;
}

.lead_voice_item.d p {
    top: 24%;
    left: 8%;
    width: 53%;
}

@media screen and (max-width: 767px) {
    .lead_voice {
      margin: 2rem 0 4rem;
        aspect-ratio: auto;
        padding: 3rem 0;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .lead_voice_item,
    .lead_voice_item.a,
    .lead_voice_item.b,
    .lead_voice_item.c,
    .lead_voice_item.d {
        position: relative;
        top: auto;
        left: auto;
        right: auto;

        width: 100%;
        margin: 0 auto;
    }

    .lead_voice_item.a {
        order: 1;
    }

    .lead_voice_item.c {
        order: 2;
    }

    .lead_voice_item.b {
        order: 3;
    }

    .lead_voice_item.d {
        order: 4;
    }

    .lead_voice_item p {
        font-size: clamp(1.4rem, 9.3vw, 1.8rem);
        line-height: 1.6;
    }

    .lead_voice_item.a p{
        top: 17%;
        left: 38%;
        width: 55%;
    }

    .lead_voice_item.b p{
        top: 14%;
        left: 38.5%;
        width: 55%;
        letter-spacing: -0.08rem;
    }

    .lead_voice_item.c p {
        top: 16%;
        left: 7.2%;
        width: 55%;
    
    }

    .lead_voice_item.d p {
        top: 15%;
        left: 7%;
        width: 52%;
        letter-spacing: -0.08rem;
    }
}


/* ========================================
   LEAD BOTTOM
======================================== */

.lead_bottom {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 2rem 15rem;
    box-sizing: border-box;

    color: #fff;
    text-align: center;
}

/* 見出し */
.lead_bottom dt {
    position: relative;
    display: table;
    margin: 0 auto 6rem;

    font-size: clamp(4rem, 3.54vw, 6.8rem);
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 3px rgb(0 0 0 / 30%);
}

/* 左右の飾り */
.lead_bottom dt::before,
.lead_bottom dt::after {
    content: "";
    position: absolute;
    bottom: 5%;

    width: clamp(4.5rem, 4.46vw, 9rem);
    height: auto;
    aspect-ratio: 1 / 1;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));

}

/* 左 */
.lead_bottom dt::before {
    left: clamp(-12rem, -6vw, -5rem);
    background-image: url("../site/img/lead_bottom_le.png");
}

/* 右 */
.lead_bottom dt::after {
    right: clamp(-12rem, -6vw, -5rem);
    background-image: url("../site/img/lead_bottom_ri.png");
}

/* 説明文 */
.lead_bottom dd {
    margin: 0;

    font-size: clamp(2.8rem, 1.92vw, 3.7rem);
    font-weight: bold;
    line-height: 1.7;
    letter-spacing: 0.03em;
}

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

    .lead_bottom {
        padding: 0 0 10rem;
    }

    .lead_bottom dt {
        margin-bottom: 2rem;
        font-size: 3rem;
        letter-spacing: 0.2rem;
    }

    .lead_bottom dt::before,
    .lead_bottom dt::after {
        width: 3rem;
    }

    .lead_bottom dt::before {
        left: -3.2rem;
    }

    .lead_bottom dt::after {
        right: -3.2rem;
    }

    .lead_bottom dd {
        font-size: 2rem;
        line-height: 1.6;
    }


}

/* ========================================
   ABOUT
======================================== */

.about{
  position: relative;
  z-index: 4;
  margin-top: -15rem;
  background: linear-gradient(to bottom, transparent 0%, transparent 10%, #ffffff 10%, #ffffff 90%,transparent 90%,transparent 100%);
}

/*.about_top{
background: linear-gradient(to bottom, transparent 0%, transparent 50%, #ffffff 50%, #ffffff 100%);
}*/

.about_inner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 15rem 5% 50rem;
    box-sizing: border-box;
    position: relative;
    background: #ffffff;
}

.about_bg{
  position: absolute;
  top: -8%;
  left: -2%;
  will-change: transform;
}

.about_bg img{
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .about_bg{
    top: -2%;
  }
}

/* ========================================
   ABOUT CONTENT
======================================== */

.about_content {
    position: relative;
    width: 90%;
    margin: 0 auto 25rem;
}

/* タイトル */
.about_ttl_wrap {
    text-align: center;
}

.about_ttl {
    margin: 0 auto 8rem;
    text-align: center;
}

.about_ttl img {
    display: block;
    height: auto;
    margin: 0 auto;

}

.about_content .about_ttl img {
  width: 28%;
}

.about_li .about_ttl img{
 width: 30%;
}

/* 説明文 */
.about_txt {
    margin: 0 auto;
    width: 55%;
}

.about_txt dt {
    margin: 0 0 4rem;
    font-size: clamp(3.2rem, 2.39vw, 4.6rem);
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0.12em;
    text-align: center;
}

.about_txt dd {
    margin: 0;

    font-size: clamp(2.8rem, 1.77vw, 3.4rem);
    line-height: 1.7;
    text-align: justify;
}

/* おばけ */
.about_img {
   position: absolute;
   top: 34%;
   left: 0;
   width: 15%;
}

.about_img img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   ABOUT 3つの特徴
======================================== */

.about_inner > div:nth-child(2) {
    position: relative;
}

/* 3つの特徴タイトル */
.about_inner > div:nth-child(2) > .about_ttl_wrap {
    margin-bottom: 4rem;
}



/* ========================================
   ABOUT BOX
======================================== */

.about_box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 78%;
    margin: 0 auto;
    gap: .7%;
  
}

@media screen and (min-width: 768px) {
  .about_box {
  transform: scale(0.8);
    transform-origin: top center;
  }
}

.about_box_item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;

     opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about_box_item.is_show {
    opacity: 1;
    transform: translateY(0);
}

/* カード本体画像 */
.about_box_item > div:first-child {
    width: 100%;
    position: relative;
    z-index: 1;
}

.about_box_item > div:first-child img {
    display: block;
    width: 100%;
    height: auto;
}

/* カード内のコンテンツ */
.about_box_item > div:nth-child(2) {
    position: absolute;
    top: 7%;
    left: 8%;
    width: 85%;
    text-align: center;
    z-index: 2;
}

/* POINT画像 */
.about_box_item > div:nth-child(2) > div:first-child {
    width: auto;
    height: 10rem;
    margin: 0 auto 4rem;
}

.about_box_item > div:nth-child(2) > div:first-child img {
    display: block;
    width: 100%;
    height: 100%;
}

/* カード見出し */
.about_box_item h5 {
    margin: 0 0 4rem;

    color: #fff;
    font-size: clamp(3.4rem, 2.39vw, 4.6rem);
    font-weight: bold;
    line-height: 1.4;
    text-decoration: underline 0.5px;
    text-underline-offset: 0.3em;
}

/* カード説明文 */
.about_box_item p {
    margin: 0;

    color: #fff;
    font-size: clamp(1.8rem, 1.25vw, 2.4rem);
    line-height: 1.4;
    text-align: justify;
    font-weight: 500;

}

/* 吹き出し・装飾画像 */
.about_fukidashi,
.about_obake {
    position: absolute;
}

.about_fukidashi img,
.about_obake img {
    display: block;
    width: 100%;
    height: auto;
}


/* ========================================
   ITEM A
======================================== */

.about_box_item.a {
    margin-top: 0;
}

.about_box_item.a .about_fukidashi {
    width: 75%;
    top: -15%;
    left: -40%;
    z-index: 2;
}

.about_box_item.a .about_obake {
    width: 60%;
    top: 13%;
    left: -49%;
    z-index: 1;
}


/* ========================================
   ITEM B
======================================== */

.about_box_item.b {
    margin-top:0;
    z-index: 2;
}

.about_box_item.b .about_fukidashi {
    width: 90%;
    bottom: -38%;
    left: -15%;
    z-index: 0;
}

.about_box_item.b .about_obake {
    width: 55%;
    bottom: -25%;
    right: -10%;
    z-index: 3;
}


/* ========================================
   ITEM C
======================================== */

.about_box_item.c {
    margin-top: 0;
}

.about_box_item.c .about_fukidashi {
    width: 120%;
    top: -37%;
    right: -60%;
}

.about_box_item.c .about_obake {
    width: 60%;
    right: -40%;
    top: 0;
    z-index: 3;
}

/* ========================================
   TABLET
======================================== */

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

    .about_inner {
        padding: 6rem 3% 50rem;
    }

    .about_content {
        width: 90%;
        grid-template-columns: 15% 1fr 15%;
        gap: 3%;
        margin-bottom: 10rem;
    }

    .about_img {
        margin-top: 6rem;
    }

    .about_box {
        width: 80%;
        gap: 1.5%;
    }

    .about_box_item > div:nth-child(2) {
        top: 6%;
        left: 8%;
        width: 84%;
    }

    .about_box_item h5 {
        margin-bottom: 4rem;
    }

    .about_box_item p {
        font-size: 1.8rem;
    }

    .about_box_item.c .about_fukidashi{
      width: 100%;
      top: -37%;
      right: -50%;
    }
}


/* ========================================
   SP
======================================== */

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

    .about_inner {
        padding: 5rem 0 7rem;
    }

    /* 上部 */
    .about_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 2rem;
        width: 100%;
        margin-bottom: 10rem;
    }

    .about_content > .about_ttl_wrap {
        width: 100%;
    }

.about_ttl{
  margin-bottom: 0;
}

    .about_ttl img {
        max-width: 34rem;
    }

    .about_li .about_ttl img{
      width: 100%;
    }
    .about_txt {
        width: 100%;
        text-align: center;

    }

    .about_txt dt {
        margin-bottom: 2rem;
        font-size: 2.8rem;
        text-align: center;
       letter-spacing: 0.02em;
        display: inline-block;
        background: #fff;
        line-height: 1.4;
    }

    .about_txt dd {
        font-size: 1.8rem;
        line-height: 2;
         background: #fff;
  
    }

    .about_content .about_ttl img {
    width: 100%;
    }

    .about_img {
        width: 24%;
        margin: 0 auto;
        left: auto;
        right: 2%;
        top: 14%;
    }

    /* 3つの特徴タイトル */
    .about_inner > div:nth-child(2) > .about_ttl_wrap {
        margin-bottom: 2rem;
    }

    .about_inner > div:nth-child(2) > .about_ttl_wrap .about_ttl img {
        max-width: 30rem;
    }

  .about_li .about_ttl{
    margin-bottom: 4rem;
 }   
   

    /* カードを縦並び */
    .about_box {
        flex-direction: column;
        align-items: center;
        gap: 5rem;

        width: 100%;
    }

    .about_box_item {
        width: 100%;
        flex: none;
    }

    .about_box_item > div:nth-child(2) {
        top: 6%;
        left: 14%;
        width: 72%;
    }

    .about_box_item > div:nth-child(2) > div:first-child {
        width: 15%;
      margin-bottom: 1rem;
    }
  

    .about_box_item h5 {
        margin-bottom: 2rem;
        font-size: 3.8rem;
        letter-spacing: 0.1em;
    }

    .about_box_item p {
        font-size: 1.8rem;
        line-height: 1.6;
        text-align: justify;
    }

    /* 装飾画像の位置 */
    .about_box_item.a,
    .about_box_item.b,
    .about_box_item.c {
        margin-top: 0;
    }

    .about_box_item.a .about_fukidashi {
        width: 60%;
        top: -12%;
        left: -25%;
    }

    .about_box_item.a .about_obake {
        width: 35%;
        left: 2%;
        top: -2%;
    }

    .about_box_item.b .about_fukidashi {
        width: 65%;
        bottom: -12%;
        left: -20%;
    }

    .about_box_item.b .about_obake {
        width: 35%;
        bottom: 9%;
        right: 4%;
    }

    .about_box_item.c .about_fukidashi {
        width: 65%;
        top: -12%;
        right: -15%;
    }

    .about_box_item.c .about_obake {
        width: 35%;
        right: auto;
        left: 0;
    }
}


/* ========================================
   about textbook
======================================== */

.about_textbook{
  background: url(../site/img/about_textbook_bg.webp)no-repeat top center;
  background-size: cover;
    position: relative;
    margin-top: -20rem;
    z-index: 2;
}

.about_textbook_inner{
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding:
        clamp(10rem, 10.4vw, 20rem)
        5%
        clamp(15rem, 18.23vw, 35rem);
    box-sizing: border-box;
    overflow: hidden;
} 
.about_textbook_head{
  text-align: center;
   padding:
        clamp(5rem, 5.208vw, 10rem)
        0
        clamp(10rem, 10.4vw, 20rem);
}

.about_textbook_head h3{
  font-size:clamp(7rem, 5.2vw, 10rem);
  font-weight: bold;
  letter-spacing: 0.03em;
  padding-bottom: 3rem;
}

.about_textbook_head h3 span{
  position: relative;
}
.about_textbook_head h3 span::before{
  display: inline-block;
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #33b495;
    left: 45%;
    transform: translateX(-50%);
    border-radius: 50%;
}

@media screen and (max-width: 900px) {
  .about_textbook_head h3 span::before{
     width: 8px;
    height: 8px;
  }
}

.about_textbook_head p{
  font-size: clamp(2.8rem, 1.77vw, 3.4rem);
  line-height: 1.7;
}

.about_textbook_inner h4{
  width: 50%;
  margin: auto;
}

@media screen and (max-width: 767px) {
.about_textbook{
    margin-top: -5rem;
    background:url(../site/img/about_textbook_bg_sp.webp) no-repeat top center;
    background-size: cover;
}

}

/* ========================================
   TEXTBOOK LIST
======================================== */

.textbook_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 5rem;
    width: 78%;
    margin: 6rem auto 0;
    padding: 0 3rem;
    position: relative;
    z-index: 3;
}

/* 左のカード */

.textbook_item_a {
    height: 100%;
    box-sizing: border-box;
}

/* ========================================
   RIGHT COLUMN
======================================== */

.textbook_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
    height: 100%;
}

/* 右上のカード */
.textbook_item_b {
    flex-shrink: 0;
}

/* 右下のバナー */
.textbook_banner {
    flex-shrink: 0;
    margin-top: auto;
}

/* ========================================
   CARD
======================================== */

.textbook_item {
    position: relative;
    min-width: 0;
    overflow: hidden;

    background: #fff;
    border-radius: 5rem;

    box-shadow: 1rem 1rem 0 #ded54c;
}


/* ========================================
   CARD HEADER
======================================== */

.textbook_head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 10rem;
    padding: 0.8rem 1rem;
    box-sizing: border-box;

    background: #33b495;
    color: #fff;

    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
}

.textbook_head::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.5rem;

    width: 3.5rem;
    height: 3.5rem;

    background: #33b495;
    border-radius: 0 0 50% 50%;

    transform: translateX(-50%);
}

.textbook_head img{
  height: 2.7rem;
}


/* ========================================
   CARD BODY
======================================== */

.textbook_body {
    padding:
        clamp(2.5rem, 2.35vw, 4.5rem)
        clamp(2rem, 3.125vw, 6rem)
        0;

    box-sizing: border-box;
    min-height: clamp(52rem, 37.5vw, 72rem);
}

.textbook_body h3 {
    margin: 0 0 clamp(2rem, 1.56vw, 3rem);
    color: #00b49b;
    font-size: clamp(2.4rem, 2.29vw, 4.4rem);
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.textbook_body p {
    margin: 0;
    font-size: clamp(1.8rem, 1.3vw, 2.5rem);
    line-height: 1.5;
    text-align: justify;
    letter-spacing: -0.1rem;
}


/* ========================================
   TEXTBOOK IMAGE
======================================== */

.textbook_img {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin-top: 2rem;
}

.textbook_img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ========================================
   CARD LINKS
======================================== */

.textbook_links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.textbook_links li {
    border-top: 1px solid #ddd;
}

.textbook_links a,
.textbook_banner a {
    display: flex;
    align-items: center;

    min-height: clamp(6rem, 5.73vw, 11rem);
     padding:
        0.8rem
        clamp(2rem, 3.125vw, 6rem);

    box-sizing: border-box;
    color: #111;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.textbook_links a:hover,
.textbook_banner a:hover {
    background-color: #f7f7f7;
}

.textbook_links a > img,
.textbook_banner a > img {
    display: block;
    flex-shrink: 0;
    width: clamp(2.8rem, 2.6vw, 5rem);
    height: clamp(2.5rem, 2.34vw, 4.5rem);
    object-fit: contain;
}

.textbook_links a > span:nth-child(2),
.textbook_banner a > span:nth-child(2) {
    flex: 1;
    min-width: 0;

    font-size: clamp(1.8rem, 1.3vw, 2.5rem);
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.2rem;
    margin-left: 8%;
    margin-bottom: 0.5rem;
}

.textbook_links .arrow,
.textbook_banner .arrow {
    position: relative;
    flex-shrink: 0;
    width: clamp(1.5rem, 1.3vw, 2.5rem);
    height: clamp(2.5rem, 2.34vw, 4.5rem);
    transition: transform 0.3s ease;
}



.textbook_links a:hover .arrow,
.textbook_banner a:hover .arrow {
    transform: translateX(0.4rem);
}


/* ========================================
   RIGHT BOTTOM BANNER
======================================== */

.textbook_banner {
    position: relative;
    overflow: hidden;

    background: #fff;
    border-radius: 4.5rem;

    box-shadow: 0.8rem 0.8rem 0 #ded54c;
}

.textbook_banner a {
    min-height: 12rem;
    padding: 1rem 6rem;
}

.about_textbook_note{
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  padding-top: 6rem;
}

@media only screen and (max-width: 1536px) {
  .about_textbook_note{
       padding-top: 4rem;
       padding-bottom: 2rem;
  }
}


.about_textbook_img{
  position: absolute;
}

.about_textbook_img img{
  display: block;
}

.about_textbook_img.a{
  width: 25%;
  top: -7%;
  left: 0;
}


.about_textbook_img.b{
  width: 25%;
  top: 25%;
  right: 0;
}

.about_textbook_img.c{
  width: 23%;
  bottom: -4%;
  left: 0;
}

@media only screen and (max-width: 1536px) {
.textbook_links a > span:nth-child(2), .textbook_banner a > span:nth-child(2){
    margin-left: 4%;
}
}

@media screen and (max-width: 1030px) {
  .about_textbook_img.b{
  width: 23%;
  top: 28%;
  }
}

/* ========================================
   TABLET
======================================== */

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

    .textbook_list {
        gap: 2rem;
    }

    .textbook_right {
        gap: 3rem;
    }

    .textbook_body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .textbook_links a,
    .textbook_banner a {
        gap: 1rem;
    }
    .textbook_links a > span:nth-child(2), .textbook_banner a > span:nth-child(2){
        margin-left: 3%;

    }
    .textbook_banner a{
      min-height: 10rem;
    }
    .textbook_banner{
         border-radius: 3.5rem;
    }
    .about_textbook_note{
      padding-top: 4rem;
      font-size: 1.2rem;
    }
}


/* ========================================
   SP
======================================== */

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

    .textbook_list {
        grid-template-columns: 1fr;
        gap: 3rem;
        width: 100%;
        margin-top: 2rem;
    }
    .textbook_item{
      border-radius: 3rem;
    }
    .textbook_head{
      min-height: 6rem;
    }

    .textbook_head img{
      height: 2.2rem;
    }

    .textbook_right {
        gap: 2.5rem;
    }

    .textbook_body {
        padding: 4rem 2rem 1.5rem;
        min-height: 30rem;
    }

    .textbook_body h3 {
        font-size: 3.4rem;
    }

    .textbook_body p {
        font-size: 1.8rem;
        line-height: 1.4;
        letter-spacing: 0.1rem;
    }

    .textbook_links a,
    .textbook_banner a {
        min-height: 8rem;
        padding: 0.8rem 1.5rem;
    }

    .textbook_banner{
      border-radius: 2.5rem;
    }

    .textbook_banner a {
        min-height: 8rem;
    }

    .about_textbook_img.a{
      width: 40%;
      top: -2%;
    }

.about_textbook_head{
  padding-bottom:15rem;
}

    .about_textbook_head h3{
      font-size: 4.8rem;
      padding-bottom: 4rem;
      line-height: 1.7;
    }

    .about_textbook_head h3 span::before{
        top: 0.1rem;
        width: 7px;
        height: 7px;
      }

    .about_textbook_head p{
      font-size: 2.2rem;
      line-height: 1.4;
    }

    .about_textbook_inner{
    padding: 10rem 0 15rem;
  }


    .about_textbook_inner h4{
    width: 100%;  
    padding: 0 2rem;
    }

    .about_textbook_img.b{
        width: 40%;
        top: -11.5%;
        transform: translateX(50%);
        right: 50%;
    }
    .about_textbook_note{
      font-size: 1.4rem;
      text-align: justify;
      padding:4rem 3rem;
    }
    .about_textbook_img.c{
      width: 40%;
      bottom: -3%;
    }
}


/* ========================================
    INSTRUCTOR
======================================== */
.instructor{
background-image:
  linear-gradient(to right, rgba(160, 220, 160, 0.4) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(160, 220, 160, 0.4) 1px, transparent 1px);
    background-size: 15px 15px;
    background-position: 29px 14px;
    position: relative;
    width: 100%;
    height:auto;
    margin-top: -15rem;
}

.instructor_inner{
  padding-top: 30rem;
}

.instructor_ttl_wrap{
  text-align: center;
}

.instructor_ttl_wrap h3{
  font-size: clamp(7rem, 5.2vw, 10rem);
  font-weight: bold;
  color: #33b495;
  text-decoration: underline;
  text-decoration-color: #efe908; 
  text-decoration-thickness: 3rem; 
  text-decoration-style: solid;  
  text-underline-offset: -.5rem;
  letter-spacing: 1.5rem;
  margin-bottom: 4rem;
}

.instructor_ttl_wrap h3 span{
  position: relative;
}

.instructor_ttl_wrap h3 span::before{
  display: inline-block;
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color:#efe908; ;
  left: 45%;
  transform: translateX(-50%);
      border-radius: 50%;
}

@media screen and (max-width: 900px) {
  .instructor_ttl_wrap h3 span::before{
  width: 8px;
  height: 8px;
  }
}

.instructor_ttl_wrap p{
  font-size: clamp(2.6rem, 1.56vw, 3rem);
  font-weight: 500;
  font-feature-settings: "palt";
  letter-spacing: 0.1rem;
}


.instructor_content{
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 5% clamp(15rem, 18.23vw, 30rem);
  box-sizing: border-box;
  overflow: hidden;
}

.instructor_item{
  width: 80%;
  margin: 0 auto;
  position: relative;
}


@media screen and (min-width: 768px) {
.instructor_item:nth-child(1){
  left: 2%;
}

.instructor_item:nth-child(2){
  left: 4%;
  top: 4rem;
}

.instructor_item:nth-child(3){
  left: 1%;
  top: 2rem;
}

.instructor_item:nth-child(4){
  left: 2%;
  top: 2rem;
}
}

.instructor_item_img{
  position: relative;
  inset: 0;
}

.instructor_item_img img{
  width: 100%;
}

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

.instructor_item_img.a{
  max-width: 128rem;
}

.instructor_item_img.b{
  max-width: 125rem;
}

.instructor_item_img.c{
  max-width: 134rem;
}

.instructor_item_img.d{
  max-width: 130rem;
}
}

.instructor_item_fukidashi{
  position: absolute;
  width: 17.5%;
  z-index: 3;
}

.instructor_item_fukidashi.a{
  top: 25%;
  right: -5%;
}

.instructor_item_fukidashi.b{
top: -6%;
left: -10%;
}

.instructor_item_fukidashi.c{
top: -13%;
right: -2%;
}

.instructor_item_fukidashi.d{
top: -30%;
left: -8%;
}

.instructor_item_txt{
  position: absolute;
  color: #ffffff;
  width: 33%;
}

.instructor_item_txt dt{
  font-size: clamp(3rem, 3.12vw, 6rem);
  font-weight: bold;
  padding-bottom: 3rem;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.instructor_item_txt.c dt{
    letter-spacing: -0.5rem;
}

.instructor_item_txt dd{
  font-size: clamp(1.6rem, 1.19vw, 2.3rem);
  font-weight: bold;
  line-height: 1.4;
  text-align: justify;
}

.instructor_item_txt.c dd{
    letter-spacing: -0.02rem;
}



.instructor_item_txt.a{
  top: 60%;
  left: 8%;
  transform: rotate(-4deg);
}


.instructor_item_txt.b{
  top: 37%;
  right: 17%;
  transform: rotate(4deg);
}

.instructor_item_txt.c{
  top: 36%;
  left: 10%;
  transform: rotate(-4deg);
}

.instructor_item_txt.d{
  top: 35%;
  right: 15%;
}

.instructor_img{
  position: absolute;
}

.instructor_item:nth-child(2) .instructor_img{
    right: -15%;
    top: -20%;
    width: 31%;
}

.instructor_item:nth-child(4) .instructor_item_img{
  z-index: 2;
}

.instructor_item:nth-child(4) .instructor_item_txt{
    z-index: 2;
}

.instructor_item:nth-child(4) .instructor_img{
    left: -20%;
    bottom: -34%;
    width: 28%;
    z-index: 1;
}

.instructor_arrow{
  width: 21rem;
  margin: 2rem auto 8rem;
}

.instructor_inner_bottom{
color: #fff;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.instructor_inner_bottom dt{
  background: #000;
  border-radius: 15px;
  padding: 1.5rem 2rem 2rem;
  display: inline-block;
  font-size: clamp(2.8rem , 2.18vw ,4.6rem);
  margin-bottom: 4rem;
  line-height: 1;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.instructor_inner_bottom dd{
  background: #000;
  border-radius: 10px;
  padding: 1rem;
  display: inline-block;
  font-size: clamp(2rem , 1.56vw ,3rem);
  line-height: 1;
  font-weight: bold;
  margin-top: 0;
}

.instructor_inner_bottom dd:nth-child(3){
  border-radius: 0;
  padding: 0.7rem 1rem;
}



@media only screen and (max-width: 1536px) {
.instructor_item_txt.a{
  left: 9%;
}

    .instructor_item_txt.b{
    right: 11%;
  }
  .instructor_item_txt.d{
    right: 11%;
  }
}



@media screen and (max-width: 767px) {
.instructor_inner{
  padding: 30rem 2rem 15rem;
}

.instructor_ttl_wrap h3{
  font-size: 4.8rem;
  padding-bottom: 0;
  letter-spacing: 0.7rem;
  text-decoration-thickness: 1.5rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.instructor_ttl_wrap h3 span::before{
      top: 0.1rem;
      width: 7px;
      height: 7px;
}

.instructor_ttl_wrap p{
  font-size: 2.2rem;
  line-height: 1.4;
  margin-top: 3rem;
}

.instructor_content{
  margin-top: 6rem;
  overflow: visible;
  padding: 0;
}

.instructor_item{
  margin-bottom: 4rem;
  width: 80%;
}

.instructor_item_txt{
  width: 80%;
  top: 17% !important;
  left: 50% !important;
  transform: rotate(0) translateX(-50%) !important;
}

.instructor_item_txt.a{
top: 19% !important;
}

.instructor_item_txt dt{
  padding-bottom: 2rem;
}

.instructor_item_txt dd{
  line-height: 1.3;
}

.instructor_item:nth-child(2) .instructor_img{
  display:none;
}
.instructor_item:nth-child(4) .instructor_img{
  display: none;
}

.instructor_item_fukidashi{
  width: 37%;
  top: 53% !important;
  transform: translateY(-50%);
}

.instructor_item_fukidashi.a,
.instructor_item_fukidashi.c{
  right: -16%;
}

.instructor_item_fukidashi.b,
.instructor_item_fukidashi.d{
  left: -16%;
}
.instructor_arrow {
    width: 12rem;
    margin-bottom: 4rem;
}

.instructor_inner_bottom dt{
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 0.7rem 1rem 0.8rem;
  border-radius: 5px;
}

.instructor_inner_bottom dt:first-child{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.instructor_inner_bottom dd{
    border-radius: 5px;
    padding: .6rem 1rem 0.7rem !important;
    font-size: 1.8rem;
}

.instructor_inner_bottom dd:nth-child(3){
  border-radius: 5px;
}

.instructor_inner_bottom dd:nth-child(4){
 border-radius: 0;
}

.instructor_inner_bottom dd:nth-child(5){
 border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}


.instructor_inner_bottom dt.un{
  margin-bottom: 4rem;
}

.instructor_item_txt.b dt{
  padding-bottom: 1rem;
}

}

/* ========================================
FIXED BACKGROUND
背景固定・スクロールコンテンツ
======================================== */

.fixed_area{
  position: relative;
}

.fixed_area_bg{
  position: sticky;
  top: 0;
  width: 100%;
  height: 150vh;
  z-index: 1;
 background-image: linear-gradient(to right, rgba(160, 220, 160, 0.4) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(160, 220, 160, 0.4) 1px, transparent 1px);
  background-size: 15px 15px;
  background-position: 29px 14px;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 900px) {
.fixed_area_bg{
  height: 100vh;
}
}


.fixed_area_bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixed_area_content{
  position: relative;
  z-index: 2;
  background: url(../site/img/fixed_area_content_bg.webp)no-repeat top center,linear-gradient(to bottom, transparent 57%, #33b495 43%);
  padding-bottom: 30rem;
  background-size: cover;
}

@media screen and (min-width: 2000px) {
  .fixed_area_content{
     padding-bottom: 50rem;
  }
}


.star{
  width: 100%;
  position: absolute;
  top: 15%;
  left: -2%;
  will-change: transform;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .star{
  top: 0;
  left: 0;
  }
}

.star img{
  display: block;
  width: 100%;
  height: auto;
}

.fixed_area_ttl{
    display: block;
    margin: auto;
    width: 65%;
    max-width: 130rem;
    padding-top: 8rem;
}

.fixed_area_ttl img{
    display: block;
    width: 100%;
    height: auto;
}

.fixed_area_inner{
    margin: 8rem auto 0;
    width: 55%;
    position: relative;
    z-index: 2;
}


.fixed_area_txt{
  padding: 0 12%;
}

.fixed_area_txt p{
    margin: 0;
    font-size: clamp(2rem, 1.45vw, 2.8rem);
    line-height: 1.8;
    letter-spacing: -0.1rem;
    text-align: justify;
    color: #fff;
}

.fixed_area_sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6rem;
    gap: 2.2em;
}

.fixed_area_sub p {
    margin: 0;
    font-size: clamp(1.8rem, 1.14vw, 2.2rem);
    line-height: 1.5;
    color: #fff;
    letter-spacing: 0.02rem;
}

.corp_btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #666666;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(2rem, 1.45vw, 2.8rem);
    padding: 2.7rem 2.7rem;
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 420px;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden; /* 角丸からはみ出さないようにする */
}

/* 浮き上がる＋色が変わるホバー時の挙動 */
.corp_btn:hover {
    transform: translateY(-2px);
    color: #ffffff; /* ホバー時の文字色を白に */
}

/* 背景色を左から右へスライドさせる要素 */
.corp_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #f08214; 
    
    transform-origin: 0% 50%;
    transform: scaleX(0); /* 最初は幅0で隠す */
    transition: transform 0.3s ease;
}

/* ホバー時に背景を左から右へ広げる */
.corp_btn:hover::before {
    transform: scaleX(1);
}

/* 矢印（::after）の設定とホバー時の変化 */
.corp_btn::after {
    display: inline-block;
    content: "";
    background: url(../site/img/arrow_ge.png) no-repeat center;
    background-size: contain;
    margin-left: 1rem;
    width: clamp(1.5rem, 1.3vw, 2.5rem);
    height: clamp(2.5rem, 2.34vw, 4.5rem);
    transition: transform 0.3s ease, background-image 0s;
}

/* ホバー時に矢印を右へ動かして、画像（arrow_w.png）に切り替える */
.corp_btn:hover::after {
    transform: translateX(6px);
    background-image: url(../site/img/arrow_w.png);
}



@media only screen and (max-width: 1536px) {
   .corp_btn {
     min-width: 280px;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  .corp_btn {
     min-width: 220px;
  }
}

.earth{
  width: 100%;
  display: block;
  height: 100%;
  margin: 30% 0 5%;
}


.fixed_area_content h5{
  font-size: clamp(2.8rem, 1.8vw, 3.5rem);
  font-weight: bold;
  position: relative;
  color: #ffff;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.fixed_area_content h5::before,
.fixed_area_content h5::after{
  content: "";
    position: absolute;
    bottom: 5%;
    width: clamp(4.5rem, 4.1vw, 8rem);
    height: auto;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.fixed_area_content h5::before{
  left: clamp(-12rem, -6vw, -5rem);
    background-image: url(../site/img/lead_bottom_le.png);
}

.fixed_area_content h5::after{
    right: clamp(-12rem, -6vw, -5rem);
    background-image: url(../site/img/lead_bottom_ri.png);
}

.free_lesson_btn{
  text-align: center;
  margin: 4rem 0 8rem;

}

.free_lesson_btn a{
  display: inline-block;
  background-color: #f08214; 
  color: #ffffff;     
  font-weight: bold;    
  font-size: clamp(2.4rem, 1.7vw, 3.3rem); 
  max-width: 660px;
  padding: 1.8em 2.2em;    
  border-radius: 9999px;    
  
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  
  text-align: center;
  transition: all 0.3s ease; 
  min-width: 500px;
  letter-spacing: 0.3em;
  transform: 0.8s;
}

.free_lesson_btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  background-color: #efe908;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .free_lesson_btn a{
    min-width: 0;
  }
}

.free_lesson{
position: relative;
}

.free_lesson .fukidashi{
  position: absolute;
  right:-12%;
  bottom: 4%;
  width: 26%;
}

@media screen and (max-width: 1200px) {
  .free_lesson .fukidashi{
    bottom: 20%;
  }
}


.fixed_img{
  position: absolute;
}

.fixed_img.a{
width: 37%;
left: -30%;
top: 0;
}

.fixed_img.b{
  width: 50%;
  left: -40.8%;
  top: 20%;
}

.fixed_img.c{
    width: 85%;
    right: -37%;
    top: 25%;
}


@media screen and (min-width: 2100px) {
  .fixed_img.c{
    top: 10%;
  }
}

.fixed_img_sp{
display: none;
}

@media screen and (max-width: 767px) {
.fixed_area_content{
  background:linear-gradient(to bottom, transparent 20%, #33b495 20%), url(../site/img/fixed_area_content_bg_sp.webp)no-repeat top center;
  background-size: contain;
  margin-top: -10rem;
  padding-bottom: 15rem;
}
.fixed_area_ttl{
  width: 80%;
  padding-top: 4rem;
}
.fixed_area_inner{
  width: 80%;
  margin-top: 6rem;
}

.fixed_area_txt{
  padding: 0;
  margin-bottom: 4rem;
}

.fixed_area_txt p{
  font-size: 1.8rem;
}

.fixed_area_sub{
display: block;
margin-top: 10rem;
}

.fixed_area_sub p{
  font-size: 1.6rem;
  line-height: 1.4;
}

.corp_btn{
  min-width: 100%;
  margin-top: 2rem;
}
.free_lesson_btn a{
  font-size: 2rem;
  padding: 2.8rem 1rem;
  min-width: 0;
  width: 100%;
}
.fixed_area_content h5 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
  }
.fixed_area_content h5::before, .fixed_area_content h5::after {
    width: 2.5rem;
  }
.fixed_area_content h5::before{
    left: -3rem;
  }
.fixed_area_content h5::after{
  right: -3rem;
  }
.free_lesson_btn{
  margin-top: 0;
}

  .free_lesson .fukidashi{
    bottom: -57%;
    right: 0%;
    width: 28%;
  }
.fixed_img{
  display: none;
}
.fixed_img_sp{
  display: block;
   width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* またはまとめて shorthand で */
  margin: 0 calc(50% - 50vw);
}


.fixed_img_sp.b{
  margin-bottom: 4rem;
}

.earth{
  margin-top: 10%;
}

}

/* ========================================
   PRICE
======================================== */

.price {
  background: url(../site/img/price_bg.png) no-repeat top center;
  background-size: cover;
  position: relative;
  margin-top: -10%;
  z-index: 2;
  padding-bottom: 15rem;
}

.price_ttl {
    margin: 0 auto 8rem;
    text-align: center;
    color: #33b495;
    font-size:clamp(6.3rem, 4.58vw,8.8rem);
    font-weight: bold;
    padding-top: 2rem;
    letter-spacing: 0.4em;
    padding-left: 4rem;
}


.price_inner {
  width: 72%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .price_inner {
     transform: scale(0.8) !important;
    transform-origin: top center;
  }
}

.price_lead {
  margin:13rem 0 6rem;
  text-align: center;
  font-size: clamp(2rem, 1.6vw, 3.1rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.price_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  align-items: stretch;
}



.price_item {
  position: relative;
  min-width: 0;
  background: #fff;
  box-shadow: 1rem 0.8rem 1.3rem rgb(0 0 0 / 30%);
}

/* プラン見出し */
.price_head {
  position: relative;
  min-height: 10em;
  padding: 2.2rem 0 2.7rem;
  box-sizing: border-box;
  text-align: center;
  color: #ffff8a;
  background: #33b495;
  clip-path: polygon(0 0, 100% 0, 100% 57%, 50% 100%, 0 57%);
}

.price_head h3 {
    margin: auto;
    width: 80%;
}


/* プラン内容 */
.price_body {
  padding: 6rem 5rem 8rem;
}

/* 価格 */
.price_amount {
display: block;
margin: 0 auto;
}

/* プラン詳細 */
.price_detail {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 0;
  padding: 0 3%;
  list-style: none;
  margin-top:6rem;
}

.price_detail li {
  position: relative;
  padding-left: 5rem;
  font-size: clamp(1.8rem, 1.3vw, 2.5rem);
  line-height: 1.6;
  white-space: nowrap;
  letter-spacing: -0.1rem;
}

/* チェックボックス */
.price_detail li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 2.8rem;
  height: 2.7rem;
  border: 0.5px solid #bcbbbb;
  box-sizing: border-box;
  letter-spacing: -.05em;
}

.price_detail li::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  width: 3rem;
  height: 3rem;
  background: url(../site/img/check.svg) no-repeat;
  background-size: contain;
}

/* おすすめバッジ */
.price_recommend {
  position: absolute;
  z-index: 2;
  top: 7rem;
  right: -7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20rem;
   height: 20rem;
}

.price_recommend .base{
    position: absolute;
    width: 100%;
    height: auto;
    top: 0px;
    left: 0px;
    transition: opacity 0.3s;
}

.price_recommend .price_osusume{
    position: absolute;
    inset: 0;
    animation: scale-blink 1s infinite;
    display: inline-block;
    top: 40%;
    left: 22%;
    width: 10rem;
}

@keyframes scale-blink{
0%, 100% {
    transform: scale(1);
}50% {
    transform: scale(1.1);

}
}

/* 注釈 */
.price_note {
  margin: 2rem -1rem 0;
  text-align: right;
  font-size: 1.3rem;
  line-height: 1.5;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .price_list {
    gap: 1rem;
  }

  .price_body {
    padding: 1.8rem 1rem 3rem;
  }

  .price_number {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
  }

  .price_yen {
    font-size: 2rem;
  }

  .price_detail li {
    font-size: 1.1rem;
    white-space: normal;
  }

  .price_recommend {
    right: -1rem;
    width: 6.5rem;
    height: 6.5rem;
  }
}

@media screen and (min-width: 2000px) {

  .price_lead{
        padding-top: 10rem;
  }
  .price_inner{
    padding-bottom: 20rem;
  }
}


/* =========================
   SP
========================= */

@media (max-width: 767px) {
  .price {
    padding:0 2rem 15rem;
    background: url(../site/img/price_bg_sp.png) no-repeat top center;
  background-size: cover;
  margin-top: -20%;
  overflow: hidden;
  }

.price_inner{
  width: 100%;
}

  .price_ttl{
  font-size: 3.8rem;
  padding-top: 1rem;
  margin-bottom: 4rem;
  padding-left: 2rem;
  }

  .price_lead {
    margin-bottom: 3rem;
    font-size: 2rem;
    margin-top: 6rem;
  }

  .price_list {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 36rem;
    margin: 0 auto;
  }

  .price_head {
    min-height: 10rem;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .price_head h3 {
    font-size: 2.6rem;
  }

  .price_head p {
    font-size: 1.4rem;
  }

  .price_body {
    padding: 4rem 2.5rem 8rem;
  }

  .price_number {
    font-size: 4.8rem;
  }

  .price_yen {
    font-size: 2.8rem;
  }

  .price_tax {
    margin-bottom: 2.8rem;
    font-size: 1.3rem;
  }

  .price_detail {
    gap: 1.4rem;
  }

  .price_detail li {
    font-size: 2rem;
    white-space: normal;
  }

  .price_recommend {
    right: -6rem;
    width: 15rem;
    height: 15rem;
  }

.price_recommend .price_osusume{
  width: 8rem;
}

  .price_note {
    max-width: 37rem;
    margin: 1.2rem auto 0;
  }
}

/* ========================================
   TRIAL
======================================== */

.trial{
  background: url(../site/img/trial_bg.png) no-repeat top center;
  background-size: cover;
  position: relative;
  margin-top: -10%;
  z-index: 2;
  padding-bottom: 10rem;
}


.trial_ttl{
    margin: 0 auto 8rem;
    text-align: center;
    color: #33b495;
    font-size:clamp(5rem, 3.64vw,7rem);
    font-weight: bold;
    padding-top: 2rem;
    letter-spacing: 0.23em;
}

.trial_inner {
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
}


/* =========================
   FLOW
========================= */

.trial_flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20rem auto 10rem;
  width: 78%;
}

@media screen and (max-width: 768px) {
.trial_flow {
  margin-top: 12rem;
  width: 100%;
}
}

.trial_step_box{
position: relative;
width: 100%;
  margin-bottom: 25%;
}

/* STEP 共通 */

.trial_step {
  position: relative;
  width: 100%;
  background: #fff;
  box-shadow: 0.7rem 0.7rem 0.7rem rgb(0 0 0 / 20%);
}


/* STEP番号 */

.trial_step_num {
  position: absolute;
  top: -9rem;
  left: 50%;
  z-index: 1;
  width: 17rem;
  height: 17rem;

  border-radius: 50%;
  background: #25b49a;
  color: #fff;

  transform: translateX(-50%);
}

.trial_step_num img{
width: 35%;
display: block;
margin: 0 auto;
padding-top: 13%;
}


/* STEP見出し */

.trial_step_head {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 20rem;
  padding: 1.5rem 1rem;
  box-sizing: border-box;

  background: #33b495;
  color: #fff;

  font-size: clamp(3.2rem, 2.9vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-align: center;
}

.trial_step_head p{
  position: relative;
  z-index: 3;
}


/* STEP説明 */

.trial_step_text {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 14rem;
  padding: 1rem 1.5rem;
  box-sizing: border-box;

  color: #4d4d4d;
  font-size: clamp(1.8rem, 1.56vw, 3rem);
  line-height: 1.4;
  text-align: center;
}


/* =========================
   ARROW
========================= */

.trial_arrow {
  position: absolute;
  width: 7rem;
  bottom: -7rem;
  left: 50%;
  transform: translateX(-50%);
}




/* =========================
   LESSON START
========================= */

.trial_start {
  position: relative;
  width: 100%;
  min-height: 23rem;
  margin-top: -15rem;
}


/* 雲型 */

.trial_cloud_img{
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100rem;
}

.trial_cloud_img img{
  display: block;
  width: 100%;
  height: 100%;
}

.trial_cloud_img .b{
    width: 53%;
    position: absolute;
    bottom: -10%;
    right: -22%;
    height: auto;
}


.trial_cloud p {
  position: absolute;
  margin: 0;
  color: #4d4d4d;
  font-size: clamp(1.8rem, 1.66vw, 3.2rem);
  line-height: 1.4;
  text-align: center;
  z-index: 2;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
}

.trial_bottom{
  position: relative;
  width: 100%;
  max-width: 100rem;
  margin: 12rem auto 0;
}

/* お申し込みは3分で完了 */

.trial_start_note {
  position: absolute;
  z-index: 3;
  left: -3%;
  bottom: 5rem;
  margin: 0;
  width: 32%;
}

@media only screen and (max-width: 1536px) {
  .trial_start_note {
    left: 8rem;
    bottom: 4rem;
    margin: 0;
    width: 25%;
  }
}

@media only screen and (max-width: 1200px) {
    .trial_start_note {
      bottom: 8rem;
    }
}


/* =========================
   BUTTON
========================= */

.trial_btn_wrap {
  text-align: center;
  margin: 4rem 0 8rem;
}

.trial_btn {
    display: inline-block;
    background-color: #f08214;
    color: #ffffff;
    font-weight: bold;
    font-size: clamp(2.4rem, 1.7vw, 3.3rem);
    max-width: 660px;
    padding: 1.8em 2.2em;
    border-radius: 9999px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    min-width: 500px;
    letter-spacing: 0.3em;
    transform: 0.8s;
}

.trial_btn:hover {
  transform: translateY(2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  background-color: #efe908;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
.trial_btn {
  min-width: 0;
}
}



/* =========================
   SP
========================= */

@media (max-width: 767px) {

  .trial {
    padding: 0 2rem 5rem;
    background: url(../site/img/trial_bg_sp.webp) no-repeat top center;
    background-size: cover;
   margin-top: -12%;

  }

  .trial_ttl_wrap {
    margin-bottom: 5rem;
  }

.trial_ttl{
    font-size: 3.8rem;
    padding-top: 1rem;
    margin-bottom: 4rem;
    letter-spacing: 0.2em;
    line-height: 1.2;
}

.trial_step_box{
  margin-bottom: 30%;
}

.trial_step_box:last-child{
  margin-bottom: 10%;
}

.trial_step_num{
  width: 10rem;
  height: 10rem;
  top: -5rem;
}

.trial_step_num img {
  width: 30%;
    display: block;
    margin: 0 auto;
    padding-top: 13%;
}

  .trial_step_head {
    min-height: 10rem;
    padding: 1.3rem 1rem;
    font-size: 2.6rem;
    letter-spacing: 0.04em;
  }


  .trial_step_text {
    min-height: 10rem;
    padding: 1rem;
    font-size: 1.8rem;
  }

  .trial_arrow {
   width: 5rem;
    bottom: -5rem;
  }

  .trial_start {
    min-height: 29rem;
    margin-top: -20%;
  }

  .trial_cloud {
    width: 100%;
    min-height: 21rem;
    padding: 0;
  }
.trial_cloud_img{
  width: 100%;
}

.trial_cloud_img .b{
  right: -5%;
  bottom: -45%;
  width: 50%;
}

  .trial_cloud p {
    font-size: 1.6rem;
    width: 100%;
    top: 53%;
  }


  .trial_start_note {
    left: 0;
    bottom: 5rem;
    width: 35%;
  }

  .trial_btn {
    font-size: 2rem;
    padding: 2.8rem 1rem;
    min-width: 0;
    width: 100%;
  }
}

/* =========================
   FAQ
========================= */

.faq {
  padding: 8rem 4rem 20rem;
  background: #f4f5f0;
}

.faq_inner {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 7%;
  width: 100%;
  max-width: 165rem;
  margin: 0 auto;
  padding-left: 3%;
}


/* =========================
   LEFT
========================= */

.faq_side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  justify-content: space-between;

}

.faq_side:first-child>div{
  width: 100%;
  padding-bottom: 20%;
}


/* タイトル */

.faq_ttl {
  width: 100%;
}

/* カテゴリー */

.faq_category {
  width: 100%;
  padding-left: 8rem;
  box-sizing: border-box;
}

.faq_category_ttl {
  display: flex;
  align-items: center;
  gap: 2.5rem;

  margin: 0 0 4rem;
  font-size: clamp(1.8rem,1.77vw ,3.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* 虫眼鏡アイコン */

.faq_search_icon {
  position: relative;
  display: block;
  width: 5rem;
  height: 4rem;
}

.faq_search_icon img{
  display: block;
  width: 100%;
}



/* カテゴリー一覧 */

.faq_category_list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  margin: 0;
  padding: 0 0 0 2rem;
  list-style: none;
}

.faq_category_btn {
  display: flex;
  align-items: center;
  gap: 3rem;

  width: 100%;
  padding: 0;

  border: none;
  background: transparent;
  color: #000;

  font-size: clamp(1.5rem, 1.5vw ,2.9rem);
  text-align: left;

  cursor: pointer;
  transition: opacity 0.3s ease;
  letter-spacing: 0.06em;
}

.faq_category_btn:hover {
  opacity: 0.65;
}


/* カテゴリードット */

.faq_category_dot {
  display: block;
  flex-shrink: 0;

  width: 2rem;
  height: 2rem;

  border-radius: 50%;
  background: #ff931e;
}

.faq_category_list li:nth-child(2) .faq_category_dot {
  background: #33b4b6;
}

.faq_category_list li:nth-child(3) .faq_category_dot {
  background: #c8c808;
}

.faq_category_list li:nth-child(4) .faq_category_dot {
  background: #0080ff;
}


/* お問い合わせボタン */

.faq_contact_btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #666666;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(2rem, 1.45vw, 2.8rem);
  padding: 2.7rem 2.7rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  min-width: 420px;
  transition: color 0.3s; /* 色が変わるトランジション（必要に応じて） */
  margin-left: 8rem;
  position: relative;
  z-index: 1;
  overflow: hidden; /* 角丸（border-radius）からはみ出さないようにする */
}

/* 1. 背景色のめくる部分（初期状態：左側に縮めておく） */
.faq_contact_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #33b495; /* 変えたい背景色（例：ミントグリーン） */
  
  /* 左側を起点にする */
  transform-origin: 0% 50%;
  transform: scaleX(0); /* 最初は幅0で隠す */
  transition: transform 0.3s ease;
}

/* 2. ホバーしたときにお尻（::before）を右へ伸ばす */
.faq_contact_btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1); /* 幅100%まで伸ばす */
}

/* 3. ホバー時に文字色を変えたい場合 */
.faq_contact_btn:hover {
  color: #ffffff; 
}

.faq_contact_arrow {
  display: inline-block; /* 必須：幅や高さを有効にするため */
  content: "";
  /* 通常時の矢印画像 */
  background: url(../site/img/arrow_ge.png) no-repeat center;
  background-size: contain; /* 画像が枠内に綺麗に収まるようにする */
  margin-left: 1rem;
  width: clamp(1.5rem, 1.3vw, 2.5rem);
  height: clamp(2.5rem, 2.34vw, 4.5rem);
  transition: transform 0.3s ease;
}

/* ホバー時に矢印を右へスライド & 画像を切り替える */
.faq_contact_btn:hover .faq_contact_arrow {
  transform: translateX(6px); /* 右へピョンと動かす */
  /* ホバー時の矢印画像（arrow_w.png）に切り替え */
  background-image: url(../site/img/arrow_w.png);
}

@media only screen and (max-width: 1536px) {
  .faq_contact_btn {
     min-width: 280px;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
.faq_contact_btn {
     min-width: 220px;
  }
}

/* =========================
   RIGHT / ACCORDION
========================= */

.faq_content {
  min-width: 0;
}

.faq_list {
  width: 100%;
}

.faq_item {
  --faq-color: #ff931e;

}

.faq_item:nth-child(2),
.faq_item:nth-child(3),
.faq_item:nth-child(7) {
  --faq-color: #ff931e;
}

.faq_item:nth-child(4),
.faq_item:nth-child(5) {
  --faq-color: #0080ff;
}

.faq_item:nth-child(6) {
  --faq-color: #33b495;
}


/* 質問 */

.faq_question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;

  width: 100%;
  min-height: 6.4rem;
  padding: 4rem 2rem 4rem 0;

  border: none;
  background: transparent;
  color: #000;

  font-size: clamp(2rem ,1.43vw ,2.75rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.7;
  text-align: left;

  cursor: pointer;
  border-bottom: 1px solid #666666;
}

.faq_question > span:first-child {
  flex: 1;
}


/* ＋／− */

.faq_toggle {
  position: relative;
  display: block;
  flex-shrink: 0;

  width: 5rem;
  height: 5rem;
  color: var(--faq-color);
}

.faq_toggle::before,
.faq_toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq_toggle::before {
  width: 4.5rem;
  height: 2.5px;
}

.faq_toggle::after {
  width: 2.5px;
  height: 4.5rem;
}

/* 開いたら＋の縦線を消して−にする */

.faq_item.is_open .faq_toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}


/* 回答 */

.faq_answer {
  display: grid;
  grid-template-rows: 0fr;

  visibility: hidden;
  opacity: 0;

  transition:
    grid-template-rows 0.35s ease,
    opacity 0.25s ease,
    visibility 0.35s;
}

.faq_answer_inner {
  overflow: hidden;
}

.faq_answer_inner p {
  margin: 0;
  padding: 4rem 10rem 4rem 0;

  color: #000;
  font-size: clamp(1.8rem ,1.25vw ,2.4rem);
  line-height: 1.7;
  text-align: justify;
}


.faq_all_btn {
    margin-top: 1rem;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

/* 開いた状態 */

.faq_item.is_open .faq_answer {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  border-bottom: 1px solid #666666;
}


/* 非表示カテゴリー */

.faq_item.is_hidden {
  display: none;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

 .faq {
    padding: 6rem 3rem 20rem;
  }

  .faq_inner {
    grid-template-columns: 28% 1fr;
    gap: 5%;
  }

  .faq_ttl {
    min-height: 6rem;
    font-size: 2rem;
  }

  .faq_category {
    padding-left: 0;
  }

  .faq_contact_btn {
    margin-left: 0;
  }
}


/* =========================
   SP
========================= */

@media (max-width: 767px) {

  .faq {
    padding: 6rem 2rem 10rem;
  }

  .faq_inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-left: 0;
  }

  .faq_side {
    display: contents;
  }

  .faq_ttl {
    order: 0;
    width: 100%;
    max-width: 38rem;
    margin: 0 auto 2rem;
  }

  .faq_category {
    order: 1;
    padding: 0 2rem;
  }

  .faq_category_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    padding-left: 0;
  }

  .faq_category_ttl {
    margin-bottom: 2rem;
    font-size: 1.8rem;
  }

  .faq_search_icon{
    width: 2.5rem;
    height: 2.5rem;
  }

  .faq_category_btn {
    gap: 0.8rem;
    font-size: 1.6rem;
  }

  .faq_category_dot {
    width: 1rem;
    height: 1rem;
  }

  .faq_content {
    order: 2;
  }

  .faq_question {
    min-height: 6rem;
    gap: 2rem;
    padding-right: 0;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    line-height: 1.5;

  }

  .faq_toggle {
    width: 2rem;
    height: 2rem;
    right: 1rem;
  }

  .faq_toggle::before {
    width: 2rem;
  }

  .faq_toggle::after {
    height: 2rem;
  }

  .faq_answer_inner p {
    padding-right: 0;
    font-size: 1.7rem;
    line-height: 1.5;
    padding: 2rem 1rem;
  }

  .faq_contact_btn {
    order: 3;
    align-self: center;
    margin-top:8rem ;
    min-width: 100%;
    font-size: 2rem;
  }

  .faq_side:first-child>div{
  padding-bottom: 0;
}

}


/* =========================
   アニメーション
========================= */
.target {
  animation: floating-y 2s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

.target_row {
  animation: floating-y-row 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y-row {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

.float{
  animation: floating-x 7.2s ease-in-out infinite alternate-reverse;
}
@keyframes floating-x {
  0% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(5%);
  }
}

.float_re{
  animation: floating-x_re 9.2s ease-in-out infinite alternate-reverse;
}
@keyframes floating-x_re {
  0% {
    transform: translateX(5%);
  }
  100% {
    transform: translateX(-5%);
  }
}

.parallax-mild {
  animation: img-parallax-mild linear both;
  animation-timeline: view();
}
@keyframes img-parallax-mild {
  from {
    transform: translateY(15px); 
  }
  to {
    transform: translateY(-15px); 
  }
}

.parallax-normal {
  animation: img-parallax-normal linear both;
  animation-timeline: view();
}
@keyframes img-parallax-normal {
  from {
    transform: translateY(40px); 
  }
  to {
    transform: translateY(-40px); 
  }
}

.parallax-dynamic {
  animation: img-parallax-dynamic linear both;
  animation-timeline: view();
}
@keyframes img-parallax-dynamic {
  from {
    transform: translateY(80px); 
  }
  to {
    transform: translateY(-80px); 
  }
}


/* ========================================
   汎用フェードインアップ（スクロール連動）
======================================== */

/* 最初は隠しておく */
.js-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* --- 遅いバージョン（1.2秒） --- */
.js-fade-up.is-slow {
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* --- さらに遅いバージョン（1.6秒） --- */
.js-fade-up.is-slower {
  transition: opacity 1.8s ease, transform 1.8s ease;
}

/* 画面内に入ると付与されるクラス */
.js-fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}