/*
Theme Name: 温＝off オリジナルテーマ
Theme URI: https://yomogimusi-on-off.com
Author: HIKONIRA
Description: 本格よもぎ蒸しサロン「温＝off」公式サイト用オリジナルテーマ（デザイン案2／longleage風ベース）
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: onoff-theme
*/

/* ==========================================================================
   温＝off LP — デザイン案2（longleage.co.jp 風／近モノクロ・エディトリアル）
   ========================================================================== */

:root {
  --bg: #f7f4ee;
  --bg-alt: #efe8da;
  --bg-deep: #e7dfcd;
  --text: #211c17;
  --text-soft: #6f665a;
  --line: rgba(33, 28, 23, 0.14);
  --overlay-dark: rgba(20, 16, 12, 0.46);
  --font-mincho: "Shippori Mincho", "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mincho);
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- section label ( Parenthesis ) ---------- */
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--text-soft);
  margin-bottom: 28px;
  font-weight: 500;
}
.section-label--light { color: rgba(255,255,255,0.86); }

/* ---------- photo placeholder ---------- */
.photo-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, #ded4bf 0px, #ded4bf 2px, #e9e1d0 2px, #e9e1d0 22px);
  border: 1px solid var(--line);
}
.photo-placeholder::before {
  content: "📷 " attr(data-label);
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: rgba(247, 244, 238, 0.88);
  padding: 6px 10px;
  max-width: calc(100% - 32px);
  line-height: 1.5;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 14px 40px;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--text-soft);
}
.brand-main {
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.inline-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.inline-nav .nav-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.inline-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}
.inline-nav .nav-link:hover::after { width: 100%; }
.inline-nav .nav-cta {
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 9px 22px 7px;
  letter-spacing: 0.1em;
}
.inline-nav .nav-cta::after { display: none; }
.inline-nav .nav-cta:hover {
  background: var(--text);
  color: var(--bg);
}

.menu-toggle {
  display: none;
  width: 34px; height: 34px;
  border: none; background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 210;
}
.menu-toggle span {
  display: block;
  width: 26px; height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.overlay-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.overlay-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.overlay-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  text-align: center;
}
.overlay-nav li { margin: 22px 0; }
.overlay-nav .nav-link {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 64px;
}
.hero-photo {
  position: absolute;
  inset: 0;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}
