/* =========================================================
   PUBLICA — プーブリカ｜シェアキッチン
   Brand rebuild based on the official flyer & kitakagaya.jp
   Bold 4-color blocks (vermilion / orange / yellow / green / blue)
   Gothic display type · poster-style color blocking
   ========================================================= */

:root {
  /* ---- brand palette ---- */
  --black:     #1b1b1b;
  --ink:       #232323;
  --ink-soft:  #4a4a4a;
  --white:     #ffffff;
  --cream:     #faf5e9;
  --cream-2:   #f1e9d6;

  --yellow:    #f3c12e;   /* logo plate / highlight */
  --orange:    #ef9f4a;   /* warm block bg */
  --vermilion: #e0531f;   /* strong accent / CTA */
  --vermilion-d:#c8461a;
  --green:     #2f6d34;   /* block bg */
  --green-d:   #245a29;
  --blue:      #3f6cab;   /* block bg */
  --blue-d:    #345d96;

  --line:      #e2d9c4;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
  --r: 6px;

  --display: "Anton", "Noto Sans JP", sans-serif;
  --jp:      "Noto Sans JP", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
/* scroll-snap の対象は .hero / .hero-copy / #about の頭。
   proximityはiOS Safariでは判定が狭くほぼ吸着しないため mandatory にする。
   ただしmandatoryのままだとページ全体がヒーローに拘束されるため、
   About以降では script.js が scroll-snap-type を無効化する */
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
strong, em { font-style: normal; font-weight: 700; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--yellow); color: var(--ink);
  font-family: var(--jp); font-weight: 700; font-size: 0.9rem;
  padding: 0.8em 1.4em; border-radius: var(--r);
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- focus-visible (universal 2-tone ring, readable on any bg) ---------- */
:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}

/* ---------- display helpers ---------- */
.en {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.9em;
  font-family: var(--jp);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn--solid { background: var(--vermilion); color: var(--white); box-shadow: 0 10px 24px -12px rgba(224,83,31,0.7); }
.btn--solid:hover { background: var(--vermilion-d); transform: translateY(-2px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-d); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-d); transform: translateY(-2px); }
.btn--ghost { border: 2px solid currentColor; }
.btn--ghost:hover { transform: translateY(-2px); }
.btn--wide { width: 100%; padding: 1.15em; }
.btn--lg { font-size: 1.05rem; padding: 1.1em 2.4em; }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__no {
  font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.2em; color: var(--vermilion);
}
.section-head__en {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink); line-height: 0.92; margin: 0.1em 0 0.15em;
}
.section-head__jp {
  font-family: var(--jp); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.08em; color: var(--vermilion);
}
.section-head__desc { margin-top: 1em; color: var(--ink-soft); font-size: 0.98rem; max-width: 40em; }
.section-head--center { text-align: center; }
.section-head--center .section-head__desc { margin-left: auto; margin-right: auto; }
.section-head--light .section-head__en { color: var(--white); }
.section-head--light .section-head__no { color: var(--yellow); }
.section-head--light .section-head__jp { color: var(--yellow); }
.section-head--light .section-head__desc { color: rgba(255,255,255,0.82); }

.block { padding: clamp(70px, 10vw, 130px) var(--gutter); }
.block__inner { max-width: var(--maxw); margin: 0 auto; }
.bg-cream  { background: var(--cream); }
.bg-orange { background: var(--orange); color: var(--ink); }
.bg-orange .section-head__no,
.bg-orange .section-head__jp { color: var(--ink); }
.bg-orange .section-head__desc { color: var(--ink); }
.bg-green  { background: var(--green); color: var(--white); }
.bg-blue   { background: var(--blue); color: var(--white); }

