/* ============================================================
   Looqr LP — style.css
   仕様書 v2 準拠 / 明朝禁止 / 角丸/影なし / カラー・余白統一
   ============================================================ */

:root {
  /* カラー */
  --color-accent: #DF6000;
  --color-accent-hover: #C45200;
  --color-accent-light: #FFF3EB;
  --color-bg-warm: #F7F5F0;
  --color-bg-warm-dark: #EFEBE4;
  --color-bg-white: #FFFFFF;
  --color-bg-orange: #F0924A;
  --color-text: #1C1B18;
  --color-text-mid: #4A4840;
  --color-text-light: #8A8780;
  --color-border: #E0DDD6;

  /* フォント */
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-en: 'DM Sans', sans-serif;

  /* フォントサイズ（読みやすさ重視・引き上げ） */
  --size-h1: clamp(2.6rem, 4.8vw, 4rem);
  --size-h2: clamp(1.75rem, 3.4vw, 2.5rem);
  --size-h3: clamp(1.2rem, 2.1vw, 1.55rem);
  --size-body: 1.05rem;
  --size-body-sm: 0.95rem;
  --size-small: 0.875rem;
  --size-label: 0.72rem;

  /* レイアウト */
  --content-width: 1200px;
  --content-padding: 60px;
  --section-padding: 120px 0;
}

@media (max-width: 768px) {
  :root {
    --content-padding: 24px;
    --section-padding: 80px 0;
  }
}

/* -------- リセット -------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--size-body);
  line-height: 1.95;
  color: var(--color-text);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  letter-spacing: 0.02em;
}
p { font-weight: 500; }

/* Grid item shrinkability fix — prevents overflow on narrow viewports */
.hero-grid > *,
.flow-3 > *,
.gallery-3 > *,
.pain-grid > *,
.service-grid > *,
.compare-2 > *,
.tech-row > *,
.target-list-wrap > *,
.parts-grid > *,
.about-grid > *,
.pricing-grid > *,
.steps-grid > *,
.footer-grid > * { min-width: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.45; letter-spacing: 0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }

/* -------- 共通レイアウト -------- */
.content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}
.content.narrow { max-width: 880px; }

main > section { padding: var(--section-padding); width: 100%; position: relative; }

/* ============================================================
   背景パターン3種統合
   - bg-A: クリーム + ドット柄（暖かみ）
   - bg-B: ホワイト + グリッド柄（クリーン）
   - bg-C: オレンジグラデーション + ウェーブ（情緒）
   ============================================================ */
.bg-A {
  background-color: var(--color-bg-warm);
  background-image: url("assets/patterns/dots.svg");
  background-size: 80px 80px;
  background-repeat: repeat;
}
.bg-B {
  background-color: var(--color-bg-white);
  background-image: url("assets/patterns/grid-soft.svg");
  background-size: 120px 120px;
  background-repeat: repeat;
}
/* 水彩オレンジ背景：必ず縁のオレンジが見えるようストレッチ表示 */
.bg-orange {
  background-color: #FFF1E0;
  background-image: url("assets/photos/bg-orange.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
/* 特定セクション用：BG_Orange不透明度60% 上敷きレイヤー */
.bg-orange-30 {
  position: relative;
}
.bg-orange-30::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/photos/bg-orange.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.bg-orange-30 > * { position: relative; z-index: 1; }
.bg-C {
  background-image:
    url("assets/patterns/wave.svg"),
    linear-gradient(180deg, #FFE7D2 0%, #FFD2A8 100%);
  background-size: 100% 160px, auto;
  background-position: bottom center, top left;
  background-repeat: no-repeat, no-repeat;
}
/* アクセント装飾：セクション右上などにオレンジの薄い円形ブロブ */
.deco-blob {
  position: absolute;
  pointer-events: none;
  background-image: url("assets/patterns/blob.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.55;
}
.deco-blob.tr { top: -100px; right: -120px; width: 480px; height: 480px; }
.deco-blob.bl { bottom: -80px; left: -100px; width: 380px; height: 380px; }
.deco-blob.tl { top: -60px; left: -80px; width: 320px; height: 320px; }
/* セクション内コンテンツはz-index:1 */
main > section > .content { position: relative; z-index: 1; }
/* bg-orange セクションは水彩背景があるのでblob装飾を消す */
section.bg-orange .deco-blob { display: none; }

/* -------- セクション見出し -------- */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }

.eyebrow {
  font-family: var(--font-en);
  font-size: var(--size-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 20px;
}
.eyebrow.accent-line::before,
.eyebrow.accent-line::after {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--color-accent);
  vertical-align: middle;
  margin: 0 10px;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.85); }
.eyebrow.light.accent-line::before,
.eyebrow.light.accent-line::after { background: rgba(255, 255, 255, 0.7); }
.eyebrow .dot { color: var(--color-text-light); margin: 0 4px; }

.section-title {
  font-size: var(--size-h2);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  font-weight: 900;
}
.section-title.light { color: #fff; }

.section-desc {
  color: var(--color-text-mid);
  font-size: var(--size-body);
  line-height: 2;
  max-width: 720px;
  font-weight: 500;
}
.section-desc.center { margin-left: auto; margin-right: auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 16px; }
}

/* -------- ボタン -------- */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  letter-spacing: 0.08em;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-primary.lg { padding: 22px 56px; font-size: 1.05rem; }

.center-cta { text-align: center; margin-top: 48px; }

/* -------- プレースホルダー（写真／アイコン） -------- */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg,
      #E5E2DC 0 12px, #DEDBD5 12px 24px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  text-transform: uppercase;
}
.photo-placeholder.tall   { aspect-ratio: 3 / 4; }
.photo-placeholder.wide   { aspect-ratio: 16 / 10; }
.photo-placeholder.square { aspect-ratio: 1 / 1; }
.compare-card .photo-placeholder.square { aspect-ratio: 5 / 4; max-height: 280px; }
.compare-photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--color-bg-warm-dark);
}
.compare-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.icon-slot {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--color-accent);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.icon-slot img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

