*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
/* ジャンプ先の要素（id属性を持つもの）の停止位置を調整 */
[id] {
  scroll-margin-top: 140px; /* ヘッダーの高さ(140px)に合わせる */
}

/* スマホ等でヘッダーの高さが変わる場合はメディアクエリで調整 */
@media (max-width: 955px) {
  [id] {
    scroll-margin-top: 70px; /* スマホヘッダーの高さ */
  }
}

:root {
  --cream: #fdf8f0;
  --salmon: #f4977f;
  --teal: #2fbeb2;
  --yellow: #f7e8aa;
  --text-dark: #333;
  --text-salmon: #f4977f;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
}

body {
  padding-top: 140px;
}

/* スマホ時（ヘッダーが70pxになる場合）の調整 */
@media (max-width: 955px) {
  body {
    padding-top: 70px;
  }
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 100px;

  /* --- 固定のための追記 --- */
  position: fixed; /* 画面に対して固定 */
  top: 0; /* 上端に配置 */
  left: 0; /* 左端に配置 */
  width: 100%; /* 横幅を画面いっぱいに */
  /* ---------------------- */

  z-index: 10000; /* 他の要素より前面に（数値を少し大きくしました） */
  height: 140px;
  box-sizing: border-box; /* paddingを含めた横幅計算にする */
}

.logo-area {
  display: flex;
  align-items: center;
  height: 100%;
  height: 80px;
  justify-content: center;
}

.logo-area a {
  display: block;
  height: 100%;
}

.logo-area img {
  height: auto;
  max-height: 70%;
  width: auto;
  display: block;
  object-fit: contain;
  justify-content: center;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background-color: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
  font-family: "Zen Maru Gothic";
}

.btn-secondary {
  background-color: transparent;
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid var(--teal);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
  font-family: "Zen Maru Gothic";
  background-color: #fff;
}

/* ボタンの共通設定を更新 */
.btn-primary,
.btn-secondary {
  display: flex; /* 横並びにする */
  align-items: center; /* 上下中央揃え */
  justify-content: center;
  text-decoration: none;
  position: relative;
  padding: 12px 20px 12px 24px; /* 右側にアイコン用のスペースを確保 */
  gap: 15px; /* 文字とアイコンの間隔 */
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: #27a89d;
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

/* 共通：右側の丸いアイコンのベース */
.btn-primary::after,
.btn-secondary::after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
}

