/* ===== head care base rimeko 公式サイト ===== */
:root {
  --white: #FFFFFF;
  --mint: #60C3AE;      /* ロゴの色 */
  --mint-d: #3E9E8B;    /* 文字・ボタン（白地で読める濃さ） */
  --mint-l: #EAF6F3;
  --mint-ll: #F4FAF8;
  --ink: #4A4B4D;       /* ロゴのおばけのグレーに近い */
  --ink-s: #6E7072;
  --ink-l: #8A8C8E;
  --line: #DCEFEA;
  --mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --logo: "Quicksand", "Zen Kaku Gothic New", sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--gothic); font-size: 16px; line-height: 2; letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-d); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ページの切り替え */
.page { display: none; padding-top: 76px; }
.page.is-active { display: block; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== 共通の部品 ===== */
.en-label {
  font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .32em;
  color: var(--mint-d); text-align: center; margin-bottom: 10px;
}
.en-label.left { text-align: left; }
.sec-title { font-family: var(--mincho); font-weight: 400; font-size: clamp(24px, 5.6vw, 34px); line-height: 1.6; text-align: center; letter-spacing: .1em; margin-bottom: 36px; }
.sec-lead { text-align: center; color: var(--ink-s); font-size: 15px; margin: -16px auto 40px; max-width: 640px; }
.note { font-size: 13px; color: var(--ink-l); line-height: 1.9; margin-top: 20px; }
.note.center, .voice .note, .gohobi .note { text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 40px; border-radius: 999px;
  font-family: var(--gothic); font-size: 16px; letter-spacing: .12em; text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-fill { background: var(--mint-d); color: #fff; }
.btn-fill:hover { background: #348877; }
.btn-line { border: 1px solid var(--mint-d); color: var(--ink); background: #fff; }
.btn-line:hover { background: var(--mint-ll); }
.text-link { display: inline-block; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--mint); padding-bottom: 4px; font-size: 15px; }
.text-link:hover { color: var(--mint-d); }

/* おばけの形で切り抜いた写真 */
.ghost-photo { clip-path: url(#ghost); -webkit-clip-path: url(#ghost); aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--mint-l); }
.ghost-photo img { width: 100%; height: 100%; object-fit: cover; }
.ghost-photo.placeholder { display: grid; place-items: center; }
.ghost-photo.placeholder img { width: 64%; height: auto; border-radius: 50%; }
.logo img, .footer img { border-radius: 50%; }

/* ===== ヘッダー ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 76px;
  display: flex; align-items: center; gap: 24px; padding: 0 20px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--logo); font-size: 22px; letter-spacing: .28em; }
.logo-sub { font-family: var(--logo); font-size: 9px; letter-spacing: .42em; color: var(--ink-s); }
.gnav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.gnav a { color: var(--ink); text-decoration: none; letter-spacing: .1em; padding: 6px 0; border-bottom: 1px solid transparent; }
.gnav a.is-current { border-bottom-color: var(--mint); }
.gnav .gnav-line { background: var(--mint-d); color: #fff; padding: 10px 22px; border-radius: 999px; border: 0; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .header { height: 64px; padding: 0 16px; }
  .page { padding-top: 64px; }
  .menu-btn {
    display: grid; place-content: center; gap: 7px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span:not(.sr-only) { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .3s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(30deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-30deg); }
  .gnav {
    position: fixed; inset: 64px 0 0; background: #fff; flex-direction: column; justify-content: center; gap: 28px;
    font-size: 17px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .gnav.is-open { opacity: 1; pointer-events: auto; }
}

/* ===== トップ：ヒーロー ===== */
.hero { max-width: 760px; margin: 0 auto; padding: 24px 20px 72px; text-align: center; }
.hero-arc { width: 100%; max-width: 640px; height: auto; display: block; margin: 0 auto -6px; overflow: visible; }
.hero-arc text { font-family: var(--mincho); font-size: 64px; letter-spacing: 6px; }
.arc-gray { fill: var(--ink); }
.arc-mint { fill: var(--mint-d); }
.hero-visual { position: relative; width: min(84%, 540px); margin: 0 auto; }
.hero-tate {
  position: absolute; right: -14%; top: 10%;
  writing-mode: vertical-rl; font-family: var(--mincho); font-size: clamp(14px, 2.4vw, 18px);
  line-height: 2.2; letter-spacing: .3em; color: var(--ink); text-align: left;
}
.icon-band { display: flex; justify-content: center; gap: clamp(18px, 5vw, 40px); margin: 40px 0 32px; }
.icon-band svg { width: clamp(28px, 6vw, 40px); height: clamp(24px, 5vw, 32px); fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-lead { font-family: var(--mincho); font-size: clamp(19px, 4.6vw, 26px); line-height: 1.9; letter-spacing: .12em; margin-bottom: 36px; }
@media (max-width: 600px) {
  .hero-visual { width: 78%; margin-left: 6%; }
  .hero-tate { right: -20%; }
}

/* ===== トップ：コンセプト ===== */
.concept { background: var(--mint-ll); padding: 96px 20px; }
.concept-body { max-width: 760px; margin: 0 auto; display: flex; flex-direction: row-reverse; justify-content: center; gap: clamp(32px, 8vw, 80px); }
.concept-title, .concept-text { writing-mode: vertical-rl; }
.concept-title { font-family: var(--mincho); font-weight: 400; font-size: clamp(22px, 4.6vw, 30px); line-height: 2; letter-spacing: .22em; }
.concept-text { font-family: var(--mincho); font-size: clamp(14px, 3.2vw, 16px); line-height: 2.4; letter-spacing: .2em; color: var(--ink-s); max-height: 26em; }

/* ===== トップ：ヘッドスパ ===== */
.spa { max-width: var(--wrap); margin: 0 auto; padding: 110px 20px; display: grid; gap: 40px; align-items: center; }
.spa-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 120px 120px 24px 24px; }
.spa-text h2 { font-family: var(--mincho); font-weight: 400; font-size: clamp(24px, 5.4vw, 34px); line-height: 1.6; letter-spacing: .1em; margin-bottom: 22px; }
.spa-text p { margin-bottom: 18px; }
.spa-price { font-family: var(--en); font-size: 28px; letter-spacing: .06em; color: var(--ink); }
.spa-price span { font-family: var(--gothic); font-size: 14px; color: var(--mint-d); margin-right: 8px; }
.spa-price .sep { color: var(--ink-l); margin: 0 14px; }
@media (min-width: 900px) { .spa { grid-template-columns: 1.05fr 1fr; gap: 72px; } }

/* ===== トップ：こんな方に ===== */
.foryou { padding: 96px 20px; max-width: 880px; margin: 0 auto; }
.foryou-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.foryou-grid li {
  position: relative; border: 1px solid var(--mint); border-radius: 28px;
  padding: 40px 12px 30px; text-align: center;
  font-family: var(--mincho); font-size: clamp(15px, 3.8vw, 20px); line-height: 1.8;
}
.foryou-grid .num {
  position: absolute; top: -18px; left: -6px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--mint); display: grid; place-items: center;
  font-family: var(--en); font-size: 16px; color: var(--mint-d);
}
.foryou-note { text-align: center; margin-top: 44px; font-family: var(--mincho); font-size: 17px; line-height: 2; }

/* ===== トップ：声 ===== */
.voice { padding: 0 20px 110px; text-align: center; max-width: 880px; margin: 0 auto; }
.voice-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 24px; margin-bottom: 64px; }
.voice-list li { font-family: var(--mincho); font-size: clamp(22px, 5vw, 30px); letter-spacing: .12em; padding: 14px 0; }
.voice-list li + li::before { content: ""; display: block; width: 56px; height: 1px; background: var(--mint); margin: 0 auto 28px; }

/* ===== トップ：営業日とrimekoへの入口 ===== */
.home-info { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 110px; display: grid; gap: 20px; }
.info-card { background: var(--mint-ll); border-radius: 28px; padding: 40px 32px; }
.info-card h3 { font-family: var(--mincho); font-weight: 400; font-size: 21px; line-height: 1.6; margin-bottom: 10px; }
.info-card p:not(.en-label) { color: var(--ink-s); font-size: 15px; margin-bottom: 20px; }
@media (min-width: 800px) { .home-info { grid-template-columns: 1fr 1fr; } }

/* ===== 予約の帯（各ページの最後） ===== */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 100px 20px 110px; background: var(--mint-ll); }
.cta-ghost {
  position: absolute; right: -60px; top: -40px; width: 260px; height: 270px; background: var(--mint-l);
  clip-path: url(#ghost); -webkit-clip-path: url(#ghost);
}
.cta-band > *:not(.cta-ghost) { position: relative; }
.cta-band h2 { font-family: var(--mincho); font-weight: 400; font-size: clamp(24px, 5.6vw, 34px); line-height: 1.7; letter-spacing: .1em; margin-bottom: 14px; }
.cta-band p:not(.en-label) { color: var(--ink-s); margin-bottom: 32px; }
.cta-band .text-link { display: table; margin: 26px auto 0; }

/* ===== 下層ページの見出し ===== */
.page-head { text-align: center; padding: 72px 20px 56px; }
.page-head h1 { font-family: var(--mincho); font-weight: 400; font-size: clamp(28px, 6.4vw, 40px); letter-spacing: .14em; line-height: 1.5; }
.page-lead { margin-top: 18px; color: var(--ink-s); font-size: 15px; }

/* ===== メニュー ===== */
.menu-main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 100px; display: grid; gap: 40px; align-items: center; }
.menu-main .ghost-photo { width: min(86%, 440px); margin: 0 auto; }
.badge { display: inline-block; font-size: 13px; color: var(--mint-d); border: 1px solid var(--mint); border-radius: 999px; padding: 2px 16px; margin-bottom: 14px; }
.menu-main h2 { font-family: var(--mincho); font-weight: 400; font-size: clamp(26px, 6vw, 36px); letter-spacing: .12em; }
.menu-desc { color: var(--ink-s); margin: 10px 0 26px; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list > div:first-child { border-top: 1px solid var(--line); }
.price-list dt { font-size: 16px; }
.price-list dt small { display: block; font-size: 12px; color: var(--ink-l); letter-spacing: .06em; }
.price-list dd { font-family: var(--en); font-size: 26px; letter-spacing: .04em; white-space: nowrap; }
.price-list.small dd { font-size: 22px; }
@media (min-width: 900px) { .menu-main { grid-template-columns: 1fr 1fr; gap: 72px; } }

.gohobi { background: var(--mint-ll); padding: 100px 20px; }
.gohobi-list { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 20px; }
.gohobi-list li { background: #fff; border-radius: 28px; padding: 36px 28px; text-align: center; }
.g-no { font-family: var(--en); font-size: 16px; color: var(--mint-d); letter-spacing: .2em; }
.gohobi-list h3 { font-family: var(--mincho); font-weight: 400; font-size: 28px; letter-spacing: .2em; margin: 4px 0 8px; }
.g-parts { font-size: 13px; color: var(--mint-d); margin-bottom: 14px; }
.g-desc { font-family: var(--mincho); font-size: 15px; line-height: 2; color: var(--ink-s); margin-bottom: 18px; }
.g-price { font-family: var(--en); font-size: 30px; }
.g-price span { display: block; font-family: var(--gothic); font-size: 12px; color: var(--ink-l); }
@media (min-width: 900px) { .gohobi-list { grid-template-columns: repeat(3, 1fr); } }

.menu-others { max-width: var(--wrap); margin: 0 auto; padding: 100px 20px 60px; }
.others-grid { display: grid; gap: 40px; }
.other h3 { font-family: var(--mincho); font-weight: 400; font-size: 21px; letter-spacing: .08em; margin-bottom: 12px; padding-left: 16px; border-left: 2px solid var(--mint); line-height: 1.5; }
.other-desc { color: var(--ink-s); font-size: 14px; margin-bottom: 12px; }
.other-note { font-size: 13px; color: var(--ink-l); margin-top: 12px; line-height: 1.8; }
@media (min-width: 900px) { .others-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

.caution { max-width: 760px; margin: 0 auto; padding: 20px 20px 100px; }
.caution h2 { font-family: var(--mincho); font-weight: 400; font-size: 19px; margin-bottom: 14px; }
.caution li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-s); line-height: 1.9; margin-bottom: 8px; }
.caution li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* ===== rimekoについて ===== */
.greeting { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 100px; display: grid; gap: 40px; align-items: center; }
.greeting .ghost-photo { width: min(78%, 380px); margin: 0 auto; }
.greeting-text h2 { font-family: var(--mincho); font-weight: 400; font-size: clamp(26px, 6vw, 36px); line-height: 1.6; letter-spacing: .14em; margin-bottom: 26px; }
.greeting-text p { margin-bottom: 18px; }
.greeting-name { font-family: var(--mincho); font-size: 19px; margin-top: 30px; }
.greeting-name span { font-family: var(--gothic); font-size: 13px; color: var(--ink-l); margin-left: 14px; }
@media (min-width: 900px) { .greeting { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }

.salon-info { max-width: 820px; margin: 0 auto; padding: 0 20px 110px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--line); }
.info-table th { width: 32%; font-weight: 400; color: var(--mint-d); font-size: 14px; white-space: nowrap; }
.info-table td small { color: var(--ink-l); }

/* ===== 営業日・アクセス ===== */
.schedule { max-width: 760px; margin: 0 auto; padding: 0 20px 90px; }
.cal { border: 1px solid var(--line); border-radius: 28px; padding: 32px clamp(14px, 4vw, 40px) 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-title { font-family: var(--en); font-size: 30px; letter-spacing: .08em; }
.cal-year { font-size: 16px; color: var(--ink-l); margin-right: 10px; }
.cal-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mint); background: #fff; color: var(--mint-d); font-size: 18px; cursor: pointer; }
.cal-arrow:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-w { text-align: center; font-size: 13px; color: var(--ink-s); padding-bottom: 8px; border-bottom: 1px solid var(--mint); margin-bottom: 6px; }
.cal-w.sun { color: var(--ink-l); }
.cal-d { aspect-ratio: 1 / .9; display: grid; place-items: center; font-family: var(--en); font-size: clamp(16px, 3.8vw, 22px); border-radius: 50%; position: relative; }
.cal-d.open { color: var(--ink); }
.cal-d.open::after { content: ""; position: absolute; bottom: 14%; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.cal-d.off { color: #B9BBBD; }
.cal-d.off::after { content: ""; position: absolute; bottom: 16%; width: 12px; height: 1px; background: #C9CBCD; }
.cal-d.none { color: var(--ink-l); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-top: 18px; font-size: 13px; color: var(--ink-s); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.lg { display: inline-block; }
.lg-open { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.lg-off { width: 14px; height: 1px; background: #C9CBCD; }
.cal-empty { text-align: center; color: var(--ink-s); margin-top: 16px; font-size: 14px; }

.access { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 100px; display: grid; gap: 32px; }
.access-text h2 { font-family: var(--mincho); font-weight: 400; font-size: 26px; letter-spacing: .12em; margin-bottom: 10px; }
.access-addr { font-family: var(--mincho); font-size: 19px; margin-bottom: 18px; }
.access-dl > div { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.access-dl dt { color: var(--mint-d); width: 6em; flex: none; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: 28px; background: var(--mint-ll); }
@media (min-width: 900px) { .access { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; } }

/* ===== ご予約 ===== */
.reserve { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 90px; }
.reserve-list { display: grid; gap: 18px; }
.reserve-list li { border: 1px solid var(--line); border-radius: 28px; padding: 32px 28px; text-align: center; }
.reserve-list li.is-main { border-color: var(--mint); background: var(--mint-ll); }
.r-label { font-size: 13px; color: var(--mint-d); margin-bottom: 6px; }
.reserve-list h2 { font-family: var(--mincho); font-weight: 400; font-size: 22px; letter-spacing: .1em; margin-bottom: 6px; }
.reserve-list p { color: var(--ink-s); font-size: 15px; margin-bottom: 18px; }
.reserve-list p:last-child { margin-bottom: 0; }
.tel { font-family: var(--en); font-size: 28px; letter-spacing: .08em; color: var(--ink); text-decoration: none; }
@media (min-width: 900px) { .reserve-list { grid-template-columns: 1fr 1fr; } }

.faq { max-width: 760px; margin: 0 auto; padding: 0 20px 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 22px 44px 22px 34px;
  font-family: var(--mincho); font-size: 17px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 20px; font-family: var(--en); font-size: 20px; color: var(--mint-d); }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--mint); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 8px 24px 34px; color: var(--ink-s); font-size: 15px; }

/* ===== フッター ===== */
.footer { text-align: center; padding: 72px 20px 110px; border-top: 1px solid var(--line); }
.footer img { margin: 0 auto 18px; }
.footer-addr { font-size: 13px; color: var(--ink-s); line-height: 1.9; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px 0; font-size: 13px; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.copy { font-family: var(--logo); font-size: 11px; color: var(--ink-l); letter-spacing: .2em; }

/* スマホ下部の予約ボタン */
.sp-line {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px;
  background: var(--mint-d); color: #fff; text-decoration: none; letter-spacing: .12em; font-size: 15px;
  box-shadow: 0 8px 20px -10px rgba(40, 90, 80, .6);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.sp-line.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 961px) { .sp-line { display: none; } }