/* 新アイコン系（カンプ準拠・大幅拡大） */
/* PAINカード：カンプの大きな円形クリーム背景にアイコン */
.icon-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #EAE3D5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.icon-circle img { width: 70%; height: 70%; object-fit: contain; display: block; }

/* SERVICEカード：アイコンは大きく、背景なし */
.service-icon {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.service-icon img { max-height: 160px; max-width: 100%; object-fit: contain; display: block; }

/* TARGETリスト：左に大きめライン */
.icon-mini {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-mini img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* PARTSの大サイズ：カンプのように主役級 */
.icon-large {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.icon-large img { max-height: 180px; max-width: 220px; object-fit: contain; display: block; }

/* ABOUTカード：中サイズ */
.icon-mid {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.icon-mid img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* FLOWのラインイラスト：カンプのように大きく */
.icon-line {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
}
.icon-line img { max-height: 140px; max-width: 100%; object-fit: contain; display: block; }

@media (max-width: 768px) {
  .icon-circle { width: 120px; height: 120px; }
  .service-icon { height: 130px; }
  .service-icon img { max-height: 130px; }
  .icon-mini { width: 60px; height: 60px; }
  .icon-large { height: 140px; }
  .icon-large img { max-height: 140px; max-width: 180px; }
  .icon-line { height: 110px; }
  .icon-line img { max-height: 110px; }
}

/* -------- 料金プラン内の小アイコン -------- */
.ft .ft-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: -3px;
  margin-right: 8px;
  flex-shrink: 0;
}
.plan-features li .ft {
  display: inline-flex;
  align-items: center;
}

/* -------- 番号バッジ（オレンジ円・白文字） -------- */
.badge-num {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge-num.square { border-radius: 0; }
.badge-num.sm { width: 36px; height: 36px; font-size: 0.85rem; }
.badge-num.lg { width: 56px; height: 56px; font-size: 1.2rem; }

/* -------- 大きく薄い背景番号 -------- */
.big-num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 4.5rem;
  color: var(--color-accent);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}

/* -------- ユーティリティ：オレンジ強調 -------- */
.accent { color: var(--color-accent); }
.accent-strong { color: var(--color-accent); font-weight: 700; }
.hl { color: var(--color-accent); font-weight: 700; }
strong.hl { color: var(--color-accent); font-weight: 700; }
.warn-strong { color: #1F5FB3; font-weight: 700; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(224, 221, 214, 0.6);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 245, 240, 0.35);
  border-bottom-color: rgba(224, 221, 214, 0.15);
}
.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 18px var(--content-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 768px) { .logo img { height: 32px; } }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-menu > a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.15s ease;
  padding: 0 18px;
  position: relative;
  white-space: nowrap;
}
.nav-menu > a:not(.nav-cta):not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 12px;
  background: var(--color-border);
}
.nav-menu > a:hover { color: var(--color-accent); }
.nav-menu .nav-cta {
  background: var(--color-accent);
  color: #fff;
  padding: 14px 28px;
  font-weight: 800;
  margin-left: 14px;
  font-size: 0.95rem;
}
.nav-menu .nav-cta:hover { background: var(--color-accent-hover); color: #fff; }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(247, 245, 240, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 24px 24px;
    border-top: 1px solid var(--color-border);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu > a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    justify-content: center;
  }
  .nav-menu > a:not(.nav-cta):not(:last-of-type)::after { display: none; }
  .nav-menu .nav-cta { margin-top: 16px; margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   ① HERO — フルブリード背景
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 !important;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 15%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(247, 245, 240, 0.96) 0%,
      rgba(247, 245, 240, 0.86) 30%,
      rgba(247, 245, 240, 0.45) 55%,
      rgba(247, 245, 240, 0.15) 80%,
      rgba(247, 245, 240, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero-text { max-width: 620px; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--color-text);
}
.hero-lead {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-eyebrow {
  font-size: 0;
  margin-bottom: 28px;
  letter-spacing: 0;
}
.hero-eyebrow .brand-line {
  display: block;
  font-family: var(--font-body);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.hero-eyebrow .brand-en {
  display: block;
  font-family: var(--font-en);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: none;
}
@media (max-width: 1024px) {
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(247, 245, 240, 0.95) 0%,
      rgba(247, 245, 240, 0.82) 50%,
      rgba(247, 245, 240, 0.55) 100%);
  }
}
@media (max-width: 1024px) {
  .hero-title,
  .hero-lead,
  .hero-eyebrow .brand-en {
    color: #fff !important;
    text-shadow: none !important;
  }
  /* 背景写真の1つ上に黒70% のレイヤー */
  .hero-overlay {
    display: block !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.70) !important;
  }
}
@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero-content { padding-top: 110px; padding-bottom: 64px; }
  .hero-bg-image { object-position: 70% 80%; }
  .hero-text { max-width: 100%; }
}


