/* torano-space.com visual system - 2026-09
   Warm palette (2026-09-06, 大介さん裁定): tiger yellow from the logo, cream paper,
   warm brown ink instead of black. Photos first, restrained radius, a reservation
   path that is never lost (same structure as DAYS, different temperature). */
:root {
  --torano-ink: #2a2117;
  --torano-text: #3b3226;
  --torano-muted: #7b6b55;
  --torano-paper: #fffdf8;
  --torano-mist: #fff4d6;
  --torano-line: #f1dfae;
  --torano-line-strong: #e3c878;
  --torano-accent: #f4c142; /* logo yellow: primary buttons, highlights */
  --torano-accent-deep: #e5ad1c;
  --torano-alert: #d2452c;
  --torano-shadow: 0 18px 50px rgba(90, 60, 0, 0.10);
  --torano-shadow-hover: 0 24px 64px rgba(90, 60, 0, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--torano-paper);
  color: var(--torano-text);
  font-family: "Helvetica Neue", "Hiragino Sans", "Yu Gothic", YuGothic, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid rgba(224, 163, 0, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--torano-muted);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  display: inline-block;
  background: currentColor;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--torano-accent-deep);
  border-radius: 4px;
  background: var(--torano-accent);
  color: var(--torano-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--torano-accent-deep);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--torano-line-strong);
  background: var(--torano-paper);
  color: var(--torano-ink);
}

.button.secondary:hover {
  border-color: var(--torano-ink);
  background: var(--torano-mist);
}

.button.large {
  min-height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--torano-accent);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo img {
  width: 250px;
  max-width: 60vw;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--torano-ink);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 26px 0 23px;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 1px;
  background: var(--torano-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-reserve-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-reserve-actions .button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--torano-line-strong);
  border-radius: 4px;
  background: var(--torano-paper);
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--torano-ink);
  transform: translateX(-50%);
  content: "";
}

.menu-toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  padding: 0;
}

.hero-photo {
  position: relative;
  min-height: 420px;
  max-height: 620px;
  overflow: hidden;
  background: var(--torano-ink);
}

.hero-photo > img {
  width: 100%;
  height: min(62vh, 620px);
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-overlay {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 44px;
  left: max(24px, calc((100vw - 1120px) / 2));
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-overlay .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero-overlay h1 {
  margin: 10px 0 14px;
  max-width: 680px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.35;
}

.hero-overlay p {
  max-width: 560px;
  font-size: 15px;
}

.hero-overlay .actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.92);
}

/* Sub-page hero */
.page-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--torano-line);
  background: linear-gradient(180deg, var(--torano-mist) 0%, var(--torano-paper) 100%);
}

.page-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.35;
}

.page-hero .lead {
  max-width: 680px;
  color: var(--torano-muted);
}

/* Notice band (black) */
.notice-band {
  background: var(--torano-ink);
  color: #fff;
}

.notice-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}

.notice-band strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.notice-band p {
  margin: 4px 0 0;
  color: #cfd1cc;
  font-size: 13px;
}

.notice-band .button {
  border-color: #fff;
  background: #fff;
  color: var(--torano-ink);
}

/* Sections */
section {
  padding: 80px 0;
}

section.mist {
  background: var(--torano-mist);
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 8px 0 10px;
  color: var(--torano-ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.35;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--torano-muted);
  font-size: 14px;
}

h2,
h3,
h4 {
  color: var(--torano-ink);
  line-height: 1.4;
}

.content h2 {
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--torano-line-strong);
  font-size: 22px;
  font-weight: 600;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin: 32px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--torano-ink);
  font-size: 17px;
  font-weight: 600;
}

.content ul {
  padding-left: 1.3em;
}

.content figure {
  margin: 18px 0 26px;
}

.content figure img {
  border-radius: 4px;
  border: 1px solid var(--torano-line);
}

.content figcaption {
  margin-top: 8px;
  color: var(--torano-muted);
  font-size: 13px;
}

.content .note {
  color: var(--torano-muted);
  font-size: 14px;
}

.content .alert {
  color: var(--torano-alert);
  font-weight: 600;
}

.content .red {
  color: var(--torano-alert);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 12px;
}

table.plain {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  background: var(--torano-paper);
  font-size: 14px;
}

table.plain th,
table.plain td {
  padding: 12px 14px;
  border: 1px solid var(--torano-line);
  text-align: left;
  vertical-align: top;
}

table.plain th {
  background: var(--torano-mist);
  color: var(--torano-ink);
  font-weight: 600;
}

table.plain td.center,
table.plain th.center {
  text-align: center;
}

table.plain tbody tr:nth-child(even) td {
  background: #fffaf0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--torano-line);
  border-radius: 4px;
  background: var(--torano-paper);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: var(--torano-line-strong);
  box-shadow: var(--torano-shadow-hover);
  transform: translateY(-3px);
}