/* ---------- photo placeholders (solid brand blocks) ---------- */
[data-photo] {
  position: relative;
  background: var(--cream-2);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.05), transparent 60%);
  overflow: hidden;
  border-radius: var(--r);
}
[data-photo]::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(243,193,46,0.30), transparent 55%),
    radial-gradient(120% 120% at 85% 90%, rgba(224,83,31,0.18), transparent 55%);
}
.photo-note {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); z-index: 1;
  font-family: var(--jp); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; color: var(--ink-soft);
  background: rgba(255,255,255,0.78); padding: 0.5em 1.1em;
  border-radius: 100px; white-space: nowrap;
}
[data-photo] img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 22px -16px rgba(0,0,0,0.35); padding-top: 9px; padding-bottom: 9px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__plate {
  display: inline-flex; align-items: center;
  background: var(--yellow); color: var(--white);
  padding: 0.28em 0.62em; border-radius: 4px;
}
.brand__name {
  font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.12em;
  -webkit-text-stroke: 1.5px var(--black); paint-order: stroke fill;
}
.brand__sub { font-family: var(--jp); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.32em; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav__list { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav__list a {
  font-size: 0.86rem; font-weight: 700; color: var(--ink-soft);
  position: relative; padding-bottom: 4px; transition: color 0.3s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__list a.is-active { color: var(--ink); }
.nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.55em 1.2em; border-radius: 100px;
  background: var(--vermilion); color: var(--white);
  transition: background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--vermilion-d); }

.nav-toggle { display: none; width: 42px; height: 42px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul { text-align: center; display: grid; gap: 22px; }
.mobile-menu a { font-family: var(--jp); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.mobile-menu__cta { color: var(--vermilion) !important; }

/* =========================================================
   HERO（1画面目=画像のみ / 2画面目=コピー+説明文。スクロールスナップで
   ページをめくるように切り替わる）
   ========================================================= */
.hero {
  height: 100svh;
  padding-top: 66px;
  scroll-snap-align: start;
}
.hero__media { position: relative; width: 100%; height: 100%; background: var(--cream-2); overflow: hidden; }
.hero__media .photo-note { font-size: 0.9rem; }
.hero-copy {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
  padding: calc(66px + clamp(28px, 5vh, 64px)) var(--gutter) clamp(32px, 6vh, 64px);
  background: var(--white);
  scroll-snap-align: start;
}
.hero__title {
  font-family: var(--jp); font-weight: 900;
  font-size: clamp(2.1rem, 3.6vw, 2.9rem); line-height: 1.5; letter-spacing: 0.02em;
  color: var(--ink);
  /* 上はauto(コピー全体を画面内で中央寄せ)、下は固定値で本文との間を広くとる */
  margin: auto 0 clamp(2.4rem, 6vh, 4rem);
}
.hero-copy__bottom { display: grid; gap: clamp(1.4rem, 3vh, 2rem); justify-items: center; }
.hero__lead { font-size: clamp(0.96rem, 1.3vw, 1.05rem); line-height: 2.1; color: var(--ink-soft); max-width: 34em; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* 2画面目の入場アニメ（.has-entrance はJSが付与。JS無効・reduced-motion時は常時表示） */
.hero-copy.has-entrance .hero__title,
.hero-copy.has-entrance .hero-copy__bottom {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.hero-copy.has-entrance .hero__title { transition-delay: 0.1s; }
.hero-copy.has-entrance .hero-copy__bottom { transition-delay: 0.3s; }
.hero-copy.is-shown .hero__title,
.hero-copy.is-shown .hero-copy__bottom { opacity: 1; transform: none; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { scroll-snap-align: start; } /* ヒーローからのページめくりの着地点 */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about__visual { position: relative; min-height: 440px; }
.about__photo { box-shadow: 0 24px 50px -34px rgba(0,0,0,0.5); }
.about__photo--1 { position: absolute; top: 0; left: 0; width: 72%; height: 68%; }
.about__photo--2 { position: absolute; bottom: 0; right: 0; width: 56%; height: 52%; border: 6px solid var(--cream); background: var(--green); }
.about__big {
  font-family: var(--jp); font-weight: 900; font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.5; color: var(--green); margin-bottom: 1.4rem;
}
.about__text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.about__facts { margin-top: 1.8rem; display: grid; gap: 12px; border-top: 3px solid var(--vermilion); padding-top: 1.5rem; }
.about__facts li { position: relative; padding-left: 1.4em; font-size: 0.96rem; }
.about__facts li::before { content: "●"; position: absolute; left: 0; top: 0.45em; color: var(--vermilion); font-size: 0.7em; }
.about__facts b { font-weight: 900; color: var(--green); }
.about__targets { margin-top: 1.8rem; }
.about__targets-label { font-family: var(--display); letter-spacing: 0.08em; font-size: 0.9rem; color: var(--vermilion); margin-bottom: 0.8rem; }
.about__targets-list { display: flex; flex-wrap: wrap; gap: 10px; }
.about__targets-list li { font-size: 0.85rem; font-weight: 700; padding: 0.5em 1.1em; border-radius: 100px; background: var(--cream-2); color: var(--ink); border: 1px solid var(--line); }

/* =========================================================
   AREAS (FOOD / CAFE&BAR / SWEETS)
   ========================================================= */
.areas__list { display: grid; gap: clamp(20px, 3vw, 30px); grid-template-columns: repeat(2, 1fr); }
.area-card {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 50px -38px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.area-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(0,0,0,0.55); }
.area-card__media { aspect-ratio: 4/3; }
.area-card__body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.area-card__no { font-family: var(--display); letter-spacing: 0.2em; color: var(--vermilion); font-size: 0.85rem; }
.area-card__title { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: 0.03em; color: var(--ink); margin: 0.1em 0 0.2em; }
.area-card__sub { font-weight: 900; color: var(--green); margin-bottom: 0.8rem; }
.area-card__body p { font-size: 0.92rem; color: var(--ink-soft); }
.area-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.area-card__tags li { font-size: 0.74rem; font-weight: 700; padding: 0.35em 0.9em; border-radius: 100px; background: var(--cream); color: var(--ink-soft); }

/* color top-bars per area */
.area-card--food   { border-top: 6px solid var(--orange); }
.area-card--cafe   { border-top: 6px solid var(--green); }
.area-card--sweets { border-top: 6px solid var(--blue); }
.area-card--kobo   { border-top: 6px solid var(--yellow); }

@keyframes areaPulse {
  0%, 100% { box-shadow: 0 20px 50px -38px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(243,193,46,0.6); }
}
.area-card.is-pulsing { animation: areaPulse 0.9s ease-in-out 2; }

/* ---- area diagnosis quiz ---- */
.area-quiz {
  margin-top: clamp(32px, 4vw, 52px);
  max-width: 720px; margin-left: auto; margin-right: auto;
  background: rgba(255,255,255,0.45); border: 1px solid rgba(27,27,27,0.15);
  border-radius: var(--r); overflow: hidden;
}
.area-quiz__summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 1.2em 1.5em; font-weight: 900; font-size: 1.05rem; color: var(--white);
  background: var(--vermilion); transition: background 0.3s var(--ease);
}
.area-quiz__summary:hover { background: var(--vermilion-d); }
.area-quiz__summary::-webkit-details-marker { display: none; }
.area-quiz__summary::marker { content: ""; }
.area-quiz__summary::after {
  content: "+"; flex-shrink: 0;
  font-family: var(--display); font-size: 1.5rem; color: var(--white);
  transition: transform 0.3s var(--ease);
}
.area-quiz[open] .area-quiz__summary::after { transform: rotate(45deg); }
.area-quiz__form { padding: 0 1.4em 1.6em; display: grid; gap: 1.2rem; }
.area-quiz__form button[type="submit"] { justify-self: center; margin-top: 0.4rem; }
.area-quiz__q { border: none; padding: 0; }
.area-quiz__q legend { padding: 0; font-weight: 700; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.6rem; }
.area-quiz__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.area-quiz__choices label { position: relative; cursor: pointer; }
.area-quiz__choices input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.area-quiz__choices span {
  display: inline-flex; padding: 0.5em 1.2em; border-radius: 100px;
  border: 2px solid var(--ink); font-weight: 700; font-size: 0.85rem; color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.area-quiz__choices input:checked + span { background: var(--ink); color: var(--white); }
/* the real input is visually hidden, so move the focus ring onto its label span */
.area-quiz__choices input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.area-quiz__result { font-weight: 700; font-size: 0.92rem; color: var(--green); min-height: 1.4em; }

/* =========================================================
   PRICING
   ========================================================= */
.price__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 28px); }
.price-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); backdrop-filter: blur(2px);
}
.price-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 0.8rem; }
.price-card__title { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.03em; color: var(--white); }
.price-card__title small { font-family: var(--jp); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.06em; display: block; color: var(--yellow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 0.6em 0.4em; text-align: right; font-size: 0.92rem; }
.price-table thead th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--yellow); text-align: right; border-bottom: 1px solid rgba(255,255,255,0.25); }
.price-table tbody th { text-align: left; font-weight: 700; color: var(--white); white-space: nowrap; }
.price-table tbody th small { display: block; font-weight: 400; font-size: 0.7rem; color: rgba(255,255,255,0.65); letter-spacing: 0; }
.price-table tbody tr + tr td, .price-table tbody tr + tr th { border-top: 1px solid rgba(255,255,255,0.14); }
.price-table .yen { font-family: var(--display); letter-spacing: 0.02em; font-size: 1.05rem; }
.price-card--wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.price-card--wide .price-card__title { margin: 0; }
.price-card--wide .allday { display: flex; gap: 26px; flex-wrap: wrap; }
.price-card--wide .allday div { text-align: center; }
.price-card--wide .allday span { display: block; font-size: 0.72rem; color: var(--yellow); font-weight: 700; }
.price-card--wide .allday .yen { font-family: var(--display); font-size: 1.5rem; }
/* ---- discount cards ---- */
.discount-list { display: grid; gap: 0.5rem; }
.discount-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; border-bottom: 1px dotted rgba(255,255,255,0.25); padding-bottom: 0.5rem; }
.discount-list li span { color: rgba(255,255,255,0.85); }
.discount-list li b { color: var(--yellow); font-family: var(--display); letter-spacing: 0.04em; }
.discount-note { margin-top: 0.9rem; font-size: 0.8rem; color: rgba(255,255,255,0.75); position: relative; }

