@charset "UTF-8";

/* ==============================
   1. レイアウト（位置・表示関連）
   2. ボックスモデル（サイズ・余白）
   3. 背景・ボーダー
   4. テキスト・フォント
   5. アニメーション・装飾
============================== */

/* ==============================
   汎用要素
============================== */
:root {
  font-size: 62.5%;

  --fs-min: clamp(1.0rem, 1.0vw, 1.2rem);
  --fs-base: clamp(1.2rem, 1.0vw, 1.6rem);
  --fs-xs: clamp(1.4rem, 1.5vw, 2.0rem);   
  --fs-s: clamp(1.6rem, 1.0vw, 2.4rem);
  --fs-sm: clamp(2.8rem, 1.0vw, 3.2rem);
  --fs-m: clamp(4.0rem, 1.0vw, 4.8rem);   
  --fs-l: clamp(4.0rem, 1.0vw, 6.0rem);   
  --fs-xl: clamp(6.0rem, 1.0vw, 8.0rem);
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Rounded M PLUS 1c', 'Noto Sans JP', sans-serif;
  color: #000;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  color: #000;
  text-decoration: none;
}

li {
  list-style: none;
}

/* ==============================
   共通要素
============================== */
.container {
  margin: 0 auto;
}

.wrapper {
  width: 80%;
  margin: 0 auto;
}

section {
  padding: 80px 0 60px 0;
}

.section-title-box {
  text-align: center;
  margin-bottom: 80px;
}

/* ==============================
  header
============================== */
#header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  position: fixed;
  z-index: 100;
  background-color: #fff;
  align-items: center;
}

#header .logo{
  width: 120px;
}

/*
ハンバーガーメニュー
*/
#navi {
  position: static;
  width: auto;
  padding: 0;
  background-color: transparent;
  opacity: 1;
  overflow: visible;
}

#navi .nav-menu {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  border-top: none;
}

#navi .nav-menu li {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

#navi a {
  color: #333;
  text-decoration: none;
  font-size: var(--fs-base);
}

/* ハンバーガーボタンはPCでは非表示 */
.toggle_btn {
  display: none;
}

/* マスクも常に非表示（スマホだけ後で出す） */
#mask {
  display: none;
}

/* CTAボタン */
.cta-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(90deg, #ffb347, #ff8a3d);
  color: #333;
  font-size: var(--fs-s);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;

  /* 中心が「じんわり白」になるグラデーション */
  background: linear-gradient(to right,
      #FF8A00,
      /* 左端：濃いオレンジ */
      #FFB35C 20%,
      /* 柔らかオレンジ */
      #FFE3C4 40%,
      /* 白の手前の薄いオレンジ */
      #FFFFFF 50%,
      /* ぼやっと白の中心 */
      #FFE3C4 60%,
      /* 白の後ろ側に薄オレンジでぼかす */
      #FFB35C 80%,
      /* 徐々にオレンジへ */
      #FF8A00
      /* 右端：濃いオレンジ */
    );

  background-size: 120%;
  /* 中心が柔らかく見える補正 */

  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(2px);
  box-shadow: 6px 6px 14px rgba(255, 138, 61, 0.3);
}


/* ==============================
   main
============================== */
/* --------------------
   メインビジュアル
-------------------- */
/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

.mv .text {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000000;
  font-family: "Roboto Mono", monospace;
  font-size: 6vw;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.mv .text.is-active {
  --x: 0;
}

.mv .char {
  overflow: hidden;
}

.mv .char-text {
  display: inline-block;
  transform: translateX(var(--x, -101%));
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--char-index));
}

/* 初期CSS */
.mv-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.visuallyHidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sub-line {
  max-width: 800px;
  height: 2px;
  background-color: #000;
  margin: 0.2rem auto 1.6rem;
  transition: width 0.8s ease;
}

.sub-text {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 4vw;
  font-weight: 700;
  color: #000;
  opacity: 0;                    /* 最初は透明 */
  transition: opacity 0.8s ease; /* ふわっと出す */
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

/* 1文字ずつマスク */
.sub-char {
  overflow: hidden;
}

/* 初期状態：左の外にいる */
.sub-char-text {
  display: inline-block;
  transform: translateX(var(--sx, -101%));
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--char-index));
}

/* アニメ開始状態 */
.sub-text.is-active {
  opacity: 1;
  --sx: 0;   /* これで全ての sub-char-text が 0 に向かって動く */
}

/* 線の見た目＋描くアニメ */
/* SVG 全体の位置 */

/* style.css の該当箇所を修正 */

.mv {
  position: relative;
  /* ヒーローはだいたい1画面分の高さ */
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}


