/* ========================================
   Base
======================================== */
:root {
  --color-main: #ffe200;
  --color-main-dark: #f5c900;
  --color-main-light: #fff5a6;
  --color-main-pale: #FFFBDD;
  --color-bg: #ffffff;
  --color-text: #505050;
  --color-gray: #CACACA;
  --color-dark-text: #0e2a46;
  --color-hero-overlay-left: rgba(3, 130, 181, 0.6);
  --color-hero-overlay-right: rgba(3, 130, 181, 0.09);
  --color-circle-arrow:#5ADAB4;

/* font */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "YuGothic", "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  --font-en: "Sora", system-ui, sans-serif;
  --h2clamp: clamp(32px, 5vw, 72px);
  --h3clamp: clamp(28px, 4vw, 48px);
  --display-font-clamp: clamp(80px, 12vw, 160px);
  /*googlefont */
--font-vision:
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;


  /* size */
  --margin-between-headers: 40px;
  --margin--between-sections: 80px;
  --margin--between-elements: 24px;
  --header-height-sp: 64px;
  --header-height-pc: 88px;
  --container-width: 1120px;

  /*minus margin for section*/
  --minusu-margin:-80px;

  /* device */
    --bp-pc: 1200px;        /* PCフルレイアウト開始 */
  --bp-tablet-l: 1024px;  /* タブレット横 */
  --bp-tablet: 768px;     /* タブレット縦 / スマホ切り替え */
  --bp-sp-end:767px;    /* スマホ幅最大 */
  --bp-sp-l: 480px;        /* 大きめスマホ */
  --bp-sp: 360px;          /* 最小スマホ想定 */
}

/* リセット寄りの最低限 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base),var( --font-en);
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ========================================
   Header
======================================== */
/* ヘッダー全体 */