/* ============================================================
   ② SAMPLES
   ============================================================ */
.samples { background: transparent; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
  position: sticky;
  top: 70px;
  background: rgba(255, 248, 242, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 50;
  padding: 6px 0 0;
}
.tab {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  padding: 14px 24px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s ease;
}
.tab:hover { color: var(--color-text); }
.tab.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 700;
}

.flow-3 {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 64px;
}
.samples-desc { text-align: left; }
@media (max-width: 768px) { .samples-desc { text-align: left; } }

/* 写真主役レイアウト：写真が大きく、下に番号+タイトル+本文 */
.sample-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 56px;
}
.sample-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.sample-step.is-result .sample-step-image {
  border: 3px solid var(--color-accent);
}
/* 3枚目だけ下がらないように、padding-topではなく相対オフセット用の余白を内部で確保 */
.sample-step.is-result { padding-top: 0; }
.sample-step.is-result .result-tag { top: -14px; }
.sample-step .result-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  white-space: nowrap;
  z-index: 5;
}
.sample-step-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg-white);
}
.sample-step-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sample-step-image.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: transparent;
  aspect-ratio: 3 / 4;
}
.sample-step-image.dual img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.sample-step.is-result .sample-step-image { aspect-ratio: 3 / 4; }
.sample-step-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 4px 0;
}
.step-num-big {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sample-step-text h3 { font-size: 1.1rem; font-weight: 800; margin-top: 2px; }
.sample-step-text p { font-size: 0.88rem; line-height: 1.75; color: var(--color-text); font-weight: 500; }
@media (max-width: 1024px) {
  .sample-steps { grid-template-columns: 1fr; gap: 32px; }
  /* SAMPLESタブ：2行配置＋ヘッダー直下に追従 */
  .samples .tabs {
    top: 60px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 0;
    background: rgba(255, 248, 242, 0.98);
    padding: 8px 0;
    border-top: 1px solid var(--color-border);
  }
  .samples .tab {
    padding: 10px 8px;
    font-size: 0.82rem;
    border-bottom: 2px solid transparent;
    margin-bottom: 0;
  }
  /* セクション全体でstickyが動作するようoverflow制御 */
  .samples { overflow: visible; }
  /* calloutが次セクションと被らないよう余白追加＋word-break */
  .samples .callout {
    margin-bottom: 24px;
    padding: 20px 22px;
  }
  .samples .callout p {
    font-size: 1rem !important;
    line-height: 1.85 !important;
    height: auto !important;
    letter-spacing: 0.04em !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 600px) {
  .samples .tabs { grid-template-columns: repeat(2, 1fr); }
  .samples .tab { font-size: 0.78rem; }
}

.flow-card {
  background: var(--color-bg-warm);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.flow-card .num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 3.8rem;
  color: var(--color-accent);
  opacity: 0.22;
  line-height: 1;
  letter-spacing: -0.02em;
  position: absolute;
  top: 18px;
  right: 24px;
  pointer-events: none;
}
.flow-card h3 { font-size: 1.2rem; margin-top: 8px; font-weight: 800; }
.sample-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-white);
  margin-top: 8px;
}
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sample-thumb.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: transparent;
}
.sample-thumb.dual img { aspect-ratio: 4 / 5; }
.gallery-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.gallery-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-card p { color: var(--color-text); font-size: 0.95rem; line-height: 1.9; font-weight: 500; }
.flow-card.is-result {
  background: var(--color-bg-white);
  border: 2px solid var(--color-accent);
}
.flow-card .result-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  white-space: nowrap;
}
.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 300;
  position: relative;
}
.flow-arrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  margin-right: -8px;
}
@media (max-width: 768px) {
  .flow-3 { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-content: center; }
}

