/*
Theme Name: S.C WORTH
Theme URI: https://scworth.resres.net/
Author: 株式会社　S.C WORTH
Description: 株式会社　S.C WORTH コーポレートサイト用オリジナルテーマ。店舗はカスタム投稿タイプ「店舗」で管理し、増店時は店舗を追加するだけでトップ・採用・会社概要の各一覧に反映されます。
Version: 1.4.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scworth
*/

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
  --ink: #23201C;
  --ink-2: #4A443D;
  --ink-3: #6B655D;
  --bg: #FBF9F5;
  --bg-alt: #F2EDE4;
  --dark: #2A2521;
  --cream: #F5F1EA;
  --brand: #8C3A2B;
  --brand-dark: #5A241A;
  --brand-light: #A8452F;
  --gold: #A8894E;
  --gold-light: #C9A96A;
  --line: rgba(35, 32, 28, .08);
  --line-2: rgba(35, 32, 28, .14);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --latin: "Cormorant Garamond", serif;
  --header-h: 72px;
  --gut: clamp(20px, 5vw, 40px);
}

/* ==========================================================================
   1. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  width: auto; height: auto; clip: auto;
  background: var(--bg); padding: 12px 20px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
@keyframes scwRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   2. Layout helpers
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; }
.container--wide { max-width: 1280px; margin: 0 auto; }
.container--1000 { max-width: 1000px; margin: 0 auto; }
.container--860 { max-width: 860px; margin: 0 auto; }
.container--820 { max-width: 820px; margin: 0 auto; }
.container--760 { max-width: 760px; margin: 0 auto; }
.container--720 { max-width: 720px; margin: 0 auto; }

.section { padding: clamp(72px, 11vw, 140px) var(--gut); background: var(--bg); }
.section--tight { padding: clamp(56px, 8vw, 110px) var(--gut); }
.section--mid { padding: clamp(72px, 10vw, 130px) var(--gut); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--cream); }
[id] { scroll-margin-top: var(--header-h); }

.eyebrow {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--gold-light); }
.rule { display: block; width: 40px; height: 1px; background: var(--gold); margin: 0 auto clamp(32px, 5vw, 48px); }

.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 4.4vw, 44px); line-height: 1.5; letter-spacing: .04em; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3.4vw, 36px); line-height: 1.6; letter-spacing: .04em; margin: 0 0 16px; }
.h2--center { text-align: center; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.65; letter-spacing: .04em; margin: 0 0 14px; }
.lead { font-size: 15px; color: var(--ink-3); margin: 0 0 clamp(40px, 6vw, 64px); }
.body { font-size: 15px; line-height: 2.1; color: var(--ink-2); }
.body + .body { margin-top: 12px; }
.statement .body + .body { margin-top: 24px; }
.note { font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: .08em;
  cursor: pointer;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--brand); color: var(--bg); }
.btn--primary:hover { background: var(--brand-dark); color: var(--bg); }
.btn--outline { background: none; border: 1px solid rgba(140, 58, 43, .5); color: var(--brand); padding: 15px 30px; }
.btn--outline:hover { background: rgba(140, 58, 43, .06); border-color: var(--brand); color: var(--brand); }
.btn--onDark { background: rgba(251, 249, 245, .06); border: 1px solid rgba(245, 241, 234, .45); color: var(--cream); }
.btn--onDark:hover { background: rgba(251, 249, 245, .16); color: var(--cream); }
.btn--light { background: var(--bg); color: var(--brand); }
.btn--light:hover { background: #fff; color: var(--brand-dark); }
.btn--block { width: 100%; }
.btn--submit { padding: 19px; font-size: 15px; letter-spacing: .1em; }
.link-arrow {
  background: none; border: none; padding: 0 0 3px; cursor: pointer;
  color: var(--brand); font-size: 14px; letter-spacing: .06em;
  border-bottom: 1px solid rgba(140, 58, 43, .35);
  display: inline-block;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 80;
  background: rgba(251, 249, 245, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; flex-shrink: 0; }
.brand__name { font-family: var(--latin); font-size: 23px; letter-spacing: .14em; color: var(--ink); white-space: nowrap; }
.brand__sub { font-size: 9px; letter-spacing: .28em; color: var(--gold); margin-top: 4px; white-space: nowrap; }
.brand:hover .brand__name { color: var(--ink); }
.site-header__spacer { flex: 1; }

.nav { display: flex; align-items: center; gap: 28px; flex-shrink: 0; white-space: nowrap; }
.nav__link, .nav__toggle {
  border: none; background: none; padding: 0; cursor: pointer;
  font-size: 13px; letter-spacing: .14em; color: var(--ink);
}
.nav__link:hover, .nav__toggle:hover { color: var(--brand); }
.nav__item { position: relative; }
.nav__toggle { display: flex; align-items: center; gap: 7px; }
.nav__caret { font-size: 9px; color: var(--gold); }
.dropdown {
  position: absolute; top: 34px; left: -20px; width: 268px;
  background: var(--bg); border: 1px solid rgba(35, 32, 28, .1); border-radius: 4px;
  box-shadow: 0 8px 40px rgba(35, 32, 28, .1);
  padding: 8px 0; display: none;
}
.nav__item.is-open .dropdown { display: block; }
.dropdown a { display: block; padding: 11px 20px; font-size: 14px; color: var(--ink); }
.dropdown a:hover { background: var(--bg-alt); color: var(--ink); }
.dropdown small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.ext { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; flex-shrink: 0; }
.header-cta .btn { padding: 12px 22px; font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.header-cta .btn--outline { padding: 11px 20px; }

.menu-btn {
  display: none;
  border: 1px solid rgba(35, 32, 28, .15); background: none;
  width: 44px; height: 44px; border-radius: 4px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 1px; background: var(--ink); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 70;
  background: var(--bg); overflow-y: auto;
  padding: 24px 20px 48px;
  display: none; flex-direction: column; gap: 8px;
}
.drawer.is-open { display: flex; }
.drawer .btn { padding: 18px; font-size: 15px; letter-spacing: .06em; }
.drawer__label { font-family: var(--latin); font-size: 12px; letter-spacing: .3em; color: var(--gold); padding: 12px 0 4px; }
.drawer__link {
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 16px; color: var(--ink); text-align: left;
  background: none; border-left: none; border-right: none; border-bottom: none;
  cursor: pointer;
}
.drawer__link:last-child { border-bottom: 1px solid var(--line); }
.drawer__gap { margin-top: 16px; }

@media (max-width: 1079px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: flex; }
}

.site-main { padding-top: var(--header-h); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; height: calc(100svh - var(--header-h)); min-height: 520px; overflow: hidden; background: var(--dark); }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 19, .88) 0%, rgba(26, 22, 19, .44) 48%, rgba(26, 22, 19, .10) 100%);
}
.hero__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 64px) clamp(72px, 10vh, 110px);
}
.hero__content { max-width: 1200px; width: 100%; margin: 0 auto; animation: scwRise .9s ease both; }
.hero__kicker { font-family: var(--latin); font-size: clamp(14px, 1.6vw, 18px); letter-spacing: .34em; color: #D8C9A8; margin: 0 0 clamp(20px, 3vh, 30px); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 6.2vw, 64px); line-height: 1.4; letter-spacing: .03em;
  color: var(--cream); margin: 0 0 clamp(20px, 3vh, 28px);
}
.hero__text { font-size: clamp(13px, 1.5vw, 16px); line-height: 2; color: rgba(245, 241, 234, .82); margin: 0 0 clamp(28px, 4vh, 40px); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll span:first-child { font-family: ui-monospace, Menlo, monospace; font-size: 9px; letter-spacing: .22em; color: rgba(245, 241, 234, .5); }
.hero__scroll span:last-child { display: block; width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(245, 241, 234, .5), rgba(245, 241, 234, 0)); }

/* page hero */
.page-hero { position: relative; overflow: hidden; background: var(--dark); color: var(--cream); display: flex; align-items: center; padding: clamp(56px, 9vw, 110px) var(--gut); min-height: 44vh; }
.page-hero--tall { min-height: 52vh; }
.page-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 26, 23, .88) 0%, rgba(30, 26, 23, .7) 55%, rgba(30, 26, 23, .45) 100%); }
.page-hero__scrim--up { background: linear-gradient(to top, rgba(26, 22, 19, .9), rgba(26, 22, 19, .5)); }
.page-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }
.page-hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 4.2vw, 42px); line-height: 1.5; letter-spacing: .04em; color: var(--cream); margin: 0 0 18px; }
.page-hero__text { font-size: 14px; line-height: 2; color: rgba(245, 241, 234, .78); margin: 0; max-width: 40em; }

