/* ===== hero/style.css ===== */
/* =========================
   RESET / BASIC
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: #0f172a;
}

/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 112px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* ベースは少し淡い青 */
  background-color: #e3edff;
  /* 写真もそのまま残す */
  background-image: url("../picture/web2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* うっすら白＋右側だけ青を強めるオーバーレイ */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* 右側に青グラデを足す */
    radial-gradient(
      circle at 115% 40%,
      #379FFD,
      #379FFD 20%,
      transparent 70%
    ),
    /* 全体の白グラデ。左は白多め／右は透明寄り */
    linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.93) 30%,
      rgba(255, 255, 255, 0.88) 50%,
      rgba(239, 246, 255, 0.6) 70%,
      rgba(239, 246, 255, 0.15) 100%
    );
}



/* 中身本体 */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* =========================
   左：テキスト
   ========================= */

.hero__copy {
  position: relative;
  flex: 1 1 58%;
  color: #0f172a;
  text-align: left;
}

/* 左側の縦ライン（明るめブルー） */
.hero__copy::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 3px;
  height: 74%;
  background: linear-gradient(180deg, #4f8dfd, #22c1c3);
  opacity: 0.9;
}

/* ▼▼▼ 表示アニメーションの初期状態 ▼▼▼ */
.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__highlights,
.hero__cta,
.hero__meta {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 順番にふわっと出す（delay で制御） */
.hero--loaded .hero__eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero--loaded .hero__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero--loaded .hero__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero--loaded .hero__highlights {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.hero--loaded .hero__cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.hero--loaded .hero__meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}
/* ▲▲▲ 表示アニメーションここまで ▲▲▲ */

/* 「MakeRepeaterを使いこなせてますか？」ラベル：四角＋装飾 */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 18px;
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(229, 239, 255, 0.98)
  );
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1d4ed8;
}

/* ラベル左のカラーライン */
.hero__eyebrow::before {
  content: "";
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, #1d4ed8, #06b6d4);
}

/* タイトル */
.hero__title {
  margin: 0 0 24px;
  font-size: clamp(34px, 4.8vw, 46px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
}

/* サブコピー */
.hero__subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.9;
  color: #1f2937;
}

/* 箇条書き（ドット付き） */
.hero__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #111827;
}

.hero__highlights li {
  position: relative;
  padding-left: 22px;
}

.hero__highlights li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.9em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c1c3, #fdbb2d);
  transform: translateY(-50%);
}

/* =========================
   CTA
   ========================= */

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
  margin-bottom: 26px;
}

/* 共通ボタン（四角） */
.button {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 0;   /* 角丸なしでSaaS寄り */
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
  border-radius: 50px;
}

.button,
.button span {
  position: relative;
  z-index: 1;
}

/* 左→右に流れるオーバーレイ */
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 0;
}

/* 左：メインCTA（暗めブルーのグラデ） */
.btn--primary {
  color: #f9fafb;
  background-image: linear-gradient(135deg, #111827, #1d4ed8);
  background-size: 200% 200%;
  border-color: #0f172a;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(30, 64, 175, 0.5);
  min-width: 230px;
  min-height: 50px;
}

.btn--primary::before {
  background: linear-gradient(135deg, #ffffff, #e5edf9);
}

/* 右：セカンダリ（白ベース） */
.btn--ghost {
  color: #1f2937;
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(226, 232, 240, 0.9);
  min-height: 50px;
  padding-inline: 24px;
}

.btn--ghost::before {
  background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
}

/* hover共通：ふわっと持ち上げ＋オーバーレイ */
.button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.38),
    0 0 0 1px rgba(148, 163, 184, 0.55);
}

.button:hover::before {
  transform: translateX(0);
}

/* 文字色の反転を強制（他のCSSに負けないように） */
.btn--primary:hover {
  color: #1e3a8a !important;   /* 青ボタン → 白っぽい背景＋濃い青文字 */
}

.btn--ghost:hover {
  color: #ffffff !important;   /* 白ボタン → 青グラデ＋白文字 */
}

/* 補足テキスト */
.hero__meta {
  font-size: 12px;
  color: #4b5563;
}

/* =========================
   右：ビジュアル
   ========================= */

