/* ============================================================
   CloudTech 共通コンポーネント
   ------------------------------------------------------------
   トップ・Academy・詳細ページ・法人ページが共有する。
   読み込み順: tokens.css → base.css → page-*.css

   鉄則: 同じセレクタを base と page-* の両方に書かない。
   両方に書くと、片方が transform、もう片方が scale のように
   別プロパティで同じことをした場合に二重に効いて壊れる。

   ヒーローはここに置かない。ページごとに設計が違うため、
   各 page-*.css が自分のヒーローを持つ。
   ============================================================ */

/* スマホ専用改行 */
.sp-only { display: none; }
@media (max-width: 900px) { .sp-only { display: inline; } }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); }

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

.container.narrow { max-width: var(--max-narrow); }

.center { text-align: center; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  padding-inline: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

/* 高さは --brand-logo-h で決まる。ロゴの形が縦長のページは変数を上げる */
.brand-logo {
  display: block;
  height: var(--brand-logo-h);
  width: auto;
  flex-shrink: 0;
}

.brand-mark { font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }

.brand-sub { font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: 0.08em; }

/* ロゴの右に名前を積む形（Academy） */
.brand-name-group { display: flex; flex-direction: column; line-height: 1.35; }

.brand-name { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); }

.brand-kana { font-size: 10.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.04em; }

/* ロゴの右に名前と振り仮名を1行で並べる形（トップ） */
.brand-text { font-weight: 700; font-size: 18px; letter-spacing: 0.01em; }

.brand-text .brand-kana { font-size: 12px; font-weight: 500; letter-spacing: 0; margin-inline-start: 2px; }

/* ---------- サイト横断ナビ ---------- */
.nav {
  display: flex;
  gap: 24px;
  margin-inline-start: auto;
  flex-shrink: 0;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ---------- ハンバーガーメニュー ---------- */
/*
  PC・スマホの両方で表示する。PCでは .nav（サイト横断リンク）の右に並び、
  ハンバーガーの中身は「各セクションへのジャンプ」を担う。
  900px以下では .nav が消えるため、ハンバーガーが両方を引き受ける。
*/
.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-inline-start: 20px;
  flex-shrink: 0;
  position: relative;
}
.hamburger-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 0;
  transition: transform 0.25s, top 0.25s;
}
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after  { top:  7px; }

/* 開いた状態 */
.hamburger[aria-expanded="true"] .hamburger-icon { background: transparent; }
.hamburger[aria-expanded="true"] .hamburger-icon::before { top: 0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-icon::after  { top: 0; transform: rotate(-45deg); }

/* ---------- ドロワーメニュー ---------- */
/*
  z-index は .site-header（50）より下に置く。
  ヘッダーは z-index を持つ sticky 要素なので独自の重なり文脈を作り、
  その中のハンバーガーは何を指定してもヘッダーの層に閉じ込められる。
  ドロワーをヘッダーより上に置くと閉じるボタンが覆われて押せなくなる。
  ヘッダー（68px）にドロワーの中身が隠れないよう padding-top で逃がす。
*/
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
  z-index: 45;
  padding: 88px 24px 32px;
  overflow-y: auto;
  /* display の切り替えでは transition が走らないため visibility を使う */
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s;
}
.drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 20px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.drawer-section-title:first-child { margin-top: 0; }

.drawer a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-light, #f0f0f0);
}
.drawer a:hover { color: var(--brand); }

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: #fff; }

.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }

.btn-ghost:hover { border-color: var(--ink-3); }

.btn-sm { padding: 8px 18px; font-size: 14px; background: var(--ink); color: #fff; }

.btn-sm:hover { background: var(--ink-2); }

.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ---------- 月桂樹の評価バッジ ---------- */

.laurel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 30px;
}

.laurel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 132px;
  padding: 4px 30px;
  text-align: center;
}

/* 左右の月桂樹。CSSの擬似要素で描くので画像を待たずに成立する */

