/* ==========================================================================
   Moca nail デモサイト 共通スタイル
   配色・書体は 13_Web構成.md「5. デザイン方針」に従う（純黒は使わない）
   ========================================================================== */

:root {
  --c-bg: #FFFBFA;        /* ベース：オフホワイト */
  --c-ivory: #F6EFE9;     /* サブ：レース調アイボリー */
  --c-pink: #F2C6CF;      /* アクセント：薄ピンク */
  --c-rose: #E59AAB;      /* 主ボタンの面 */
  --c-rose-hover: #DF8C9F;
  --c-btn-text: #4A3B40;  /* 主ボタンの文字 */
  --c-link: #A45066;      /* 強調リンク（#B05C72 の明度を下げてコントラストを確保） */
  --c-text: #5B4A4F;      /* 文字色 */
  --c-text-soft: #73626A; /* 注記など */
  --c-line: #EBDCDD;      /* 区切り線 */
  --c-white: #FFFFFF;

  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Noto Serif JP", serif;

  --radius: 6px;
  --radius-sm: 4px;
  --container: 1120px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 56px;
  --bar-h: 64px;

  --t-fast: 0.2s;   /* 150〜200ms */
  --t-mid: 0.5s;    /* 400〜700ms */
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --section-y: 112px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

:focus-visible {
  outline: 2px solid var(--c-link);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* 文節の切れ目で改行できるブラウザでは、単語の途中で折り返さない */
@supports (word-break: auto-phrase) {
  h1,
  h2,
  h3,
  p,
  li,
  dd,
  legend,
  label {
    word-break: auto-phrase;
  }
}

/* 欧文書体の数字はライニング数字にそろえる */
.steps3__num,
.process li::before,
.progress__count,
.notfound__en,
.section-head__en {
  font-variant-numeric: lining-nums;
}

/* 語のまとまりで改行させる */
.ib {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-rose);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

/* ---------- セクション共通 ---------- */

.section {
  padding-block: var(--section-y);
}

.section--ivory {
  background: var(--c-ivory);
}

.section-head {
  margin-bottom: 40px;
  text-align: center;
}

.section-head__en {
  display: block;
  margin-bottom: 4px;
  color: var(--c-link);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.section-head h2 {
  font-size: clamp(22px, 5.4vw, 30px);
}

/* レース風の細い区切り線 */
.lace {
  display: block;
  width: 96px;
  height: 7px;
  margin: 18px auto 0;
  background: radial-gradient(circle at 6px 0, transparent 5px, var(--c-rose) 5px, var(--c-rose) 6px, transparent 6.5px) 0 0 / 12px 7px repeat-x;
}

.section-head--left {
  text-align: left;
}

.section-head--left .lace {
  margin-left: 0;
}

.lead {
  max-width: 40em;
}

.text-center {
  text-align: center;
}

.text-center .lead {
  margin-inline: auto;
}

.note {
  color: var(--c-text-soft);
  font-size: 12px;
  line-height: 1.7;
}

.ai-note {
  margin-top: 6px;
  color: var(--c-text-soft);
  font-size: 11px;
  line-height: 1.6;
}

.tag-dummy {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border: 1px solid var(--c-pink);
  border-radius: var(--radius-sm);
  color: var(--c-text-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.7;
  vertical-align: middle;
  white-space: nowrap;
}

.text-link {
  display: inline-block;
  padding-block: 10px;
  color: var(--c-link);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
}

.text-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* 本文中のリンク：下線が左から伸びる */
.inline-link {
  color: var(--c-link);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-fast) ease-out;
}

@media (hover: hover) {
  .text-link {
    background-size: 0 1px;
    transition: background-size var(--t-fast) ease-out;
  }

  .text-link:hover {
    background-size: 100% 1px;
  }

  .inline-link:hover {
    background-size: 0 1px;
    background-position: 100% 100%;
  }
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out;
}

.btn--primary {
  background: var(--c-rose);
  color: var(--c-btn-text);
}

.btn--ghost {
  background: var(--c-bg);
  border-color: var(--c-rose);
  color: var(--c-btn-text);
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--c-rose-hover);
  }

  .btn--ghost:hover {
    background: var(--c-pink);
  }
}

.btn--sm {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--c-ivory);
  border-color: var(--c-line);
  color: var(--c-text-soft);
  cursor: not-allowed;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.cta-row--left {
  align-items: flex-start;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 250, 0.94);
  border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height var(--t-fast) ease-out;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}

