/*
Theme Name: 自分磨きクラブ
Theme URI:
Author: 裏住
Description: 男性向け人生密着型 外見アップデートスクール のランディングページテーマ。事例（Before/After）をカスタム投稿タイプで管理。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: jibunmigaki
*/

@charset "UTF-8";

/* ============================================
   変数
============================================ */
:root {
  --color-white: #fff;
  --color-navy: #1f2533;
  --color-navy-dark: #14181f;
  --color-cyan: #7DD4E3;
  --color-cyan-dark: #1f93ac;
  --color-cyan-light: #56C3D8;
  --color-cyan-pale: #e8f6f9;
  --color-red: #E4554F;
  --color-line: #06c755;
  --color-text: #20242c;
  --color-text-sub: #7b8089;
  --color-gray: #f4f6f7;
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en: 'Oswald', 'Noto Sans JP', sans-serif;
  --z-header: 100;
  --z-line: 90;
  --z-menu: 95;
  --z-skip: 110;
}

/* ============================================
   ベース
============================================ */
html {
  font-size: 62.5%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}
@media (min-width: 768px) {
  body {
    font-size: 1.6rem;
  }
}

::selection {
  background: var(--color-cyan);
  color: var(--color-navy-dark);
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================
   共通コンポーネント：スキップリンク
============================================ */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: var(--z-skip);
  padding: 10px 18px;
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus-visible {
  outline: 3px solid var(--color-cyan);
  transform: none;
}

/* ============================================
   ユーティリティ
============================================ */
.u-sp {
  display: inline;
}
@media (min-width: 768px) {
  .u-sp {
    display: none;
  }
}

/* ============================================
   共通コンポーネント：セクション英字ラベル
============================================ */
.sec-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--color-cyan-dark);
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.sec-label::before,
.sec-label::after {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
}

/* ネイビー背景用 */
.sec-label--light {
  color: var(--color-cyan);
}

/* 水色背景用 */
.sec-label--white {
  color: var(--color-white);
}

/* ============================================
   共通コンポーネント：見出し内の特大強調
============================================ */
.hd-em {
  background: linear-gradient(transparent 72%, color-mix(in srgb, var(--color-white) 45%, transparent) 72%);
  font-size: 1.4em;
  line-height: 1.3;
}

.hd-em--red {
  background: none;
  color: var(--color-red);
}

.hd-em--cyan {
  background: none;
  color: var(--color-cyan);
}

/* ============================================
   共通コンポーネント：背景ゴースト英字
============================================ */
[data-ghost] {
  position: relative;
  overflow: hidden;
}
[data-ghost]::after {
  content: attr(data-ghost);
  position: absolute;
  top: 0;
  left: -0.04em;
  z-index: 0;
  color: color-mix(in srgb, var(--color-navy) 5%, transparent);
  font-family: var(--font-en);
  font-size: clamp(4rem, 15vw, 17rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
}
[data-ghost] > div {
  position: relative;
  z-index: 1;
}

.u-ghost-right[data-ghost]::after {
  right: -0.04em;
  left: auto;
}

/* ============================================
   共通コンポーネント：CTAボックス
============================================ */
.cta-box {
  display: block;
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: auto;
  padding: 26px 72px 22px 24px;
  background: var(--color-white);
  color: var(--color-text);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid var(--color-navy-dark);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 42px;
  height: 42px;
  background: var(--color-red);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.cta-box::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 36px;
  width: 9px;
  height: 9px;
  border-top: 3px solid var(--color-white);
  border-right: 3px solid var(--color-white);
  transform: translateY(-50%) rotate(45deg);
}
@media (any-hover: hover) {
  .cta-box:hover::before {
    transform: translateY(-50%) scale(1.15);
  }
}
.cta-box:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
}

.cta-box__badge {
  display: inline-block;
  position: absolute;
  top: -15px;
  left: 14px;
  padding: 4px 16px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

.cta-box__badge-suffix {
  font-size: 1.3rem;
}

.cta-box__main {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .cta-box__main {
    font-size: 2.6rem;
  }
}
/* FVのCTAはスマホ〜PC共通で改行させない */
.fv__cta .cta-box__main {
  white-space: nowrap;
}
@media (min-width: 768px) {
  .fv__cta .cta-box__main {
    font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  }
  .fv__cta .cta-box__main strong {
    font-size: 1.4em;
  }
}

.cta-box__main strong {
  display: inline-block;
  margin: 0 4px;
  color: var(--color-cyan-light);
  font-size: 1.5em;
}
@media (min-width: 768px) {
  .cta-box__main strong {
    font-size: 3.6rem;
  }
}

.cta-box__note {
  display: block;
  margin-top: 10px;
  color: var(--color-text-sub);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ============================================
   共通コンポーネント：中間CTAバンド
============================================ */
.cta-band {
  padding: 56px 20px;
  background: var(--color-gray);
}
@media (min-width: 768px) {
  .cta-band {
    padding: 72px 20px;
  }
}

.cta-band--white {
  background-color: var(--color-white);
}


.cta-band__card {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #52cee1;
  color: var(--color-navy-dark);
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band__card {
    padding: 70px 40px 62px;
  }
}

.cta-band__catch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 16px);
  color: var(--color-navy-dark);
  transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
  .cta-band__catch {
    gap: 14px;
  }
}

.cta-band__catch-text {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .cta-band__catch-text {
    font-size: 2.2rem;
  }
}
.cta-band__catch-text strong {
  font-size: 1.4em;
  font-weight: 900;
}

.cta-band__ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--color-red), inset 0 0 0 4px var(--color-white);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: rotate(-8deg);
  padding-bottom: 4px;
}
@media (min-width: 768px) {
  .cta-band__ok {
    width: 74px;
    height: 74px;
    box-shadow: inset 0 0 0 3px var(--color-red), inset 0 0 0 5px var(--color-white);
    font-size: 3.4rem;
  }
}

.cta-band__slash {
  flex-shrink: 0;
  width: 3px;
  height: 28px;
  background: var(--color-navy-dark);
  border-radius: 2px;
}
@media (min-width: 768px) {
  .cta-band__slash {
    height: 40px;
  }
}
.cta-band__slash--l {
  transform: rotate(-22deg);
}
.cta-band__slash--r {
  transform: rotate(22deg);
}

.cta-band__copy {
  margin-bottom: 26px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .cta-band__copy {
    font-size: 3rem;
  }
}

.cta-band__copy-sep {
  margin: 0 14px;
  font-weight: 400;
}

