/* ============================================
   EN-KAKU — coworking and networking salon
   Rebuilt as static code (Studio reproduction)
   ============================================ */

:root {
  --ink: #22282e;
  --ink-soft: #5d666e;
  --accent: #2c3e50;
  --accent-soft: #eef1f4;
  --line: #e3e4e6;
  --canvas: #ffffff;
  --surface: #f7f8f9;
  --serif-en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --sans-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--sans-jp);
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.en { font-family: var(--serif-en); letter-spacing: 0.08em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; flex-direction: column; line-height: 1.3; }
.brand .brand-sub { font-size: 10px; letter-spacing: 0.18em; color: var(--ink-soft); text-transform: lowercase; }
.brand .brand-name { font-size: 20px; font-weight: 600; letter-spacing: 0.14em; }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav a { font-size: 13px; letter-spacing: 0.1em; position: relative; padding: 4px 0; }
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width 0.25s ease;
}
.global-nav a:hover::after { width: 100%; }
.nav-contact {
  border: 1px solid var(--ink); padding: 8px 22px !important; border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-contact:hover { background: var(--ink); color: #fff; }
.nav-contact::after { display: none; }

/* mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 130;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px auto; transition: transform 0.3s ease, opacity 0.3s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- SNS rail ---------- */
.sns-rail {
  position: fixed; left: 28px; bottom: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.sns-rail .follow {
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft);
}
.sns-rail a { color: var(--ink-soft); transition: color 0.25s ease; }
.sns-rail a:hover { color: var(--ink); }
.sns-rail::after { content: ""; width: 1px; height: 64px; background: var(--ink-soft); }
.sns-rail svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero .hero-bg {
  position: absolute; inset: 0; border-radius: 0; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(20, 28, 36, 0.38), rgba(20, 28, 36, 0.58));
}
.hero .hero-bg .ph-note { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-inner { position: relative; z-index: 2; padding: 0 24px 96px 108px; }
.hero-copy-sub { font-size: clamp(14px, 1.8vw, 20px); letter-spacing: 0.22em; font-weight: 300; }
.hero-copy-main {
  font-size: clamp(44px, 8vw, 96px); font-weight: 500; letter-spacing: 0.12em; line-height: 1.15;
}
.scroll-cue {
  position: absolute; right: 36px; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255, 255, 255, 0.85); font-size: 11px; letter-spacing: 0.28em;
}
.scroll-cue .cue-text { writing-mode: vertical-rl; }
.scroll-cue::after {
  content: ""; width: 1px; height: 72px; background: rgba(255, 255, 255, 0.7);
  animation: cue 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; }
}

/* ---------- section base ---------- */
section { padding: 96px 0; }
.sec-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 400; letter-spacing: 0.1em;
  margin-bottom: 48px;
}
.sec-title::after { content: "｜"; color: var(--accent); font-weight: 300; }

/* ---------- placeholder visuals ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: 2px;
  background: linear-gradient(135deg, #d7dde2 0%, #b9c3cc 55%, #9daab6 100%);
}
.ph-note {
  display: inline-block; padding: 6px 14px; border-radius: 2px;
  background: rgba(34, 40, 46, 0.55); color: rgba(255, 255, 255, 0.95);
  font-size: 12px; letter-spacing: 0.08em; max-width: 85%; text-align: center;
}
.ph > .ph-note { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ---------- news ---------- */
.news { padding-top: 88px; padding-bottom: 64px; }
.news-list { border-top: 1px solid var(--line); max-width: 820px; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a, .news-list .news-row {
  display: flex; gap: 32px; align-items: baseline; padding: 18px 8px; font-size: 14px;
}
.news-date { color: var(--ink-soft); font-family: var(--serif-en); letter-spacing: 0.12em; flex-shrink: 0; }

/* ---------- about ---------- */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-catch { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.7; margin-bottom: 28px; }
.about-body { font-size: 15px; color: var(--ink); }
.about-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* ---------- feature ---------- */
.feature-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 56px 0; border-top: 1px solid var(--line); }
.feature-item:last-of-type { border-bottom: 1px solid var(--line); }
.feature-num {
  font-family: var(--serif-en); font-size: 64px; font-weight: 200; color: var(--accent); line-height: 1;
}
.feature-num::after { content: "/"; font-weight: 100; color: var(--line); margin-left: 6px; }
.feature-item h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.6; margin-bottom: 16px; }
.feature-item p { font-size: 15px; }
.booth-list { margin: 20px 0; }
.booth-list li {
  position: relative; padding: 6px 0 6px 26px; font-size: 15px;
}
.booth-list li::before {
  content: "▸"; position: absolute; left: 4px; color: var(--accent);
}
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-size: 14px; letter-spacing: 0.06em; border-bottom: 1px solid var(--ink);
  padding-bottom: 2px; transition: opacity 0.25s ease;
}
.text-link:hover { opacity: 0.6; }
.text-link .arrow { font-family: var(--serif-en); }

/* ---------- plan ---------- */
.plan { background: var(--surface); }
.plan-lead { max-width: 820px; font-size: 15px; margin-bottom: 48px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 36px 28px; display: flex; flex-direction: column;
}
.plan-card h3 { font-size: 20px; font-weight: 600; text-align: center; line-height: 1.5; }
.plan-card .plan-note-sub { display: block; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.plan-price { text-align: center; margin: 20px 0 8px; font-family: var(--serif-en); }
.plan-price .yen { font-size: 20px; vertical-align: 0.5em; margin-right: 2px; }
.plan-price .num { font-size: 44px; font-weight: 500; }
.plan-price .unit { font-size: 14px; color: var(--ink-soft); font-family: var(--sans-jp); }
.plan-desc { font-size: 14px; margin-bottom: 20px; }
.plan-details { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 20px; flex: 1; }
.plan-details li {
  position: relative; padding: 7px 0 7px 26px; font-size: 14px; line-height: 1.7;
}
.plan-details li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 600; }
.plan-details .sub { display: block; font-size: 12px; color: var(--ink-soft); }
.plan-foot { font-size: 12px; color: var(--ink-soft); margin-bottom: 16px; }
.plan-card .text-link { margin-top: auto; align-self: center; }
.plan-cta { max-width: 640px; margin: 56px auto 0; text-align: center; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  border: 1px solid var(--ink); padding: 14px 40px; border-radius: 2px;
  font-size: 15px; letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--ink); color: #fff; }