.logo img {
  width: 26px;
  height: 26px;
}

.logo__text {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.gnav {
  display: none;
}

.gnav ul {
  display: flex;
  gap: 28px;
}

.gnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--c-rose), var(--c-rose)) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size var(--t-fast) ease-out;
}

.gnav a:hover,
.gnav a[aria-current="page"] {
  background-size: 100% 1px;
}

.btn--header {
  display: none;
  min-height: 44px;
  padding: 8px 24px;
  font-size: 14px;
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-text);
  transition: transform var(--t-fast) ease-out;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(8deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-8deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 8px var(--gutter) 20px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--c-line);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav a[aria-current="page"] {
  color: var(--c-link);
}

@media (min-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .site-header.is-shrunk {
    --header-h: 56px;
  }

  .btn--header {
    display: inline-flex;
  }
}

@media (min-width: 1000px) {
  .gnav {
    display: block;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ---------- スマホ下部の固定バー ---------- */

.bottom-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 251, 250, 0.96);
  border-top: 1px solid var(--c-line);
  transition: transform var(--t-fast) ease-out;
}

.bottom-bar.is-hidden {
  transform: translateY(110%);
  transition-timing-function: ease-in;
}

.bottom-bar .btn {
  min-height: 48px;
  padding: 8px 6px;
  font-size: 14px;
}

body.has-bar {
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .bottom-bar {
    display: none;
  }

  body.has-bar {
    padding-bottom: 0;
  }
}

/* リンク先未設定のお知らせ */
.toast {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 60;
  max-width: 420px;
  margin-inline: auto;
  padding: 12px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-rose);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) ease-in;
}

.toast.is-show {
  opacity: 1;
  transition-timing-function: ease-out;
}

/* ---------- フッター ---------- */

.site-footer {
  padding-block: 56px 32px;
  background: var(--c-ivory);
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  gap: 32px;
}

.site-footer h2 {
  margin-bottom: 8px;
  font-size: 15px;
}

.site-footer__nav a,
.site-footer__sns a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-footer__nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.site-footer__sns ul {
  display: flex;
  gap: 24px;
}

.site-footer__sns a {
  color: var(--c-link);
  font-weight: 700;
}

.site-footer__demo {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}

.copyright {
  margin-top: 16px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .site-footer__nav ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- 定義リスト（営業時間・アクセス） ---------- */

.info-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
}

.info-list dt {
  font-weight: 700;
  white-space: nowrap;
}

.info-grid {
  display: grid;
  gap: 40px;
}

.info-grid h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  font-size: 18px;
}

.info-grid .note {
  margin-top: 14px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ---------- ファーストビュー ---------- */

.hero {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 80% 50%;
}

.hero__note {
  padding: 4px var(--gutter) 0;
  text-align: right;
}

.hero__body {
  padding: 20px var(--gutter) 8px;
}

/* スマホ：ファーストビューの直後は余白を詰める（矢印の上下が空きすぎないように） */
@media (max-width: 767px) {
  .hero + .section {
    padding-top: 40px;
  }
}

.hero h1 {
  font-size: clamp(25px, 7vw, 42px);
  line-height: 1.55;
}

.hero__sub {
  max-width: 30em;
  margin-top: 14px;
  font-size: 15px;
}

.price-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 400px;
  margin-top: 22px;
}

.chip {
  padding: 10px 12px 8px;
  background: var(--c-pink);
  border-radius: var(--radius-sm);
  color: var(--c-btn-text);
  text-align: center;
  white-space: nowrap;
}

.chip__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.chip__price {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 400px;
  margin-top: 22px;
}

.hero__cta .btn {
  width: 100%;
}

.hero__band {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  font-weight: 500;
}