.cta-band__copy strong {
  margin: 0 2px;
  color: var(--color-red);
  font-size: 1.4em;
  line-height: 1;
}

.cta-band .cta-box__main strong {
  color: var(--color-red);
}

/* ============================================
   共通コンポーネント：フローティングCTA（無料相談）
============================================ */
.floating-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: var(--z-line);
  padding: 14px 26px;
  background: var(--color-red);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translateY(16px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0.4s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* 背後で脈動して注目を引くリング */
.floating-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--color-red);
}
.floating-cta__label {
  line-height: 1;
}
.floating-cta__arrow {
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .floating-cta {
    right: calc(24px + env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom));
    padding: 16px 32px;
    font-size: 1.5rem;
  }
}
@media (any-hover: hover) {
  .floating-cta:hover {
    transform: translateY(-3px);
  }
  .floating-cta:hover .floating-cta__arrow {
    transform: translateX(4px);
  }
}
.floating-cta:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transform: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .floating-cta.is-visible {
    transform: none;
  }
  .floating-cta::before {
    display: none;
  }
}

/* ============================================
   ヘッダー
============================================ */
.header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  width: 100%;
  height: 52px;
  background: var(--color-white);
  box-shadow: 0 1px 12px color-mix(in srgb, #000 10%, transparent);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  pointer-events: none;
}
@media (min-width: 768px) {
  .header {
    height: 64px;
  }
}
.header.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

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

.header__logo {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.header__logo a {
  display: flex;
  align-items: center;
  height: 100%;
}
.header__logo img {
  width: auto;
  height: 30px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .header__logo img {
    height: 40px;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 12px;
}
@media (min-width: 768px) {
  .header__right {
    padding-right: 20px;
  }
}

.header__tagline {
  display: none;
}
@media (min-width: 768px) {
  .header__tagline {
    display: block;
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
}

.header__cases {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 16px;
  background: var(--color-cyan);
  color: var(--color-navy-dark);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
@media (min-width: 768px) {
  .header__cases {
    padding: 11px 20px;
    font-size: 1.4rem;
  }
}
@media (any-hover: hover) {
  .header__cases:hover {
    background-color: var(--color-cyan-light);
  }
}
.header__cases:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

/* ハンバーガーボタン（円＋2本線 → ×） */
.header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-navy-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
@media (min-width: 768px) {
  .header__menu-btn {
    width: 42px;
    height: 42px;
  }
}
@media (any-hover: hover) {
  .header__menu-btn:hover {
    background-color: var(--color-navy);
  }
}
.header__menu-btn:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 2px;
}

.header__menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
}
@media (min-width: 768px) {
  .header__menu-icon {
    width: 20px;
    height: 13px;
  }
}

.header__menu-bar {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
/* 閉状態：中央から上下に離す */
.header__menu-bar:nth-child(1) {
  transform: translateY(-4px);
}
.header__menu-bar:nth-child(2) {
  transform: translateY(4px);
}
/* 開状態：中央で回転だけ → 必ず対称な× */
.header__menu-btn[aria-expanded='true'] .header__menu-bar:nth-child(1) {
  transform: rotate(45deg);
}
.header__menu-btn[aria-expanded='true'] .header__menu-bar:nth-child(2) {
  transform: rotate(-45deg);
}

/* グローバルメニュー（全画面オーバーレイ） */
.global-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  padding: 76px 24px 40px;
  background: var(--color-navy-dark);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.is-menu-open .global-menu {
  opacity: 1;
  visibility: visible;
}
body.is-menu-open {
  overflow: hidden;
}

/* 収まる時は中央寄せ、はみ出す時はスクロール（auto余白が消える） */
.global-menu__inner {
  width: 100%;
  margin: auto 0;
}

.global-menu__list {
  width: min(100%, 420px);
  margin: 0 auto;
}

.global-menu__item {
  border-bottom: 1px solid color-mix(in srgb, var(--color-white) 14%, transparent);
}

.global-menu__item a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
@media (any-hover: hover) {
  .global-menu__item a:hover {
    color: var(--color-cyan);
  }
}
.global-menu__item a:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 2px;
}

.global-menu__en {
  min-width: 92px;
  color: var(--color-cyan);
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-menu__cta {
  display: block;
  width: min(100%, 420px);
  margin: 28px auto 0;
  padding: 16px 20px;
  background: var(--color-cyan);
  color: var(--color-navy-dark);
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
  transition: background-color 0.3s ease;
}
@media (any-hover: hover) {
  .global-menu__cta:hover {
    background-color: var(--color-cyan-light);
  }
}
.global-menu__cta:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

/* アンカー遷移時にヘッダー下へ隠れないように */
section[id] {
  scroll-margin-top: 60px;
}
@media (min-width: 768px) {
  section[id] {
    scroll-margin-top: 72px;
  }
}

/* ============================================
   01. ファーストビュー
============================================ */
.fv {
  position: relative;
  overflow: hidden;
  background-color: var(--color-navy);
  color: var(--color-white);
}
.fv::before {
  content: '';
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 46%;
  height: 100%;
  background: color-mix(in srgb, var(--color-navy-dark) 75%, #000);
  clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
}
@media (min-width: 768px) {
  .fv::before {
    display: block;
  }
}

.fv__inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 24px 16px 48px;
}
@media (min-width: 768px) {
  .fv__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 100svh;
    padding: 48px 40px;
  }
}

.fv__content {
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .fv__content {
    width: 50%;
  }
}

.fv__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.fv__title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
@media (min-width: 1080px) {
  .fv__title {
    font-size: 4.2rem;
  }
}

.fv__title-line {
  display: inline-block;
}

.fv__title-key {
  display: inline-block;
  margin: 6px 2px;
  padding: 0 12px;
  background: var(--color-cyan-light);
  color: var(--color-navy-dark);
}

.fv__lead {
  margin-top: 22px;
  color: color-mix(in srgb, var(--color-white) 88%, var(--color-navy));
  font-size: 1.25rem;
  line-height: 2;
}
@media (min-width: 768px) {
  .fv__lead {
    font-size: 1.3rem;
  }
}

.fv__tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
  line-height: 1.2;
}

@media screen and (min-width: 768px) {
  .fv__tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

.fv__tags li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}
@media (min-width: 1080px) {
  .fv__tags li {
    font-size: 2.2rem;
    gap: 8px;
  }
}
.fv__tags li::before {
  content: '#';
  color: transparent;
  font-size: 1.4em;
  font-weight: 900;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--color-white) 45%, transparent);
}