.laurel::before,
.laurel::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 20px;
  height: 62px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 62'%3E%3Cg fill='none' stroke='%23c9922e' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M17 4C7 16 5 34 12 58'/%3E%3C/g%3E%3Cg fill='%23c9922e'%3E%3Cellipse cx='7' cy='16' rx='5.2' ry='2.7' transform='rotate(-38 7 16)'/%3E%3Cellipse cx='5' cy='26' rx='5.4' ry='2.8' transform='rotate(-22 5 26)'/%3E%3Cellipse cx='5' cy='36' rx='5.4' ry='2.8' transform='rotate(-8 5 36)'/%3E%3Cellipse cx='6.5' cy='46' rx='5.2' ry='2.7' transform='rotate(8 6.5 46)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.laurel::before { inset-inline-start: 0; }

.laurel::after { inset-inline-end: 0; scale: -1 1; }

.laurel-value {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--authority);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.laurel-value em { font-style: normal; font-size: 20px; font-weight: 800; color: var(--brand); margin-inline-start: 2px; }

.laurel-label {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-2);
}

/*
  数値のテキストが長いとき（「9,000名以上」など）に3つを1行に収める版:
  class="laurel-row laurel-row-sm"
*/
.laurel-row-sm { gap: 10px 16px; }

.laurel-row-sm .laurel { min-width: 0; padding: 4px 24px; }

.laurel-row-sm .laurel-value { font-size: 27px; }

.laurel-row-sm .laurel-value small { font-size: 14px; }

.laurel-row-sm .laurel-label { font-size: 11.5px; }

/* ---------- ヒーロー レスポンシブ ---------- */

@media (max-width: 1000px) {
  .laurel-row { justify-content: center; gap: 8px 18px; }
  .laurel { min-width: 112px; padding-inline: 24px; }
  .laurel-value { font-size: 27px; }
  .laurel::before, .laurel::after { width: 16px; height: 50px; }
}

/*
  スマホでも3つを1行に収める。laurel-row-sm 側の指定（具体度 0,2,0）を
  確実に上書きするため、すべて .laurel-row スコープで書く。
  文字サイズは vw 追従にして 320px 端末でも溢れないようにする。
*/
@media (max-width: 600px) {
  .laurel-row,
  .laurel-row.laurel-row-sm { flex-wrap: nowrap; gap: 4px; justify-content: center; }

  .laurel-row .laurel {
    flex: 1 1 0;
    min-width: 0;
    padding: 4px 10px;
  }

  .laurel-row .laurel-value {
    font-size: clamp(13.5px, 4.6vw, 20px);
    white-space: nowrap;
  }

  .laurel-row .laurel-value small,
  .laurel-row .laurel-value em { font-size: 0.56em; }

  .laurel-row .laurel-label { font-size: 10px; line-height: 1.35; }

  .laurel-row .laurel::before,
  .laurel-row .laurel::after { width: 9px; height: 34px; }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 14px;
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- リード文 ---------- */

.lead {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 32em;
  line-height: 1.85;
}

.lead strong { color: var(--brand); font-weight: 700; }

/* ---------- 汎用カード ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.card-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; }

/* ---------- ボタンの横並び ---------- */

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

/* ---------- 蛍光ペン風のハイライト ---------- */

/*
  色は --marker で決まる。ページごとに変えたい場合は
  page-*.css で `.page-xxx { --marker: ...; }` と変数を渡す。
  このセレクタを page-*.css で再定義しない。
*/
.marker {
  font-style: normal;
  background: linear-gradient(
    transparent 60%,
    var(--marker) 60%,
    var(--marker) 90%,
    transparent 90%
  );
  padding: 0 4px;
}

.marker-yellow {
  font-style: normal;
  background: linear-gradient(
    transparent 60%,
    #fff176 60%,
    #fff176 90%,
    transparent 90%
  );
  padding: 0 2px;
}

/* ---------- セクション共通 ---------- */

/* ------------------------------------------------------------
   セクションのリズム
   旧: 全セクションが padding 88px ＋ 同じ40pxの下線バー。
   これがテンプレート感（生成AIっぽさ）の主因だったため、
   下線バーを廃止し、余白に強弱をつける。
   ------------------------------------------------------------ */

.section { padding-block: 84px; }

.section-tight { padding-block: 56px; }

.section-loose { padding-block: 112px; }

.section-alt { background: var(--bg-alt); }

.section-title {
  margin: 0 0 16px;
  /* 第5版: 見出しを一段大きく。本文（16px）は据え置き */
  font-size: clamp(26px, 3.9vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

/* 下線バーは既定では出さない。強調したい見出しにのみ .title-ruled を付ける */

.title-ruled::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 16px;
  background: var(--brand);
  border-radius: 2px;
}

/* 第5版: リード文と準見出しも一段大きく */

.section-lead { margin: 0 0 34px; font-size: 17.5px; color: var(--ink-2); }

.section-sub { margin: 0 0 16px; font-size: 19px; font-weight: 700; color: var(--ink); }

/* 信頼シグナルのチップ列。事実の列挙にのみ使う（誇張表現は載せない） */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.trust-chips li::before {
  content: "✓";
  color: var(--authority);
  font-weight: 700;
}

.sub-title { margin: 52px 0 16px; font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; line-height: 1.5; }

.note { margin-top: 20px; font-size: 14px; color: var(--ink-3); line-height: 1.8; }

.placeholder {
  padding: 20px;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-3);
  font-size: 14px;
}

.section-alt .placeholder { background: #fff; }

.grade-table { max-width: 460px; }

.grade-table td { font-variant-numeric: tabular-nums; }

.grade-table td:first-child { font-weight: 700; width: 80px; }

/* ---------- サポート ---------- */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.support-card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; line-height: 1.5; }

.support-catch { margin: 0 0 16px; font-size: 14px; color: var(--brand); font-weight: 600; }

.support-details { margin: 0; }

/* ---------- リスト ---------- */

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }

.check-list li { position: relative; padding-inline-start: 30px; margin-bottom: 12px; }

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* 機能の列挙などでチェックマークにしたいとき: class="check-list tick" */
.check-list.tick { margin: 0 0 20px; font-size: 14.5px; line-height: 1.9; }

.check-list.tick li { padding-inline-start: 26px; margin-bottom: 0; }

.check-list.tick li::before {
  content: "✓";
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--success);
  font-weight: 700;
}

.criteria-list, .flow-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 0;
}

.criteria-list li, .flow-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
  border-inline-start: 2px solid var(--line);
  margin-inline-start: 15px;
}

.criteria-list li:last-child, .flow-list li:last-child {
  border-inline-start-color: transparent;
  padding-bottom: 0;
}

.criteria-list li::before, .flow-list li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: -16px;
  top: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.criteria-list li strong, .flow-list li strong { display: block; font-size: 18px; line-height: 1.5; margin-bottom: 3px; }

.warn {
  padding: 16px 20px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  font-size: 15px;
  margin-top: 20px;
}

/* ---------- 実績 ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.stat-label { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-3); }

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.faq-item[open] { box-shadow: var(--shadow); }

.faq-item summary {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::marker { content: ""; }

.faq-item summary::before {
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-body {
  padding: 0 20px 20px 60px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}

.faq-body p { margin: 0 0 10px; }

.faq-body p:last-child { margin-bottom: 0; }


/* ---------- フッター ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: 56px 0;
  font-size: 14px;
  color: var(--ink-2);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.footer-col p { margin: 0 0 8px; line-height: 1.8; }

.footer-brand { font-size: 17px; font-weight: 700; color: var(--ink); }

.footer-org { font-weight: 600; }

.footer-heading { font-weight: 700; color: var(--ink); margin-bottom: 8px; }

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

.footer-links li { margin-bottom: 6px; }

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

.footer-links a:hover { color: var(--brand); }

.footer-academy-certs {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.4;
}
.footer-cert-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-cert-logo {
  height: 24px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  padding: 3px 6px;
  display: block;
}
.footer-cert-item span { font-size: 11px; color: var(--ink-2); }
.footer-cert-item small { color: var(--ink-3); font-size: 10px; }

.footer-bottom { margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

.footer-bottom p { margin: 0; }

/* AWS商標などの但し書き。著作権表記の上に置く */
.footer-trademark { margin: 0 0 12px; font-size: 11.5px; line-height: 1.7; color: var(--ink-3); }