.scroll-cue {
  display: flex;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  color: var(--c-text);
}

.scroll-cue svg {
  width: 22px;
  height: 44px;
  animation: cue 1.4s ease-in-out infinite alternate;
}

@keyframes cue {
  from {
    transform: translateY(-3px);
  }

  to {
    transform: translateY(3px);
  }
}

@media (min-width: 768px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: min(80vh, 720px);
  }

  .hero__media {
    position: absolute;
    inset: 0;
  }

  .hero__media img {
    height: 100%;
    aspect-ratio: auto;
    object-position: right center;
  }

  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 251, 250, 0.95) 0%, rgba(255, 251, 250, 0.86) 36%, rgba(255, 251, 250, 0) 66%);
  }

  .hero__note {
    position: absolute;
    right: 16px;
    bottom: 10px;
    margin: 0;
    padding: 2px 8px;
    background: rgba(255, 251, 250, 0.8);
    border-radius: var(--radius-sm);
  }

  .hero__body {
    position: relative;
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding: 64px var(--gutter) 88px;
  }

  .hero__inner {
    max-width: min(520px, 54%);
  }

  .hero__sub {
    font-size: 16px;
  }

  .scroll-cue {
    position: absolute;
    bottom: 12px;
    left: 50%;
    margin: 0 0 0 -22px;
  }
}

/* ---------- 予約まで3ステップ ---------- */

.steps3 {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.steps3 li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.steps3 img {
  width: 48px;
  height: 48px;
}

.steps3__num {
  display: block;
  color: var(--c-link);
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.steps3 h3 {
  font-size: 17px;
}

.steps3 p {
  font-size: 13px;
  line-height: 1.7;
}

.steps3-lead {
  margin-top: 28px;
  text-align: center;
}

@media (min-width: 768px) {
  .steps3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .steps3 li {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 32px 20px;
    text-align: center;
  }

  .steps3 img {
    width: 56px;
    height: 56px;
  }
}

/* ---------- デザインカード（ギャラリー共通） ---------- */

.dcard {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dcard__photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-ivory);
}

.dcard__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.dcard__name {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.dcard__plan {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.dcard__plan-note {
  display: block;
  color: var(--c-text-soft);
  font-size: 11px;
  font-weight: 400;
}

.dcard .btn {
  width: 100%;
  margin-top: auto;
}

.dcard__foot {
  margin-top: auto;
  padding-top: 12px;
}

/* ---------- トップ：デザインギャラリー（主役＝横スクロール） ---------- */

.hgallery {
  padding-block: var(--section-y);
  overflow: hidden;
}

.hgallery .section-head {
  margin-bottom: 28px;
}

.hgallery__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-pink) transparent;
}

.hgallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 12px var(--gutter) 16px;
}

.hgallery__track > li {
  flex: 0 0 auto;
  width: min(68vw, 280px);
  scroll-snap-align: start;
}

.hgallery__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(56vw, 220px) !important;
}

.hgallery__hint {
  margin-top: 4px;
  padding-inline: var(--gutter);
  text-align: center;
}

@media (min-width: 768px) {
  .hgallery__track {
    gap: 28px;
  }

  /* GSAPでピン留めしているとき（768px以上・動きを減らす設定オフ） */
  .hgallery.is-pin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-block: 72px 24px;
  }

  .hgallery.is-pin .hgallery__viewport {
    overflow: hidden;
    scroll-snap-type: none;
  }

  .hgallery.is-pin .hgallery__track {
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }

  .hgallery.is-pin .hgallery__track > li {
    width: clamp(200px, 31vh, 280px);
  }

  .hgallery.is-pin .hgallery__hint {
    display: none;
  }
}

/* ---------- 料金カード ---------- */

.price-cards {
  display: grid;
  gap: 20px;
}

.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 22px;
  background: var(--c-bg);
  border: 1px solid var(--c-pink);
  border-radius: var(--radius);
}

.price-card h3 {
  font-size: 20px;
}

