/* THE PERSONAL — スマホLP (375〜430px) / Claude Code 実装用
   調整用の値は :root の変数にまとめています */

:root {
  --accent: #e2c893;
  --accent-deep: #c6a35f;
  --accent-light: #f4e5ba;
  --ink: #f2f0ec;
  --ink-strong: #fdfcfa;
  --bg: #08080a;
  --bg-alt: #0d0d11;
  --bg-card: #121217;
  --hairline: rgba(226, 200, 147, 0.18);
  --photo-filter: contrast(1.12) saturate(0.9) brightness(0.92);
  --font-sans: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", serif;
  --shell-max: 430px;
  /* ヒーロー内の可変位置（デザイン調整用） */
  --hero-title-y: -142px;
  --hero-badges-y: 212px;
  --hero-pill-x: -134px;
  --hero-pill-y: 19px;
  --cta-pill-x: -127px;
  --cta-pill-y: 16px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: #050507;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

img { display: block; }

/* ---------- shell ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  background: var(--bg);
  overflow-x: hidden;
  border-left: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.7);
}

.section { padding: 34px 16px 38px; }
.section--wide { padding: 34px 20px 38px; }

.heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-strong);
}
.heading--lg { font-size: 25px; }
.heading + .lead { margin-top: 6px; }

.lead { margin: 0; font-size: 13px; line-height: 1.9; color: rgba(242, 240, 236, 0.8); }
.note { font-size: 11px; line-height: 1.7; color: rgba(242, 240, 236, 0.48); }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #15120c;
  background: linear-gradient(160deg, var(--accent-light), var(--accent-deep));
  cursor: pointer;
}
.btn:hover { filter: brightness(1.07); color: #15120c; }
.btn--hero { min-height: 64px; font-size: 20px; box-shadow: 0 14px 40px rgba(198, 163, 95, 0.28); }
.btn--cta { min-height: 62px; font-size: 20px; box-shadow: 0 18px 50px rgba(198, 163, 95, 0.3); }
.btn--sm { min-height: 44px; width: auto; padding: 0 16px; font-size: 12px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: rgba(226, 200, 147, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.pill-row { display: flex; justify-content: center; margin-bottom: -8px; }
.pill-row .pill { transform: translate(var(--hero-pill-x), var(--hero-pill-y)); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 200, 147, 0.16);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
}
.header__logo { height: 32px; width: auto; object-fit: contain; flex: none; }
.header__nav { display: flex; gap: 20px; padding: 0 16px 9px; overflow-x: auto; }
.header__nav a { flex: none; font-size: 12px; color: #e6e3dd; }
.header__nav::-webkit-scrollbar { height: 0; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; min-height: 560px; overflow: hidden; background: #06060a; }
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 24%;
  filter: var(--photo-filter);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 6, 10, 0.72) 0%,
    rgba(6, 6, 10, 0.42) 32%,
    rgba(6, 6, 10, 0.9) 72%,
    rgba(6, 6, 10, 0.97) 100%);
}
.hero__body {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 32px 20px 28px;
}
.hero__title {
  margin: 0;
  transform: translateY(var(--hero-title-y));
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
.hero__title span { display: block; color: var(--accent); }
.hero__title .hero__sub {
  color: var(--ink-strong);
  font-size: 0.56em;
  line-height: 1.6;
  margin-top: 0.5em;
}
.hero__copy { margin: 0; font-size: 13px; line-height: 2; color: rgba(242, 240, 236, 0.82); }

/* ヒーローの円形バッジ（横3つ） */
.badges {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  transform: translateY(var(--hero-badges-y));
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
}
.badge {
  flex: none;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  border: 1px solid var(--accent-deep);
  background: radial-gradient(circle at 50% 35%, rgba(226, 200, 147, 0.22), rgba(8, 8, 10, 0.86));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.badge__main { font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--ink-strong); }
.badge__note { font-size: 10px; color: rgba(242, 240, 236, 0.7); }

/* ---------- stats ---------- */
.stats {
  background: var(--bg-alt);
  border-top: 1px solid rgba(226, 200, 147, 0.14);
  border-bottom: 1px solid rgba(226, 200, 147, 0.14);
}
.stats__grid { padding: 20px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.stat__label { font-size: 11px; letter-spacing: 0.06em; color: rgba(242, 240, 236, 0.62); }
.stat__value {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--accent);
}
.stat__value--sm { font-size: 20px; }
.stat__value--text { font-size: 15px; color: var(--ink-strong); line-height: 1.5; }
.stat__value small { font-size: 0.52em; color: var(--ink); }
.stat__note { font-size: 10px; color: rgba(242, 240, 236, 0.45); }

/* ---------- 写真背景セクション ---------- */
.photo-section { position: relative; overflow: hidden; background: var(--bg); }
.photo-section__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
}
.photo-section__scrim { position: absolute; inset: 0; }
.photo-section__body { position: relative; }