.price__notes { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; }
.price__notes li { position: relative; padding-left: 1.5em; font-size: 0.92rem; color: rgba(255,255,255,0.92); }
.price__notes li::before { content: "※"; position: absolute; left: 0; color: var(--yellow); }
.price__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- price simulator ---- */
.price-sim {
  margin-top: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r); padding: clamp(24px, 3vw, 36px); backdrop-filter: blur(2px);
}
.price-sim__head { margin-bottom: 1.6rem; }
.price-sim__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.price-sim__form fieldset { border: none; padding: 0; margin: 0 0 1.4rem; }
.price-sim__form fieldset:last-child { margin-bottom: 0; }
.price-sim__form legend { padding: 0; font-family: var(--display); letter-spacing: 0.06em; font-size: 0.85rem; color: var(--yellow); margin-bottom: 0.7rem; }
.price-sim__options { display: flex; flex-wrap: wrap; gap: 10px; }
.price-sim__options + .price-sim__options { margin-top: 10px; }
.price-sim__opt { position: relative; cursor: pointer; }
.price-sim__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.price-sim__opt span {
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.3;
  padding: 0.6em 1.1em; border-radius: 100px; border: 1px solid rgba(255,255,255,0.4);
  font-weight: 700; font-size: 0.85rem; color: var(--white);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.price-sim__opt span small { font-weight: 400; font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.price-sim__opt input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.price-sim__opt input:checked + span small { color: rgba(27,27,27,0.65); }
.price-sim__opt input:disabled + span { opacity: 0.35; cursor: not-allowed; }
/* the real input is visually hidden, so move the focus ring onto its label span */
.price-sim__opt input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.price-sim__days { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-weight: 700; font-size: 0.9rem; }
.price-sim__days input {
  width: 5.5em; padding: 0.5em 0.8em; border-radius: var(--r);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.4);
  color: var(--white); font-family: inherit; font-weight: 700; font-size: 1rem;
}
.price-sim__result { background: rgba(0,0,0,0.16); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); }
.price-sim__total { display: flex; align-items: baseline; gap: 0.15em; font-family: var(--display); color: var(--yellow); }
.price-sim__yen { font-size: 1.4rem; }
.price-sim__total span[data-sim-total] { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.price-sim__breakdown { margin-top: 1rem; display: grid; gap: 0.5rem; }
.price-sim__breakdown li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.85); border-bottom: 1px dotted rgba(255,255,255,0.2); padding-bottom: 0.4rem; }
.price-sim__breakdown .price-sim__empty { color: rgba(255,255,255,0.6); border-bottom: none; }
.price-sim__note { margin-top: 1.2rem; font-size: 0.8rem; color: rgba(255,255,255,0.75); position: relative; padding-left: 1.4em; }
.price-sim__note::before { content: "※"; position: absolute; left: 0; color: var(--yellow); }

/* =========================================================
   FACILITY & EQUIPMENT
   ========================================================= */
.facility__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); }
.spec { display: grid; gap: 1.2rem; }
.spec__block { border-left: 4px solid var(--yellow); padding-left: 1.1rem; }
.spec__label { font-family: var(--display); letter-spacing: 0.08em; font-size: 1rem; color: var(--yellow); }
.spec__rows { margin-top: 0.5rem; display: grid; gap: 0.45rem; }
.spec__rows div { display: flex; justify-content: space-between; gap: 14px; font-size: 0.92rem; border-bottom: 1px dotted rgba(255,255,255,0.22); padding-bottom: 0.4rem; }
.spec__rows dt { color: rgba(255,255,255,0.78); }
.spec__rows dd { font-weight: 700; text-align: right; white-space: nowrap; }
.equip__label { font-family: var(--display); letter-spacing: 0.08em; font-size: 1rem; color: var(--yellow); margin-bottom: 1rem; }
.equip__list { columns: 2; column-gap: 28px; }
.equip__list li { break-inside: avoid; padding: 0.4em 0 0.4em 1.4em; position: relative; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.equip__list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 7px; height: 7px; background: var(--yellow); border-radius: 2px; }
.equip__extra { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 10px; }
.equip__extra span { background: var(--yellow); color: var(--black); font-weight: 700; font-size: 0.82rem; padding: 0.45em 1em; border-radius: 100px; }

