/* ============================================================
   Design Your Narrative — Style
   コンセプト:「三層の琥珀」
   ロゴの D→Y→N の3段階のアンバーを、サイト全体の設計原理にする。
   温かい生成りの紙 × 墨色の明朝 × 琥珀のアクセント。
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* ロゴ由来のブランドカラー（実測値） */
  --amber-d: #F8B73B;   /* ロゴ「D」 */
  --amber-y: #FAC972;   /* ロゴ「Y」 */
  --amber-n: #FCDBA3;   /* ロゴ「N」 */
  --gray-logo: #B5B6B6; /* ロゴ英字グレー */

  /* 派生カラー */
  --amber-deep: #D99A18;
  --amber-shadow: #A8770F;
  --amber-mist: #FCEFD3;
  --amber-veil: #FDF6E6;

  /* 紙と墨 */
  --paper: #FDFAF2;
  --paper-alt: #F8F1DF;
  --ink: #2B2418;
  --ink-soft: #59503F;
  --ink-mute: #8C8271;
  --line: rgba(43, 36, 24, 0.14);
  --line-soft: rgba(43, 36, 24, 0.08);

  /* ダークセクション */
  --dark: #241C0E;
  --dark-soft: #32281506;
  --dark-line: rgba(252, 219, 163, 0.18);

  --color-error: #C64B32;

  /* タイポグラフィ */
  --font-serif: 'Zen Old Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en: 'Jost', 'Futura', sans-serif;

  /* レイアウト */
  --container: 1160px;
  --header-h: 84px;
  --radius: 3px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(43, 36, 24, 0.05), 0 12px 32px -12px rgba(43, 36, 24, 0.12);
  --shadow-float: 0 2px 6px rgba(43, 36, 24, 0.06), 0 24px 48px -16px rgba(168, 119, 15, 0.25);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background-color: var(--paper);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 紙の質感（微細なノイズ） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.035'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

::selection { background: var(--amber-y); color: var(--ink); }

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

.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- 共通パーツ ---------- */

/* 三層バンド（ロゴの D→Y→N を引用した帯） */
.hero__band,
.footer__band {
  display: flex;
  height: 6px;
}
.hero__band span,
.footer__band span { flex: 1; }
.hero__band span:nth-child(1), .footer__band span:nth-child(1) { background: var(--amber-d); }
.hero__band span:nth-child(2), .footer__band span:nth-child(2) { background: var(--amber-y); }
.hero__band span:nth-child(3), .footer__band span:nth-child(3) { background: var(--amber-n); }

/* セクションラベル */
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-shadow);
  margin-bottom: 18px;
}
.section__label::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--amber-d);
  flex-shrink: 0;
}
.section__label--dark { color: var(--amber-y); }

.section {
  padding: 128px 0;
  position: relative;
}
.section--alt { background: var(--paper-alt); }

.section__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.section__subtitle {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 64px;
}

