/* ===== 色は3色だけ(ベース70% : メイン25% : アクセント5%) =====
   ベース   … 白に近い、あたたかいクリーム … 背景のほとんど(うすい桃色は、ベースの濃淡)
   メイン   … 明るく健康的なオレンジ … 見出し・線・ボタン・カードの数字
   アクセント … すっきりした緑 … 「ご予約」のボタンなど、小さなポイントだけ
   ※ このサイトは、ヘッダーではなく、左の「サイドバー」で案内する */
:root {
  --base: #fffaf5;       /* ベース(70%) */
  --base-tint: #fff1e4;  /* ベースの濃淡(背景の切り替え) */
  --main: #d4650c;       /* メイン(25%) */
  --main-line: #f3d3b5;  /* メインの薄い色合い(線) */
  --text: #4b3a2d;       /* 文字:やわらかい茶色 */
  --accent: #178a4a;     /* アクセント(5%) */
  --font: "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo UI", "Yu Gothic", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", serif;
  --side-w: 280px;
  --top-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--base); color: var(--text); font-family: var(--font); line-height: 1.9; letter-spacing: .03em; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ===== ボタン ===== */
.btn {
  display: inline-block; padding: 14px 40px; border-radius: 999px;
  background: var(--main); color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .08em; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(212, 101, 12, .3); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { box-shadow: 0 6px 14px rgba(23, 138, 74, .3); }
.btn-block { display: block; padding: 12px 16px; font-size: 15px; }
.btn-off { cursor: not-allowed; opacity: .85; }
.btn-off:hover { transform: none; box-shadow: none; }

/* ===== サイドバー(パソコンでは、左に固定) ===== */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--side-w); z-index: 100;
  display: flex; flex-direction: column;
  padding: 40px 28px 32px; background: var(--base-tint); border-right: 1px solid var(--main-line);
  overflow-y: auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-mark circle, .logo-mark path { fill: none; stroke: var(--main); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo-words { display: flex; flex-direction: column; line-height: 1.25; }
.logo-en { font-size: 16px; font-weight: 700; letter-spacing: .3em; color: var(--main); }
.logo-ja { font-size: 12px; letter-spacing: .2em; }

.sidebar-body { display: flex; flex-direction: column; flex: 1; margin-top: 40px; }
.side-nav ul { border-top: 1px solid var(--main-line); }
.side-nav li { border-bottom: 1px solid var(--main-line); }
.side-nav a {
  position: relative; display: grid; grid-template-columns: 2em auto 1fr; align-items: baseline; gap: 8px;
  padding: 14px 8px 14px 14px; transition: color .2s, background-color .2s;
}
.side-no { font-size: 12px; color: var(--main); font-weight: 700; }
.side-en { font-family: var(--font-serif); font-size: 17px; letter-spacing: .12em; }
.side-ja { font-size: 12px; text-align: right; opacity: .8; }
.side-nav a::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--main);
  transform: scaleY(0); transition: transform .3s;
}
.side-nav a:hover { background: rgba(255, 250, 245, .7); }
.side-nav a.is-current { color: var(--main); }
.side-nav a.is-current::before { transform: scaleY(1); }

.side-reserve { margin-top: auto; padding-top: 28px; }
/* 電話番号:スマホでタップすると発信できる(PCでは、ふつうの文字に見える) */
.side-tel a, .reserve-tel a { color: inherit; text-decoration: none; }
@media (hover: hover) { .side-tel a:hover, .reserve-tel a:hover { text-decoration: underline; } }
.side-tel { margin-top: 14px; font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.side-hours { font-size: 12px; opacity: .85; }

/* 読み進めた長さを見せる、細い線 */
.side-progress { position: absolute; top: 0; right: 0; width: 3px; height: calc(var(--rate, 0) * 100%); background: var(--main); }

/* ハンバーガー(スマホ用) */
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2.5px; border-radius: 2px; background: var(--main); transition: transform .3s, opacity .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.sidebar.is-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.sidebar.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.sidebar.is-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* 本文は、サイドバーの右側に置く */
main, .footer { margin-left: var(--side-w); }

/* ===== ヒーロー ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; padding: 80px 64px;
  background:
    linear-gradient(90deg, rgba(255, 250, 245, .9) 25%, rgba(255, 250, 245, .55)),
    var(--base) url("images/hero.jpg") center / cover no-repeat;
}
.sample-note {
  display: inline-block; margin-bottom: 20px; padding: 2px 14px;
  font-size: 12px; color: var(--main); background: var(--base); border: 1px solid var(--main); border-radius: 999px;
}
.hero-title { font-family: var(--font-serif); font-size: clamp(34px, 5vw, 60px); line-height: 1.5; font-weight: 600; color: var(--main); letter-spacing: .1em; }
.hero-text { margin-top: 18px; font-weight: 700; }
.hero-action { margin-top: 28px; }

/* ===== セクション共通 ===== */
.section { padding: 96px 64px; }
.section > * { max-width: 840px; margin-left: 0; margin-right: auto; }
.section-tint { background: var(--base-tint); }
.section-title { margin-bottom: 44px; font-weight: 600; padding-bottom: 18px; border-bottom: 1px solid var(--main-line); }
.section-title .en { display: block; font-family: var(--font-serif); font-size: clamp(28px, 4vw, 38px); letter-spacing: .2em; color: var(--main); font-weight: 400; }
.section-title .ja { display: block; margin-top: 2px; font-size: 14px; }
.sub-title { margin: 64px 0 28px; font-family: var(--font-serif); font-size: 22px; color: var(--main); font-weight: 600; letter-spacing: .1em; }
.note { margin-top: 12px; font-size: 12px; opacity: .85; }

/* ===== お知らせ ===== */
.news-item { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid var(--main-line); }
.news-date { font-size: 14px; color: var(--main); font-weight: 700; }
.news-tag { justify-self: start; padding: 0 12px; font-size: 12px; font-weight: 700; color: var(--main); border: 1px solid var(--main); border-radius: 999px; }
.news-title { font-size: 15px; }

/* ===== お悩み ===== */
.worries { display: grid; gap: 14px 20px; grid-template-columns: repeat(2, 1fr); }
.worries li { position: relative; padding: 14px 16px 14px 52px; background: var(--base); border-radius: 12px; font-weight: 700; }
.worries li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--main);
}
.worries li::after {
  content: ""; position: absolute; left: 25px; top: 50%; width: 6px; height: 11px; margin-top: -8px;
  border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg);
}
.worry-note { margin-top: 28px; font-weight: 700; color: var(--main); }

