/* ══ tokens ══ */
:root {
  /* 基調色 */
  --red: #b3402f;
  --red-dark: #9a3527;
  --red-bright: #c94b38;
  --navy: #1c3550;
  --navy-deep: #14283d;
  --gold: #e0b568;      /* 明るい金:紺地の上の強調 */
  --gold-deep: #b58e4a; /* 渋い金:生成り地の上の装飾 */
  /* 地色 */
  --cream: #f6f2ea;
  --cream-warm: #efe9db;
  --paper: #fdfcf9;
  --mist: #f2f5f8;
  /* 文字色 */
  --ink: #2a2622;
  --ink-soft: #4a443c;
  --ink-mute: #6b6355;
  --gray: #8b95a1;
  --on-navy: #cfd8e2;
  --on-navy-mute: #a9b6c4;
  /* 罫線・淡色 */
  --line: #ded5c2;
  --line-mist: #cdd8e2;
  --sand: #ece6d8;
  --sand-text: #e6dcc6;
  --sand-deep: #dcccb0;
  --stone: #c9c0ae;
  /* フォント */
  --serif: 'Shippori Mincho', serif;
  --sans: 'Zen Kaku Gothic New', sans-serif;
}

/* ══ base ══ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--red); text-decoration: none; }
p a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.accent { color: var(--red); }
.gold { color: var(--gold); }

/* ══ buttons ══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.btn--primary { background: var(--red); color: var(--paper); }
.btn--primary:hover { background: var(--red-dark); }
.btn--header { gap: 8px; font-size: 14px; letter-spacing: 0.08em; padding: 11px 26px; }
.btn--hero { gap: 12px; font-size: 17px; letter-spacing: 0.1em; padding: 19px 48px; box-shadow: 0 8px 24px rgba(179,64,47,0.3); }
.btn--ghost { gap: 10px; border: 1.5px solid var(--navy); color: var(--navy); font-size: 16px; letter-spacing: 0.08em; padding: 18px 36px; }
.btn--ghost:hover { background: var(--navy); color: var(--paper); }
.btn--outline { gap: 10px; border: 1.5px solid var(--red); color: var(--red); font-size: 15px; letter-spacing: 0.08em; padding: 13px 20px; }
.btn--outline:hover { background: var(--red); color: var(--paper); }
.btn__arrow { font-size: 14px; }

/* ══ section common ══ */
.section { padding: 96px 32px; }
.section--dark { padding-top: 88px; padding-bottom: 88px; }
.section__inner { margin: 0 auto; display: flex; flex-direction: column; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.section-label { font-family: var(--serif); font-size: 14px; letter-spacing: 0.4em; color: var(--red); }
.section-label--gold { color: var(--gold); }
.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 38px); letter-spacing: 0.06em; color: var(--navy); line-height: 1.5; }
.section-title--light { color: var(--cream); }
.section-desc { font-size: 16px; color: var(--ink-soft); line-height: 1.9; }
.section-desc strong { color: var(--navy); }
.section-rule { width: 56px; height: 2px; background: var(--gold-deep); display: block; }
.section-note { text-align: center; font-size: 14px; color: var(--ink-mute); line-height: 1.9; }
.section-note strong { color: var(--navy); }
.section-note--dark { color: var(--on-navy-mute); }