/* ============================================================
   第2版で追加したコンポーネント
   （競合LP参考: RUNTEQ / 侍エンジニア / RaiseTech / TechCamp）
   ============================================================ */

/* ---------- CTAボタン（ブランドのオレンジ。競合はいずれもオレンジ系CTA） ---------- */

.btn-cta {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-cta:hover {
  background: linear-gradient(180deg, #fb923c 0%, var(--brand) 100%);
  transform: translateY(-1px);
}

.btn-sm-cta { padding: 9px 20px; font-size: 14px; }

/* ---------- バッジ・ピル ---------- */

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* 認定バッジは「権威」側の色。オレンジにすると販促表示に見えてしまう */

.pill-gov { background: var(--authority); border: 1px solid var(--authority); color: #fff; }

/* ---------- 画像仮置きボックス ---------- */

.img-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    var(--bg-alt),
    var(--bg-alt) 12px,
    #fdecd9 12px,
    #fdecd9 24px
  );
  border: 2px dashed #c3ccd5;
  border-radius: var(--radius);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  padding: 16px;
}

.ph-hero { min-height: 220px; }

.ph-icon { width: 72px; height: 72px; padding: 6px; font-size: 10px; border-radius: 50%; margin-bottom: 16px; }

.ph-interview { aspect-ratio: 16 / 10; }

/* ---------- セクション見出し補助 ---------- */

/* ------------------------------------------------------------
   eyebrow
   旧: 全セクションに裸の英語大文字（About / Reasons / ...）を置いていた。
   англ単語の羅列は最もテンプレートに見える箇所なので、
   ①ラベル（タグ状）にして意図的な装飾に見せる
   ②日本語の短い一言を主とし、英語は使わない方針に変更
   ------------------------------------------------------------ */

.section-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  border-radius: 4px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.section-alt .section-eyebrow { background: #fff; border: 1px solid #fbd7b0; }

/* 制度・給付金など「権威」側のセクションで使う */

.section-eyebrow.eyebrow-authority {
  background: var(--authority);
  color: #fff;
  border: none;
}

.center-title { text-align: center; }

.center-title.title-ruled::after { margin-inline: auto; }

.eyebrow-center { display: block; text-align: center; }

.eyebrow-center > .section-eyebrow { margin-inline: auto; }

/* ---------- 受講生の声 ---------- */

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.voice-grid-support { margin-top: 32px; }

.voice-card {
  margin: 0;
  padding: 24px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  position: relative;
}

.section-alt .voice-card { box-shadow: var(--shadow); }

.voice-card::before {
  content: "“";
  position: absolute;
  top: 2px;
  inset-inline-start: 14px;
  font-size: 44px;
  line-height: 1;
  color: var(--brand-tint);
  font-family: Georgia, serif;
}

.voice-card strong { color: var(--ink); }

.voice-card cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--ink-3);
}

.voice-card { font-size: 15px; }

.voice-card:not(:has(.voice-person-img)) {
  background: var(--bg-warm);
}

/* ------------------------------------------------------------
   第5版: 受講生コメントに人物画像を添える
   本人写真は許諾の関係で使えないため、イメージ画像を使う。
   **必ず「人物画像はイメージです」の注記をセクション単位で出す。**
   注記なしでイメージ画像を人物写真として見せると景表法の論点になる。
   ------------------------------------------------------------ */

.voice-person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.voice-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.voice-person .img-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 9px;
  line-height: 1.2;
  color: var(--ink-3);
}

.voice-person-meta { min-width: 0; }