/* --- btn-primary の設定 --- */
.btn-primary::after {
  background-color: #fff; /* 円は白 */
  /* 矢印の色を #2FBEB2 に設定 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FBEB2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

/* --- btn-secondary の設定 --- */
.btn-secondary::after {
  background-color: #2fbeb2; /* 円は #2FBEB2 */
  /* 矢印の色を 白(#ffffff) に設定 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.btn-menu {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--yellow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.btn-menu span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
}

@media (max-width: 955px) {
  .header {
    height: 70px;
    padding: 0 10%;
  }

  .btn-primary,
  .btn-secondary {
    display: none;
  }

  .logo-area {
    height: 50px;
  }
}

/* ーーーーーーーーーーーーーLINEボタン ーーーーーーーーーーーーー*/
.line-float-btn {
  position: fixed;
  z-index: 9999;

  /* 右下からの距離 */
  /* 1440pxで40pxになるよう計算(2.77vw) / 最小20px〜最大60px */
  bottom: clamp(20px, 2.77vw, 60px);
  right: clamp(20px, 2.77vw, 60px);

  /* ボタンのサイズ */
  /* 1440pxで200pxになるよう計算(13.88vw) / 最小80px〜最大250px */
  width: clamp(80px, 10.88vw, 250px);
  height: clamp(80px, 10.88vw, 250px);

  /* 装飾 */
  background-color: #06c755;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

  /* 表示制御 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.line-float-btn:hover {
  background-color: #05a346;
  transform: translateY(-2px);
}

/* アイコンと文字も比率で調整 */
.line-float-btn img {
  width: 45%; /* ボタン直径に対して45% */
  height: auto;
}

.line-float-btn span {
  color: white;
  /* 1440pxで約24pxになるよう計算 */
  font-size: clamp(10px, 1.2vw, 28px);
  font-weight: bold;
  margin-top: -5px;
}

/* 表示用・アニメーション用クラス（前述のJSと併用） */
.line-float-btn.is-show {
  opacity: 1;
  visibility: visible;
}

@keyframes jump {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20%);
  } /* pxではなく%にすることでサイズに連動 */
  60% {
    transform: translateY(-12%);
  }
}

.is-animating {
  /* 動きにメリハリを出すため、少し勢いのあるcubic-bezierに変更（任意） */
  animation: jump 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 跳ねるアニメーション */
@keyframes jump {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.is-animating {
  animation: jump 0.8s ease;
}

/* ===== HAMBURGER MENU ===== */
.hmenu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.hmenu.is-open {
  pointer-events: auto;
}

/* オーバーレイ */
.hmenu__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hmenu.is-open .hmenu__overlay {
  opacity: 1;
}

/* パネル */
.hmenu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 100px 40px 50px;
  gap: 40px;
  transform: translateX(100%); /* ← これが必要 */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

@media (max-width: 380px) {
  .hmenu__panel {
    width: min(320px, 90vw);
  }
}

.hmenu.is-open .hmenu__panel {
  transform: translateX(0);
}

/* ナビリスト */
.hmenu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hmenu__item {
  border-bottom: 1px solid #f2f2f2;
}

.hmenu__item:first-child {
  border-top: 1px solid #f2f2f2;
}

.hmenu__link {
  display: block;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.hmenu__link:hover {
  color: var(--teal);
}

/* ボタンエリア */
.hmenu__btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hmenu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
  padding: 14px 20px;
  border-radius: 50px;
  line-height: 1.5;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

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

.hmenu__btn--primary {
  background-color: var(--teal);
  color: #fff;
}

.hmenu__btn--primary:hover {
  background-color: #27a89d;
}

.hmenu__btn--secondary {
  background-color: #fff;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.hmenu__btn--secondary:hover {
  background-color: #f5f5f5;
}

/* btn-menuのアイコン切り替え */
.btn-menu.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-menu.is-open span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-menu span {
  transition: transform 0.3s ease;
}

.hmenu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--yellow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

.hmenu__close span {
  display: block;
  width: 20px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.hmenu__close span:nth-child(1) {
  transform: translateY(1.25px) rotate(45deg);
}

.hmenu__close span:nth-child(2) {
  transform: translateY(-1.25px) rotate(-45deg);
}
/* ===== KV (MAIN VISUAL) ===== */
.kv {
  width: 100%;
  aspect-ratio: 1440 / 750; /* PC画像の縦横比に合わせて調整 */
  display: flex;
  align-items: center;
  padding-left: clamp(20px, 6.94vw, 100px);
  padding-right: clamp(20px, 6.94vw, 100px);
  position: relative;
  overflow: hidden;
  background-image: url("../img/kv_pc.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--cream);
}

.kv-content {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  margin-top: -200px; /* 100px上に移動 */
}

.kv-tagline {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  color: var(--text-salmon);
  font-weight: 550;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  font-size: clamp(20px, 2.5vw, 36px);
  display: inline-block;
}

.kv-title {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  text-align: left;
}

.title-large {
  font-size: clamp(35px, 6.25vw, 80px);
  display: inline-block;
  margin-bottom: 10px;
}

@media (min-width: 1440px) {
  .kv {
    padding-left: calc((100vw - 1240px) / 2);
    padding-right: calc((100vw - 1240px) / 2);
    background-size: 1440px auto;
    background-position: center top;
    aspect-ratio: unset;
    height: 750px;
  }

  .kv-content {
    margin: 0;
    margin-top: -200px;
  }
}

@media (min-width: 500px) {
  .kv-deco {
    display: none;
  }
  .kv-circle {
    display: none;
  }
}

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

@media (max-width: 955px) {
  .kv-content {
    padding-top: 70px;
  }

  .kv-tagline {
    font-size: clamp(16px, 3vw, 36px);
    margin-bottom: 10px;
    margin-left: -10px;
  }
}

@media (max-width: 600px) {
  .kv-content {
    padding-top: 130px;
  }
}

@media (max-width: 500px) {
  .header {
    height: 70px;
    padding: 20px 10% 0px;
  }

  .btn-primary,
  .btn-secondary {
    display: none;
  }

  .kv {
    padding: 20px 10% 40px;
    align-items: flex-start;
    background-image: none;
    aspect-ratio: unset;
  }

  .kv-content {
    margin-top: 0px;
    padding-top: 0;
  }

  .kv-center {
    display: flex;
  }

  .kv-deco {
    width: 35vw;
  }

  .kv-deco img {
    width: 100%;
    height: auto;
  }

  .kv-tagline {
    font-size: clamp(16px, 2vw, 36px);
    margin-bottom: 3px;
  }

  .kv-title {
    font-size: 28px;
  }

  .title-large {
    font-size: 32px;
  }

  .kv-circle img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 375px) {
  .header {
    padding: 10px 20px;
  }

  .kv {
    padding: 10px 20px;
  }
}

/* ===== LEAD SECTION ===== */
.lead {
  background-color: #a2d9e0;
  padding: 15px 100px;
  position: relative; /* 追加 */
  overflow: hidden; /* 追加 */
  display: flex; /* 追加 */
  justify-content: center;
}

/* --- 背景画像 --- */
.lead-back {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: -1px; /* leadとの隙間をなくす */
}

.lead-back img {
  width: 1440px;
  max-width: 1440px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.lead-back-under {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: -1px; /* leadとの隙間をなくす */
}

.lead-back-under img {
  width: 1440px;
  max-width: 1440px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
/* 既存の .lead-inner に z-index を追加してコンテンツを前面に */
.lead-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative; /* 追加 */
  z-index: 1; /* 追加 */
}

/* --- heading エリア --- */
.lead-heading {
  display: flex;
  align-items: flex-start;
  margin-bottom: clamp(20px, 2.083vw, 30px);
  gap: clamp(24px, 4.167vw, 60px);
  width: fit-content;
  max-width: 100%;
}

.lead-title {
  font-size: clamp(21px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.8;
  letter-spacing: 0.15em;
  text-align: right;
}

.lead-illust {
  max-width: clamp(100px, 13.889vw, 200px);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.lead-illust img {
  width: 100%;
  height: auto;
}

/* --- body テキストエリア --- */
.lead-body {
  padding-left: 8%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lead-text {
  font-size: clamp(15px, 1.667vw, 20px);
  color: var(--text-dark);
  line-height: 2;
  letter-spacing: 0.05em;
}

.sp-br {
  display: none;
}

@media (min-width: 1440px) {
  .lead-back,
  .lead-back-under {
    justify-content: stretch;
  }

  .lead-back img,
  .lead-back-under img {
    width: 100%;
    max-width: none;
  }
}

/* ===== RESPONSIVE SP ===== */
@media (max-width: 955px) {
  .lead {
    padding: 0 5% clamp(40px, 4.167vw, 60px);
  }

  .lead-body {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .lead-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 0 auto 40px auto;
    align-items: center;
  }

  .lead-title {
    font-size: clamp(20px, 6vw, 26px);
    letter-spacing: 0.1em;
    text-align: center;
    width: 100%;
  }

  .lead-illust {
    width: 40%;
  }

  .lead-body {
    gap: 24px;
  }

  .lead-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .pc-br {
    display: none;
  }
}

@media (max-width: 550px) {
  .sp-br {
    display: block;
  }

  .lead-back {
    margin-top: clamp(-60px, calc(3.043vw - 69.74px), -53px);
    margin-bottom: -1px;
  }
}

/* ===== REASON SECTION ===== */
.reason {
  padding: 80px 20px;
  background-color: var(--cream, #fdf9f3);
}

/* --- ヘッダー --- */
.reason-header {
  text-align: center;
  margin-bottom: 80px;
}

.reason-lead {
  font-size: 24px;
  color: var(--text-dark, #333);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.reason-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark, #333);
  letter-spacing: 0.2em;
}

/* 点線デコレーション */
.reason-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.reason-dots::before {
  content: "";
  display: block;
  width: 320px;
  height: 6px;
  background-image: radial-gradient(
    circle,
    var(--text-salmon, #e8a090) 2px,
    transparent 2px
  );
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

/* --- アイテム共通 --- */
.reason-list {
  max-width: 1000px;
  width: 69.44%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10.417vw, 150px); /* 150 / 1440 */
}

@media (min-width: 1440px) {
  .reason-list {
    width: 1000px;
  }
}

@media (max-width: 600px) {
  .reason-list {
    width: 100%;
    margin: 0 auto;
    gap: clamp(40px, 4.167vw, 60px);
  }
}
.reason-item {
  display: flex;
  align-items: center;
  gap: 70px;
}

/* 画像が右：テキスト左 */
.reason-item--right {
  flex-direction: row;
}

/* 画像が左：テキスト右 */
.reason-item--left {
  flex-direction: row;
}

/* --- テキストブロック --- */
.reason-text {
  flex: 1;
}

.reason-number {
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(36px, 3.5vw, 64px);
  color: #86cec8;
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.reason-subtitle {
  font-size: clamp(13px, 2.2vw, 24px);
  color: var(--text-salmon, #e8a090);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.reason-heading {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--text-dark, #333);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.reason-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text-dark, #333);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* --- 画像ブロック --- */
.reason-image {
  flex: 1;
  position: relative; /* 追加 */
}

.reason-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャラクター */
.reason-chara {
  position: absolute;
  width: 3%;
  height: auto;
  bottom: -8%;
}

.reason-item--right .reason-chara {
  right: -5%;
  width: 17%;
}

.reason-item--left .reason-chara {
  left: -5%;
  width: 17%;
}

/* ===== RESPONSIVE SP ===== */
@media (max-width: 885px) {
  .reason {
    padding: 60px 20px;
  }

  .reason-header {
    margin-bottom: 50px;
  }

  .reason-lead {
    font-size: 14px;
  }

  .reason-list {
    gap: 80px;
  }

  /* SP：すべて縦並び（テキスト上・画像下） */
  .reason-item--right,
  .reason-item--left {
    flex-direction: column;
    gap: 24px;
  }

  .reason-number {
    font-size: 48px;
    text-align: center;
  }

  .reason-subtitle {
    text-align: center;
  }

  .reason-heading {
    font-size: clamp(20px, 2.5vw, 24px);
    text-align: center;
  }

  .reason-desc {
    font-size: 15px;
    text-align: left;
  }

  .reason-image {
    width: 100%;
  }

  .reason-item--left {
    flex-direction: column;
  }

  .reason-item--left .reason-image {
    order: 2;
  }

  .reason-item--left .reason-text {
    order: 1;
  }
}

/* ===== CONVERSION SECTION ===== */
.cv {
  position: relative;
  background-color: #f9ddd5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 69.44%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: 220px;
}

.cv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #f9ddd5;
  z-index: 0;
}
/* --- 装飾：四角形 --- */
.deco {
  position: absolute;
  border-radius: 8px;
  opacity: 0.75;
}

.deco--sq1 {
  width: 28px;
  height: 28px;
  background: #c9a4e0;
  top: 22px;
  right: 130px;
  transform: rotate(20deg);
}

.deco--sq2 {
  width: 20px;
  height: 20px;
  background: #f4977f;
  top: 55px;
  right: 105px;
  transform: rotate(10deg);
}

/* --- イラスト --- */
.illust {
  position: absolute;
  line-height: 0;
}

.illust--girl {
  left: 0;
  bottom: 50px;
}

.illust--girl img {
  height: clamp(108px, 16vw, 180px);
  width: auto;
}

.illust--bear {
  right: 60px;
  bottom: 70px;
}

.illust--bear img {
  height: clamp(72px, 11vw, 120px);
  width: auto;
}

.illust--carrot {
  right: -15px;
  bottom: 70px;
}

.illust--carrot img {
  height: clamp(60px, 9vw, 100px);
  width: auto;
}

/* --- コンテンツ --- */
.cv__content {
  text-align: center;
  z-index: 1;
}

.cv__note {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text-salmon);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 550;
}

.cv__slash {
  font-size: clamp(11px, 1vw, 13px);
  color: var(--text-salmon);
  margin: 0 4px;
}

.cv__heading {
  line-height: 1.4;
  margin-bottom: 40px;
}

.cv__heading--sub {
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cv__heading--highlight {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 550;
  color: var(--teal);
  display: inline;
  background-image: linear-gradient(transparent 60%, #f1fc78 60%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  letter-spacing: 0.02em;
}

.cv__heading--main {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 550;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* --- ボタン --- */
.cv__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background-color: #06c755;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 10px 48px 14px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cv__btn:hover {
  background-color: #05a346;
  transform: translateY(-2px);
}

.cv__btn--small {
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 2px;
}

.cv__btn--large {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ===== CONVERSION SECTION - SP ===== */

@media (max-width: 800px) {
  .cv__btn {
    padding: 10px 30px 14px;
  }
}

@media (max-width: 750px) {
  .cv {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: center;
    padding: 40px 24px; /* 上下の余白を調整 */
    width: 100%;
    min-height: auto;
    background-color: #f9ddd5; /* beforeに頼らず親に直接背景色を塗る */
  }

  .cv::before {
    display: none; /* スマホでは複雑な疑似要素は不要なので消す */
  }

  /* --- イラスト共通 --- */
  .illust {
    position: relative; /* 重なり順を制御しやすくする */
    z-index: 2;
    line-height: 0;
  }

  /* 女の子（一番上） */
  .illust--girl {
    order: 1; /* 1番目 */
    margin-top: 30px;
  }
  .illust--girl img {
    height: 130px; /* お好みのサイズに */
  }

  /* 中央のコンテンツ（文字・ボタン） */
  .cv__content {
    order: 2; /* 2番目 */
    margin-bottom: 30px;
    width: 100%;
  }

  .cv__heading--main {
    display: block; /* インライン要素からブロック要素にすることで強制改行 */
    margin-top: 8px; /* 上の行との間に少し余白を作ると読みやすくなります */
    font-size: clamp(20px, 5vw, 26px); /* スマホ用にサイズを微調整 */
  }

  .cv__heading--highlight {
    display: inline-block; /* マーカー（背景色）を文字にフィットさせるため */
  }

  /* 下のキャラクターたちを包む要素がないため、個別に配置 */
  .illust--bear {
    order: 3; /* 3番目 */
    display: inline-block;
    margin-top: 75px;
    margin-left: 30px;
  }
  .illust--bear img {
    height: 100px;
  }

  .illust--carrot {
    order: 4; /* 4番目 */
    display: inline-block;
    margin-top: -100px;
    margin-left: 140px;
  }
  .illust--carrot img {
    height: 90px;
  }

  /* 装飾の四角は非表示 */
  .deco {
    display: none;
  }

  /* ボタンの幅を調整 */
  .cv__btn {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }
}

/* ===== COURSE SECTION ===== */
.course {
  background-color: var(--cream);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.course__inner {
  max-width: 750px;
  width: 50%;
  margin: 0 auto;
}

.course__illust {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.course__illust--tl {
  top: 100px;
  left: 200px;
  width: clamp(80px, 10vw, 145px);
}

.course__illust--br {
  bottom: 20px;
  right: 220px;
  width: clamp(100px, 10vw, 125px);
}

@media (max-width: 1050px) {
  .course__illust {
    display: none;
  }
}

@media (min-width: 1440px) {
  .course__inner {
    width: 1000px;
  }
  .course__illust--tl {
    left: calc(50% - 550px);
  }

  .course__illust--br {
    right: calc(50% - 550px);
  }
}

/* --- ヘッダー --- */
.course__header {
  text-align: center;
  margin-bottom: 48px;
}

.course__lead {
  font-size: clamp(16px, 1.5vw, 24px);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.course__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
}

.course__title::after {
  content: "";
  display: block;
  width: 337px;
  height: 6px;
  background-image: radial-gradient(
    circle,
    var(--text-salmon) 2px,
    transparent 2px
  );
  background-size: 12px 6px;
  background-repeat: repeat-x;
  margin: 0 auto;
}

/* --- カードリスト --- */
.course__list {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

/* --- カード --- */
.course__item {
  flex: 1;
  border: 2px solid #f4c4b8;
  border-radius: 16px;
  padding: 28px 24px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.course__item--active {
  border-color: var(--salmon);
}

.course__item-lead {
  font-size: clamp(12px, 1vw, 16px);
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 550;
}

.course__item-name {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  color: var(--salmon);
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 16px;
}

.course__item-line {
  border: none;
  border-top: 1px solid #f4c4b8;
  margin-bottom: 16px;
}

.course__item-desc {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/* --- フッター --- */
.course__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.course-btn {
  padding: 25px 100px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.course-btn:hover {
  background-color: #27a89d;
  transform: translateY(-2px);
}

.course__note {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

/* ===== COURSE SECTION - SP ===== */
@media (max-width: 1050px) {
  .course {
    padding: 60px 20px;
  }
  .course__list {
    flex-direction: column;
    gap: 16px;
  }

  .course__inner {
    width: 400px;
  }

  .course__item {
    padding: 24px 20px;
  }

  .course__item-name {
    font-size: 26px;
  }
}

@media (max-width: 425px) {
  .course__inner {
    width: 100%;
    padding: 0 20px;
  }

  .course__title::after {
    width: 237px;
  }
}

@media (max-width: 360px) {
  .course-btn {
    width: 100%;
    padding: 25px 0;
  }
}

/* ===== SERVICE SECTION ===== */
.service {
  background-color: var(--cream);
  padding: 80px 0;
}

.service__inner {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
}

/* --- ヘッダー --- */
.service__header {
  text-align: center;
  margin-bottom: 80px;
}

.service__lead {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-salmon);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.service__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

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

.service__dots::before {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  background-image: radial-gradient(circle, var(--salmon) 2px, transparent 2px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

/* ===== SERVICE SECTION ===== */
.service {
  background-color: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.service__inner {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
}

/* --- ヘッダー --- */
.service__header {
  text-align: center;
  margin-bottom: 80px;
}

.service__lead {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-salmon);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.service__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

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

.service__dots::before {
  content: "";
  display: block;
  width: 220px;
  height: 6px;
  background-image: radial-gradient(circle, var(--salmon) 2px, transparent 2px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

/* ===== 大型アイテム（1〜3） ===== */
.service__large-list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 120px);
  margin-bottom: clamp(60px, 8vw, 120px);
  overflow: visible;
}

.service__large-item {
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  background-color: #fff;
  border-radius: 20px;
  padding: clamp(30px, 4vw, 60px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: visible;
}

.service__large-item--right {
  flex-direction: row;
}

.service__large-item--left {
  flex-direction: row;
}

.service__large-text {
  flex: 1;
  width: 80%;
}

.service__large-img {
  flex: 1;
  max-width: 300px;
}

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

.service__large-num {
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(32px, 3.5vw, 56px);
  color: #86cec8;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.service__large-name {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  line-height: 1.4;
}

.service__large-desc {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--text-dark);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* --- キャラクター装飾 --- */
.service__chara {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.service__chara--item1,
.service__chara--item3 {
  width: clamp(50px, 6vw, 85px);
  bottom: -20px;
  right: -20px;
}

.service__chara--item2 {
  width: clamp(50px, 6vw, 85px);
  bottom: -20px;
  left: -20px;
}

/* --- セクション全体のデコ図形 --- */
.service__deco {
  position: absolute;
  pointer-events: none;
}

.service__deco--shapes {
  width: clamp(80px, 10vw, 140px);
  bottom: 4%;
  left: 2%;
}

/* ===== 小型アイテム（4〜7） ===== */
.service__small-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  margin-bottom: 80px;
}

.service__small-item {
  background-color: #fff;
  border-radius: 20px;
  padding: clamp(20px, 14vw, 40px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.service__small-num {
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  color: #86cec8;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.service__small-name {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.service__small-desc {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--text-dark);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* --- フッターリンク --- */
.service__footer {
  text-align: center;
}

.service__schedule-link {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--text-salmon);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--salmon);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.service__schedule-link:hover {
  opacity: 0.7;
}

/* ===== SERVICE RESPONSIVE (SP) ===== */
@media (max-width: 650px) {
  .service {
    padding: 60px 0;
  }

  .service__header {
    margin-bottom: 50px;
  }

  .service__large-item--right,
  .service__large-item--left {
    flex-direction: column;
    gap: 24px;
  }

  .service__large-item--left .service__large-img {
    order: 2;
  }

  .service__large-item--left .service__large-text {
    order: 1;
  }

  .service__large-num {
    text-align: center;
  }

  .service__large-name {
    text-align: center;
  }

  .service__large-desc {
    text-align: left;
  }

  .service__small-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service__small-num,
  .service__small-name {
    text-align: center;
  }

  .service__small-desc {
    text-align: left;
  }

  .service__chara--item1,
  .service__chara--item3 {
    width: 50px;
    bottom: -15px;
    right: -10px;
  }

  .service__chara--item2 {
    width: 50px;
    bottom: -15px;
    left: -10px;
  }

  .service__deco--shapes {
    width: 70px;
    bottom: 3%;
    left: 0;
  }
}

@media (max-width: 375px) {
  .service__large-desc,
  .service__small-desc {
    font-size: 13px;
  }
}

.service__small-item {
  position: relative; /* 既存に追記 */
  overflow: visible; /* 既存に追記 */
}

.service__chara--item7 {
  width: clamp(50px, 6vw, 85px);
  bottom: -80px;
  right: -20px;
}

@media (max-width: 650px) {
  .service__chara--item7 {
    width: 50px;
    bottom: -15px;
    right: -10px;
  }
}

/* ===== VOICE SECTION ===== */
.voice {
  background-color: var(--yellow);
  position: relative;
}

/* --- 上部曲線 --- */
.voice__back {
  width: 100%;
  line-height: 0;
  margin-bottom: -1px;
}

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

@media (min-width: 1440px) {
  .voice__back {
    justify-content: stretch;
  }

  .voice__back img {
    width: 100%;
    max-width: none;
    height: 204px; /* 1440px時の高さで固定 */
    object-fit: cover;
    object-position: center top;
  }
}

/* --- インナー --- */
.voice__inner {
  width: 69.44%;
  margin: 0 auto;
  padding: 0 0 80px;
}

@media (min-width: 1440px) {
  .voice__inner {
    width: 1200px;
  }
}

/* --- タイトル --- */
.voice__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 48px;
}

/* --- スライダーラッパー --- */
.voice__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* --- 矢印ボタン --- */
.voice__arrow {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.voice__arrow:hover {
  background-color: #f0f0f0;
}

/* --- スライダー本体 --- */
.voice__slider {
  flex: 1;
  overflow: hidden;
}

.voice__slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.voice__card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

@media (max-width: 1439px) {
  .voice__card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 700px) {
  .voice__slider-track {
    gap: 0;
  }
  .voice__card {
    flex: 0 0 100%;
  }
}

@media (max-width: 400px) {
  .voice__slider-wrap {
    position: relative;
  }

  .voice__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .voice__arrow--prev {
    left: 0;
  }

  .voice__arrow--next {
    right: 0;
  }

  .voice__slider {
    width: 80vw;
    margin: 0 auto;
    flex: none; /* ← flex:1を上書き */
  }

  .voice__card {
    flex: 0 0 80vw;
  }
}

.voice__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice__avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.voice__name {
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.voice__card-title {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.voice__card-text {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text-dark);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.voice__card-em {
  color: var(--salmon);
  font-weight: 700;
}

/* --- YouTube動画 --- */
.voice__movie {
  margin-bottom: 40px;
}

.voice__movie-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 660px;
  margin: 0 auto;
  background: #ccc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

/* --- もっと見る --- */
.voice__more {
  text-align: center;
  padding-top: 50px;
}

.voice__more-link {
  font-size: clamp(14px, 1.6vw, 20px);
  color: var(--salmon);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--salmon);
  display: inline-block;
}

/* ===== VOICE SECTION - SP ===== */
@media (max-width: 700px) {
  .voice__inner {
    width: 100%;
    padding: 32px 24px 60px;
  }

  .voice__slider-wrap {
    gap: 8px;
  }

  /* SP: 1枚ずつ表示 */
  .voice__slider {
    overflow: hidden;
    gap: 0;
  }
}

.voice__movie {
  position: relative;
  width: 70%;
  aspect-ratio: 16 / 9;
  margin: 0 auto; /* 中央揃え */
}

.voice__movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 700px) {
  .voice__movie {
    width: 100%;
  }
}

/* ===== TEACHER SECTION ===== */
.teacher {
  background-color: var(--cream);
  padding: 30px 20px;
}

.teacher__inner {
  max-width: 1000px;
  width: 69.44%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  background-color: #fff;
  border-radius: 24px;
  padding: 48px;
}

@media (min-width: 1440px) {
  .teacher__inner {
    width: 1000px;
  }
}

/* --- 画像 --- */
.teacher__img-wrap {
  flex-shrink: 0;
}

.teacher__img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* --- 本文 --- */
.teacher__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- ラベル --- */
.teacher__label {
  font-size: clamp(28px, 2vw, 36px);
  color: var(--salmon);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* --- 名前 --- */
.teacher__name {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}

.teacher__title {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: var(--text-dark);
}

/* --- 年表リスト --- */
.teacher__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.teacher__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.teacher__year {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.teacher__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
}

.teacher__items li {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* --- フッター --- */
.teacher__footer {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 8px;
}

.teacher__blog {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--salmon);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--salmon);
  white-space: nowrap;
}

.teacher__sns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.teacher__sns-link {
  display: flex;
  align-items: center;
}

.teacher__sns-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.teacher__sns-icon--yt {
  width: auto;
  height: 28px;
}

@media (max-width: 1200px) and (min-width: 920px) {
  .teacher__inner {
    gap: 32px;
  }

  .teacher__img-wrap {
    width: 30%;
    flex-shrink: 0;
  }

  .teacher__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .teacher__body {
    min-width: 0; /* はみ出し防止 */
  }

  .teacher__items li {
    word-break: break-all;
  }
}

/* ===== TEACHER SECTION - SP ===== */
@media (max-width: 920px) {
  .teacher {
    padding: 32px 7.5vw 60px;
  }

  .teacher__inner {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    gap: 24px;
    text-align: center;
  }

  .teacher__img {
    width: 200px;
    height: 200px;
  }

  .teacher__body {
    align-items: center;
  }

  .teacher__list {
    /* 子要素を左側に寄せる */
    align-items: flex-start;
    /* テキストそのものも左揃えにする */
    text-align: left;
  }

  .teacher__items {
    text-align: left;
  }

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

/* ===== PLAN SECTION ===== */
.plan {
  background-color: var(--cream);
  padding: 80px 0;
}

.plan__inner {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.plan__header {
  text-align: center;
  margin-bottom: 60px;
}

.plan__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
}

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

.plan__dots::before {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  background-image: radial-gradient(circle, var(--salmon) 2px, transparent 2px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

/* --- レイアウト構造 --- */
.plan__wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
}

/* --- カードデザイン --- */
.plan__card {
  flex: 1;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.plan__card-header {
  padding: 30px 20px;
  text-align: center;
  color: #fff;
}

/* 各コースの色分け */
.plan__card-header--basic {
  background-color: #f8b4a2;
}
.plan__card-header--master {
  background-color: #f4977f;
}
.plan__card-header--individual {
  background-color: #f4977f;
}

.plan__course-name {
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.plan__limit {
  font-size: 16px;
  display: inline-block;
  margin-left: 4px;
}

.plan__course-desc {
  font-size: 14px;
  font-weight: 500;
}

.plan__body {
  padding: 10px 30px 40px;
  flex-grow: 1;
}

.plan__price {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 44px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.plan__price span {
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

/* --- 特典リスト --- */
.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.plan__features li {
  font-size: 16px;
  padding: 6px 0 6px 35px;
  border-bottom: 1px solid #f2f2f2;
  position: relative;
  line-height: 1.4;
}

.plan__features li:last-child {
  border-bottom: none;
}

/* 有効・無効の切り替え */
.plan__features li.is-active {
  color: var(--text-dark);
}

.plan__features li.is-inactive {
  color: #d1d1d1;
}

/* チェックアイコン */
.plan__features li.is-active::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23333' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===== PLAN RESPONSIVE (SP) ===== */
@media screen and (max-width: 1255px) {
  .plan {
    padding: 60px 7.5vw; /* 指示通りの可変パディング */
  }

  .plan__inner {
    width: 100%;
  }

  .plan__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .plan__card {
    width: 100%;
    max-width: 450px;
  }

  .plan__price {
    font-size: 38px;
  }
}

@media screen and (max-width: 375px) {
  .plan__body {
    padding: 30px 20px;
  }

  .plan__features li {
    font-size: 14px;
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--cream);
  padding: 80px 0 40px;
}

.faq__inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 30px;
}

.faq__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
}

.faq__lead {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}

/* --- リスト部分 --- */
.faq__list {
  background-color: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq__item {
  border-bottom: 1px solid #f7e8aa; /* 薄い黄色で区切り */
}

.faq__item:last-child {
  border-bottom: none;
}

/* --- 質問ボタン --- */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq__icon {
  width: 40px;
  height: 40px;
  background-color: #f7e8aa;
  border-radius: 50%;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 550;
  flex-shrink: 0;
  margin-right: 20px;
  font-size: 18px;
}

.faq__icon--a {
  background-color: var(--salmon);
  color: #fff;
}

.faq__question-text {
  flex-grow: 1;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-right: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* --- 矢印の回転 --- */
.faq__arrow {
  width: 30px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23333' d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* 開いている時の矢印（上下反転） */
.faq__item.is-open .faq__arrow {
  transform: rotate(180deg);
}

/* --- 回答エリア（初期状態は隠す） --- */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr; /* 高さを0にする */
  transition: grid-template-rows 0.3s ease, visibility 0.3s;
  visibility: hidden; /* 隠れている時は要素を無効化 */
  overflow: hidden;
}

/* 開いている時（is-openクラスがついた時） */
.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr; /* 中身の高さ分だけ広がる */
  visibility: visible;
  padding-bottom: 24px; /* 開いた時だけ下部に余白を作る */
}

.faq__answer-inner {
  min-height: 0;
  display: flex;
  align-items: flex-start;
}

/* Q&Aのアイコンなどの微調整 */
.faq__item {
  border-bottom: 1px solid #f7e8aa;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
}

.faq__answer-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.faq__dots {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.faq__dots::before {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  background-image: radial-gradient(circle, var(--salmon) 2px, transparent 2px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

/* ===== FAQ RESPONSIVE (SP) ===== */
@media screen and (max-width: 920px) {
  .faq {
    padding: 60px 7.5vw;
  }

  .faq__inner {
    width: 100%;
  }

  .faq__list {
    padding: 24px 20px;
  }

  .faq__icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    font-size: 14px;
  }

  .faq__question-text {
    font-size: 15px;
  }

  .faq__answer-text {
    font-size: 14px;
  }
}

/* サブセクションの見出し（サポート体制・お支払い）の上の余白 */
.faq__header--sub {
  margin-top: 64px;
}

/* SPでの余白調整 */
@media screen and (max-width: 920px) {
  .faq__header--sub {
    margin-top: 48px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--cream);
  padding: 80px 0 60px;
}

.contact__inner {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  margin-bottom: 50px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.contact__link {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 4px;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.contact__link:hover {
  opacity: 0.7;
}

.contact__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2em;
  margin-bottom: 5px; /* 既存の50pxから変更 */
}

/* 追記 */
.contact__dots {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.contact__dots::before {
  content: "";
  display: block;
  width: 180px;
  height: 6px;
  background-image: radial-gradient(circle, var(--salmon) 2px, transparent 2px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--cream);
  padding: 40px 0 30px;
}

.footer__inner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

/* --- ロゴエリア --- */
.footer__logo {
  display: flex;
  flex-direction: column;
}

.footer__logo img {
  width: clamp(100px, 14vw, 180px);
  height: auto;
  margin-bottom: 8px;
}

.footer__logo-text {
  font-size: clamp(11px, 1vw, 13px);
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.footer__logo-name {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.15em;
}

/* --- 右エリア --- */
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__blog-link {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--text-salmon);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--salmon);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.footer__blog-link:hover {
  opacity: 0.7;
}

.footer__sns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__sns-link img {
  height: clamp(28px, 3vw, 40px);
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.footer__sns-link:hover img {
  opacity: 0.7;
}

.footer__copy {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* ===== FOOTER RESPONSIVE (SP) ===== */
@media (max-width: 600px) {
  .contact {
    padding: 60px 0 40px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer__right {
    align-items: flex-start;
    width: 100%;
  }

  .footer__copy {
    align-self: flex-end;
  }
}