.hero__visual {
  flex: 1 1 48%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  perspective: 1600px;

  /* 画像側も最初は少し下＋透明にしておく */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* hero--loaded 時に少し遅れて出す */
.hero--loaded .hero__visual {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.1s; /* テキスト全部出たあとくらいのタイミング */
}

/* 右側に淡い光（背景色と馴染ませる） */
.hero__visual-glow {
  position: absolute;
  inset: 18% -8%;
  background:
    radial-gradient(circle at 40% 0%, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(circle at 100% 60%, rgba(96, 165, 250, 0.9), transparent 55%);
  filter: blur(18px);
  opacity: 0.7;
  z-index: 0;
}

/* 画像カード：四角く、少し立体感 */
.hero__visual-card {
  position: relative;
  max-width: 780px;
  width: 100%;
  /*padding: 14px 16px 12px;*/
  border-radius: 0;
  /*background: #ffffff;*/
  /*
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(148, 163, 184, 0.45);
  */
  transform:
    translate3d(0, 0, 0)
    rotateX(6deg)
    rotateY(-8deg);
  transform-origin: center;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease-out;
  z-index: 1;

  /* ▼（ゆらゆらアニメーション） */
  animation: heroFloat 8s ease-in-out infinite;

}

.hero__visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  /*border: 1px solid rgba(148, 163, 184, 0.4);*/
  pointer-events: none;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* 実績バッジ：四角・やや大きめ */
.hero__badge {
  position: absolute;
  right: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 16px;
  border-radius: 6px;
  border: 2px solid #fff;
  background: #1364ab;
  color: #f9fafb;
  font-size: 12px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  z-index: 2;
  border-radius: 8px;
}

.hero__badge--top {
  top: 10%;
  transform: translateX(30%);
}

.hero__badge--bottom {
  bottom: 6%;
  transform: translateX(8%);
}

.hero__badge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  /*color: #9ca3af;*/
}

.hero__badge-value {
  font-size: 16px;
  font-weight: 500;
}

.hero__badge-note {
  font-weight: 400;
  font-size: 11px;
 /*color: #9ca3af;*/
}

/* =========================
   スクロール誘導
   ========================= */

.hero-scroll {
  position: absolute;
  left: 50%;   /* 左下寄せ */
  bottom: 50px;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: #4b5563;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-scroll__line {
  width: 3px;
  height: 100px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.4), #111827);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.hero-scroll__line::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(-100%);
  background: linear-gradient(to bottom, transparent, #0051ff, transparent);
  animation: scrollLine 4.0s ease-in-out infinite;
}


html {
  scroll-behavior: smooth;
}




/* =========================
   スクロール線のアニメーション
   ========================= */

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes heroFloat {
  0% {
    transform:
      translate3d(0, 0, 0)
      rotateX(8deg)
      rotateY(-10deg);
  }
  25% {
    transform:
      translate3d(6px, -18px, 0)
      rotateX(4deg)
      rotateY(-6deg);
  }
  50% {
    transform:
      translate3d(0, -28px, 0)
      rotateX(0deg)
      rotateY(-2deg);
  }
  75% {
    transform:
      translate3d(-6px, -18px, 0)
      rotateX(4deg)
      rotateY(-6deg);
  }
  100% {
    transform:
      translate3d(0, 0, 0)
      rotateX(8deg)
      rotateY(-10deg);
  }
}



/* =========================
   レスポンシブ
   ========================= */

@media (max-width: 960px) {
  .hero {
    padding: 96px 18px 72px;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  /* テキストの親枠を無効化して中身を並べ替え可能にする */
  .hero__copy {
    display: contents;
  }

  .hero__copy::before {
    display: none;
  }

  /* --- 順番の指定 --- */

  /* ① タイトル・ラベル・説明文 */
  .hero__eyebrow,
  .hero__title,
  .hero__subtitle {
    order: 1;
  }

  /* ② 画像（ここに挟む） */
  .hero__visual {
    order: 2;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 32px; /* ボタンとの間隔 */
  }

  /* ③ 項目リスト（消す） */
  .hero__highlights {
    display: none; /* ★ここを非表示に変更しました */
  }

  /* ④ CTAボタン */
  .hero__cta {
    order: 4;
    justify-content: center;
  }

  /* ⑤ 補足テキスト */
  .hero__meta {
    order: 5;
  }

  /* --- ここまで順番の指定 --- */

  /* その他の調整 */
  .hero__badge--top,
  .hero__badge--bottom {
    right: 8%;
    transform: translateX(0);
  }

  .hero-scroll {
    left: 20px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 88px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__highlights {
    font-size: 13px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .hero__badge {
    font-size: 11px;
    padding: 9px 12px;
  }
}

section header{
  background: none;
  border: none;
}


/* ===== assignment/style.css ===== */
/* =========================
   assignment section (カード間隔修正版)
   ========================= */

.assignment {
  padding: 96px 20px 112px;
  background-color: #ffffff;
  overflow: hidden;
}







/* =============================================
   上段：課題カード（間隔修正）
   ============================================= */

.assignment__cards {
  display: grid;
  
  /* ▼修正点1：1fr(均等割)をやめて、最大340pxのカードを3つ並べる設定に変更 */
  /* これにより無駄な余白が発生せず、中央にギュッと寄ります */
  grid-template-columns: repeat(3, minmax(0, 340px));
  
  /* ▼修正点2：隙間を32pxから20pxに狭める */
  gap: 20px;
  
  /* 全体を中央寄せ */
  justify-content: center;
}

.assignment-card {
  width: 100%;
  /* max-widthは親のグリッド設定で制御するため不要ですが念のため維持 */
  max-width: 340px;
  margin: 0 auto;
  
  padding: 32px 24px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(229, 231, 235, 0.9);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
  height: 100%;
}

.assignment-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 52px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(209, 213, 219, 0.9);
}

/* カード内パーツ */
.assignment-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.assignment-card__num {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #60a5fa;
}

.assignment-card__icon svg {
  width: 56px;
  height: 56px;
  color: #1f2937;
}

.assignment-card__icon img {
  max-width: 30%;
  aspect-ratio: 1 / 1;
  color: #1f2937;
}

.assignment-card__body {
  text-align: center;
}

.assignment-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: #111827;
}

.assignment-card__divider {
  width: 100%;
  height: 1px;
  margin: 12px 0 16px;
  background-color: #1d4ed8;
  opacity: 1;
}

.assignment-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
}

.assignment-voices {
  margin-top: 60px;
  padding: 20px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: #f3f4f6;
  text-align: center;
}

.assignment-voices__heading {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 500;
  color: #1d4ed8;
  letter-spacing: 0.08em;
  display: inline-block;
  position: relative;
}

.assignment-voices__heading::before,
.assignment-voices__heading::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #1d4ed8;
  vertical-align: middle;
  margin: 0 16px;
}

.assignment-voices__track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding-left: 0;
  animation: marquee 120s linear infinite;
}

