/* ==========================================================================
 * cogito design — トップページ専用スタイル
 * front-page.php でのみ読み込まれます。
 * ========================================================================== */


/* ===================================
 * プレースホルダー（開発中）
 * =================================== */
.fp-placeholder {
  padding-block: 80px;
  background: var(--color-bg-gray);
}

.fp-placeholder__text {
  text-align: center;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
}


/* =========================================================
 * HERO SECTION
 * ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background-color: transparent; /* Blob 背景を透過させる */
  padding-top: 64px;
  padding-bottom: 56px;   /* 次セクションへ自然につながるよう少し詰める */
  min-height: calc(100svh - 68px); /* ヘッダー高さを除いたビューポート */
  display: flex;
  align-items: center;
}

/* -----------------------------------
 * 2カラムグリッド
 * ----------------------------------- */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.65fr;  /* 右ビジュアルをさらに広く */
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
}

/* -----------------------------------
 * 左: テキストコンテンツ
 * ----------------------------------- */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* メインコピー */
.hero__title {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.3;
  color: #111;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-xl);
}

/* 各行を block 表示 + PC では折り返し禁止 */
.hero__title-line {
  display: block;
  white-space: nowrap;
}

/* アクセント部分も明朝・黒で統一 */
.hero__title-accent {
  color: #111;
  display: inline-block;
}

/* サブコピー */
.hero__sub {
  font-size: 16px;
  color: #111;
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

/* CTAボタン群 — PC: 横並び */
.hero__actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: nowrap;
  align-items: center;
}