/* ===== こだわり ===== */
.reasons { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.reason { padding: 28px 26px; background: var(--base-tint); border-radius: 16px; }
.reason-no { font-family: var(--font-serif); font-size: 32px; line-height: 1; color: var(--main); margin-bottom: 12px; letter-spacing: .06em; }
.reason-title { font-size: 17px; margin-bottom: 8px; }
.reason p:last-child { font-size: 14px; }

/* ===== 施術・料金 ===== */
.menu-body { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
.menu-photo, .room-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.menu-photo { aspect-ratio: 16 / 9; }
.price { width: 100%; border-collapse: collapse; background: var(--base); border-radius: 12px; overflow: hidden; }
.price th, .price td { padding: 16px 18px; border-bottom: 1px solid var(--main-line); text-align: left; }
.price th { font-weight: 700; }
.price td { text-align: right; color: var(--main); font-weight: 700; white-space: nowrap; }
.price tr:last-child th, .price tr:last-child td { border-bottom: 0; }

.flow { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.flow-step { text-align: center; padding: 22px 12px; background: var(--base); border-radius: 16px; }
.flow-no {
  width: 38px; height: 38px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--main); color: #fff; font-weight: 700; font-size: 17px;
}
.flow-step h4 { font-size: 15px; margin-bottom: 4px; }
.flow-step p:last-child { font-size: 12px; }

/* ===== 施術室 ===== */
.room-body { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.room-text { margin-top: 24px; }

/* ===== ご予約 ===== */
.section-reserve { background: var(--main); color: #fff; }
.section-reserve .section-title { border-color: rgba(255, 255, 255, .4); }
.section-reserve .section-title .en, .section-reserve .section-title .ja { color: #fff; }
.reserve-text { margin-bottom: 20px; }
.reserve-tel { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.reserve-tel span { font-size: clamp(28px, 5vw, 42px); letter-spacing: .08em; margin-left: 8px; }
.section-reserve .note { color: #fff; }

/* ===== 営業時間 ===== */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 16px 12px; border-bottom: 1px solid var(--main-line); text-align: left; }
.hours th { width: 8em; color: var(--main); font-weight: 700; }

/* ===== フッター ===== */
.footer { padding: 40px 64px; border-top: 1px solid var(--main-line); }
.footer-note { margin-top: 6px; font-size: 12px; opacity: .8; }

/* ===== スクロールで、ふわっと浮き出る(JSが動くときだけ) ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ===== タブレット・スマホ向け:サイドバーは、上の帯+ハンバーガーに変わる ===== */
@media (max-width: 900px) {
  main, .footer { margin-left: 0; }
  .sidebar {
    top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: var(--top-h);
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0 16px; overflow: visible; border-right: 0; border-bottom: 1px solid var(--main-line);
  }
  .sidebar-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .logo-mark { width: 38px; height: 38px; }
  .nav-toggle { display: block; }
  .sidebar-body {
    display: none; position: absolute; top: 100%; left: 0; width: 100%; margin-top: 0;
    padding: 8px 20px 24px; background: var(--base-tint); border-bottom: 1px solid var(--main-line);
    max-height: calc(100svh - var(--top-h)); overflow-y: auto;
  }
  .sidebar.is-open .sidebar-body { display: flex; }
  .side-progress { top: auto; bottom: 0; left: 0; right: auto; width: calc(var(--rate, 0) * 100%); height: 3px; }
  .hero { padding: calc(var(--top-h) + 40px) 24px 64px; background: linear-gradient(rgba(255, 250, 245, .78), rgba(255, 250, 245, .78)), var(--base) url("images/hero.jpg") center / cover no-repeat; }
  .section { padding: 72px 24px; }
  .footer { padding: 32px 24px; }
  html { scroll-padding-top: calc(var(--top-h) + 8px); }
}
@media (max-width: 640px) {
  .worries, .reasons, .flow, .room-body { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: auto 1fr; }
  .news-title { grid-column: 1 / -1; }
}

/* 動きを減らす設定の人には、動きをなくす */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .side-nav a, .side-nav a::before { transition: none; }
}