.header {
  width: 100%;
  background-color: #fff;
  color: var(--color-text);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 88px;
  padding: 2px 260px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ロゴエリア */

.header-logo {
  text-decoration: none;
  color: inherit;
}

.header-logo-box {
  width: 380px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.header-logo-mark {
  width: 80px;
  height: auto;
  object-fit: cover;
}

/* ロゴテキストのコンテナ */
.header-logo-texts {
  width: 274px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px; /* ここで上下の余白をまとめて管理 */
}

/* 上の「ファンコード」だけ字間を広げる */
.header-logo-sub {
  margin: 0;
  width: 100%;
  text-align: center;
  letter-spacing: 0.52em;  /* ← Figmaの値に合わせて広め */
  line-height: 150%;
  font-size: 16px;
  font-weight: 700;
}

/* 真ん中のロゴ画像 */
.header-logo-main {
  width: 261px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
}

/* 下の「キッズプログラミング・AI・デザイン」は普通の字間 */
.header-logo-desc {
  margin: 0;
  width: 100%;
  text-align: center;
  line-height: 150%;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal; /* or 0em */
}


/* 後方一致指定　CTAボタン全般 */
.cta-btn{
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  position: relative;
  width: 320px;
  height: 64px;
 display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
 font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 150%;
  text-decoration: none;
  border-radius: 50px;
}
/* 黄色の無料体験CTAボタン */
.header-cta,.body-cta {
  background-color: #ffe200;
  color: #000;
 
}

.header-cta:hover {
  filter: brightness(0.96);
}

.header-cta-label {
  display: inline-block;
}

/* 封筒アイコン（CSSのみで作成） */
.header-cta-icon {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  border: 2px solid #fff;
  position: relative;
}

.header-cta-icon::before,
.header-cta-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background-color: #fff;
}

/*右側*/
.header-cta-icon::after {
    width: 15px;
    top: 0px;
    left: 50%;
    transform: skewY(-35deg);
    transform-origin: right center;
}

/*左側*/
.header-cta-icon::before {
     width: 15px;
    top: 0;
    left: 0;
    transform: skewY(35deg);
    transform-origin: left center;}

/* =========================
   SPレイアウト
   ========================= */

@media (max-width: 767px) {
  .header-inner {
    height: 64px;
    padding: 4px 16px;
  }

  .header-logo-box {
    width: auto;
  }

  .header-logo-mark {
    width: 52px;
    height: auto;
  }

  .header-logo-texts {
    width: auto;
  }

  .header-logo-sub {
    font-size: 12px;
    letter-spacing: 0.32em;
  }

  .header-logo-desc {
    font-size: 12px;
  }

  /* SPではヘッダー内の黄色ボタンは非表示
     → MV中央で別途表示する前提 */
  .header-cta {
    display: none;
  }
}

/* =========================
   タブレット〜狭めPC
   ========================= */

@media (min-width: 768px) and (max-width: 1199px) {
  .header-inner {
    padding-inline: 40px;
  }
}

/* ========================================
   Hero
======================================== */



.mv {
  position: relative;
  width: 100%;
  height: 90vh;
  color: #fff;
  /* background-image:
    linear-gradient(90deg, rgba(3, 130, 181, 0.6), rgba(3, 130, 181, 0.09)),
    url("../images/img_mv.png"); */
 background-image: url(../images/img_mv.png);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.mv-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 120px 260px var(--margin--between-sections); /* 上に余白を取ってテキストを中央寄せ */
  padding: 10vh 30vw 10vh;
  box-sizing: border-box;

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

.mv-copy {
  text-align: center;
  margin-bottom: 40px;
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont,
    "YuGothic", "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
}

.mv-copy-main {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
    line-height: 1.5;
}

.mv-copy-sub {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
/* headerのCTA SPでは非表示 */
@media (max-width: 767px) {
  .header-cta {
    display: none;
  } 
}

/* MVのCTA SPのみ表示 */
 .header-cta.mv-cta {display:none;}

@media (max-width:767px){
/* MV内だけ再度表示する */
  .header-cta.mv-cta {
    display: inline-flex;
    margin-top: 16px;
  }
}


/* PC：Figmaと同じ絶対配置にする --------------------------------- */

.mv-photos {
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0; */
  pointer-events: none;  /* 画像上でクリックできなくてOKなら */
}

.mv-photo {
  position: absolute;
  border-radius: 10px;
  object-fit: cover;
  opacity: 0;            /* アニメーション前は非表示 */
}

/* 男の子 */
.mv-photo-left {
  width: 374px;
  height: 432px;
  left: 80px;
 
  top: 200px;  

  animation: mv-photo-left-in 0.9s ease-out 0.1s forwards;
}

/* 女の子 */
.mv-photo-right {
  width: 293px;
  height: 336px;
    right: 80px;
    top: 100px;
  animation: mv-photo-right-in 0.9s ease-out 0.2s forwards;
}


.mv-badges {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  right:80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

.mv-badge {
  display: block;
  height: 170px; /* Figmaの 251x169 を目安に */
  width: auto;
}
 /* タブレット ---------------------------------  */
    @media (max-width: 1024px) {
      /* 男の子 */
      .mv-photo-left {
        left: 5%;
         top:38%;
      }
    /* 女の子 */
    .mv-photo-right {
      right: 5%;
          top: 30%;
      }
    }
/* スマホレイアウト --------------------------------- */
    @media (max-width: 767px) {
    .mv {
        height: 80vh;
        padding-bottom:var(--margin--between-sections);
    }

    .mv-inner {
        padding: 80px 16px 96px;
    }
    .mv-copy {
      margin-bottom:0;
    }
    .mv-copy-main {
        font-size: 20px;
        letter-spacing: 0.12em;
    }

    .mv-copy-sub {
        font-size: 18px;
        letter-spacing: 0.18em;
    }

    /* .mv-photos {
        position: static;          
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 32px;
        margin-bottom: 32px;
    } */

    .mv-photo {
        /* position: static;
        width: 48%;
        height: auto; */
        opacity: 0; /* アニメーションはそのまま効く */
    }

    /* .mv-photo-left,
    .mv-photo-right {
        top: auto;
        left: auto;
        right: auto;
    } */
    /* 男の子 */
    .mv-photo-left {
        left: 2%;
        top: 63%;
         height: 232px;
        width: 200px;
        animation: mv-photo-left-in 0.9s ease-out 0.1s forwards;
    }
      /* 女の子 */
    .mv-photo-right {
        right: 2%;
        top: 53%;
        width: 150px;
        height: 172px;
        animation: mv-photo-right-in 0.9s ease-out 0.2s forwards;
    }

    .mv-photos {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    /* 権威画像：中央下部で同じ大きさに */
    .mv-badges {
        position: static;
        transform: none;
        margin-top: 8px;
        display: flex;
        justify-content: center;
    filter: drop-shadow(0px 0px 4px #333333);
    }

    .mv-badge {
        height: 120px;
    }
    }
    /* 最小スマホレイアウト --------------------------------- */
    @media (max-width: 375px) {
  /* 権威画像：中央下部で同じ大きさに */
    .mv-badges {display: none;}
    }
/*-------------------------------
  共通 common styles for section
-------------------------------*/
h2 {
  font-size: var(--h2clamp);
  text-align: center;
  margin: 0 auto 40px;
  color: var(--color-dark-text);
font-style: normal;
font-weight: 700;
line-height: 86px; /* 119.444% */
letter-spacing: 1.44px;
text-transform: uppercase;
}
h2 span {
  background: linear-gradient(transparent 50%, var(--color-main) 50%);
  padding: 0 8px;}

  /* 余計な横スクロール抑制をしていた場合の保険 */
html, body {
  width: 100%;
}
h3{
  color: var(--color-dark-text);
font-family: Poppins;
font-size: var(--h3clamp);
font-style: normal;
font-weight: 700;
line-height: 150%; /* 72px */
text-transform: capitalize;
margin: 0 auto var(--margin--between-elements);
}
section {
  box-sizing: border-box;
  max-width: 100%;
}
/*MV以外の全section共通*/
.section:not(.mv) {
  padding-block: clamp(40px, 6vw, var(--margin--between-sections));
  padding-inline: 0px;
}
/*横幅一杯のsection*/
section.section-two-column{
  width:100vw;
  /*width: calc(100vw - 10px);*/
}
.section-inner {
  /* max-width: 1440px; */
  margin: 0 auto;
  /* padding-inline: 260px; */
}
/*ctaボタンの中央揃え*/
.cta-wrapper{
  display: flex;
  justify-content: center;
}
@media (max-width:1200px) {

}

@media (max-width: 768px) {
  .lead-inner,
  .section-inner {
    padding-inline: 16px;
  }
}
/*-------------------------------
  Lead セクション 
-------------------------------*/

.lead {
  background-color: #ffffff;
}

.lead-inner {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.lead-copy {
  /* Figma: width: 984px; padding: 80px 0; flex-column center; gap:16px */
  /* max-width: 984px; */
  width: 100%;
  /* padding: 80px 0; */
  margin: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 16px; */

  /* タイポ（PC） */
  color: #fff;
  text-align: center;
  text-shadow: 0 0 9.8px rgba(4, 77, 105, 0.7);
  line-height: 1.5;      
  text-transform: uppercase;
  /* ★フォントサイズを viewport 連動にする（Figma値を上限に） */
  font-size: clamp(48px, 6vw, 88px);
font-weight: 700;
  /* 字間も少しだけ可変にする */
  letter-spacing: clamp(3px, 0.6vw, 8.8px);
}

/* 横幅が狭いときは左右余白だけ縮める */
@media (max-width:1200px) {
  .lead-inner {
    padding-inline: 40px;
  }
}

/* SPレイアウト（FigmaのSP値に合わせる） */
@media (max-width: 768px) {
  .lead-inner {
    padding-inline: 16px;
  }

  .lead-copy {
    /* align-self: stretch 相当で幅いっぱいに */
    max-width: none;
    width: 100%;
    padding: 40px 0 0;
    /* font-size: 32px; */
    line-height: 150%;        /* 48px */
    letter-spacing: 3.52px;
  }
}


/*-------------------------------
 Vision・三つのポイント・特長
-------------------------------*/
/* .section-two-column {
  background-color: #ffffff;
  color: #0e2a46;
} */
.section-two-column {
  background-color: #ffffff;
  color: #0e2a46;
  position: relative; /* ★ 追加：重なりレイアウトの土台 */
}

.section-inner{
  display: flex;              /* grid → flex に変更 */
  column-gap: 40px;
  align-items: flex-start;
  padding-bottom: 100px;

}

/* 左カラム：画像＋英字ラベル */
/* 左カラム：画像側を 55.1% */
.section-media {
  position: relative;
  /* flex: 0 0 55%; */
  max-width: 55%;
}

.section-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 左下に大きく英字 */
.section-label {
  position: absolute;
  left: 0;
  /* font-family: var(--font-vision); */
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 160px;

  letter-spacing: 0.1em;
  line-height: 1;
  color: #ffe86e;
  pointer-events: none;
}

/* 右カラム：メッセージ側を 44.9% */
.section-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* flex: 0 0 45%; */
  max-width: 45%;
}
/* スマホ */


/* 黄色ボックス（リードコピー） */
.section-message {
  margin-top: 40px;      /* ★ 調整：少し上に寄せる（元: 80px） */
  margin-left: var( --minusu-margin);    /* ★ 追加：左側の画像に重ねる */
  background-color: #ffe200;
  border-radius: 40px 0 0 40px;
  padding: 50px 0px;
  position: relative;    /* ★ 追加：重なり用のレイヤー */
  z-index: 1;            /* ★ 追加：画像より前面に出す */
}
.section-message-title {
  margin: 0 auto;
  width:80%;
  font-size:  clamp(24px, 5vw, 40px);
  
  font-weight: 700;
  line-height: 1.5;
}

/* 本文テキスト */
.section-text {
  font-size: 14px;
  line-height: 1.8;
   margin-left: var( --minusu-margin);    /* ★ 追加：左側の画像に重ねる */
padding: 0 40px 0 80px;    /*--minusu-marginの＋数値*/

 z-index: 100;
}

.section-text p {
  margin: 0 0 12px;
}

.section-text p:last-child {
  margin-bottom: 0;
}
/*-----------------------
Visionレスポンシブ
-----------------------*/
/* タブレット（PCとほぼ同じだが余白だけ調整） */
@media (max-width: 960px) {
  .section-text {
    padding: 0 40px; 
  }
}
@media (max-width:767px) {
.section-inner{
  display: block;
  padding:0;
  margin-right: auto;
} 
/*画像ボックス*/
.section-media {
  max-width: 95%;
    position: relative;
}
.section-label{
  font-size: 100px;
  position: absolute;
  bottom:-55px;
  left:0;
  
}
.section-content{
  margin-left: auto;
  max-width: 95%;
}
.section-message {
  margin-left:0;
  padding: 30px 0;
}  
.section-text{
  margin-left:0;
  padding: 0 20px;
}

}

/*最小スマホ対応*/
@media (max-width:360px) {
  .section-label {
    font-size: 36px;
  }
  .section-message-title {
    font-size: 16px;
  }
}
/* =========================
   3つの力 見出しの黄色ブロック
   ========================= */
.power-section {
  background-color: var(--color-main);
  color: var(--color-text);
}

.power-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--margin--between-sections) 24px;
}


/* 既存 h2 のスタイルを上書き */
.power-heading {
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-size: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}

/* h2 span にかかっている共通の背景線を打ち消す */
.power-heading span {
  background: none;
  padding: 0;
}

/* 1行目：ロゴ＋「で身につく」 */
.power-heading-row1 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.power-heading-logo {
  height: 48px;
  width: auto;
  display: block;
}

.power-heading-sub {
  font-size: var(--h2clamp);
}

/* 2行目：3つの力とは？ */
.power-heading-main {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
}

/* ===== SP(スマホ) ===== */
@media (max-width: 767px) {
  .power-section-inner {
    padding: 40px 16px;
  }

  .power-heading {
    gap: 4px;
  }

  .power-heading-row1 {
    flex-direction: column;
    /* gap: 4px; */
  }

  .power-heading-logo {
    height: 36px;
  }
/* 
  .power-heading-sub {
    font-size: 16px;
  } */

  /* .power-heading-main {
    font-size: 28px;
  } */
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .power-section-inner {
    padding: 60px 24px;
  }

  .power-heading-logo {
    height: 42px;
  }
}
/* =======================================
 三つの力　FORCE セクション, 特長セクション
 ======================================= */
 
.section-force .section-text,.section-features .section-text{
margin:0 auto;
}
.section-content.force-content,.section-content.features-content{
  position: relative;
 }
.section-label.force-label{
  font-size: var(--display-font-clamp)
}
/*FORCE テキストのまとめBOX*/
.section-text.force-text{ 
    padding: 0 0 0 40px;
    margin-top:calc(var(--margin-between-headers) * 2.5);/*100px*/
}
/* =======================================
 特長セクション
 ======================================= */
/*Features テキストのまとめBOX*/
.section-text.features-text{ 
    padding: 0;
}
/*features リストの設定*/
/* features-list：SVGをリストマークにする */
.features-text .features-list{
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.features-text .features-list li{
  position: relative;
  padding-left: 28px; /* アイコン分の左余白 */
  margin-bottom:1em;
}

.features-text .features-list li::before{
  content: "";
  position: absolute;
  color:var(--color-main);
  left: 0;
  top: 0;            
  width: 24px;
  height: 24px;
  background: url("/asset/images/square-check-solid-full.svg") no-repeat center / contain;
}
/*-------- タブレット共通設定--------*/
/* --------ipad以上 --------*/
    @media (max-width: 1026px) {

      .force-text h3,.features-text h3 {
          line-height: 1.2;
      }
      .section-text.force-text,.srection-text.features-text {
          margin-top:calc(var(--margin-between-headers) * 1.7);/*68px*/
      }
    }

/* =========================
 PC：偶数セクションの画像・テキスト入れ替え
========================= */

/* 偶数のforce-innerだけ、見た目を「画像左・テキスト右」にする */
.section-force .force-inner:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* テキスト塊の余白を左右反転（奇数: padding-left 40px → 偶数: padding-right 40px） */
.section-force .force-inner:nth-of-type(even) .section-text.force-text {
  padding: 0 40px 0 0;
}

/* 偶数（画像左・テキスト右）の FORCE ラベル位置 */
.section-force .force-inner:nth-of-type(even) .force-content {
  position: relative;   /* ラベルの基準 */
  overflow: visible;    /* 念のため：切れ防止 */
}

.section-force .force-inner:nth-of-type(even) .section-label.force-label {
  position: absolute;
  top: 0;
  right: 0;             /* 右上に固定（=テキスト側） */
  z-index: 0;           /* テキストの後ろに */
  pointer-events: none;
  line-height: 1;
}

/* テキストはラベルより前面に */
.section-force .force-inner:nth-of-type(even) .force-text {
  position: relative;
  z-index: 1;
}

/* （タブレット）偶数側も奇数と同じ比率で詰める：必要なら */
@media (max-width: 1026px) {
  .section-force .force-inner:nth-of-type(even) .section-text.force-text {
    /* ここは奇数と同じ “margin-top” ルールを使っているなら不要
       ※必要ならこのまま残してOK */
    margin-top: calc(var(--margin-between-headers) * 1.7);
  }
}


/*------------------SP表示 --------------------*/

@media (max-width: 767px){
  /*-------- SP 共通設定--------*/
     /* SPの左右余白 変数設定*/
    :root{--sp-side: 16px; }
    /* ボックス間の距離 */
    .section-inner.force-inner,.section-inner.features-inner{
          margin: 40px 0;
    }
      .section-content.force-content{
      margin: 0 auto 24px;
      width: 90%;
      }
    .section-text.force-text,.section-text.features-text{
      padding:0;
    margin:0 auto;
    }
    
        /* 奇数セクション：画像を右寄せ */
    .section-force:nth-of-type(odd) .force-media
    /* ,.section-features:nth-of-type(odd) .features-media */
     {
      margin-left: auto;
      margin-right: 0;
    }
    /* 偶数セクション：画像を左寄せ */
    .section-force:nth-of-type(even) .force-media ,.section-features:nth-of-type(even) .features-media{
      margin-right: auto;
      margin-left: 0;
    }
    .section-force .force-label{
      top:0;
      right: 0;
    left: 30%;
    }

      .section-text.force-text,.section-text.features-text{
        padding: 0;
        margin: 0 auto;
      }
   /*-------features 特長 SP共通-------*/
      /*テキストボックス */
      .section-content.features-content{
          margin: 0 auto; /* 実は margin-left: auto;打ち消し */
          width: 95%;

      }
        .section-text.features-text {
        margin-top: var(--margin-between-headers) ;
      text-align: center;
          }
      /*特長のリスト*/
          ul.features-list{
        text-align: left;}
    /*-------SP 奇数のみの設定-------*/    
     .section-force .force-inner:nth-of-type(odd) .section-text.force-text{
    margin-top: calc(var(--margin-between-headers) * 1.7);
  }

      /* 画像共通：まず横幅を広げておく（端まで届かせる） */
      .section-force:nth-of-type(odd) .force-media,
      .section-features:nth-of-type(odd) .features-media {
        width: calc(100% + var(--sp-side));
      }

      /* 奇数（1つ目,3つ目…）：画像を右端まで */
      .section-force:nth-of-type(odd) .force-media,
      .section-features:nth-of-type(odd) .features-media {
        /* margin-left: 0; */
        margin-right: calc(-1 * var(--sp-side)); /* 右へはみ出す */
      }

  

/*---SP  偶数のみの設定---*/

    /* 偶数の force-inner（2つ目,4つ目…）だけ画像を「左端まで」 */
    .section-force .force-inner:nth-of-type(even) .force-media{
      /* 画像だけ左に“はみ出して”端まで寄せる */
      width: calc(100% + var(--sp-side));    /* 余白ぶんだけ広げる */
      margin-left: calc(-1 * var(--sp-side));/* 左へはみ出す */
      margin-right: 0;
    }

    /* contentは中央寄せのまま（あなたの既存値を踏襲） */
    .section-force .force-inner:nth-of-type(even) .force-content{
      margin: 0 auto 24px;
      width: 90%;
    }

    .section-force .force-inner:nth-of-type(even) .force-text{
      padding: 0;
      margin: 0 auto;
    }

}


/*-------------------------------
 curriculum/course セクション
-------------------------------*/

.section-course {
   background-color: var(--color-main-pale);
}

/* グリッド全体：PCは3列 */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* ← ここを3列に */
  gap: 24px;
  width: 95%;
}

/* タブレット中間：2列（お好みで調整） */
@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SP：1列 */
@media (max-width: 767px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

/* カード本体 */
.course-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 24px 24px 20px;
  box-shadow: 0 0 14.8px 0 rgba(0, 0, 0, 0.20);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 767px) {
  .course-card {
    padding: 16px 16px 12px;
    width: 90%;
    margin: 0 auto;
  }
}
/* ヘッダー部（アイコン・タイトル・矢印） */
.course-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 16px;
  align-items: center;
}

/* 左側の丸アイコン */
.course-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.course-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* タイトルブロック */
.course-card-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course-card-label {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin: 0;
}

.course-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #0e2a46;
}

/* 右側の丸い矢印ボタン */
.course-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--color-circle-arrow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-circle-arrow); /* ← svgのstroke用 */
  background-color: #ffffff;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.course-card-arrow-icon {
  width: 18px;
  height: 18px;
}