.hero__actions .btn {
  min-width: 192px;
  max-width: 232px;
  text-align: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===================================
 * 右：3D カルーセル ビジュアル
 * =================================== */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* ラッパー（ステージ + ナビを縦に並べる） */
.hero__carousel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* 3D ステージ（perspective 適用コンテナ） */
.hero__carousel-stage {
  width: 380px;
  height: 260px;
  position: relative;
  perspective: 900px;
}

/* カルーセル本体（回転するコンテナ） */
.hero__carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------
 * 各カードアイテム
 * ----------------------------------- */
.hero__ci {
  position: absolute;
  width: 300px;
  height: 220px;
  left: 40px;  /* (380 - 300) / 2 */
  top: 20px;   /* (260 - 220) / 2 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 8px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

/* 6 枚を 60° ずつ配置（radius = translateZ = item width） */
.hero__ci--1 { transform: rotateY(  0deg) translateZ(300px); }
.hero__ci--2 { transform: rotateY( 60deg) translateZ(300px); }
.hero__ci--3 { transform: rotateY(120deg) translateZ(300px); }
.hero__ci--4 { transform: rotateY(180deg) translateZ(300px); }
.hero__ci--5 { transform: rotateY(240deg) translateZ(300px); }
.hero__ci--6 { transform: rotateY(300deg) translateZ(300px); }

/* ブラウザクロームバー */
.hero__ci-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* 信号機ドット */
.hero__ci-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D1D5DB;
  flex-shrink: 0;
}
.hero__ci-dot--r { background: #FF5F57; }
.hero__ci-dot--y { background: #FEBC2E; }
.hero__ci-dot--g { background: #28C840; }

/* URL バー */
.hero__ci-url {
  margin-left: 6px;
  padding: 3px 8px;
  background: #e4e4e4;
  border-radius: 4px;
  font-size: 9px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

/* カード本体 */
.hero__ci-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 実画像（body の代替） */
.hero__ci-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* サイト内ナビバー（細い帯） */
.hero__ci-topbar {
  height: 18px;
  flex-shrink: 0;
}

.hero__ci-topbar--teal   { background: linear-gradient(90deg, #3B82F6, #4EC5C1); }
.hero__ci-topbar--navy   { background: #1E3A5F; }
.hero__ci-topbar--brown  { background: linear-gradient(90deg, #78350F, #D97706); }
.hero__ci-topbar--purple { background: linear-gradient(90deg, #1C1B2E, #7E22CE); }
.hero__ci-topbar--sky    { background: linear-gradient(90deg, #0369A1, #0EA5E9); }
.hero__ci-topbar--pink   { background: linear-gradient(90deg, #EC4899, #8B5CF6); }

/* メインシーンエリア */
.hero__ci-scene {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  gap: 14px;
}

/* テーマ別背景 */
.hero__ci-scene--clinic { background: linear-gradient(135deg, #E0F2FE 0%, #CFFAFE 100%); }
.hero__ci-scene--corp   { background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%); }
.hero__ci-scene--cafe   { background: linear-gradient(135deg, #7C2D12 0%, #D97706 55%, #FEF3C7 100%); }
.hero__ci-scene--salon  { background: linear-gradient(135deg, #1C1B2E 0%, #3B0764 55%, #7E22CE 100%); }
.hero__ci-scene--school { background: linear-gradient(135deg, #0369A1 0%, #0EA5E9 55%, #BAE6FD 100%); }
.hero__ci-scene--design { background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 55%, #6366F1 100%); }

/* コピーブロック */
.hero__ci-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* タグ */
.hero__ci-tag {
  display: block;
  width: 34px;
  height: 7px;
  border-radius: 4px;
  background: rgba(78, 197, 193, 0.35);
  margin-bottom: 2px;
}
.hero__ci-tag--light { background: rgba(255, 255, 255, 0.30); }
.hero__ci-tag--gold  { background: rgba(251, 191, 36, 0.55); }
.hero__ci-tag--pink  { background: rgba(244, 114, 182, 0.50); }

/* テキストライン */
.hero__ci-line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
}
.hero__ci-line--lg   { width: 80%; }
.hero__ci-line--md   { width: 58%; }
.hero__ci-line--dark { background: rgba(15, 23, 42, 0.55); }

/* CTA ボタン */
.hero__ci-cta {
  display: block;
  width: 50px;
  height: 13px;
  border-radius: 6px;
  background: linear-gradient(90deg, #4EC5C1, #3B82F6);
  margin-top: 4px;
}
.hero__ci-cta--teal   { background: linear-gradient(90deg, #0EA5E9, #4EC5C1); }
.hero__ci-cta--light  { background: rgba(255, 255, 255, 0.28); border: 1px solid rgba(255, 255, 255, 0.55); }
.hero__ci-cta--amber  { background: linear-gradient(90deg, #FBBF24, #F97316); }
.hero__ci-cta--purple { background: linear-gradient(90deg, #C026D3, #7C3AED); }
.hero__ci-cta--sky    { background: rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.50); }
.hero__ci-cta--pink   { background: linear-gradient(90deg, #F472B6, #818CF8); }

/* サムネイル画像プレースホルダー */
.hero__ci-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
}
.hero__ci-thumb--circle  { border-radius: 50%; }
.hero__ci-thumb--portrait { height: 74px; width: 46px; border-radius: 6px; }
.hero__ci-thumb--square  { border-radius: 4px; }

.hero__ci-thumb--teal   { background: rgba(78, 197, 193, 0.25); }
.hero__ci-thumb--navy   { background: rgba(59, 130, 246, 0.30); }
.hero__ci-thumb--warm   { background: rgba(255, 255, 255, 0.28); }
.hero__ci-thumb--violet { background: rgba(168, 85, 247, 0.40); }
.hero__ci-thumb--sky    { background: rgba(255, 255, 255, 0.25); }
.hero__ci-thumb--pink   { background: rgba(244, 114, 182, 0.35); }

/* フッター機能バー */
.hero__ci-foot {
  display: flex;
  gap: 5px;
  padding: 7px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: #fff;
  flex-shrink: 0;
}
.hero__ci-foot span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #E5E7EB;
}
.hero__ci-foot--blue span { background: rgba(14, 165, 233, 0.18); }

/* ===================================
 * ナビゲーション（矢印 + ドット）
 * =================================== */
.hero__carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* 矢印ボタン */
.hero__carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: var(--color-text);
  cursor: pointer;
  transition:
    background    var(--transition-base),
    box-shadow    var(--transition-base),
    transform     var(--transition-base);
  flex-shrink: 0;
}
.hero__carousel-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  transform: scale(1.08);
}
.hero__carousel-arrow:active {
  transform: scale(0.94);
}

/* ドットインジケーター */
.hero__carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  transition:
    background  var(--transition-base),
    transform   var(--transition-base);
}

.hero__carousel-dot.is-active {
  background: var(--color-teal);
  transform: scale(1.5);
}


/* ===================================
 * 装飾要素
 * =================================== */
.hero__decos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__deco {
  position: absolute;
  border-radius: 50%;
  display: block;
}

/* ティール大円（左下・境界をはみ出す） */
.hero__deco--teal-circle {
  width: 380px;
  height: 380px;
  border: 2px solid rgba(78, 197, 193, 0.14);
  bottom: -140px;
  left: -100px;
}

/* ブルー円（右上・薄いグロー） */
.hero__deco--blue-circle {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  top: -160px;
  right: -80px;
  border-radius: 50%;
}



/* ===================================
 * ニュースティッカー
 * =================================== */
.hero__ticker {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: var(--radius-full);
  overflow: hidden;
  height: 44px;
}

.hero__ticker-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  color: #111;
  padding-inline: 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__ticker-window {
  flex: 1;
  overflow: hidden;
  height: 44px;
  min-width: 0;
}

.hero__ticker-track {
  list-style: none;
  /* JS が translateY で制御 */
}

.hero__ticker-item {
  height: 44px;
  display: flex;
  align-items: center;
  padding-inline: 14px;
}

.hero__ticker-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  text-decoration: none;
}

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

.hero__ticker-link time {
  font-size: 11px;
  color: var(--color-text-sub);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__ticker-text {
  font-size: 13px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* --------------------------------
 * タブレット（〜1100px）
 * -------------------------------- */
@media (max-width: 1100px) {
  .hero__carousel-stage {
    width: 340px;
    height: 240px;
    perspective: 800px;
  }

  .hero__ci {
    width: 270px;
    height: 200px;
    left: 35px;
    top: 20px;
  }

  .hero__ci--1 { transform: rotateY(  0deg) translateZ(270px); }
  .hero__ci--2 { transform: rotateY( 60deg) translateZ(270px); }
  .hero__ci--3 { transform: rotateY(120deg) translateZ(270px); }
  .hero__ci--4 { transform: rotateY(180deg) translateZ(270px); }
  .hero__ci--5 { transform: rotateY(240deg) translateZ(270px); }
  .hero__ci--6 { transform: rotateY(300deg) translateZ(270px); }
}

/* --------------------------------
 * タブレット小（〜900px）
 * -------------------------------- */
@media (max-width: 900px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero__title {
    font-size: clamp(28px, 4vw, 40px);
  }

  .hero__title-line {
    white-space: normal; /* タブレットでは折り返し許可 */
  }

  .hero__sub {
    font-size: var(--font-size-base);
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .hero__actions .btn--lg {
    padding: 12px 22px;
    font-size: var(--font-size-sm);
    min-width: 160px;
  }

  .hero__carousel-stage {
    width: 300px;
    height: 220px;
    perspective: 720px;
  }

  .hero__ci {
    width: 250px;
    height: 190px;
    left: 25px;
    top: 15px;
  }

  .hero__ci--1 { transform: rotateY(  0deg) translateZ(250px); }
  .hero__ci--2 { transform: rotateY( 60deg) translateZ(250px); }
  .hero__ci--3 { transform: rotateY(120deg) translateZ(250px); }
  .hero__ci--4 { transform: rotateY(180deg) translateZ(250px); }
  .hero__ci--5 { transform: rotateY(240deg) translateZ(250px); }
  .hero__ci--6 { transform: rotateY(300deg) translateZ(250px); }

  .hero__deco--teal-circle { display: none; }
}

/* --------------------------------
 * モバイル（〜768px）: 1カラム
 * -------------------------------- */
@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
    align-items: flex-start;
  }

  /* 縦並びに変更 */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__title {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: var(--space-lg);
  }

  /* モバイルでは折り返し許可 */
  .hero__title-line {
    white-space: normal;
  }

  .hero__sub {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xl);
    max-width: none;
  }

  /* モバイルではサブ改行を非表示 */
  .hero__sub-br {
    display: none;
  }

  /* モバイル: ボタン縦並び */
  .hero__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__actions .btn {
    min-width: unset;
    max-width: none;
    width: 100%;
    justify-content: center;
  }

  /* モバイルではカルーセルを非表示（1カラムレイアウト優先） */
  .hero__visual {
    display: none;
  }

  /* 装飾要素を縮小 */
  .hero__deco--teal-circle { display: none; }
  .hero__deco--blue-circle  { width: 280px; height: 280px; }
  .hero__deco--yellow       { bottom: auto; top: 40%; left: 88%; }
  .hero__deco--pink         { display: none; }
}

/* --------------------------------
 * モバイル小（〜480px）
 * -------------------------------- */
@media (max-width: 480px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: 26px;
  }
}


/* =========================================================
 * PROBLEMS SECTION — こんなお悩みありませんか？
 * ========================================================= */
.problems {
  background-color: var(--color-bg);
}

/* -----------------------------------
 * 見出し
 * ----------------------------------- */
.problems__title {
  font-size: clamp(26px, 3.4vw, 38px);  /* 存在感を強める */
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-align: center;
  line-height: var(--line-height-tight);
}

/* section-header の margin-bottom を上書き */
.problems .section-header {
  margin-bottom: var(--space-3xl);
}

/* -----------------------------------
 * チェックリスト（2カラムグリッド）
 * ----------------------------------- */
.problems__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-3xl);  /* 縦: 32px / 横: 64px */
  max-width: 840px;
  margin-inline: auto;
  list-style: none;
}

/* -----------------------------------
 * 各アイテム
 * ----------------------------------- */
.problems__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

/* -----------------------------------
 * チェックアイコン（CSS製グラデーション丸）
 * ----------------------------------- */
.problems__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gradient);
  position: relative;
  margin-top: 1px; /* テキスト1行目との垂直位置合わせ */
}

/* チェックマーク（白い疑似要素） */
.problems__check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  /* チェック形状: 短辺 + 長辺の L 字を rotate で傾ける */
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-55%, -65%) rotate(-45deg);
  border-radius: 1px;
}

/* -----------------------------------
 * テキスト
 * ----------------------------------- */
.problems__text {
  font-size: var(--font-size-md);     /* 15px → 16px */
  color: var(--color-text);
  line-height: 1.75;                  /* 読みやすい行間 */
}

/* モバイルで br を非表示（1カラムなので折り返し不要） */
.problems__br {
  display: none;
}

/* -----------------------------------
 * 締めの一文
 * ----------------------------------- */
.problems__closing {
  margin-top: var(--space-4xl);       /* チェックリストから十分な余白 */
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border-light);
  text-align: center;
  font-size: var(--font-size-lg);     /* 16px → 18px で読みやすく */
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: var(--line-height-loose);
  max-width: 540px;
  margin-inline: auto;
}

/* =========================================================
 * PROBLEMS — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜768px）: 1カラム
 * -------------------------------- */
@media (max-width: 768px) {
  .problems__list {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 480px;
  }

  .problems__closing {
    font-size: var(--font-size-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
  }
}

/* --------------------------------
 * モバイル小（〜480px）
 * -------------------------------- */
@media (max-width: 480px) {
  .problems .section-header {
    margin-bottom: var(--space-xl);
  }

  .problems__closing br {
    display: none;
  }
}


/* =========================================================
 * SERVICES SECTION — cogito designでできること
 * ========================================================= */

/* -----------------------------------
 * カードグリッド（3 × 2）
 * ----------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;          /* 32px → 40px: カード間の余白を少し広げる */
  list-style: none;
}

/* -----------------------------------
 * サービスカード
 * ----------------------------------- */
.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 44px 36px 52px;   /* 上: 44px / 左右: 36px / 下: 52px */
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--transition-slow),
    transform  var(--transition-slow);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* -----------------------------------
 * アイコンエリア
 * SVG差し替え時は .service-card__icon 内の svg を置き換えるだけでOK
 * ----------------------------------- */
.service-card__icon {
  width: 64px;                /* 52px → 64px */
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(78, 197, 193, 0.12) 0%,
    rgba(59, 130, 246, 0.08) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);   /* 24px → 32px */
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 32px;                /* 26px → 32px */
  height: 32px;
  color: var(--color-teal);   /* stroke="currentColor" を継承 */
}

/* -----------------------------------
 * カード見出し
 * ----------------------------------- */
.service-card__title {
  font-size: var(--font-size-lg);     /* 16px → 18px */
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);     /* 12px → 16px */
}

/* -----------------------------------
 * カード説明文
 * ----------------------------------- */
.service-card__desc {
  font-size: var(--font-size-base);   /* 13px → 15px */
  color: var(--color-text-sub);
  line-height: 1.85;                  /* loose(1.9)より少し締めて読みやすく */
  flex: 1;   /* カード高さが揃うよう残りスペースを埋める */
}

/* -----------------------------------
 * 補足テキスト
 * ----------------------------------- */
.services__note {
  margin-top: var(--space-3xl);
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--color-text-sub);
  line-height: var(--line-height-loose);
}

/* -----------------------------------
 * CTAボタン
 * ----------------------------------- */
.services__cta {
  margin-top: var(--space-3xl);   /* 48px → 64px */
  display: flex;
  justify-content: center;
}

.services__cta .btn {
  min-width: 240px;
  padding-inline: 48px;           /* btn--lg の左右paddingを拡張 */
}

/* =========================================================
 * SERVICES — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜960px）: 2カラム
 * -------------------------------- */
@media (max-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------
 * モバイル（〜600px）: 1カラム
 * -------------------------------- */
@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .services__note {
    margin-top: var(--space-2xl);
    font-size: var(--font-size-sm);
  }
}


/* =========================================================
 * REASONS SECTION — cogito designが選ばれる理由
 * ========================================================= */

/* -----------------------------------
 * 理由ブロック グリッド（3カラム）
 * ----------------------------------- */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl) var(--space-3xl); /* 縦64px / 横64px */
}

/* -----------------------------------
 * 理由ブロック（枠なし・開放感のあるレイアウト）
 * ----------------------------------- */
.reason-block {
  display: flex;
  flex-direction: column;
  align-items: center;    /* アイコン・見出し・本文をすべて中央揃え */
  text-align: center;
}

/* -----------------------------------
 * アイコン（グラデーション円形背景）
 * ----------------------------------- */
.reason-block__icon {
  width: 88px;                      /* 72px → 88px */
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(78, 197, 193, 0.14) 0%,
    rgba(59, 130, 246, 0.09) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);   /* 32px */
  flex-shrink: 0;
}

.reason-block__icon svg {
  width: 40px;                      /* 34px → 40px */
  height: 40px;
  color: var(--color-teal);
}

/* -----------------------------------
 * 見出し
 * ----------------------------------- */
.reason-block__title {
  font-size: var(--font-size-2xl);    /* 20px → 24px */
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-lg);     /* 16px → 24px */
}

/* -----------------------------------
 * 説明文
 * ----------------------------------- */
.reason-block__desc {
  font-size: var(--font-size-md);     /* 15px → 16px */
  color: var(--color-text-sub);
  line-height: var(--line-height-loose);
  max-width: 300px;                   /* 280px → 300px */
}

/* =========================================================
 * 代表プロフィール（カード型）
 * ========================================================= */
.reasons__profile {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);          /* 64px */
  margin-top: var(--space-4xl);   /* 96px */
  padding: var(--space-3xl);      /* border-top → カード内部のpadding に変更 */
  background: var(--color-bg-gray);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  max-width: 820px;
  margin-inline: auto;
}

/* -----------------------------------
 * アバター（円形）
 * ----------------------------------- */
.profile__avatar {
  flex-shrink: 0;
  width: 120px;                   /* 100px → 120px */
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* CSSプレースホルダー */
.profile__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile__avatar-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 実写真差し替え後のスタイル */
.profile__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* -----------------------------------
 * プロフィール本文
 * ----------------------------------- */
.profile__body {
  flex: 1;
}

.profile__role {
  font-size: var(--font-size-base);   /* sm(13px) → base(15px) */
  font-weight: var(--font-weight-medium);
  color: var(--color-teal);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);     /* md(16px) → lg(24px) */
}

.profile__text {
  font-size: var(--font-size-base);
  color: var(--color-text-sub);
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-md);     /* sm(12px) → md(16px) */
}

.profile__text:last-child {
  margin-bottom: 0;
}

/* =========================================================
 * REASONS — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜900px）: 3カラム維持、間隔を少し詰める
 * -------------------------------- */
@media (max-width: 900px) {
  .reasons__grid {
    gap: var(--space-2xl) var(--space-xl);
  }

  .reasons__profile {
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
  }
}

/* --------------------------------
 * タブレット小（〜720px）: 2カラムに変更
 * -------------------------------- */
@media (max-width: 720px) {
  .reasons__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

/* --------------------------------
 * モバイル（〜600px）: 1カラム
 * -------------------------------- */
@media (max-width: 600px) {
  .reasons__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .reason-block__desc {
    max-width: none;
  }

  /* プロフィールカード: 縦並び・中央揃え */
  .reasons__profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) var(--space-xl);
  }
}


/* =========================================================
 * WORKS SECTION — 制作サンプル / Works
 * ========================================================= */

/* -----------------------------------
 * Works グリッド（2カラム × 3行）
 * ----------------------------------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  list-style: none;
}

/* -----------------------------------
 * タグ — グラデーション（業種タグ）
 * .tag--gray（種別タグ）は components.css を流用
 * ----------------------------------- */
.tag--gradient {
  background: var(--color-gradient);
  color: #fff;
}

/* -----------------------------------
 * CTAボタン
 * ----------------------------------- */
/* アイキャッチなし時のプレースホルダー */
.card-works__thumb-placeholder,
.card-notes__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-gradient);
  opacity: 0.12;
}

/* 投稿なし時のメッセージ */
.works__empty,
.notes__empty {
  text-align: center;
  color: var(--color-text-sub);
  font-size: var(--font-size-sm);
  padding-block: var(--space-3xl);
}

.works__cta {
  margin-top: var(--space-3xl);
  display: flex;
  justify-content: center;
}

.works__cta .btn {
  min-width: 240px;
  padding-inline: 48px;
}

/* =========================================================
 * Works CSS モックアップ（仮サムネイル）
 *
 * .card-works__thumb 内に配置する CSS 製サイトプレビュー。
 * 実スクリーンショットへの差し替え時は丸ごと削除して <img> を配置。
 * ========================================================= */
.works-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

/* -----------------------------------
 * ブラウザクローム（上部バー）
 * ----------------------------------- */
.works-mock__chrome {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  background: #ebebeb;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
}

.works-mock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.works-mock__dot--r { background: #FF5F57; }
.works-mock__dot--y { background: #FEBC2E; }
.works-mock__dot--g { background: #28C840; }

.works-mock__url-bar {
  flex: 1;
  margin-left: 6px;
  padding: 3px 8px;
  background: #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.works-mock__url-bar span {
  font-size: 8px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -----------------------------------
 * サイト本体エリア
 * ----------------------------------- */
.works-mock__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* サイト内ヘッダーバー（白/ライト系） */
.works-mock__site-header {
  height: 16px;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.works-mock__site-header--dark {
  background: rgba(20,20,30,0.88);
}

.works-mock__site-header--corporate {
  background: rgba(30,58,95,0.95);
}

.works-mock__site-header--bright {
  background: rgba(2,88,156,0.92);
}

/* ヒーローエリア */
.works-mock__site-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* コピーブロック */
.works-mock__site-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.works-mock__site-copy--right {
  align-items: flex-start;
}

/* タグライン */
.works-mock__site-tag {
  width: 32px;
  height: 7px;
  background: rgba(78,197,193,0.40);
  border-radius: 4px;
  margin-bottom: 2px;
}

.works-mock__site-tag--gold {
  background: rgba(251,191,36,0.55);
}

/* テキストライン */
.works-mock__site-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(30,30,30,0.65);
}

.works-mock__site-line--light { background: rgba(255,255,255,0.80); }
.works-mock__site-line--lg  { width: 82%; }
.works-mock__site-line--md  { width: 65%; }
.works-mock__site-line--sm  { width: 50%; }

/* CTAボタン */
.works-mock__site-btn {
  width: 44px;
  height: 12px;
  background: linear-gradient(90deg, #4EC5C1, #3B82F6);
  border-radius: 6px;
  margin-top: 4px;
}

.works-mock__site-btn--outline {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.70);
}

.works-mock__site-btn--bright {
  background: linear-gradient(90deg, #FBBF24, #F97316);
}

.works-mock__site-btn--accent {
  background: linear-gradient(90deg, #c026d3, #9333ea);
}

/* 右側の画像プレースホルダー */
.works-mock__site-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.20);
}

.works-mock__site-img--circle { border-radius: 50%; }
.works-mock__site-img--portrait { height: 72px; width: 46px; }
.works-mock__site-img--square { border-radius: 4px; }

.works-mock__site-img--food {
  width: 68px;
  height: 100%;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
}

/* フィーチャーバー（下部アイコン行） */
.works-mock__site-features {
  display: flex;
  gap: 6px;
  padding: 6px 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.works-mock__site-features span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
}

/* =======================================================
 * テーマごとの背景色
 * ======================================================= */

/* 1. クリニック — 清潔感のある淡いブルー */
.works-mock--clinic .works-mock__site-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
}

.works-mock--clinic .works-mock__site-line { background: rgba(15,23,42,0.55); }
.works-mock--clinic .works-mock__site-features { border-color: rgba(0,0,0,0.08); }
.works-mock--clinic .works-mock__site-features span { background: rgba(14,165,233,0.20); }
.works-mock--clinic .works-mock__site-img { background: rgba(14,165,233,0.20); border-radius: 50%; }

/* 2. カフェ — ウォームコーヒーブラウン */
.works-mock--cafe .works-mock__site-hero {
  background: linear-gradient(135deg, #7C2D12 0%, #B45309 55%, #FEF3C7 100%);
}

.works-mock--cafe .works-mock__site-features span { background: rgba(255,255,255,0.18); }
.works-mock--cafe .works-mock__site-img--circle { background: rgba(255,255,255,0.25); }

/* 3. 美容室 — ラグジュアリーパープル×ダーク */
.works-mock--salon .works-mock__site-hero {
  background: linear-gradient(135deg, #1C1B2E 0%, #3B0764 60%, #7E22CE 100%);
}

.works-mock--salon .works-mock__site-hero--lp {
  padding-right: 8px;
}

.works-mock--salon .works-mock__site-img--portrait {
  background: rgba(168,85,247,0.35);
  border-radius: 4px;
}

/* 4. コーポレート — プロフェッショナルネイビー */
.works-mock--corporate .works-mock__site-hero {
  background: linear-gradient(135deg, #1E3A5F 0%, #1D4ED8 65%, #3B82F6 100%);
}

.works-mock--corporate .works-mock__site-features span { background: rgba(255,255,255,0.20); }

/* 5. スクール — 明るいスカイブルー */
.works-mock--school .works-mock__site-hero {
  background: linear-gradient(135deg, #0369A1 0%, #0EA5E9 55%, #BAE6FD 100%);
}

.works-mock--school .works-mock__site-img--square { background: rgba(255,255,255,0.28); }
.works-mock--school .works-mock__site-features span { background: rgba(255,255,255,0.22); }

/* 6. 飲食店 — 深みのあるウォームオレンジ */
.works-mock--food .works-mock__site-hero {
  background: linear-gradient(135deg, #7C2D12 0%, #C2410C 50%, #FB923C 100%);
}

.works-mock--food .works-mock__site-hero--food {
  padding-right: 6px;
}

/* =========================================================
 * WORKS — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜768px）: 2カラム維持（間隔を詰める）
 * -------------------------------- */
@media (max-width: 768px) {
  .works__grid {
    gap: var(--space-xl);
  }
}

/* --------------------------------
 * モバイル（〜600px）: 1カラム
 * -------------------------------- */
@media (max-width: 600px) {
  .works__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .works__cta .btn {
    min-width: unset;
    width: 100%;
    max-width: 320px;
    padding-inline: var(--space-xl);
  }
}


/* =========================================================
 * NOTES SECTION — 制作ノート
 * ========================================================= */

/* -----------------------------------
 * Notes グリッド（3カラム）
 * ----------------------------------- */
.notes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  list-style: none;
}

/* -----------------------------------
 * CTAボタン
 * ----------------------------------- */
.notes__cta {
  margin-top: var(--space-3xl);
  display: flex;
  justify-content: center;
}

.notes__cta .btn {
  min-width: 240px;
  padding-inline: 48px;
}

/* =========================================================
 * Notes CSS サムネイル（仮）
 *
 * .card-notes__thumb 内に配置する CSS 製装飾プレースホルダー。
 * アイキャッチ画像への差し替え時は .notes-thumb ごと <img> に置き換え。
 * ========================================================= */
.notes-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

/* --- アイコンラッパー --- */
.notes-thumb__icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.notes-thumb__icon svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255,255,255,0.95);
}

/* --- 装飾要素（共通） --- */
.notes-thumb__deco {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

/* -------------------------------------------------------
 * テーマ 1: design — ピンク×パープル グラデーション
 * ------------------------------------------------------- */
.notes-thumb--design {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 60%, #6366f1 100%);
}

.notes-thumb--design .notes-thumb__deco--circle-1 {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.10);
  top: -32px;
  right: -24px;
}

.notes-thumb--design .notes-thumb__deco--circle-2 {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  bottom: -16px;
  left: 12px;
}

/* -------------------------------------------------------
 * テーマ 2: tips — グリーン×ティール グラデーション
 * ------------------------------------------------------- */
.notes-thumb--tips {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 55%, #06b6d4 100%);
}

/* ドットグリッド装飾 */
.notes-thumb--tips .notes-thumb__deco--grid {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 14px 14px;
}

.notes-thumb--tips .notes-thumb__deco--circle-3 {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.10);
  bottom: -24px;
  right: -20px;
}

/* -------------------------------------------------------
 * テーマ 3: wp — ブルー グラデーション（WordPress風）
 * ------------------------------------------------------- */
.notes-thumb--wp {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 55%, #60a5fa 100%);
}

.notes-thumb--wp .notes-thumb__deco--dots {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.15) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

/* WordPress ラベル */
.notes-thumb__wp-label {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.70);
  font-family: var(--font-sans, sans-serif);
}

/* =========================================================
 * NOTES — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜900px）: 2カラム
 * -------------------------------- */
@media (max-width: 900px) {
  .notes__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* 3枚目のカードを中央に寄せる */
  .notes__grid > li:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-xl) / 2);
    margin-inline: auto;
  }
}

/* --------------------------------
 * モバイル（〜600px）: 1カラム
 * -------------------------------- */
@media (max-width: 600px) {
  .notes__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .notes__grid > li:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  .notes__cta .btn {
    min-width: unset;
    width: 100%;
    max-width: 320px;
    padding-inline: var(--space-xl);
  }
}


/* =========================================================
 * PRICING SECTION — 料金の目安
 * ========================================================= */

/* -----------------------------------
 * 料金グリッド（3カラム）
 * ----------------------------------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

/* -----------------------------------
 * 料金カード — ベース
 * ----------------------------------- */
.price-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  /* featured と高さ揃えるために stretch で使う */
}

/* -----------------------------------
 * スタンダードプラン強調
 * ----------------------------------- */
.price-card--featured {
  box-shadow:
    0 8px 40px rgba(78, 197, 193, 0.16),
    0 2px 12px rgba(0, 0, 0, 0.06);
}

/* グラデーションのトップボーダー */
.price-card--featured::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--color-gradient);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* -----------------------------------
 * 人気No.1 バッジ
 * ----------------------------------- */
.price-card__badge {
  display: inline-block;
  background: var(--color-gradient);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin: 28px var(--space-2xl) 0;  /* featured の ::before 分を考慮 */
  align-self: flex-start;
}

/* -----------------------------------
 * カードヘッド（プラン名 + 価格）
 * ----------------------------------- */
.price-card__head {
  padding: var(--space-xl) var(--space-2xl) var(--space-lg);
}

/* badge がある場合のみ上余白を詰める */
.price-card--featured .price-card__head {
  padding-top: var(--space-md);
}

/* 通常カードの上余白（top border がないのでそのまま） */
.price-card:not(.price-card--featured) .price-card__head {
  padding-top: var(--space-2xl);
}

.price-card__name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}

/* 価格 — グラデーションテキスト */
.price-card__amount {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-card__unit {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

/* -----------------------------------
 * 機能リスト
 * ----------------------------------- */
.price-card__features {
  list-style: none;
  padding: 0 var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.price-card__features li {
  position: relative;
  padding-left: 26px;
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

/* チェックアイコン（CSS製） */
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gradient);
  flex-shrink: 0;
}

/* チェックマーク（白、::after で描く） */
.price-card__features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

/* -----------------------------------
 * おすすめ対象（カード下部グレーボックス）
 * ----------------------------------- */
.price-card__recommend {
  margin: var(--space-xl) var(--space-2xl) var(--space-2xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
}

.price-card__recommend-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-teal);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2xs);
}

.price-card__recommend-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-sub);
  line-height: var(--line-height-base);
}