.section__note {
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-left: 18px;
  border-left: 3px solid var(--amber-d);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 17px 36px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
}
.btn__arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--amber-d);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}
.btn--primary:hover {
  background: var(--ink);
  color: var(--amber-d);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--ghost {
  padding: 17px 8px;
  color: var(--ink);
  position: relative;
}
.btn--ghost::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  height: 1px;
  background: var(--amber-shadow);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.btn--ghost:hover::after { transform: scaleX(0.4); }

.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300; /* モバイルナビ(200)より上に置き、開閉ボタンを常に操作可能にする */
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}
.header.is-scrolled {
  height: 68px;
  background: rgba(253, 250, 242, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo { display: flex; align-items: center; }
.header__logo-img {
  width: auto;
  height: 52px;
  transition: height 0.4s ease;
}
.header.is-scrolled .header__logo-img { height: 42px; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber-d);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.header__nav-link:hover,
.header__nav-link.is-active { color: var(--ink); }
.header__nav-link:hover::after,
.header__nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  transition: background-color 0.35s ease, color 0.35s ease;
}
.header__cta-arrow { transition: transform 0.35s var(--ease-out); }
.header__cta:hover {
  background: var(--amber-d);
  color: var(--ink);
}
.header__cta:hover .header__cta-arrow { transform: translateX(4px); }

/* ハンバーガー */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}
.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.header__hamburger.is-active .header__hamburger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.header__hamburger.is-active .header__hamburger-line:nth-child(2) { opacity: 0; }
.header__hamburger.is-active .header__hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* モバイルナビ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  padding: calc(var(--header-h) + 24px) 32px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-nav__link {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-nav__link--sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 28px;
}
.mobile-nav__link--sub::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber-y);
  flex-shrink: 0;
}
.mobile-nav__link--cta {
  margin-top: 28px;
  border: none;
  background: var(--amber-d);
  justify-content: center;
  padding: 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ロゴを思わせる、重なり合う琥珀のブロック */
.hero__block {
  position: absolute;
  border-radius: 6px;
}
.hero__block--1 {
  width: 44vw;
  height: 44vw;
  max-width: 560px;
  max-height: 560px;
  right: -12vw;
  top: -14vw;
  background: linear-gradient(135deg, var(--amber-n), var(--amber-veil));
  opacity: 0.65;
  transform: rotate(12deg);
}
.hero__block--2 {
  width: 20vw;
  height: 20vw;
  max-width: 250px;
  max-height: 250px;
  right: 26vw;
  top: 10vh;
  background: linear-gradient(135deg, var(--amber-y), var(--amber-n));
  opacity: 0.4;
  transform: rotate(-8deg);
}
.hero__block--3 {
  width: 13vw;
  height: 13vw;
  max-width: 170px;
  max-height: 170px;
  left: -4vw;
  bottom: 14vh;
  background: linear-gradient(135deg, var(--amber-mist), transparent);
  transform: rotate(18deg);
}

/* 背景の縦書き「物語」 */
.hero__vertical-word {
  position: absolute;
  right: 3.5vw;
  top: 50%;
  transform: translateY(-52%);
  writing-mode: vertical-rl;
  height: 2.35em; /* 2文字分を確保して列折り返しを防ぐ */
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(7rem, 15vw, 13rem);
  line-height: 1;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 154, 24, 0.28);
  user-select: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  flex: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  animation: heroFade 0.9s var(--ease-out) both;
}
.hero__eyebrow-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--amber-shadow);
}
.hero__eyebrow-ja {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mute);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  line-height: 1.42;
  letter-spacing: 0.045em;
  margin-bottom: 34px;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line { animation: heroRise 1s var(--ease-out) both; }
.hero__title-line:nth-child(2) { animation-delay: 0.12s; }