.mv-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  /* ======================================================= */
  /* ★★★ レスポンシブ対応のコア修正 ★★★ */
  /* ======================================================= */
  /* 1. 線のスケールを計算（例：100vwを1920pxで割る） */
  /* 1920pxの画面幅を基準に、画面幅が狭まれば縮小、広がれば拡大 */
  transform: translateY(5vh) scale(calc(100vw / 2100));

  /* 2. 線の中心を画面中央に設定 */
  transform-origin: center center;

  /* 3. scale がズレた時、画面中央から少し下に微調整（任意） */
  transform: translateX(2vw) translateY(5vh) scale(calc(100vw / 2100));
  /* transform が transition の対象にならないよう、別途アニメーションが必要な場合は注意 */
}


/* ★ 全画面の背景画像（最初は非表示） */
.mv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

/* テキスト全体（真ん中配置・背景透明） */
.mv-container {
  position: relative;
  z-index: 2;
  background-color: transparent; /* ← 白を消すのが重要 */
}

/* 線（背景の上・テキストの下） */
.mv-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* style.css に以下の定義があることを確認 */
.mv .is-revealed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  /* 画像がない場合は背景色で画面を覆う */
}

.mv.is-revealed .mv-line {
  display: none;
}

/* ★ 背景画像がふわっと現れる */
.mv.is-revealed .mv-img {
  opacity: 1;
}

/* style.css のSVG関連部分全体を、以下のように修正・設定し直します */

/* ------------------------------------- */
/* 線の見た目＋描くアニメ (CSS制御)      */
/* ------------------------------------- */

/* 共通：線の形（マスク用） */
.mv-line-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 120;
  stroke-linecap: round;

  stroke-dasharray: 3000;
  /* ★ 余裕を持った固定値 */
  stroke-dashoffset: 3000;
  /* 初期状態で消す */
  stroke-opacity: 1;
}

/* 1本目：文字とサブテキストが終わった後にスタート */
.mv-line-path-a {
  /* 描画(2.2s) → フェードアウト(1s) */
  animation:
    draw-line 2.2s ease-out forwards,
    fade-line 1s ease-in forwards;

  /* 待ち時間：テキスト/サブテキスト完了(2.15s) + 余裕(0.85s) = 3.0s */
  animation-delay: 3.0s, 5.2s;
  /* 描画開始: 3.0s / フェードアウト開始: 3.0s + 2.2s = 5.2s */
}

/* 2本目：1本目がフェードアウト完了した後にスタート */
.mv-line-path-b {
  animation: draw-line 2.2s ease-out forwards;
  /* 待ち時間：1本目フェードアウト完了(5.2s + 1.0s) = 6.2s */
  animation-delay: 6.2s;
}

/* 【復活】 線が描かれるアニメーション (描画完了で stroke-dashoffset: 0 になる) */
@keyframes draw-line {
  0% {
    stroke-dashoffset: 3000;
    stroke-opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-opacity: 1;
  }
}

/* 【復活】 線がふつうに消える */
@keyframes fade-line {
  from {
    stroke-opacity: 1;
  }

  to {
    stroke-opacity: 0;
  }
}

/* --------------------
  選ばれる理由
-------------------- */
/* --------------------
  REASON：PC 共通
-------------------- */
#reason{
  background-color: #eaf0f3;
}
.reason-top {
  display: flex;
}

#reason .section-title-box {
  display: inline-block;
  text-align: center;
  margin-left: 0;
}

.section-intro span {
  font-size: var(--fs-s);
  font-weight: bold;
  background: linear-gradient(to right, #F8B05A 0%, #FFE86D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 1px 1px 2px rgba(255, 162, 0, 0.3);
}

.stats-wrapper {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
}

/* 各行（1ブロック） */
.stat-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 8rem;
}

/* 横線（オレンジ四角にかぶせる線） */
.stat-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;              /* 線の高さ */
  border-top: 2px solid #333;
  z-index: 3 !important;  /* 最前面（オレンジ・テキストより上） */
}

/* 左に四角の行 */
.stat-row-left {
  flex-direction: row;
}

/* 右に四角の行（左右反転） */
.stat-row-right {
  flex-direction: row-reverse;
}

.stat-row-right .stat-body {
  text-align: left;
  margin-left: 60px;
}

/* オレンジの四角 */
.stat-square {
  width: 120px;
  height: 150px;
  background: #ff8b3d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2 !important;  /* 線の下にくる */
}

.stat-percent {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #000;
}

/* テキスト側 */
.stat-text {
  position: relative;
  display: flex;
  gap: 5rem;
  width: 60%;
  margin-top: 8rem;
  flex: 1;
  z-index: 1 !important;   /* 一番奥（線と四角より下） */
}

