/*
Theme Name: PURELY Shimi Care Salon
Theme URI: https://www.purely.co.jp
Author: PURELY
Description: シミケアサロン ピュアリー甲府本店 オリジナルテーマ。Forest-green natural luxury × clean clinical trust.
Version: 1.6.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: purely-shimicare
*/

:root {
  /* ---- color ---- */
  --bg:        #F6F4EE;   /* warm off-white page */
  --bg-2:      #EEF1EA;   /* soft green tint band */
  --card:      #FCFBF6;   /* card / panel */
  --ink:       #25302A;   /* warm near-black green */
  --ink-soft:  #4B564E;   /* secondary text */
  --muted:     #7C857B;   /* captions / meta */
  --line:      #DDD9CE;   /* hairline */
  --line-soft: #E8E5DB;

  --green:       #2C4034;  /* deep forest — primary */
  --green-mid:   #5E7864;  /* sage */
  --green-tint:  #E4EBE2;  /* pale green wash */
  --green-deep:  #1E2C24;  /* darkest, footer */

  --gold:      #B49A5E;    /* restrained luxury accent (hairlines, hover) */
  --gold-soft: #CDB987;

  /* ---- type ---- */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --latin: "Cormorant Garamond", serif;

  /* ---- layout ---- */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 2px;     /* keep corners crisp / clinical */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- type helpers ---------- */
.serif { font-family: var(--serif); }
.latin { font-family: var(--latin); font-weight: 500; letter-spacing: .06em; }
.eyebrow {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--green-mid);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.45; letter-spacing: .04em; margin: 0; }
.h-xl { font-size: clamp(30px, 5.4vw, 60px); line-height: 1.32; }
.h-lg { font-size: clamp(26px, 3.6vw, 42px); }
.h-md { font-size: clamp(21px, 2.4vw, 28px); }
.lead { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); line-height: 2.1; }
.small { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section.tint { background: var(--bg-2); }
.section.green { background: var(--green); color: #EDEFE8; }
.section.green .lead { color: #C6CFC3; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .08em;
  padding: 16px 32px; border: 1px solid var(--b); background: var(--b); color: #F6F4EE;
  border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: transparent; color: var(--green); }
.btn.gold { --b: var(--gold); background: var(--gold); color: #fff; }
.btn.gold:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: #F6F4EE; }
.btn.line { --b: #06C755; background: #06C755; color:#fff; }
.btn.line:hover { background: transparent; color:#06C755; }
.btn.block { width: 100%; }
.btn.lg { padding: 19px 40px; font-size: 16px; }
.tel-block .num, .tel-block .hours { white-space: nowrap; }

.textlink {
  font-family: var(--latin); font-size: 15px; letter-spacing: .1em; font-weight: 600;
  color: var(--green); display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: gap .3s ease, border-color .3s ease;
}
.textlink:hover { gap: 18px; border-color: var(--gold); }
.textlink::after { content: "→"; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,244,238,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: auto; display: block; }
.brand .mark { font-family: var(--latin); font-size: 26px; font-weight: 600; letter-spacing: .18em; color: var(--green); }
.brand .sub { font-size: 11px; letter-spacing: .28em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 13.5px; letter-spacing: .04em; color: var(--ink-soft); position: relative; padding-block: 6px; white-space: nowrap; }
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--gold); transition: width .3s ease;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width:100%; }
.nav-links a[aria-current="page"] { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-tel { font-family: var(--latin); font-size: 17px; font-weight: 600; letter-spacing: .04em; color: var(--green); line-height: 1.2; white-space: nowrap; }
.nav-tel small { display:block; font-family: var(--sans); font-size: 9.5px; letter-spacing:.1em; color: var(--muted); text-align:right; line-height: 1.3; white-space: nowrap; }
.hamburger { display: none; }
.mobile-menu { display: none; }

/* ---------- sub-page hero ---------- */
.page-hero { background: var(--green); color:#EDEFE8; padding: clamp(48px,7vw,84px) 0 clamp(44px,6vw,72px); position:relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px); pointer-events:none; }
.page-hero .wrap { position:relative; z-index:1; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 { color:#F2F4ED; margin: 18px 0 14px; }
.page-hero p { color:#C6CFC3; max-width: 640px; font-size: 15.5px; line-height: 2; margin:0; }
.crumbs { font-size: 12px; letter-spacing:.1em; color:#9FAB9C; margin-bottom: 22px; }
.crumbs a { color:#9FAB9C; } .crumbs a:hover { color:#fff; }

/* ---------- prose / shared blocks ---------- */
.note { background: var(--green-tint); border-left: 2px solid var(--gold); padding: 22px 26px; border-radius: var(--radius); font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item .q { font-family: var(--serif); font-size: 18px; color: var(--green); display:flex; gap:14px; align-items:baseline; }
.faq-item .q::before { content:"Q"; font-family:var(--latin); color:var(--gold); font-weight:600; font-size:16px; }
.faq-item .a { margin: 12px 0 0 30px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #B9C2B6; padding-block: 64px 28px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.site-footer .mark { font-family: var(--latin); font-size: 28px; letter-spacing:.22em; color:#EDEFE8; }
.footer-brand-logo { height: 60px; width: auto; display:block; filter: brightness(0) invert(1); opacity:.94; }
.brand-seal { display:block; margin: 0 auto; width: clamp(150px, 22vw, 196px); height:auto; }
.brand-seal.on-green { filter: brightness(0) invert(1); opacity:.96; }
.site-footer .sub { font-size: 11px; letter-spacing:.26em; color:#7E8C7C; margin-top:6px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing:.2em; color:#9AA797; font-weight:600; margin:0 0 16px; }
.site-footer ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.site-footer a { font-size:14px; color:#C2CBBF; }
.site-footer a:hover { color:#fff; }
.site-footer .info { font-size:13.5px; line-height:2; color:#AEB8AB; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); margin-top:48px; padding-top:22px; text-align:center; font-size:11px; letter-spacing:.16em; color:#73806F; }

/* ---------- image placeholders ---------- */
.ph {
  position: relative; overflow: hidden; background: var(--green-tint);
  background-image: repeating-linear-gradient(135deg, rgba(44,64,52,.05) 0 12px, transparent 12px 24px);
  display:flex; align-items:center; justify-content:center;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px; letter-spacing: .12em; color: var(--green-mid);
  background: rgba(252,251,246,.82); padding: 6px 12px; border:1px solid var(--line);
  border-radius: 100px; max-width: 80%; text-align:center;
}
.ph.dark { background: #2A3A30; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 12px, transparent 12px 24px); }
.ph.dark::after { color:#C6CFC3; background: rgba(30,44,36,.7); border-color: rgba(255,255,255,.12); }

/* ---------- generic cards / grid ---------- */
.grid { display:grid; gap: clamp(20px, 3vw, 40px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border:1px solid var(--line-soft); border-radius: var(--radius); }

/* number / index marker */
.idx { font-family: var(--latin); font-size: 14px; letter-spacing:.2em; color: var(--gold); font-weight:600; }

/* reveal on scroll — fail-safe: only hide when JS adds .js-reveal to <body> */
.reveal { transition: opacity .9s ease, transform .9s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1 !important; transform:none !important; transition:none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 1180px) {
  .nav-links, .nav-tel small { display: none; }
  .brand-logo { height: 38px; }
  .hamburger {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .hamburger span { width: 24px; height: 1.5px; background: var(--green); display: block; transition: .3s; }
  .mobile-menu {
    display: block;
    position: fixed; inset: 76px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 16px var(--gut) 28px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s; z-index: 55;
  }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display:block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .mobile-menu .btn { margin-top: 18px; }
}
@media (max-width: 560px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}
