@charset "UTF-8";
/* ============================================================
   pages.css ― ページ固有の並び
   （TOPのヒーローなど、共通部品にならないもの）
   ============================================================ */

/* ============================================================
   1. TOP ヒーロー
   ============================================================ */
.p-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: calc(100vh - 76px);
  background: var(--base);
}
/* WebGLが使えない環境では単色の地色に縮退する（壊れない） */
.p-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--base);
}
.p-hero__body {
  position: relative;
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vw, 44px);
  padding: clamp(116px, 13vw, 140px) clamp(24px, 4vw, 48px) clamp(36px, 6vw, 60px) clamp(24px, 6vw, 72px);
}
.p-hero__vertical {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 36px);
  height: clamp(390px, 62vw, 500px);
}
.p-hero__title {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: var(--fs-h1-hero);
  font-weight: var(--fw-medium);
  letter-spacing: .28em;
  line-height: var(--lh-head);
  color: var(--ink);
  white-space: nowrap;
}
/* ★初期状態を可視にし、アニメーションは付加（both で遅延中も自然に見える） */
.p-hero__title > span {
  display: block;
  animation: herofade 1.1s cubic-bezier(.22, .61, .36, 1) both;
}
.p-hero__title > span:nth-child(1) { animation-delay: .2s; }
.p-hero__title > span:nth-child(2) { animation-delay: .55s; }
.p-hero__sub {
  writing-mode: vertical-rl;
  font-size: var(--fs-14);
  letter-spacing: var(--ls-en-x);
  color: var(--ink-weak);
  padding-top: 8px;
  animation: herofade 1.1s cubic-bezier(.22, .61, .36, 1) .95s both;
}
.p-hero__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: herofade 1.1s cubic-bezier(.22, .61, .36, 1) 1.2s both;
}
.p-hero__brand-en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: var(--ls-en-xx);
  color: var(--gold-deep);
}
.p-hero__brand-ja {
  font-family: var(--font-head);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-en-wide);
  color: var(--ink-sub);
}
.p-hero__rule {
  width: 56px;
  height: var(--rule-h);
  background: var(--gold-light);
  margin-top: 8px;
}
.p-hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  animation: herofade 1.1s cubic-bezier(.22, .61, .36, 1) 1.45s both;
}
.p-hero__scroll-label {
  font-family: var(--font-en);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-en-x);
  color: var(--ink-weak);
}
.p-hero__scroll-line {
  width: 1px;
  height: 56px;
  background: var(--gold);
  animation: scrollline 2.2s ease-in-out infinite;
}
.p-hero__photo {
  position: relative;
  flex: 1.6 1 420px;
  min-width: 0;
  min-height: clamp(380px, 58vh, 720px);
  margin-left: 16px;
}
.p-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-hero__badge {
  position: absolute;
  left: -14px;
  bottom: 32px;
  max-width: calc(100% - 24px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 22px;
  background: var(--white);
  border: var(--border);
  font-size: var(--fs-12);
  letter-spacing: var(--ls-head-wide);
  color: var(--ink-sub);
  pointer-events: none;
  animation: herofade 1.1s cubic-bezier(.22, .61, .36, 1) 1.3s both;
}
/* 区切り記号。装飾なので読み上げから外してある（aria-hidden） */
.p-hero__badge-sep { color: var(--gold-light); }

/* ============================================================
   2. TOP ABOUT ／ 2カラムの並び
   ============================================================ */
.p-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: var(--gap-col);
  align-items: center;
}
.p-cols__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.p-cols__figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.p-cols__caption { display: flex; justify-content: flex-end; }

/* 3特長（1pxの線で仕切った白い箱） */
.p-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--line);
  border: var(--border);
}
.p-features__item {
  background: var(--white);
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.p-features__num {
  font-family: var(--font-en);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-en);
  color: var(--gold-deep);
}
.p-features__label {
  font-family: var(--font-head);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-head);
  color: var(--ink);
  text-align: center;
}

/* お悩みチップの箱 */
.p-worries {
  margin-top: 72px;
  background: var(--white);
  border: var(--border);
  padding: 40px clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-worries__title {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--ink);
}

/* ============================================================
   3. TOP PRICE ／ FLOW ／ ACCESS の下端
   ============================================================ */
.p-sec-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.p-sec-foot--flush { margin-top: 0; }
.p-sec-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
}

/* ============================================================
   4. 施術内容（写真が左右交互）
   ============================================================ */
.p-menu-lead {
  max-width: 640px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.p-menu-note { margin-top: 48px; }
.p-menu-list {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 88px);
}
.p-menu-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.p-menu-item__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
/* 02 は写真を右に。★順番を変えるとリズムが崩れる */
.p-menu-item--reverse .p-menu-item__body { order: 1; }
.p-menu-item--reverse .p-menu-item__photo { order: 2; }
.p-menu-item__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.p-menu-item__en {
  font-family: var(--font-en);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-en-x);
  color: var(--gold-deep);
}
.p-menu-item__title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-head-wide);
  line-height: 1.8;
  color: var(--ink);
}
.p-menu-item__sub {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: var(--fw-light);
  color: var(--ink-weak);
}
.p-menu-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: var(--border);
  padding-top: 16px;
  margin-top: 6px;
}