.gallery-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 24px;
}
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.gallery-3 figure { margin: 0; }
.gallery-3 figcaption { display: none; }
@media (max-width: 768px) {
  .gallery-3 { grid-template-columns: 1fr; }
}

.callout {
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  padding: 36px 40px;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 600;
}
@media (max-width: 768px) {
  .callout { padding: 24px; }
}

/* ============================================================
   ③ PAIN
   ============================================================ */
.pain { background: transparent; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pain-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D2;
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid var(--color-accent);
  align-items: center;
  text-align: center;
  position: relative;
  height: 100%;
}
.pain-card .badge-num { display: none; }
.pain-card .icon-circle { margin: 8px auto 16px; }
.pain-card p {
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--color-text);
  font-weight: 600;
  text-align: center;
  flex: 1;
}

@media (max-width: 1024px) {
  /* レスポンシブ: PAINカードはアイコン左+テキスト右の左揃え */
  .pain-grid { grid-template-columns: 1fr; gap: 14px; }
  .pain-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 20px 22px;
    gap: 20px;
  }
  .pain-card .icon-circle {
    margin: 0;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }
  .pain-card p {
    text-align: left;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* ============================================================
   ④ SERVICE
   ============================================================ */
.service { background: transparent; }

.brush-deco {
  display: inline-block;
  width: 120px;
  height: 16px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-left: 14px;
  transform: skewX(-22deg);
  opacity: 0.92;
}
.section-head.center .brush-deco { margin: 0 14px; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.service .deco-blob { display: none; }
.service-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(232, 226, 210, 0.6);
  padding: 32px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
  height: 100%;
}
/* SERVICEセクションの番号バッジ：削除 */
.service-card .badge-num { display: none; }
.service-card h3 { font-size: 1.25rem; margin-top: 2px; font-weight: 800; color: var(--color-accent); padding-bottom: 8px; position: relative; }
.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--color-accent);
}
.service-card p { font-size: 0.95rem; line-height: 1.9; color: var(--color-text); font-weight: 500; margin-top: 6px; }
.service-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 300;
}
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .service-sep { display: none; }
}
@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ⑤ DIFFERENCE
   ============================================================ */
.difference { background: transparent; }

.diff-lead {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 500;
}
.diff-emph {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 6px;
}

.compare-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.compare-card {
  background: var(--color-bg-warm);
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid var(--color-text-light);
}
.compare-card.good {
  background: var(--color-accent-light);
  border-top-color: var(--color-accent);
}
.compare-label {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-mid);
  font-weight: 700;
}
.compare-label.accent { color: var(--color-accent); }
.compare-title { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 900; line-height: 1.4; white-space: nowrap; text-align: center; margin: 4px 0; }
.compare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.compare-card .photo-placeholder.square {
  margin: 0 auto;
  width: 100%;
}
.compare-list {
  margin-top: 12px;
  display: inline-grid;
  gap: 8px;
  align-self: center;
  justify-content: center;
}
.compare-list li {
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}
.compare-list li svg { width: 16px; height: 16px; }
.compare-label { font-size: 0.72rem; margin: 0 0 2px; }
@media (max-width: 768px) {
  .compare-title { font-size: 1.3rem; white-space: normal; }
}
.compare-list .mk-x,
.compare-list .mk-o { display: none !important; }
.compare-list .mk-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.compare-list .mk-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.compare-card.warn .compare-list li::before {
  content: "×";
  color: var(--color-text-light);
  position: absolute; left: 0; top: 0;
  font-weight: 700;
}
.compare-card.good .compare-list li::before {
  content: "○";
  color: var(--color-accent);
  position: absolute; left: 0; top: 0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .compare-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   ⑥ TECH
   ============================================================ */
.tech { background: transparent; }

/* TECH 横長カード — テキスト左/写真右、3枚の写真を大きく配置 */
.tech-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
.tech-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D2;
  border-radius: 24px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.tech-card .tech-num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 0.04em;
}
.tech-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.5;
  font-weight: 900;
  margin: 12px 0 0;
  padding-bottom: 16px;
  position: relative;
}
.tech-card h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 18px;
}
.tech-card h3 .accent { color: var(--color-accent); }
.tech-card p {
  color: var(--color-text);
  line-height: 2;
  font-size: 1rem;
  font-weight: 500;
}
.tech-card .tech-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}
.tech-card .tech-trio img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--color-bg-warm-dark);
  border-radius: 16px;
  min-height: 360px;
}
.tech-card .tech-platform { width: 100%; }
.tech-card .tech-platform .photo-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}
@media (max-width: 1024px) {
  .tech-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px;
  }
  .tech-card .tech-trio img { min-height: 240px; }
}