/* -----------------------------------
 * 注釈
 * ----------------------------------- */
.pricing__notes {
  list-style: none;
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.pricing__notes li {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  line-height: var(--line-height-base);
}

/* -----------------------------------
 * CTAボタン
 * ----------------------------------- */
.pricing__cta {
  margin-top: var(--space-3xl);
  display: flex;
  justify-content: center;
}

.pricing__cta .btn {
  min-width: 240px;
  padding-inline: 48px;
}

/* =========================================================
 * PRICING — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜900px）: 2カラム
 * -------------------------------- */
@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* スタンダードプランを2カラム幅で強調 */
  .price-card--featured {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-xl) / 2);
    margin-inline: auto;
  }
}

/* --------------------------------
 * タブレット小（〜680px）: 1カラム
 * -------------------------------- */
@media (max-width: 680px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .price-card--featured {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }
}

/* --------------------------------
 * モバイル（〜480px）
 * -------------------------------- */
@media (max-width: 480px) {
  .price-card__head {
    padding-inline: var(--space-xl);
  }

  .price-card:not(.price-card--featured) .price-card__head {
    padding-top: var(--space-xl);
  }

  .price-card__badge {
    margin-inline: var(--space-xl);
  }

  .price-card__features {
    padding-inline: var(--space-xl);
  }

  .price-card__recommend {
    margin-inline: var(--space-xl);
    margin-bottom: var(--space-xl);
  }

  .price-card__amount {
    font-size: 40px;
  }

  .pricing__cta .btn {
    min-width: unset;
    width: 100%;
    max-width: 320px;
    padding-inline: var(--space-xl);
  }
}