/* ============================================================
   5. 料金 ／ 初めての方へ
   ============================================================ */
.p-fee-groups { display: flex; flex-direction: column; gap: 56px; }
.p-fee-foot   { display: flex; flex-direction: column; gap: 20px; }

.p-steps-lead { margin-bottom: clamp(48px, 7vw, 72px); }
.p-center-link { margin-top: 56px; text-align: center; }
.p-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
}
.p-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--gold-light);
  padding-top: 28px;
}
.p-step__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.p-step__title {
  font-family: var(--font-head);
  font-size: var(--fs-h4);
  letter-spacing: var(--ls-head-wide);
  color: var(--ink);
}

/* ============================================================
   6. よくあるご質問 ／ ご予約・お問い合わせ
   ============================================================ */
.p-faq { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 72px); }
.p-faq__group { display: flex; flex-direction: column; gap: 4px; }
.p-faq__foot {
  text-align: center;
  font-size: var(--fs-14);
  font-weight: var(--fw-light);
  line-height: 2.2;
  color: var(--ink-weak);
}

.p-contact-choice { padding: clamp(56px, 8vw, 88px) var(--pad-section-x) 0; }
.p-contact-form   { padding: clamp(56px, 8vw, 88px) var(--pad-section-x) clamp(64px, 10vw, 110px); }

.p-route-photos { margin-top: 64px; }

/* ============================================================
   7. スタッフ紹介
   ============================================================ */
.p-director {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--gap-col);
  align-items: center;
}
.p-director__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.p-director__label {
  font-family: var(--font-en);
  font-size: var(--fs-14);
  letter-spacing: var(--ls-en-x);
  color: var(--gold-deep);
}
.p-director__name-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.p-director__name {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: var(--fw-medium);
  letter-spacing: .16em;
  color: var(--ink);
}
.p-director__role {
  font-size: var(--fs-12);
  letter-spacing: .16em;
  color: var(--ink-weak);
}
.p-director__rule {
  width: 48px;
  height: var(--rule-h);
  background: var(--gold-light);
}
.p-member {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.p-member__head { display: flex; flex-direction: column; gap: 8px; }
.p-director__career { margin-top: 0; }
.p-member__role {
  font-size: var(--fs-12);
  letter-spacing: .16em;
  color: var(--gold-deep);
}
.p-member__name {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: .14em;
  color: var(--ink);
}

/* ============================================================
   8. アクセス
   ============================================================ */
.p-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(32px, 6vw, 64px);
}
.p-access__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.p-access__name {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--ink);
}
.p-access__addr {
  font-size: var(--fs-14);
  font-weight: var(--fw-light);
  line-height: 2;
  color: var(--ink-body);
}

/* ============================================================
   9. プライバシーポリシー
   ============================================================ */
.p-policy {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 60px);
}
.p-policy__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--gold-light);
  padding-top: 28px;
}
.p-policy__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.p-policy__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: var(--fw-medium);
  letter-spacing: .14em;
  color: var(--ink);
}
.p-policy__date {
  align-self: flex-end;
  font-size: var(--fs-12);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-body-wide);
  color: var(--ink-weak);
}

/* ============================================================
   10. 送信完了 ／ 404
   ============================================================ */
.p-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.p-center__title {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.8vw, 26px);
  font-weight: var(--fw-medium);
  letter-spacing: .16em;
  line-height: var(--lh-head);
  color: var(--ink);
}
.p-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 56px);
}
.p-stack--wide { gap: clamp(48px, 7vw, 64px); }
.p-center--tight { gap: 24px; }
.p-center__cta { margin-top: 8px; }
.p-notfound { display: flex; flex-direction: column; gap: 24px; }
.p-notfound__cta { align-self: center; }
.p-policy__contact { gap: 16px; }

/* ============================================================
   11. 強制カラーモード（Windowsのコントラストテーマ）
   background で描いた面はシステム色に置き換えられて消えるため、
   「押せる」ことが分からなくなる要素だけ、枠と色を補う。
   ★このブロックは通常表示に一切影響しない。
   ⚠ ここに置く理由：pages.css が最後に読まれるので、
     components.css の `border: none` 等を確実に上書きできる。
   ============================================================ */
@media (forced-colors: active) {
  .c-btn--cta,
  .c-btn--submit,
  .c-hamburger,
  .l-fixed__tile,
  .c-tag,
  .c-badge-req      { border: 1px solid ButtonBorder; }
  .c-hamburger__bar { background: ButtonText; }
  .p-features__item { border: 1px solid CanvasText; }
  .c-hours__table .c-hours__open,
  .c-hours__table .c-hours__closed,
  .c-hours__table .c-hours__holiday { color: CanvasText; }
}