.price-card .price-card__price {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.price-card__price small {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
}

.price-card p {
  margin-top: 10px;
  font-size: 14px;
}

.price-card .btn {
  margin-top: 24px;
}

.price-card__body {
  flex: 1;
}

.price-extra {
  margin-top: 28px;
  padding: 22px;
  background: var(--c-ivory);
  border-radius: var(--radius);
  font-size: 14px;
}

.price-extra h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.price-extra p + p {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .price-cards {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .price-card {
    padding: 36px 32px;
  }
}

/* ---------- 画像＋文章の2カラム ---------- */

.media {
  display: grid;
  gap: 28px;
}

.media__photo {
  overflow: hidden;
  border-radius: var(--radius);
}

.media__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media__body .section-head {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .media {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
  }

  .media--reverse .media__figure {
    order: 2;
  }
}

.process {
  display: grid;
  gap: 0;
  counter-reset: process;
}

.process li {
  position: relative;
  padding: 16px 0 16px 52px;
  border-top: 1px solid var(--c-line);
  counter-increment: process;
}

.process li:last-child {
  border-bottom: 1px solid var(--c-line);
}

.process li::before {
  content: "0" counter(process);
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--c-link);
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.process h3 {
  font-size: 16px;
}

.process p {
  font-size: 14px;
}

.process + .note {
  margin-top: 14px;
}

/* ---------- 背景画像つきの帯 ---------- */

.band {
  position: relative;
  padding-block: var(--section-y);
  background-color: var(--c-ivory);
  background-position: center;
  background-size: cover;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 251, 250, 0.72);
}

.band > .container {
  position: relative;
}

.band--before {
  background-image: url("../images/section-bg-01.jpg");
}

.band--cta {
  background-image: url("../images/section-bg-02.jpg");
}

.band--cta::before {
  background: rgba(255, 251, 250, 0.5);
}

.check-list {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: rgba(255, 251, 250, 0.9);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 14px;
  width: 22px;
  height: 22px;
  background: url("../images/icon-07.png") center / contain no-repeat;
}

.cta-heading {
  font-size: clamp(21px, 5.6vw, 30px);
}

.cta-sub {
  margin-top: 4px;
  font-size: 14px;
}

/* ---------- 下層ページの見出し ---------- */

.page-head {
  padding-block: 44px 40px;
  background: var(--c-ivory);
  text-align: center;
}

.page-head h1 {
  font-size: clamp(24px, 6.4vw, 34px);
}

.page-head .lead {
  margin: 18px auto 0;
  font-size: 15px;
}

.page-notice {
  margin-bottom: 32px;
  padding: 12px 16px;
  background: var(--c-ivory);
  border-radius: var(--radius);
  color: var(--c-text-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- メニュー・料金ページ ---------- */

.plan {
  display: grid;
  gap: 20px;
  padding: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-pink);
  border-radius: var(--radius);
}

.plan + .plan {
  margin-top: 24px;
}

.plan__photo {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.plan__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.plan h2 {
  font-size: 22px;
}

.plan__price {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
}

.plan__meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
}

.plan .btn {
  margin-top: 20px;
}

.plan--sub {
  background: var(--c-bg);
  border-color: var(--c-line);
}

.plan--sub h2 {
  font-size: 18px;
}

.plan--sub .plan__price {
  font-size: 26px;
}

@media (min-width: 768px) {
  .plan {
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 36px;
    padding: 28px;
  }

  .plan--sub {
    grid-template-columns: 1fr;
  }
}

.article-block + .article-block {
  margin-top: 48px;
}

.article-block h2 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  font-size: 20px;
}

.article-block p + p {
  margin-top: 10px;
}

/* ---------- ギャラリーページ ---------- */

.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.filter button {
  min-height: 44px;
  padding: 8px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out;
}

.filter button[aria-pressed="true"] {
  background: var(--c-pink);
  border-color: var(--c-rose);
  color: var(--c-btn-text);
  font-weight: 700;
}

.dgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}

.dgrid > li[hidden] {
  display: none;
}

.dgrid .btn--sm {
  padding-inline: 4px;
  font-size: clamp(11px, 3.2vw, 13px);
  letter-spacing: 0;
}

@media (min-width: 768px) {
  .dgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 24px;
  }
}