.problems { background: #0a0a0d; }
.problems .photo-section__photo { object-position: 48% 26%; opacity: 0.38; }
.problems .photo-section__scrim { background: linear-gradient(180deg, rgba(10, 10, 13, 0.82), rgba(10, 10, 13, 0.95)); }
.problems__body { display: flex; flex-direction: column; gap: 20px; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.7; color: #eeebe5; }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-deep);
  font-size: 11px;
  color: var(--accent);
}

.statement { border-top: 1px solid rgba(226, 200, 147, 0.1); }
.statement .photo-section__photo { object-position: 52% 18%; opacity: 0.45; }
.statement .photo-section__scrim { background: linear-gradient(180deg, rgba(8, 8, 10, 0.6), rgba(8, 8, 10, 0.93)); }
.statement__body { padding: 40px 20px; display: flex; flex-direction: column; gap: 14px; }
.statement__title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 1.45; color: var(--ink-strong); }

/* ---------- reasons ---------- */
.reasons { background: var(--bg-alt); }
.card-stack { display: flex; flex-direction: column; gap: 14px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card__head { display: flex; align-items: flex-start; gap: 12px; }
.card__num { font-family: var(--font-en); font-size: 30px; line-height: 0.9; color: var(--accent-deep); }
.card__title { margin: 0; font-family: var(--font-serif); font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink-strong); }
.card__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; filter: var(--photo-filter); }
.card__text { margin: 0; font-size: 13px; line-height: 1.9; color: #e2dfd8; }
.reasons .heading { margin-bottom: 20px; }

/* ---------- flow ---------- */
.flow { background: var(--bg); }
.flow .heading { margin-bottom: 18px; }
.flow__list {
  margin: 0;
  padding: 16px 12px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: linear-gradient(180deg, #faf8f4, #efece5);
  border: 1px solid rgba(226, 200, 147, 0.3);
  border-radius: 3px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
}
.flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  padding: 12px 4px;
  min-width: 0;
}
.flow__num { font-family: var(--font-en); font-size: 22px; line-height: 1; color: #8a6b2c; }
.flow__title { font-size: 13px; font-weight: 700; line-height: 1.5; color: #16161a; }
.flow__note { font-size: 11px; line-height: 1.5; color: rgba(22, 22, 26, 0.58); }

/* ---------- voice ---------- */
.voice { background: var(--bg-alt); border-top: 1px solid rgba(226, 200, 147, 0.1); }
.voice .lead { margin-bottom: 18px; font-size: 12px; color: rgba(242, 240, 236, 0.62); }
.voice__card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.voice__who { font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.voice__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.voice__photo {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  border-radius: 2px;
  background: #1c1c22;
  filter: var(--photo-filter);
}
.voice__table { width: 100%; border-collapse: collapse; font-size: 12px; }
.voice__table th,
.voice__table td { padding: 6px 0; border-bottom: 1px solid rgba(226, 200, 147, 0.14); }
.voice__table tr:last-child th,
.voice__table tr:last-child td { border-bottom: 0; }
.voice__table th { text-align: left; font-weight: 400; color: rgba(242, 240, 236, 0.62); }
.voice__table td { text-align: right; font-weight: 700; color: var(--accent); }
.voice__quote { margin: 0; font-size: 13px; line-height: 1.9; color: #e2dfd8; }

/* ---------- features ---------- */
.features .photo-section__photo { object-position: 64% 18%; opacity: 0.32; }
.features .photo-section__scrim { background: linear-gradient(180deg, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.94)); }
.features__body { display: flex; flex-direction: column; gap: 20px; }
.features__title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 24px; line-height: 1.45; color: var(--accent); }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature {
  background: #0f0f13;
  border: 1px solid rgba(226, 200, 147, 0.26);
  border-radius: 2px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.feature--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; padding: 14px 12px; text-align: left; }
.feature--wide .feature__icon { flex: none; }
.feature--wide div { display: flex; flex-direction: column; gap: 5px; }
.feature__icon { width: 52px; height: 40px; object-fit: cover; object-position: 50% 32%; }
.feature__title { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.6; color: var(--accent); }
.feature__text { margin: 0; font-size: 11px; line-height: 1.7; color: rgba(242, 240, 236, 0.74); }

/* ---------- comparison ---------- */
.compare { background: var(--bg-alt); border-top: 1px solid rgba(226, 200, 147, 0.1); }
.compare__body { display: flex; flex-direction: column; gap: 18px; }
.compare__table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid rgba(226, 200, 147, 0.35);
  border-radius: 2px;
  overflow: hidden;
  font-size: 11.5px;
}
.compare__th {
  padding: 10px 8px;
  text-align: center;
  font-weight: 700;
  color: #cfccc5;
  background: #20222a;
}
.compare__th--own {
  font-family: var(--font-serif);
  color: #15120c;
  background: linear-gradient(160deg, var(--accent-light), var(--accent-deep));
}
.compare__cell {
  padding: 11px 9px;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.74);
  background: #0b0b0f;
  border-top: 1px solid rgba(226, 200, 147, 0.18);
}
.compare__cell--own {
  color: var(--accent-light);
  background: #1b1508;
  border-top: 1px solid rgba(226, 200, 147, 0.28);
}

/* ---------- pricing ---------- */
.pricing { background: var(--bg); }
.pricing .heading { margin-bottom: 20px; }
.plans { display: flex; flex-direction: column; gap: 16px; }
.plan {
  background: var(--bg-card);
  border: 1px solid rgba(226, 200, 147, 0.2);
  border-radius: 3px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}
.plan--featured {
  position: relative;
  background: linear-gradient(180deg, #221c11, #14141a);
  border-color: rgba(226, 200, 147, 0.6);
  padding: 24px 18px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.plan__tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #15120c;
  background: linear-gradient(160deg, var(--accent-light), var(--accent-deep));
}
.plan__name { font-family: var(--font-serif); font-size: 16px; color: var(--ink-strong); }
.plan--featured .plan__name { font-size: 17px; color: #f7ecd2; }
.plan__freq { font-size: 12px; color: rgba(242, 240, 236, 0.62); }
.plan__price { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--ink); }
.plan--featured .plan__price { font-size: 29px; color: var(--accent); }
.plan__price small { font-size: 0.42em; color: rgba(242, 240, 236, 0.62); }
.plan__text { margin: 0; font-size: 12px; line-height: 1.8; color: rgba(242, 240, 236, 0.72); }
.pricing .note { display: block; margin-top: 16px; }

/* ---------- faq ---------- */
.faq { background: var(--bg-alt); border-top: 1px solid rgba(226, 200, 147, 0.1); }
.faq .lead { margin-bottom: 18px; font-size: 12px; color: rgba(242, 240, 236, 0.62); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  min-height: 56px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "◆"; flex: none; font-size: 11px; color: var(--accent-deep); }
.faq__q::after { content: "＋"; flex: none; font-size: 18px; line-height: 1; color: var(--accent-deep); }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__q:hover { background: rgba(226, 200, 147, 0.06); }
.faq__q span { flex: 1; }
.faq__a {
  margin: 0;
  padding: 13px 14px 16px 32px;
  border-top: 1px solid rgba(226, 200, 147, 0.12);
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(242, 240, 236, 0.82);
}

/* ---------- closing cta ---------- */
.cta { position: relative; overflow: hidden; }
.cta__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 40%;
  filter: var(--photo-filter);
}
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 10, 0.86), rgba(6, 6, 10, 0.94)); }
.cta__body { position: relative; padding: 40px 20px 44px; display: flex; flex-direction: column; gap: 22px; }
.cta__action { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cta__action .pill { transform: translate(var(--cta-pill-x), var(--cta-pill-y)); padding: 7px 18px; font-size: 12.5px; }
.cta__after { font-size: 11px; color: rgba(242, 240, 236, 0.62); }

/* ---------- footer ---------- */
.footer { background: #06060a; border-top: 1px solid rgba(226, 200, 147, 0.14); }
.footer__body { padding: 24px 16px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__logo { height: 42px; width: auto; object-fit: contain; opacity: 0.9; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; width: 100%; }
.footer__nav a { font-size: 12px; color: rgba(242, 240, 236, 0.74); }
.footer__copy { font-size: 11px; color: rgba(242, 240, 236, 0.42); }

/* ---------- sticky cta（使う場合は hidden 属性を外す） ---------- */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 70;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 200, 147, 0.22);
}
.sticky-cta[hidden] { display: none; }
