/* =========================================================
   PERFECT LP  —  黒×シャンパンゴールドの高級感デザイン
   ========================================================= */
:root {
  --bg: #0a0908;
  --bg-2: #110f0d;
  --bg-card: rgba(22, 19, 15, .82);
  --gold: #c9a961;
  --gold-light: #ecd9a6;
  --gold-dark: #8c6c30;
  --gold-grad: linear-gradient(135deg, #8c6c30 0%, #e9d39b 38%, #c9a961 55%, #f3e3b6 72%, #9a7838 100%);
  --text: #f1ebe0;
  --text-muted: #a99f8e;
  --line: rgba(201, 169, 97, .3);
  --line-strong: rgba(201, 169, 97, .6);
  --on-gold: #1c1509;
  --danger: #e07a6a;
  --ff-en: "Cormorant Garamond", "Times New Roman", serif;
  --ff-num: "Cinzel", "Times New Roman", serif; /* 数字用：高さの揃ったライニング数字 */
  --ff-min: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
  --ff-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --header-h: 72px;
  --topbar-h: 30px; /* ヘッダー上の帯 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--topbar-h)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.pc { display: inline; }
.sp { display: none; }
@media (max-width: 767px) { .pc { display: none; } .sp { display: inline; } }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.8em;
  border: 1px solid transparent;
  font-family: var(--ff-min);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn--gold {
  color: var(--on-gold);
  background: url("../img/btn-gold.jpg") center / cover no-repeat, var(--gold-grad);
  box-shadow: 0 6px 24px rgba(201, 169, 97, .22), inset 0 0 0 1px rgba(255, 240, 200, .45);
}
.btn--gold::after { /* 光が走るハイライト */
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201, 169, 97, .35), inset 0 0 0 1px rgba(255, 240, 200, .6); }
.btn--gold:hover::after { left: 120%; }
.btn--ghost {
  color: var(--gold-light);
  border-color: var(--line-strong);
  background: rgba(10, 9, 8, .35);
}
.btn--ghost:hover { background: rgba(201, 169, 97, .12); border-color: var(--gold); }
.btn--lg { min-height: 60px; padding: .9em 2.4em; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: .45em 1.2em; font-size: .85rem; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: var(--topbar-h) 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 9, 8, .86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}
.header__inner {
  height: 100%;
  width: min(1280px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 28px; height: 28px; }
.logo__text {
  font-family: var(--ff-en);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .22em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.logo__sub {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .1em;
  white-space: nowrap;
}
.gnav { display: flex; align-items: center; gap: 24px; font-size: .88rem; }
.gnav a:not(.btn) { position: relative; padding-block: 4px; white-space: nowrap; }
.gnav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.gnav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

@media (max-width: 1100px) {
  .logo__sub { display: none; }
  .gnav { gap: 18px; }
}
@media (max-width: 960px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  }
  .menu-btn span { display: block; width: 22px; height: 1px; background: var(--gold-light); transition: transform .3s, opacity .3s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnav {
    position: fixed; inset: calc(var(--header-h) + var(--topbar-h)) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px; background: rgba(10, 9, 8, .97); border-bottom: 1px solid var(--line);
    font-size: 1rem; transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .gnav.is-open { opacity: 1; transform: none; visibility: visible; }
  .gnav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(201, 169, 97, .14); }
  .gnav__cta { margin-top: 16px; min-height: 52px; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--topbar-h) + 40px) 0 96px;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .35) 55%, rgba(10, 9, 8, 0) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 8, 0) 22%);
}
.hero__inner { width: min(1160px, 100% - 32px); margin-inline: auto; }
.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--ff-min); font-size: .95rem; color: var(--gold-light); letter-spacing: .14em;
}
.hero__eyebrow span { padding: 2px 12px; border: 1px solid var(--line-strong); }
.hero__title {
  margin-top: 28px;
  font-family: var(--ff-min);
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.38;
  letter-spacing: .08em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.hero__title em {
  font-style: normal;
  font-size: 1.25em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-inline: .04em;
}
.hero__lead { margin-top: 24px; max-width: 40em; color: #ddd4c4; font-size: clamp(.95rem, 1.6vw, 1.08rem); }
.hero__price { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.price-badge {
  position: relative;
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 9, 8, .55);
  backdrop-filter: blur(4px);
}
.price-badge::before { /* 角飾り */
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(201, 169, 97, .18); pointer-events: none;
}
.price-badge__label { font-family: var(--ff-min); font-size: .95rem; color: var(--gold-light); }
.price-badge__num {
  font-family: var(--ff-num); font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 600; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-badge__num small { font-family: var(--ff-min); font-size: .45em; margin-left: 2px; }
.price-badge__tax { font-size: .8rem; color: var(--text-muted); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--ff-en); font-size: .75rem; letter-spacing: .3em; color: var(--gold-light);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 767px) {
  .hero { align-items: flex-end; padding-bottom: 88px; }
  .hero__bg img { object-position: 78% center; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 8, .82) 45%, rgba(10, 9, 8, .25) 100%); }
  .hero__title { font-size: clamp(1.6rem, 7.6vw, 2.1rem); }
  .hero__price { gap: 10px; }
  .price-badge {
    flex: 1 1 0; min-width: 0; padding: 12px 14px;
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "label tax" "num num";
    align-items: baseline; gap: 4px 6px;
  }
  .price-badge__label { grid-area: label; font-size: .85rem; }
  .price-badge__tax { grid-area: tax; font-size: .72rem; }
  .price-badge__num { grid-area: num; font-size: 1.7rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
}

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--marble {
  background: linear-gradient(rgba(10, 9, 8, .35), rgba(10, 9, 8, .35)), url("../img/marble.jpg") center / cover fixed, var(--bg-2);
  border-block: 1px solid rgba(201, 169, 97, .14);
}
@media (hover: none) { .section--marble { background-attachment: scroll; } }
.section--hero-bg {
  background: linear-gradient(rgba(10, 9, 8, .86), rgba(10, 9, 8, .92)), url("../img/hero.jpg") right center / cover, var(--bg);
}

.sec-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head__en {
  font-family: var(--ff-en); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gold); letter-spacing: .2em;
}
.sec-head__ja {
  margin-top: 6px;
  font-family: var(--ff-min);
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
  line-height: 1.5;
  letter-spacing: .1em;
}
.sec-head__ja::after { /* ChatGPT生成のオーナメント */
  content: "";
  display: block;
  width: min(300px, 70%);
  aspect-ratio: 6 / 1;
  margin: 18px auto 0;
  background: url("../img/ornament.png") center / contain no-repeat;
}
.sec-head__lead { margin-top: 18px; color: var(--text-muted); }
.sec-head--left { text-align: left; margin-bottom: 28px; }
.sec-head--left .sec-head__ja::after { margin-left: 0; background-position: left center; }

