:root {
  --ink: #143b32;
  --ink-deep: #0b2420;
  --paper: #f3f1e7;
  --lime: #dff36c;
  --sage-line: #b9c4ad;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font);
}
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { line-break: strict; word-break: auto-phrase; text-wrap: balance; }
:focus-visible { outline: 3px solid #427a65; outline-offset: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  transform: translateY(calc(-100% - 20px));
  background: var(--paper);
  padding: .55em 1em;
  font-weight: 650;
}
.skip-link:focus { transform: none; }
.page-shell { margin-inline: auto; }
.rail { display: none; }
.lp { min-width: 0; background: var(--paper); }
.case-intro {
  padding: .65rem clamp(16px, 5vw, 28px);
  border-bottom: 1px solid var(--sage-line);
}
.case-intro p { margin: 0; }
.case-title { font-weight: 700; line-height: 1.45; }
.case-scope { color: #3b5b4f; font-size: .85rem; }
.art { position: relative; background: var(--paper); }
.art-hero, .art-close { background: var(--ink-deep); }
.art img { display: block; width: 100%; height: auto; }
.art-action {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: .65rem;
  transition: background-color 160ms ease;
}
.art-action:hover { background: #fff2; }
.art-action:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.hero-action { inset: 86.3% 6.1% 4.8%; }
.closing-action { inset: 79.5% 6.5% 11.6%; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .7em;
  min-height: 46px;
  padding: .66em .95em;
  border: 1px solid transparent;
  border-radius: .38em;
  background: var(--lime);
  color: var(--ink-deep);
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}
.pill:hover { background: #cce94e; }
.price-booking {
  padding: 0 clamp(20px, 6vw, 46px) 1.3rem;
  background: var(--ink);
}
.price-action { width: 100%; }
.price-action:focus-visible { outline-color: var(--lime); }
.questions {
  padding: clamp(22px, 5vw, 42px) clamp(20px, 6vw, 46px) clamp(28px, 6vw, 50px);
  background: var(--paper);
}
.questions details { border-top: 1px solid var(--sage-line); }
.questions details:last-child { border-bottom: 1px solid var(--sage-line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  min-height: 46px;
  padding: .75em 0;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.55;
  list-style: none;
}
details:not([open]) > :not(summary) { display: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.25em; font-weight: 400; line-height: 1; }
details[open] > summary::after { content: "−"; }
.faq-question { text-wrap: balance; }
.questions details p, .portfolio p { margin: 0 1.6rem .95rem 0; }
.site-footer {
  padding: 1.25rem clamp(20px, 6vw, 46px) 1.6rem;
  color: var(--paper);
  background: var(--ink-deep);
  font-size: .92rem;
}
.footer-line { display: flex; flex-wrap: wrap; gap: .4em 1.3em; align-items: center; }
.footer-line p { margin: 0; }
.footer-line a { text-underline-offset: .26em; }
.portfolio { margin-top: .9rem; border-top: 1px solid #fff4; }
.site-footer :focus-visible { outline-color: var(--lime); }
.booking {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--sage-line);
  border-radius: 1.15rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 64px #0b242050;
}
.booking::backdrop { background: #0b2420bb; }
.booking-inner { position: relative; padding: clamp(1.25rem, 5vw, 2rem); }
.booking h2 { margin: 0 2.15rem .52rem 0; font-size: clamp(1.15rem, 4.3vw, 1.52rem); }
.booking-intro, .booking-result p { margin: 0 0 1rem; line-height: 1.6; }
.close-booking {
  display: grid;
  position: absolute;
  top: .72rem;
  right: .72rem;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--sage-line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  padding: 0;
  font-size: 1.45rem;
  line-height: 1;
}
.close-booking:hover, .soft-button:hover { background: #e3e8d8; }
.booking fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.booking legend { padding: 0; margin: 0 0 .58em; font-weight: 700; }
.slot {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
  padding: .58rem .8rem;
  border: 1px solid var(--sage-line);
  border-radius: .35rem;
  min-height: 44px;
  cursor: pointer;
}
.slot:has(input:checked) { background: #edf2cc; border-color: #526b4a; }
.slot input { margin: 0; accent-color: var(--ink); }
.slot strong { margin-left: .2em; font-variant-numeric: tabular-nums; }
.booking-next { width: 100%; margin-top: .72rem; }
.booking-result h3 { margin: .75rem 0 .25rem; font-size: 1rem; }
.booking-result .result-slot { margin-bottom: .6rem; font-size: 1.55rem; font-weight: 730; }
.result-controls { display: flex; flex-wrap: wrap; gap: .65rem; }
.soft-button {
  padding: .55em .8em;
  min-height: 44px;
  border: 1px solid var(--sage-line);
  border-radius: .38em;
  color: var(--ink);
  background: var(--paper);
  font-weight: 650;
}
@media (min-width: 660px) and (max-width: 999px) {
  .page-shell { max-width: 650px; }
}
@media (min-width: 1000px) {
  .page-shell {
    display: grid;
    grid-template-columns: minmax(210px, 263px) minmax(0, 672px);
    justify-content: center;
    gap: clamp(30px, 7vw, 105px);
    padding: 0 clamp(24px, 4vw, 56px);
  }
  .rail {
    display: block;
    position: sticky;
    top: clamp(26px, 9vh, 82px);
    align-self: start;
  }
  .rail-brand { font-size: clamp(1.5rem, 2.55vw, 2.25rem); font-weight: 760; text-decoration: none; }
  .rail-note { margin: .15em 0 1.65em; font-size: .96rem; }
  .rail nav { border-top: 1px solid var(--sage-line); }
  .rail nav a {
    display: block;
    padding: .52em 0;
    border-bottom: 1px solid var(--sage-line);
    text-decoration: none;
    font-weight: 540;
  }
  .rail nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
  .rail-offer { margin-top: 1.35rem; }
  .rail-offer p { margin: 0 0 .45rem; font-size: .92rem; font-weight: 700; }
  .rail-action { width: 100%; }
  .price-booking { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .art-action { transition: none; }
}