.fv__photo {
  order: -1;
  margin-bottom: 28px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .fv__photo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: auto;
    height: 100%;
    margin: 0;
  }
}
.fv__photo video {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .fv__photo video {
    width: auto;
    height: 100%;
  }
}

.fv__cta {
  margin-top: 40px;
  margin-left: 0;
}
@media (min-width: 768px) {
  .fv__cta {
    max-width: 580px;
  }
}

/* ============================================
   02. Before/After・垢抜け事例
============================================ */
.cases {
  padding: 72px 0 80px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .cases {
    padding: 110px 0 130px;
  }
}

.cases__inner {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
}

.cases__heading {
  margin-bottom: 40px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
}
@media (min-width: 768px) {
  .cases__heading {
    margin-bottom: 64px;
    font-size: 4rem;
  }
}

.cases__slider {
  overflow: hidden;
}

.cases__visual {
  position: relative;
  padding-bottom: 10px;
}

.cases__after {
  width: 72%;
  margin-left: 28%;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--color-navy-dark) 18%, transparent);
}
.cases__after img {
  width: 100%;
  height: auto;
}

.cases__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 34%;
  aspect-ratio: 1 / 1;
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
}

.cases__num span {
  display: block;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--color-white) 40%, transparent);
  font-family: var(--font-base);
  font-size: 1.1rem;
  font-weight: 700;
}

.cases__before {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 38%;
  border: 3px solid var(--color-navy-dark);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-navy-dark) 25%, transparent);
}
.cases__before img {
  width: 100%;
  height: auto;
}

.cases__arrow {
  position: absolute;
  bottom: 4%;
  left: 27%;
  z-index: 2;
  width: 24%;
  height: auto;
  filter: drop-shadow(0 4px 6px color-mix(in srgb, var(--color-navy-dark) 25%, transparent));
}

.cases__text {
  margin-top: 20px;
  font-size: 1.35rem;
  line-height: 1.95;
}

.cases__text em {
  color: var(--color-red);
  font-weight: 500;
}

.cases__nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.cases__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-navy-dark);
  border-radius: 50%;
  color: var(--color-white);
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
@media (any-hover: hover) {
  .cases__nav-btn:hover {
    background-color: var(--color-cyan-dark);
  }
}
.cases__nav-btn:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
}
.cases__nav-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.cases__more-wrap {
  margin-top: 44px;
  text-align: center;
}
@media (min-width: 768px) {
  .cases__more-wrap {
    margin-top: 56px;
  }
}

.cases__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 44px;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.cases__more svg {
  color: var(--color-cyan-dark);
  transition: color 0.3s ease, transform 0.3s ease;
}
@media (any-hover: hover) {
  .cases__more:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
  }
  .cases__more:hover svg {
    color: var(--color-white);
    transform: translateX(4px);
  }
}
.cases__more:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
}

/* ============================================
   03. 監修者・伴走者紹介
============================================ */
.mentors {
  padding: calc(56px + 6vw) 0 72px;
  background: var(--color-cyan-light);
  color: var(--color-navy-dark);
  clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 768px) {
  .mentors {
    padding: calc(80px + 6vw) 0 110px;
  }
}
.mentors[data-ghost]::after {
  top:2vw;
  color: color-mix(in srgb, var(--color-white) 20%, transparent);
}

.mentors .sec-label {
  color: var(--color-white);
}

.mentors__inner {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.mentors__heading {
  margin-bottom: 44px;
  font-weight: 900;
  text-align: center;
  color: var(--color-white);
}
@media (min-width: 768px) {
  .mentors__heading {
    margin-bottom: 60px;
  }
}

.mentors__heading-sub {
  display: block;
  margin-bottom: 8px;
  font-size: 1.7rem;
}
@media (min-width: 768px) {
  .mentors__heading-sub {
    font-size: 2.2rem;
  }
}

.mentors__heading-main {
  display: block;
  font-size: 2.3rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .mentors__heading-main {
    font-size: 3.2rem;
  }
}

.mentors__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 1080px) {
  .mentors__list {
    flex-direction: row;
    gap: 56px;
  }
}

.mentors__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  flex: 1;
  max-width: 400px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .mentors__card {
    grid-template-columns: 52% 1fr;
    gap: 26px;
    align-items: start;
    max-width: 600px;
  }
}

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

.mentors__followers-text {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.3;
}
.mentors__followers-text strong {
  margin: 0 2px;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.mentors__followers-deco {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2px;
  color: var(--color-navy-dark);
}

.mentors__name {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
}
@media (min-width: 768px) {
  .mentors__name {
    font-size: 3rem;
  }
}

.mentors__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.mentors__points p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.7;
}