.hero__title-accent {
  background: linear-gradient(120deg, var(--amber-deep) 0%, var(--amber-d) 45%, var(--amber-y) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 2px;
}

.hero__description {
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  margin-bottom: 44px;
  animation: heroFade 1s 0.3s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  animation: heroFade 1s 0.45s var(--ease-out) both;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  animation: heroFade 1s 0.6s var(--ease-out) both;
}
.hero__fact {
  padding: 18px 32px 0 0;
  margin-right: 32px;
  position: relative;
}
.hero__fact:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  bottom: 4px;
  width: 1px;
  background: var(--line-soft);
}
.hero__fact dt {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.hero__fact dd {
  font-size: 0.92rem;
  font-weight: 700;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero ダイアグラム
   一つひとつの出来事（点）がつながり、一本の物語（線）になる */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-thread {
  width: 100%;
  max-width: 460px;
  overflow: visible;
}

/* まだつながっていない、ばらばらの点 */
.hero-thread__stray {
  fill: var(--amber-y);
  opacity: 0.45;
  transform-box: fill-box;
  transform-origin: center;
  animation: strayFloat 6s ease-in-out infinite;
}
.hero-thread__stray--2 { fill: var(--amber-n); animation-delay: 0.8s; }
.hero-thread__stray--3 { animation-delay: 1.6s; }
.hero-thread__stray--4 { fill: var(--amber-d); opacity: 0.35; animation-delay: 2.4s; }
.hero-thread__stray--5 { fill: var(--amber-n); animation-delay: 3.2s; }
.hero-thread__stray--6 { animation-delay: 4s; }
@keyframes strayFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* 糸: 手前は点線（ばらばらの点）、先へ進むほど一本の線に */
.hero-thread__path {
  fill: none;
  stroke: var(--amber-shadow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 0.018 0.022;
  stroke-dashoffset: 1;
  animation: threadDraw 1.6s 0.5s var(--ease-out) forwards;
  opacity: 0.85;
}
.hero-thread__path--solid {
  stroke-width: 2.4;
  stroke-dasharray: 1;
  animation-duration: 1s;
  animation-delay: 2s;
}
@keyframes threadDraw {
  to { stroke-dashoffset: 0; }
}

.hero-thread__node { animation: nodeIn 0.8s var(--ease-out) both; }
.hero-thread__node--1 { animation-delay: 0.7s; }
.hero-thread__node--2 { animation-delay: 1.1s; }
.hero-thread__node--3 { animation-delay: 1.6s; }
.hero-thread__node--4 { animation-delay: 2.2s; }
.hero-thread__node--goal { animation-delay: 2.8s; }
@keyframes nodeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* つながった点は、物語に近づくほど大きく・濃く */
.hero-thread__dot--n    { fill: var(--amber-n); }
.hero-thread__dot--y    { fill: var(--amber-y); }
.hero-thread__dot--d    { fill: var(--amber-d); }
.hero-thread__dot--deep { fill: var(--amber-deep); }

.hero-thread__label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  fill: var(--ink-soft);
}

.hero-thread__goal-dot { fill: var(--amber-deep); }
.hero-thread__goal-ring {
  fill: none;
  stroke: var(--amber-deep);
  stroke-width: 1.2;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: goalPulse 2.8s ease-out infinite;
}
@keyframes goalPulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.hero-thread__goal-text {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 21px;
  fill: var(--ink);
}

.hero__visual-caption {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  animation: heroFade 1s 3s var(--ease-out) both;
}

.hero__band {
  position: relative;
  margin-top: 72px;
}

/* ---------- Narrative（ダーク・ステートメント） ---------- */
.narrative {
  background:
    radial-gradient(ellipse 900px 480px at 85% -10%, rgba(248, 183, 59, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 420px at -10% 110%, rgba(250, 201, 114, 0.08), transparent 60%),
    var(--dark);
  color: var(--amber-veil);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.narrative::before {
  content: "業";
  position: absolute;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(16rem, 34vw, 30rem);
  line-height: 1;
  right: -0.08em;
  bottom: -0.18em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(252, 219, 163, 0.1);
  pointer-events: none;
  user-select: none;
}

.narrative__statement {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.62;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  max-width: 22em;
}
.narrative__statement em {
  background: linear-gradient(120deg, var(--amber-d), var(--amber-y));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.narrative__body {
  max-width: 620px;
  display: grid;
  gap: 22px;
  color: rgba(253, 246, 230, 0.82);
  font-size: 0.98rem;
  margin-bottom: 80px;
}
.narrative__body strong {
  color: var(--amber-y);
  font-weight: 700;
}

.narrative__principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-line);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}
.principle {
  background: var(--dark);
  padding: 44px 36px 48px;
  position: relative;
  transition: background-color 0.4s ease;
}
.principle:hover { background: #2C2210; }
.principle__num {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.22em;
  color: var(--amber-d);
  margin-bottom: 22px;
}
.principle__num::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--amber-shadow);
  margin-top: 14px;
}
.principle__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--amber-veil);
}
.principle__text {
  font-size: 0.9rem;
  line-height: 1.95;
  color: rgba(253, 246, 230, 0.66);
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 34px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
/* カード上部に、ロゴ三層のアクセント（1枚目=D、2=Y、3=N） */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 5px;
  background: var(--amber-d);
  transition: width 0.5s var(--ease-out);
}
.service-card:nth-child(2)::before { background: var(--amber-y); }
.service-card:nth-child(3)::before { background: var(--amber-n); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}
.service-card:hover::before { width: 100%; }

.service-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.service-card__num {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--amber-deep);
}
.service-card__target {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-card__message {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amber-shadow);
  padding-left: 14px;
  border-left: 3px solid var(--amber-d);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-card:nth-child(2) .service-card__message { border-color: var(--amber-y); }
.service-card:nth-child(3) .service-card__message { border-color: var(--amber-n); }

.service-card__description {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.service-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--amber-veil);
  border: 1px solid rgba(217, 154, 24, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
}

.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.service-card__link-arrow { transition: transform 0.35s var(--ease-out); }
.service-card__link:hover .service-card__link-arrow { transform: translateX(6px); }
.service-card__link:hover { color: var(--amber-shadow); }

/* ---------- Reason ---------- */
.reason__formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
  margin: 0 auto 72px;
  padding: 36px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reason__formula-item {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0.06em;
}
.reason__formula-x {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--amber-d);
}

.reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason-card {
  padding: 36px 32px;
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
.reason-card__number {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--amber-deep);
  margin-bottom: 18px;
}
.reason-card__number::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber-d);
  margin-top: 10px;
}
.reason-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.reason-card__text {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: flow;
  position: relative;
}
/* 点線コネクタ */
.flow::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  border-top: 2px dotted rgba(217, 154, 24, 0.45);
}
.flow__step { position: relative; }
.flow__marker {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--amber-d);
  border-radius: var(--radius);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 4px 4px 0 var(--amber-n);
}
.flow__step:nth-child(2) .flow__marker { background: var(--amber-y); }
.flow__step:nth-child(3) .flow__marker { background: var(--amber-n); }
.flow__step:nth-child(4) .flow__marker {
  background: var(--ink);
  color: var(--amber-d);
  box-shadow: 4px 4px 0 var(--amber-y);
}
.flow__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.flow__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Results ---------- */
.results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.result-card {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--amber-d);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}
.result-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.result-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--ink);
}
.result-card__category--recruit { background: var(--amber-d); }
.result-card__category--career  { background: var(--amber-y); }
.result-card__category--dx      { background: var(--amber-n); }
.result-card__industry {
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.result-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.result-card__description {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.pricing-card {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}
.pricing-card--featured {
  border: 2px solid var(--amber-d);
  box-shadow: var(--shadow-float);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--ink);
  color: var(--amber-d);
  padding: 5px 16px;
  border-radius: 999px;
}
.pricing-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.pricing-card__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.pricing-card__price-note {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin: 6px 0 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.pricing-card__features {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}
.pricing-card__feature {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}
.pricing-card__feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--amber-deep);
}
.pricing-card .btn { margin-top: auto; }

/* ---------- Community ---------- */
.community {
  padding: 128px 0;
  background:
    radial-gradient(ellipse 800px 400px at 110% 0%, rgba(248, 183, 59, 0.16), transparent 65%),
    linear-gradient(180deg, var(--amber-veil), var(--amber-mist));
  position: relative;
  overflow: hidden;
}
/* 点のパターン（点をつなぐモチーフ） */
.community::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(168, 119, 15, 0.16) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,0.7), transparent 55%);
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,0.7), transparent 55%);
  pointer-events: none;
}

.community__inner { position: relative; }

.community__head {
  max-width: 720px;
  margin-bottom: 64px;
}
.community__kicker {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber-shadow);
  margin-bottom: 10px;
}
.community__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 22px;
}
.community__lead {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin-bottom: 20px;
}
.community__lead em {
  background: linear-gradient(transparent 62%, var(--amber-y) 62%);
  padding: 0 2px;
}
.community__description {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.community__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.community-value {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(217, 154, 24, 0.25);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(2px);
}
.community-value__num {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 14px;
}
.community-value__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.community-value__text {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.community__plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.community-plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 26px;
  border: 1px dashed rgba(168, 119, 15, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.65);
}
.community-plan--featured {
  border: 2px solid var(--amber-d);
  background: #FFFDF8;
  box-shadow: var(--shadow-card);
}
.community-plan__name {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-shadow);
}
.community-plan__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
}
.community-plan__price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 2px;
}
.community-plan__note {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.community__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.community__soon-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 560px;
}

/* Coming Soon バッジ（トップのコミュニティセクション / LP共通） */
.soon-badge {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--amber-d);
  background: var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
  margin-left: 16px;
  transform: translateY(-0.2em);
}
.soon-badge--hero {
  margin-left: 12px;
  transform: none;
}

/* ---------- Profile ---------- */
.profile__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.profile__photo-wrapper { position: relative; }
.profile__photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ロゴ三層の額縁 */
.profile__photo-wrapper::before,
.profile__photo-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.profile__photo-wrapper::before {
  background: var(--amber-y);
  transform: translate(12px, 12px);
}
.profile__photo-wrapper::after {
  background: var(--amber-n);
  transform: translate(24px, 24px);
  z-index: -1;
}
.profile__photo-placeholder {
  text-align: center;
  color: var(--ink-mute);
}
.profile__photo-placeholder-icon { margin-bottom: 12px; display: flex; justify-content: center; }
.profile__photo-placeholder-text {
  font-size: 0.82rem;
  line-height: 1.7;
}

