@charset "UTF-8";
/* ============================================================
   top.css ｜ コーポレートトップ（/）専用 1/2（再設計 2026-08-19・Fable）
   コンセプト「自分たちでも、つくって届けている会社」。
   ウォーム・エディトリアル言語（ペーパー×墨×金×エスプレッソ・明朝×Fraunces）を継承し、
   構成を刷新：HERO目次ストリップ／事業の罫行組み／自社メディア2誌の表紙（top-2.css）。
   このファイル＝トークン・共通見出し・HERO・CTA・事業内容。すべて .cx スコープ。
   ============================================================ */
.cx {
  --paper: #FBF7EF;
  --paper-2: #F3EBDD;
  --ink: #1A1714;
  --ink-soft: #6b5f54;
  --gold: #C8A24B;
  --gold-deep: #A9852F;
  --espresso: #2E241C;
  --hair: rgba(26, 23, 20, 0.16);
  --serif-jp: "Noto Serif JP", serif;
  --serif-en: "Fraunces", "Fraunces fallback", "Times New Roman", serif;
  --sans: "Noto Sans JP", sans-serif;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
}
.cx :where(a) { color: inherit; }
.cx .container { max-width: 1120px; }

/* ===== 共通：見出しのあしらい ===== */
.cx-index { display: block; font-family: var(--serif-en); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 400; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -0.02em; }
.cx-label { margin: 12px 0 16px; font-family: var(--serif-en); font-style: italic; font-size: 1.0625rem; letter-spacing: 0.06em; color: var(--gold-deep); }
.cx-title { font-family: var(--serif-jp); font-weight: 700; font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.4; letter-spacing: 0.01em; margin: 0; }
.cx-lead { margin: 24px 0 0; max-width: 640px; font-size: 1rem; line-height: 2; color: var(--ink-soft); }
.cx-lead--dark { color: rgba(251, 247, 239, 0.78); }
.cx-section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.cx-section + .cx-section { border-top: 1px solid var(--hair); }
.cx-head { margin-bottom: 56px; }
br.br-sp { display: none; }