.tech-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.tech-row:last-child { margin-bottom: 0; }
.tech-row.reverse .tech-text { order: 2; }
.tech-row.reverse .tech-visual { order: 1; }

.tech-text { display: flex; flex-direction: column; gap: 16px; position: relative; }
.tech-text .badge-num {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  color: var(--color-accent);
  font-size: 4.5rem;
  font-weight: 900;
  opacity: 0.2;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: -8px;
  font-family: var(--font-en);
}
.tech-text h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  font-weight: 700;
}
.tech-text h3 .accent { color: var(--color-accent); }
.tech-text p { color: var(--color-text); line-height: 2; font-size: 1.05rem; font-weight: 500; }

.tech-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.tech-trio img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--color-bg-warm-dark);
}

@media (max-width: 768px) {
  .tech-row,
  .tech-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tech-row.reverse .tech-text,
  .tech-row.reverse .tech-visual { order: initial; }
}

/* ============================================================
   ⑦ TARGET
   ============================================================ */
.target {
  background: #000;
  position: relative;
  overflow: hidden;
}
.target-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.target-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}
.target::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: 1;
}
.target .content { position: relative; z-index: 2; }
.target .section-title { color: #fff; }
.target .eyebrow { color: #fff; }
.target .eyebrow.accent-line::before,
.target .eyebrow.accent-line::after { background: #fff; }

.target-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.target-list li {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(232, 226, 210, 0.5);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  text-align: left;
}
.target-list li:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 10px);
  margin-left: auto;
  margin-right: auto;
}
.target-list li .badge-num { display: none; }
.target-list p {
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
}
@media (max-width: 1024px) {
  /* レスポンシブ: TARGETカードもアイコン左+テキスト右、全カード等幅 */
  .target-list {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
  }
  .target-list li {
    grid-template-columns: auto 1fr;
    padding: 18px 22px;
    gap: 18px;
    align-items: center;
    text-align: left;
  }
  .target-list li:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .target-list li .icon-mini {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .target-list p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .target-list-wrap { grid-template-columns: 1fr; }
  .target-visual { display: none; }
}
@media (max-width: 480px) {
  .target-list li {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }
  .target-list li p { grid-column: 1 / -1; }
}

/* ============================================================
   ⑧ PARTS
   ============================================================ */
.parts { background: transparent; }

.parts-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.parts-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent);
  font-weight: 300;
  letter-spacing: -0.05em;
}
.part-card {
  background: var(--color-bg-warm);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 4px solid var(--color-accent);
}
.part-label {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
}
.part-card { align-items: center; text-align: center; }
.part-card h3 {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 800;
  color: var(--color-accent);
  text-align: center;
}
.part-card > p { color: var(--color-text); line-height: 1.95; font-size: 1rem; font-weight: 500; text-align: center; }
.part-list { width: 100%; }
.part-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
  text-align: left;
}
.part-list li::before { content: none; }
.part-list .mk-check { color: var(--color-accent); display: inline-flex; flex-shrink: 0; }

/* PARTS s8.png レイアウト */
.part-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}
.part-photo-ph {
  aspect-ratio: 3 / 4;
  background:
    repeating-linear-gradient(135deg, #E5E2DC 0 10px, #DEDBD5 10px 20px);
}
.our-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  width: 100%;
}
.our-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.our-photo-ph {
  aspect-ratio: 3 / 4;
  background:
    repeating-linear-gradient(135deg, #E5E2DC 0 10px, #DEDBD5 10px 20px);
}
@media (max-width: 768px) {
  .our-grid { grid-template-columns: 1fr; }
  .our-photos { grid-template-columns: repeat(3, 1fr); }
}
.part-list { display: grid; gap: 10px; margin-top: 4px; }
.part-list li {
  font-size: 0.98rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.85;
  color: var(--color-text);
  font-weight: 600;
}
/* removed duplicate ::before — replaced by SVG mk-check */
.part-arrow {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.75;
}
/* SVGアイコンで置き換え済み */

@media (max-width: 768px) {
  .parts-grid { grid-template-columns: 1fr; }
  .part-card { padding: 32px 24px; }
  .parts-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ============================================================
   ⑨ ABOUT
   ============================================================ */
.about { background: transparent; }

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 56px;
}
.about-gallery .ag-item {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-warm-dark);
}
.about-gallery .ag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .about-gallery { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}
@media (max-width: 480px) {
  .about-gallery { grid-template-columns: 1fr; gap: 4px; }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.about-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D2;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  height: 100%;
}
.about-card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-warm-dark);
  border-radius: 12px;
  overflow: hidden;
}
.about-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; } }
.about-card h3 { font-size: 1.2rem; line-height: 1.65; font-weight: 800; }
.about-card p { color: var(--color-text); font-size: 0.98rem; line-height: 1.95; font-weight: 500; }
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   ⑩ PRICING
   ============================================================ */