.profile__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}
.profile__name-en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber-shadow);
}
.profile__role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.profile__description {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.profile__qualifications-title {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber-shadow);
  margin-bottom: 16px;
}
.profile__qualification-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profile__qualification-item {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #FFFDF8;
}
.profile__qualification-item--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--amber-d);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 800px;
  display: grid;
  gap: 14px;
}
.faq__item {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq__item[open] { border-color: rgba(217, 154, 24, 0.5); }

.faq__question {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 56px;
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
  transition: color 0.3s ease;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::before {
  content: "Q";
  position: absolute;
  left: 24px;
  top: 21px;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--amber-deep);
  font-size: 1.05rem;
}
/* +/− アイコン */
.faq__question::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--amber-shadow), var(--amber-shadow)) center / 12px 2px no-repeat,
    linear-gradient(var(--amber-shadow), var(--amber-shadow)) center / 2px 12px no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__question:hover { color: var(--amber-shadow); }

.faq__answer {
  padding: 0 26px 24px 56px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
}
.faq__answer::before {
  content: "A";
  position: absolute;
  left: 24px;
  top: 0;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--ink-mute);
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact__info-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact__info-description {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.contact__info-items {
  display: grid;
  gap: 22px;
}
.contact__info-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact__info-item-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--amber-veil);
  border: 1px solid rgba(217, 154, 24, 0.3);
  border-radius: var(--radius);
  color: var(--amber-shadow);
  flex-shrink: 0;
}
.contact__info-item-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__info-item-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact__form {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-top: 5px solid var(--amber-d);
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
}

.form__group { margin-bottom: 26px; }
.form__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form__label--required::after {
  content: "必須";
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFDF8;
  background: var(--color-error);
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 10px;
  vertical-align: 2px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(140, 130, 113, 0.6); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 3px rgba(248, 183, 59, 0.25);
}
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238C8271' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__error {
  display: none;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 6px;
}

.form__consent {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.form__consent-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--amber-deep);
  flex-shrink: 0;
}
.form__consent-text a {
  color: var(--amber-shadow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__submit { margin-top: 6px; }

.form__success {
  display: none;
  text-align: center;
  padding: 48px 12px;
}
.form__success.is-visible { display: block; }
.form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber-d);
  border-radius: 50%;
}
.form__success-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.form__success-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- ページ下層（page-hero / breadcrumb / 汎用） ---------- */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--amber-veil), var(--paper));
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -110px;
  top: -130px;
  background: linear-gradient(135deg, var(--amber-n), transparent 70%);
  border-radius: 6px;
  transform: rotate(14deg);
  opacity: 0.75;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.breadcrumb__link:hover { color: var(--amber-shadow); }
.breadcrumb__divider { color: var(--gray-logo); }
.breadcrumb__current { color: var(--ink-soft); font-weight: 500; }

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 24px;
}
.page-hero__lead {
  max-width: 680px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.page-hero__target { display: flex; gap: 10px; }
.page-hero__target .service-card__target { background: #FFFDF8; }

/* チェックリスト（お悩み） */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 860px;
}
.checklist__item {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 20px 18px 54px;
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}
.checklist__item::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber-d);
  border-radius: 50%;
}

/* 詳細カード（提供内容） */
.detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.detail-card {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  background: var(--amber-d);
}
.detail-card__number {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--amber-deep);
  margin-bottom: 16px;
}
.detail-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.detail-card__text {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* 料金プラン（下層） */
.plan__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plan {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.plan__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--amber-d);
}
.plan:nth-child(2) .plan__name { border-color: var(--amber-y); }
.plan:nth-child(3) .plan__name { border-color: var(--amber-n); }
.plan__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.plan__price {
  margin-top: auto;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--amber-shadow);
}