/* hoverで停止させたい場合はコメントアウトを解除 */
/*
.assignment-voices__track:hover {
  animation-play-state: paused;
}
*/

.assignment-voice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 20px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

.assignment-voice__icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
  background-color: #9ca3af;
  border-radius: 4px;
  padding: 4px;
  flex-shrink: 0;
}

.assignment-voice__text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.contents-header {
  text-align: center;
  margin-bottom: 56px;
}

.contents-header-micro {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  color: #2563eb;
}

.contents-header-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #111827;
  font-weight: 500;
}

.contents-header-line {
  width: 80px;
  height: 2px;
  margin: 24px auto 20px;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 50%, #1d4ed8 100%);
  border-radius: 999px;
}

.contents-header-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
}

/* =============================================
   スクロール出現アニメーション (JS連動)
   ============================================= */

/* 初期状態：透明にして少し下に配置 */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform; /* パフォーマンス最適化 */
}

/* 表示状態（JSで付与）：不透明にして元の位置に戻す */
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   レスポンシブ
   ============================================= */

@media (max-width: 960px) {
  .assignment {
    padding: 72px 16px 96px;
  }
  
  .assignment__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .assignment-voices__heading {
    font-size: 16px;
  }
  .assignment-voice__text {
    font-size: 12px;
  }
}

/* ===== worries/style.css ===== */
/* =========================
   worries section
   ========================= */

.worries {
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 45%, #1d4ed8 100%);
  color: #ffffff;
  padding: 40px 16px 44px;
}

.worries__inner {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.worries__text {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  line-height: 1.8;
}

/* 左右の「＼」「／」 */
.worries__slash {
  font-size: 26px;
  line-height: 1;
}

/* ベースの文言（前後） */
.worries__pre,
.worries__post {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* 真ん中の大きなフレーズ */
.worries__highlight {
  position: relative;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0 4px 1px;
  background: linear-gradient(
    to bottom,
    transparent 90%,
    rgba(253, 222, 45, 0.9) 10%
  );
  border-radius: 1px;
}

/* pre + highlight + post を横並びに */
.worries__main {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

/* =========================
   スマホ調整
   ========================= */
@media (max-width: 768px) {
  .worries {
    padding: 28px 10px 32px;
  }

  .worries__text {
    flex-direction: column;
    gap: 6px;
    line-height: 1.6;
  }

  .worries__main {
    flex-direction: column;
    align-items: center;
    white-space: normal; /* 折り返しOKにする */
    line-height: 1.6;
  }

  .worries__slash {
    font-size: 18px;
  }

  .worries__pre,
  .worries__post {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .worries__highlight {
    font-size: 18px;
    letter-spacing: 0.08em;
    text-align: center;
    display: inline-block;
    padding: 0 2px 1px;
  }
}


/* ===== merit/style.css ===== */
/* =========================
   merit section
   ========================= */

.merit {
  background: #f9fafb;
  padding: 96px 16px 96px; /* 上下ゆったりめ */
}

.merit__inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* カード群 */

.merit-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

/* カード */

.merit-card {
  position: relative;
  padding: 28px 24px 24px;
  background: #ffffff;
  border-radius: 10px; /* ← 角を少しだけ丸めた四角 */
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-align: center;  /* 文字・アイコン中央揃え */
  transition:
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out,
    background-color 0.25s ease-out;
}

.merit-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background-color: #f9fbff;
}

/* 番号 */

.merit-card__number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(59, 130, 246, 0.3);
}

/* アイコン */

.merit-card__icon {
  margin-top: 32px;
  margin-bottom: 18px;
  color: #2563eb;
}

.merit-card__icon svg {
  width: 120px; 
  height: 120px;
  max-width: 100%;       /* スマホでハミ出さないよう保険 */
  display: inline-block;
}

.merit-card__icon img {
    max-width: 40%;
    aspect-ratio: 1 / 1;
}

/* タイトル・本文 */

.merit-card__title {
  margin: 0 0 10px;
  font-size: 16px;   /* ← 指定どおり 16px */
  font-weight: 500;
  color: #111827;
  line-height: 1.6;
}

.merit-card__text {
  margin: 0;
  font-size: 14px;   /* ← 指定どおり 14px */
  line-height: 1.9;
  color: #4b5563;
}

/* スクロール演出：js-reveal */

.merit-card.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.merit-card.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ */

@media (max-width: 1200px) {
  .merit-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .merit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .merit {
    padding: 72px 16px 80px;
  }

  .merit-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .merit-card {
    padding: 24px 20px 20px;
  }
}


/* 480px以下：悩みセクションをさらにコンパクトにする */
@media (max-width: 480px) {
  .worries {
    padding: 24px 8px 28px;
  }

  .worries__text {
    gap: 4px;
  }

  .worries__slash {
    font-size: 16px;
  }

  .worries__pre,
  .worries__post {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .worries__highlight {
    font-size: 14px;          /* ★ハイライトだけ小さめ */
    letter-spacing: 0.04em;   /* ちょっと詰める */
    display: inline-block;
    white-space: nowrap;      /* ★1行に収める */
    padding: 0 2px 1px;
  }
}


/* ===== detail/style.css ===== */
/* =========================
   detail section
   ========================= */

.detail {
  background: #ffffff;
  padding: 96px 16px 120px;
}

.detail__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* コンテンツ行 */

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* 1行ごとのブロック */

.detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 2px solid #6c9dff;
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* 2行目だけ左右反転 */

.detail-item--reverse {
  flex-direction: row-reverse;
}

/* 画像側 */

.detail-item__image {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.detail-item__image img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト側 */

.detail-item__content {
  flex: 1;
  text-align: left;
}

.detail-item__number {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2563eb;
  margin-bottom: 8px;
}

.detail-item__lead {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 500;
  color: #111827;
  line-height: 1.6;
}

.detail-item__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
}

/* スクロール演出（他セクションと同じ js-reveal パターン） */

.detail-item.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.detail-item.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ */

@media (max-width: 1024px) {
  .detail-item {
    gap: 48px;
  }

  .detail-item__image {
    flex-basis: 260px;
  }

  .detail-item__image img {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .detail {
    padding: 80px 16px 96px;
  }

  .detail-list {
    gap: 56px;
  }

  .detail-item,
  .detail-item--reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-item__image {
    flex-basis: auto;
    justify-content: center; /* flex-start から center に変更 */
    width: 100%; /* 親が flex-start なので、幅を100%にして中央寄せエリアを確保 */
  }

  .detail-item__number {
    font-size: 24px;
  }

  .detail-item__lead {
    font-size: 16px;
  }

  .detail-header__text {
    font-size: 12px;
  }
}

/* 既出の u-hide-sm がなければ */


/* ===== flow/style.css ===== */
/* =========================
   FLOW SECTION
   ========================= */

.flow {
  background: #f9fafb;
  padding: 96px 16px 110px;
}

.flow__inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* ヘッダー（他セクションとトーンを合わせる） */

.flow-header {
  text-align: center;
  margin-bottom: 56px;
}

.flow-header__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  
}

.flow-header__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #111827;
  font-weight: 500;
}

.flow-header__line {
  width: 96px;
  height: 2px;
  margin: 24px auto 18px;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 50%, #1d4ed8 100%);
  border-radius: 999px;
}

.flow-header__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
}

/* プラン切り替え */

.flow-toggle {
  text-align: center;
  margin-bottom: 40px;
}

.flow-toggle__buttons {
  display: inline-flex;
  gap: 12px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.flow-toggle__btn {
  min-width: 170px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #2563eb;
  cursor: pointer;
  transition:
    background-color 0.2s ease-out,
    color 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out;
}

.flow-toggle__btn.is-active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 40%, #0f766e 100%);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.flow-toggle__btn:not(.is-active):hover {
  background-color: rgba(239, 246, 255, 0.9);
  border-color: #bfdbfe;
}

.flow-toggle__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #4b5563;
}