/* =========================================================
   FLOW
   ========================================================= */
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 30px); }
.flow-step {
  position: relative;
  background: var(--white); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px);
  border-top: 6px solid var(--vermilion);
  box-shadow: 0 18px 44px -36px rgba(0,0,0,0.45);
}
.flow-step:nth-child(2) { border-top-color: var(--orange); }
.flow-step:nth-child(3) { border-top-color: var(--green); }
.flow-step:nth-child(4) { border-top-color: var(--blue); }
/* ---- stagger reveal (relies on [data-reveal] added via script.js) ---- */
.flow-step:nth-child(1) { transition-delay: 0ms; }
.flow-step:nth-child(2) { transition-delay: 90ms; }
.flow-step:nth-child(3) { transition-delay: 180ms; }
.flow-step:nth-child(4) { transition-delay: 270ms; }
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute; top: 50%; right: 0;
  transform: translate(50%, -50%);
  font-family: var(--display); font-size: 1.6rem; color: var(--vermilion);
}
.flow-step__no { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--cream-2); line-height: 1; }
.flow-step__title { font-weight: 900; font-size: 1.02rem; color: var(--ink); margin: 0.5rem 0 0.6rem; }
.flow-step__text { font-size: 0.9rem; color: var(--ink-soft); }
.flow__note { margin-top: clamp(28px, 4vw, 40px); text-align: center; font-size: 0.9rem; color: var(--ink-soft); }

/* =========================================================
   TENANTS TEASER（トップページの「ちょい見せ」。詳細は tenants.html）
   ========================================================= */
.tenants-teaser__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.tenant-teaser-card {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 18px 44px -36px rgba(0,0,0,0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tenant-teaser-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -36px rgba(0,0,0,0.45); }
.tenant-teaser-card__media { aspect-ratio: 4/3; }
.tenant-teaser-card__area {
  display: inline-block; margin: 1.1em 1.2em 0; font-family: var(--display);
  letter-spacing: 0.08em; font-size: 0.78rem; color: var(--vermilion);
}
.tenant-teaser-card__name { font-weight: 900; font-size: 1.05rem; color: var(--ink); margin: 0.4em 1.2em 0.5em; }
.tenant-teaser-card__hook { font-size: 0.88rem; color: var(--ink-soft); margin: 0 1.2em 1.3em; }
.tenants-teaser__cta { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

/* =========================================================
   ORIENTATION（説明会）
   ========================================================= */
.orientation__inner { max-width: 760px; }
.orientation__card {
  margin-top: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r); padding: clamp(24px, 3vw, 34px);
  display: grid; gap: 1.6rem;
}
.orientation__card-label { font-family: var(--display); letter-spacing: 0.08em; font-size: 0.85rem; color: var(--yellow); }
.orientation__card-when { font-size: 1.15rem; font-weight: 900; color: var(--white); margin-top: 0.5rem; }
.orientation__card-when strong { color: var(--yellow); font-family: var(--display); letter-spacing: 0.03em; }
.orientation__card-note { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 0.6rem; }
.orientation__card-points { display: flex; flex-wrap: wrap; gap: 10px; }
.orientation__card-points li {
  font-size: 0.86rem; font-weight: 700; color: var(--white);
  padding: 0.5em 1.1em; border-radius: 100px; border: 1px solid rgba(255,255,255,0.4);
}
.orientation__cta { margin-top: clamp(24px, 3vw, 36px); }

/* =========================================================
   POINTS
   ========================================================= */
.points__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.point {
  background: var(--white); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px);
  border-top: 6px solid var(--vermilion);
  box-shadow: 0 18px 44px -36px rgba(0,0,0,0.45);
}
.point:nth-child(4n+2) { border-top-color: var(--green); }
.point:nth-child(4n+3) { border-top-color: var(--blue); }
.point:nth-child(4n+4) { border-top-color: var(--yellow); }
.point__no { font-family: var(--display); font-size: 1.6rem; color: var(--cream-2); line-height: 1; }
.point__text { font-weight: 700; font-size: 0.98rem; color: var(--ink); margin-top: 0.5rem; line-height: 1.7; }

/* =========================================================
   KODOMO
   ========================================================= */
.kodomo__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kodomo__badge { font-family: var(--display); font-size: clamp(5rem, 13vw, 10rem); line-height: 0.82; color: var(--yellow); }
.kodomo__badge span { font-size: 0.34em; vertical-align: super; }
.kodomo__title { font-family: var(--jp); font-weight: 900; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.4; margin-bottom: 1.2rem; }
.kodomo__text p { color: rgba(255,255,255,0.88); margin-bottom: 1rem; max-width: 40em; }
.kodomo__text strong { color: var(--yellow); }
.kodomo__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1.6rem 0 1rem; }
.kodomo__flow > span:not(.kodomo__arrow) { font-weight: 700; font-size: 0.9rem; padding: 0.6em 1.2em; border: 1px solid rgba(243,193,46,0.5); border-radius: 100px; }
.kodomo__arrow { color: var(--yellow); }
.kodomo__note { font-size: 0.82rem; color: rgba(255,255,255,0.6) !important; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r); padding: 0.2em 1.4em;
  /* grid-rows trick: row 2 (the answer) collapses to 0fr when closed and
     animates to 1fr when [open] — no JS needed for the open/close motion. */
  display: grid; grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item[open] { grid-template-rows: auto 1fr; }
.faq-item__q {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 1.1em 0; font-weight: 700; font-size: 0.98rem; color: var(--white);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }
.faq-item__q::after {
  content: "+"; flex-shrink: 0;
  font-family: var(--display); font-size: 1.4rem; color: var(--yellow);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  /* override the UA default `details:not([open]) > *:not(summary){display:none}`
     so the grid-row can be measured/animated; visibility keeps it out of the
     tab order & a11y tree while visually collapsed. */
  display: block !important;
  overflow: hidden; visibility: hidden;
  transition: visibility 0s linear 0.4s;
  padding: 0 0 1.2em; color: rgba(255,255,255,0.85); font-size: 0.92rem;
}
.faq-item[open] .faq-item__a { visibility: visible; transition-delay: 0s; }
.faq-item__a a { color: var(--yellow); border-bottom: 2px solid var(--yellow); }

/* =========================================================
   TENANTS PAGE（tenants.html 専用）
   ========================================================= */