/* CTAバナー */
.cta-banner {
  background:
    radial-gradient(ellipse 640px 320px at 90% -20%, rgba(248, 183, 59, 0.25), transparent 65%),
    var(--dark);
  color: var(--amber-veil);
  border-radius: 6px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--amber-d) 0 33.3%, var(--amber-y) 33.3% 66.6%, var(--amber-n) 66.6% 100%);
}
.cta-banner__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.6;
  margin-bottom: 14px;
}
.cta-banner__text {
  color: rgba(253, 246, 230, 0.75);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* 法的ページ */
.legal-page {
  padding: calc(var(--header-h) + 72px) 0 120px;
}
.legal-page__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.legal-page__updated {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-page__content {
  max-width: 800px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.legal-page__content h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 44px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--amber-d);
}
.legal-page__content p { margin-bottom: 14px; }
.legal-page__content ul {
  list-style: none;
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
}
.legal-page__content ul li {
  padding-left: 20px;
  position: relative;
}
.legal-page__content ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: var(--amber-d);
}
.legal-page__content a {
  color: var(--amber-shadow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page__info {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--amber-veil);
  border: 1px solid rgba(217, 154, 24, 0.25);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--amber-veil);
  color: var(--ink);
  font-weight: 700;
  width: 220px;
  white-space: nowrap;
}
.legal-table ul { display: grid; gap: 4px; }

/* ---------- コミュニティLP（/community/） ---------- */
.lp-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--amber-veil), var(--paper));
}
.lp-hero__bg { position: absolute; inset: 0; pointer-events: none; }

.lp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 56px;
  padding-bottom: 72px;
}

.lp-hero__badge {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-shadow);
  background: #FFFDF8;
  border: 1px solid rgba(217, 154, 24, 0.35);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 26px;
  animation: heroFade 0.9s var(--ease-out) both;
}

.lp-hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  line-height: 1.45;
  letter-spacing: 0.045em;
  margin-bottom: 28px;
  animation: heroRise 1s var(--ease-out) both;
}

.lp-hero__lead {
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  margin-bottom: 36px;
  animation: heroFade 1s 0.25s var(--ease-out) both;
}
.lp-hero__lead strong {
  display: inline-block;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(transparent 62%, var(--amber-y) 62%);
  padding: 0 2px;
  margin-bottom: 8px;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  animation: heroFade 1s 0.4s var(--ease-out) both;
}
.lp-hero__note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--ink-mute);
  animation: heroFade 1s 0.55s var(--ease-out) both;
}

/* AIとの壁打ちチャット */
.lp-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px 0;
}
.lp-chat {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 20px 22px;
  max-width: 380px;
  box-shadow: var(--shadow-card);
  position: relative;
  animation: nodeIn 0.8s var(--ease-out) both;
}
.lp-chat--ai { border-bottom-left-radius: 4px; align-self: flex-start; animation-delay: 0.5s; }
.lp-chat--user {
  background: var(--amber-d);
  border-color: var(--amber-d);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  animation-delay: 1.1s;
}
.lp-chat--small { animation-delay: 1.7s; }
.lp-chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.lp-chat__avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #FFFDF8;
  background: var(--ink);
  border-radius: 50%;
}
.lp-chat p { font-size: 0.9rem; line-height: 1.8; }
.lp-chat--user p { font-weight: 700; color: var(--ink); }

