/* =========================================================
   Loomm | 長浜・髪質改善 美髪専門サロン
   ========================================================= */

:root {
  --bg: #faf8f4;
  --bg-alt: #ffffff;
  --bg-dark: #1a1815;
  --text: #1a1815;
  --text-muted: #6b6660;
  --line: #e8e2d6;
  --accent: #b08d57;
  --accent-soft: #d9c9aa;
  --accent-pale: #efe7d7;
  --line-green: #06c755;
  --hpb-orange: #ff5a35;

  --serif-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans-jp: "Noto Sans JP", -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif-latin: "Cormorant Garamond", serif;

  --container: 1120px;
  --section-y: clamp(56px, 8vw, 112px);
  --radius: 4px;
  --shadow-soft: 0 8px 30px rgba(26, 24, 21, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans-jp);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .75; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--text); }
em { font-style: normal; color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #fff; padding: 8px 16px;
}
.skip-link:focus { left: 8px; top: 8px; z-index: 100; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--serif-latin);
  font-size: 28px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text);
}
.brand-tag {
  display: block; margin-top: 4px;
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--text-muted);
}
.site-nav {
  display: flex; gap: 28px; font-size: 14px;
}
.site-nav a { color: var(--text); }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  background: var(--text); color: #fff;
  border-radius: 999px;
  font-size: 13px; letter-spacing: 0.1em;
}
.btn-pill:hover { background: var(--accent); opacity: 1; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .brand-tag { display: none; }
  .header-inner { padding: 12px 20px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero-image { position: relative; }
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
}
.hero-image img {
  width: 100%; height: clamp(480px, 70vh, 720px); object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 32px;
  max-width: var(--container); margin: 0 auto;
  color: #fff;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--serif-latin);
  font-size: 14px; letter-spacing: 0.3em;
  margin: 0 0 18px; opacity: 0.92;
}
.hero-title {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 5.6vw, 56px);
  line-height: 1.4; letter-spacing: 0.04em;
  font-weight: 500;
  margin: 0 0 24px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--accent-soft); }