/* =========================================================
 * FLOW SECTION — 制作の流れ
 * ========================================================= */

.flow {
  background: var(--color-bg);
}

/* -----------------------------------
 * ステップコンテナ（横並びグリッド）
 * ----------------------------------- */
.flow__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
  position: relative;
}

/* -----------------------------------
 * 各ステップ
 * ----------------------------------- */
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* -----------------------------------
 * 番号（グラデーション円）
 * ----------------------------------- */
.flow-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(78, 197, 193, 0.22);
}

.flow-step__num {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
  line-height: 1;
}

/* -----------------------------------
 * アイコン
 * ----------------------------------- */
.flow-step__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.flow-step__icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-teal);
  stroke-width: 1.5;
}

/* -----------------------------------
 * タイトル
 * ----------------------------------- */
.flow-step__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-sm);
}

/* -----------------------------------
 * 説明文
 * ----------------------------------- */
.flow-step__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-sub);
  line-height: var(--line-height-base);
}

/* 説明文内の改行（モバイル用） */
.flow-step__br {
  display: none;
}

/* -----------------------------------
 * 矢印（ステップ間）
 * ----------------------------------- */
.flow-step__arrow {
  position: absolute;
  top: 24px;
  right: -20px;
  width: 32px;
  height: 32px;
  transform: translateX(50%);
  opacity: 0.3;
}