.pricing { background: transparent; }

.initial-fee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--color-accent-light);
  border: 1.5px solid var(--color-accent);
  padding: 18px 32px;
  margin: 0 auto 48px;
  max-width: 520px;
}
.initial-label {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 14px;
  letter-spacing: 0.05em;
}
.initial-amount {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* 比較テーブル形式 */
.plans-table {
  background: var(--color-bg-white);
  border: 1px solid #E8E2D2;
  padding: 0;
  overflow: hidden;
}
.pt-headers {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: end;
  background: var(--color-bg-white);
  border-bottom: 2px solid var(--color-border);
}
.pt-corner { padding: 24px; }
.pt-plan {
  position: relative;
  padding: 32px 16px 24px;
  text-align: center;
  border-left: 1px solid var(--color-border);
}
.pt-plan.pt-featured {
  background: var(--color-accent-light);
  border-top: 4px solid var(--color-accent);
  border-left: 1px solid var(--color-accent);
  margin-top: -4px;
}
.pt-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 20px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 10;
}
.plans-table { overflow: visible; }
.pt-headers { overflow: visible; }
.pt-plan { overflow: visible; }
.pt-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.pt-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.pt-plan-price span { font-size: 0.82rem; color: var(--color-text-mid); }
.pt-plan-price strong {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--color-text);
  line-height: 1;
}
.pt-plan.pt-featured .pt-plan-price strong { color: var(--color-accent); }
.pt-plan-price small { font-size: 0.92rem; font-weight: 700; }
.pt-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}
.pt-row:last-child { border-bottom: none; }
.pt-feat {
  padding: 18px 24px;
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}
.pt-feat .ft-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-left: 10px;
  margin-right: 0;
  flex-shrink: 0;
  order: 2;
}
.pt-feat em { font-style: normal; font-size: 0.78rem; color: var(--color-accent); margin-left: 8px; font-weight: 700; }
.pt-feat small { font-size: 0.78em; color: var(--color-text-mid); font-weight: 500; margin-left: 6px; }
.pt-val {
  padding: 18px 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
  border-left: 1px solid var(--color-border);
}
.pt-val small { font-size: 0.78em; color: var(--color-text-mid); font-weight: 500; display: block; margin-top: 2px; }
.pt-val.pt-featured {
  background: rgba(255, 243, 235, 0.55);
  border-left: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.pt-row-merged { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.pt-val-merged {
  grid-column: 2 / -1;
  border-left: 1px solid var(--color-border);
}
/* レスポンシブ用プランタブ（PC では非表示） */
.plan-tabs { display: none; }

@media (max-width: 1024px) {
  .plan-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 0 20px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    overflow: hidden;
  }
  .plan-tab {
    padding: 14px 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-mid);
    background: transparent;
    border: none;
    border-right: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .plan-tab:last-child { border-right: none; }
  .plan-tab.is-active {
    background: var(--color-accent);
    color: #fff;
  }
}

/* ============================================================
   レスポンシブPRICING：プラン別カード形式（Anthropic推奨パターン）
   - プランごとに独立したカードを縦/横並びで表示
   - スタンダード（おすすめ）を中央/上に強調配置
   - 各カード内に「機能名 ＋ 値」のリストを完結して表示
   - ピボット（行→列、または列→行）はCSSのdisplay:contentsで実現
   ============================================================ */
@media (max-width: 1024px) {
  /* テーブル全体を縦スタック方式：選択プランのみカード＋各行で値を表示 */
  .plans-table {
    background: transparent;
    border: none;
    display: block;
    padding: 0;
    overflow: visible;
  }

  /* ヘッダー部：プランカード（選択中のみ表示） */
  .pt-headers {
    display: block;
    background: transparent;
    border-bottom: none;
    margin: 0 0 0;
  }
  .pt-corner { display: none; }

  .plans-table .pt-plan {
    display: none; /* デフォルト全非表示 */
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 26px 24px 20px;
    text-align: center;
    position: relative;
    margin: 0;
  }
  /* data-active-plan === data-plan のカードを表示 */
  .plans-table[data-active-plan="light"]    .pt-plan[data-plan="light"],
  .plans-table[data-active-plan="standard"] .pt-plan[data-plan="standard"],
  .plans-table[data-active-plan="premium"]  .pt-plan[data-plan="premium"] {
    display: block;
  }
  .plans-table .pt-plan.pt-featured {
    border: 2px solid var(--color-accent);
    background: var(--color-accent-light);
  }
  .plans-table .pt-plan .pt-badge { top: -12px; }
  .plans-table .pt-plan-name { font-size: 1.15rem; margin-bottom: 8px; }
  .plans-table .pt-plan-price strong { font-size: 2.4rem; }
  .plans-table .pt-plan-price span { font-size: 0.88rem; }
  .plans-table .pt-plan-price small { font-size: 1rem; }

  /* 各機能行：左に項目名／右に値（選択中プランのみ） */
  .pt-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background: #FFFFFF;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid rgba(28, 27, 24, 0.08);
    overflow: visible;
  }
  .pt-row:first-of-type { border-top: 1px solid rgba(28, 27, 24, 0.08); }

  .pt-feat {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    text-align: left !important;
    padding: 14px 16px !important;
    font-size: 0.92rem !important;
    background: var(--color-bg-warm);
    border-right: 1px solid var(--color-border);
    overflow: visible;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }
  .pt-feat .ft-icon { order: -1; margin-left: 0 !important; margin-right: 8px !important; }
  .pt-feat em { font-size: 0.74em; margin-left: 4px; }
  .pt-feat small { font-size: 0.74em; display: inline; }

  /* 全 pt-val を非表示 → 選択プランのもののみ表示 */
  .pt-val { display: none; }
  .plans-table[data-active-plan="light"]    .pt-val[data-plan="light"],
  .plans-table[data-active-plan="standard"] .pt-val[data-plan="standard"],
  .plans-table[data-active-plan="premium"]  .pt-val[data-plan="premium"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text);
    border-left: none;
    background: transparent;
    overflow: visible;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.55;
    gap: 4px;
    flex-wrap: wrap;
  }
  /* スタンダード（おすすめ）強調 */
  .plans-table[data-active-plan="standard"] .pt-val.pt-featured {
    background: rgba(255, 243, 235, 0.55);
    color: var(--color-accent);
  }
  .pt-val small { font-size: 0.72em; color: var(--color-text-mid); font-weight: 500; display: inline; margin: 0 0 0 2px; }

  /* 追加画像（merged）：全プラン共通で常時表示 */
  .pt-row-merged {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--color-bg-warm);
  }
  .pt-row-merged .pt-val-merged {
    display: flex !important;
    justify-content: center;
    align-items: center;
    grid-column: auto;
    padding: 14px 12px;
    font-weight: 800;
    background: transparent;
    border-left: none;
    text-align: center;
    color: var(--color-text);
  }
}