/* ══ header ══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 32px;
  background: rgba(246,242,234,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: var(--paper);
  font-size: 18px;
}
.brand__name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.16em; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; color: var(--navy); }
.site-nav a:hover { color: var(--red); }
section[id] { scroll-margin-top: 72px; }

/* ══ hero ══ */
.hero {
  position: relative;
  padding: 84px 32px 96px;
  background: linear-gradient(180deg, #f8f5ee 0%, #f2ecdf 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: url(/assets/pattern-seigaiha-navy.svg);
  background-size: 100% 100%;
  opacity: 0.10;
}
.hero__inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  animation: fadeUp .8s ease both;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__badge {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--red);
  background: rgba(179,64,47,0.08);
  padding: 8px 18px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.hero__title-phrase { display: inline-block; }
.hero__lead { font-size: 17px; line-height: 2.05; color: var(--ink-soft); letter-spacing: 0.02em; max-width: 540px; }
.hero__lead strong { color: var(--navy); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__img { width: 100%; height: auto; display: block; animation: floaty 5s ease-in-out infinite; }

/* ══ problem ══ */
.problem { background: var(--navy); color: var(--cream); }
.problem__inner { max-width: 860px; align-items: center; gap: 44px; text-align: center; }
.problem__intro { display: flex; flex-direction: column; gap: 18px; }
.problem__pre { font-size: 17px; color: var(--on-navy); letter-spacing: 0.04em; }
.problem__title { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 36px); letter-spacing: 0.05em; line-height: 1.7; }
.problem__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.problem-card {
  background: rgba(246,242,234,0.05);
  border: 1px solid rgba(246,242,234,0.14);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.problem-card span { font-size: 15px; line-height: 1.8; color: var(--cream); }
.problem__punch { font-family: var(--serif); font-size: clamp(19px, 2.3vw, 27px); line-height: 1.7; letter-spacing: 0.05em; }

/* ══ how ══ */
.how { background: var(--cream); }
.how__inner { max-width: 1000px; gap: 56px; }
.step { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: center; }
.step--reverse { grid-template-columns: 1fr 300px; }
.step__img { width: 100%; height: auto; }
.step__body { display: flex; flex-direction: column; gap: 14px; }
.step__head { display: flex; align-items: center; gap: 14px; }
.step__num { font-family: var(--serif); font-size: 44px; color: var(--sand-text); line-height: 1; }
.step__name { display: flex; flex-direction: column; }
.step__title { font-family: var(--serif); font-size: 25px; color: var(--navy); letter-spacing: 0.06em; }
.step__tag { font-size: 13px; color: var(--red); letter-spacing: 0.14em; }
.step__text { font-size: 15px; line-height: 2; color: var(--ink-soft); }
.step__text strong { color: var(--navy); }
.how__banner { background: var(--navy); padding: 28px 40px; text-align: center; }
.how__banner p { font-family: var(--serif); font-size: clamp(17px, 2vw, 23px); color: var(--cream); letter-spacing: 0.05em; line-height: 1.6; }

/* ══ heat (見込みの可視化) ══ */
.heat { background: var(--cream-warm); }
.heat__inner { max-width: 1000px; gap: 48px; }
.heat__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.heat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top-width: 5px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.heat-card--hot { border-top-color: var(--red); }
.heat-card--medium { border-top-color: var(--gold-deep); }
.heat-card--cold { border-top-color: var(--gray); }
.heat-card__head { display: flex; align-items: center; gap: 12px; }
.heat-card__label { font-family: var(--serif); font-size: 21px; letter-spacing: 0.04em; }
.heat-card--hot .heat-card__label, .heat-card--hot .heat-card__action { color: var(--red); }
.heat-card--medium .heat-card__label, .heat-card--medium .heat-card__action { color: var(--gold-deep); }
.heat-card--cold .heat-card__label, .heat-card--cold .heat-card__action { color: var(--gray); }
.heat-card__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.heat-card__action { margin-top: auto; font-size: 15px; font-weight: 700; }

/* ══ results ══ */
.results { background: var(--navy); }
.results__inner { max-width: 960px; gap: 44px; }
.results__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card {
  background: var(--paper);
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.result-card__label { font-size: 14px; color: var(--navy); font-weight: 700; letter-spacing: 0.04em; }
.result-card__num { font-family: var(--serif); font-size: clamp(42px, 5vw, 60px); color: var(--red); font-weight: 800; line-height: 1; }
.result-card__unit { font-size: 0.45em; }
.result-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ══ roles ══ */
.roles { background: var(--cream); }
.roles__inner { max-width: 960px; gap: 44px; }
.roles-table-wrap { overflow-x: auto; }
.roles-table {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(28,53,80,0.06);
  display: grid;
  grid-template-columns: 1fr 128px 128px;
  overflow: hidden;
  font-size: 15px;
  min-width: 560px;
}
.rt-head { padding: 16px 10px; background: var(--cream-warm); text-align: center; font-family: var(--serif); color: var(--ink-mute); letter-spacing: 0.04em; }
.rt-head--task { padding: 16px 24px; text-align: left; letter-spacing: 0.06em; }
.rt-head--brand { background: var(--navy); color: var(--cream); }
.rt-task { padding: 16px 24px; border-top: 1px solid var(--line); color: var(--navy); }
.rt-cell { padding: 16px 10px; border-top: 1px solid var(--line); text-align: center; }
.rt-us { background: var(--mist); }
.rt-yes { color: var(--red); font-weight: 700; }
.rt-no { color: var(--stone); }
.rt-opt { color: var(--gray); font-size: 13px; line-height: 1.5; }

/* ══ pricing ══ */
.pricing { background: var(--cream); }
.pricing__inner { max-width: 1060px; gap: 48px; }
.pricing__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan-card--featured { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); position: relative; }
.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 5px 20px;
  white-space: nowrap;
}
.plan-card__head { display: flex; align-items: center; gap: 14px; }
.plan-card__head img { flex-shrink: 0; }
.plan-card__name { display: flex; flex-direction: column; }
.plan-card__title { font-family: var(--serif); font-size: 21px; color: var(--navy); letter-spacing: 0.08em; }
.plan-card__sub { font-size: 13px; color: var(--ink-mute); }
.plan-card__price { display: flex; align-items: baseline; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.plan-card__price-pre, .plan-card__price-post { font-size: 14px; color: var(--ink-soft); }
.plan-card__price-num { font-family: var(--serif); font-size: 32px; color: var(--red); font-weight: 700; }
.plan-card__price-contact { font-family: var(--serif); font-size: 26px; color: var(--red); font-weight: 700; }
.plan-card__list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-card__list li { font-size: 14px; color: var(--ink); display: flex; gap: 10px; line-height: 1.6; }
.plan-card__list .check { color: var(--red); }
.plan-card__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.plan-card__cta { margin-top: auto; display: flex; }

/* ══ option ══ */
.option { background: var(--paper); border-top: 1px solid var(--line); }
.option__inner { max-width: 900px; gap: 32px; }
.option__box {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.option__feature { display: flex; align-items: flex-start; gap: 20px; }
.option__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.option__body { display: flex; flex-direction: column; gap: 10px; }
.option__body h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); letter-spacing: 0.04em; line-height: 1.6; font-weight: 600; }
.option__body p { font-size: 15px; color: var(--ink-soft); line-height: 2; }
.option__cost {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--mist);
  border: 1px solid var(--line-mist);
  padding: 18px 24px;
  flex-wrap: wrap;
}
.option__cost-label { font-size: 14px; color: var(--navy); font-weight: 700; letter-spacing: 0.04em; flex-shrink: 0; }
.option__cost-text { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* ══ flow ══ */
.flow { background: var(--paper); border-top: 1px solid var(--line); }
.flow__inner { max-width: 1000px; gap: 44px; align-items: center; }
.flow__steps { display: flex; align-items: flex-start; justify-content: center; gap: 8px; width: 100%; flex-wrap: wrap; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; min-width: 120px; }
.flow-step__circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step__circle--final { background: var(--navy); }
.flow-step__caption { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.flow-step__num { font-family: var(--serif); font-size: 15px; color: var(--gold-deep); }
.flow-step__label { font-size: 14px; color: var(--navy); font-weight: 700; text-align: center; }
.flow__arrow { color: var(--sand-deep); font-size: 20px; padding-top: 32px; }

/* ══ faq ══ */
.faq { background: var(--cream-warm); }
.faq__inner { max-width: 820px; gap: 40px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--line); background: var(--paper); }
.faq-item__q { display: flex; gap: 16px; padding: 22px 28px; align-items: flex-start; }
.faq-item__q > span:last-child { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.8; }
.faq-item__a { display: flex; gap: 16px; padding: 0 28px 24px; align-items: flex-start; }
.faq-item__a > span:last-child { font-size: 15px; font-weight: 400; color: var(--ink-soft); line-height: 2; }
.faq-item__mark { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--red); }
.faq-item__mark--a { color: var(--navy); }