.flow-step__arrow svg {
  width: 100%;
  height: 100%;
  color: var(--color-teal);
}

/* 最後のステップには矢印を表示しない */
.flow-step:last-child .flow-step__arrow {
  display: none;
}

/* -----------------------------------
 * 補足文
 * ----------------------------------- */
.flow__note {
  margin-top: var(--space-3xl);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: var(--line-height-loose);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-light);
  max-width: 480px;
  margin-inline: auto;
}

/* =========================================================
 * FLOW — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット大（〜1100px）: 3カラム × 2段
 * -------------------------------- */
@media (max-width: 1100px) {
  .flow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl) var(--space-xl);
  }

  /* 3の倍数のステップの矢印を非表示 */
  .flow-step:nth-child(3) .flow-step__arrow,
  .flow-step:nth-child(6) .flow-step__arrow {
    display: none;
  }
}

/* --------------------------------
 * タブレット（〜768px）: 2カラム
 * -------------------------------- */
@media (max-width: 768px) {
  .flow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl) var(--space-lg);
  }

  /* 偶数ステップの矢印を非表示 */
  .flow-step:nth-child(even) .flow-step__arrow {
    display: none;
  }

  .flow-step__number {
    width: 48px;
    height: 48px;
  }

  .flow-step__num {
    font-size: var(--font-size-xl);
  }

  .flow-step__icon {
    width: 40px;
    height: 40px;
  }

  .flow__note {
    margin-top: var(--space-2xl);
    font-size: var(--font-size-xs);
  }
}