.tenants-list__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 36px); }
.tenant-card {
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 20px 50px -38px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
}
.tenant-card__media { aspect-ratio: 16/10; }
.tenant-card__body { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.tenant-card__area { font-family: var(--display); letter-spacing: 0.1em; font-size: 0.82rem; color: var(--vermilion); }
.tenant-card__name { font-weight: 900; font-size: 1.25rem; color: var(--ink); margin: 0.35em 0 0.3em; }
.tenant-card__hook { font-weight: 700; color: var(--green); font-size: 0.94rem; margin-bottom: 0.9rem; }
.tenant-card__text { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.tenant-card__usage {
  background: var(--cream); border-radius: var(--r); padding: 1.1em 1.3em;
  margin-bottom: 1.2rem;
}
.tenant-card__usage-label { font-family: var(--display); letter-spacing: 0.06em; font-size: 0.78rem; color: var(--vermilion); margin-bottom: 0.4rem; }
.tenant-card__usage-detail { font-size: 0.88rem; color: var(--ink); margin-bottom: 0.5rem; }
.tenant-card__usage-detail small { color: var(--ink-soft); }
.tenant-card__usage-total { font-weight: 900; font-size: 1.1rem; color: var(--ink); }
.tenant-card__usage-total .yen { font-family: var(--display); color: var(--vermilion); }
.tenant-card__usage-total small { font-weight: 400; font-size: 0.72rem; color: var(--ink-soft); display: block; margin-top: 0.15rem; }
.tenant-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tenant-card__tags li { font-size: 0.74rem; font-weight: 700; padding: 0.35em 0.9em; border-radius: 100px; background: var(--cream-2); color: var(--ink-soft); }
.tenants-list__note { margin-top: clamp(28px, 4vw, 44px); font-size: 0.86rem; color: var(--ink-soft); text-align: center; max-width: 46em; margin-left: auto; margin-right: auto; }
.tenants-list__note a { color: var(--green); font-weight: 700; border-bottom: 2px solid var(--yellow); }
.tenants-list__cta { margin-top: clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---- 空き状況カレンダー（tenants.html） ---- */
.calendar {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border-radius: var(--r); padding: clamp(20px, 2.6vw, 30px);
  box-shadow: 0 20px 50px -38px rgba(0,0,0,0.45);
}
.calendar__month { font-family: var(--display); letter-spacing: 0.06em; font-size: 1.2rem; color: var(--ink); margin-bottom: 1rem; text-align: center; }
.calendar__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendar__table th {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  padding: 0.5em 0; text-align: center; border-bottom: 2px solid var(--line);
}
.calendar__table th.is-sat { color: var(--blue); }
.calendar__table th.is-sun { color: var(--vermilion); }
.calendar__table td { text-align: center; vertical-align: middle; padding: 0.6em 0.2em; border-bottom: 1px solid var(--line); }
.calendar__date { display: block; font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.calendar__status { display: block; margin-top: 0.2em; font-size: 1rem; line-height: 1; }
.calendar__status.is-open { color: var(--green); }
.calendar__status.is-few { color: var(--orange); }
.calendar__status.is-full { color: var(--vermilion); }
.calendar__table td.is-empty { visibility: hidden; }
.calendar__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.calendar__legend li { display: flex; align-items: center; gap: 0.4em; font-size: 0.84rem; color: var(--ink-soft); }

/* =========================================================
   SESSION PAGE（session.html 専用）
   ========================================================= */
.session-detail__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.session-detail__heading { font-weight: 900; font-size: 1.1rem; color: var(--ink); margin: 0 0 1rem; }
.session-detail__heading:not(:first-child) { margin-top: 2.2rem; }
.session-detail__list { display: grid; gap: 0.8rem; }
.session-detail__list li { position: relative; padding-left: 1.5em; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.7; }
.session-detail__list li::before { content: "●"; position: absolute; left: 0; top: 0.15em; color: var(--vermilion); font-size: 0.7em; }
.session-detail__info { display: grid; gap: 1rem; }
.session-detail__info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; font-size: 0.94rem; }
.session-detail__info dt { font-family: var(--display); letter-spacing: 0.06em; color: var(--vermilion); }
.session-detail__info dd strong { color: var(--green); }
.session-detail__note { margin-top: 1.4rem; font-size: 0.84rem; color: var(--ink-soft); }
.session-detail__apply {
  position: sticky; top: 90px;
  background: var(--white); border-radius: var(--r); padding: clamp(24px, 2.8vw, 34px);
  box-shadow: 0 20px 50px -38px rgba(0,0,0,0.5); text-align: center;
}
.session-detail__apply-label { font-family: var(--display); letter-spacing: 0.08em; font-size: 0.85rem; color: var(--vermilion); margin-bottom: 1rem; }
.session-detail__apply-btn { width: 100%; }
.session-detail__apply-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1.1rem; line-height: 1.7; }
.session-detail__apply-note strong { color: var(--green); }
.session-detail__apply-channels { margin-top: 1.4rem; display: grid; gap: 0.7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.session-detail__apply-channels a { font-size: 0.86rem; font-weight: 700; color: var(--green); }

/* =========================================================
   TOWN
   ========================================================= */
.town__intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.town__intro-photo { aspect-ratio: 4/3.2; background: var(--blue); }
.town__big { font-family: var(--jp); font-weight: 900; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.5; color: var(--blue); margin-bottom: 1.2rem; }
.town__intro-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.town__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: clamp(40px, 5vw, 64px) 0; border-top: 3px solid var(--blue); border-bottom: 3px solid var(--blue); padding: clamp(24px, 3vw, 36px) 0; }
.town__stats li { text-align: center; }
.town__stats .num { display: block; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--vermilion); line-height: 1; }
.town__stats .num small { font-size: 0.4em; margin-left: 0.1em; color: var(--blue); }
.town__stats .lbl { display: block; margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.6; }
.town__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.town-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); }
.town-card__tag { font-family: var(--display); color: var(--vermilion); letter-spacing: 0.08em; font-size: 0.88rem; }
.town-card h3 { font-weight: 900; font-size: 1.1rem; color: var(--green); margin: 0.4rem 0 0.7rem; }
.town-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.75; }
.town__links { margin-top: clamp(36px, 4vw, 56px); text-align: center; }
.town__links-note { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 1rem; }
.town__links-note strong { color: var(--green); }
.town__links-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.town__links-row a { font-size: 0.86rem; font-weight: 700; color: var(--green); border: 2px solid var(--green); border-radius: 100px; padding: 0.55em 1.2em; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.town__links-row a:hover { background: var(--green); color: var(--white); }

/* =========================================================
   ACCESS
   ========================================================= */
.access__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 56px); }
.access__map { aspect-ratio: 16/11; border-radius: var(--r); overflow: hidden; background: var(--cream-2); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__info dl { display: grid; gap: 1.4rem; }
.access__info dt { font-family: var(--display); color: var(--vermilion); font-size: 0.95rem; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.access__info dd { font-size: 0.98rem; color: var(--ink); }
.access__info dd a { color: var(--green); font-weight: 700; border-bottom: 2px solid var(--yellow); }
.muted { color: var(--ink-soft); font-size: 0.85rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.contact__title { font-family: var(--jp); font-weight: 900; font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.35; margin: 0.4rem 0 1rem; }
.contact__lead { color: rgba(255,255,255,0.85); max-width: 34em; margin: 0 auto 2.4rem; }
.contact__cta { display: inline-flex; }
.contact__channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 640px; margin: 2.8rem auto 0; text-align: left; }
.contact__channel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--r); padding: 1.2rem 1.4rem; }
.contact__channel span { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.1em; color: var(--yellow); }
.contact__channel a, .contact__channel p { display: block; margin-top: 0.3rem; font-weight: 700; }
.contact__channel a { border-bottom: 2px solid var(--yellow); display: inline-block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--cream-2); color: var(--ink); padding: clamp(48px, 6vw, 80px) var(--gutter) 30px; }
.site-footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(0,0,0,0.12); }
.site-footer__brand .brand__plate { margin-bottom: 1rem; }
.site-footer__brand p { color: var(--ink-soft); font-size: 0.9rem; }
.site-footer__nav ul { display: grid; gap: 10px; }
.site-footer__nav a { font-size: 0.88rem; color: var(--ink-soft); transition: color 0.3s; }
.site-footer__nav a:hover { color: var(--vermilion); }
.site-footer__social a { font-family: var(--display); font-size: 1rem; color: var(--vermilion); }
.site-footer__bottom { max-width: var(--maxw); margin: 22px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--ink-soft); }
.site-footer__credit { font-family: var(--display); letter-spacing: 0.08em; }

