/* 014 nail room Pétale ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff5f7;
  --c-ink: #4a2333;
  --c-pink: #f4a3b8;
  --c-rose: #e86a8e;
  --c-accent-text: #b0305a;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-cloud1: #ffc2d1;
  --c-cloud2: #ffd9c2;
  --c-cloud3: #e6d4ff;
  --font: "Zen Maru Gothic", sans-serif;
  --font-en: "DM Serif Display", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.95; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.en { font-family: var(--font-en); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--c-accent-text); margin-bottom: 6px; }
.en--ink { color: var(--c-ink); }
.h2 { font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.45; color: var(--c-ink); margin-bottom: 20px; }
.note { margin-top: 24px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .3s, transform .3s; }
.btn--ink { background: var(--c-ink); color: #fff; }
.btn--ink:hover { background: var(--c-accent-text); transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 17px; margin-top: 32px; }

/* ===== 演出①（D03）：ぼかした色の雲（CSS だけ・40秒以上かけてゆっくり） ===== */
.clouds { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cloud { position: absolute; width: 60vmax; height: 60vmax; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; filter: blur(70px); opacity: .75; }
.cloud--1 { background: var(--c-cloud1); left: -18vmax; top: -16vmax; animation: morph1 46s ease-in-out infinite alternate; }
.cloud--2 { background: var(--c-cloud2); right: -22vmax; top: 10vh; width: 50vmax; height: 50vmax; animation: morph2 52s ease-in-out infinite alternate; }
.cloud--3 { background: var(--c-cloud3); left: 10vw; bottom: -30vmax; animation: morph3 58s ease-in-out infinite alternate; }
.cloud--4 { background: var(--c-cloud1); right: 0; bottom: -10vmax; width: 34vmax; height: 34vmax; opacity: .6; animation: morph2 44s ease-in-out infinite alternate-reverse; }
@keyframes morph1 { to { border-radius: 63% 37% 41% 59% / 58% 62% 38% 42%; transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes morph2 { to { border-radius: 35% 65% 52% 48% / 62% 38% 62% 38%; transform: translate(-14vw, 16vh) scale(.9); } }
@keyframes morph3 { to { border-radius: 55% 45% 35% 65% / 40% 60% 40% 60%; transform: translate(10vw, -18vh) scale(1.1); } }

/* ===== ヘッダー ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 20px; height: 70px; padding: 0 20px; background: rgba(255, 245, 247, .85); backdrop-filter: blur(10px); }
.logo { display: flex; align-items: baseline; gap: 6px; min-height: 48px; align-items: center; text-decoration: none; color: var(--c-ink); font-family: var(--font-en); font-size: 28px; line-height: 1; white-space: nowrap; flex: none; }
.logo__sub { font-family: var(--font); font-weight: 700; font-size: 15px; color: var(--c-accent-text); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; font-size: 15px; padding: 0 18px; }
@media (min-width: 1080px) {
  .header__inner { height: 82px; padding: 0 48px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; padding: 0 24px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c-pink); color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: #fff; border-radius: 28px; box-shadow: 0 20px 40px rgba(74, 35, 51, .15); padding: 8px 24px 16px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-weight: 700; font-size: 17px; color: var(--c-ink); text-decoration: none; border-bottom: 1px dashed var(--c-pink); }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== F04：形の切り抜き（形は最初から。JSが動くときは下から形ごと伸びて出る） ===== */
.shape { margin: 0; overflow: hidden; }
.shape img { width: 100%; height: 100%; object-fit: cover; }
.shape--arch { border-radius: 999px 999px 28px 28px; }
.shape--circle { border-radius: 50%; aspect-ratio: 1; }
.shape--petal { aspect-ratio: 1; clip-path: polygon(50.0% 0.0%, 54.7% 2.3%, 58.4% 7.8%, 61.0% 13.6%, 63.8% 16.7%, 67.9% 16.4%, 73.9% 14.2%, 80.4% 12.9%, 85.4% 14.6%, 87.1% 19.6%, 85.8% 26.1%, 83.6% 32.1%, 83.3% 36.2%, 86.4% 39.0%, 92.2% 41.6%, 97.7% 45.3%, 100.0% 50.0%, 97.7% 54.7%, 92.2% 58.4%, 86.4% 61.0%, 83.3% 63.8%, 83.6% 67.9%, 85.8% 73.9%, 87.1% 80.4%, 85.4% 85.4%, 80.4% 87.1%, 73.9% 85.8%, 67.9% 83.6%, 63.8% 83.3%, 61.0% 86.4%, 58.4% 92.2%, 54.7% 97.7%, 50.0% 100.0%, 45.3% 97.7%, 41.6% 92.2%, 39.0% 86.4%, 36.2% 83.3%, 32.1% 83.6%, 26.1% 85.8%, 19.6% 87.1%, 14.6% 85.4%, 12.9% 80.4%, 14.2% 73.9%, 16.4% 67.9%, 16.7% 63.8%, 13.6% 61.0%, 7.8% 58.4%, 2.3% 54.7%, 0.0% 50.0%, 2.3% 45.3%, 7.8% 41.6%, 13.6% 39.0%, 16.7% 36.2%, 16.4% 32.1%, 14.2% 26.1%, 12.9% 19.6%, 14.6% 14.6%, 19.6% 12.9%, 26.1% 14.2%, 32.1% 16.4%, 36.2% 16.7%, 39.0% 13.6%, 41.6% 7.8%, 45.3% 2.3%); }

/* ===== メインビジュアル ===== */
.hero { padding: 96px 20px 72px; }
.hero__inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; gap: 36px; }
.hero__copy { order: 2; }
.hero__en { font-family: var(--font-en); font-style: italic; font-size: 22px; color: var(--c-accent-text); margin-bottom: 8px; }
.hero__title { font-weight: 700; font-size: clamp(34px, 9vw, 72px); line-height: 1.35; color: var(--c-ink); }
.hero__lead { margin-top: 18px; }
.hero__photo { order: 1; width: min(78vw, 420px); aspect-ratio: 2 / 3; margin: 0 auto; box-shadow: 0 0 0 10px rgba(255, 255, 255, .7); }
.sparkle { position: absolute; width: 40px; }
.sparkle--1 { right: 6%; top: 4%; }
.sparkle--2 { left: 4%; top: 46%; width: 26px; }
@media (min-width: 1080px) {
  .hero { min-height: 100vh; padding: 120px 48px 80px; display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; width: 100%; }
  .hero__copy { order: 1; }
  .hero__photo { order: 2; width: min(32vw, 460px); }
  .sparkle--1 { right: 2%; top: 8%; width: 56px; }
  .sparkle--2 { left: 54%; top: 76%; width: 34px; }
}

/* ===== サロンについて ===== */
.about { padding: 96px 0; }
.about__inner { display: grid; gap: 48px; align-items: center; }
.about__photos { position: relative; padding-bottom: 28%; }
.about__salon { width: 78%; }
.about__polish { position: absolute; right: 0; bottom: 0; width: 46%; }
.about__text p + p { margin-top: 16px; }
@media (min-width: 900px) { .about { padding: 150px 0; } .about__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ===== 演出③（G03）：デザインメニュー ===== */
.menu { padding: 96px 0; }
.designs { position: relative; }
.d-list { border-top: 2px solid var(--c-ink); }
.d-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 0; border-bottom: 1px dashed var(--c-rose); transition: background-color .3s, padding .3s; }
.d-row__en { grid-column: 1; font-family: var(--font-en); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--c-accent-text); }
.d-row__body { grid-column: 1; }
.d-row h3 { font-weight: 700; font-size: 21px; color: var(--c-ink); }
.d-row__body p { font-size: 15px; color: var(--c-text); }
.d-row__price { grid-column: 1; font-weight: 700; color: var(--c-ink); }
.d-row__thumb { grid-column: 2; grid-row: 1 / 4; width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
@media (min-width: 900px) {
  .menu { padding: 150px 0; }
  .d-row { grid-template-columns: 9em 1fr auto 96px; gap: 32px; padding: 28px 16px; }
  .d-row__en, .d-row__body, .d-row__price { grid-column: auto; }
  .d-row__en { font-size: 30px; }
  .d-row__thumb { grid-column: auto; grid-row: auto; }
}
.d-preview { display: none; }
/* 動く版（マウスのある PC だけ）：行の写真は隠し、浮かぶ写真で見せる */
.is-hover .d-row { cursor: default; }
.is-hover .d-row:hover { background: rgba(255, 255, 255, .7); }
.is-hover .d-row__thumb { visibility: hidden; }
.is-hover .d-preview { display: block; position: absolute; z-index: 3; left: 0; top: 0; width: 220px; height: 280px; margin: -140px 0 0 -110px; border-radius: 999px 999px 24px 24px; overflow: hidden; pointer-events: none; opacity: 0; box-shadow: 0 24px 48px rgba(74, 35, 51, .25); }
.is-hover .d-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ===== はじめての方へ ===== */
.first { padding: 96px 0; }
.steps { display: grid; gap: 16px; counter-reset: s; }
.steps li { position: relative; background: rgba(255, 255, 255, .8); border-radius: 28px; padding: 28px 24px 24px 88px; }
.steps__no { position: absolute; left: 22px; top: 24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-pink); color: var(--c-ink); font-family: var(--font-en); font-size: 24px; }
.steps h3 { font-weight: 700; font-size: 19px; color: var(--c-ink); }
@media (min-width: 900px) {
  .first { padding: 150px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps li { padding: 88px 24px 28px; }
  .steps__no { left: 24px; top: 24px; }
}

/* ===== ご予約 ===== */
.reserve { padding: 0 20px; }
.reserve__inner { max-width: 1120px; margin: 0 auto; background: var(--c-pink); border-radius: 48px; padding: 64px 24px; text-align: center; color: var(--c-ink); }
.reserve__inner p { font-weight: 700; }
@media (min-width: 900px) { .reserve__inner { padding: 96px 48px; border-radius: 999px; } }

/* ===== アクセス ===== */
.access { padding: 104px 0; }
.info { margin: 0; max-width: 860px; }
.info div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px dashed var(--c-rose); }
.info dt { font-weight: 700; color: var(--c-ink); }
.info dd { margin: 0; }
@media (min-width: 768px) { .info div { grid-template-columns: 6em 1fr; gap: 16px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #fde7ee; padding: 64px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-en); font-size: 48px; line-height: 1; color: var(--c-pink); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.footer__fiction { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .cloud { animation: none; }
}