.mentors__stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed color-mix(in srgb, var(--color-navy-dark) 45%, transparent);
}
.mentors__stats li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mentors__stat-label {
  display: inline-block;
  padding: 7px 16px 9px;
  background: var(--color-navy-dark);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.mentors__stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mentors__message {
  margin-top: 52px;
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.9;
}
@media (min-width: 768px) {
  .mentors__message {
    margin-top: 72px;
    font-size: 2.8rem;
  }
}

.mentors__message strong {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 15px 10px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.5em;
  line-height: 1.3;
}

.mentors__message-x {
  display: block;
  margin: 4px 0;
  color: var(--color-navy-dark);
  font-size: 2em;
  line-height: 1;
}
@media (min-width: 768px) {
  .mentors__message-x {
    display: inline;
    margin: 0 4px;
  }
}

.mentors__message-sub {
  margin-top: 16px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

/* ============================================
   04. 市場の現実
============================================ */
.reality {
  padding: 72px 0 80px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .reality {
    padding: 110px 0 120px;
  }
}

.reality__inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.reality__heading {
  margin-bottom: 16px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}
@media (min-width: 768px) {
  .reality__heading {
    margin-bottom: 16px;
    font-size: 3.4rem;
  }
}

.reality__lead {
  margin-bottom: 36px;
  text-align: center;
}

.reality__heading-red {
  display: inline-block;
  margin-top: 6px;
  color: var(--color-red);
  font-size: 1.24em;
  line-height: 1.2;
}

.reality__data {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 24px;
  background: var(--color-gray);
}
@media (min-width: 768px) {
  .reality__data {
    flex-direction: row;
    gap: 44px;
    padding: 32px 48px;
  }
}

.reality__chart {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 1 / 1;
  background: conic-gradient(var(--color-red) 0 3.8%, #d9dee2 3.8% 100%);
  border-radius: 50%;
}
.reality__chart::before {
  content: '';
  position: absolute;
  width: 74%;
  aspect-ratio: 1 / 1;
  background: var(--color-gray);
  border-radius: 50%;
}

.reality__chart-value {
  position: relative;
  color: var(--color-red);
  font-family: var(--font-en);
  font-size: 6rem;
  font-weight: 600;
  line-height: 1;
}
.reality__chart-value span {
  font-size: 2.4rem;
}

.reality__data-text {
  font-size: 1.45rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .reality__data-text {
    font-size: 1.5rem;
  }
}
.reality__data-text em {
  color: var(--color-red);
  font-size: 1.6em;
  font-weight: 900;
}

.reality__conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.reality__conditions li {
  padding: 6px 16px;
  background: var(--color-cyan-dark);
  border-radius: 6px;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
}

.reality__source {
  margin-top: 18px;
  color: var(--color-text-sub);
  font-size: 1.1rem;
  line-height: 1.6;
}

.reality__body {
  margin-top: 24px;
  text-align: center;
}
.reality__body p {
  margin-bottom: 1.4em;
}
.reality__body p:last-child {
  margin-bottom: 0;
}
.reality__body em {
  display: block;
  color: var(--color-red);
  font-weight: 700;
}
@media (min-width: 768px) {
  .reality__body em {
    display: inline;
  }
}

.reality__keywords {
  margin-top: 36px;
  padding: 28px 20px;
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 768px) {
  .reality__keywords {
    padding: 20px;
    font-size: 2.4rem;
  }
}

.reality__conclusion {
  margin-top: 24px;
  font-weight: 700;
  text-align: center;
  font-size: 1.8rem;
}
.reality__conclusion em {
  color: var(--color-red);
  font-weight: 700;
}

/* ============================================
   05. 問題提起
============================================ */
.problem {
  padding: calc(64px + 5vw) 0 80px;
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--color-cyan) 9%, transparent), transparent 46%),
    var(--color-navy-dark);
  color: var(--color-white);
  clip-path: polygon(0 0, 50% 6vw, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 768px) {
  .problem {
    padding: calc(96px + 5vw) 0 120px;
  }
}

.problem__inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.problem__heading {
  margin-bottom: 48px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 768px) {
  .problem__heading {
    margin-bottom: 64px;
    font-size: 3.2rem;
  }
}

.problem__heading-cyan {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-cyan);
  font-size: 1.3em;
}

.problem__body {
  max-width: 720px;
  margin: 0 auto;
}

.problem__body p {
  margin-bottom: 2em;
  line-height: 2.2;
}

.problem__box {
  padding: 10px 16px;
  background: var(--color-white);
  color: var(--color-navy-dark);
  font-weight: 700;
  line-height: 1.2;
}

.problem__accent {
  color: var(--color-cyan);
  font-weight: 700;
}

.problem__conclusion {
  font-size: 1.8rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .problem__conclusion {
    font-size: 2.2rem;
  }
}

.problem__conclusion em {
  background: linear-gradient(transparent 75%, var(--color-cyan) 75%);
  font-size: 1.35em;
  line-height: 1.6;
}

/* ============================================
   05. 共感エピソード
============================================ */
.empathy {
  padding: 72px 0;
  background:
    radial-gradient(circle at 12% 32%, color-mix(in srgb, var(--color-cyan) 7%, transparent), transparent 42%),
    var(--color-navy);
  color: var(--color-white);
}
@media (min-width: 768px) {
  .empathy {
    padding: 110px 0 calc(110px + 6vw);
  }
}

.empathy__inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.empathy__heading {
  margin-bottom: 44px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
}
@media (min-width: 768px) {
  .empathy__heading {
    margin-bottom: 56px;
    font-size: 3.2rem;
  }
}

.empathy__heading-cyan {
  color: var(--color-cyan-light);
  font-size: 1.4em;
}

.empathy__body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.2;
}
@media (min-width: 768px) {
  .empathy__body {
    font-size: 1.6rem;
  }
}

.empathy__body p {
  margin-bottom: 1.6em;
}
.empathy__body p:last-child {
  margin-bottom: 0;
}

.empathy__body em {
  color: var(--color-red);
  font-weight: 700;
  font-style: normal;
}

.empathy__cyan {
  color: var(--color-cyan-light);
  font-weight: 700;
}

.empathy__box {
  width: fit-content;
  margin-bottom: 1.6em;
  padding: 8px 22px;
  background: var(--color-cyan);
  color: var(--color-navy-dark);
  font-weight: 700;
  line-height: 1;
  font-size: 1.2em;
}

.empathy__photo {
  max-width: 560px;
  margin: 40px auto;
}

.empathy__bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 40px auto;
}
.empathy__bubbles li {
  padding: 12px 24px;
  background: var(--color-white);
  border-radius: 999px;
  color: var(--color-red);
  font-size: 1.45rem;
  font-weight: 700;
}

.empathy__list {
  max-width: 680px;
  margin: 40px auto;
}
.empathy__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .empathy__list li {
    font-size: 1.6rem;
  }
}
.empathy__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 16px;
  margin-top: 0.45em;
  background: url("data:image/svg+xml,%3Csvg width='23' height='17' viewBox='0 0 23 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.29212 16.9983C6.07861 16.9983 5.86336 16.9674 5.6341 16.8884C5.23858 16.7545 4.89207 16.5038 4.62081 16.1913L0.527399 11.4678C-0.22338 10.6025 -0.176128 9.2838 0.691906 8.53176C1.55994 7.77971 2.92674 7.86384 3.68802 8.74295L5.83535 11.2206C6.19762 11.6378 6.83814 11.6807 7.25466 11.315L19.4894 0.528819C20.3539 -0.233529 21.684 -0.163132 22.461 0.685066C23.238 1.53326 23.1663 2.83818 22.3017 3.60053L7.69918 16.4712C7.31241 16.8128 6.81014 17 6.29387 17L6.29212 16.9983Z' fill='%23E4554F'/%3E%3C/svg%3E") no-repeat center / contain;
}

.empathy__conclusion {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 16px 8px;
  border: 1.5px solid color-mix(in srgb, var(--color-white) 42%, transparent);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.6;
}
@media (min-width: 768px) {
  .empathy__conclusion {
    padding: 16px 36px;
    font-size: 1.9rem;
    max-width: 600px;
  }
}

.empathy__conclusion em {
  display: inline-block;
  margin: 0 4px;
  padding: 2px 12px 4px;
  background: var(--color-cyan-light);
  color: var(--color-navy-dark);
  font-style: normal;
  font-size: 1.3em;
  line-height: 1.3;
}