/* ===== HERO（ステートメント＋縦書きラベル＋目次ストリップ） ===== */
.cx-hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); }
.cx-hero__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(rgba(26,23,20,0.14) 0.5px, transparent 0.5px); background-size: 4px 4px; }
.cx-hero__ghost { position: absolute; z-index: 0; right: -2vw; bottom: 6vh; font-family: var(--serif-en); font-weight: 400; font-size: 24vw; line-height: 0.85; letter-spacing: -0.02em; color: rgba(26,23,20,0.035); pointer-events: none; text-align: right; }
.cx-hero__tate { position: absolute; z-index: 1; top: 50%; right: clamp(24px, 3.5vw, 56px); transform: translateY(-56%); writing-mode: vertical-rl; margin: 0; font-family: var(--serif-jp); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.32em; color: var(--ink-soft); }
.cx-hero__tate::after { content: ""; display: inline-block; width: 1px; height: 72px; margin-top: 24px; background: var(--gold); }
.cx-hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 72px; }
.cx-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 28px; }
.cx-eyebrow__en { font-family: var(--serif-en); font-style: italic; font-size: 1.125rem; color: var(--gold-deep); letter-spacing: 0.02em; }
.cx-eyebrow__rule { width: 48px; height: 1px; background: var(--gold); }
.cx-hero__title { font-family: var(--serif-jp); font-weight: 900; font-size: clamp(2.375rem, 7.2vw, 4.75rem); line-height: 1.3; letter-spacing: 0.005em; margin: 0 0 28px; }
.cx-hero__accent { background: linear-gradient(100deg, var(--gold-deep), var(--gold) 30%, #ecd79b 50%, var(--gold) 70%, var(--gold-deep)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: cx-sheen 7s linear infinite; }
@keyframes cx-sheen { to { background-position: -220% 0; } }
.cx-hero__sub { max-width: 600px; font-size: 1rem; line-height: 2; color: var(--ink-soft); margin: 0 0 40px; }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* 目次ストリップ（01〜05のアンカー＝雑誌の目次の作法） */
.cx-hero__index { position: relative; z-index: 2; border-top: 1px solid var(--hair); }
.cx-hero__index-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.cx-hero__index a { display: flex; align-items: baseline; gap: 12px; padding: 24px 8px 24px 24px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em; border-left: 1px solid var(--hair); transition: color 0.3s ease, background 0.3s ease; }
.cx-hero__index a:first-child { border-left: none; padding-left: 0; }
.cx-hero__index-num { font-family: var(--serif-en); font-style: italic; font-size: 0.9375rem; color: var(--gold-deep); }
.cx-hero__index a:hover, .cx-hero__index a:focus-visible { color: var(--gold-deep); background: rgba(200, 162, 75, 0.07); opacity: 1; }

/* ===== CTA（墨のピル） ===== */
.cx-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; padding: 14px 26px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.cx-cta__arrow { transition: transform 0.3s ease; }
.cx-cta:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.cx-cta:hover .cx-cta__arrow { transform: translateX(4px); }
.cx-cta:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.cx-cta--ghost { border-color: var(--hair); }
.cx-cta--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cx-cta--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cx-cta--ink:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }

/* ===== 01 SERVICES（事業内容・ヘアライン罫の行組み） ===== */
.cx-rows { border-top: 1px solid var(--hair); }
.cx-row { display: grid; grid-template-columns: 88px minmax(0, 280px) 1fr; gap: 24px 40px; align-items: start; padding: 44px 8px; border-bottom: 1px solid var(--hair); transition: background 0.3s ease; }
.cx-row:hover { background: rgba(200, 162, 75, 0.05); }
.cx-row__num { margin: 0; font-family: var(--serif-en); font-style: italic; font-size: 1.25rem; color: var(--gold-deep); line-height: 1.5; }
.cx-row__title { margin: 0; font-family: var(--serif-jp); font-weight: 700; font-size: 1.375rem; line-height: 1.6; }
.cx-row__body { max-width: 640px; }
.cx-row__text { margin: 0; font-size: 0.9375rem; line-height: 2; color: var(--ink-soft); text-wrap: pretty; }
.cx-row__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 0.875rem; color: var(--gold-deep); }
.cx-row__link span { transition: transform 0.3s ease; }
.cx-row__link:hover { opacity: 1; color: var(--gold); }
.cx-row__link:hover span { transform: translateX(5px); }

/* ===== レスポンシブ（このファイル分） ===== */
@media (max-width: 1023px) {
  .cx-hero__tate { display: none; }
  .cx-hero__index a { padding: 20px 8px 20px 16px; font-size: 0.8125rem; }
  .cx-row { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; gap: 8px 24px; }
  .cx-row__num { grid-row: 1 / 3; }
  .cx-row__title br.br-pc { display: none; }
}

@media (max-width: 767px) {
  br.br-sp { display: inline; }
  .cx-hero { min-height: auto; }
  .cx-hero__inner { padding-top: 72px; padding-bottom: 56px; }
  .cx-eyebrow { flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .cx-eyebrow__rule { width: 32px; }
  .cx-hero__title { font-size: clamp(2.125rem, 9.6vw, 2.5rem); line-height: 1.35; margin-bottom: 24px; }
  .cx-hero__sub { font-size: 0.9375rem; line-height: 1.95; margin-bottom: 32px; }
  .cx-hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cx-cta { justify-content: center; padding: 16px 26px; }
  .cx-hero__ghost { font-size: 34vw; right: -4vw; bottom: 2vh; }
  .cx-hero__index-inner { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .cx-hero__index a { border-left: none; border-bottom: 1px solid var(--hair); padding: 14px 0; }
  .cx-hero__index a:last-child { grid-column: span 2; border-bottom: none; }
  .cx-head { margin-bottom: 40px; }
  .cx-lead { font-size: 0.9375rem; line-height: 1.95; }
  .cx-row { grid-template-columns: 1fr; grid-template-rows: none; gap: 8px; padding: 32px 0; }
  .cx-row:hover { background: transparent; }
  .cx-row__num { grid-row: auto; font-size: 1.0625rem; }
  .cx-row__title { font-size: 1.25rem; }
}

/* ===== モーション配慮 ===== */
@media (prefers-reduced-motion: reduce) {
  .cx-hero__accent { animation: none; }
}