/* フェードイン */
/* 表示後は JS で reveal クラスを外し、各要素本来の transition に戻す */
html .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .hero__scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- お悩み ---------- */
.worries__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.worries__list li {
  position: relative;
  padding: 22px 24px 22px 60px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  line-height: 1.75;
}
.worries__list li::before {
  content: ""; position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%);
  border: 1px solid var(--gold); border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px);
}
.worries__list strong { color: var(--gold-light); font-weight: 500; }
.worries__answer {
  margin-top: 56px; text-align: center;
  font-family: var(--ff-min); font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: .08em;
}
.worries__answer .gold-text { font-family: var(--ff-en); font-size: 1.4em; letter-spacing: .18em; font-weight: 600; }

/* ---------- 特長 ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }
.feature {
  position: relative;
  padding: 44px 30px 36px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.feature::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 169, 97, .1); pointer-events: none; }
.feature:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.feature__no {
  position: absolute; top: 14px; left: 20px;
  font-family: var(--ff-num); font-size: 1.25rem; color: rgba(201, 169, 97, .55);
}
.feature__icon { width: 80px; height: 80px; margin: 0 auto 18px; }
.feature__title { font-family: var(--ff-min); font-size: 1.28rem; letter-spacing: .08em; color: var(--gold-light); }
.feature__text { margin-top: 14px; font-size: .93rem; color: #d2c9b9; text-align: left; }

/* ---------- デザイン ---------- */
.design__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .design__inner { grid-template-columns: 1fr; } }
.design__img { margin: 0; position: relative; }
.design__img::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.design__img img { width: 100%; }
.design__body > p { color: #d2c9b9; }
.check-list { margin-top: 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* ---------- お任せサポート ---------- */
.support__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .support__grid { grid-template-columns: 1fr; } }
.support-card { padding: 36px clamp(22px, 3vw, 40px); background: var(--bg-card); border: 1px solid var(--line); }
.support-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.support-card__head img { width: 56px; height: 56px; flex-shrink: 0; }
.support-card__head h3 { font-family: var(--ff-min); font-size: 1.35rem; color: var(--gold-light); letter-spacing: .08em; }
.support-card__list { margin-top: 10px; }
.support-card__list li { display: grid; gap: 2px; padding: 14px 0 14px 22px; position: relative; border-bottom: 1px dashed rgba(201, 169, 97, .18); }
.support-card__list li:last-child { border-bottom: 0; }
.support-card__list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.support-card__list strong { font-weight: 500; }
.support-card__list span { font-size: .88rem; color: var(--text-muted); }

.support-flow {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  counter-reset: none;
}
.support-flow li {
  position: relative;
  padding: 26px 18px;
  text-align: center;
  font-family: var(--ff-min);
  font-size: 1.05rem;
  line-height: 1.6;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(201, 169, 97, .1), rgba(201, 169, 97, .02));
}
.support-flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -26px; top: 50%; width: 14px; height: 14px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg);
}
.support-flow__step { display: block; margin-bottom: 8px; font-family: var(--ff-num); font-size: .9rem; letter-spacing: .2em; color: var(--gold); }
@media (max-width: 700px) {
  .support-flow { grid-template-columns: 1fr; gap: 30px; }
  .support-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%) rotate(135deg); }
}