@media (max-width: 600px) {
  .plans-table .pt-plan-name { font-size: 1.05rem; }
  .plans-table .pt-plan-price strong { font-size: 2rem; }
  .pt-feat { font-size: 0.84rem !important; padding: 12px 12px !important; }
  .pt-feat em { font-size: 0.72em; }
  .pt-feat small { font-size: 0.72em; display: block !important; line-height: 1.3; margin-top: 2px; }
  .plans-table[data-active-plan] .pt-val[data-plan] { font-size: 0.95rem !important; padding: 12px 8px !important; }
  .pt-val small { font-size: 0.72em; display: block !important; line-height: 1.3; margin-top: 2px; }
  .plan-tab { font-size: 0.88rem; padding: 12px 6px; }
}
.plan {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--color-accent);
  background: var(--color-accent-light);
}
.plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 24px;
  letter-spacing: 0.1em;
}
.plan-head { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); margin-bottom: 24px; }
.plan-head h3 {
  font-size: 1.2rem;
  color: var(--color-text);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.plan-price span { font-size: 0.85rem; color: var(--color-text-mid); }
.plan-price strong {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 3rem;
  color: var(--color-text);
  line-height: 1;
}
.plan.featured .plan-price strong { color: var(--color-accent); }
.plan-price strong small { font-size: 0.45em; margin-left: 4px; }

.plan-features { display: grid; gap: 0; }
.plan-features li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-border);
  align-items: center;
  font-size: 0.95rem;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features .ft { color: var(--color-text); font-weight: 600; }
.plan-features .ft em { font-style: normal; font-size: 0.8rem; color: var(--color-accent); font-weight: 700; }
.plan-features .ft small { font-size: 0.82em; color: var(--color-text-mid); }
.plan-features .val { color: var(--color-text); font-weight: 800; text-align: right; }
.plan-features .val small { font-weight: 500; color: var(--color-text-mid); }

.pricing-notes {
  margin-top: 40px;
  padding: 18px 24px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent-light);
  display: grid;
  gap: 6px;
}
.pricing-notes p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.85;
  font-weight: 500;
}
.pricing-notes em { font-style: normal; font-weight: 700; color: var(--color-accent); }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 40px; max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   ⑪ FLOW
   ============================================================ */
.flow { background: transparent; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.step-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D2;
  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  border-top: 4px solid var(--color-accent);
  height: 100%;
}
.step-badge {
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  border-radius: 50%;
  line-height: 1.1;
  font-weight: 700;
}
.step-badge strong {
  font-family: var(--font-en);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}