/* --------------------------------
 * モバイル（〜600px）: 1カラム（タイムライン風）
 * -------------------------------- */
@media (max-width: 600px) {
  .flow__steps {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    position: relative;
    padding-left: var(--space-xl);
  }

  /* 縦のタイムラインライン（疑似要素） */
  .flow__steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      rgba(78, 197, 193, 0.3) 0%,
      rgba(59, 130, 246, 0.3) 100%
    );
  }

  .flow-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-lg);
    position: relative;
  }

  /* 番号を左固定 */
  .flow-step__number {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
  }

  /* 右側のコンテンツ */
  .flow-step__content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-step__icon {
    margin-bottom: var(--space-sm);
  }

  .flow-step__title {
    margin-bottom: var(--space-xs);
  }

  /* モバイルでは説明文の改行を有効化 */
  .flow-step__br {
    display: inline;
  }

  /* 横矢印を非表示 */
  .flow-step__arrow {
    display: none;
  }

  .flow__note {
    padding-left: 0;
  }
}

/* --------------------------------
 * モバイル小（〜480px）
 * -------------------------------- */
@media (max-width: 480px) {
  .flow__steps {
    padding-left: var(--space-md);
  }

  .flow__steps::before {
    left: 19px;
  }

  .flow-step__number {
    width: 40px;
    height: 40px;
  }

  .flow-step__num {
    font-size: var(--font-size-lg);
  }

  .flow-step__icon {
    width: 36px;
    height: 36px;
  }

  .flow__note br {
    display: none;
  }
}