.stat-text img {
  max-width: 150px;
}

.stat-title {
  position: relative;
  margin: 0 0 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
  z-index: 1 !important;
}

/* 本文 */
.stat-body {
  font-size: var(--fs-base);
}

/* イメージを動かす */
.float-img{
  animation: float 4s ease-in-out infinite;
}
@keyframes float{
  0% , 100%{
    transform: translateY(-10%);
  }
  50%{
    transform: translateY(10%);
  }
}

.zoomIn-img {
  animation: zoomIn 2s ease-in-out infinite;
}
@keyframes zoomIn {
  from { 
    transform: scale(0.5);
    opacity: 0;
  }
  to { 
    transform: scale(1);
    opacity: 1; 
  }
}


.heartbeat-img {
  animation: heartbeat 1.2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { 
    transform: scale(1);
  }
  50% { 
    transform: scale(1.2);
  }
}

/* --------------------
   プロナビの強み
-------------------- */
#feature {
   margin: 80px 0 60px 0;
   text-align: center;
}

.section-title span {
  color: #e9450B;
}

.section-title {
  font-size: var(--fs-sm);
}

.rotation {
    position: relative;
    width: 100%;
}

.rotation-img {
    position: absolute;
    width: 40%;
    aspect-ratio: 1.3 / 1;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 15px 20px rgba(255, 255, 255, 1.0);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.rotation-img:nth-of-type(1) {
    background-image: url(../img/3-1.coding.jpg);
    top: 5vh;
}

.rotation-img:nth-of-type(2) {
    background-image: url(../img/3-2.study.png);
    right: 0;
    bottom: 20vh;
}

.rotation-img:nth-of-type(3) {
    background-image: url(../img/3-3.LINE1.png);
    top: 5vh;
}

.rotation-img:nth-of-type(4) {
    background-image: url(../img/3-4.LINE2.jpg);
    right: 0;
    bottom: 20vh;
}

.rotation-img:nth-of-type(5) {
    background-image: url(../img/3-5.Metaleaf.png);
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 0 20px 50px rgba(255, 255, 255, 1.0);
}

.rotation-circle {
   position: relative;
   width: 60%;
   aspect-ratio: 2.0 / 1;
   margin: 0 auto 40px;
}

.rotation-circle__item {
   position: absolute;
   width: 200px;
   aspect-ratio: 1 / 1;
}

.rotation-circle__item:nth-of-type(1) {
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
}

.rotation-circle__item:nth-of-type(2) {
   top: 0;
   right: 0;
}

.rotation-circle__item:nth-of-type(3) {
   top: 0;
   left: 0;
}

.rotation-circle__item-inner {
   position: relative;
   width: 100%;
   aspect-ratio: 1 / 1;
   border-radius: 50%;
   background: radial-gradient(circle at 25% 25%, #ffffff 0%, #fff9e6 20%, #fff0d9 45%, #fff7ef 60%, #e8995b 100%);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 立体感を追加 */
}

.rotation-circle__item-text {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 70%;
   font-weight: bold;
}

.rotation-circle__item-text p:nth-of-type(1) {
   margin-bottom: 5%;
   font-size: var(--fs-xs);
}

.rotation-circle__item-text p:nth-of-type(2) {
   font-size: var(--fs-base);
}

.rotation-text {
   position: relative;
   min-height: 300px;
}

.rotation-text__item {
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   background-color: rgba(255, 255, 255, 0.5);
   border-radius: 30px;
   box-shadow: 0 0 20px 30px rgba(255, 255, 255, 0.5);
   pointer-events: none;
   transition: opacity 0.3s ease-in-out, transform 0.3s ease;
}

.rotation-text__item.is-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.rotation-text__item-title {
   font-size: 1.8rem;
   margin-bottom: 15px;
   font-weight: bold;
}

.rotation-text__item-title p {
    max-width: 100%; 
    margin: 0 auto;
    display: block;
}

.rotation-text__item-text {
   font-size: 1.4rem;
   margin-bottom: 25px;
   line-height: 1.8;
}

.rotation-text__item-text p {
    max-width: 100%; 
    margin: 0 auto;
    display: block;
}

.read-more {
   margin: 0 auto;
   width: fit-content;
   min-width: 140px;
   border-radius: 10px;
   font-size: var(--fs-base);
   background: linear-gradient(90deg, #7d9aae 0%, #c1e6eb 40%,  #c1e6eb 50%,  #c1e6eb 60%, #5f7585 100%);
   box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
   pointer-events: auto;
   cursor: pointer;
   transition: transform 0.2s;
}

.read-more:hover {
    transform: scale(1.05);
}

.read-more a {
    display: inline-block;
    pointer-events: auto;
    cursor: pointer;
    padding: 10px 20px;
}


/* --------------------
   卒業生の実績
-------------------- */
#graduate .wrapper {
  position: relative;
  height: 100%;
}

/* セクションタイトル */
#graduate {
  position: relative;
  height: 700vh;
  width: 100%;
  background: linear-gradient(to bottom right, #ffe8f7 0%, #ffe6bd 100%);
}

#graduate .section-title-box {
  width: fit-content;
  text-align: center;
  margin-left: auto;
}

.section-title {
  font-size: var(--fs-sm);
}

.section-title span {
  color: #e9450B;
}

.section-title-box p {
  font-size: var(--fs-xs);
}

/*  */
.sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 115vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-item {
  position: absolute;
  width: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  /* 初期位置：画面下 */
  transform: translate(0, 100vh) scale(0.9);
  will-change: transform, opacity;
}

.card-item:nth-of-type(1) {
  background-color: #c4cdd8;
}

.card-item:nth-of-type(2) {
  background-color: #B0C8DB;
}

.card-item:nth-of-type(3) {
  background-color: #90A5B8;
}

.card-item:nth-of-type(4) {
  background-color: #738698;
}

.card-img,
.card-text {
  z-index: 1;
}

.card-img {
  padding: 20px;
}

.card-text {
  width: 100%;
  text-align: center;
  font-size: var(--fs-base);
}

.card-text span {
  font-size: var(--fs-xs);
}

.card-text p:nth-of-type(1) {
  margin-bottom: 10px;
}

.card-text p:nth-of-type(2) {
  margin-bottom: 20px;
}

/* 背景装飾 */
.card-decoration {
  z-index: 0;
  width: 100%;
}

.card-decoration span:nth-of-type(1) {
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 10%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #fff;
  filter: blur(20px) brightness(1);
}

.card-decoration span:nth-of-type(2) {
  position: absolute;
  bottom: 5%;
  right: 15%;
  width: 5%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #fff;
  filter: blur(15px) brightness(1);
}

/* 光の粒子 */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -20px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: rise linear infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-100vh) translateX(var(--drift)) scale(0.5);
    opacity: 0;
  }
}