.course-card-arrow-icon path {
  stroke: currentColor;
}

/* ホバー時：背景と色を反転 */
.course-card-arrow:hover,
.course-card-arrow:focus-visible {
  background-color: var(--color-circle-arrow);
  color: #ffffff;
}

/* 説明文 */
.course-card-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: #333;
}

/* タグエリア */
.course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 4px;
  border-radius: 999px;
  border: 1px solid #A4A4A4;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  background-color: #ffffff;
}

.course-tag:hover,
.course-tag:focus-visible {
  background-color: #f5f5f5;
}

/* 目安テキスト */
.course-card-target {
  margin: 4px 0 0;
  font-size: 12px;
  color: #555;
}

/* =========================
   FAQ セクション
   ========================= */
.faq-section {
  background-color: var(--color-main-pale);
  color: var(--color-text);
}

.faq-section .faq-inner {
  max-width: 960px;
  margin: 3.5em auto;
  padding-inline: clamp(16px, 5vw, var(--margin--between-sections));
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  border: none;
}

/* 質問ボタン */
.faq-question {
  cursor: pointer;
  width: 100%;
  border: none;
  background: none;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px; /* ← 右カラム固定 */
  column-gap: 24px;
  align-items: center;
  text-align: left;
}

.faq-question-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-q-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.faq-q-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-question-text {
 font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 150%; /* 36px */
text-transform: capitalize;
color: var(--color-dark-text);
}
@media (max-width: 767px) {
  .faq-question-text {
    font-size: 16px;
    line-height: 150%; /* 27px */
  }
  
}