/* ============================================
   06. チャンス提示
============================================ */
.chance {
  margin-top: -6vw;
  padding: calc(72px + 6vw) 0 80px;
  background-color: var(--color-cyan-pale);
  background-image: radial-gradient(color-mix(in srgb, var(--color-cyan-dark) 9%, transparent) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 768px) {
  .chance {
    padding: calc(110px + 6vw) 0 120px;
  }
}

.chance__inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.chance__heading {
  margin-bottom: 40px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 768px) {
  .chance__heading {
    margin-bottom: 56px;
    font-size: 3.4rem;
  }
}

.chance__body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.chance__body p {
  margin-bottom: 1.8em;
  line-height: 2.1;
  font-size: 1.6rem;
}

.chance__body em {
  color: var(--color-cyan-dark);
  font-weight: 900;
}

.chance__graph {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 40px auto 16px;
  padding: 28px 24px 32px;
  background: var(--color-white);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-navy) 10%, transparent);
}
@media (min-width: 768px) {
  .chance__graph {
    padding: 36px 40px 40px;
  }
}

.chance__bar dt {
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}
.chance__bar--high dt {
  color: var(--color-cyan-dark);
  font-size: 1.6rem;
}

.chance__bar dd {
  background: color-mix(in srgb, var(--color-navy) 8%, transparent);
}

.chance__bar-fill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 48px;
  padding-right: 14px;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 600;
}

.chance__bar--low .chance__bar-fill {
  width: 40%;
  height: 40px;
  background: #aab4bd;
  font-size: 1.5rem;
}

.chance__bar--high .chance__bar-fill {
  width: 90%;
  height: 64px;
  background:
    linear-gradient(90deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
  font-size: 2.8rem;
}

.chance__graph-note {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-red);
  font-size: 2rem;
  text-align: center;
  font-weight: 900;
}

.chance__list {
  max-width: 680px;
  margin: 36px auto;
  justify-self: center;
}

.chance__list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 32px;
  font-size: 1.6rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .chance__list li {
    font-size: 1.8rem;
  }
}
.chance__list li::before {
  content: '';
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid var(--color-cyan-dark);
  border-left: 3px solid var(--color-cyan-dark);
  transform: rotate(-45deg);
}

.chance__conclusion {
  margin-top: 44px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.9;
  text-align: center;
}
@media (min-width: 768px) {
  .chance__conclusion {
    font-size: 3.2rem;
  }
}

.chance__conclusion span {
  background: linear-gradient(transparent 60%, color-mix(in srgb, var(--color-cyan) 50%, transparent) 60%);
}

/* ============================================
   07. 解決策：設計図と環境
============================================ */
.solution {
  padding: 72px 0 80px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .solution {
    padding: 110px 0 120px;
  }
}

.solution__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.solution__heading {
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
}
@media (min-width: 768px) {
  .solution__heading {
    margin-bottom: 48px;
    font-size: 3.2rem;
  }
}

.solution__heading em {
  display: inline-block;
  margin: 4px 2px;
  padding: 0 10px;
  background: var(--color-cyan);
}

.solution__heading-sub {
  display: block;
  margin-bottom: 10px;
  font-size: 0.62em;
}

.solution__body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.solution__body p {
  margin-bottom: 1.6em;
  line-height: 2.1;
}

.solution__body-emphasis {
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
  background-color: var(--color-navy-dark);
  width: fit-content;
  padding: 8px 22px;
  color: var(--color-white);
  font-size: 1.2em;
  line-height: 1;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .solution__body-emphasis {
    font-size: 2.8rem;
  }
}

.solution__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
}
@media (min-width: 768px) {
  .solution__cards {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }
}

.solution__cards-x {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 46px;
  /* +15px = カード枠線3px + ギャップ12pxの半分6px + さらに下のカード寄りに6px。継ぎ目のやや下に配置 */
  transform: translate(-50%, calc(50% + 10px));
}
.solution__cards-x svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .solution__cards-x {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    width: 60px;
    /* 15px = カード枠線3px + ギャップ24pxの半分12px。カード間ギャップの中央に×を置く */
    transform: translate(calc(50% + 15px), -50%);
  }
}

.solution__card {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 32px 28px 40px;
  z-index: 0;
  /* --plan は×を内包するため、後続の--envカードより前面に置く（下記--plan） */
  background: var(--color-cyan-pale);
  border: 3px solid var(--color-cyan-dark);
}

.solution__card--plan {
  z-index: 1;
}

.solution__card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--color-cyan-dark);
  font-size: 3rem;
  font-weight: 900;
}
@media (min-width: 768px) {
  .solution__card h3 {
    font-size: 3.6rem;
  }
}
.solution__card h3 svg {
  width: 40px;
  height: 40px;
}

.solution__card-copy {
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}

.solution__card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solution__card li {
  padding: 4px 12px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.8;
}

/* ============================================
   08. サービス全体像
============================================ */
.service {
  padding: 72px 0 80px;
  background: var(--color-gray);
}
@media (min-width: 768px) {
  .service {
    padding: 110px 0 120px;
  }
}

.service__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.service__heading {
  margin-top: 4rem;
  margin-bottom: 28px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
}
@media (min-width: 768px) {
  .service__heading {
    font-size: 3.2rem;
  }
}

.service__heading em {
  display: inline-block;
  margin: 4px 2px;
  padding: 0 10px;
  color: var(--color-white);
  background: var(--color-cyan-light);
}

.service__heading-sub {
  display: block;
  margin-bottom: 10px;
  font-size: 0.62em;
}

.service__lead {
  max-width: 760px;
  margin: 0 auto 56px;
  line-height: 2.1;
  text-align: center;
}

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

.service__pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .service__pillar {
    flex-direction: row;
    align-items: stretch;
  }
}
.service__pillar:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  z-index: 1;
  border-left: 84px solid transparent;
  border-right: 84px solid transparent;
  border-top: 36px solid var(--color-cyan-light);
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .service__pillar:not(:last-child)::after {
    border-left-width: 88px;
    border-right-width: 88px;
    border-top-width: 38px;
  }
}

.service__pillar-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--color-cyan-dark);
  color: var(--color-white);
}
@media (min-width: 768px) {
  .service__pillar-head {
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    width: 178px;
    padding: 24px 12px;
  }
}

.service__pillar-en {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: 8px;
}

.service__pillar-num {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}
@media (min-width: 768px) {
  .service__pillar-num {
    font-size: 8rem;
  }
}

.service__pillar-body {
  flex: 1;
  padding: 32px 24px;
}
@media (min-width: 768px) {
  .service__pillar-body {
    padding: 36px 40px;
  }
}