/* ==========================================================================
   6. Statement
   ========================================================================== */
.statement { text-align: center; }
.statement__title { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 3.4vw, 36px); line-height: 1.75; letter-spacing: .04em; margin: 0 0 clamp(32px, 5vw, 48px); }
.statement .body:last-of-type { margin-bottom: clamp(32px, 5vw, 44px); }

/* ==========================================================================
   7. Shop cards
   ========================================================================== */
.shop-list { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); }
.shop-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  color: var(--ink); transition: transform .3s ease, box-shadow .3s ease;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(35, 32, 28, .1); color: var(--ink); }
.shop-card__media { position: relative; width: 100%; min-height: clamp(200px, 26vw, 320px); background-size: cover; background-position: center; background-color: var(--bg-alt); }
.shop-card__ext {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(251, 249, 245, .9); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--brand);
}
.shop-card__body { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.shop-card__meta { font-size: 11px; letter-spacing: .09em; color: var(--gold); margin: 0 0 20px; line-height: 1.7; }
.shop-card__name { font-family: var(--latin); font-size: clamp(26px, 2.9vw, 34px); font-weight: 500; letter-spacing: .09em; color: var(--ink); margin: 0 0 14px; line-height: 1.15; }
.shop-card__catch { font-family: var(--serif); font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; letter-spacing: .02em; color: var(--brand); margin: 0 0 20px; }
.shop-card__desc { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin: 0 0 22px; flex: 1; }
.shop-card__facts { font-size: 12px; color: var(--ink-3); margin: 0 0 18px; padding-top: 16px; border-top: 1px solid rgba(35, 32, 28, .09); }
.shop-card__cta { font-size: 13px; letter-spacing: .06em; color: var(--brand); }

/* ==========================================================================
   8. Pillars / grids
   ========================================================================== */
.grid { display: grid; gap: clamp(24px, 3vw, 36px); }
.grid--230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 4vw, 48px); }
.grid--270 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--290 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(20px, 2.4vw, 28px); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 52px); }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 6vw, 80px); }