/* ---------- service ---------- */
.service-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.service-cell {
  border: 1px solid var(--line); border-radius: 4px; padding: 28px 12px 24px;
  text-align: center; font-size: 13px; line-height: 1.6;
}
.service-cell svg { width: 34px; height: 34px; margin: 0 auto 14px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-cell .note { display: block; font-size: 11px; color: var(--ink-soft); }

/* ---------- gallery ---------- */
.gallery { background: var(--surface); overflow: hidden; }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; }
.slide-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.slide figcaption { font-size: 14px; letter-spacing: 0.06em; margin-top: 12px; }
.carousel-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 12px; }
.carousel-nav button {
  width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%;
  background: #fff; cursor: pointer; font-size: 16px; color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.carousel-nav button:hover { background: var(--ink); color: #fff; }

/* ---------- floor ---------- */
.floor-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.floor-map { aspect-ratio: 4 / 3; position: sticky; top: calc(var(--header-h) + 24px); }
.floor-notes { font-size: 12px; color: var(--ink-soft); margin-top: 12px; line-height: 1.8; }
.floor-list > li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.floor-list > li:first-child { padding-top: 0; }
.floor-badge {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--serif-en);
  display: flex; align-items: center; justify-content: center; font-size: 14px; margin-top: 4px;
}
.floor-badge.icon { background: var(--accent-soft); color: var(--accent); font-size: 15px; }
.floor-list dt { font-weight: 600; margin-bottom: 2px; }

/* ---------- how to use ---------- */
.howto details {
  border: 1px solid var(--line); border-radius: 4px; margin-bottom: 16px; background: #fff;
}
.howto summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px;
  padding: 22px 28px; font-size: 17px; font-weight: 600;
}
.howto summary::-webkit-details-marker { display: none; }
.howto summary .step-no { font-family: var(--serif-en); font-size: 24px; font-weight: 300; color: var(--accent); }
.howto summary .chev { margin-left: auto; transition: transform 0.25s ease; color: var(--ink-soft); }
.howto details[open] summary .chev { transform: rotate(180deg); }
.howto summary .opt-note { font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.howto .step-body { padding: 4px 28px 28px; border-top: 1px solid var(--line); }
.substep { padding: 20px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.substep:last-child { border-bottom: 0; }
.substep h4 { font-size: 15px; margin-bottom: 6px; }
.substep h4 .sub-no { font-family: var(--serif-en); color: var(--accent); margin-right: 10px; font-weight: 400; }
.substep .code {
  display: inline-block; background: var(--accent-soft); padding: 2px 12px; border-radius: 2px;
  font-family: var(--serif-en); letter-spacing: 0.14em; font-weight: 500;
}
.caution { background: var(--surface); border-radius: 4px; padding: 18px 22px; margin-top: 16px; }
.caution li { position: relative; padding: 5px 0 5px 24px; font-size: 13px; }
.caution li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); }