.service__pillar-name {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 2.2rem;
  font-weight: 900;
}
@media (min-width: 768px) {
  .service__pillar-name {
    font-size: 2.8rem;
  }
}

.service__pillar-copy {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 500;
}

.service__pillar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service__pillar-items li {
  padding: 6px 14px;
  background: var(--color-gray);
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 500;
}

.service__message {
  position: relative;
  margin-top: 56px;
  padding: 32px 12px;
  background:
    radial-gradient(circle at 88% 80%, color-mix(in srgb, var(--color-cyan) 16%, transparent), transparent 46%),
    var(--color-navy-dark);
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
}
@media (min-width: 768px) {
  .service__message {
    font-size: 3rem;
  }
}

.service__message em {
  color: var(--color-red);
}

/* ============================================
   10. AI時代における見た目・印象の価値
============================================ */
.ai {
  padding: 80px 0;
  background:
    linear-gradient(color-mix(in srgb, var(--color-white) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-white) 8%, transparent) 1px, transparent 1px),
    linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-dark) 70%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
  color: var(--color-white);
}
@media (min-width: 768px) {
  .ai {
    padding: 120px 0;
  }
}


.ai__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.ai__heading {
  margin-bottom: 44px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 768px) {
  .ai__heading {
    font-size: 3.4rem;
  }
}

.ai__body {
  max-width: 680px;
  margin: 0 auto 44px;
}

.ai__body p {
  margin-bottom: 1.8em;
  line-height: 2.1;
}

.ai__body em {
  color: var(--color-cyan);
  font-weight: 700;
}

.ai__values {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .ai__values {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.ai__values li {
  padding: 26px 24px;
  background-color: #21252C;
  border: 1px solid color-mix(in srgb, var(--color-cyan) 40%, transparent);
  border-left: 3px solid var(--color-cyan);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.ai__values strong {
  color: var(--color-cyan);
  font-size: 1.6em;
  font-weight: 900;
}

/* ============================================
   11. 6ヶ月カリキュラム
============================================ */
.curriculum {
  padding: 72px 0 80px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .curriculum {
    padding: 110px 0 120px;
  }
}

.curriculum__inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.curriculum__heading {
  margin-bottom: 56px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 768px) {
  .curriculum__heading {
    font-size: 3.4rem;
  }
}

.curriculum__timeline {
  display: flex;
  flex-direction: column;
  gap: 42px;
  max-width: 820px;
  margin: 0 auto;
}

.curriculum__month {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--color-cyan-pale);
}
@media (min-width: 768px) {
  .curriculum__month {
    padding: 30px 34px 30px;
  }
}

.curriculum__month-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  position: absolute;
  top: -34px;
  right: 14px;
  color: var(--color-cyan-dark);
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}
.curriculum__month-label span {
  font-size: 5rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .curriculum__month-label span {
    font-size: 7rem;
  }
}

.curriculum__month-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 92px;
  color: var(--color-text);
  font-size: 1.9rem;
  font-weight: 900;
}
@media (min-width: 768px) {
  .curriculum__month-title {
    font-size: 2.3rem;
  }
}

.curriculum__month-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}
.curriculum__month-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.curriculum__purpose {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1.9;
}

.curriculum__content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

@media screen and (min-width: 768px) {
  .curriculum__content {
    align-items: center;
  }
}

.curriculum__tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 4px 12px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
}

.curriculum__tag--content {
  background-color: var(--color-cyan-dark);
}

.curriculum__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.curriculum__items li {
  padding: 6px 14px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 500;
}

/* ============================================
   12. 第1期生限定特典
============================================ */
.benefits {
  padding: 64px 0 72px;
  background-color: var(--color-cyan-light);
}
@media (min-width: 768px) {
  .benefits {
    padding: 110px 0 120px;
  }
}

.benefits__inner {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

/* この水色背景ではラベルをダーク文字に */
.benefits .sec-label {
  color: var(--color-text);
}

.benefits__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 40px;
  color: var(--color-text);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}
@media (min-width: 768px) {
  .benefits__heading {
    gap: 7px;
    margin-bottom: 56px;
  }
}

.benefits__badge {
  display: inline-flex;
  align-items: baseline;
  padding: 6px 18px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.benefits__badge-sm {
  font-size: 1.6rem;
}
@media (min-width: 768px) {
  .benefits__badge {
    font-size: 3rem;
  }
}

.benefits__title {
  font-size: 2.2rem;
}
@media (min-width: 768px) {
  .benefits__title {
    font-size: 3.4rem;
  }
}

.benefits__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 864px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .benefits__list {
    gap: 20px 32px;
  }
}

.benefits__item {
  --benefit-size: min(40vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  width: var(--benefit-size);
  height: var(--benefit-size);
  padding: 4px 4px 16px;
  background: var(--color-white);
  border-radius: 50%;
  text-align: center;
}
@media (min-width: 768px) {
  .benefits__item {
    --benefit-size: 192px;
    gap: 10px;
  }
}
.benefits__item::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1.5px solid var(--color-cyan-dark);
  border-radius: 50%;
  pointer-events: none;
}

.benefits__num {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  color: var(--color-cyan-dark);
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1;
}
.benefits__num-label {
  padding-bottom: 2px;
  font-size: 1.3rem;
}
.benefits__num-value {
  font-size: 2.8rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .benefits__num-value {
    font-size: 3.2rem;
  }
}

.benefits__divider {
  width: 52%;
  max-width: 99px;
  height: 1px;
  background: var(--color-cyan-dark);
}

.benefits__name {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .benefits__name {
    font-size: 1.7rem;
  }
}

/* ============================================
   13. 料金・提供内容
============================================ */
.price {
  padding: 72px 0 20px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .price {
    padding: 110px 0 40px;
  }
}

.price__inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.price__heading {
  margin-bottom: 48px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
}
@media (min-width: 768px) {
  .price__heading {
    font-size: 3.2rem;
  }
}

.price__heading em {
  display: inline-block;
  margin: 4px 2px;
  padding: 0 10px;
  background: var(--color-cyan-light);
  color: var(--color-white);
}

.price__summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 880px;
  margin: 0 auto 12px;
  background: color-mix(in srgb, var(--color-white) 25%, var(--color-navy-dark));
}
@media (min-width: 768px) {
  .price__summary {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price__summary > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 10px;
  background: var(--color-navy-dark);
  color: var(--color-white);
}
.price__summary > div:nth-child(2) {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
}

.price__summary dt {
  margin-bottom: 8px;
  color: var(--color-cyan);
  font-size: 1.3rem;
  font-weight: 700;
}

.price__summary dd {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
}

.price__summary dd span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-base);
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .price__summary dd span {
    display: inline;
    margin-top: 0;
    margin-left: 2px;
  }
}