/* --------------------
   受講の流れ
-------------------- */
#flow {
  padding-top: 0;
}

.slider-container {
  position: relative;
  height: 400vh;
  background:
    url('../img/5-1.flow.svg'),
    linear-gradient(to bottom,
      #ffffff 0% 20%,
      /* 1番目：白 */
      #f8fafc 20% 40%,
      /* 2番目：ごく薄いグレー */
      #f1f5f9 40% 60%,
      /* 3番目：薄いグレー */
      #e2e8f0 60% 80%,
      /* 4番目：明るいグレー */
      #cbd5e1 80% 100%
      /* 5番目：少し濃いグレー */
    );
  background-repeat: repeat-y, repeat;
  background-size: contain, auto;
  background-position: center, center;
  transform: rotate(-3deg);
  background-attachment: fixed, scroll;
  z-index: -1;
}

.slider-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.slider-content {
  padding-top: 120px;
  width: 100%;
}

/* カードラッパー */
.flow-items {
  position: relative;
  width: 100%;
  height: 45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* フローカード */
.flow-item {
  position: absolute;
  width: 500px;
  border: solid 1px #000;
  border-radius: 5%;
  overflow: hidden;
  color: #fff;
  text-align: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.item-title {
  background: linear-gradient(to bottom right, #2d607d 0%, #153547 40%, #0f2938 50%, #112e3f 60%, #2d607d 100%);
  font-size: var(--fs-s);
  padding: 30px 0;
}

.flow-item span:nth-of-type(1),
.flow-item span:nth-of-type(3) {
  display: block;
  width: 100%;
  height: 5px;
  background-color: #3E3E3E;
}

.flow-item span:nth-of-type(2) {
  display: block;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, #a97447 0%, #cea17a 70%, #f5d492 100%);
}

.item-text {
  /* width: 80%; */
  height: 100%;
  background: linear-gradient(to bottom right, #6c8699 0%, #505d66 40%, #415564 50%, #435a6b 60%, #8099ac 100%);
  font-size: var(--fs-xs);
  margin: 0 auto;
  padding: 80px 0 120px 0;
}

.item-text p {
  width: 80%;
  margin: 0 auto;
}

/* プログレスインジケーター */
.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.progress-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background-color: #f5d492;
  transition: all 0.3s ease;
}

.progress-dot.active {
  width: 2.5rem;
  background-color: #cea17a;
}

/* --------------------
   料金
-------------------- */
#price {
  text-align: center;
  background-color: #fff;
}

/* カード本体 */
.price-card {
  position: relative;
  width: 80%;
  background: #fffaf2;
  border-radius: 24px;
  border: 1px solid #f3d9a8;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  padding: 6.0rem;
  margin: 0 auto 8.0rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.price-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.price-card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background: linear-gradient(to right, #f8b05a 0%, #ffe86d 60%, #ff8d00 100%);
}

/* 上部オレンジのライン + バッジ */
.price-card__header {
  text-align: left;
  margin-bottom: 3.0rem;
}

/* バッジ（「あなたのための特別のプラン」） */
.price-card__badge {
  display: inline-block;
  border-radius: 20px;
  background: linear-gradient(to right, #f8b05a 0%, #ffe86d 40%, #ffe86d 50%, #ffe86d 60%, #ff8d00 100%);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 600;
  z-index: 1;
  padding: 0.6rem 2.4rem;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

/* 金額部分 */
.price-card__price-box {
  display: flex;
  justify-content: center;
  align-items: end;
  width: 80%;
  border: 2px solid #f8b05a;
  color: #ff8a3d;
  border-radius: 10px;
  background: radial-gradient(#FFF9CB 0%, #FFF0DE 100%);
  padding: 20px 0;
  margin: 0 auto 20px;
}

.price-card__price {
  font-size: var(--fs-m);
  font-weight: 700;
}

.price-card__tax {
  font-size: var(--fs-base);
}

/* 小さな説明テキスト */
.price-card__note {
  font-size: var(--fs-base);
  color: #999;
  margin-bottom: 40px;
}

/* 特長リスト */
.price-card__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: var(--fs-xs);
  text-align: left;
  width: 100%;
  margin: 0 auto;
}

.price-card__features-list {
  padding: 0;
  margin: 0;
}

.price-card__features-list li {
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: 1.2rem;
}

/* チェックアイコン風の丸 */
.price-card__features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #ffe86d, #f8b05a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs--min);
  color: #fff;
}

/* 下のボタン */
.price-btn {
  position: relative;
  display: inline-block;
  width: 100%;
  color: #000;
  font-size: var(--fs-s);
  font-weight: 600;
  text-decoration: none;
  padding: 2rem 0;
  z-index: 4;
}

.price-section__cta {
  position: relative;
  display: inline-block;
  width: 60%;
  border-radius: 20px;
  background: linear-gradient(to bottom right, #c6c6c6 0%, #e1e1e1 100%);
  overflow: hidden;
  z-index: 1;
}

.price-section__cta::before {
  position: absolute;
  content: "";
  width: 150%;
  height: 400%;
  background-color: #B0C8DB;
  top: -500%;
  left: -20%;
  transform: rotate(5deg);
  transition: all 0.5s;
  pointer-events: none;
  z-index: 2;
}

.price-section__cta:hover::before {
  top: -40%;
}

.price-section__cta::after {
  position: absolute;
  content: "";
  width: 150%;
  height: 400%;
  background: linear-gradient(to right, #f8b05a 0%, #ffe86d 40%, #ffe86d 50%, #ffe86d 60%, #ff8d00 100%);
  bottom: -500%;
  right: -20%;
  transform: rotate(5deg);
  transition: all 0.5s;
  pointer-events: none;
  z-index: 3;
}

.price-section__cta:hover::after {
  bottom: -70%;
}

/* --------------------
   よくあるご質問
-------------------- */
/* FAQ本体 */
#faq{
  background-color: #fff;
}
.faq-list {
  border-top: 1px solid #e3e3e3;
  /* 一番上の線 */
}

/* 各質問ブロック */
.faq-item {
  border-bottom: 1px solid #e3e3e3;
  cursor: pointer;
}

/* 質問行 */
.faq-q-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  background: linear-gradient(to right, #F8B05A 0%, #FFE86D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 30px 0;
}

.faq-q-label {
  font-weight: 700;
  font-size: var(--fs-s);
  white-space: nowrap;
}

.faq-q-text {
  font-weight: 700;
  font-size: var(--fs-xs);
}

/* 回答行（最初は非表示） */
.faq-a-row {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.6rem;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 1.0s ease,
    opacity 1.0s ease;
}

.faq-a-label {
  font-weight: 700;
  color: #555;
  font-size: var(--fs-base);
  white-space: nowrap;
}

.faq-a-text {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: #555;
}

/* ホバー時：回答を表示 */
.faq-item:hover .faq-a-row {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 30px;
}

/* ホバー時ちょっとだけ背景を変えると分かりやすい */
.faq-item:hover {
  background: #fffdf7;
}

/* --------------------
   最初の一歩
-------------------- */
#first-step {
  position: relative;
}

.background-deco {
  position: absolute;
  background-color: rgba(238, 247, 255, 0.5);
  z-index: 1;
}

.background-deco:nth-of-type(1) {
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
}

.background-deco:nth-of-type(2) {
  bottom: 0;
  width: 100%;
  height: 25%;
}

#first-step .wrapper {
  position: relative;
  z-index: 10;
}

.section-intro {
  width: 50%;
  font-size: var(--fs-base);
  line-height: 3.2rem;
  margin: 0 auto 60px;
}

.sns-card {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5%;
  margin-bottom: 60px;
}

.sns-card__item,
.youtube-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* アニメーション表示状態 */
.sns-card__item.fade-in,
.youtube-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.sns-card__item {
  width: 40%;
  /* aspect-ratio: 10 / 7.5; */
  background: linear-gradient(to bottom right, #ffe3e8 0%, #fff0de 100%);
  border-radius: 5%;
}

.sns-card__top,
.youtube-card__top {
  display: flex;
  align-items: center;
  padding: 20px 0 20px 5%;
}

.sns-card__logo,
.youtube-card__logo {
  width: 8%;
  aspect-ratio: 1 / 1;
  margin-right: 10px;
}

.sns-card__title,
.youtube-card__title {
  font-size: var(--fs-xs);
}

.sns-card__img,
.youtube-card__img {
  width: 80%;
  margin: 0 auto 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.sns-card__link,
.youtube-card__link {
  padding-bottom: 20px;
}

.sns-card__link a,
.youtube-card__link a {
  display: block;
  width: 90%;
  border-radius: 10px;
  font-size: var(--fs-base);
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin: 0 auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.sns-card__link a {
  background: linear-gradient(to right, #ed6d86 0%, #f1b244 100%);
}

.youtube-card__link a {
  background: linear-gradient(to right, #ff3a3a 0%, #da4e4e 100%);
}

.sns-card__link a:hover,
.youtube-card__link a:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.youtube-card {
  width: 60%;
  background: linear-gradient(to bottom right, #fff0f0 0%, #ffc9dd 100%);
  border-radius: 5%;
  margin: 0 auto;
  ;
}

.youtube-card__text {
  width: 80%;
  font-size: var(--fs-base);
  margin: 0 auto 20px;
}

.youtube-card__text span {
  font-size: var(--fs-xs);
}


/* ==============================
   footer
============================== */
footer {
  display: flex;
  background: linear-gradient(to right, #c1e6eb 0%, #ffc178 100%);
  align-items: center;
  padding: 10px 20px;
}

footer .logo {
  width: 130px;
  margin-right: 40px;
}

.footer-list {
  display: flex;
}

.footer-list li {
  font-size: var(--fs-min);
  margin-right: 40px;
}

footer p {
  margin-left: auto;
}

/* ● ● ● ● ● ● ● ● ● ● 
   レスポンシブ(max-width:1024px)
● ● ● ● ● ● ● ● ● ●  */
@media (max-width: 1024px) {
  /* --------------------
     共通要素
  -------------------- */
  section {
    padding: 60px 0 40px 0;
  }

  .section-title-box {
    margin-bottom: 40px;
  }

  /* --------------------
     ヘッダー
  -------------------- */
  #header {
    padding: 16px 20px;
  }

  /* ナビを左からスライドするパネルに変更 */
  #navi {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    color: #fff;
    padding: 60px 25px;
    background-color: #121212;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.5s;
    z-index: 20;
    opacity: 0;
  }

  #navi a {
    color: #fff;
  }

  .open #navi {
    left: 0;
    opacity: 1;
  }

  #navi ul {
    margin: 0;
    padding: 0;
  }

  #navi ul.nav-menu {
    margin-bottom: 60px;
    border-top: solid 1px #fff;
  }

  #navi ul.nav-menu li {
    position: relative;
    margin: 0;
    padding: 20px 0;
    border-bottom: solid 1px #fff;
  }

  /* ハンバーガーボタンをスマホで表示 */
  .toggle_btn {
    width: 40px;
    height: 40px;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
    position: relative;
    display: block;
  }

  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.5s;
  }

  .toggle_btn span:nth-child(1) {
    top: 22%;
  }
  .toggle_btn span:nth-child(2) {
    top: 50%;
  }
  .toggle_btn span:nth-child(3) {
    top: 78%;
  }

  .open .toggle_btn span {
    background-color: #fff;
  }
  .open .toggle_btn span:nth-child(1) {
    top: 50%;
    transform: rotate(-315deg);
  }
  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle_btn span:nth-child(3) {
    top: 50%;
    transform: rotate(315deg);
  }

  /* マスクもスマホのときだけ有効 */
  #mask {
    display: none;
    transition: all 0.5s;
  }

  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 10;
    cursor: pointer;
  }

  #navi .nav-menu {
    display: block;              /* ← flex をやめる */
    margin-bottom: 60px;
    border-top: 1px solid #fff;
  }

  #navi .nav-menu li {
    padding: 20px 0;
    border-bottom: 1px solid #fff;
  }

  /* --------------------
     メインビジュアル
  -------------------- */
  .mv {
    overflow: visible;
  }

  .mv-line {
    transform-origin: center center;
    transform: translateY(10vh) scale(1.7);
  }

  /* --------------------
     プロナビの強み
  -------------------- */
  .rotation-circle {
    width: 80%;
    aspect-ratio: 2.0 / 1;
  }


  /* --------------------
     卒業生の実績
  -------------------- */
  #graduate {
    height: 900vh;
  }

  .card-item {
    width: 50vw;
  }

  /* --------------------
     最初の一歩
  -------------------- */
  .section-intro {
    width: 80%;
    line-height: 2.4rem;
    margin-bottom: 30px;
  }

  .sns-card {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .sns-card__item,
  .youtube-card {
    width: 80%;
  }
}