/* ---------- サロン紹介 ---------- */

.photo-pair {
  display: grid;
  gap: 20px;
}

.photo-pair figure {
  overflow: hidden;
}

.photo-pair .media__photo img {
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .photo-pair {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.message-box {
  padding: 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.message-box .note {
  margin-top: 10px;
}

/* ---------- アコーディオン ---------- */

.acc {
  border-top: 1px solid var(--c-line);
}

.acc__item {
  border-bottom: 1px solid var(--c-line);
}

.acc__btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 14px 44px 14px 4px;
  background: none;
  border: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

.acc__btn::before,
.acc__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 1px;
  background: var(--c-link);
  transition: opacity var(--t-fast) ease-out;
}

.acc__btn::after {
  transform: rotate(90deg);
}

.acc__btn[aria-expanded="true"]::after {
  opacity: 0;
}

.acc__panel {
  overflow: hidden;
}

.acc__panel[hidden] {
  display: none;
}

.acc__panel-inner {
  padding: 0 4px 20px;
  font-size: 15px;
}

.callout {
  padding: 22px 20px;
  background: var(--c-white);
  border: 1px solid var(--c-rose);
  border-radius: var(--radius);
  text-align: center;
}

.callout strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- ご予約（ステップ形式） ---------- */

.reserve-notice {
  position: sticky;
  top: 56px;
  z-index: 30;
  padding: 8px var(--gutter);
  background: var(--c-pink);
  color: var(--c-btn-text);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.reserve-notice strong {
  margin-inline: 0.75em;
  font-weight: 700;
}

.reserve-notice a {
  display: inline-block;
  padding-block: 4px;
  color: var(--c-btn-text);
  font-weight: 700;
}

.reserve {
  padding-block: 28px 64px;
}

.reserve__app {
  max-width: 640px;
  margin-inline: auto;
  scroll-margin-top: 110px;
}

.step-nav .btn {
  padding-inline: 12px;
}

.picked {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-rose);
  border-radius: var(--radius);
}

.picked[hidden] {
  display: none;
}

.picked img {
  flex: 0 0 auto;
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.picked__label {
  display: block;
  color: var(--c-link);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.picked .ai-note {
  display: block;
  margin-top: 2px;
}

.summary .ai-note {
  display: block;
}

.picked__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.5;
}

.picked__change {
  flex: 0 0 auto;
  min-height: 44px;
  margin-left: auto;
  padding: 0 6px;
  background: none;
  border: 0;
  color: var(--c-link);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.progress[hidden] {
  display: none;
}

.progress__dots {
  display: flex;
  gap: 10px;
}

.progress__dots li {
  width: 10px;
  height: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-rose);
  border-radius: 50%;
}

.progress__dots li.is-done {
  background: var(--c-pink);
}

.progress__dots li.is-current {
  background: var(--c-rose);
  outline: 1px solid var(--c-rose);
  outline-offset: 3px;
}

.progress__count {
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.step-panel {
  padding: 24px 18px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.step-panel h2 {
  font-size: 21px;
}

.step-panel h2:focus {
  outline: none;
}

.step-panel__lead {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
}

.field {
  margin-top: 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field__label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}

.field__opt {
  margin-left: 6px;
  color: var(--c-text-soft);
  font-size: 12px;
  font-weight: 400;
}

.field__error {
  margin-top: 8px;
  color: var(--c-link);
  font-size: 13px;
  font-weight: 700;
}

.choices {
  display: grid;
  gap: 10px;
}

.choices--2 {
  grid-template-columns: 1fr 1fr;
}

.choice {
  position: relative;
  display: block;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  min-height: 56px;
  padding: 10px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  line-height: 1.5;
  cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out;
}

.choice__name {
  font-weight: 700;
}

.choice__price {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.choice__note {
  flex-basis: 100%;
  color: var(--c-text-soft);
  font-size: 12px;
}

.choice input:checked + .choice__box {
  background: var(--c-pink);
  border-color: var(--c-rose);
  color: var(--c-btn-text);
  box-shadow: inset 0 0 0 1px var(--c-rose);
}

.choice input:checked + .choice__box .choice__note {
  color: var(--c-btn-text);
}

.choice input:focus-visible + .choice__box {
  outline: 2px solid var(--c-link);
  outline-offset: 3px;
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-rose);
  border-radius: var(--radius);
  color: var(--c-text);
  font: inherit;
  font-size: 16px;
}

.field__help {
  margin-top: 8px;
}

/* カレンダー */
.slots {
  display: grid;
  gap: 10px;
}

.slot {
  padding: 12px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.slot.is-active {
  border-color: var(--c-rose);
  box-shadow: inset 0 0 0 1px var(--c-rose);
}

.slot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.slot__title {
  font-size: 13px;
  font-weight: 700;
}

.slot__date {
  font-family: var(--font-serif);
  font-size: 16px;
}

.slot__ampm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.slot__ampm .choice__box {
  justify-content: center;
  min-height: 44px;
  background: var(--c-white);
}

.cal {
  margin-top: 16px;
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cal__month {
  font-family: var(--font-serif);
  font-size: 17px;
}

.cal__nav {
  width: 44px;
  height: 44px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.cal__nav[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.cal__nav::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--c-text);
  border-left: 1px solid var(--c-text);
  transform: translateX(2px) rotate(-45deg);
}

.cal__nav--next::before {
  transform: translateX(-2px) rotate(135deg);
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal__dow {
  padding-block: 4px;
  color: var(--c-text-soft);
  font-size: 12px;
}

.cal__day {
  min-height: 44px;
  padding: 0;
  background: var(--c-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  cursor: pointer;
}

.cal__day[disabled] {
  background: none;
  color: #B9ABAE;
  cursor: not-allowed;
}

.cal__day.is-first {
  background: var(--c-rose);
  color: var(--c-btn-text);
  font-weight: 700;
}

.cal__day.is-second {
  background: var(--c-pink);
  border-color: var(--c-rose);
  color: var(--c-btn-text);
  font-weight: 700;
}

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
}

.cal__legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background: var(--c-rose);
  border: 1px solid var(--c-rose);
  border-radius: 2px;
}

.cal__legend span:last-child::before {
  background: var(--c-pink);
}

/* デザイン選択 */
.design-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.design-pick {
  position: relative;
  display: block;
}

.design-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.design-pick img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
}

.design-pick input:checked + img {
  border-color: var(--c-link);
  box-shadow: 0 0 0 2px var(--c-pink);
}

.design-pick input:focus-visible + img {
  outline: 2px solid var(--c-link);
  outline-offset: 3px;
}

.subpanel {
  margin-top: 12px;
  padding: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.subpanel[hidden] {
  display: none;
}

.attach__btn {
  width: 100%;
}

.attach__preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.attach__preview[hidden] {
  display: none;
}

.attach__preview img {
  width: 96px;
  height: 120px;
  border: 1px solid var(--c-rose);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.step-nav {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  margin-top: 20px;
}

.step-nav[hidden] {
  display: none;
}

.step-nav--single {
  grid-template-columns: 1fr;
}

.summary {
  margin-top: 16px;
  border-top: 1px solid var(--c-line);
}

.summary div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  line-height: 1.7;
}

.summary dt {
  color: var(--c-text-soft);
  font-size: 13px;
}

.summary img {
  width: 64px;
  height: 80px;
  margin-top: 6px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-rose);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.7;
  cursor: pointer;
}

.confirm-check input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--c-link);
}

.done {
  text-align: center;
}

.done img {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
}

.reserve__aux {
  max-width: 640px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
  text-align: center;
}

.reserve__aux-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .reserve {
    padding-block: 48px 96px;
  }

  .step-panel {
    padding: 36px 40px;
  }

  .design-picks {
    gap: 12px;
  }
}

/* ---------- 404 ---------- */

.notfound {
  padding-block: 88px;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(22px, 5.6vw, 30px);
}

.notfound__en {
  display: block;
  color: var(--c-link);
  font-family: var(--font-en);
  font-size: 56px;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

/* ---------- 動きを減らす設定 ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