/* 月額(3万円)・期間(6ヶ月)は単位が短いのでSPでも横並び */
.price__summary > div:nth-child(2) dd span,
.price__summary > div:nth-child(3) dd span {
  display: inline;
  margin-top: 0;
  margin-left: 2px;
}

.price__per-day {
  max-width: 880px;
  margin: 0 auto;
  color: var(--color-text-sub);
  font-size: 1.2rem;
  text-align: right;
}

.price__details {
  display: grid;
  gap: 24px;
  max-width: 880px;
  margin: 40px auto 0;
}
@media (min-width: 768px) {
  .price__details {
    grid-template-columns: 1fr 1fr;
  }
}

.price__included,
.price__excluded {
  padding: 28px 24px 36px;
}

.price__included {
  background: var(--color-cyan-pale);
}

.price__excluded {
  background: var(--color-gray);
}

.price__included h3,
.price__excluded h3 {
  margin-bottom: 17px;
  padding-bottom: 10px;
  border-bottom: 2px solid currentColor;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.53;
}

.price__included h3 {
  color: var(--color-cyan-dark);
}

.price__excluded h3 {
  color: var(--color-text-sub);
}

.price__included ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
}

.price__excluded ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.price__included li,
.price__excluded li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1.8;
  white-space: nowrap;
}

.price__included li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--color-cyan-dark);
  border-left: 2px solid var(--color-cyan-dark);
  transform: rotate(-45deg);
}

.price__excluded li::before {
  content: '−';
  position: absolute;
  top: 0;
  left: 4px;
  color: var(--color-text-sub);
  font-weight: 700;
}

.price__note {
  max-width: 880px;
  margin: 24px auto 0;
}

.price__note p {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.5;
}

/* ============================================
   14. 競合比較・差別化
============================================ */
.compare {
  padding: 72px 0 80px;
  background: var(--color-gray);
}
@media (min-width: 768px) {
  .compare {
    padding: 110px 0 200px;
  }
}

.compare__inner {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.compare__heading {
  margin-bottom: 48px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 768px) {
  .compare__heading {
    font-size: 3.4rem;
  }
}

.compare__table-wrap {
  overflow-x: auto;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-navy) 10%, transparent);
  scrollbar-width: thin;
  scrollbar-color: var(--color-cyan-dark) transparent;
}
.compare__table-wrap::-webkit-scrollbar {
  height: 6px;
}
.compare__table-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.compare__table-wrap::-webkit-scrollbar-thumb {
  background: var(--color-cyan-dark);
  border-radius: 999px;
}

.compare__table {
  width: 100%;
  min-width: 640px;
  background: var(--color-white);
}

.compare__table th,
.compare__table td {
  padding: 14px 12px;
  border: 1px solid #dde3e8;
}

.compare__table thead th {
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
}

.compare__table tbody th {
  width: 30%;
  padding: 14px 16px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
}

.compare__table td {
  color: var(--color-text-sub);
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
}
@media (min-width: 768px) {
  .compare__table td {
    font-size: 2.6rem;
  }
}

.compare__table tbody .compare__table-own th {
  background: var(--color-cyan-light);
  color: var(--color-white);
}

.compare__table-own td {
  background: var(--color-cyan-pale);
  color: var(--color-cyan-dark);
}

.compare__caption {
  max-width: 980px;
  margin: 10px auto 0;
  color: var(--color-text-sub);
  font-size: 1.1rem;
  text-align: right;
}

.compare__notes {
  max-width: 980px;
  margin: 28px auto 0;
}

.compare__note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .compare__note {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }
}

.compare__note-label {
  flex-shrink: 0;
  width: fit-content;
  padding: 6px 12px;
  background-color: #E9ECED;
  color: var(--color-cyan-dark);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .compare__note-label {
    width: 200px;
    padding: 7px 10px;
    font-size: 1.6rem;
  }
}

.compare__note--own .compare__note-label {
  background: var(--color-cyan-light);
  color: var(--color-white);
}

.compare__note-text {
  display: flex;
  align-items: center;
  flex: 1;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1.9;
  font-weight: 500;
}
@media (min-width: 768px) {
  .compare__note-text {
    font-size: 1.8rem;
  }
}

.compare__message-bar {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding: 16px 20px;
  background: var(--color-navy-dark);
}
@media (min-width: 768px) {
  .compare__message-bar {
    margin-top: 72px;
    padding: 16px 20px;
  }
}

.compare__message {
  max-width: 980px;
  margin: 0 auto;
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
}
@media (min-width: 768px) {
  .compare__message {
    font-size: 2.6rem;
  }
}

/* ============================================
   15. お客様の声・モニターの声
============================================ */
.voice {
  padding: 72px 0 80px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .voice {
    padding: 110px 0 120px;
  }
}

.voice__inner {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.voice__heading {
  margin-bottom: 48px;
  font-size: 2.4rem;
  font-weight: 900;
  text-align: center;
}
@media (min-width: 768px) {
  .voice__heading {
    font-size: 3.4rem;
  }
}

.voice__list {
  display: grid;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .voice__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.voice__card {
  --voice-color: var(--color-cyan-dark);
  position: relative;
  padding: 21px 23px 17px;
  background: var(--color-gray);
  border: 1px solid #e8edf0;
}

.voice__card--look {
  --voice-color: var(--color-cyan-dark);
}

.voice__card--action {
  --voice-color: var(--color-navy);
}

.voice__card--relation {
  --voice-color: #5c6670;
}

.voice__card--love {
  --voice-color: var(--color-red);
}

.voice__tag {
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 3px 12px;
  background: var(--voice-color);
  border-radius: 0 0 0 8px;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
}

.voice__card-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.voice__avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
}
.voice__avatar-icon {
  display: block;
  width: 100%;
  height: 100%;
}
.voice__avatar-bg {
  fill: color-mix(in srgb, var(--voice-color) 20%, var(--color-white));
}
.voice__avatar-fg {
  fill: var(--voice-color);
}

.voice__text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .voice__text {
    font-size: 1.6rem;
  }
}

/* ============================================
   16. 利用の流れ
============================================ */
.flow {
  padding: 72px 0 80px;
  background: var(--color-cyan-pale);
}
@media (min-width: 768px) {
  .flow {
    padding: 110px 0 120px;
  }
}

.flow__inner {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
}