/* ● ● ● ● ● ● ● ● ● ● 
   レスポンシブ(min-width:769px)
● ● ● ● ● ● ● ● ● ●  */
/* ==========================
   PC専用（768px以上）
   オレンジ四角側の余白を作る
========================== */
@media (min-width: 769px) {
  /* ① & ③：左に四角 → 左端に5%余白 */
  .stat-row-left::before {
    left: 5%;
    right: 0;
  }

  /* ②：右に四角 → 右端に5%余白 */
  .stat-row-right::before {
    left: 0;
    right: 5%;
  }

  .stat-row-left .stat-title {
    margin-left: 0px;   /* ← 数字大きくするともっと右に寄る */
    text-align: left;    /* 自然に左寄せのまま */
  }

  /* ②：右に四角 → タイトルは左寄せ */
  .stat-row-right .stat-title {
    margin-right: 40px;  /* ← 左側に寄るようにスペースを作る */
    text-align: right;
  }

  .stat-row-left .stat-text {
    margin-left: -40px;     /* ← 四角の近くへ寄せる。数字調整OK */
    margin-right: 0;
  }

  .stats-wrapper > .stat-row:nth-child(3) .stat-text {
    margin-left: 0; /* ここが効くはずです */
  }

  /* ②：右に四角 → stat-text を右へ寄せる */
  .stat-row-right .stat-text {
    margin-right: -100px;    /* ← 四角の近くへ寄せる */
    margin-left: 0;
}
}