/* =========================================================
   MOBILE CTA BAR / BACK TO TOP
   ========================================================= */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  padding: 14px var(--gutter);
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  background: var(--vermilion); color: var(--white);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; line-height: 1.2;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.35);
  transform: translateY(100%); opacity: 0; visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.3s var(--ease), visibility 0s 0.35s;
}
.mobile-cta-bar:hover { background: var(--vermilion-d); }
.mobile-cta-bar.is-visible { transform: translateY(0); opacity: 1; visibility: visible; transition-delay: 0s; }

.back-to-top {
  position: fixed; right: var(--gutter); bottom: 24px; z-index: 91;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--vermilion); color: var(--white); font-size: 1.3rem;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s var(--ease), visibility 0s 0.35s;
}
.back-to-top:hover { background: var(--vermilion-d); }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
.sp-br { display: none; }

@media (max-width: 1040px) {
  .areas__list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .tenants-teaser__list { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .points__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 920px) {
  .nav__list, .nav__cta { display: none; }
  .nav-toggle { display: block; }
  .about__grid { grid-template-columns: 1fr; }
  /* 写真が入るまでプレースホルダーはスマホでは大きな余白にしか見えないため非表示 */
  .about__visual { display: none; }
  .price__grid { grid-template-columns: 1fr; }
  .facility__grid { grid-template-columns: 1fr; }
  .tenants-list__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .session-detail__grid { grid-template-columns: 1fr; }
  .session-detail__apply { position: static; }
  .town__intro { grid-template-columns: 1fr; }
  .town__stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .town__cards { grid-template-columns: 1fr; }
  .access__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .price-sim__body { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; }
  .back-to-top { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .points__grid { grid-template-columns: 1fr; }
  .flow__list { grid-template-columns: 1fr; }
  .equip__list { columns: 1; }
  .contact__channels { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .price-card--wide { flex-direction: column; align-items: flex-start; }
  .sp-br { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   追加パーツ
   - u-vh          : 目には見えないが読み上げ・検索エンジンには届くテキスト
   - cost          : 初期費用の比較（04）
   - availability  : 空き状況カレンダー（07）
   - price-sim__profit : 損益分岐シミュレーション
   - faq__group    : FAQのカテゴリ分け
   - contact-step  : 検討度別の3ステップ導線
   ========================================================= */

/* ---------- visually hidden ---------- */
.u-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}

/* ---------- 04 COST ---------- */
.cost__compare { max-width: 940px; margin: 0 auto; }
.cost-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 24px 54px -40px rgba(0,0,0,0.45);
}
.cost-table th, .cost-table td {
  padding: clamp(12px, 1.5vw, 18px) clamp(12px, 1.6vw, 20px);
  border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top; font-size: 0.92rem;
}
.cost-table thead th {
  background: var(--ink); color: var(--white);
  font-family: var(--jp); font-weight: 900; font-size: 0.88rem;
  letter-spacing: 0.04em; border-bottom: none;
}
.cost-table thead th.is-publica { background: var(--vermilion); }
.cost-table tbody th { font-weight: 700; color: var(--ink); width: 26%; }
.cost-table tbody td { color: var(--ink-soft); }
.cost-table td.is-publica { background: rgba(224, 83, 31, 0.06); color: var(--ink); }
.cost-table td.is-publica b { display: block; font-size: 1.08rem; font-weight: 900; color: var(--vermilion); }
.cost-table td.is-publica small { display: block; margin-top: 0.15em; font-size: 0.78rem; color: var(--ink-soft); }
.cost-table tbody tr:last-child th, .cost-table tbody tr:last-child td { border-bottom: none; }
.cost__note {
  margin-top: 1rem; font-size: 0.8rem; color: var(--ink-soft);
  position: relative; padding-left: 1.4em;
}
.cost__note::before { content: "※"; position: absolute; left: 0; }

.cost__lead {
  max-width: 780px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center;
}
.cost__lead-big {
  font-weight: 900; line-height: 1.4; letter-spacing: 0.01em;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem); color: var(--ink);
}
.cost__lead-big em { font-style: normal; color: var(--vermilion); }
.cost__lead-text { margin-top: 1.2rem; color: var(--ink-soft); }
.cost__lead-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 07 AVAILABILITY ---------- */
.availability__panel {
  max-width: 680px; margin: 0 auto; background: var(--white);
  border-radius: var(--r); padding: clamp(20px, 2.8vw, 34px);
  box-shadow: 0 26px 58px -40px rgba(0,0,0,0.55);
}
.availability__bar {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 1.2rem;
}
.availability__month {
  font-family: var(--display); letter-spacing: 0.06em; font-size: 1.25rem;
  color: var(--ink); min-width: 9em; text-align: center;
}
.availability__nav {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--line); color: var(--ink);
  font-size: 1.3rem; line-height: 1; display: grid; place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.availability__nav:hover:not(:disabled) { background: var(--vermilion); border-color: var(--vermilion); color: var(--white); }
.availability__nav:disabled { opacity: 0.3; cursor: not-allowed; }
.availability__nav:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 2px; }
.calendar__status.is-unknown { color: var(--ink-soft); }
.calendar__table td.is-past { opacity: 0.32; }
.availability__updated {
  margin-top: 1.2rem; text-align: center; font-size: 0.8rem; color: var(--ink-soft);
}
.availability__note {
  margin-top: 1rem; font-size: 0.84rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 1rem;
}
.availability__cta {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.availability__cta .btn--ghost { color: var(--ink); }
.availability__cta .btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- 損益分岐シミュレーション ---------- */
.price-sim__profit {
  margin-top: clamp(24px, 3vw, 34px); padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px dashed rgba(255,255,255,0.35);
}
.price-sim__profit-head {
  font-weight: 900; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--white); line-height: 1.5;
}
.price-sim__profit-kicker {
  display: block; font-family: var(--display); letter-spacing: 0.1em;
  font-size: 0.82rem; color: var(--yellow); margin-bottom: 0.2em;
}
.price-sim__profit-form {
  margin-top: 1.3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px); align-items: end;
}
.price-sim__profit-field { display: grid; gap: 0.5rem; }
.price-sim__profit-field > span {
  font-family: var(--display); letter-spacing: 0.06em; font-size: 0.85rem; color: var(--yellow);
}
.price-sim__profit-field output { color: var(--white); font-family: var(--jp); font-weight: 700; }
.price-sim__profit-input { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-weight: 700; }
.price-sim__profit-input input {
  width: 7.5em; background: rgba(0,0,0,0.22); border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--r); color: var(--white); font: inherit; font-weight: 700;
  padding: 0.5em 0.7em; text-align: right;
}
.price-sim__profit-input input:focus-visible,
.price-sim__profit-field input[type="range"]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.price-sim__profit-field input[type="range"] { width: 100%; accent-color: var(--yellow); }
.price-sim__profit-result {
  margin-top: 1.4rem; background: rgba(0,0,0,0.22); border-radius: var(--r);
  padding: clamp(16px, 2vw, 22px); color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.8;
}
.price-sim__profit-result b { color: var(--yellow); font-size: 1.5em; font-family: var(--display); letter-spacing: 0.02em; }
.price-sim__profit-result .is-warn { color: var(--yellow); font-weight: 700; }