.card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 22px;
}

.card-body h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.card-body p {
  margin: 0;
  color: var(--torano-muted);
  font-size: 13px;
}

.card-body .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--torano-line);
  color: var(--torano-muted);
  font-size: 12px;
}

.card-body .button {
  margin-top: 6px;
}

/* Price summary */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-tile {
  padding: 26px 22px;
  border: 1px solid var(--torano-line);
  border-top: 4px solid var(--torano-accent);
  border-radius: 4px;
  background: var(--torano-paper);
}

.price-tile .label {
  color: var(--torano-muted);
  font-size: 13px;
  font-weight: 700;
}

.price-tile .amount {
  margin: 6px 0 4px;
  color: var(--torano-ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.price-tile .amount small {
  font-size: 14px;
  font-weight: 600;
}

.price-tile .sub {
  margin: 0;
  color: var(--torano-muted);
  font-size: 12px;
}

.price-tile .off {
  margin-top: 8px;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--torano-mist);
  color: var(--torano-ink);
  font-size: 12px;
  font-weight: 700;
}

/* News list */
.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--torano-line-strong);
}

.news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--torano-line);
  transition: background-color 160ms ease, padding 160ms ease;
}

.news-item:hover {
  padding-right: 16px;
  padding-left: 16px;
  background: var(--torano-mist);
}

.news-item time {
  color: var(--torano-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.news-item .news-title {
  color: var(--torano-ink);
  font-size: 15px;
  font-weight: 600;
}

.news-item .news-arrow {
  color: var(--torano-muted);
  font-size: 20px;
}

/* News article */
.article {
  max-width: 760px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--torano-muted);
  font-size: 13px;
  font-weight: 700;
}

.article-body {
  margin-top: 28px;
}

.article-body img {
  border-radius: 4px;
  border: 1px solid var(--torano-line);
}

.article-body figure {
  margin: 18px 0 26px;
}

.article-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--torano-line);
}

/* CTA */
.cta {
  background: var(--torano-mist);
  border-top: 1px solid var(--torano-line);
}

.cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
}

.cta p {
  margin: 0;
  color: var(--torano-muted);
  font-size: 14px;
}

/* Embeds */
.embed {
  position: relative;
  width: 100%;
  border: 1px solid var(--torano-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--torano-paper);
}

.embed iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

.embed.map iframe {
  height: 420px;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.contact-form-row {
  display: grid;
  gap: 8px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form label small {
  color: var(--torano-alert);
  font-weight: 700;
  margin-left: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--torano-line-strong);
  border-radius: 4px;
  padding: 14px 15px;
  font: inherit;
  line-height: 1.6;
  background: var(--torano-paper);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-note {
  color: var(--torano-muted);
  font-size: 13px;
}

.contact-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-alert {
  display: none;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.contact-alert.is-visible {
  display: block;
}

.contact-alert.success {
  background: #eef8f1;
  color: #1f5a3b;
}

.contact-alert.error {
  background: #fff3f0;
  color: #9b2f1f;
}

.emergency {
  padding: 22px 24px;
  border: 1px solid var(--torano-line);
  border-radius: 4px;
  background: var(--torano-mist);
}

.emergency a {
  font-weight: 700;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  background: var(--torano-ink);
  color: #e9dcc3;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-logo {
  width: 240px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--torano-paper);
}

.footer-address {
  margin-top: 16px;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-content: start;
}

.footer-links a {
  color: #fff3d6;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bfae90;
  font-size: 12px;
}

/* Mobile reservation bar */
.mobile-reservation-bar {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    padding: 6px 0 12px;
    border-bottom: 1px solid var(--torano-line);
    background: var(--torano-paper);
    box-shadow: var(--torano-shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--torano-line);
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .card-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta .container,
  .notice-band .container {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14.5px;
  }

  .container {
    width: min(1120px, calc(100% - 32px));
  }

  section {
    padding: 56px 0;
  }

  .header-reserve-actions {
    display: none;
  }

  .logo img {
    width: 200px;
  }

  .hero-photo,
  .hero-photo > img {
    min-height: 360px;
  }

  .hero-overlay {
    bottom: 28px;
  }

  .card-grid,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .news-item time {
    grid-column: 1 / -1;
  }

  .embed iframe {
    height: 520px;
  }

  body.has-mobile-reservation-bar {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .mobile-reservation-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(42, 33, 23, 0.14);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 -10px 32px rgba(42, 33, 23, 0.12);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
    transition: opacity 0.28s ease;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-reservation-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-reservation-bar a {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--torano-ink);
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-reservation-bar a + a {
    border-left: 1px solid rgba(42, 33, 23, 0.14);
  }

  .mobile-reservation-bar a.primary {
    background: var(--torano-accent);
    color: var(--torano-ink);
  }
}