/* ● ● ● ● ● ● ● ● ● ● 
   レスポンシブ(max-width:768px)
● ● ● ● ● ● ● ● ● ●  */
@media (max-width: 768px) {
  /* --------------------
     選ばれる理由
  -------------------- */
  /* 上のタイトル・導入文 */
  #reason .wrapper {
    width: 90%;
    margin: 0 auto;
  }

  .reason-top {
    flex-direction: column;
    gap: 2.4rem;
  }

  #reason .section-title-box {
    display: inline-block;
    text-align: center;
    margin-left: 0;
  }

  /* 数字ブロック全体 */
  #reason .stats-wrapper {
    width: 100%;
    margin: 4rem auto 0;
  }

  /* 各ブロック（満足度／案件獲得率／挫折率） */
  #reason .stat-row,
  #reason .stat-row-left,
  #reason .stat-row-right {
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    margin-bottom: 5.6rem;
  }

  /* 線の位置・長さ（SP用） */
  #reason .stat-row::before {
    left: 8%;
    right: 8%;
    top: 60px;
    border-top: 2px solid #333;
    /* z-index は PCの !important が効くのでここでは指定しない
       → 既存の見た目はそのまま維持 */
  }

  /* オレンジの四角（SPでは左寄せ） */
  #reason .stat-square {
    width: 120px;
    height: 120px;
    margin: 24px auto 0;
    margin-left: 0;
    margin-right: auto;
  }

  /* 99% / 93% / 1% の位置調整（少し下げる） */
  #reason .stat-square .stat-percent {
    margin-top: 18px;
    display: inline-block;
  }

  /* タイトル（顧客満足度／案件獲得率／挫折率） */
  #reason .stat-title {
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  /* テキスト＋画像 */
  #reason .stat-text {
    width: 100%;
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;    /* 上下に並べる */
    align-items: center;
    gap: 1.6rem;
    text-align: center;
  }

  #reason .stat-body {
    font-size: 1.4rem;
  }

  .stat-row-right .stat-body {
    margin-left: 0;
    text-align: center;
  }

  #reason .stat-text img {
    max-width: 160px;
    margin: 0 auto;
  }

  /* 2個目（案件獲得率）だけ「画像 → テキスト」の順番に反転 */
  #reason .stat-row:nth-of-type(2) .stat-text {
    flex-direction: column-reverse;
    width: 80%;
    /* text-align: right; */
  }

  #reason .stat-row:nth-of-type(2) .stat-text img {
    margin-top: 16px;
    margin-bottom: 0;
  }
  /* --------------------
     プロナビの強み
  -------------------- */
  .rotation-circle {
    width: 80%;
    aspect-ratio: 1.5 / 1;
  }

  .rotation-circle__item {
    width: 150px;
  }

  /* --------------------
     卒業生の実績
  -------------------- */
  .card-img {
    padding-bottom: 10px;
  }

  .responsive-break::after {
    content: "\A";      /* 改行コード (Line Feed) を挿入 */
    white-space: pre;   /* 改行コードを有効にする（必須） */
  }

  .card-text p:nth-of-type(1) {
    margin-bottom: 5px;
  }

  /* --------------------
     プロナビの強み
  -------------------- */
  .rotation-img:nth-of-type(1) {
    width: 50%;
    top: 10vh;
  }
  
  .rotation-img:nth-of-type(2) {
    width: 50%;
    right: 0;
    bottom: 30vh;
  }
  
  .rotation-img:nth-of-type(3) {
    width: 50%;
    top: 10vh;
  }
  
  .rotation-img:nth-of-type(4) {
    width: 50%;
    right: 0;
    bottom: 30vh;
  }

  .rotation-img:nth-of-type(5) {
    width: 90%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* --------------------
     受講の流れ
  -------------------- */
  .slider-container {
    transform: rotate(0deg);
  }

  /* --------------------
     料金
  -------------------- */
  .price-card {
    padding: 32px 20px 20px;
  }

  .price-card__note {
    margin-bottom: 20px;
}

  .price-card__features {
    grid-template-columns: 1fr;
  }

  .price-card__price {
    font-size: var(--fs-sm);
  }

  /* --------------------
     最初の一歩
  -------------------- */
  .sns-card__item, 
  .youtube-card {
    width: 100%;
  }

  /* --------------------
     フッター
  -------------------- */
  footer .logo {
    width: 100px;
  }


  .footer-list {
    flex-direction: column;
    gap: 2px;
  }
}