.pillar { border-top: 2px solid var(--brand); padding-top: 22px; }
.pillar h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .04em; margin: 0 0 14px; }
.pillar p { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin: 0; }
.pillar strong { font-weight: 700; color: var(--ink); }

.point__num { font-family: var(--latin); font-size: 26px; color: var(--gold); margin: 0 0 10px; line-height: 1; }
.point h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.65; letter-spacing: .04em; margin: 0 0 16px; }
.point p { font-size: 14px; line-height: 2; color: var(--ink-2); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.stat { border-left: 1px solid rgba(168, 137, 78, .5); padding-left: 20px; }
.stat__fig { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); letter-spacing: .02em; margin: 0 0 10px; color: var(--brand); }
.stat__label { font-size: 12.5px; color: var(--ink-3); margin: 0; line-height: 1.8; }
.stat__sub { display: block; font-size: 11.5px; color: #8A8175; margin-top: 2px; }

/* ==========================================================================
   9. Split / CTA bands
   ========================================================================== */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); max-width: 1440px; margin: 0 auto; }
.split__media { min-height: clamp(300px, 42vw, 560px); background-size: cover; background-position: center; background-color: var(--dark); }
.split__body { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.split__body p { font-size: 15px; line-height: 2.1; color: rgba(245, 241, 234, .8); margin: 0 0 20px; max-width: 34em; }
.split__body p:last-of-type { margin-bottom: clamp(30px, 4vw, 40px); }
.split__title { font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 3.6vw, 38px); line-height: 1.6; letter-spacing: .04em; margin: 0 0 clamp(24px, 3.5vw, 34px); }