/* =========================================================
 * FAQ SECTION — よくある質問
 * ========================================================= */

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

/* -----------------------------------
 * FAQ リスト
 * ----------------------------------- */
.faq__list {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* -----------------------------------
 * FAQ アイテム（カード）
 * ----------------------------------- */
.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

/* -----------------------------------
 * 質問ボタン
 * ----------------------------------- */
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-2xl);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.faq-item__question:hover {
  background-color: var(--color-bg-gray);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: -2px;
}

/* -----------------------------------
 * Qアイコン（グラデーション円）
 * ----------------------------------- */
.faq-item__q-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gradient);
  color: #fff;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(78, 197, 193, 0.20);
}

/* -----------------------------------
 * 質問テキスト
 * ----------------------------------- */
.faq-item__q-text {
  flex: 1;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

/* -----------------------------------
 * 開閉トグルアイコン（プラス/マイナス）
 * ----------------------------------- */
.faq-item__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  transition: transform var(--transition-base);
}

.faq-item__toggle svg {
  width: 24px;
  height: 24px;
}

/* 開いた状態 → マイナスアイコン（45度回転） */
.faq-item__question[aria-expanded="true"] .faq-item__toggle {
  transform: rotate(45deg);
}

/* -----------------------------------
 * 回答エリア
 * ----------------------------------- */
.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow) ease-in-out;
}

.faq-item__answer[hidden] {
  display: block;
}

/* 開いた状態 */
.faq-item__question[aria-expanded="true"] + .faq-item__answer {
  max-height: 500px; /* 十分な高さを確保 */
}

/* -----------------------------------
 * 回答内容（インナー）
 * ----------------------------------- */
.faq-item__answer-inner {
  padding: 0 var(--space-2xl) var(--space-xl);
  padding-left: calc(var(--space-2xl) + 44px + var(--space-md)); /* Qアイコン分のインデント */
}

.faq-item__answer-inner p {
  font-size: var(--font-size-base);
  color: var(--color-text-sub);
  line-height: var(--line-height-loose);
  margin: 0;
}

.faq-item__answer-inner p + p {
  margin-top: var(--space-md);
}

/* =========================================================
 * FAQ — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜768px）
 * -------------------------------- */
@media (max-width: 768px) {
  .faq-item__question {
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-sm);
  }

  .faq-item__q-icon {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }

  .faq-item__q-text {
    font-size: var(--font-size-base);
  }

  .faq-item__answer-inner {
    padding: 0 var(--space-xl) var(--space-lg);
    padding-left: calc(var(--space-xl) + 40px + var(--space-sm));
  }

  .faq-item__answer-inner p {
    font-size: var(--font-size-sm);
  }
}

/* --------------------------------
 * モバイル（〜600px）
 * -------------------------------- */
@media (max-width: 600px) {
  .faq__list {
    gap: var(--space-sm);
  }

  .faq-item__question {
    padding: var(--space-md) var(--space-lg);
  }

  .faq-item__q-icon {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
  }

  .faq-item__toggle {
    width: 28px;
    height: 28px;
  }

  .faq-item__toggle svg {
    width: 20px;
    height: 20px;
  }

  .faq-item__answer-inner {
    padding: 0 var(--space-lg) var(--space-md);
    padding-left: calc(var(--space-lg) + 36px + var(--space-sm));
  }
}