/* ══ closing ══ */
.closing { position: relative; background: var(--navy); padding: 110px 32px 100px; overflow: hidden; }
.closing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 170px;
  background: url(/assets/pattern-seigaiha-cream.svg);
  background-size: 100% 100%;
  opacity: 0.08;
}
.closing__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.closing__pre { font-size: 16px; color: var(--on-navy-mute); letter-spacing: 0.04em; line-height: 2; }
.closing__title { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: 0.05em; color: var(--cream); line-height: 1.4; }
.closing__lead { font-size: 16px; color: var(--on-navy); letter-spacing: 0.03em; line-height: 1.9; }
.btn--closing { gap: 14px; font-size: 18px; letter-spacing: 0.12em; padding: 20px 60px; margin-top: 8px; box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.btn--closing:hover { background: var(--red-bright); }

/* ══ footer ══ */
.site-footer {
  background: var(--navy-deep);
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.site-footer__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: var(--paper);
  font-size: 14px;
}
.site-footer__text { font-size: 13px; color: var(--on-navy-mute); letter-spacing: 0.1em; }

/* ══ responsive ══ */
@media (max-width: 880px) {
  .site-nav { display: none; }

  .hero { padding: 56px 20px 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__img { max-width: 340px; margin: 0 auto; }

  .section { padding: 72px 20px; }
  .section--dark { padding-top: 64px; padding-bottom: 64px; }

  .step, .step--reverse { grid-template-columns: 1fr; gap: 24px; }
  .step__img { max-width: 260px; margin: 0 auto; }
  .step--reverse .step__img { order: -1; }

  .problem__cards, .heat__cards, .results__cards, .pricing__cards { grid-template-columns: 1fr; }
  .plan-card--featured { margin-top: 10px; }

  .option__box { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .site-header { padding: 12px 16px; }
  .brand__name { font-size: 17px; }
  .btn--header { padding: 10px 18px; }

  .hero__badge { font-size: 13px; letter-spacing: 0.18em; }
  .hero__actions { width: 100%; }
  .btn--hero, .btn--ghost { width: 100%; }
  .btn--closing { padding: 18px 40px; width: 100%; }

  .how__banner { padding: 22px 20px; }

  .flow__arrow { display: none; }
  .flow-step { min-width: 96px; }
  .flow-step__circle { width: 72px; height: 72px; }

  .faq-item__q { padding: 18px 18px; gap: 12px; }
  .faq-item__a { padding: 0 18px 20px; gap: 12px; }

}