.hero-photo::before {
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

.hero-pretitle,
.hero-logotype,
.hero-caption,
.scroll-hint {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-pretitle {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
}
.hero-logotype {
  font-size: clamp(3rem, 9vw, 6.4rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.hero-caption {
  margin-top: 22px;
  font-size: 0.94rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.86);
}
.scroll-hint {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.scroll-hint span {
  width: 1px; height: 46px;
  background: rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================================
   CONCEPT
   ============================================================ */
.concept {
  padding: 150px 40px 120px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.concept .section-label { text-align: center; }
.concept-catch {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.04em;
}
.concept-catch em {
  font-style: normal;
  font-weight: 600;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}
.concept-text {
  margin-top: 40px;
  font-size: 0.94rem;
  color: var(--text-soft);
  letter-spacing: 0.03em;
}
.concept-photo {
  margin-top: 80px;
  width: 100%;
  height: 46vw;
  max-height: 480px;
  min-height: 260px;
}

/* ============================================================
   THOUGHT — full-bleed photo + overlay text
   ============================================================ */
.thought {
  position: relative;
}
.thought-photo {
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thought-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}
.thought-overlay {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 40px;
  text-align: center;
}
.thought-text {
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}
.thought-emphasis {
  font-size: 1.15rem;
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 140px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-text {
  font-size: 0.94rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.about-photo {
  height: 420px;
}

/* ============================================================
   COMMITMENT
   ============================================================ */
.commitment {
  padding: 140px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.commitment-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 90px;
}

/* thin line + dot diagram */
.commitment-diagram {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 820px;
  margin: 0 auto 140px;
  padding-top: 40px;
}
.commitment-diagram::before {
  content: "";
  position: absolute;
  top: 4px; left: 4%;
  width: 92%;
  height: 1px;
  background: var(--line);
}
.diagram-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.diagram-num {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}
.diagram-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text);
}
.diagram-word {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

.commitment-item {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 130px;
  position: relative;
}
.commitment-item.reverse { direction: rtl; }
.commitment-item.reverse > * { direction: ltr; }
.commitment-index {
  position: absolute;
  top: -46px;
  left: 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}
.commitment-item.reverse .commitment-index { left: auto; right: 0; }
.commitment-photo { height: 380px; }
.commitment-text h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}
.commitment-text p {
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.commitment-quote {
  max-width: 760px;
  margin: 60px auto 0;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.commitment-quote p:first-child {
  font-size: 0.94rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.commitment-quote-sign {
  margin-top: 26px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   VOICE
   ============================================================ */
.voice {
  padding: 140px 40px;
  background: var(--bg-alt);
  text-align: center;
}
.voice .section-label { text-align: center; }
.voice-note {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-bottom: 60px;
}
.voice-list {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  text-align: left;
}
.voice-item {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.voice-text {
  font-size: 0.88rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.voice-person {
  margin-top: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   PILL BUTTON (ghost)
   ============================================================ */
.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 17px 34px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: background 0.35s ease, color 0.35s ease;
}
.pill-button i { font-style: normal; transition: transform 0.35s ease; }
.pill-button:hover {
  background: var(--text);
  color: var(--bg);
}
.pill-button:hover i { transform: translateX(4px); }
.pill-button--outline {
  border-color: var(--text-soft);
  color: var(--text-soft);
}
.pill-button--outline:hover {
  background: var(--text-soft);
  color: var(--bg);
}

/* ============================================================
   RESERVE
   ============================================================ */
.reserve {
  padding: 150px 40px;
  text-align: center;
}
.reserve .section-label { text-align: center; }
.reserve-text {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  margin-bottom: 44px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 140px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-note {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-bottom: 50px;
}
.faq-item {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.faq-a {
  font-size: 0.88rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ============================================================
   ACCESS
   ============================================================ */
.access {
  padding: 140px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.access-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.access-name {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.access-address {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.9;
}
.access-map iframe {
  width: 100%;
  height: 380px;
  border: 1px solid var(--line);
  filter: grayscale(0.3) contrast(1.02);
}

/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram {
  padding: 140px 40px 160px;
  text-align: center;
}
.instagram .section-label { text-align: center; }
.instagram-note {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-bottom: 50px;
}
.instagram-grid {
  max-width: 1080px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.ig-photo { aspect-ratio: 1 / 1; }
.ig-photo::before { font-size: 0.6rem; padding: 4px 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-alt);
  padding: 100px 40px 40px;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1180px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 90px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.footer-address {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.footer-wordmark {
  max-width: 1180px;
  margin: 90px auto 0;
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
}
.footer-copy {
  max-width: 1180px;
  margin: 34px auto 0;
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .inline-nav { display: none; }
  .menu-toggle { display: flex; }
  .about-grid,
  .access-grid { grid-template-columns: 1fr; gap: 40px; }
  .commitment-item,
  .commitment-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .commitment-index { position: static; margin-bottom: 12px; }
  .commitment-item.reverse .commitment-index { text-align: left; }
  .voice-list { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 50px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .site-header { padding: 20px 20px; }
  .site-header.scrolled { padding: 12px 20px; }
  .hero { padding: 0 24px 48px; }
  .concept,
  .about,
  .commitment,
  .voice,
  .reserve,
  .faq,
  .access,
  .instagram {
    padding-left: 24px;
    padding-right: 24px;
  }
  .br-pc { display: none; }
  .commitment-diagram { flex-wrap: wrap; gap: 30px 10px; }
  .commitment-diagram::before { display: none; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .footer-links { gap: 34px; }
  .site-footer { padding: 70px 24px 30px; }
}