/* ---------- guide ---------- */
.guide { background: var(--surface); }
.guide-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.guide-dl div { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.guide-dl div:first-child { padding-top: 0; }
.guide-dl dt { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-soft); margin-bottom: 4px; }
.guide-map {
  aspect-ratio: 4 / 3; position: relative;
  background: linear-gradient(135deg, #d7dde2 0%, #b9c3cc 100%);
}
.guide-map::before {
  content: "地図（Googleマップ埋め込み）"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 2px;
  background: rgba(34, 40, 46, 0.55); color: rgba(255, 255, 255, 0.95); font-size: 12px;
}
.guide-map iframe { position: relative; z-index: 2; }
.guide-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- contact ---------- */
.contact {
  position: relative; color: #fff; text-align: center; padding: 120px 24px; overflow: hidden;
}
.contact .contact-bg {
  position: absolute; inset: 0; border-radius: 0; overflow: hidden;
}
.contact-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.contact .contact-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(24, 32, 40, 0.72), rgba(24, 32, 40, 0.72));
}
.contact .contact-bg .ph-note { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); }
.contact-inner { position: relative; z-index: 2; }
.contact-inner h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 400; letter-spacing: 0.1em; margin-bottom: 16px; }
.contact-inner p { font-size: 15px; margin-bottom: 8px; }
.contact .btn { border-color: #fff; color: #fff; }
.contact .btn:hover { background: #fff; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { padding: 72px 24px 32px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.footer-sns { display: flex; gap: 18px; }
.footer-sns a { color: var(--ink-soft); }
.footer-sns a:hover { color: var(--ink); }
.footer-sns svg { width: 20px; height: 20px; fill: currentColor; }
.footer-legal { display: flex; gap: 24px; margin-top: 40px; }
.footer-legal a { font-size: 12px; color: var(--ink-soft); }
.copyright { margin-top: 24px; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.1em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid, .floor-grid, .guide-grid { grid-template-columns: 1fr; gap: 40px; }
  .floor-map { position: relative; top: auto; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .site-header { backdrop-filter: none; }
  .global-nav { overflow-y: auto; }
  .global-nav {
    position: fixed; inset: 0; z-index: 120; flex-direction: column; justify-content: center;
    background: rgba(255, 255, 255, 0.97); gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .global-nav a { font-size: 17px; padding: 14px; }
  body.nav-open .global-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { display: block; }
  .sns-rail { display: none; }
  .hero-inner { padding: 0 24px 88px; }
  .scroll-cue { right: 20px; }
  .feature-item { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; }
  .feature-num { font-size: 48px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list a, .news-list .news-row { flex-direction: column; gap: 2px; }
  .howto summary { padding: 18px 18px; font-size: 15px; gap: 12px; }
  .howto .step-body { padding: 4px 18px 22px; }
}

/* ============================================
   v0.1.1 — interactive features
   ============================================ */

/* ---------- open badge ---------- */
.brand-wrap { display: flex; align-items: center; gap: 16px; min-width: 0; }
.open-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-soft); white-space: nowrap;
}
.open-badge .ob-dot { width: 8px; height: 8px; border-radius: 50%; background: #b7bec4; flex-shrink: 0; }
.open-badge.is-open { color: var(--ink); }
.open-badge.is-open .ob-dot { background: #2ecc71; animation: obpulse 2.2s infinite; }
@keyframes obpulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@media (prefers-reduced-motion: reduce) { .open-badge.is-open .ob-dot { animation: none; } }

/* ---------- plan badge ---------- */
.plan-badge {
  align-self: center; background: var(--accent); color: #fff;
  font-size: 11px; letter-spacing: 0.08em; padding: 3px 16px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- simulator / corp compare ---------- */
.simulator, .corp-compare {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 40px 32px; margin-top: 32px;
}
.sim-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.sim-lead { font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.sim-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.sim-control label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.sim-control output { font-family: var(--serif-en); font-size: 18px; color: var(--accent); font-weight: 500; }
.sim-control input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.sim-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sim-card { border: 1px solid var(--line); border-radius: 4px; padding: 20px 12px 16px; text-align: center; position: relative; }
.sim-card .sc-name { font-size: 12.5px; font-weight: 600; line-height: 1.5; min-height: 38px; display: flex; align-items: center; justify-content: center; }
.sim-card .sc-price { font-family: var(--serif-en); font-size: 19px; margin-top: 6px; }
.sim-card .sc-price small { font-size: 11px; color: var(--ink-soft); font-family: var(--sans-jp); font-weight: 400; }
.sim-card.best { border-color: var(--accent); background: var(--accent-soft); }
.sim-card.best::before {
  content: "いちばんおトク"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 10px; padding: 2px 12px; border-radius: 999px;
  white-space: nowrap; letter-spacing: 0.05em;
}
.sim-note { font-size: 11.5px; color: var(--ink-soft); margin-top: 20px; line-height: 1.9; }

.corp-tabs { display: none; gap: 8px; margin-bottom: 20px; }
.corp-tab {
  flex: 1; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 4px;
  cursor: pointer; font-size: 14px; letter-spacing: 0.08em; font-family: var(--serif-en);
  transition: background 0.2s ease, color 0.2s ease;
}
.corp-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.corp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.corp-table th, .corp-table td { border: 1px solid var(--line); padding: 13px 14px; text-align: center; }
.corp-table thead th { background: var(--surface); font-size: 16px; letter-spacing: 0.1em; }
.corp-table thead th span { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.corp-table tbody th { text-align: left; font-weight: 500; font-size: 13.5px; }
.corp-table td.yes { color: var(--accent); font-weight: 700; font-size: 16px; }
.corp-table td.no { color: #c3c9ce; }
.cell-sub { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 400; }

/* ---------- interactive floor map ---------- */
.floor-map-box { position: sticky; top: calc(var(--header-h) + 24px); }
.floor-svg { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.fm-wall { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.fm-window { stroke: #7fa3c0; stroke-width: 6; stroke-linecap: round; }
.fm-caption { font-size: 11px; fill: var(--ink-soft); font-family: var(--sans-jp); }
.fm-zone { cursor: pointer; outline: none; }
.fm-zone rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; transition: fill 0.2s ease, stroke 0.2s ease; }
.fm-zone rect.fm-table { fill: var(--accent-soft); stroke: none; }
.fm-zone rect.fm-desk { fill: #dde4ea; stroke: none; } /* v0.7: ゾーン内デスクの塗り */
.fm-zone:hover rect, .fm-zone:focus-visible rect, .fm-zone.is-active rect { fill: var(--accent-soft); stroke: var(--accent); }
.fm-zone:hover rect.fm-table, .fm-zone.is-active rect.fm-table { fill: #fff; }
.fm-badge { fill: var(--accent); }
.fm-badge-t { fill: #fff; font-size: 13px; font-family: var(--serif-en); }
.fm-label { font-size: 12.5px; fill: var(--ink); font-family: var(--sans-jp); }
.fm-divider { stroke: var(--line); stroke-width: 1.5; }
.fm-door { stroke: #fff; stroke-width: 6; }
.fm-hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 10px; }
.floor-list > li { padding-left: 10px; padding-right: 10px; margin-left: -10px; margin-right: -10px; border-radius: 4px; transition: background 0.25s ease; }
.floor-list > li.is-active { background: var(--accent-soft); }

/* ---------- howto stepper ---------- */
.stepper { display: flex; margin: 0 0 44px; padding: 0; }
.stepper .step { flex: 1; position: relative; list-style: none; }
.stepper .step::before {
  content: ""; position: absolute; top: 22px; left: -50%; width: 100%; height: 1.5px;
  background: var(--line);
}
.stepper .step:first-child::before { display: none; }
.stepper button {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%;
  font-family: inherit; color: var(--ink);
}
.step-dot {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-soft);
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.stepper .step.is-active .step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-label { font-size: 12.5px; line-height: 1.5; text-align: center; }
.step-label small { display: block; color: var(--ink-soft); font-size: 10.5px; font-weight: 400; }

/* ---------- responsive (v0.1.1) ---------- */
@media (max-width: 900px) {
  .floor-map-box { position: static; }
}
@media (max-width: 760px) {
  .open-badge { padding: 4px 10px; font-size: 10.5px; }
  .brand-wrap { gap: 10px; }
  .simulator, .corp-compare { padding: 28px 18px; }
  .sim-controls { grid-template-columns: 1fr; gap: 20px; }
  .corp-tabs { display: flex; }
  .corp-table .col-lite, .corp-table .col-plus, .corp-table .col-full { display: none; }
  .corp-compare[data-active="lite"] .col-lite,
  .corp-compare[data-active="plus"] .col-plus,
  .corp-compare[data-active="full"] .col-full { display: table-cell; }
  .stepper { margin-bottom: 36px; }
  .step-dot { width: 36px; height: 36px; font-size: 13px; }
  .step-label { font-size: 10.5px; }
}

/* small screens: keep header to one line with the open badge */
@media (max-width: 480px) {
  .site-header .brand .brand-sub { display: none; }
}

/* ============================================================
   v0.1.2 — hero & scroll animations
   ============================================================ */

/* --- hero text reveal --- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim .hero-copy-sub  { animation: heroRise .8s .25s cubic-bezier(.22, 1, .36, 1) both; }
.anim .hero-copy-main { animation: heroRise .9s .5s  cubic-bezier(.22, 1, .36, 1) both; }

/* --- scroll cue: rise in, then gentle nudge --- */
@keyframes cueNudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.anim .scroll-cue {
  animation:
    heroRise .8s 1.3s ease both,
    cueNudge 2.4s 2.6s ease-in-out infinite;
}

/* --- EN(circle) / KAKU(square) floating motifs --- */
.hero { position: relative; }
.hero-inner { position: relative; z-index: 2; }
.hero-motifs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.motif { position: absolute; display: block; opacity: .12; }
.motif-circle { border-radius: 50%; background: var(--accent); }
.motif-square { background: var(--accent); }
.motif-ring   { border: 2px solid var(--accent); border-radius: 50%; background: transparent; }
.m1 { width: 180px; height: 180px; top: 14%; left: 6%;  animation: drift1 22s ease-in-out infinite alternate; }
.m2 { width: 90px;  height: 90px;  top: 66%; left: 13%; animation: drift2 26s ease-in-out infinite alternate; }
.m3 { width: 56px;  height: 56px;  top: 22%; right: 13%; animation: drift2 19s ease-in-out infinite alternate; }
.m4 { width: 140px; height: 140px; top: 58%; right: 7%; animation: drift3 28s ease-in-out infinite alternate; }
.m5 { width: 260px; height: 260px; top: 40%; left: 46%; animation: drift1 30s ease-in-out infinite alternate; opacity: .09; }
@keyframes drift1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(26px, -34px); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) rotate(10deg); }
  to   { transform: translate(-22px, 26px) rotate(34deg); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) rotate(22deg); }
  to   { transform: translate(18px, -24px) rotate(-6deg); }
}
@media (max-width: 760px) {
  .m1 { width: 110px; height: 110px; }
  .m4 { width: 90px; height: 90px; }
  .m5 { width: 170px; height: 170px; left: 55%; }
}

/* --- scroll-linked section fade-in --- */
.anim [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.anim [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- accessibility: respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .anim .hero-copy-sub,
  .anim .hero-copy-main,
  .anim .scroll-cue,
  .motif { animation: none !important; }
  .anim [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   v0.1.3 — slower hero reveal + real logo motifs
   ============================================================ */

/* slower, more readable text reveal (overrides v0.1.2) */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(42px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim .hero-copy-sub  { animation: heroRise 1.6s .5s   cubic-bezier(.22, 1, .36, 1) both; }
.anim .hero-copy-main { animation: heroRise 2s   1.15s cubic-bezier(.22, 1, .36, 1) both; }
.anim .scroll-cue {
  animation:
    heroRise 1.2s 2.7s ease both,
    cueNudge 3.2s 3.9s ease-in-out infinite;
}

/* logo-mark motifs (replace abstract circle/square) */
.motif-defs { position: absolute; width: 0; height: 0; }
.motif-logo { color: #eaeff4; opacity: .13; }
.lm1 { width: 340px; height: 299px; top: 15%; left: 6%;  animation: drift1 24s ease-in-out infinite alternate; }
.lm2 { width: 170px; height: 149px; top: 22%; right: 12%; animation: drift2 20s ease-in-out infinite alternate; }
.lm3 { width: 540px; height: 475px; top: 44%; left: 58%; opacity: .08; animation: drift3 30s ease-in-out infinite alternate; }
@media (max-width: 760px) {
  .lm1 { width: 200px; height: 176px; }
  .lm2 { top: 60%; right: 8%; }
  .lm3 { width: 320px; height: 281px; left: 44%; top: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .motif-logo { animation: none !important; }
}

/* v0.1.3 fix: avoid overlapping marks on small screens */
@media (max-width: 760px) {
  .lm2 { display: none; }
  .lm3 { left: 48%; top: 52%; }
}

/* ============================================================
   v0.1.4 — hero motif redesign: one oversized cropped mark
   ============================================================ */
@keyframes heroDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-28px, 30px); }
}
.lm-big {
  width: 1150px;
  height: 1011px;
  top: -14%;
  right: -320px;
  left: auto;
  opacity: .1;
  animation: heroDrift 36s ease-in-out infinite alternate;
}
@media (max-width: 760px) {
  .lm-big {
    width: 620px;
    height: 545px;
    top: auto;
    bottom: -10%;
    right: -200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lm-big { animation: none !important; }
}

/* ============================================================
   v0.1.5 — motion prototypes: logo draw / particles / stats / floor assembly
   ============================================================ */

/* --- 案6: logo one-stroke intro --- */
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
.anim #enkakuMark circle,
.anim #enkakuMark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: logoDraw 1.8s cubic-bezier(.4, 0, .2, 1) forwards;
}
.anim #enkakuMark path {
  animation-delay: 1s;
  animation-duration: 1.3s;
}
/* text follows the drawing */
.anim .hero-copy-sub  { animation-delay: 1.5s; }
.anim .hero-copy-main { animation-delay: 2.1s; }
.anim .scroll-cue {
  animation:
    heroRise 1.2s 3.4s ease both,
    cueNudge 3.2s 4.6s ease-in-out infinite;
}

/* --- 案2: 縁 network canvas --- */
.en-net {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* --- 案5: stats count-up --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 64px 0 0;
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}
.stats li { text-align: center; }
.stat-num {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 15px; margin-left: 3px; color: var(--accent); }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #7b838b;
  letter-spacing: .14em;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .stat-num { font-size: 34px; }
}

/* --- 案4: floor map assembly on scroll --- */
.anim .floor-svg .fm-zone {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.anim .floor-svg[data-assemble] .fm-zone:not(.placed) { opacity: .12; }
.anim .floor-svg[data-assemble] .fm-zone[data-zone="3"]:not(.placed) { transform: translate(0, -34px); }
.anim .floor-svg[data-assemble] .fm-zone[data-zone="4"]:not(.placed) { transform: translate(38px, -26px); }
.anim .floor-svg[data-assemble] .fm-zone[data-zone="2"]:not(.placed) { transform: translate(-36px, 24px); }
.anim .floor-svg[data-assemble] .fm-zone[data-zone="m"]:not(.placed) { transform: translate(42px, 28px); }
.anim .floor-svg[data-assemble] .fm-zone[data-zone="1"]:not(.placed) { transform: translate(-28px, 44px); }

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .anim #enkakuMark circle,
  .anim #enkakuMark path { animation: none !important; stroke-dashoffset: 0; }
  .en-net { display: none; }
  .anim .floor-svg .fm-zone { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* v0.1.5 fix: stick the whole left column (map + notes) so the notes
   are never overlapped by the sticky map box */
.floor-map-box { position: static; }
.floor-grid > div:first-child {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
@media (max-width: 760px) {
  .floor-grid > div:first-child { position: static; }
}

/* ============================================================
   v0.3 — real logo, time-aware motion & layout overhaul
   ============================================================ */
html { background: #f2f3f5; }
body { background: transparent; overflow-x: clip; }
html { overflow-x: clip; }
.bg-net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
main section { background: var(--canvas); }
main > section { margin-bottom: clamp(56px, 9vh, 110px); }
main > section.contact { margin-bottom: 0; }
.site-footer { background: var(--canvas); }

/* header: transparent over hero, logo fades in after */
.brand-logo { height: 32px; width: auto; display: block; fill: var(--ink); transition: opacity .45s ease, visibility .45s; }
.site-header { transition: background .45s ease, border-color .3s ease; }
.site-header:not(.past-hero) { background: transparent; backdrop-filter: none; }
.site-header:not(.past-hero) .brand-logo { opacity: 0; visibility: hidden; }
.site-header:not(.past-hero) .global-nav a { color: #fff; }
.site-header:not(.past-hero) .global-nav a::after { background: #fff; }
.site-header:not(.past-hero) .nav-contact { border-color: #fff; }
.site-header:not(.past-hero) .nav-contact:hover { background: #fff; color: var(--ink); }
.site-header:not(.past-hero) .nav-toggle span { background: #fff; }
.site-header:not(.past-hero) .open-badge { color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.45); }
body.nav-open .site-header .global-nav a { color: var(--ink); }
body.nav-open .site-header .nav-toggle span { background: var(--ink); }

/* hero logo */
.hero-bg-img { object-position: center 32%; }
.hero-logo-svg { width: clamp(150px, 17vw, 220px); height: auto; display: block; overflow: visible; }
.hl-path { fill: #fff; stroke: #fff; stroke-width: .7; stroke-linejoin: round; }
.hero-tagline { margin-top: 26px; font-size: clamp(12px, 1.4vw, 16px); letter-spacing: .28em; font-weight: 300; color: rgba(255,255,255,.92); }
.anim .hero-tagline { animation: heroRise 1.4s 2.9s cubic-bezier(.22,1,.36,1) both; }
html[data-daypart="morning"] .hero .hero-bg::after { background: linear-gradient(rgba(66,50,34,.34), rgba(28,30,40,.56)); }
html[data-daypart="dusk"] .hero .hero-bg::after { background: linear-gradient(rgba(96,40,20,.36), rgba(30,24,44,.6)); }
html[data-daypart="night"] .hero .hero-bg::after { background: linear-gradient(rgba(12,18,38,.6), rgba(8,12,26,.7)); }

/* about: oversized photo + overlapping text */
.about-composite { position: relative; }
.about-photo { width: auto; margin-left: clamp(0px, 24%, 320px); margin-right: calc(50% - 50vw); aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.about-text { position: relative; z-index: 2; max-width: 640px; background: rgba(255,255,255,.94); backdrop-filter: blur(4px); padding: 44px 48px; margin-top: clamp(-220px, -14vw, -110px); box-shadow: 0 24px 60px rgba(34,40,46,.1); }

/* plan: equal card rhythm */
.plan-card { position: relative; }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); margin: 0; }
.plan-card h3 { min-height: 64px; display: flex; flex-direction: column; justify-content: center; }
.plan-price { min-height: 60px; display: flex; align-items: baseline; justify-content: center; gap: 2px; margin: 14px 0 6px; }
.plan-price .yen { align-self: center; }
.plan-desc { min-height: 7.6em; }

/* folded simulator / corp compare */
.fold { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-top: 32px; }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px; padding: 24px 28px; font-size: 17px; font-weight: 600; }
.fold > summary::-webkit-details-marker { display: none; }
.fold .fold-sub { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.fold .fold-chev { margin-left: auto; color: var(--ink-soft); transition: transform .25s ease; }
.fold[open] > summary .fold-chev { transform: rotate(180deg); }
.fold .simulator, .fold .corp-compare { border: 0; margin-top: 0; padding-top: 8px; }

/* service: bigger icons, aligned cells */
.service-cell { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 34px 12px 28px; font-size: 14px; }
.service-cell svg { width: 54px; height: 54px; stroke-width: 1.2; margin: 0 0 16px; }

/* gallery: oversized bleed carousel */
.carousel { margin-right: calc(50% - 50vw); }
.carousel-track { padding-right: 24px; }
.slide { flex: 0 0 min(860px, 76vw); }
.slide-img { aspect-ratio: 3 / 2; }
.slide figcaption { font-size: 15px; margin-top: 14px; }

/* floor: furniture-layout based map */
.fm-desk { fill: #dde4ea; }
.fm-chair { fill: #c6cfd8; }
.fm-core rect { fill: #eceef1; stroke: var(--line); }
rect.fm-core { fill: #eceef1; stroke: var(--line); } /* rect自体にfm-coreが付く箇所（W.C・EV等）の黒塗り防止 */
.fm-core text { font-size: 10.5px; fill: var(--ink-soft); font-family: var(--sans-jp); }
.fm-stair line { stroke: #d4d9de; stroke-width: 1.5; }
.fm-label-s { font-size: 10.5px; fill: var(--ink-soft); font-family: var(--sans-jp); }

/* howto: app screenshots */
.app-shots { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; align-items: flex-start; }
.app-shots img { width: 132px; height: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.app-shots img.shot-wide { width: 264px; border-radius: 8px; } /* 手順フロー図など横長画像 */
.app-shots img.shot-tall { width: 190px; border-radius: 18px; } /* 単体のスマホ画面（大きめに表示） */
.qr-shots figure { margin: 0; text-align: center; }
.qr-shots img { width: 150px; border-radius: 8px; padding: 8px; }
.qr-shots figcaption { font-size: 12px; color: #66707c; margin-top: 6px; letter-spacing: .04em; }

/* legal pages */
body.legal-page { background: var(--canvas); }
.legal-back { font-size: 13px; letter-spacing: .12em; }
.legal-main { max-width: 800px; margin: 0 auto; padding: calc(var(--header-h) + 48px) 24px 80px; }
.legal-main h1 { font-size: 26px; margin-bottom: 8px; }
.legal-main .legal-date { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 40px; }
.legal-main h2 { font-size: 17px; margin: 36px 0 10px; }
.legal-main p, .legal-main li { font-size: 14px; }
.legal-main ol, .legal-main ul { padding-left: 22px; margin: 8px 0; }
.legal-main ol li { list-style: decimal; padding: 3px 0; }
.legal-main ul li { list-style: disc; padding: 3px 0; }

/* responsive v0.3 */
@media (max-width: 900px) {
  .plan-card h3, .plan-price, .plan-desc { min-height: 0; }
  .about-photo { margin-left: 0; }
  .about-text { margin-top: -64px; margin-right: 24px; max-width: none; padding: 28px 24px; }
}
@media (max-width: 760px) {
  .hero-inner { padding: 0 24px 88px; }
  .hero-logo-svg { width: 150px; }
  .slide { flex-basis: 88vw; }
  .app-shots img { width: 104px; }
  .app-shots img.shot-wide { width: 100%; max-width: 300px; }
  .app-shots img.shot-tall { width: 150px; }
  .qr-shots img { width: 124px; }
  .fold > summary { padding: 18px; font-size: 15px; flex-wrap: wrap; gap: 8px; }
}

/* --- v0.4: D-1 hero logo --- */
.hero-logo-svg.d1 { width: clamp(120px, 14vw, 180px); height: auto; display: block; overflow: visible; }
.hero-logo-svg.d1 .d1-mark,
.hero-logo-svg.d1 .d1-kana { fill: #fff; stroke: #fff; stroke-width: .5; stroke-linejoin: round; stroke-linecap: round; }
.hero-logo-svg.d1 .d1-text { fill: #fff; }

/* --- v0.4: contact form --- */
.cf-form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; margin: 32px auto 0; }
.cf-label { display: block; font-size: 12.5px; letter-spacing: .1em; color: rgba(255,255,255,.75); margin-bottom: 5px; }
.cf-label .req { color: rgba(255,180,100,.9); margin-left: 3px; font-size: 11px; }
.cf-input, .cf-textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 3px; padding: 10px 14px;
  font-size: 14px; font-family: inherit;
  transition: border-color .2s;
}
.cf-input:focus, .cf-textarea:focus { outline: none; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.15); }
.cf-input::placeholder, .cf-textarea::placeholder { color: rgba(255,255,255,.38); }
.cf-textarea { resize: vertical; min-height: 110px; }
.cf-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.cf-agree input[type=checkbox] { margin-top: 2px; accent-color: #fff; flex-shrink: 0; }
.cf-agree a { color: rgba(255,255,255,.85); text-decoration: underline; }
.cf-submit {
  align-self: center; margin-top: 4px;
  padding: 13px 40px; border: 1.5px solid rgba(255,255,255,.8); background: transparent;
  color: #fff; font-size: 14px; letter-spacing: .18em; border-radius: 2px; cursor: pointer;
  transition: background .2s, color .2s;
}
.cf-submit:hover { background: rgba(255,255,255,.15); }
.cf-status { text-align: center; font-size: 13px; color: rgba(255,255,255,.85); min-height: 20px; }

/* --- v0.4: legal upgrades --- */
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 40px; }
.legal-toc a { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 2px; color: var(--accent); text-decoration: none; transition: background .15s; }
.legal-toc a:hover { background: var(--surface); }
.legal-sec { border-top: 2px solid var(--line); margin-top: 48px; padding-top: 32px; }
.legal-sec h2 { font-size: 18px; margin-bottom: 4px; }
.legal-sec .legal-en { font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); font-weight: 300; margin-left: 10px; }
.legal-main h3 { font-size: 15px; margin: 28px 0 8px; border-left: 3px solid var(--accent); padding-left: 10px; }
.legal-sub { list-style: none !important; padding-left: 0 !important; }
.legal-sub li { padding: 4px 0 4px 18px; position: relative; font-size: 13.5px; }
.legal-sub li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 5px; height: 1px; background: var(--ink-soft); }
.legal-note { font-size: 12.5px; color: var(--ink-soft); padding: 8px 12px; background: var(--surface); border-radius: 2px; }
.legal-back-top { display: inline-block; margin-top: 24px; font-size: 12px; color: var(--ink-soft); text-decoration: none; letter-spacing: .08em; }
.legal-back-top:hover { color: var(--accent); }

/* v0.5: 改訂履歴テーブル */
.rev-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13.5px; }
.rev-table th, .rev-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.7; }
.rev-table th { background: var(--surface); font-weight: 600; white-space: nowrap; }
.rev-table td:nth-child(1), .rev-table td:nth-child(2) { white-space: nowrap; }
.rev-table td:nth-child(1) { font-weight: 500; }
.rev-table tbody tr:nth-child(odd) td { background: var(--surface); }
@media (max-width: 760px) {
  .rev-table td:nth-child(1), .rev-table td:nth-child(2) { white-space: normal; }
  .rev-table th, .rev-table td { padding: 10px 8px; font-size: 12.5px; }
}

/* sr-only アクセシビリティ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- v0.9.1: 貸切スペースワイドカード・SNSラベル ---------- */
.plan-note-fine { font-size: 11px; color: var(--ink-soft); line-height: 1.9; margin-top: 16px; }
.footer-sns a.sns-link-ig { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.footer-sns .sns-label { font-size: 12px; letter-spacing: 0.12em; }
@media (max-width: 900px) {
}


/* ===================== v0.9.1 additions ===================== */
/* News: Instagramバナー */

/* Gallery: Instagram導線CTA */
.gallery-more { margin-top: 24px; text-align: right; }
.gallery-more a { font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.gallery-more a:hover { color: var(--accent); border-color: var(--accent); }

/* Contact: 問い合わせフォーム */
.contact-form { max-width: 640px; margin: 28px auto 8px; padding: 28px 24px; background: rgba(255, 255, 255, 0.96); color: var(--ink); text-align: left; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.req { display: inline-block; font-size: 11px; line-height: 1.6; background: var(--accent); color: #fff; padding: 0 6px; margin-left: 6px; vertical-align: middle; }
.form-row input[type="text"], .form-row input[type="email"], .form-row select, .form-row textarea { width: 100%; padding: 10px 12px; font-family: var(--sans-jp); font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; }
.form-agree label { display: inline; font-weight: 400; }
.form-agree a { color: inherit; }
.cf-extra { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { border-color: var(--ink); color: var(--ink); }
.contact-form .btn:hover { background: var(--ink); color: #fff; }
#cf-submit[disabled] { opacity: 0.6; pointer-events: none; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 1.5em; }
.form-status.ok { color: #2e7d32; }
.form-status.ng { color: #c62828; }
.contact-alt { margin-top: 28px; }

/* 特商法ページ */
.tokusho-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; line-height: 1.8; }
.tokusho-table th, .tokusho-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.tokusho-table th { background: var(--surface); width: 220px; font-weight: 500; }
@media (max-width: 640px) { .tokusho-table th { width: 110px; } }

/* ===================== v0.9.2 ===================== */
/* News: Instagramバナー（写真背景カード） */
.ig-banner { position: relative; display: block; max-width: 820px; margin-top: 32px; overflow: hidden; color: #fff; text-decoration: none; }
.ig-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ig-banner::after { content: ""; position: absolute; inset: 0; background: rgba(24, 30, 36, 0.55); }
.ig-banner-inner { position: relative; z-index: 1; padding: 40px 28px; text-align: center; }
.ig-banner-inner .ig-icon { width: 34px; height: 34px; fill: #fff; margin-bottom: 10px; }
.ig-banner-title { font-family: var(--serif-en); font-size: 20px; letter-spacing: 0.1em; margin-bottom: 8px; }
.ig-banner-desc { font-size: 14px; opacity: .92; margin-bottom: 20px; }
.ig-banner-cta { display: inline-block; padding: 12px 30px; border: 1px solid #fff; font-size: 14px; letter-spacing: .06em; transition: background .2s, color .2s; }
.ig-banner:hover .ig-banner-cta { background: #fff; color: var(--ink); }
.ig-banner:hover .ig-banner-bg { transform: scale(1.04); }

/* Gallery: Instagramタイル */
.slide-ig { position: relative; display: block; text-decoration: none; }
.slide-ig-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(24, 30, 36, 0.55); color: #fff; font-size: 15px; line-height: 1.6; letter-spacing: .05em; text-align: center; transition: background .2s; }
.slide-ig:hover .slide-ig-overlay { background: rgba(24, 30, 36, 0.72); }
.slide-ig .ig-icon { width: 30px; height: 30px; fill: #fff; }

/* HowToUse: キャプション付きスクリーンショット */
.shots-captioned figure { margin: 0; text-align: center; }
.shots-captioned figure img { width: 150px; border-radius: 16px; }
.shots-captioned figcaption { font-size: 12px; color: #66707c; margin-top: 6px; letter-spacing: .02em; }

/* Contact: フォームページへのCTA */
.contact-cta { margin-bottom: 10px; }

/* お問い合わせページ */
.contact-page .contact-form { border: 1px solid var(--line); margin: 32px 0 8px; }
.contact-page .contact-lead { margin-top: 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.contact-page .contact-alt { margin-top: 28px; margin-bottom: 12px; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 700px) {
  .shots-captioned figure img { width: 124px; }
  .ig-banner-inner { padding: 32px 20px; }
}

/* ===================== v0.9.3 ===================== */
/* Top: News rows as links + more link */
a.news-row{color:inherit;text-decoration:none;transition:opacity .25s ease;}
a.news-row:hover{opacity:.6;}
.news-more{margin:20px 0 0;text-align:right;}
.news-more a{color:inherit;text-decoration:none;font-size:.88rem;letter-spacing:.05em;border-bottom:1px solid rgba(0,0,0,.35);padding-bottom:2px;transition:opacity .25s ease;}
.news-more a:hover{opacity:.6;}

/* News page (news.html) */
.news-page .news-lead{margin:0 0 56px;color:#777;font-size:.93rem;line-height:1.9;}
.news-article{padding:48px 0;border-top:1px solid #e4dfd7;}
.news-article:last-of-type{border-bottom:1px solid #e4dfd7;}
.news-article-date{margin:0 0 8px;font-size:.84rem;letter-spacing:.08em;color:#9a948b;}
.news-article-title{margin:0 0 22px;font-size:1.18rem;line-height:1.65;font-weight:600;}
.news-article-sub{color:#777;}
.news-article-img{margin:0 0 26px;}
.news-article-img img{width:100%;max-width:680px;height:auto;display:block;border-radius:4px;}
.news-article-body p{margin:0 0 1.1em;line-height:2;font-size:.92rem;}
.news-article-body h3{margin:1.8em 0 .6em;font-size:1rem;font-weight:600;}
.news-article-body ul,.news-article-body ol{margin:0 0 1.1em;padding-left:1.5em;line-height:2;font-size:.92rem;}
.news-article-body li{margin:0 0 .35em;}
.news-article-body a{color:inherit;}
@media (max-width:600px){.news-article{padding:36px 0;}.news-article-title{font-size:1.05rem;}}

/* ===================== v0.9.4 ===================== */
/* News list cards */
.news-year{margin:44px 0 6px;font-size:1.05rem;letter-spacing:.16em;color:#9a948b;font-weight:500;}
.news-lead + .news-year{margin-top:0;}
.legal-main .news-cards{list-style:none;margin:0 0 8px;padding:0;}
.legal-main .news-cards li{list-style:none;padding:0;border-top:1px solid #e4dfd7;}
.legal-main .news-cards li:last-child{border-bottom:1px solid #e4dfd7;}
.news-card{display:flex;gap:24px;padding:26px 4px;color:inherit;text-decoration:none;transition:opacity .25s ease;}
.news-card:hover{opacity:.65;}
.news-card-thumb{flex:0 0 148px;}
.news-card-thumb img{width:148px;height:100px;object-fit:cover;border-radius:4px;display:block;}
.news-card-main{flex:1;min-width:0;}
.news-card-meta{margin:0 0 6px;font-size:.84rem;color:#9a948b;letter-spacing:.08em;}
.news-card-title{margin:0 0 8px;font-size:1.02rem;font-weight:600;line-height:1.6;}
.news-card-excerpt{margin:0;font-size:.86rem;color:#8a8479;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
/* Category labels */
.news-label{display:inline-block;margin-left:10px;padding:1px 9px;font-size:.72rem;letter-spacing:.06em;border:1px solid;border-radius:2px;vertical-align:1px;}
.news-label-info{color:#8a8479;border-color:#c9c3b8;}
.news-label-event{color:#a8663f;border-color:#d8b49d;}
.news-label-report{color:#5f7a5a;border-color:#b3c6ae;}
/* News detail page */
.news-detail .news-article-title{font-size:1.35rem;line-height:1.7;margin:0 0 26px;}
.news-detail-article{padding:8px 0 0;}
.news-pager{display:flex;justify-content:space-between;gap:16px;margin-top:56px;padding-top:28px;border-top:1px solid #e4dfd7;}
.news-pager a{display:block;max-width:46%;color:inherit;text-decoration:none;transition:opacity .25s ease;}
.news-pager a:hover{opacity:.6;}
.pager-next{text-align:right;margin-left:auto;}
.pager-dir{display:block;font-size:.78rem;letter-spacing:.1em;color:#9a948b;margin-bottom:6px;}
.pager-title{display:block;font-size:.88rem;line-height:1.6;}
.news-detail-links{margin:40px 0 0;text-align:center;}
.news-detail-links a{display:inline-block;margin:0 14px;font-size:.86rem;color:inherit;text-decoration:none;border-bottom:1px solid #b9b3a8;padding-bottom:2px;transition:opacity .25s ease;}
.news-detail-links a:hover{opacity:.6;}
/* Floating back-to-top */
.to-top{position:fixed;right:22px;bottom:22px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #c9c3b8;border-radius:50%;background:rgba(255,255,255,.92);color:#6b6459;text-decoration:none;font-size:17px;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:90;}
.to-top.show{opacity:1;visibility:visible;}
.to-top:hover{border-color:#8a8479;}
@media (max-width:600px){
  .news-card{flex-direction:column;gap:12px;padding:22px 0;}
  .news-card-thumb{flex:none;}
  .news-card-thumb img{width:100%;height:150px;}
  .news-pager{flex-direction:column;}
  .news-pager a{max-width:100%;}
  .pager-next{text-align:left;margin-left:0;}
  .news-detail .news-article-title{font-size:1.15rem;}
}

/* ===================== v0.9.5 additions ===================== */
.store-badges { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 14px 0 4px; }
.store-badges a { display: block; }
.store-badges img { height: 48px; width: auto; display: block; }
.plan-card.plan-featured { border: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(44, 62, 80, .08); }
.plan-for { text-align: center; font-size: 13px; font-weight: 700; color: var(--accent); margin: 6px 0 2px; }
.plan-links { margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.plan-card .plan-links .text-link { margin-top: 0; }
.plan-sublink { font-size: 13px; color: var(--ink-soft); }
.sim-cta { margin-top: 14px; text-align: center; }