/* コンセプト（ダーク） */
.lp-concept {
  background:
    radial-gradient(ellipse 800px 420px at 90% -10%, rgba(248, 183, 59, 0.15), transparent 60%),
    var(--dark);
  color: var(--amber-veil);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.lp-concept__statement {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.65;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  max-width: 24em;
}
.lp-concept__statement em {
  background: linear-gradient(120deg, var(--amber-d), var(--amber-y));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-concept__body {
  max-width: 620px;
  display: grid;
  gap: 20px;
  color: rgba(253, 246, 230, 0.82);
  font-size: 0.98rem;
}
.lp-concept__body strong { color: var(--amber-y); font-weight: 700; }

/* プログラム（月間スケジュール） */
.lp-program__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.lp-program {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.lp-program:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.lp-program__week {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--amber-y);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
}
.lp-program:nth-child(1) .lp-program__week { background: var(--amber-d); }
.lp-program:nth-child(3) .lp-program__week { background: var(--amber-n); }
.lp-program:nth-child(4) .lp-program__week { background: var(--amber-mist); }
.lp-program__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.lp-program__type {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.lp-program__text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.lp-program__tier {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 4px 14px;
}
.lp-program__tier--paid {
  color: var(--amber-shadow);
  border: 1px solid rgba(217, 154, 24, 0.4);
  background: var(--amber-veil);
}
.lp-program__tier--free {
  color: #FFFDF8;
  background: var(--ink);
}

/* Before / After */
.lp-change__list {
  display: grid;
  gap: 16px;
  max-width: 880px;
}
.lp-change {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-card);
}
.lp-change__before {
  font-size: 0.9rem;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(217, 154, 24, 0.5);
  text-decoration-thickness: 2px;
}
.lp-change__arrow {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--amber-deep);
}
.lp-change__after {
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-card__per {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
}
.lp-pricing-note {
  margin-top: 36px;
  font-size: 0.82rem;
  color: var(--ink-mute);
  text-align: center;
}

/* 参加の流れ（3ステップ版） */
.flow--three { grid-template-columns: repeat(3, 1fr); }
.flow--three::before { left: 12%; right: 12%; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(253, 246, 230, 0.8);
  position: relative;
}
.footer .container { padding-top: 72px; padding-bottom: 40px; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dark-line);
}

.footer__brand-name {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.footer__brand-dyn {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
}
.footer__brand-dyn b:nth-child(1) { color: var(--amber-d); }
.footer__brand-dyn b:nth-child(2) { color: var(--amber-y); }
.footer__brand-dyn b:nth-child(3) { color: var(--amber-n); }
.footer__brand-full {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-logo);
}
.footer__brand-tagline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--amber-veil);
  margin-bottom: 14px;
}
.footer__brand-description {
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(253, 246, 230, 0.55);
}

.footer__heading {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber-y);
  margin-bottom: 20px;
}
.footer__links {
  display: grid;
  gap: 10px;
}
.footer__link {
  font-size: 0.88rem;
  color: rgba(253, 246, 230, 0.66);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.footer__link:hover {
  color: var(--amber-d);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
}
.footer__copyright {
  font-size: 0.78rem;
  color: rgba(253, 246, 230, 0.4);
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-link {
  font-size: 0.78rem;
  color: rgba(253, 246, 230, 0.55);
}
.footer__bottom-link:hover { color: var(--amber-d); }

/* ---------- Reveal（スクロール表示） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.18s; }
.reveal--delay-3 { transition-delay: 0.28s; }
.reveal--delay-4 { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__vertical-word { opacity: 0.55; }

  .services__grid,
  .reason__grid,
  .community__values,
  .community__plans,
  .pricing__grid,
  .plan__list {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing__grid { gap: 40px; }

  .narrative__principles { grid-template-columns: 1fr; }

  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }

  .results__grid { grid-template-columns: 1fr; }

  .profile__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .profile__photo-wrapper { max-width: 320px; }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail__grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }

  body { font-size: 15px; }

  .pc-only { display: none; }
  .sp-only { display: inline; }

  .section { padding: 88px 0; }
  .section__subtitle { margin-bottom: 44px; }

  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__vertical-word {
    font-size: 6.5rem;
    right: 0;
    top: 30%;
  }
  .hero__facts { flex-direction: column; gap: 0; }
  .hero__fact {
    margin-right: 0;
    padding: 12px 0 0;
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
  .hero__fact:not(:last-child)::after { display: none; }
  .hero__fact dt { min-width: 84px; }
  .hero__band { margin-top: 48px; }

  .narrative { padding: 96px 0; }

  .community { padding: 88px 0; }

  .flow { grid-template-columns: 1fr; gap: 32px; }

  .contact__form { padding: 36px 24px; }

  .cta-banner { padding: 56px 28px; }

  .legal-table th {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .legal-table td { display: block; width: 100%; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .btn { padding: 16px 28px; }
}

/* ---------- コミュニティLP Responsive ---------- */
@media (max-width: 1024px) {
  .lp-hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-bottom: 56px;
  }
  .lp-hero__visual {
    max-width: 420px;
    width: 100%;
  }
  .lp-program__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .lp-hero { padding-top: calc(var(--header-h) + 40px); }
  .lp-hero__badge {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    padding: 7px 16px;
    white-space: nowrap;
  }
  .lp-concept { padding: 88px 0; }
  .lp-change {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 20px;
  }
  .lp-change__arrow {
    transform: rotate(90deg);
    justify-self: start;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .lp-hero__actions { flex-direction: column; align-items: stretch; }
  .lp-hero__actions .btn { width: 100%; }
}