.cta-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cta-band__cell { padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); color: var(--bg); }
.cta-band__cell--brand { background: var(--brand); }
.cta-band__cell--deep { background: var(--brand-dark); }
.cta-band__cell h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2.4vw, 26px); letter-spacing: .04em; margin: 0 0 14px; }
.cta-band__cell p { font-size: 14px; color: rgba(251, 249, 245, .85); margin: 0 0 30px; }
.cta-band__cell .btn--outline { border-color: rgba(251, 249, 245, .6); color: var(--bg); }
.cta-band__cell .btn--outline:hover { background: rgba(251, 249, 245, .12); color: var(--bg); }

.cta-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cta-pair a {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  font-family: var(--serif); font-size: clamp(17px, 2.2vw, 24px); letter-spacing: .04em;
  color: var(--bg); transition: background .2s ease;
}
.cta-pair a:first-child { background: var(--brand); }
.cta-pair a:first-child:hover { background: var(--brand-light); color: var(--bg); }
.cta-pair a:last-child { background: var(--brand-dark); }
.cta-pair a:last-child:hover { background: #73301F; color: var(--bg); }

/* ==========================================================================
   10. Definition lists / tables
   ========================================================================== */
.dl { margin: 0; display: grid; grid-template-columns: minmax(96px, 140px) 1fr; border-top: 1px solid rgba(35, 32, 28, .12); }
.dl dt { padding: 18px 24px 18px 0; font-size: 13px; color: var(--ink-3); }
.dl dd { padding: 18px 0; margin: 0; font-size: 14.5px; line-height: 1.9; border-bottom: 1px solid var(--line); }
.dl dd:last-of-type { border-bottom-color: var(--line-2); }
.dl--auto { grid-template-columns: auto 1fr; }
.dl--auto dt { padding: 16px 24px 16px 0; border-top: 1px solid rgba(35, 32, 28, .1); white-space: nowrap; }
.dl--auto dd { padding: 16px 0; border-top: 1px solid rgba(35, 32, 28, .1); border-bottom: none; font-size: 14px; }
.dl--auto dd:last-of-type { border-bottom: 1px solid rgba(35, 32, 28, .1); }
.dl--req { grid-template-columns: minmax(90px, auto) 1fr; }
.dl--req dd { font-size: 14px; }

.shop-panel { background: var(--bg); border: 1px solid rgba(35, 32, 28, .09); border-radius: 4px; padding: clamp(22px, 2.5vw, 30px); }
.shop-panel__name { font-family: var(--latin); font-size: 20px; letter-spacing: .08em; margin: 0 0 20px; }
.shop-panel .dl { grid-template-columns: auto 1fr; border-top: none; font-size: 13px; }
.shop-panel .dl dt { padding: 9px 16px 9px 0; color: var(--ink-3); border-top: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
.shop-panel .dl dd { padding: 9px 0; border-top: 1px solid var(--line); border-bottom: none; font-size: 13px; line-height: 1.8; }
.shop-panel__link { display: inline-block; margin-top: 20px; font-size: 13px; letter-spacing: .06em; }

/* ==========================================================================
   11. Accordion / tabs
   ========================================================================== */
.accordion { border-top: 1px solid var(--line-2); }
.accordion__head {
  width: 100%; background: none; border: none; border-bottom: 1px solid var(--line-2);
  padding: 26px 4px; cursor: pointer; display: flex; align-items: center; gap: 16px; text-align: left;
}
.accordion__head span { flex: 1; }
.accordion__name { display: block; font-family: var(--latin); font-size: 20px; letter-spacing: .08em; color: var(--ink); }
.accordion__addr { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.accordion__sign { flex: 0 0 auto; font-size: 18px; color: var(--brand); line-height: 1; }
.accordion__panel { display: none; padding: 28px 4px 34px; border-bottom: 1px solid var(--line-2); }
.accordion__item.is-open .accordion__panel { display: block; }
.accordion__intro { font-size: 14px; line-height: 2.05; color: var(--ink-2); margin: 0 0 24px; }
.accordion__intro strong { font-weight: 700; color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.field__label { font-size: 11px; letter-spacing: .14em; color: var(--gold); margin: 0 0 7px; }
.field__value { font-size: 13.5px; line-height: 1.85; margin: 0; color: var(--ink); }
.shop-visual { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.shop-visual__photo { min-height: clamp(260px, 24vw, 330px); border-radius: 4px; background-size: cover; background-position: center; background-color: var(--bg); }
.shop-visual iframe { width: 100%; min-height: clamp(260px, 24vw, 330px); border: 0; border-radius: 4px; display: block; }

.tabs { display: flex; margin-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.tabs__btn {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 14px 24px; margin-bottom: -1px; cursor: pointer;
  font-size: 14px; letter-spacing: .06em; color: var(--ink-3);
}
.tabs__btn.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* ==========================================================================
   12. Story cards (出店の考え方)
   ========================================================================== */
.story__img { aspect-ratio: 16 / 10; border-radius: 4px; margin-bottom: 22px; background-size: cover; background-position: center; background-color: var(--bg-alt); }
.story__num { font-family: var(--latin); font-size: 24px; color: var(--gold); margin: 0 0 10px; line-height: 1; }
.story h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .04em; margin: 0 0 6px; }
.story__note { font-size: 11.5px; letter-spacing: .08em; color: var(--gold); margin: 0 0 16px; }
.story p:last-child { font-size: 14px; line-height: 2; color: var(--ink-2); margin: 0; }
.closing {
  font-family: var(--serif); font-size: clamp(16px, 2vw, 20px); letter-spacing: .04em;
  margin: clamp(40px, 5vw, 64px) 0 0; padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid rgba(35, 32, 28, .12);
}

/* ==========================================================================
   13. Naming / message
   ========================================================================== */
.naming { display: flex; justify-content: center; align-items: baseline; gap: clamp(12px, 3vw, 32px); flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 52px); }
.naming span { font-family: var(--latin); font-size: clamp(28px, 5vw, 54px); letter-spacing: .04em; color: var(--brand); }
.naming-formula { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .1em; color: var(--gold); margin: 0 0 clamp(32px, 5vw, 48px); }
.meanings { display: flex; flex-direction: column; gap: 14px; margin: 0 auto clamp(36px, 5vw, 56px); max-width: 34em; text-align: left; }
.meanings p { font-family: var(--serif); font-size: clamp(15px, 1.9vw, 19px); line-height: 1.9; margin: 0; padding-left: 22px; border-left: 2px solid var(--gold); }
.quote {
  margin: 0 0 28px; padding: 4px 0 4px clamp(20px, 3vw, 32px);
  border-left: 2px solid var(--brand);
  font-family: var(--serif); font-size: clamp(15px, 1.8vw, 18px); line-height: 2.05; color: var(--ink);
}
.quote p { margin: 0 0 20px; }
.quote p:last-child { margin: 0; }
.signature { font-size: 13px; letter-spacing: .06em; color: var(--ink-3); margin: 0; }

/* ==========================================================================
   14. Contact cards / forms
   ========================================================================== */
.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 28px); }
.choice { border: 1px solid rgba(35, 32, 28, .12); border-radius: 4px; padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.choice--alt { background: var(--bg-alt); }
.choice h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.65; letter-spacing: .04em; margin: 0 0 14px; }
.choice p { font-size: 14px; line-height: 2; color: var(--ink-2); margin: 0 0 24px; flex: 1; }
.choice__links { display: flex; flex-direction: column; gap: 10px; }
.choice__links a { font-size: 13.5px; padding-top: 10px; border-top: 1px solid var(--line); }
.choice .btn { align-self: flex-start; padding: 15px 26px; font-size: 13.5px; letter-spacing: .06em; }
.choice__jump { align-self: flex-start; border: 1px solid rgba(140, 58, 43, .5); color: var(--brand); padding: 14px 24px; border-radius: 4px; font-size: 13.5px; letter-spacing: .06em; }

.form { display: flex; flex-direction: column; gap: 24px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span:first-child { font-size: 13px; letter-spacing: .04em; }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="number"],
.form select,
.form textarea {
  padding: 14px; border: 1px solid rgba(35, 32, 28, .2); border-radius: 4px; background: var(--bg); color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(140, 58, 43, .4); outline-offset: 1px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.form__age { max-width: 200px; }
.form fieldset { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.form legend { font-size: 13px; letter-spacing: .04em; padding: 0; }
.form__choices { display: flex; flex-wrap: wrap; gap: 20px; }
.form__choices label { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; }
.form__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; padding: 8px 0; }
.form__consent input { margin-top: 6px; }
.form__file { padding: 12px; border: 1px dashed rgba(35, 32, 28, .25); border-radius: 4px; background: var(--bg); font-size: 13px; }
.req { color: var(--brand); }
.form__hp { position: absolute; left: -9999px; }
.notice {
  background: var(--bg); border: 1px solid rgba(35, 32, 28, .1); border-radius: 4px;
  padding: clamp(36px, 6vw, 64px); text-align: center;
}
.notice h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: .04em; margin: 0 0 18px; }
.notice p { font-size: 14px; line-height: 2; color: var(--ink-2); margin: 0; }
.notice--error { border-color: rgba(140, 58, 43, .4); }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--cream); padding: clamp(48px, 7vw, 88px) var(--gut) 28px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(32px, 4vw, 56px); }
.footer__name { font-family: var(--latin); font-size: 22px; letter-spacing: .14em; margin: 0 0 6px; }
.footer__sub { font-size: 9px; letter-spacing: .28em; color: var(--gold-light); margin: 0 0 22px; }
.footer__addr { font-size: 13px; line-height: 2; color: rgba(245, 241, 234, .72); margin: 0; }
.footer__small { font-size: 11.5px; color: rgba(245, 241, 234, .45); margin: 12px 0 0; }
.footer__label { font-family: var(--latin); font-size: 12px; letter-spacing: .28em; color: var(--gold-light); margin: 0 0 20px; }
.footer__links { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__links a { font-size: 13.5px; }
.footer__links small { display: block; font-size: 11px; color: rgba(245, 241, 234, .5); }
.footer__copy {
  font-family: var(--latin); font-size: 12px; letter-spacing: .14em; color: rgba(245, 241, 234, .45);
  margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 22px; border-top: 1px solid rgba(245, 241, 234, .12);
}

/* ==========================================================================
   16. Editor content (固定ページ・投稿)
   ========================================================================== */
.entry-content h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: .04em; margin: 2em 0 .8em; }
.entry-content h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .04em; margin: 1.8em 0 .7em; }
.entry-content p { font-size: 15px; line-height: 2.1; color: var(--ink-2); margin: 0 0 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.6em 1.4em; }
.entry-content li { font-size: 15px; line-height: 2.1; color: var(--ink-2); margin-bottom: .5em; }
.entry-content img { border-radius: 4px; margin: 1.5em 0; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--brand); font-family: var(--serif); }
.entry-title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3.2vw, 34px); letter-spacing: .04em; margin: 0 0 clamp(28px, 4vw, 44px); }
.post-list { display: flex; flex-direction: column; gap: 28px; }
.post-list__item { border-top: 1px solid var(--line); padding-top: 24px; }
.post-list__date { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .08em; color: var(--gold); }
.post-list__title { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .03em; margin: 6px 0 8px; }
.pagination { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 48px; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px; }
.pagination .current { background: var(--brand); color: var(--bg); border-color: var(--brand); }