/* 回答エリア：max-height アニメーション */
.faq-answer-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer-wrap {
  max-height: 500px; /* 中身より十分大きければOK（必要なら調整） */
}

.faq-answer {
  /* margin-left: 96px; */
  margin-top: 8px;
  padding: 16px 24px 20px;
  background-color: var(--color-bg, #ffffff);
  border-radius: 30px;
  border: 3px solid #ffe200;
}

/*答えタイトル*/
.faq-answer-lead {
  font-weight: 700;
  margin: 0 0 8px;
    font-size: 24px;
  color: var(--color-dark-text);
  line-height: 150%;
}

/*答え　詳細*/
.faq-answer-lead_sub {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 4px;
}
/* SP調整 */
@media (max-width: 767px) {
  .faq-section .section-inner.faq-inner {
    padding-inline: 16px;
  }

  .faq-question-main {
    gap: 12px;
  }

  .faq-q-icon {
    width: 52px;
    height: 52px;
  }

  .faq-answer {
    /* margin-left: 68px; */
    padding: 14px 16px 16px;
  }
}
/* 開閉ボタン */
/* 右端の丸＋／−ボタン */
.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffe200;              /* 丸の色 */
  position: relative;
  flex-shrink: 0;
}

/* 共通：横棒（−） */
.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--color-text);    /* 線の色 */
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

