/* フェニックスジャパン リニューアル モック */
:root {
  --kinari: #f3eee4;      /* 生成り */
  --kinari-2: #ebe4d6;
  --paper: #faf7f1;
  --sumi: #22201d;        /* 墨 */
  --sumi-2: #4a4640;
  --sumi-3: #7a746b;
  --line: #d9d0bf;
  --green: #2c4a3b;       /* 深い緑 */
  --green-2: #3d6150;
  --green-pale: #dfe7e0;
  --check: #9a5b2e;       /* 本人確認ラベル */
  --plan: #5b6b8a;        /* 構想案ラベル */
  --ok: #2c4a3b;          /* 確認済みラベル */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kinari);
  color: var(--sumi);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.5; margin: 0; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 238, 228, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; }
.logo b { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; }
.logo small { font-size: 10px; color: var(--sumi-3); letter-spacing: .2em; }
.gnav { display: flex; gap: 28px; align-items: center; }
.gnav a { text-decoration: none; font-size: 14px; color: var(--sumi-2); }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--green); }
.gnav .btn { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--sumi); margin: 5px 0; transition: .2s; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--kinari); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .gnav.open { display: flex; }
  .gnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .gnav .btn { margin-top: 16px; border-bottom: 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 16px 30px; border-radius: 999px; border: 1px solid var(--green);
  font-size: 15px; font-weight: 500; letter-spacing: .08em; cursor: pointer;
  font-family: var(--sans); transition: background .2s;
}
.btn:hover { background: var(--green-2); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--sumi); border-color: var(--sumi); }
.btn--ghost:hover { background: var(--sumi); color: var(--kinari); }
.btn--light { background: var(--kinari); color: var(--green); border-color: var(--kinari); }
.btn--light:hover { background: #fff; }
.btn::after { content: "→"; font-size: 1.05em; }
.btn--noarrow::after { content: none; }
.textlink { color: var(--sumi); text-underline-offset: 6px; text-decoration-thickness: 1px; font-size: 15px; }
.textlink::after { content: " →"; }

/* ---------- labels (確認ステータス) ---------- */
.tag {
  display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .06em;
  line-height: 1.5; padding: 2px 8px; border-radius: 3px; vertical-align: middle; margin: 0 4px 4px 0;
  border: 1px solid currentColor; background: rgba(255,255,255,.7);
}
.tag--ok { color: var(--ok); }
.tag--plan { color: var(--plan); }
.tag--check { color: var(--check); }
.tag--ok::before { content: "✓ "; }
.tag--plan::before { content: "◇ "; }
.tag--check::before { content: "！ "; }
body.hide-tags .tag, body.hide-tags .editnote { display: none !important; }
.editnote {
  border-left: 3px solid var(--check); background: rgba(154, 91, 46, .07);
  padding: 10px 14px; font-size: 13px; line-height: 1.7; color: var(--sumi-2); margin: 16px 0 0;
}
.editnote b { color: var(--check); }

/* ---------- photo placeholder ---------- */
.ph {
  margin: 0; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(34,32,29,.035) 0 2px, transparent 2px 14px),
    var(--kinari-2);
  border: 1px dashed #b9ad97; color: var(--sumi-2);
  display: flex; align-items: flex-end; aspect-ratio: 4 / 5;
}
.ph--wide { aspect-ratio: 16 / 10; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--hero { aspect-ratio: auto; height: 100%; min-height: 520px; }
.ph::before {
  /* 人物シルエットの目安 */
  content: ""; position: absolute; left: 50%; top: 18%; transform: translateX(-50%);
  width: 26%; aspect-ratio: 1 / 2.4; opacity: .12;
  background: radial-gradient(circle at 50% 12%, var(--sumi) 0 11%, transparent 11.5%),
              radial-gradient(ellipse at 50% 62%, var(--sumi) 0 40%, transparent 41%);
}
.ph__cap { position: relative; padding: 16px 18px; font-size: 12px; line-height: 1.7; background: rgba(250,247,241,.88); width: 100%; border-top: 1px dashed #b9ad97; }
.ph__cap b { display: block; font-size: 13px; color: var(--sumi); letter-spacing: .1em; }
.ph__no { font-family: var(--serif); color: var(--green); font-size: 11px; letter-spacing: .2em; }
body.hide-tags .ph__cap span { display: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(calc(100vh - 64px), 820px); }
.hero__photo { position: relative; }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 6vw, 88px); }
.hero__eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--green); margin-bottom: 28px; }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.6; margin-bottom: 28px; }
.hero h1 span { display: inline-block; }
.hero__lead { font-size: 16px; color: var(--sumi-2); line-height: 2.1; margin-bottom: 40px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .ph--hero { min-height: 0; aspect-ratio: 4 / 4.4; }
  .hero__text { padding: 40px var(--gutter) 56px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 11vw, 136px) 0; }