/* --------------------------------
 * モバイル小（〜480px）
 * -------------------------------- */
@media (max-width: 480px) {
  .faq-item__q-text {
    font-size: var(--font-size-sm);
  }

  .faq-item__answer-inner br {
    display: none;
  }
}


/* =========================================================
 * CTA FINAL SECTION — お問い合わせCTA（最終セクション）
 * ========================================================= */

.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(224, 242, 254, 0.4) 0%,
    rgba(240, 253, 250, 0.5) 50%,
    rgba(255, 255, 255, 0.6) 100%
  );
  padding-block: var(--space-5xl);
}

/* -----------------------------------
 * インナーコンテンツ
 * ----------------------------------- */
.cta-final__inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* -----------------------------------
 * 見出し
 * ----------------------------------- */
.cta-final__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

/* -----------------------------------
 * 本文
 * ----------------------------------- */
.cta-final__desc {
  font-size: var(--font-size-md);
  color: var(--color-text-sub);
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-3xl);
  max-width: 620px;
}

/* PC用改行 */
.cta-final__br {
  display: inline;
}

/* -----------------------------------
 * CTAボタン
 * ----------------------------------- */
.cta-final__button {
  margin-bottom: var(--space-2xl);
}

.cta-final__button .btn {
  min-width: 280px;
  padding-inline: var(--space-3xl);
  font-size: var(--font-size-lg);
  box-shadow: 0 8px 24px rgba(78, 197, 193, 0.25);
}

.cta-final__button .btn:hover {
  box-shadow: 0 12px 32px rgba(78, 197, 193, 0.35);
  transform: translateY(-2px);
}

/* -----------------------------------
 * 補足情報リスト
 * ----------------------------------- */
.cta-final__notes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.cta-final__notes li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: var(--line-height-base);
}

.cta-final__notes svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-teal);
  opacity: 0.7;
}

/* -----------------------------------
 * 装飾要素
 * ----------------------------------- */
.cta-final__decos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cta-final__deco {
  position: absolute;
  border-radius: 50%;
  display: block;
}

/* 左下の淡いティール円 */
.cta-final__deco--circle-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(78, 197, 193, 0.10) 0%,
    transparent 70%
  );
  bottom: -80px;
  left: -60px;
}

/* 右上の淡いブルー円 */
.cta-final__deco--circle-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  top: -60px;
  right: -40px;
}

/* =========================================================
 * CTA FINAL — RESPONSIVE
 * ========================================================= */

/* --------------------------------
 * タブレット（〜768px）
 * -------------------------------- */
@media (max-width: 768px) {
  .cta-final {
    padding-block: var(--space-4xl);
  }

  .cta-final__title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: var(--space-lg);
  }

  .cta-final__desc {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-2xl);
  }

  .cta-final__button .btn {
    min-width: 240px;
    padding-inline: var(--space-2xl);
  }

  .cta-final__notes {
    gap: var(--space-xs);
  }

  .cta-final__notes li {
    font-size: var(--font-size-xs);
  }

  .cta-final__notes svg {
    width: 16px;
    height: 16px;
  }

  /* 装飾円を縮小 */
  .cta-final__deco--circle-1 {
    width: 240px;
    height: 240px;
  }

  .cta-final__deco--circle-2 {
    width: 200px;
    height: 200px;
  }
}

/* --------------------------------
 * モバイル（〜600px）
 * -------------------------------- */
@media (max-width: 600px) {
  .cta-final {
    padding-block: var(--space-3xl);
  }

  .cta-final__title {
    font-size: 26px;
  }

  .cta-final__desc {
    font-size: var(--font-size-sm);
  }

  /* 改行を無効化 */
  .cta-final__br {
    display: none;
  }

  .cta-final__button .btn {
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }

  .cta-final__notes {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 320px;
  }

  /* 装飾円をさらに縮小 */
  .cta-final__deco--circle-1 {
    width: 180px;
    height: 180px;
  }

  .cta-final__deco--circle-2 {
    display: none;
  }
}

/* --------------------------------
 * モバイル小（〜480px）
 * -------------------------------- */
@media (max-width: 480px) {
  .cta-final__title br {
    display: none;
  }
}


/* =========================================================
 * FRONT NEWS SECTION（お知らせ）
 * ========================================================= */
/* ===================================
 * お知らせ / NEWS
 * =================================== */
.front-news {
  padding-block: var(--space-3xl);
  background-color: #fff;
}

/* 2カラムレイアウト */
.front-news__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* 左カラム：見出し＋ボタン */
.front-news__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  position: sticky;
  top: calc(80px + var(--space-xl)); /* ヘッダー高さ分オフセット */
}

.front-news__label {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #111;
}

.front-news__sub {
  font-size: var(--font-size-base);
  color: var(--color-text-sub);
}

.front-news__btn {
  margin-top: var(--space-sm);
}

/* 右カラム：リスト */
.front-news__list {
  border-top: 1px solid #111;
}

.front-news__item {
  border-bottom: 1px solid #111;
}

/* 各行 */
.front-news__link {
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  align-items: center;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
  transition: opacity var(--transition-base);
}

.front-news__link:hover {
  opacity: 0.6;
}

/* 日付 */
.front-news__date {
  font-size: var(--font-size-base);
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* カテゴリバッジ */
.front-news__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  border: 1px solid #111;
  border-radius: var(--radius-full);
  padding: 3px 14px;
  white-space: nowrap;
  text-align: center;
}

/* タイトル */
.front-news__text {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

/* レスポンシブ（〜960px） */
@media (max-width: 960px) {
  .front-news__inner {
    grid-template-columns: 160px 1fr;
    gap: var(--space-2xl);
  }

  .front-news__link {
    grid-template-columns: 100px 90px 1fr;
    gap: var(--space-md);
  }
}

/* レスポンシブ（〜768px） */
@media (max-width: 768px) {
  .front-news {
    padding-block: var(--space-2xl);
  }

  .front-news__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .front-news__aside {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    position: static;
    gap: var(--space-md);
  }

  .front-news__label {
    font-size: 40px;
  }

  .front-news__btn {
    margin-top: 0;
    margin-left: auto;
  }

  .front-news__link {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
    padding-block: var(--space-md);
  }
}