/* カード群 */

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

/* カード */

.flow-card {
  position: relative;
  padding: 24px 20px 22px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out,
    transform 0.25s ease-out,
    background-color 0.25s ease-out;
}

.flow-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background-color: #f9fbff;
  transform: translateY(-4px);
}

.flow-card.is-hidden {
  display: none;
}

/* STEPラベル */

.flow-card__step {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(37, 99, 235, 0.7);
}

/* アイコン */

.flow-card__icon {
  margin-top: 22px;
  margin-bottom: 14px;
}

.flow-card__icon img {
  width: 72px;
  height: auto;
  display: block;
}

/* タイトル＆本文 */

.flow-card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  color: #111827;
}

.flow-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
  text-align: left;
}

/* スクロール演出（js-reveal 共通を使っていれば不要だが、念のため） */

.flow-header.js-reveal,
.flow-toggle.js-reveal,
.flow-list.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.flow-header.js-reveal.is-visible,
.flow-toggle.js-reveal.is-visible,
.flow-list.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* スポットプラン時だけ3枚を中央寄せ */
.flow-list--spot {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;   /* 全体幅を少し狭めて中央寄せ */
  margin-left: auto;
  margin-right: auto;
}

/* 通常／スポット本文の切り替え */

.flow-card__body--spot {
  display: none;
}

.flow-card.is-spot-mode .flow-card__body--normal {
  display: none;
}

.flow-card.is-spot-mode .flow-card__body--spot {
  display: block;
}



/* レスポンシブ */