/* ---------- FAQ カテゴリ ---------- */
.faq__group { max-width: 820px; margin: 0 auto; }
.faq__group + .faq__group { margin-top: clamp(32px, 4vw, 48px); }
.faq__group-title {
  font-weight: 900; font-size: 1.05rem; color: var(--yellow);
  letter-spacing: 0.06em; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.7em;
}
.faq__group-title::after { content: ""; flex: 1; height: 2px; background: rgba(255,255,255,0.25); }

/* ---------- CONTACT 3ステップ ---------- */
.contact__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px); text-align: left; margin: 2.6rem 0 0;
  counter-reset: none;
}
.contact-step {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r); padding: clamp(20px, 2.2vw, 26px);
  display: flex; flex-direction: column;
}
.contact-step--main { background: var(--vermilion); border-color: var(--vermilion); }
.contact-step__no {
  font-family: var(--display); letter-spacing: 0.1em; font-size: 0.8rem; color: var(--yellow);
}
.contact-step--main .contact-step__no { color: var(--white); }
.contact-step__title { font-weight: 900; font-size: 1.05rem; margin: 0.35em 0 0.5em; }
.contact-step__text { font-size: 0.86rem; color: rgba(255,255,255,0.82); margin-bottom: 1.1rem; flex: 1; }
.contact-step--main .contact-step__text { color: rgba(255,255,255,0.92); }
.contact-step__links { display: grid; gap: 0.5rem; }
.contact-step__links a {
  font-size: 0.86rem; font-weight: 700;
  border-bottom: 2px solid var(--yellow); justify-self: start;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-step__links a:hover { color: var(--yellow); }
.contact-step--main .contact__cta {
  width: 100%; justify-content: center;
  background: var(--white); color: var(--vermilion);
  box-shadow: 0 12px 26px -14px rgba(0,0,0,0.6);
}
.contact-step--main .contact__cta:hover { background: var(--yellow); color: var(--ink); }
.contact__direct { margin-top: 2.6rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.contact__channels { margin-top: 1rem; }
.contact__channels .contact__channel:nth-child(3) { grid-column: span 2; }

@media (max-width: 900px) {
  .contact__steps { grid-template-columns: 1fr; }
  .price-sim__profit-form { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cost-table { display: block; overflow-x: auto; white-space: nowrap; }
  .cost-table th, .cost-table td { white-space: normal; }
  .cost-table tbody th { width: auto; min-width: 8em; }
}
@media (max-width: 600px) {
  .contact__channels .contact__channel:nth-child(3) { grid-column: auto; }
  .availability__month { font-size: 1.05rem; min-width: 8em; }
}

/* ---------- 出店者ページ：ある1日の流れ ---------- */
.tenant-day { margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tenant-day__summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 0.88rem;
  color: var(--vermilion); display: flex; align-items: center; gap: 0.5em;
  transition: color 0.2s var(--ease);
}
.tenant-day__summary::-webkit-details-marker { display: none; }
.tenant-day__summary::marker { content: ""; }
.tenant-day__summary::after {
  content: "＋"; margin-left: auto; font-weight: 900;
  transition: transform 0.3s var(--ease);
}
.tenant-day[open] .tenant-day__summary::after { content: "−"; }
.tenant-day__summary:hover { color: var(--ink); }
.tenant-day__summary:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 3px; }
.tenant-day__list { margin-top: 0.9rem; display: grid; gap: 0.55rem; }
.tenant-day__list li { display: flex; gap: 0.9em; align-items: baseline; font-size: 0.86rem; }
.tenant-day__time {
  font-family: var(--display); letter-spacing: 0.04em; color: var(--green);
  min-width: 3.6em; flex-shrink: 0;
}
.tenant-day__act { color: var(--ink-soft); }

/* ---------- 出店スタイル早見表 ---------- */
.styles-table__wrap { max-width: 1060px; margin: 0 auto; overflow-x: auto; }
.styles-table .cost-table { min-width: 780px; }
.styles-table .cost-table tbody th { width: auto; min-width: 11em; }
.styles-table .cost-table td small { display: block; margin-top: 0.15em; font-size: 0.76rem; color: var(--ink-soft); }
.styles-table .cost__note { max-width: 1060px; margin-left: auto; margin-right: auto; }
.styles-table .tenants-list__cta { margin-top: clamp(28px, 3.4vw, 40px); text-align: center; }

/* ---------- 説明会：直近の開催予定 ---------- */
.session-dates { display: grid; gap: 10px; margin-bottom: 1.6rem; }
.session-dates__item {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4em 0.9em;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.85em 1.1em; font-weight: 700; color: var(--ink);
}
.session-dates__item.is-next { border-color: var(--vermilion); box-shadow: 0 12px 28px -22px rgba(224,83,31,0.8); }
.session-dates__badge {
  font-family: var(--display); letter-spacing: 0.1em; font-size: 0.74rem;
  background: var(--vermilion); color: var(--white); border-radius: 100px; padding: 0.25em 0.9em;
}
.session-dates__time { margin-left: auto; font-weight: 500; color: var(--ink-soft); font-size: 0.88rem; }
.session-dates__loading { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- 空き状況：日付セルと詳細パネル ---------- */
.calendar__cell {
  display: block; width: 100%; padding: 0.15em 0; border-radius: 4px;
  background: none; border: none; font: inherit; color: inherit; text-align: center;
  transition: background 0.2s var(--ease);
}
button.calendar__cell { cursor: pointer; }
button.calendar__cell:hover { background: rgba(224, 83, 31, 0.1); }
button.calendar__cell:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 1px; }
.calendar__table td.is-selected { background: rgba(224, 83, 31, 0.12); }
.calendar__table td.is-selected .calendar__date { color: var(--vermilion); }
.calendar__event {
  display: block; margin-top: 0.15em; font-size: 0.6rem; font-weight: 700;
  color: var(--white); background: var(--blue); border-radius: 100px;
  padding: 0.05em 0.4em; line-height: 1.5;
}
.availability__hint {
  margin-top: 1rem; text-align: center; font-size: 0.82rem; color: var(--ink-soft);
}

.calendar-detail {
  margin-top: 1.2rem; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(16px, 2vw, 22px);
}
.calendar-detail__head {
  font-weight: 900; font-size: 1.05rem; color: var(--ink);
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6em;
}
.calendar-detail__tag {
  font-size: 0.72rem; font-weight: 700; border-radius: 100px; padding: 0.2em 0.8em;
  color: var(--white); background: var(--blue);
}
.calendar-detail__tag.is-full { background: var(--vermilion); }
.calendar-detail__label {
  margin-top: 1rem; font-family: var(--display); letter-spacing: 0.06em;
  font-size: 0.78rem; color: var(--vermilion);
}
.calendar-detail__slots { margin-top: 0.5rem; display: grid; gap: 0.4rem; }
.calendar-detail__slots li {
  display: flex; align-items: baseline; gap: 0.8em;
  border-bottom: 1px dotted var(--line); padding-bottom: 0.35rem; font-size: 0.88rem;
}
.calendar-detail__slot { color: var(--ink-soft); }
.calendar-detail__free { margin-left: auto; font-weight: 900; }
.calendar-detail__free.is-open { color: var(--green); }
.calendar-detail__free.is-few { color: var(--orange); }
.calendar-detail__free.is-full { color: var(--vermilion); }
.calendar-detail__kobo {
  margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-soft);
  display: flex; align-items: baseline; gap: 0.8em; flex-wrap: wrap;
}
.calendar-detail__kobo span {
  font-family: var(--display); letter-spacing: 0.06em; font-size: 0.78rem; color: var(--vermilion);
}
.calendar-detail__text { margin-top: 0.8rem; font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- 空き状況の詳細：エリア別グリッド ---------- */
.calendar-detail__grid {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
}
.calendar-detail__grid th, .calendar-detail__grid td {
  padding: 0.55em 0.3em; text-align: center; border-bottom: 1px solid var(--line);
}
.calendar-detail__grid thead th {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); line-height: 1.4;
}
.calendar-detail__grid thead th small {
  display: block; font-size: 0.62rem; font-weight: 400; color: var(--ink-soft); opacity: 0.8;
}
.calendar-detail__grid tbody th {
  text-align: left; font-family: var(--display); letter-spacing: 0.04em;
  font-size: 0.82rem; color: var(--ink); white-space: nowrap;
}
.calendar-detail__grid tbody tr:last-child th,
.calendar-detail__grid tbody tr:last-child td { border-bottom: none; }
.mark { font-size: 1.05rem; font-weight: 700; line-height: 1; }
.mark.is-o { color: var(--green); }
.mark.is-x { color: var(--vermilion); }

.calendar-detail__kobo-list {
  margin-top: 0.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.calendar-detail__kobo-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6em;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.6em 0.9em;
}
.calendar-detail__kobo-slot { font-size: 0.84rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.calendar-detail__kobo-slot small {
  display: block; font-size: 0.66rem; font-weight: 400; color: var(--ink-soft);
}
@media (max-width: 480px) {
  .calendar-detail__kobo-list { grid-template-columns: 1fr; }
  .calendar-detail__grid tbody th { font-size: 0.74rem; }
}