/* ● ● ● ● ● ● ● ● ● ● 
   レスポンシブ（max-width:425px）
● ● ● ● ● ● ● ● ● ●  */
@media (max-width: 425px) {
  /* --------------------
     ヘッダー
  -------------------- */
  .cta-btn {
    font-size: var(--fs--min);
    padding: 10px 20px;
  }

  /* --------------------
     卒業生の実績
  -------------------- */
  #graduate {
    height: 1000vh;
  }

  .card-item {
    width: 80%;
  }

  .card-img {
    padding-bottom: 10px;
  }

  .card-text p:nth-of-type(1) {
    margin-bottom: 5px;
  }

  /* --------------------
     プロナビの強み
  -------------------- */
  .rotation-img:nth-of-type(1) {
    width: 50%;
    top: 15vh;
  }
  
  .rotation-img:nth-of-type(2) {
    width: 50%;
    right: 0;
    bottom: 33vh;
  }
  
  .rotation-img:nth-of-type(3) {
    width: 50%;
    top: 12vh;
  }
  
  .rotation-img:nth-of-type(4) {
    width: 50%;
    right: 0;
    bottom: 30vh;
  }

  .rotation-img:nth-of-type(5) {
    width: 90%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .rotation-circle {
    width: 90%;
    aspect-ratio: 1.2 / 1;
  }

  .rotation-circle__item {
    width: 150px;
  }

  .rotation-text__item {
    width: 80%;
  }

  /* --------------------
     料金
  -------------------- */
  .price-card {
    width: 100%;
  }

  .price-section__cta {
    width: 100%;
  }

  /* --------------------
     フッター
  -------------------- */
  footer {
    padding: 10px 10px;
  }

  footer .logo {
    width: 80px;
  }

  .footer-list li {
    font-size: 0.6rem;
    margin-right: 20px;
  }
}