/* 横棒 */
.faq-toggle-icon::before {
  width: 14px;
  height: 2px;
}

/* 縦棒（＋のときだけ見せる） */
.faq-toggle-icon::after {
  width: 2px;
  height: 14px;
}

/* 開いているとき（is-open）は縦棒を消して「−」にする */
.faq-item.is-open .faq-toggle-icon::after {
  opacity: 0;
}
/* =========================
   CTAゾーン（背景を全幅にする）
========================= */
.cta-zone {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background-image: url("/asset/images/cta-back_pc.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cta-zone__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}

/* PC/TB文言 */
.cta-zone__title--sp { display: none; }

/* ボタン並び：PCは横 */
.cta-zone__buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
}

/* =========================
   ボタンの見た目
========================= */
.contact-cta,
.price-cta {
  background: #fff;
}

/* 右の矢印（span.header-cta-icon を流用） */
/* .contact-cta .header-cta-icon,
.price-cta .header-cta-icon {
  width: 42px;
  height: 42px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
} */

/* 黄ラインボタン */
.contact-cta {
  border: 4px solid var(--color-main);
}
.contact-cta .header-cta-icon {
  background-image: url("/asset/images/arrow_yellow.png");
}

/* 緑ラインボタン */
.price-cta {
  border: 4px solid var(--color-circle-arrow);
}
.price-cta .header-cta-icon {
  background-image: url("/asset/images/arrow_green.png");
}

/* =========================
   SP：縦並び + 背景差し替え + 文言差し替え
   ※ボタンサイズは変えない
========================= */
@media (max-width: 767px) {
  .cta-zone {
    background-image: url("/asset/images/cta-back_sp.jpg");
  }

  .cta-zone__title--pc { display: none; }
  .cta-zone__title--sp { display: block; }

  .cta-zone__inner {
    padding: 48px 16px;
  }

  .cta-zone__buttons {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* =========================
   レビュー セクション
   ========================= */
/* -------横スクロールバー -------*/
.voices-scroller {
overflow: scroll;
 -webkit-overflow-scrolling: touch;
}
/* Firefox 系 */
.voices-scroller {
  scrollbar-width: thin;
  scrollbar-color: var(--color-main) transparent;
}
/* WebKit 系（Chrome, Safari など） */
.voices-scroller::-webkit-scrollbar {
  height: 6px;
}

.voices-scroller::-webkit-scrollbar-thumb {
  background-color: var(--color-main);
  border-radius: 999px;
}

.voices-scroller::-webkit-scrollbar-track {
  background: transparent;
}

/* -------横スクロールバー ここまで-------*/

/* セクション本体は常に 100% 幅 */
.voices {
  width: 100%;
  background: #fff;
}
/* セクション全体 */
.voices-inner {
  display: flex;
  flex-direction: column;
  row-gap: 40px; /* h2 とカード群の間隔 */
}

/* 実際に横に並ぶカードの“トラック” */
.voices-track {
  display: inline-flex;        /* コンテンツ幅ぶんだけ横に伸びる */
  gap: 32px;
  padding: var(--margin--between-sections) 40px;
  background: #fff;
  box-sizing: border-box;
  min-width: 100%;            /* 少なくとも画面幅ぶんはある */
}

/* カード1枚分 */
.voice-card {
   position: relative;  /* ★擬似要素のために追加 */
  /* flex: 0 0 clamp(260px, 28vw, 340px);  */
border: 4px solid var(--color-main);
  border-radius: 30px;
  background-color: var(--color-main-light); /* ★背景色に変数を使用 */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  row-gap: 24px;
   scroll-snap-align: start;
   width: 400px;
height: 400px;
padding: 24px 22px;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
/* 背景にカンマ画像を敷く */
.voice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/asset/images/img_camma.svg");
  background-repeat: no-repeat;
    top: 50%;
    left: 5%;
  background-size: auto;
  opacity: 0.35;     /* 強すぎる場合は調整 */
  pointer-events: none;
  z-index: 0;
}
/* テキストなどは前面に */
.voice-card-label,
.voice-card-header,
.voice-card-text {
  position: relative;
  z-index: 1;
}
/* 上部の "CUSTOMER VOICE" */
.voice-card-label {
  margin: 0;
  text-transform: uppercase;
  color: #FFE200;
  color: var(--color-main);
text-align: center;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 21px; /* 131.25% */
letter-spacing: 2.08px;
}

/* タイトル行（アイコン＋タイトル） */
.voice-card-header {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

/* 丸いアイコン（画像があるならここを <img> に差し替えでOK） */
/* .voice-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  font-size: 28px;
  color: #f1b93b;
} */
.voice-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;         /* 中でSVGが少し余白を持つように */
  box-sizing: border-box;
  object-fit: contain;
}
/* 「丁寧に教えてくれた」 */
.voice-card-title {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
font-size: 24px;
font-style: normal;
line-height: 150%; 
text-transform: capitalize;
}

/* 本文 */
.voice-card-text {
  margin: 0;
  color: var(--color-text);
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 170%; 
}

/* スクロールバーを少し控えめに（必要なら） */
.voices-track::-webkit-scrollbar {
  height: 6px;
}
.voices-track::-webkit-scrollbar-thumb {
  /* background: rgba(0, 0, 0, 0.12); */
    background: var(--color-main);   /* ★メインカラー */
  border-radius: 999px;
}
.voices-track::-webkit-scrollbar-track {
  background: transparent;
}

/* SP でも同じく横スクロールにするので、メディアクエリは最小限でOK */
@media (max-width: 767px) {
  .voices-track {
     padding: 40px 16px 48px;
    /* margin-inline: -16px;  */
     /* margin-inline: 0;     */
    gap: 24px;
  }

  .voice-card {   
            height: 90vw;
        flex: 0 0 93vw;/* 画面の 9.3 割ぶんの幅 */
        max-width: 360px;
        padding: 16px;
        row-gap: 16px;
  }
}

/* voices 全体をラップしてボタンを絶対配置 */
.voices-wrapper {
  position: relative;
}

/* 左右送りボタン共通 */
.voices-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
     color: var(--color-bg);
        background: var(--color-main);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);

  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
    opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
/* JS から付けるクラス。見える状態 */
.voices-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}
/* 左右それぞれの位置 */
.voices-arrow--prev {
  left: 8px;
}
.voices-arrow--next {
  right: 8px;
}

/* SP では少し小さく */
@media (max-width: 767px) {
  .voices-arrow {
 
  
        /* opacity: 0.8; */
     
  }
}
/* =========================
   Footer
   ========================= */

.site-footer {
  width: 100%;
  color: var(--color-text);
  font-family: var(--font-base, "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif);
}

/* 上段：グレーのメニュー帯 */
.footer-top {
  background-color: var(--color-gray);
}

.footer-nav {
  max-width: 1120px;
  margin-inline: auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-sizing: border-box;
}

.footer-nav-item {
  text-decoration: none;
  text-align: center;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.4;
}

.footer-nav-en {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.footer-nav-item:hover,
.footer-nav-item:focus-visible {
  text-decoration: underline;
}

/* 中段：黄色＋ロゴ＋リンク */
.footer-middle {
  background-color: var(--color-main); /* #ffe200 */
}

.footer-middle-inner {
  max-width: 1120px;
  margin-inline: auto;
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
}

/* ロゴは header 既存スタイルをそのまま利用。
   追加で footer 用に軽く調整 */
.footer-logo {
  text-decoration: none;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: right;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

/* 下段：薄い黄色＋コピーライト */
.footer-bottom {
  background-color: var(--color-main-light);
  text-align: center;
  padding: 16px 12px 24px;
  font-size: 12px;
}

/* =========================
   Footer：SP レイアウト
   ========================= */
@media (max-width: 767px) {
  .footer-nav {
    padding: 24px 16px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    display: flex;
            flex-direction: row;
        align-items: center;
  }

  .footer-middle-inner {
    padding: 32px 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-links {
    align-items: center;
    text-align: center;
        display: flex;
    flex-direction: row;
    gap:32px
  }
}
/* ==== スクロール矢印 共通 ==== */

/* 共通スタイル */
.scroll-arrow {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 24px;
  width: 80px;
  height: 80px;
  transform: translate(-50%,16px);
  padding: 0;
  border: none;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;   /* 画像そのまま表示 */
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  /* transform: translateY(16px); */
  /* transition: opacity 0.3s ease, transform 0.3s ease; */
    transform: translateX(-50%);           /* 中央固定だけにする */
  transition: opacity 0.3s ease;        /* transform のアニメは外す */
}

/* 表示状態のときだけクリック可能にするクラス */
.scroll-arrow--visible {
  opacity: 1;
  pointer-events: auto;
  /* transform: translateY(0); */
  transform: translate(-50%,0);
}

/* それぞれの画像を指定 */
.scroll-arrow-down {
  background-image: url("/asset/images/btn_down_80.png");
}

.scroll-arrow-up {
  background-image: url("/asset/images/btn_up_80.png");
}

/* スマホだけで表示する */
@media (min-width: 768px) {
  .scroll-arrow {
    display: none !important;
  }
}

/*=========================
  汎用pats
=========================*/
/* ipad pro以下で非表示 */
@media (max-width: 1024px) {
 .tb-none {
    display: none;
  }
}
/* SPで非表示 */
@media (max-width: 767px) {
 .sp-none {
    display: none;
  }
}