.hero-lead {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.9; max-width: 580px;
  margin: 0 0 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; min-height: 48px;
  font-size: 14px; letter-spacing: 0.12em; font-weight: 500;
  border-radius: 2px;
  transition: all .2s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: #9a7945; border-color: #9a7945; opacity: 1; }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); opacity: 1; }

/* =========================================================
   SECTIONS — GLOBAL
   ========================================================= */
.section { padding: var(--section-y) 0; }
.section-concept,
.section-menu,
.section-gallery,
.section-faq { background: var(--bg-alt); }
.section-reasons,
.section-tech,
.section-campaign,
.section-access,
.section-book { background: var(--bg); }

.eyebrow {
  font-family: var(--serif-latin);
  font-size: 13px; letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 16px;
  position: relative; padding-left: 56px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 40px; height: 1px; background: var(--accent);
}

.section-title {
  font-family: var(--serif-jp);
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.5; letter-spacing: 0.06em;
  font-weight: 500;
  margin: 0 0 32px;
}
.section-title .accent { color: var(--accent); }

.section-lead {
  font-size: 15px; line-height: 2.1;
  max-width: 760px; margin: 0 0 48px;
  color: #2c2925;
}

.figure-wide { margin: 48px 0; }
.figure-wide img { border-radius: var(--radius); }

/* =========================================================
   CONCEPT — ESSENCE CARDS
   ========================================================= */
.essence {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 56px;
}
.essence-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 40px 32px;
  border-radius: var(--radius);
}
.essence-card .num {
  font-family: var(--serif-latin);
  font-size: 14px; letter-spacing: 0.25em;
  color: var(--accent);
  margin: 0 0 12px;
}
.essence-card h3 {
  font-family: var(--serif-jp);
  font-size: 22px; font-weight: 500;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.bullets { margin: 12px 0 16px; padding-left: 0; }
.bullets li {
  position: relative; padding-left: 22px;
  margin-bottom: 8px; line-height: 1.8;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 12px; height: 1px; background: var(--accent);
}

/* =========================================================
   5 REASONS
   ========================================================= */
.reasons {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 32px;
}
.reason {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 36px 28px;
  position: relative;
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.reason:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.reason .num {
  font-family: var(--serif-latin);
  font-size: 38px; line-height: 1;
  color: var(--accent);
  margin: 0 0 18px;
}
.reason h3 {
  font-family: var(--serif-jp);
  font-size: 18px; font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: 0.06em;
}
.reason p { font-size: 14px; line-height: 1.9; margin: 0; color: #3b3833; }
.reasons-foot {
  text-align: center; margin-top: 56px;
  font-size: 15px; line-height: 2;
  padding: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* =========================================================
   MENU
   ========================================================= */
.menu-guide {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 32px 0 64px;
  padding: 32px;
  background: var(--accent-pale);
  border-radius: var(--radius);
}
.menu-guide div { display: flex; flex-direction: column; gap: 4px; }
.menu-guide strong { font-family: var(--serif-jp); font-size: 16px; }
.menu-guide span { font-size: 14px; color: var(--text-muted); }

.menu-block { margin-bottom: 64px; }
.menu-cat {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text);
}
.menu-cat-lead { color: var(--text-muted); font-size: 14px; margin: 0 0 28px; }

.menu-card {
  display: grid; gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.menu-card header {
  display: contents;
}
.menu-card h4 {
  font-family: var(--serif-jp); font-weight: 500;
  font-size: clamp(15px, 1.8vw, 17px); letter-spacing: 0.04em;
  line-height: 1.6;
}
.menu-card .price {
  font-family: var(--serif-latin);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500; color: var(--accent);
  white-space: nowrap; margin: 0; align-self: start;
  text-align: right;
}
.menu-card .price small { font-size: 11px; color: var(--text-muted); display: block; margin-top: 2px; letter-spacing: 0.06em; }
.menu-card p {
  grid-column: 1 / -1;
  font-size: 14px; color: #3b3833; margin: 8px 0 0;
}
.badge {
  display: inline-block;
  font-family: var(--sans-jp);
  font-size: 10px; letter-spacing: 0.15em;
  background: var(--text); color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 8px;
}
.badge.gold { background: var(--accent); }

.menu-note { color: var(--text-muted); font-size: 13px; margin-top: 16px; }

.app-promo {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
}
.app-promo-title {
  font-family: var(--serif-jp); font-weight: 500;
  font-size: 18px; margin: 0 0 12px;
  color: var(--accent);
}
.app-promo ul { display: flex; flex-direction: column; gap: 8px; }
.app-promo li {
  position: relative; padding-left: 22px; font-size: 14px; line-height: 1.8;
}
.app-promo li::before {
  content: "◆"; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 6px;
}

/* =========================================================
   TECH (Two-column)
   ========================================================= */
.two-col {
  display: grid; gap: 56px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.two-col-text .section-title { margin-top: 0; }
.two-col-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.check-list { margin: 24px 0; }
.check-list li {
  position: relative; padding-left: 28px;
  margin-bottom: 10px; font-size: 15px; line-height: 1.8;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 16px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.muted { color: var(--text-muted); font-size: 13px; line-height: 1.9; }

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.ba-figure {
  margin: 32px 0 48px;
  text-align: center;
}
.ba-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin: 0 auto;
}
.ba-figure figcaption {
  font-size: 13px; color: var(--text-muted);
  margin-top: 16px; letter-spacing: 0.08em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery-grid img {
  width: 100%; height: 100%;
  aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* =========================================================
   CAMPAIGN
   ========================================================= */
.campaign-inner {
  display: grid; gap: 56px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.campaign-image img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.campaign-text .hero-ctas .btn-ghost { color: var(--text); border-color: var(--text); background: transparent; }
.campaign-text .hero-ctas .btn-ghost:hover { background: var(--text); color: #fff; }

@media (max-width: 820px) {
  .campaign-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   ACCESS
   ========================================================= */
.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.access-image img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.info-list { margin: 0; }
.info-list > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list dt {
  font-family: var(--serif-jp);
  font-size: 13px; letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
}
.info-list dd { margin: 0; font-size: 14px; line-height: 1.8; }
.info-list a { border-bottom: 1px solid currentColor; }

.map-wrap iframe { width: 100%; border-radius: var(--radius); display: block; }
.map-link { text-align: right; margin-top: 12px; font-size: 13px; }
.map-link a { border-bottom: 1px solid var(--accent); color: var(--accent); }

@media (max-width: 820px) {
  .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-list > div { grid-template-columns: 88px 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */
.section-faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.section-faq summary {
  font-family: var(--serif-jp);
  font-size: 16px; font-weight: 500;
  padding: 20px 32px 20px 0;
  cursor: pointer; position: relative;
  list-style: none;
  letter-spacing: 0.04em;
}
.section-faq summary::-webkit-details-marker { display: none; }
.section-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-size: 22px; color: var(--accent);
  transition: transform .2s ease;
}
.section-faq details[open] summary::after { content: "−"; }
.section-faq details p {
  padding: 0 0 24px;
  font-size: 14px; line-height: 2; color: #3b3833;
}

/* =========================================================
   BOOK CTA
   ========================================================= */
.book-inner { text-align: center; }
.book-inner .eyebrow { display: inline-block; padding-left: 56px; padding-right: 56px; }
.book-inner .eyebrow::before { left: 0; }
.book-inner .eyebrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 40px; height: 1px; background: var(--accent);
}
.book-inner .section-lead, .book-inner p { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.book-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.book-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid transparent;
  transition: transform .2s ease, opacity .2s ease;
}
.book-card:hover { transform: translateY(-3px); opacity: 1; }
.book-card-label { font-family: var(--serif-jp); font-size: 17px; font-weight: 500; }
.book-card-sub { font-size: 12px; letter-spacing: 0.12em; opacity: 0.85; }
.book-card.line { background: var(--line-green); color: #fff; }
.book-card.hpb { background: var(--hpb-orange); color: #fff; }
.book-card.tel { background: var(--text); color: #fff; }

@media (max-width: 640px) {
  .book-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-dark);
  color: #d8d3ca;
  padding: 64px 0 80px;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 48px;
  padding: 0 24px;
}
.footer-brand .brand-mark {
  font-family: var(--serif-latin);
  font-size: 32px; color: #fff; line-height: 1;
  margin: 0 0 12px;
}
.footer-brand .muted { color: #9c958a; font-size: 12px; line-height: 1.8; }
.footer-info p { font-size: 13px; line-height: 1.9; margin: 0 0 16px; }
.footer-info a { color: var(--accent-soft); border-bottom: 1px solid currentColor; }
.footer-nav {
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.footer-nav a:hover { color: var(--accent-soft); opacity: 1; }
.copyright {
  text-align: center;
  margin: 56px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #6a655e;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.sticky-line { background: var(--line-green); color: #fff; }
.sticky-hpb  { background: var(--hpb-orange); color: #fff; }
.sticky-tel  { background: var(--text); color: #fff; }

@media (max-width: 820px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 56px; }
  .nav-cta { display: none; }
}

/* =========================================================
   MOTION PREFS
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