@media (max-width: 1200px) {
  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-card__text {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .flow {
    padding: 80px 16px 90px;
  }

  .flow-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-toggle__buttons {
    flex-direction: column;
  }

  .flow-toggle__btn {
    width: 100%;
  }
}


/* ===== Fee/style.css ===== */
:root {
    --primary-blue: #4CABFF; /* Header pill color */
    --accent-blue: #2B85F8;  /* Text accent color */
    --badge-red: #FF5E5E;    /* "Most Popular" badge */
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 100px;
}

/* Utility */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Shared Section Header Styles --- */
.common-section {
    padding: 80px 0 60px;
    text-align: center;
}

.section-subtitle {
    color: var(--accent-blue);
    font-size: 14px; /* px指定 */
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    display: block;
}

.section-title {
    font-size: 32px; /* px指定 */
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.section-separator {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2B85F8 0%, #8bc4ff 100%);
    margin: 0 auto 30px auto;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 16px; /* px指定 */
    color: #555;
    line-height: 1.8;
    text-align: center;
}


/* --- Cards Grid --- */
.cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Card */
.plan-card {
    background: white;
    border-radius: 12px;
    width: 320px;
    padding: 40px 25px 25px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible; /* バッジ表示用 */
    text-align: center;
}

.plan-card h3, .plan-card p, .plan-card div {
    text-align: center;
}
.plan-card .features-list {
    text-align: left;
}
.plan-card .contract-note {
    text-align: right;
}

/* Center Card Special Styling */
.plan-card.highlight {
    border: 2px solid var(--primary-blue);
    z-index: 2;
}

.plan-card:not(.highlight) {
    border: 1px solid #eee;
}

/* Badge for Center Card */
.popular-badge {
    background-color: var(--badge-red);
    color: white;
    font-weight: bold;
    font-size: 14px; /* px指定 */
    padding: 5px 20px;
    border-radius: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Card Content Typography */
.card-category {
    font-size: 13px; /* px指定 */
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 10px;
}

.card-title {
    font-size: 22px; /* px指定 */
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.card-desc {
    font-size: 14px; /* px指定 */
    color: var(--text-gray);
    margin-bottom: 25px;
    min-height: 3em;
}

.price-area {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
}

.price-currency {
    font-size: 24px; /* px指定 */
    margin-right: 2px;
}

.price-amount {
    font-size: 36px; /* px指定 */
    line-height: 1;
}

.price-note {
    font-size: 13px; /* px指定 */
    color: var(--text-dark);
    margin-left: 5px;
    font-weight: normal;
}

.price-subtext {
    display: block;
    width: 100%;
    font-size: 14px; /* px指定 */
    color: var(--text-dark);
    margin-top: 5px;
}

/* Features List */
.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.features-list li {
    font-size: 14px; /* px指定 */
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: "✓";
    color: var(--badge-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contract-note {
    font-size: 12px; /* px指定 */
    color: #999;
    text-align: right;
    margin-bottom: 10px;
}

/* --- Action Area --- */
.card-action-area {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    text-align: center;
    margin-top: 0;
}

.apply-btn {
    background-color: #4678ed;
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px; /* px指定 */
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
    display: inline-block;
    transition: background-color 0.3s ease;
    border-radius: 50px;
}

.apply-btn:hover {
    background-color: #23428c;
}

/* Hover Trigger */
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.plan-card:hover .card-action-area {
    max-height: 80px;
    opacity: 1;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .common-section {
        padding: 60px 0 40px;
    }

    .section-title {
        font-size: 24px; /* px指定 */
    }

    .section-description {
        font-size: 14px; /* px指定 */
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .plan-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 10px;
    }
}

/* ===== end/style.css ===== */
/* ベーススタイル */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* endセクションのスタイル */
.end-section {
    width: 100%;
    /* 指定の画像に合わせた左から右へのグラデーション */
    background: linear-gradient(90deg, #38bdf8 0%, #2563eb 45%, #1d4ed8 100%);
    color: #ffffff;
    padding: 80px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* フェードインアニメーションの初期状態 */
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* JSで付与される表示用クラス */
.end-section.visible {
    opacity: 1;
}

/* コンテンツ幅の管理 */
.end-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

/* サブタイトル */
.end-sub-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px 0;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* メインタイトル */
.end-main-title {
    font-size: 36px;
    font-weight: 500;
    margin: 0 0 30px 0;
    line-height: 1.4;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 説明文 */
.end-description {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 900px;
}

/* スマホ用の改行制御 */
.sp-only {
    display: none;
}

/* レスポンシブ対応（スマホ画面） */
@media (max-width: 768px) {
  .end-section {
    padding: 80px 20px; /* 上下の余白を少し増やしてゆとりを持たせる */
    text-align: center; /* 基本は中央揃え */
  }

  /* もし .end-section の直下にコンテンツを囲む .end-inner のようなdivがある場合 */
  .end-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px; /* 各要素の間隔を均一に空ける */
  }
  
  .end-main-title {
    font-size: 26px; /* 24pxだと少し弱いので、少し大きく */
    line-height: 1.4;
    margin-bottom: 8px; /* サブタイトルとの距離 */
    width: 100%;
  }

  .end-sub-title {
    font-size: 14px;
    color: #ffffff; /* 少し色を落としてメリハリ（必要であれば） */
    margin-bottom: 16px;
    display: block;
  }

  .end-description {
    font-size: 14px; /* 13pxは少し小さいので14px推奨 */
    line-height: 1.8; /* 行間を広げて読みやすく */
    text-align: justify; /* 長文なら左寄せor両端揃えが見やすい */
    text-align-last: center; /* 最後の行だけ中央にするとバランスが良い */
    margin-bottom: 24px;
    opacity: 0.9;
  }

  /* --- ボタン（CTA）がある場合の追加調整 --- */
  /* ボタン周りのクラス名が不明なため、.btn または .end-btn と想定しています */
  .end-section .button {
    width: 100%; /* スマホでは幅いっぱいに */
    max-width: 320px; /* ただし広がりすぎないように制限 */
    justify-content: center;
    margin: 0 auto; /* 中央配置 */
  }

  /* スマホ専用の改行クラス */
  .sp-only {
    display: block;
  }
  
  /* PC専用の改行クラスがあれば消す */
  .pc-only {
    display: none;
  }
}

/* ===== comparison/style.css ===== */
/* =========================
   Base Styles
   ========================= */
:root {
    --primary-blue: #4CABFF;
    --accent-blue: #2B85F8;
    --dark-blue: #1d4ed8;
    --bg-light: #f3f4f6;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-color: #cfcfcf;
    --bg-phase: #fafafa;
    
    /* Status Colors */
    --status-excellent: #d97706; /* ◎ ゴールド */
    --status-good: #1e3a8a;      /* ◯ 濃紺 */
    --status-fair: #6b7280;      /* △ グレー */
    --status-none: #d1d5db;      /* - 薄いグレー */
    --color-spot: #0ea5e9;       /* スポット色 */
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

* { box-sizing: border-box; }

/* =========================
   Animation
   ========================= */
.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Container
   ========================= */
.plan-detail {
    padding: 80px 20px 100px;
    background-color: #fff;
}

.plan-detail__inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================
   Header
   ========================= */
.plan-detail-header {
    text-align: center;
    margin-bottom: 60px;
}

.plan-detail-header__eyebrow {
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.plan-detail-header__title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
    margin: 0 0 24px;
    color: #111827;
}

.plan-detail-header__line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2B85F8 0%, #8bc4ff 100%);
    margin: 0 auto 24px;
}

.plan-detail-header__desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* =========================
   Intro Cards (Updated)
   ========================= */
.intro-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2カラム */
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

/* カードの共通スタイル */
.intro-card {
    background: #fff;
    border-radius: 16px; /* 四角く変更 */
    padding: 30px;
    border: 1px solid var(--border-color);
    border-top-width: 5px; /* 上部に色線 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上寄せ */
    min-height: 280px; /* 高さを確保 */
}

/* スタンダード用スタイル */
.intro-card--standard {
    border-top-color: var(--status-good); /* 濃紺 */
    background: linear-gradient(to bottom, #f0f4ff, #fff 40%);
}
.intro-card--standard .intro-card__title { color: var(--status-good); }
.intro-card--standard .intro-card__price-amount { color: var(--status-good); }

/* プレミアム用スタイル */
.intro-card--premium {
    border-top-color: var(--status-excellent); /* ゴールド */
    background: linear-gradient(to bottom, #fffbeb, #fff 40%);
}
.intro-card--premium .intro-card__title { color: #b45309; }
.intro-card--premium .intro-card__price-amount { color: #b45309; }

/* 通常サポート用スタイル */
.intro-card--normal {
    border-top-color: var(--status-fair); /* グレー */
    background: #f9fafb;
}
.intro-card--normal .intro-card__title { color: var(--status-fair); }
.intro-card--normal .intro-card__price-amount { color: var(--text-dark); }

/* スポットコンサル用スタイル */
.intro-card--spot {
    border-top-color: var(--color-spot); /* ライトブルー */
    background: linear-gradient(to bottom, #e0f2fe, #fff 40%);
}
.intro-card--spot .intro-card__title { color: #0284c7; }
.intro-card--spot .intro-card__price-amount { color: #0284c7; }


.intro-card__sub {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-gray);
    margin-bottom: 8px;
    display: block;
}

.intro-card__title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-card__price {
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.intro-card__price-yen {
    font-size: 1.2rem;
    margin-right: 2px;
}

.intro-card__price-amount {
    font-size: 2rem;
    line-height: 1;
}

.intro-card__price-unit {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-left: 5px;
    font-weight: normal;
}

.intro-card__price-sub {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-left: 10px;
    font-weight: normal;
}

.intro-card__text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* スマホ向け調整 */
@media (max-width: 640px) {
    .intro-cards-wrapper {
        grid-template-columns: 1fr; /* 1カラム */
        gap: 15px;
    }
    .intro-card {
        padding: 20px;
        min-height: auto;
    }
}


/* =========================
   Comparison Block
   ========================= */
.comparison-block {
    margin-bottom: 100px;
}

.comparison-block__title {
    font-size: 22px;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せに変更 */
    gap: 10px;
}

.comparison-block__title--sub {
    color: #4b5563;
}

.comparison-block__icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.comparison-block__title--sub .comparison-block__icon {
    background-color: #6b7280;
}

/* =========================
   Table Styles
   ========================= */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0; /* 四角くする */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    min-width: 760px;
}

/* Header Cells */
.comparison-table th {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.th-item {
    background-color: #f8fafc;
    color: var(--text-dark);
    width: 20%;
    text-align: left;
    padding-left: 24px;
}

.th-plan {
    width: 40%;
    color: white;
    position: relative;
}

/* --- Header Colors Updated --- */
.th-standard {
    background-color: var(--status-good); /* 濃紺 */
}

.th-premium {
    /* ゴールドグラデーション */
    background: linear-gradient(135deg, #c7903c 0%, #e8ba6e 50%, #c7903c 100%);
    color: #422006;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

.th-normal { background-color: var(--status-fair); }
.th-spot { background-color: var(--color-spot); }

.plan-name {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}
.plan-desc {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    font-weight: normal;
}

/* Body Cells */
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 14px;
    vertical-align: middle;
    line-height: 1.7;
}

/* 第一カラム（項目名） */
.comparison-table tbody th {
    background-color: #fff;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: #1f2937;
    border-right: 1px solid var(--border-color);
}

/* Phase Row (区切り) */
.tr-phase td {
    background-color: var(--bg-phase);
    font-weight: 500;
    /* ★文字色を #333 に変更 */
    color: #333; 
    text-align: left;
    padding: 0; /* ボタンにパディングを持たせる */
    border-left: none;
    border-radius: 0;
}

/* --- Cell Layout (Icon + Text) --- */
.cell-layout {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
}

.status-icon {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.4;
}

.status-excellent { color: var(--status-excellent); } 
.status-good { color: var(--status-good); }           
.status-fair { color: var(--status-fair); }
.status-none { color: var(--status-none); font-weight: normal; }

/* Utility classes */
.u-note {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}
.center { text-align: center; }

/* Light Table specific */
.comparison-table--light .tr-phase td {
    background-color: #fafafa;
    color: #374151;
}

/* =========================
   Phase Accordion (Button)
   ========================= */

/* ボタン本体 */
.phase-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ラベル */
.phase-toggle__label {
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* 右側の矢印アイコン（▼） */
.phase-toggle__icon {
  width: 14px;
  height: 14px;
  /* 矢印の色も文字色に合わせる場合はここも #333 等に変更 */
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);          /* 下向き */
  transition: transform 0.25s ease;
}

/* 開いているときは上向きに */
.tr-phase.is-open .phase-toggle__icon {
  transform: rotate(-135deg);
}

/* ホバー時、少し色を濃く */
.phase-toggle:hover {
  background: rgba(37, 99, 235, 0.06);
}

/* 閉じた状態／開いた状態の視覚差 */
.tr-phase.is-open td {
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.5);
}

/* =========================================
   Table Accordion Animation Styles (NEW)
   ========================================= */

/* 開閉される行の基本設定 */
.phase-row {
    overflow: hidden;
}

/* 各セルのパディング＆ボーダーも一緒にヌルっと変える */
.phase-row td {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0 solid transparent;
    transition: padding 0.45s ease, border-bottom-color 0.45s ease;
}

/* JSで中身を包む箱 */
.accordion-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.45s ease;
}

/* 開いているとき */
.phase-row.is-open td {
    padding-top: 16px;    /* 元の値に合わせて調整 */
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.phase-row.is-open .accordion-wrapper {
    opacity: 1;
    /* max-height は JS で scrollHeight を入れるのでここでは指定しない */
}


/* =========================
   Comparison Accordion
   ========================= */

/* アコーディオン対象行 */
.comparison-table tbody tr.phase-row {
  transition: background-color 0.3s ease;
}

/* 閉じているときは高さを極力ゼロに近づける */
.comparison-table tbody tr.phase-row th,
.comparison-table tbody tr.phase-row td {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0 solid transparent;
  transition: padding 0.35s ease, border-bottom-color 0.35s ease;
}

/* 開いたときの行の見た目（元の値に合わせて調整） */
.comparison-table tbody tr.phase-row.is-open th,
.comparison-table tbody tr.phase-row.is-open td {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom-width: 1px;
  border-bottom-color: var(--border-color);
}

/* 中身を包むラッパ：ここを伸び縮みさせる */
.comparison-table .phase-row-inner {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

/* is-open 時の max-height 自体は JS 側で scrollHeight を入れる */


/* ===== FAQ/style.css ===== */
/* =========================
   FAQ SECTION
   ========================= */

.faq-section {
  padding: 80px 20px 100px;
  background: #ffffff;
}

.faq-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* 小タイトル / タイトル / 説明（中央ぞろえ） */
.faq-eyebrow {
  font-size: 14px;           /* 指定どおり 14px */
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #1b6de3;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}

.faq-title {
  font-size: 32px;           /* 指定どおり 32px */
  line-height: 1.4;
  font-weight: 500;
  color: #1b2430;
  margin: 0 0 16px;
  text-align: center;
}

.faq-description {
  font-size: 16px;           /* 指定どおり 16px */
  line-height: 1.8;
  color: #4a5568;
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

/* アコーディオン全体 */
.faq-accordion {
  background: transparent;
  padding: 0;
  margin-top: 32px; /* タイトルとの余白 */
}

/* 各項目を「四角カード」で独立させる */
.faq-item {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(12, 38, 90, 0.06);
  margin-bottom: 24px; /* FAQ同士の隙間を広めに */
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  padding-top: 0;
}

/* 開いているときに少しだけ強調 */
.faq-item.is-open {
  border-color: #c0d7ff;
  box-shadow: 0 18px 50px rgba(14, 68, 150, 0.12);
  background-color: #ffffff;
}

/* もともとの境界線は使わない */
.faq-item + .faq-item {
  border-top: none;
}

/* 質問ボタン */
.faq-question {
  width: 100%;
  padding: 18px 24px;
  border: none;
  background: transparent;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  position: relative;
}

.faq-q-label {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 500;
  color: #1b6de3;
  margin-top: 2px;
}

.faq-q-text {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 500;
  color: #1a202c;
  line-height: 1.6;
  padding-right: 40px;
}

/* プラス / マイナス アイコン */
.faq-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e0;
  transform: translateY(-50%);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 10px;
  height: 2px;
  margin: -1px -5px;
  background: #4a5568;
  border-radius: 999px;
  transition: transform 0.25s ease;
}

/* 縦棒（開いていないときのみ表示） */
.faq-icon::after {
  transform: rotate(90deg);
}

/* 開いている時はマイナス表示（縦棒を水平に） */
.faq-item.is-open .faq-icon::after {
  transform: rotate(0deg);
}

/* 回答エリア */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 24px 0 58px; /* Qラベルと揃えるため少し右からスタート */
  font-size: 15px;
  color: #4a5568;
  line-height: 1.9;
  box-sizing: border-box;
  transition:
    max-height 0.45s ease-in-out,
    opacity 0.45s ease-in-out,
    padding-top 0.45s ease-in-out,
    padding-bottom 0.45s ease-in-out;
  text-align: left;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer ul {
  margin: 0 0 10px 1.2em;
  padding: 0;
}

.faq-answer li {
  margin-bottom: 4px;
  list-style: disc;
}

/* 開いている状態 */
.faq-item.is-open .faq-answer {
  padding-top: 0;
  padding-bottom: 18px;
  opacity: 1;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px 80px;
  }

  .faq-title {
    font-size: 26px;
  }

  .faq-question {
    padding: 16px 16px;
  }

  .faq-q-text {
    padding-right: 32px;
  }

  .faq-icon {
    right: 16px;
  }

  .faq-answer {
    padding-left: 50px;
    padding-right: 16px;
  }
}


/* ===== service-fit/style.css ===== */
/* =========================
   SERVICE FIT SECTION
   ========================= */

.fit-section {
  padding: 80px 20px 100px;
  background: #f7f9fc;
}

.fit-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* 見出しまわり */
.fit-eyebrow {
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #1b6de3;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.fit-title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 500;
  color: #1b2430;
  text-align: center;
  margin: 0 0 16px;
}

.fit-description {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

/* 2カラムレイアウト */
.fit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* カード共通：四角＋上部ライン */
.fit-card {
  flex: 1 1 calc(50% - 12px);
  background: #ffffff;
  border-radius: 18px;                 /* 参考画像に寄せて少し丸い四角 */
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  padding: 26px 30px 28px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

/* 上の色付きライン（疑似要素） */
.fit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 8px;
  border-radius: 18px 18px 0 0;
  transform: translateY(-100%);
}

/* OK側：青ライン */
.fit-card--ok::before {
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
}

/* NG側：赤ライン */
.fit-card--ng::before {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

/* ホバー：ふわっと持ち上がる */
.fit-card:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  transform: translateY(-4px);
  border-color: #c7d2fe;
}

/* 上部レイアウト（アイコン＋テキスト） */
.fit-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* 円アイコン */
.fit-card-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SVGサイズ */
.fit-card-icon svg {
  width: 22px;
  height: 22px;
}

/* OKアイコン（青チェック） */
.fit-card-icon--ok {
  background: #e0edff;
}

.fit-card-icon--ok svg circle {
  fill: #2563eb;
}

.fit-card-icon--ok svg path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* NGアイコン（赤バツ） */
.fit-card-icon--ng {
  background: #ffe1e1;
}

.fit-card-icon--ng svg circle {
  fill: #ef4444;
}

.fit-card-icon--ng svg path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* 見出し部分 */
.fit-card-heading {
  flex: 1 1 auto;
}

.fit-card-label {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  margin: 0 0 6px;
}

.fit-card-lead {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: #1f2933;
  margin: 0;
}

/* リスト */
.fit-list {
  margin: 0;
  padding: 0 0 0 1.4em;
  list-style: none;
}

.fit-list li {
  position: relative;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 6px;
}

/* OK側：青チェックの箇条書き */
.fit-list--ok li::before {
  content: "✓";
  position: absolute;
  left: -1.2em;
  top: 0.1em;
  font-size: 14px;
  font-weight: 500;
  color: #2563eb;
}

/* NG側：赤バツの箇条書き */
.fit-list--ng li::before {
  content: "×";
  position: absolute;
  left: -1.2em;
  top: 0.1em;
  font-size: 14px;
  font-weight: 500;
  color: #ef4444;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .fit-card {
    padding: 24px 22px 26px;
  }
}

@media (max-width: 768px) {
  .fit-section {
    padding: 60px 16px 80px;
  }

  .fit-title {
    font-size: 26px;
  }

  .fit-grid {
    flex-direction: column;
  }

  .fit-card {
    flex-basis: 100%;
  }
}


/* =========================
   Comparison Table Responsive
   ========================= */

/* タブレット以下で余白とスクロールを調整 */
@media (max-width: 1024px) {
  .plan-detail {
    padding: 60px 16px;
  }

  .plan-detail__inner {
    padding: 0;
  }

  .table-scroll {
    margin: 0 -16px;
    padding-bottom: 12px;
  }

  .plan-detail-header__title {
    font-size: 26px;
  }

  .plan-detail-header__desc {
    font-size: 14px;
  }
}

/* スマホ幅用：文字サイズ・パディング・横スクロール */
@media (max-width: 768px) {
  /* テーブル自体は横スクロール前提で min-width を少しだけ狭く */
  .comparison-table {
    min-width: 640px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  /* フェーズ見出し行のボタンも少しコンパクトに */
  .comparison-table .tr-phase button {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* アイコン＋テキスト部分：縦並び寄りにして詰まり感を減らす */
  .cell-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .status-icon {
    margin-bottom: 2px;
  }

  /* 中見出しも少しだけサイズダウン */
  .comparison-block__title {
    font-size: 18px;
    line-height: 1.5;
  }
}


/* ===== contact/style.css ===== */
/* =========================
   contact section (最終決定版)
   ========================= */

.contact {
  background: #f3f4f6;
  padding: 80px 16px 96px;
}

.contact__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.contact__lead {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #111827;
}

.contact__cta {
  margin-bottom: 32px;
}

/* 1. ボタンの基本デザイン（通常時：青） */
.btn--contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  padding: 18px 40px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 150%;
  /* 通常時は青背景・白文字 */
  background-color: #ff5e5e; 
  color: #ffffff;
  border: 1px solid #ff5e5e;
  border-radius: 50px;
  
  /* 動きの設定 */
  transition: all 0.3s ease;
}

/* 2. ホバー時の設定（背景白・文字黒） */
.btn--contact:hover,
.btn--contact:focus {
  background-color: #ffffff !important; /* 背景：白 */
  color: #111827 !important;            /* 文字：黒 */
  border-color: #ff5e5e !important;     /* 枠線：黒 */
  opacity: 1 !important;
}

/* ★重要：spanタグ対策★
   提示いただいたコードのキモとなる部分です。
   ボタンの中の span やアイコンも強制的に黒にします。
*/
.btn--contact:hover span,
.btn--contact:focus span,
.btn--contact:hover *,
.btn--contact:focus * {
  color: #111827 !important;
}


/* 電話番号エリア */
.contact__tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #111827;
}

.contact__tel-number {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.contact__tel-time {
  margin: 0;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .contact {
    padding: 64px 16px 80px;
  }

  .contact__lead {
    font-size: 16px;
    line-height: 1.6;
  }

  /* スマホでも幅を100%に */
  .btn--contact {
    width: 100%;
    max-width: 100%;
  }

  .contact__tel {
    font-size: 14px;
  }
}