.flow__heading {
  margin-bottom: 48px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 768px) {
  .flow__heading {
    margin-bottom: 64px;
    font-size: 3.4rem;
  }
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}
@media (min-width: 1080px) {
  .flow__steps {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

.flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  padding: 70px 18px 28px;
  background: var(--color-cyan-light);
}

.flow__step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-white);
  color: var(--color-cyan-light);
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.flow__step-num span {
  font-size: 3.4rem;
}

.flow__step h3 {
  margin: 0;
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.42;
}

.flow__step p:not(.flow__step-num) {
  margin: 0;
  color: var(--color-text);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.55;
}

/* ============================================
   17. FAQ
============================================ */
.faq {
  padding: 72px 0 80px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .faq {
    padding: 110px 0 120px;
  }
}

.faq__inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.faq__heading {
  margin-bottom: 48px;
  font-size: 2.4rem;
  font-weight: 900;
  text-align: center;
}
@media (min-width: 768px) {
  .faq__heading {
    font-size: 3.4rem;
  }
}

.faq__item {
  margin-bottom: 14px;
  background: var(--color-white);
  border: 1px solid #dde3e8;
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease;
}
.faq__item.is-open {
  border-left-color: var(--color-cyan-dark);
}

.faq__button {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  width: 100%;
  padding: 22px 52px 22px 18px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  transition: background-color 0.3s ease;
}
@media (min-width: 768px) {
  .faq__button {
    padding: 12px 60px 12px 24px;
    font-size: 1.6rem;
  }
}
.faq__button::before {
  content: 'Q.';
  flex-shrink: 0;
  color: var(--color-cyan-dark);
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 600;
}
.faq__button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}
@media (any-hover: hover) {
  .faq__button:hover {
    background-color: var(--color-gray);
  }
}
.faq__button:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: -3px;
}
.faq__item.is-open .faq__button::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer-inner p {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 20px;
  font-size: 1.4rem;
  line-height: 1.9;
}
@media (min-width: 768px) {
  .faq__answer-inner p {
    padding: 16px 24px 16px;
    font-size: 1.5rem;
  }
}
.faq__answer-inner p::before {
  content: 'A.';
  flex-shrink: 0;
  color: var(--color-red);
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
}

/* ============================================
   18. 最終メッセージ・ラストCTA
============================================ */
.closing {
  padding: calc(88px + 6vw) 0 96px;
  background:
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--color-cyan) 10%, transparent), transparent 46%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  text-align: center;
  clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 768px) {
  .closing {
    padding: calc(120px + 6vw) 0 140px;
  }
}
.closing[data-ghost]::after {
  top: 7vw;
  color: color-mix(in srgb, var(--color-white) 5%, transparent);
}

.closing__inner {
  position: relative;
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.closing__heading {
  margin-bottom: 44px;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .closing__heading {
    font-size: 3.6rem;
  }
}

.closing__body {
  max-width: 790px;
  margin: 0 auto 44px;
}

.closing__body p {
  margin-bottom: 2em;
  line-height: 2.2;
}

.closing__emphasis {
  font-size: 1.8rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .closing__emphasis {
    font-size: 2.4rem;
  }
}

.closing__photo {
  max-width: 720px;
  margin: 0 auto 60px;
}

/* ============================================
   フッター
============================================ */
.footer {
  padding: 40px 20px 96px;
  background: #000000;
  color: var(--color-white);
  text-align: center;
}
@media (min-width: 768px) {
  .footer {
    padding: 56px 20px 110px;
  }
}

.footer__logo img {
  display: block;
  width: 200px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer__logo img {
    width: 240px;
  }
}

.footer__tagline {
  margin-top: 8px;
  color: color-mix(in srgb, var(--color-white) 60%, transparent);
  font-size: 1.2rem;
}

.footer__copyright {
  margin-top: 20px;
  color: color-mix(in srgb, var(--color-white) 45%, transparent);
  font-size: 1.1rem;
}

/* ============================================
   WordPress: 事例アーカイブ / 個別ページ
============================================ */
/* サブページはヘッダーを常時表示 */
.is-subpage .header {
  transform: translateY(0);
  pointer-events: auto;
}

/* --- 事例一覧（アーカイブ） --- */
.cases-archive {
  padding: 96px 0 100px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .cases-archive {
    padding: 132px 0 120px;
  }
}

.cases-archive__inner {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.cases-archive__heading {
  margin-bottom: 40px;
  font-size: 2.6rem;
  font-weight: 900;
  text-align: center;
}
@media (min-width: 768px) {
  .cases-archive__heading {
    margin-bottom: 56px;
    font-size: 3.4rem;
  }
}

.cases-archive__grid {
  display: grid;
  gap: 44px 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cases-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .cases-archive__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cases-archive__card {
  display: block;
  color: inherit;
}
.cases-archive__card .cases__after {
  transition: transform 0.3s ease;
}
@media (any-hover: hover) {
  .cases-archive__card:hover .cases__after {
    transform: translateY(-4px);
  }
}
.cases-archive__card:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 4px;
}

.cases-archive__empty {
  color: var(--color-text-sub);
  font-size: 1.5rem;
  text-align: center;
}

.cases-archive__back {
  margin-top: 56px;
  text-align: center;
}
.cases-archive__back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cyan-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.cases-archive .pagination,
.cases-archive__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.cases-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: var(--color-gray);
  color: var(--color-text);
  font-weight: 700;
}
.cases-archive__pagination .page-numbers.current {
  background: var(--color-cyan-dark);
  color: var(--color-white);
}

/* --- 事例個別 --- */
.case-single {
  padding: 96px 0 100px;
  background: var(--color-white);
}
@media (min-width: 768px) {
  .case-single {
    padding: 132px 0 120px;
  }
}

.case-single__inner {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
}

.case-single__profile {
  margin-bottom: 24px;
  color: var(--color-cyan-dark);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}
@media (min-width: 768px) {
  .case-single__profile {
    font-size: 1.8rem;
  }
}

.case-single__visual {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 10px;
}
.case-single__visual .cases__after {
  width: 100%;
  margin-left: 0;
}
.case-single__visual .cases__before {
  width: 40%;
}
.case-single__visual .cases__arrow {
  left: 22%;
  width: 26%;
}

.case-single__body {
  margin-top: 36px;
  font-size: 1.5rem;
  line-height: 2;
}
.case-single__body em {
  color: var(--color-red);
  font-weight: 500;
}

.case-single__back {
  margin-top: 48px;
  text-align: center;
}
.case-single__back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cyan-dark);
  font-size: 1.4rem;
  font-weight: 700;
}