.step-card h3 { font-size: 1.15rem; font-weight: 800; }
.step-card p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.9;
  font-weight: 500;
}
.step-sep {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 300;
}
.flow-foot {
  margin: 56px auto 0;
  text-align: center;
  background: transparent;
  padding: 0;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 900;
  max-width: none;
  display: block;
  letter-spacing: 0.04em;
  line-height: 1.55;
  border: none;
}
.flow-foot::before { content: none; }
.flow-foot .ff-orange { color: var(--color-accent); }
.flow-foot .ff-black { color: var(--color-text); margin-left: 8px; }
.flow-foot strong { color: var(--color-accent); font-weight: 900; font-size: 1.15em; }
@media (max-width: 768px) {
  .flow-foot .ff-black { display: block; margin-left: 0; margin-top: 6px; }
}
@media (max-width: 768px) { .flow-foot { font-size: 1.15rem; } }

/* STEPタイトル：オレンジ＋テキスト長に応じた下線 */
.step-card h3 {
  color: var(--color-accent);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-accent);
}

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-sep { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ⑫ STORY
   ============================================================ */
.story {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.story-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}
.story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: 1;
}
.story .content { position: relative; z-index: 2; }
.story .section-title { color: #fff; }
.story .eyebrow { color: #fff; }
.story .eyebrow.accent-line::before,
.story .eyebrow.accent-line::after { background: #fff; }
.story .section-title .accent { color: var(--color-accent); }
.story-body {
  margin-top: 16px;
  display: grid;
  gap: 28px;
  color: #fff;
}
.story-body p {
  font-size: 1.05rem;
  line-height: 2.1;
  text-align: center;
  font-weight: 500;
  color: #fff;
}
.story-body strong { font-weight: 900; color: var(--color-accent); }

/* ============================================================
   ⑫.5 FAQ
   ============================================================ */
.faq { background: transparent; }
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.faq-item {
  background: var(--color-bg-warm);
  border-left: 3px solid var(--color-accent);
}
.faq-item details summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  font-weight: 800;
  color: var(--color-text);
  font-size: 1.08rem;
  line-height: 1.55;
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item .q-mark {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-accent);
  line-height: 1;
}
.faq-item .q-text { color: var(--color-text); }
.faq-item .q-toggle {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--color-accent);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item details[open] .q-toggle { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 4px 28px 24px 28px;
  border-top: 1px dashed var(--color-border);
  margin-top: 0;
  padding-top: 20px;
}
.faq-item .a-mark {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-text-light);
  line-height: 1;
}
.faq-answer p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 500;
}
@media (max-width: 768px) {
  .faq-item details summary { padding: 18px 20px; gap: 14px; font-size: 0.92rem; }
  .faq-answer { padding: 16px 20px 20px 20px; gap: 14px; }
}

/* ============================================================
   ⑬ CTA — シンプル化（背景画像 + 大型ボタン）
   ============================================================ */
.cta {
  position: relative;
  padding: 56px 0 !important;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  z-index: 1;
  pointer-events: none;
}
.cta-inner { z-index: 2; }
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-eyebrow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.cta-eyebrow span {
  display: inline-block;
  padding: 0 16px;
  position: relative;
}
.cta-eyebrow span::before, .cta-eyebrow span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.7);
}
.cta-eyebrow span::before { right: 100%; }
.cta-eyebrow span::after { left: 100%; }
.cta-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.6;
  color: #fff;
  letter-spacing: 0.06em;
}
.cta-inner { gap: 24px; }
/* CTAボタン（CSS製） — 白角丸ピル＋オレンジ文字＋丸矢印 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 24px 16px 36px;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  letter-spacing: 0.06em;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.cta-btn:hover {
  transform: translateY(-2px);
  background: var(--color-accent-light);
}
.cta-btn-text { line-height: 1; }
.cta-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 768px) {
  .cta { padding: 44px 0 !important; }
  .cta-btn { font-size: 0.95rem; padding: 14px 18px 14px 28px; gap: 14px; }
  .cta-btn-arrow { width: 32px; height: 32px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1F1D1A;
  color: #C8C6BF;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  align-items: start;
}
.footer-col-title {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-logo {
  margin: 0 0 16px;
  line-height: 0;
}
.footer-logo img { height: 48px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.95rem; color: #C8C6BF; margin-bottom: 16px; font-weight: 500; }
.footer-meta { font-size: 0.88rem; color: #8A8780; margin-bottom: 8px; font-weight: 500; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a {
  font-size: 0.95rem;
  color: #C8C6BF;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
}
.footer-nav a:hover { color: var(--color-accent); }
.footer-nav .arr {
  color: #6E6C66;
  font-size: 1rem;
  transition: color 0.15s ease;
  margin-left: 12px;
}
.footer-nav a:hover .arr { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom small {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: #6E6C66;
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.85rem;
  color: #8A8780;
  transition: color 0.15s ease;
  font-weight: 500;
}
.footer-legal a:hover { color: var(--color-accent); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-legal { gap: 16px; }
}
