/* Shared BRIO detail-page design. Content, prices and form destinations are retained. */
:root {
  --color-primary: #a94112;
  --color-primary-hover: #87350e;
  --color-text: #173334;
  --color-text-light: #536462;
  --color-bg: #f5f3ed;
  --color-bg-light: #e8ece5;
  --font-heading: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --container-width: 1240px;
  --container-padding: clamp(22px, 5vw, 70px);
}
html {
  scroll-padding-top: 100px;
  scrollbar-gutter: stable;
}
body {
  background: var(--color-bg);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #a94112;
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  background: #f5f3ed;
  padding: 14px 20px;
  z-index: 2000;
}
.skip-link:focus {
  top: 12px;
}
.header,
.header.scrolled {
  background: #f5f3ed;
  border-bottom: 1px solid #c8cdc3;
  box-shadow: none;
  height: 80px;
}
.header-logo img,
.header.scrolled .header-logo img {
  height: auto;
  width: 112px;
}
.nav-desktop {
  gap: 24px;
}
.nav-link {
  font-size: 13px;
}
.sns-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sns-icon img {
  width: 24px;
  height: 24px;
}
.sns-links {
  gap: 2px;
  margin-left: 0;
}
.menu-toggle {
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  padding: 11px 8px;
}
.menu-toggle span {
  flex-shrink: 0;
}
.nav-mobile {
  visibility: hidden;
  /* Make keyboard focus available as soon as the menu opens. */
  transition: none;
  height: 100dvh;
  padding: 100px 24px 30px;
  overflow-y: auto;
  justify-content: flex-start;
}
.nav-mobile.active {
  visibility: visible;
}
.nav-mobile li {
  margin: 10px 0;
}
.nav-mobile a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.page-header {
  margin-top: 80px;
  height: 430px;
  min-height: 0;
}
.page-header-overlay {
  background: linear-gradient(90deg, #173334b8, #17333438);
}
.page-title h1 {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.page-title span {
  font-size: 16px;
}
.section {
  padding-block: 80px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
}
.section-title span {
  color: #536462;
  font:
    600 11px/1.6 Arial,
    sans-serif;
  letter-spacing: 0.15em;
}
.about-us-text {
  max-width: 850px;
  margin: auto;
}
.about-us-text h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.8;
}
.sub-nav-section {
  border: 1px solid #c8cdc3;
  background: #e8ece5;
  border-radius: 0;
}
.sub-nav-col {
  min-width: 0;
}
.sub-nav-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-primary {
  background: #173334;
  border-radius: 0;
  padding: 14px 24px;
  min-height: 48px;
}
.btn-primary:hover {
  background: #a94112;
  color: #fff;
}
.price-table-wrapper {
  overflow-x: auto;
}
.price-table th {
  background: #e8ece5;
}
.price-table th.table-title {
  background: #173334;
  color: #fff;
}
.form-wrapper {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  border: 1px solid #c8cdc3;
}
.form-row label {
  line-height: 1.7;
}
.form-row input,
.form-row select,
.form-row textarea {
  min-height: 48px;
  border-radius: 0;
  max-width: 100%;
  font-size: 16px;
}
.form-row2 button {
  background: #173334;
  border-radius: 0;
  min-height: 48px;
}
.footer {
  background: #173334;
}
.footer a {
  overflow-wrap: anywhere;
}
.footer-heading {
  color: #fff;
}
.page-top {
  border: 0;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
}
.page-top:not(.show) {
  visibility: hidden;
}
.nav-link[aria-current="page"] {
  border-bottom: 2px solid #a94112;
}
.detail-reservation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #c8cdc3;
  padding: 24px 0;
  flex-wrap: wrap;
}
.detail-reservation a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 20px;
  background: #173334;
  color: white;
  font-size: 14px;
}
.detail-reservation p {
  font-size: 14px;
}
.form-row > select {
  width: 100%;
}
section[id] {
  scroll-margin-top: 100px;
}
@media (max-width: 990px) {
  .header,
  .header.scrolled {
    height: 72px;
  }
  .header-logo img,
  .header.scrolled .header-logo img {
    width: 100px;
  }
  .page-header {
    margin-top: 72px;
  }
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .page-header {
    height: 360px;
  }
}
@media (max-width: 600px) {
  .section {
    padding-block: 55px;
  }
  .page-header {
    height: 320px;
  }
  .about-us-text h3 {
    font-size: 20px;
  }
  .sub-nav-section {
    padding: 25px 20px;
  }
  .form-wrapper {
    padding: 25px 20px;
  }
  .page-title h1 {
    font-size: 56px;
  }
  .footer-grid {
    gap: 32px;
  }
  .detail-reservation a {
    width: 100%;
    justify-content: center;
  }
  .price-table th,
  .price-table td {
    padding: 10px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* The detail masthead pairs the actual place with a quiet editorial title. */
.page-header {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  isolation: isolate;
  background: #e1e6df;
  margin-bottom: 0;
  overflow: visible;
}
.page-header-bg {
  position: static;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  z-index: 0;
}
.page-header-overlay {
  display: none;
}
.page-title {
  padding: 45px clamp(25px, 5vw, 80px);
  text-align: left;
  color: #173334;
}
.page-title h1 {
  font-family: var(--font-heading);
  font-size: clamp(45px, 5.5vw, 82px);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.page-title span {
  font-size: 16px;
}
.point-item img {
  aspect-ratio: 482/479;
  object-fit: contain;
}
.image-grid-item img {
  aspect-ratio: 1;
  object-fit: cover;
}
.detail-reservation {
  padding-block: 22px;
}
section[id] {
  scroll-margin-top: 96px;
}
@media (max-width: 600px) {
  .page-header {
    grid-template-columns: 1fr;
    height: auto;
  }
  .page-header-bg {
    height: 200px;
    object-position: center;
  }
  .page-title {
    padding: 28px 22px 35px;
  }
  .page-title h1 {
    font-size: 52px;
    line-height: 1.15;
  }
  .page-title span {
    margin-top: 12px;
  }
  .detail-reservation {
    padding-block: 22px;
  }
  .point-item img {
    max-width: 360px;
    margin-inline: auto;
  }
}
.youtube-facade:focus-visible {
  outline: 3px solid #a94112;
  outline-offset: 5px;
}
.footer h2.footer-heading {
  font-family: Arial, sans-serif;
  font-size: 16px;
}
.features-grid {
  align-items: start;
}
.feature-card,
.room-card {
  border-radius: 0;
}
.room-placeholder {
  background: #e1e6df;
  color: #536462;
}
.room-card {
  box-shadow: none;
  border: 1px solid #c8cdc3;
}
.page-header {
  grid-template-rows: minmax(0, 1fr);
}
.page-header-bg {
  min-height: 0;
}
.page-title {
  min-width: 0;
}
@media (max-width: 600px) {
  .page-header {
    grid-template-rows: 200px auto;
  }
  .page-header-bg {
    height: 200px;
  }
}
.access-grid,
.point-grid,
.room-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.access-item,
.point-item,
.room-card {
  min-width: 0;
}
.point-item img {
  width: 100%;
  max-width: 360px;
}
.room-photo-note {
  font-size: 16px;
  letter-spacing: 0.08em;
}
.room-placeholder .room-photo-note {
  font-size: 16px;
}
.detail-reservation {
  padding-inline: var(--container-padding);
}
.about-us-text {
  text-align: left;
}
.about-us-text h2 {
  font: 500 clamp(30px, 3.5vw, 48px)/1.45 var(--font-heading);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.about-us-text p {
  font-size: 16px;
  line-height: 1.9;
}
.section-title {
  line-height: 1.5;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  text-wrap: balance;
}
.section-title span {
  font-size: 11px;
}
.page-title h1 {
  text-wrap: balance;
}
.form-row label {
  overflow-wrap: break-word;
}
.booking-date-note {
  border-left: 3px solid #a94112;
  background: #e8ece5;
  padding: 20px 24px;
  margin: 24px auto;
  max-width: 800px;
  font-size: 15px;
}
.booking-date-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
}
.footer-bottom {
  color: #c8d3ce;
}
main p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-us-text p,
.point-item h3 {
  word-break: auto-phrase;
  text-wrap: pretty;
}

/* 26–27 season: keep booking interfaces visible while acceptance is closed. */
.booking-closed-interface { filter: grayscale(1); opacity: .65; }
fieldset.booking-closed-interface { border: 0; padding: 0; margin: 0; min-width: 0; }
.booking-closed-interface input, .booking-closed-interface select,
.booking-closed-interface textarea, .booking-closed-interface button { cursor: not-allowed; }
.booking-closed-interface iframe { pointer-events: none; }
.booking-closed-notice { padding: 20px; border: 1px solid #c8cdc3; background: #e8ece5; text-align: center; }

.season-price-note { padding: 16px 20px; margin: 20px 0; background: #e8ece5; border-left: 4px solid #a94112; color: #173334; font-size: 1rem; line-height: 1.6; }

.legal-copy { max-width: 46rem; overflow-wrap: break-word; }
.nav-link[aria-current="page"]::after { width: 100%; }
.nav-mobile a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; }
.booking-closed-notice { max-width: 800px; margin: 24px auto; }
.price-table th, .price-table td { overflow-wrap: break-word; }

/* Supporting pages share the detail-page typography and navigation. */
.intro-lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.8; font-weight: 600; }
.benefit-heading { font-size: 1.25rem; margin-bottom: 10px; }

/* Keep selected table text legible against the dark row headings. */
.price-table ::selection { background: #a94112; color: #fff; }

/* First-screen guidance and compact legal reading. */
.detail-reservation .booking-state { font-size:16px; font-weight:600; }
.detail-shortcuts { display:flex; gap:12px 24px; flex-wrap:wrap; margin-top:12px; }
.detail-shortcuts a { background:none; color:#173334; padding:8px 0; min-height:44px; text-decoration:underline; }
.page-header.legal-masthead { display:block; height:auto; padding-block:12px; }
.legal-masthead .page-title { max-width:1220px; margin:auto; padding:36px var(--container-padding); }
.legal-masthead .page-title h1 { font-size:clamp(28px,3.5vw,44px); line-height:1.4; letter-spacing:0; }
.legal-masthead + .container > .section { padding-top:40px; }
.trl-masthead > picture { display:block; min-width:0; height:100%; }
.trl-masthead .page-title h1 { font-size:clamp(30px,4vw,56px); line-height:1.5; }
.price-word { display:inline-block; white-space:nowrap; }
.rental-rates col.rate-description { width:40%; }
.rental-rates col.rate-amount { width:30%; }
@media(max-width:600px) {
 .detail-shortcuts a { width:auto; }
 .rental-rates col.rate-description { width:45%; }
 .rental-rates col.rate-amount { width:27.5%; }
 .rental-rates .price { font-size:clamp(14px,4vw,16px); }
 .rental-rates .table-title small { display:inline-block; margin-top:6px; font-size:13px; font-weight:400; line-height:1.65; }
 .trl-masthead > picture { height:210px; }
}

.wordmark-location { display:block; margin-top:5px; font:600 8px/1 Arial,sans-serif; letter-spacing:.12em; text-align:center; color:#536462; }
.header-logo a { display:block; }
.page-title h1 { font-size:clamp(36px,4.5vw,64px); line-height:1.5; letter-spacing:0; }
.school-team { max-width:850px; margin:36px auto 0; }
.school-team img { display:block; width:100%; height:auto; }
.school-team figcaption { margin-top:12px; font-size:14px; color:#536462; }

/* Keep unavailable room photos and the closed calendar compact. */
.room-image-wrapper.room-photo-unavailable { height:auto; min-height:0; aspect-ratio:auto; }
.room-photo-unavailable .room-placeholder { height:auto; min-height:0; padding:18px 20px; }
.room-photo-unavailable .room-photo-note { opacity:1; color:#536462; font-size:14px; letter-spacing:0; line-height:1.6; }

/* Restaurant highlights communicate information without empty circle artwork. */
.restaurant-points { gap:28px; }
.restaurant-points .point-item { text-align:left; padding-top:18px; border-top:2px solid #a94112; }
.restaurant-points h3 { font-size:22px; margin:0 0 12px; line-height:1.5; }
.restaurant-points p { margin:0; font-size:16px; line-height:1.8; }
.menu-gallery figure { margin:0; }
.menu-gallery figcaption { margin-top:12px; color:#536462; font-size:16px; line-height:1.5; }
.archive-copy { margin:24px 0 0; padding:22px; background:#e1e6df; text-align:left; }
.archive-copy p + p { margin-top:20px; }

/* Align long service explanations with a consistent reading edge. */
.reading-page .content-copy { text-align:left; max-width:70ch; margin-inline:auto; }
.reading-page .section > p { text-align:left; max-width:70ch; margin-inline:auto; }
.reading-page .section > .sub-nav-list { max-width:70ch; margin-inline:auto; }
.reading-page .sub-nav-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; text-align:left; }
.reading-page .sub-nav-col { padding-top:16px; border-top:1px solid #bbc4b9; }
.reading-page .sub-nav-col h3 { border-left:0; padding-left:0; font-size:18px; }
.reading-page .sub-nav-list { font-size:16px; line-height:1.7; }
.legal-toc { max-width:850px; margin:0 auto 40px; padding:24px; background:#e8ece5; }
.legal-toc > p { font-weight:700; margin-bottom:12px; }
.legal-toc ol { list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 20px; }
.legal-toc a { display:block; min-height:44px; padding:10px 0; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:768px) {
 .reading-page .sub-nav-grid { grid-template-columns:1fr; gap:20px; }
 .reading-page .sub-nav-section { padding:24px 18px; }
 .reading-page .section { padding-block:48px; }
 .reading-page .content-copy p + p, .reading-page .section > p + p { margin-top:16px; }
 .legal-toc ol { grid-template-columns:1fr; }
}

/* Shared editorial rhythm for reasons and meaningful label wrapping. */
.stay-reasons .feature-card { padding:20px 0 0; border-top:2px solid #a94112; background:transparent; text-align:left; transition:none; }
.stay-reasons .feature-card:hover { transform:none; }
.reason-number { display:block; margin-bottom:12px; color:#a94112; font:600 14px/1.5 Arial,sans-serif; letter-spacing:.12em; }
.stay-reasons .feature-card p { color:#536462; font-size:16px; line-height:1.8; }
.label-unit { display:inline-block; }
.benefit-amount { display:inline-block; white-space:nowrap; }
@media(max-width:600px) {
 .commercial-page .price-table col:first-child { width:36%; }
 .commercial-page .price-table col:last-child { width:64%; }
 .commercial-page .price-table th { padding-inline:10px; font-size:14px; }
}

/* Keep the TCB name intact at meaningful word boundaries. */
.page-title h1.tcb-title { font-size:clamp(26px,3.4vw,46px); }
.page-title h1 .title-unit { display:inline-block; margin:0; font:inherit; letter-spacing:inherit; color:inherit; white-space:nowrap; }

.price-table caption { font-weight: 700; caption-side: top; }

/* Keep the close control above the full-screen mobile navigation. */
.menu-toggle { z-index: calc(var(--z-mobile-menu) + 1); }

.price-table .table-group-note { font-weight: 700; }

.price-table-wrapper > .price-table + .price-table { margin-top:24px; }

.youtube-facade .video-play-icon { display:flex; align-items:center; justify-content:center; width:64px; height:64px; line-height:1; background:#173334; border-radius:50%; }

/* TRL uses legacy service class names; keep its cards within this section. */
#service .service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
#service .service-card { min-width:0; border:1px solid #c8cdc3; border-radius:0; box-shadow:none; }
#service .service-img { width:100%; min-width:0; aspect-ratio:16/9; overflow:hidden; }
#service .service-img picture { display:block; width:100%; height:100%; }
#service .service-img img { display:block; width:100%; height:100%; object-fit:cover; }
#service .service-info { min-width:0; padding:24px; }
#service .service-info h3 { font-size:24px; line-height:1.3; margin-bottom:12px; }
#service .service-info p { line-height:1.7; }
@media (max-width:767px) {
  #service .service-grid { grid-template-columns:minmax(0,1fr); }
}
@media (min-width:601px) and (max-width:767px) {
  #service .service-card { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
  #service .service-img { aspect-ratio:auto; min-height:200px; }
  #service .service-img img { object-fit:contain; background:#e8ece5; }
}
@media (max-width:600px) {
  #service .service-info { padding:20px; }
}

/* Class reception/price cards share the same reading column as their copy. */
.reading-page .section > .rental-guide { font-size:16px; max-width:70ch; margin-inline:auto; }

/* Root scroll padding already clears the fixed header at class anchors. */
.reading-page :is(#first-time,#kids,#beginner,#stepup,#private) { scroll-margin-top:0; }
/* Class choice stays readable before the detailed lesson navigation. */
.lesson-choice-guide {
  max-width: 70rem;
  margin: 0 auto 2.5rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid #d8d1c8;
  border-radius: 0.8rem;
}
.lesson-choice-guide h2 { margin: 0 0 0.65rem; }
.lesson-choice-guide ul { margin: 1rem 0; padding-left: 1.5rem; }
.lesson-choice-guide li + li { margin-top: 0.65rem; }
.lesson-choice-guide a { text-underline-offset: 0.2em; }

.map-zoom-dialog { box-sizing:border-box; width:min(96vw,1100px); max-height:94dvh; padding:clamp(12px,2vw,24px); border:0; border-radius:10px; background:#fff; color:#173334; overflow:auto; }
.map-zoom-dialog::backdrop { background:rgba(8,23,25,.78); }
.map-zoom-dialog img { display:block; max-width:100%; height:auto; margin:12px auto 0; }
.map-zoom-close { min-height:44px; padding:8px 18px; border:2px solid currentColor; border-radius:4px; background:#fff; color:inherit; cursor:pointer; font:inherit; }
.map-zoom-close:focus-visible { outline:3px solid #dc4e14; outline-offset:3px; }