/* ---------- サイト構成 ---------- */
.pages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 16px;
}
@media (max-width: 480px) { .pages__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.page-card {
  width: 100%;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .3s, opacity .3s, filter .3s, background-color .3s;
}
.page-card img { width: 64px; height: 64px; transition: filter .3s; }
.page-card__name { font-family: var(--ff-min); font-size: 1.02rem; letter-spacing: .06em; }
.page-card__state {
  font-size: .72rem; letter-spacing: .12em; padding: 1px 10px; border: 1px solid var(--line-strong); color: var(--gold-light);
}
.page-card__state::before { content: "表示"; }
.page-card:hover { border-color: var(--gold); }
.page-card[aria-pressed="false"] { background: rgba(14, 12, 10, .6); border-style: dashed; }
.page-card[aria-pressed="false"] img { filter: grayscale(1) brightness(.45); }
.page-card[aria-pressed="false"] .page-card__name { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(201, 169, 97, .5); }
.page-card[aria-pressed="false"] .page-card__state { color: var(--text-muted); border-color: rgba(169, 159, 142, .4); }
.page-card[aria-pressed="false"] .page-card__state::before { content: "非表示"; }
.pages__count { margin-top: 24px; text-align: center; color: var(--text-muted); }
.pages__count strong { font-family: var(--ff-num); font-size: 1.6rem; color: var(--gold-light); }

/* ---------- 料金 ---------- */
.plan {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 64px);
  text-align: center;
  background: linear-gradient(180deg, rgba(28, 23, 16, .92), rgba(12, 10, 8, .95));
  border: 1px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 8px rgba(201, 169, 97, .06);
}
.plan::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 169, 97, .22); pointer-events: none; }
.plan__ribbon {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  padding: 4px 26px; white-space: nowrap;
  font-family: var(--ff-en); font-weight: 600; letter-spacing: .3em; font-size: .95rem; color: var(--on-gold);
  background: url("../img/btn-gold.jpg") center / cover, var(--gold-grad);
}
.plan__name { font-family: var(--ff-min); font-size: clamp(1.3rem, 2.8vw, 1.75rem); letter-spacing: .1em; line-height: 1.6; }
.plan__prices { margin-top: 28px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 26px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; }
.plan__label { font-family: var(--ff-min); color: var(--gold-light); font-size: 1.05rem; }
.plan__num {
  font-family: var(--ff-num); font-weight: 600; line-height: 1; font-size: clamp(2.5rem, 7vw, 4.2rem);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan__num small { font-family: var(--ff-min); font-size: .38em; margin-left: 4px; }
.plan__tax { color: var(--text-muted); font-size: .9rem; }
.plan__plus { font-size: 2rem; color: var(--gold); line-height: 1; }
.plan__list {
  margin: 40px auto 0; max-width: 640px; text-align: left;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.plan__list li { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.plan__list img { width: 36px; height: 36px; flex-shrink: 0; }
.plan__cta { margin-top: 40px; min-width: min(100%, 360px); }

/* ---------- オプション ---------- */
.options__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .options__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .options__grid { grid-template-columns: 1fr; } }
.option {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 36px 20px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.option:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.option img { width: 64px; height: 64px; }
.option__check {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; margin: 0;
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
}
.option__check:checked { background: var(--gold); border-color: var(--gold); }
.option__check:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border-right: 2px solid var(--on-gold); border-bottom: 2px solid var(--on-gold); transform: rotate(45deg);
}
.option:has(.option__check:checked) { border-color: var(--gold); background: rgba(201, 169, 97, .09); }
.option__name { font-family: var(--ff-min); font-size: 1.12rem; color: var(--gold-light); letter-spacing: .06em; }
.option__desc { font-size: .86rem; color: var(--text-muted); line-height: 1.7; flex-grow: 1; }
.option__price {
  margin-top: 6px; font-family: var(--ff-num); font-weight: 600; font-size: 1.6rem; line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.option__price small { font-family: var(--ff-sans); font-size: .42em; font-weight: 500; }

.simulator {
  max-width: 560px;
  margin: 44px auto 0;
  padding: 28px clamp(20px, 4vw, 36px);
  border: 1px solid var(--line-strong);
  background: rgba(16, 13, 10, .9);
}
.simulator__row { display: flex; justify-content: space-between; padding: 6px 0; color: #d2c9b9; }
.simulator__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--ff-min);
}
.simulator__total strong {
  font-family: var(--ff-num); font-size: 2.2rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.simulator__total small { font-family: var(--ff-min); font-size: .4em; }
.simulator__note { margin-top: 12px; font-size: .8rem; color: var(--text-muted); }

/* ---------- 導入の流れ ---------- */
.flow__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .flow__list { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.flow__list li {
  position: relative;
  padding: 30px 20px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
}
.flow__no {
  display: block; font-family: var(--ff-num); font-size: 1.9rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flow__list h3 { margin-top: 12px; font-family: var(--ff-min); font-size: 1.12rem; color: var(--gold-light); }
.flow__list p { margin-top: 10px; font-size: .88rem; color: #cfc6b5; text-align: left; }
@media (max-width: 1000px) {
  .flow__list li { display: grid; grid-template-columns: 64px 1fr; text-align: left; column-gap: 16px; align-items: center; padding: 22px 20px; }
  .flow__no { grid-row: span 2; text-align: center; }
  .flow__list h3 { margin-top: 0; }
  .flow__list p { margin-top: 4px; }
}

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--bg-card); border: 1px solid var(--line); }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 60px;
  font-family: var(--ff-min);
  font-size: 1.05rem;
  line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q"; position: absolute; left: 22px; top: 16px;
  font-family: var(--ff-en); font-size: 1.6rem; font-style: italic; color: var(--gold);
}
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { position: relative; padding: 0 28px 22px 60px; color: #d2c9b9; font-size: .95rem; }
.faq__item p::before {
  content: "A"; position: absolute; left: 24px; top: -6px;
  font-family: var(--ff-en); font-size: 1.6rem; font-style: italic; color: var(--text-muted);
}

/* ---------- お問合せフォーム ---------- */
.form {
  padding: clamp(28px, 5vw, 52px);
  background: rgba(14, 12, 10, .88);
  border: 1px solid var(--line-strong);
  display: grid; gap: 22px;
}
.form__row { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__row--half { grid-template-columns: 1fr 1fr; gap: 22px; }
.form__row--half > div { display: grid; gap: 8px; }
@media (max-width: 640px) { .form__row--half { grid-template-columns: 1fr; } }
.form label, .form legend { font-size: .92rem; font-weight: 500; }
.form legend { margin-bottom: 8px; padding: 0; }
.req { margin-left: 8px; padding: 1px 8px; font-size: .7rem; color: var(--on-gold); background: var(--gold); vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(201, 169, 97, .35);
  border-radius: 0;
  transition: border-color .3s, background-color .3s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { background: var(--bg-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background-color: rgba(201, 169, 97, .06); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; }
.form__checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
@media (max-width: 520px) { .form__checks { grid-template-columns: 1fr; } }
.form__checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; min-height: 40px; }
.form__checks input { width: 18px; height: 18px; accent-color: var(--gold); }
.form__submit { width: 100%; margin-top: 8px; }

/* ---------- フッター ---------- */
.footer { padding: 48px 0 120px; border-top: 1px solid var(--line); background: #070606; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; color: var(--text-muted); }
.footer__nav a:hover { color: var(--gold-light); }
.footer__copy { width: 100%; font-family: var(--ff-en); font-size: .85rem; color: var(--text-muted); letter-spacing: .14em; }
@media (min-width: 768px) { .footer { padding-bottom: 48px; } }

/* ---------- スマホ固定CTA ---------- */
.fixed-cta { display: none; }
@media (max-width: 767px) {
  .fixed-cta {
    position: fixed; inset: auto 0 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 9, 8, .94); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .fixed-cta.is-show { transform: none; }
  .fixed-cta .btn { min-height: 50px; padding-inline: 10px; }
}

/* ---------- トースト ---------- */
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 96px; transform: translateX(-50%);
  width: min(480px, calc(100% - 32px));
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  background: #16120c;
  border: 1px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  animation: toastIn .35s var(--ease);
}
.toast[hidden] { display: none; }
.toast.is-error { border-color: var(--danger); }
.toast__msg { flex: 1; font-size: .93rem; line-height: 1.7; }
.toast__close { background: none; border: 0; color: var(--text-muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 4px; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translateX(-50%); } }
@media (min-width: 768px) { .toast { bottom: 32px; } }

/* 数字はライニング数字＋等幅で揃える */
.price-badge__num, .plan__num, .option__price, .simulator__total strong, .flow__no, .feature__no, .pages__count strong, .support-flow__step {
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .02em;
}
::selection { background: rgba(201, 169, 97, .4); color: #fff; -webkit-text-fill-color: #fff; }
/* フォームのスパム対策用の隠し項目 */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- プライバシーポリシー ---------- */
.legal { padding: calc(var(--header-h) + var(--topbar-h) + 64px) 0 96px; }
.legal .sec-head__ja { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.legal__body {
  padding: clamp(24px, 5vw, 52px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: #d8cfbf;
  font-size: .95rem;
}
.legal__body h2 {
  margin: 40px 0 14px;
  padding-bottom: 8px;
  font-family: var(--ff-min);
  font-size: 1.2rem;
  color: var(--gold-light);
  border-bottom: 1px solid var(--line);
}
.legal__body p + p { margin-top: 12px; }
.legal__body ul, .legal__body ol { margin: 12px 0; padding-left: 1.5em; }
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li { margin: 6px 0; }
.legal__body li::marker { color: var(--gold); }
.legal__body strong { color: var(--text); font-weight: 500; }
.legal__body a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.legal__info { display: grid; grid-template-columns: 9em 1fr; gap: 10px 16px; margin: 12px 0 0; }
.legal__info dt { color: var(--gold-light); }
.legal__info dd { margin: 0; }
@media (max-width: 520px) { .legal__info { grid-template-columns: 1fr; gap: 2px; } .legal__info dd { margin-bottom: 10px; } }
.legal__date { margin-top: 36px !important; text-align: right; color: var(--text-muted); font-size: .85rem; }
.legal__back { margin-top: 40px; text-align: center; }
.page-legal .header__inner .btn { white-space: nowrap; }
@media (max-width: 520px) { .page-legal .logo__text { font-size: 1.3rem; } }

/* ---------- フォーム：同意チェック・Turnstile ---------- */
.form__agree { display: flex; justify-content: center; }
.form__agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 400; min-height: 44px; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--gold); flex-shrink: 0; }
.form__agree a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.form__agree input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.form__turnstile { display: flex; justify-content: center; min-height: 65px; }
.form__turnstile .cf-turnstile { width: 100%; max-width: 420px; }

/* ---------- 制作サンプル ---------- */
.works__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.work { grid-column: span 2; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.work:nth-child(4), .work:nth-child(5) { grid-column: span 3; }
.work:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.work__img { position: relative; margin: 0; overflow: hidden; }
.work__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover .work__img img { transform: scale(1.05); }
.work__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 60%); }
.work__logo { position: absolute; z-index: 1; left: 18px; bottom: 14px; line-height: 1; }
.work__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.work__cat { font-family: var(--ff-min); font-size: 1.1rem; color: var(--gold-light); letter-spacing: .08em; }
.work__desc { flex: 1; font-size: .88rem; color: #cfc6b5; line-height: 1.8; }
.work__link { align-self: flex-start; margin-top: 6px; padding-bottom: 2px; font-size: .85rem; color: var(--gold); border-bottom: 1px solid var(--gold); }
.work__link::after { content: " ↗"; }
/* 各サンプルのロゴをそれぞれの雰囲気で */
.work--luxury .work__logo { font: italic 600 2.2rem var(--ff-en); color: #e6d6b6; }
.work--simple .work__logo { padding: 6px 12px; font: 600 1.8rem "Noto Sans JP", sans-serif; color: #1c1c1c; background: #fff; }
.work--simple .work__logo b { color: #d3566f; }
.work--esthe .work__logo { padding: 6px 16px; border-radius: 999px; font: 700 1.3rem "Noto Sans JP", sans-serif; color: #fff; background: #3f9e85; }
.work--neon .work__logo { font: 900 1.7rem "Noto Sans JP", sans-serif; letter-spacing: .06em; color: #fff; text-shadow: 0 0 6px #ff2bd6, 0 0 18px #ff2bd6, 0 0 36px #ff2bd6; }
.work--soap .work__logo { writing-mode: vertical-rl; padding: 10px 8px; font: 800 1.6rem var(--ff-min); letter-spacing: .3em; color: #fff; background: #b23a2a; }
.works__note { margin-top: 24px; text-align: center; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 960px) { .works__grid { grid-template-columns: repeat(2, 1fr); } .work, .work:nth-child(4), .work:nth-child(5) { grid-column: span 1; } .work:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .works__grid { grid-template-columns: 1fr; } .work:nth-child(5) { grid-column: auto; } }
@media (max-width: 1180px) and (min-width: 961px) { .gnav { gap: 14px; font-size: .82rem; } }

/* ---------- 対応業種 ---------- */
.ind__grid { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr; gap: 24px; align-items: stretch; }
@media (max-width: 1000px) { .ind__grid { grid-template-columns: 1fr; } }
.ind { position: relative; padding: 30px clamp(20px, 3vw, 32px); background: var(--bg-card); border: 1px solid var(--line); }
.ind::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 169, 97, .1); pointer-events: none; }
.ind__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ind__head img { width: 56px; height: 56px; flex-shrink: 0; }
.ind__en { font-family: var(--ff-en); font-style: italic; color: var(--gold); letter-spacing: .14em; }
.ind__title { font-family: var(--ff-min); font-size: 1.45rem; letter-spacing: .1em; color: var(--gold-light); line-height: 1.4; }
.ind__title small { margin-left: 4px; font-size: .62em; color: var(--text-muted); letter-spacing: .04em; }
.ind__desc { margin: 16px 0 18px; font-size: .9rem; color: #cfc6b5; line-height: 1.85; }
.ind__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ind__tags li { padding: 5px 12px; font-size: .88rem; line-height: 1.5; color: var(--text); background: rgba(201, 169, 97, .08); border: 1px solid rgba(201, 169, 97, .35); }
.ind__note { margin-top: 24px; text-align: center; color: var(--text-muted); font-size: .9rem; }
.faq__item p a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ヘッダー上の帯（薄い金のラインで区切る） ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 51;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px;
  background: #060505;
  border-bottom: 1px solid rgba(201, 169, 97, .38);
}
.topbar__text { margin: 0; font-size: 12px; line-height: 1; letter-spacing: .1em; color: var(--gold-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) {
  .topbar__text { font-size: 10.5px; letter-spacing: .02em; }
  /* backdrop-filter があるとスマホメニュー（fixed）の基準がヘッダーになるため外す */
  .header.is-scrolled { backdrop-filter: none; background: rgba(10, 9, 8, .97); }
}