.voice-person-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.voice-person-role {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.voice-inline {
  margin: 20px 0 0;
  padding: 16px 22px;
  border-inline-start: 3px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: var(--ink-2);
}

.voice-inline cite { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: var(--ink-3); }

/* ---------- 向いていない人（ダークセクション） ---------- */

.section-dark {
  background: var(--ink);
  color: #dce4ec;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 900px) {
  /* サイト横断リンクはドロワーの「サービス」セクションが引き受ける */
  .nav { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }

  .section { padding-block: 60px; }
  .section-tight { padding-block: 44px; }
  .section-loose { padding-block: 72px; }

  .stat-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }

  /*
    ヘッダーを1行に収める。ロゴ・名前・CTAの3つが並ぶため、
    詰めないと CTA が画面外に出る。
  */
  .header-inner { gap: 12px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-logo { height: calc(var(--brand-logo-h) - 6px); }
  .brand-text { font-size: 15px; }
  .brand-name { font-size: 12.5px; }
  .brand-kana { font-size: 9.5px; }

  /*
    横1行に名前と振り仮名を並べる形（.brand-text 内）は幅を食うので、
    振り仮名を畳む。ロゴ画像にサービス名が入っているため意味は落ちない。
    2段組の形（.brand-name-group 内）は縦に積むので畳まない。
  */
  .brand-text { display: flex; flex-direction: column; line-height: 1.3; }
  .brand-text .brand-kana { font-size: 10px; margin-inline-start: 0; }
  .btn-sm-cta { padding: 8px 12px; font-size: 12.5px; }
}

/* ============================================================
   第3版 追加分（2026-08-26）
   - 公式ロゴの配置
   - カリキュラム統合（テーマ帯・採点ボックス）
   - メンターカルーセル
   - 転職サポート
   - 受講料カード（永久会員権を目玉として強調）
   ============================================================ */

/* ---------- ロゴ ---------- */

.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

/* ---------- プランバッジ（雲アイコン） ---------- */
.plan-badge {
  display: inline-block; width: 22px; height: 22px;
  vertical-align: middle; margin-right: 6px;
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.12));
}
.plan-badge svg { width: 100%; height: 100%; display: block; }

.plan-free    svg { fill: url(#g-free); }
.plan-sikaku  svg { fill: url(#g-sikaku); }
.plan-kihon   svg { fill: url(#g-kihon); }
.plan-eikyuu  svg { fill: url(#g-eikyuu); }
.plan-academy svg { fill: url(#g-academy); }

/* 見出し内で使う時のサイズ調整 */
.section-title .plan-badge { width: 28px; height: 28px; }
.faq-item summary .plan-badge { width: 16px; height: 16px; margin-right: 2px; position: relative; top: 2px; }
.pricing-name .plan-badge  { width: 18px; height: 18px; margin-right: 4px; }
.pricing-advice .plan-badge { width: 16px; height: 16px; margin-right: 2px; }

/* ============================================================
   料金2カラム（講義動画ページ・資格対策ページで共用）
   ============================================================ */

.pricing-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.pricing-duo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
  text-align: center;
}

.pricing-duo-card.highlight {
  border: 2px solid var(--brand);
  background: var(--brand-tint);
}

.pricing-duo-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.pricing-duo-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 8px 0;
}

.pricing-duo-price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-3);
}

.pricing-duo-period {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.pricing-duo-card ul {
  text-align: left;
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
}

@media (max-width: 600px) {
  .pricing-duo { grid-template-columns: 1fr; }
}

/* 他のサービスも見る — Academy省庁認定 */
.other-academy-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.other-cert {
  display: grid;
  grid-template-rows: 24px auto auto;
  justify-items: center;
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
  color: var(--ink-2);
}

.other-cert-logo {
  height: 20px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  align-self: center;
}

.other-cert span {
  margin-top: 2px;
}

.other-cert small {
  color: var(--ink-3);
  font-size: 9px;
}

/* 他のサービスカード内ミニ月桂樹 */
.other-card-laurels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line, #e5e5e5);
  text-align: center;
}

.other-card-laurel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.other-card-laurel-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}

.other-card-laurel-label {
  font-size: 10px;
  color: var(--ink-3, #888);
  line-height: 1.3;
}