.sec--paper { background: var(--paper); }
.sec--green { background: var(--green); color: var(--kinari); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .en { font-size: 11px; letter-spacing: .32em; color: var(--green); display: block; margin-bottom: 14px; }
.sec--green .sec-head .en { color: #b8cbbd; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); }
.sec-head p { margin-top: 20px; color: var(--sumi-2); max-width: 36em; }
.sec--green .sec-head p { color: #d8e1d9; }

/* story */
.story { display: grid; gap: clamp(56px, 9vw, 112px); }
.chapter { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.chapter:nth-child(even) .chapter__photo { order: 2; }
.chapter__no { font-family: var(--serif); color: var(--green); font-size: 13px; letter-spacing: .2em; margin-bottom: 12px; display: block; }
.chapter h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 20px; }
.chapter p { color: var(--sumi-2); }
@media (max-width: 760px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter:nth-child(even) .chapter__photo { order: 0; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 36px 28px 36px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step__no { font-family: var(--serif); font-size: 40px; color: var(--green); line-height: 1; margin-bottom: 18px; display: block; }
.step h3 { font-size: 20px; margin-bottom: 14px; }
.step p { font-size: 15px; color: var(--sumi-2); }
.example { background: var(--kinari); border-radius: 4px; padding: 14px 16px; font-size: 14px; line-height: 1.8; margin-top: 16px; }
.example b { display: block; font-size: 11px; letter-spacing: .2em; color: var(--green); margin-bottom: 4px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* achievements */
.ach { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 88px; }
.ach h3 { font-size: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--sumi); margin-bottom: 8px; }
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.book__cover {
  aspect-ratio: 1 / 1.45; background: var(--kinari-2); border: 1px dashed #b9ad97;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 11px; color: var(--sumi-3); padding: 10px; margin-bottom: 10px; line-height: 1.6;
}
.book p { font-size: 13px; line-height: 1.7; margin: 0; }
.book small { color: var(--sumi-3); font-size: 12px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.list time { color: var(--sumi-3); font-size: 13px; }
@media (max-width: 860px) {
  .ach { grid-template-columns: 1fr; gap: 48px; margin-top: 64px; }
}
@media (max-width: 420px) {
  .books { gap: 10px; }
  .list li { grid-template-columns: 1fr; gap: 0; }
}

/* voices */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.voice { border: 1px dashed #b9ad97; padding: 24px; background: var(--paper); font-size: 13px; color: var(--sumi-3); line-height: 1.8; }
.voice b { color: var(--sumi-2); font-size: 14px; display: block; margin-bottom: 10px; font-family: var(--serif); }
.voice ul { margin: 10px 0 0; padding-left: 1.2em; }
@media (max-width: 760px) { .voices { grid-template-columns: 1fr; } }

/* entry */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.pcard {
  background: var(--paper); border: 1px solid var(--line); padding: 32px 28px 28px; position: relative;
  display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, transform .2s;
}
.pcard:hover { border-color: var(--green); transform: translateY(-2px); }
.pcard--main { border: 2px solid var(--green); }
.pcard__step { font-size: 11px; letter-spacing: .24em; color: var(--green); margin-bottom: 10px; }
.pcard h3 { font-size: 21px; margin-bottom: 12px; }
.pcard p { font-size: 14px; color: var(--sumi-2); flex: 1; }
.pcard__meta { font-size: 12px; color: var(--sumi-3); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.pcard__go { font-size: 14px; color: var(--green); margin-top: 16px; font-weight: 500; }
.pcard__go::after { content: " →"; }
.path .pcard:not(:last-child)::after {
  content: "›"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; z-index: 2;
  display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1;
}
@media (max-width: 760px) {
  .path { grid-template-columns: 1fr; gap: 20px; }
  .path .pcard:not(:last-child)::after { right: 50%; top: auto; bottom: -22px; transform: translateX(50%) rotate(90deg); }
}

.exec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.exec h2 { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.6; margin: 10px 0 24px; }
.exec p { color: #d8e1d9; }
.exec .ph { border-color: rgba(243,238,228,.35); background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px), #36574a; color: var(--kinari); }
.exec .ph::before { background: radial-gradient(circle at 50% 12%, #fff 0 11%, transparent 11.5%), radial-gradient(ellipse at 50% 62%, #fff 0 40%, transparent 41%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 32px; }
.chip { border: 1px solid rgba(243,238,228,.5); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--kinari); background: none; cursor: pointer; font-family: var(--sans); }
.chip:hover { background: rgba(243,238,228,.12); }
.sec--green .tag { background: var(--kinari); }
@media (max-width: 760px) { .exec { grid-template-columns: 1fr; } .exec .btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: var(--sumi); color: #cfc8bb; padding: 72px 0 40px; font-size: 13px; }
.site-footer a { color: #eee8dd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.fgrid h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: #8f887c; margin-bottom: 16px; font-weight: 500; }
.fgrid ul { list-style: none; margin: 0; padding: 0; }
.fgrid li { margin-bottom: 10px; }
.flogo { font-family: var(--serif); font-size: 20px; color: #fff; letter-spacing: .12em; margin-bottom: 12px; }
.fcopy { border-top: 1px solid #3a3733; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #8f887c; font-size: 12px; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > div:first-child { grid-column: 1 / -1; } }

/* ---------- subpages ---------- */
.pagehead { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px); }
.crumb { font-size: 12px; color: var(--sumi-3); margin-bottom: 28px; }
.crumb a { color: var(--sumi-3); }
.pagehead h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.55; margin-bottom: 24px; }
.pagehead .lead { font-size: 16px; color: var(--sumi-2); max-width: 34em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: 9em 1fr; border-top: 1px solid var(--sumi); margin: 0; }
.facts dt, .facts dd { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
.facts dt { font-weight: 500; color: var(--sumi-2); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }

.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.day { background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.day__label { font-family: var(--serif); color: var(--green); font-size: 13px; letter-spacing: .2em; }
.day h3 { font-size: 19px; margin: 8px 0 12px; }
.day p { font-size: 14px; color: var(--sumi-2); margin: 0; }

.compare { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); }
.compare th, .compare td { border: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; line-height: 1.7; }
.compare thead th { background: var(--green); color: #fff; font-family: var(--serif); font-size: 16px; }
.compare thead th:first-child { background: var(--sumi); }
.compare tbody th { width: 9em; font-weight: 500; background: var(--kinari); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) { .compare { min-width: 560px; } }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 500; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--sumi-2); font-size: 15px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--green); }
.timeline li { padding: 0 0 32px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.timeline time { font-family: var(--serif); color: var(--green); font-size: 14px; display: block; }
.timeline p { margin: 4px 0 0; color: var(--sumi-2); }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 16px; }
.cta-band p { color: var(--sumi-2); margin-bottom: 32px; }
.disclaimer { font-size: 12px; color: var(--sumi-3); line-height: 1.8; margin-top: 28px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(34,32,29,.55); }
.modal__box {
  position: relative; background: var(--paper); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 40px 32px 32px; border-radius: 4px;
}
.modal__close { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--sumi-2); padding: 4px 10px; }
.modal__badge { display: inline-block; font-size: 11px; letter-spacing: .14em; background: var(--sumi); color: var(--kinari); padding: 3px 10px; border-radius: 2px; margin-bottom: 14px; }
.modal h3 { font-size: 21px; margin-bottom: 12px; }
.modal p { font-size: 14px; color: var(--sumi-2); }
.modal form { display: grid; gap: 14px; margin-top: 18px; }
.modal label { font-size: 13px; display: grid; gap: 6px; }
.modal input, .modal select, .modal textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--sumi); width: 100%;
}
.modal .btn { width: 100%; margin-top: 6px; }
.modal__done { text-align: center; padding: 12px 0; }
.modal__done .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--green-pale); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; }

/* ---------- mock toolbar ---------- */
.mockbar {
  position: fixed; left: 12px; bottom: 12px; z-index: 90; background: var(--sumi); color: var(--kinari);
  border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 12px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.mockbar button { background: var(--kinari); color: var(--sumi); border: 0; border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; font-family: var(--sans); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; font-size: 12px; color: var(--sumi-3); padding: 14px 0; }
body.hide-tags .legend { display: none; }
.path--plain .pcard::after { content: none !important; }
