﻿/*
Theme Name: 2026takinami
Theme URI: https://yamagata-the-takinami.com/
Description: Custom theme based on takinami_2.0_html.
Version: 2.1.0
Text Domain: tknm
*/

:root {
  --text: #231815;
  --muted: #4e453f;
  --line: #cfc6c1;
  --section-divider: #ded9d5;
  --surface: #ffffff;
  --footer: #000;
  --container: 1400px;
  --section-space: 160px;
  --section-space-news: 160px;
  --section-title-gap: 60px;
  --section-open-content-gap: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

p {
  margin: 0;
}

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

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  color: #fff;
  background: #000;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.hero__slides,
.hero__slide,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slides {
  z-index: 0;
}

.hero__slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.4s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero__slide-control img {
  display: block;
  width: 100%;
  height: 100%;
  filter: invert(1);
  opacity: 0.86;
}

.hero__slide-control:hover,
.hero__slide-control:focus-visible {
  opacity: 0.72;
}

.hero__slide-control--prev {
  left: 20px;
}

.hero__slide-control--next {
  right: 20px;
}

.hero__overlay {
  z-index: 1;
  background: linear-gradient(to bottom, rgba(20, 12, 10, 0.14), rgba(20, 12, 10, 0.12) 56%, rgba(20, 12, 10, 0.4));
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero__sincerita {
  position: absolute;
  top: 14px;
  left: 4px;
  width: 180px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__sincerita img {
  display: block;
  width: 100%;
}

.hero__socials,
.site-footer__socials {
  display: flex;
}

.hero__socials {
  justify-content: center;
  margin-top: 0;
  gap: 16px;
}

.hero__socials--corner {
  position: absolute;
  right: 10px;
  bottom: 10px;
  justify-content: flex-start;
}

.site-footer__socials {
  gap: 10px;
}

.hero__socials a {
  display: inline-flex;
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-footer__socials a {
  display: inline-flex;
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__socials a:hover,
.site-footer__socials a:hover,
.hero__nav a:hover,
.hero__sincerita:hover,
.button:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.hero__awards {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero__awards img {
  width: 68px;
  height: 68px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.header-language-switch {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.header-language-switch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-language-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.86;
}

.hero__language-switch {
  top: 10px;
  right: 166px;
}

.hero__center {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.hero__brand {
  width: min(17vw, 170px);
}

.hero__brand a,
.sticky-header__brand a,
.mobile-menu__brand a {
  display: block;
}

.hero__nav {
  position: static;
}

.hero__nav-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.hero__nav ul {
  display: flex;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero__nav li {
  position: relative;
  padding: 0 19px;
}

.hero__nav li + li::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0 26px;
  color: #fff;
  background: #000;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.3s ease, visibility 0s linear 0.45s;
}

html.is-sticky-header-visible .sticky-header {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.sticky-header__inner {
  position: relative;
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  min-height: 176px;
}

.sticky-header__sincerita {
  position: absolute;
  top: 2px;
  left: 0;
  width: 180px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sticky-header__sincerita img {
  display: block;
  width: 100%;
}

.sticky-header__socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.sticky-header__socials--corner {
  position: absolute;
  right: 0;
  bottom: 0;
  justify-content: flex-start;
  margin-top: 0;
}

.sticky-header__socials a {
  display: inline-flex;
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sticky-header__socials a:hover,
.sticky-header__nav a:hover,
.sticky-header__sincerita:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.sticky-header__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sticky-header__brand {
  width: min(17vw, 170px);
  margin: 0 auto;
}

.sticky-header__nav {
  margin-top: 36px;
}

.sticky-header__nav ul {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sticky-header__nav li {
  position: relative;
  padding: 0 19px;
}

.sticky-header__nav li + li::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
}

.sticky-header__awards {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sticky-header__award-list {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sticky-header__award-list img {
  width: 68px;
  height: 68px;
}

.sticky-header__language-switch {
  position: absolute;
  top: 0;
  right: 162px;
}

.mobile-menu-toggle,
.mobile-fixed-menu,
.mobile-menu,
.mobile-menu-overlay {
  display: none;
}

.room-page,
.english-access-page {
  background: #fff;
  padding-top: 214px;
}

.sticky-header--static {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 30px 0 26px;
  color: #fff;
  background: #000;
  transition: none;
}

.sticky-header--static .sticky-header__inner {
  min-height: 176px;
}

.sticky-header--static .sticky-header__sincerita {
  top: 2px;
  width: 180px;
}

.sticky-header--static .sticky-header__socials {
  margin-top: 16px;
}

.sticky-header--static .sticky-header__socials--corner {
  margin-top: 0;
}

.sticky-header--static .sticky-header__socials a {
  width: 50px;
  height: 50px;
}

.sticky-header--static .sticky-header__brand {
  width: min(17vw, 170px);
}

.sticky-header--static .sticky-header__nav {
  margin-top: 36px;
}

.sticky-header--static .sticky-header__nav ul {
  font-size: 18px;
}

.sticky-header--static .sticky-header__nav li {
  padding: 0 19px;
}

.sticky-header--static .sticky-header__awards {
  top: 0;
}

.sticky-header--static .sticky-header__award-list img {
  width: 68px;
  height: 68px;
}

.room-detail {
  padding: 96px 0 0;
}

.english-access-page .section--access {
  padding-top: 96px;
}

.room-detail__container {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
}

.room-detail__container--wide {
  width: min(calc(100% - 48px), 1200px);
}

.room-detail__header {
  width: min(100%, 860px);
  margin: 0 auto;
  text-align: center;
}

.room-detail__title {
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.room-detail__pager {
  margin-top: 18px;
}

.room-detail__pager ul {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-detail__pager a,
.room-detail__pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  background: #fff;
  color: #231815;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.room-detail__pager a:hover {
  background: #3E3A39;
  color: #fff;
  transform: translateY(-1px);
}

.room-detail__pager .is-current {
  color: #fff;
  background: #000;
  transform: none;
}

.room-detail__hero {
  width: min(100%, 860px);
  margin: 60px auto 0;
}

.room-detail__hero img {
  width: 100%;
}

.room-detail__intro {
  width: min(100%, 860px);
  margin: 42px auto 0;
  color: #3b312c;
  font-size: 20px;
  line-height: 2.15;
  letter-spacing: 0.03em;
}

.room-detail__gallery {
  position: relative;
  margin: 120px auto 0;
}

.room-detail__gallery-track {
  --track-gap: 24px;
  display: flex;
  align-items: center;
  gap: var(--track-gap);
  width: max-content;
}

.room-detail__gallery--flow {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.room-detail__gallery--flow .room-detail__gallery-track {
  animation: flow-gallery-left 44s linear infinite;
  will-change: transform;
}

.room-detail__gallery--two,
.room-detail__gallery--one {
  width: min(calc(100% - 48px), 1200px);
}

.room-detail__gallery--two .room-detail__gallery-track,
.room-detail__gallery--one .room-detail__gallery-track {
  width: 100%;
}

.room-detail__gallery--two .room-detail__gallery-track {
  justify-content: space-between;
}

.room-detail__gallery--one .room-detail__gallery-track {
  justify-content: center;
}

.room-detail__gallery img,
.flow-gallery__image {
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: var(--slider-image-height, 360px);
  max-width: none;
}

.flow-gallery__track--kura01 {
  animation: flow-gallery-left 44s linear infinite;
}

.room-data {
  padding: 120px 0 0;
}

.room-data .section__title {
  margin-bottom: 64px;
  font-size: 50px;
  letter-spacing: 0.16em;
}

.room-data__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
}

.room-data__column {
  margin: 0;
}

.room-data__item {
  padding: 14px 0 18px;
  border-top: 1px dotted #c9c1bc;
}

.room-data__item:first-child {
  padding-top: 10px;
}

.room-data__term {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.room-data__desc {
  margin: 8px 0 0;
  color: #3f3733;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.room-category {
  padding: 96px 0 0;
}

.room-category__container {
  margin: 0 auto;
}

.room-category__container--narrow {
  width: min(calc(100% - 48px), 1200px);
}

.room-category__container--wide {
  width: min(calc(100% - 48px), 1200px);
}

.room-category__title {
  margin: 0 0 60px;
  text-align: center;
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.room-category__lead {
  text-align: center;
  color: #6a605a;
  font-size: 20px;
  line-height: 2.6;
  letter-spacing: 0.04em;
}

.room-category__lead p + p {
  margin-top: 8px;
}

.room-category__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 104px;
}

.room-category-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d7ccc7;
  aspect-ratio: 39 / 26;
}

.room-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 24, 21, 0.14);
  transition: opacity 0.25s ease;
}

.room-category-card:hover::after {
  opacity: 0;
}

.room-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.room-category-card:hover img {
  opacity: 0.74;
}

.room-category-card__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.room-category-card__name {
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.14em;
}

.room-category-card__number {
  margin-top: 10px;
  font-size: clamp(56px, 5vw, 82px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

body.single-post {
  background: #fff;
  padding-top: 214px;
}

main.single-post {
  padding: 96px 0 0;
}

.single-post__container {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
}

.single-post__layout {
  display: grid;
  grid-template-columns: 800px 360px;
  gap: 40px;
  align-items: start;
}

.single-post__header {
  margin-bottom: 64px;
}

.single-post__archive-title {
  margin: 0;
  text-align: center;
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.single-post__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin-top: 36px;
}

.single-post__categories a {
  color: #6a605a;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.single-post__content {
  min-width: 0;
}

.single-post__title {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.single-post__date {
  margin-top: 18px;
  color: #6a605a;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.single-post__lead-title {
  margin: 44px 0 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.single-post__body {
  margin-top: 34px;
  color: #3f3733;
  font-size: 18px;
  line-height: 2.1;
  letter-spacing: 0.03em;
}

.single-post__body > :first-child {
  margin-top: 0;
}

.single-post__body p + p,
.single-post__body h1 + p,
.single-post__body h2 + p,
.single-post__body h3 + p,
.single-post__body h4 + p,
.single-post__body h5 + p,
.single-post__body h6 + p {
  margin-top: 18px;
}

.single-post__body figure,
.single-post__body .wp-block-image,
.single-post__body .wp-block-gallery,
.single-post__body ul,
.single-post__body ol,
.single-post__body blockquote {
  margin: 28px 0 0;
}

.single-post__body h1,
.single-post__body h2,
.single-post__body h3,
.single-post__body h4,
.single-post__body h5,
.single-post__body h6 {
  margin: 48px 0 0;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.single-post__body h1 {
  font-size: 30px;
}

.single-post__body h2 {
  font-size: 28px;
}

.single-post__body h3 {
  font-size: 24px;
}

.single-post__body h4 {
  font-size: 21px;
}

.single-post__body h5 {
  font-size: 19px;
}

.single-post__body h6 {
  font-size: 18px;
}

.single-post__body img {
  width: 100%;
  margin-top: 28px;
}

.single-post__body figure img,
.single-post__body .wp-block-image img,
.single-post__body .wp-block-gallery img {
  margin-top: 0;
}

.single-post__body figcaption {
  margin-top: 10px;
  color: #6a605a;
  font-size: 14px;
  line-height: 1.7;
}

.single-post__body ul,
.single-post__body ol {
  padding-left: 1.5em;
}

.single-post__body li + li {
  margin-top: 8px;
}

.single-post__body blockquote {
  padding: 18px 22px;
  border-left: 1px solid #cfc6c1;
  background: #faf8f7;
}

.single-post__body strong {
  font-weight: 700;
}

.single-post__sidebar {
  min-width: 0;
}

.single-post__widget + .single-post__widget {
  margin-top: 40px;
}

.single-post__widget-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.post-calendar {
  border-top: 1px solid #d7d0cb;
  padding-top: 18px;
}

.post-calendar__caption {
  margin: 0 0 14px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.post-calendar table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.post-calendar th,
.post-calendar td {
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
}

.post-calendar th {
  color: #6a605a;
  font-weight: 500;
}

.post-calendar td {
  border-top: 1px solid #ece6e2;
}

.post-calendar .is-link a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-calendar .is-today {
  color: #fff;
  background: #231815;
}

.post-calendar__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
}

.post-calendar__nav a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recent-posts {
  display: grid;
  gap: 18px;
}

.recent-posts__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.recent-posts__thumb {
  display: block;
  align-self: start;
  overflow: hidden;
  background: #d7ccc7;
  aspect-ratio: 3 / 2;
}

.recent-posts__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recent-posts__title {
  display: block;
  align-self: start;
  margin-top: -4px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.theater-archive {
  padding: 96px 0 0;
}

.theater-archive__container {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
}

.theater-archive__title {
  margin: 0;
  text-align: center;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;
}

.theater-archive__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin-top: 34px;
}

.theater-archive__categories a {
  position: relative;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.theater-archive__categories a + a::before {
  content: "/";
  position: absolute;
  left: -10px;
  top: 0;
  color: #7d736d;
}

.theater-archive__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  margin-top: 0;
  align-items: start;
}

.theater-archive__layout > section,
.theater-sidebar {
  min-width: 0;
}

.theater-archive__section-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #231815;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 16px;
}

.archive-card {
  display: block;
}

.archive-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #d7ccc7;
}

.archive-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.25s ease;
}

.archive-card__categories {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 2px 8px;
  color: #231815;
  background: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.archive-card__categories span + span::before {
  content: ",";
  margin: 0 1px 0 0;
}

.archive-card__date {
  margin-top: 8px;
  color: #7d736d;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.archive-card__title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-top: 6px;
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  transition: opacity 0.25s ease;
}

.archive-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.archive-card:hover .archive-card__image-wrap img {
  opacity: 0.74;
}

.archive-card:hover .archive-card__title {
  opacity: 0.78;
}

.archive-card:hover .archive-card__title::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-theater-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 16px;
}

.archive-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
  font-size: 14px;
  line-height: 1;
}

.archive-pagination__item,
.archive-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #231815;
  background: #fff;
  color: #231815;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.archive-pagination__item:hover {
  background: #231815;
  color: #fff;
  transform: translateY(-1px);
}

.archive-pagination__item--current,
.archive-pagination__item--current:hover {
  background: #231815;
  color: #fff;
  transform: none;
}

.archive-pagination__action {
  font-size: 20px;
}

.archive-pagination__ellipsis {
  min-width: 24px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #231815;
}

.theater-sidebar .post-calendar,
.theater-sidebar .single-post__widget {
  margin: 0;
}

.theater-sidebar .single-post__widget + .single-post__widget {
  margin-top: 34px;
}

.theater-sidebar .single-post__widget-title {
  margin-bottom: 14px;
  font-size: 18px;
}

.theater-sidebar .recent-posts__item {
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
}

.theater-sidebar .recent-posts__title {
  font-size: 12px;
  line-height: 1.65;
}

.section {
  position: relative;
  padding: var(--section-space) 0 0;
  scroll-margin-top: 232px;
}

.section + .section {
  padding-top: calc(var(--section-space) * 2);
}

.section + .section::before {
  content: "";
  position: absolute;
  top: var(--section-space);
  left: 50%;
  width: min(calc(100% - 48px), var(--container));
  height: 1px;
  background: var(--section-divider);
  transform: translateX(-50%);
}

.section--news {
  padding-top: var(--section-space-news);
}

.section__title {
  margin: 0 0 var(--section-title-gap);
  text-align: center;
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
}

.section__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: var(--section-title-gap);
}

.section__title-row .section__title {
  margin: 0;
}

.section__lead-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #231815;
  border-radius: 50%;
  background: transparent;
  color: #231815;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.section__lead-toggle:hover,
.section__lead-toggle:focus-visible {
  background: #231815;
  color: #fff;
}

.section__lead-toggle:focus-visible {
  outline: 2px solid #231815;
  outline-offset: 4px;
}

.section__lead-toggle-icon {
  display: block;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.section__lead {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.section__collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.65s;
}

.section__collapsible.is-open {
  max-height: var(--section-lead-height, 360px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.english-access-page .section__collapsible.is-open {
  max-height: none;
  overflow: visible;
}

.section--access .section__collapsible.is-open {
  max-height: none;
  overflow: visible;
}

.section__title-row + .section__collapsible + .flow-gallery,
.section__title-row + .section__collapsible + .room-grid {
  margin-top: 0;
}

.section__title-row + .section__collapsible.is-open + .flow-gallery,
.section__title-row + .section__collapsible.is-open + .room-grid {
  margin-top: var(--section-open-content-gap);
}

@media (prefers-reduced-motion: reduce) {
  .section__collapsible {
    transition: none;
  }
}

.section__catch {
  margin-top: 24px;
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.section__note {
  margin-top: 48px;
  margin-bottom: 80px;
  text-align: center;
  color: #6a625d;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.section__button-wrap {
  margin-top: 60px;
  margin-bottom: 80px;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #bcb2ac;
  color: #423934;
  background: #fff;
  font-size: 18px;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.container--news {
  width: min(calc(100% - 48px), 1280px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.news-card {
  min-width: 0;
}

.news-card__image-wrap {
  position: relative;
}

.news-card__categories {
  position: absolute;
  top: 10px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.news-card__image-link {
  display: block;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.25s ease;
}

.news-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px 5px;
  font-size: 14px;
  line-height: 1.2;
  color: #231815;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid #231815;
}

.news-card__title {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.news-card__title a {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}

.news-card__title a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.news-card__category {
  transition: opacity 0.2s ease;
}

.news-card:hover .news-card__image {
  opacity: 0.74;
}

.news-card:hover .news-card__title a {
  opacity: 0.78;
}

.news-card:hover .news-card__title a::after {
  opacity: 1;
  transform: scaleX(1);
}

.news-card__category:hover {
  opacity: 0.72;
}

.flow-gallery {
  --slider-image-height: 360px;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 120px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.flow-gallery__track {
  --track-gap: 28px;
  --track-gap-half: 14px;
  display: flex;
  align-items: center;
  gap: var(--track-gap);
  width: max-content;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease;
  will-change: transform;
}

.flow-gallery:not(.flow-gallery--static):not(.is-gallery-ready) .flow-gallery__track {
  opacity: 0;
}

.flow-gallery__track--dining {
  animation: none;
}

.flow-gallery__track--onsen {
  animation: none;
}

.flow-gallery__track--facility {
  animation: none;
}

.flow-gallery__track[class*="flow-gallery__track--"] {
  animation: none;
}

.flow-gallery__track.is-stepped-slider {
  will-change: transform;
}

.flow-gallery--static {
  overflow: visible;
  cursor: auto;
  touch-action: auto;
  user-select: auto;
}

.flow-gallery--static .flow-gallery__track {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  justify-content: center;
  animation: none;
  will-change: auto;
}

.flow-gallery--static .flow-gallery__image {
  width: min(500px, calc(100vw - 24px));
  height: auto;
  max-width: 100%;
}

.flow-gallery__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.flow-gallery__control img {
  display: block;
  width: 100%;
  height: 100%;
  filter: invert(74%) sepia(0%) saturate(0%) hue-rotate(146deg) brightness(94%) contrast(89%);
  opacity: 0.86;
}

.flow-gallery__control:hover,
.flow-gallery__control:focus-visible {
  opacity: 0.72;
}

.flow-gallery__control--prev {
  left: 20px;
}

.flow-gallery__control--next {
  right: 20px;
}

.flow-gallery--static .flow-gallery__control {
  display: none;
}

.flow-gallery--split .flow-gallery__track {
  justify-content: space-between;
}

.flow-gallery--center .flow-gallery__track {
  justify-content: center;
}

.floor-map {
  width: min(100%, 1200px);
  margin: 48px auto 0;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 120px;
}

.room-card {
  position: relative;
  display: block;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.room-card:hover {
  opacity: 0.78;
}

.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 18, 15, 0.56), rgba(28, 18, 15, 0.08));
}

.room-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.room-card span {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  color: #fff;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transform: translateY(-50%);
}

.onsen-hours {
  width: min(100%, 1040px);
  margin: 34px auto 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.onsen-hours__main {
  font-size: 24px;
  letter-spacing: 0.03em;
}

.onsen-hours__sub {
  margin-top: 8px;
  color: #6c655f;
  font-size: 14px;
  line-height: 1.7;
}

.access-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 994px);
  min-height: 108px;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 18px 32px;
  color: #fff;
  background: #000;
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.access-banner__break {
  display: none;
}

.route-block {
  margin-top: 120px;
}

.route-block--car {
  margin-top: 80px;
}

.route-block__title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.route-block__from {
  margin: 0 0 16px;
  color: #231815;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.route-block__from--spaced {
  margin-top: 54px;
}

.route-visual {
  margin: 0 0 34px;
}

.route-visual--last {
  margin-bottom: 0;
}

.route-visual picture,
.route-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.route-note {
  margin-top: 34px;
  color: #615954;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.route-note__title {
  margin-bottom: 10px;
  color: #231815;
  font-weight: 500;
}

.map-embed {
  margin-top: 120px;
  margin-bottom: 80px;
}

.map-embed iframe {
  width: 100%;
  height: 560px;
  border: 0;
}

.site-footer {
  margin-top: 80px;
  padding: 46px 20px 52px;
  color: #fff;
  background: var(--footer);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__logo {
  width: min(17vw, 170px);
}

.site-footer__socials {
  margin-top: 18px;
}

.site-footer__address {
  margin-top: 14px;
  text-align: center;
  font-style: normal;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.site-footer--subpage {
  min-height: 291px;
  margin-top: 80px;
  padding: 68px 0 104px;
  background: var(--footer);
}

.site-footer--subpage .site-footer__inner {
  width: min(calc(100% - 168px), 1032px);
  margin: 0 auto;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer--subpage .site-footer__logo {
  width: 183px;
}

.site-footer--subpage .site-footer__address {
  margin-top: 41px;
  text-align: left;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0;
}

@keyframes flow-gallery-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - var(--track-gap-half)));
  }
}

@media (max-width: 960px) {
  :root {
    --section-space: 96px;
    --section-space-news: 72px;
    --section-title-gap: 48px;
    --section-open-content-gap: 64px;
  }

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

  .section {
    scroll-margin-top: 120px;
  }

  .section + .section::before {
    width: min(calc(100% - 28px), var(--container));
  }

  .flow-gallery {
    --slider-image-height: 300px;
  }

  .access-banner {
    width: 100%;
    min-height: 92px;
    padding: 18px 24px;
    font-size: 34px;
  }

  .hero__sincerita {
    width: 180px;
  }

  .hero__socials--corner {
    right: 20px;
    bottom: 18px;
  }

  .hero__brand {
    width: min(28vw, 156px);
  }

  .site-footer__logo {
    width: min(28vw, 156px);
  }

  .hero__center {
    bottom: 56px;
    width: calc(100% - 24px);
    gap: 32px;
  }

  .hero__nav-stack {
    gap: 32px;
  }

  .sticky-header {
    display: none;
  }

  .sticky-header--static {
    display: block;
    position: fixed;
    padding: 14px 0 16px;
  }

  .sticky-header--static .sticky-header__inner {
    width: min(calc(100% - 28px), var(--container));
    min-height: 66px;
  }

  .sticky-header--static .sticky-header__sincerita,
  .sticky-header--static .sticky-header__awards,
  .sticky-header--static .sticky-header__nav,
  .sticky-header--static .sticky-header__socials,
  .sticky-header--static .sticky-header__language-switch,
  .sticky-header--static .sticky-header__sincerita-logotype {
    display: none;
  }

  .sticky-header--static .sticky-header__center {
    align-items: flex-start;
    padding-top: 0;
  }

  .sticky-header--static .sticky-header__brand {
    width: min(30vw, 124px);
    margin: 0;
  }

  body.single-post .sticky-header--static,
  .room-page .sticky-header--static,
  .english-access-page .sticky-header--static {
    position: static;
  }

  body.single-post .sticky-header--static .sticky-header__center,
  .room-page .sticky-header--static .sticky-header__center,
  .english-access-page .sticky-header--static .sticky-header__center {
    align-items: center;
  }

  body.single-post .sticky-header--static .sticky-header__brand,
  .room-page .sticky-header--static .sticky-header__brand,
  .english-access-page .sticky-header--static .sticky-header__brand {
    margin: 0 auto;
  }

  body.single-post,
  .room-page,
  .english-access-page {
    padding-top: 0;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-fixed-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1085;
    display: block;
    padding-bottom: env(safe-area-inset-bottom);
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s ease, opacity 0.25s ease;
  }

  html.is-sticky-header-visible .mobile-fixed-menu,
  body.single-post .mobile-fixed-menu,
  .room-page .mobile-fixed-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s ease, opacity 0.25s ease;
  }

  .mobile-fixed-menu ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-fixed-menu li {
    min-width: 0;
  }

  .mobile-fixed-menu a,
  .mobile-fixed-menu button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    min-height: 64px;
    padding: 7px 4px 5px;
    border: 0;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }

  .mobile-fixed-menu img {
    width: auto;
    max-width: 50px;
    height: auto;
  }

  .mobile-fixed-menu span {
    display: block;
    min-width: 0;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  html.is-mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    display: block;
    width: min(88vw, 420px);
    z-index: 1095;
    pointer-events: none;
  }

  .mobile-menu__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 26px 24px 30px;
    overflow-y: auto;
    color: #fff;
    background: rgba(0, 0, 0, 0.96);
    transform: translateX(100%);
    transition: transform 0.38s ease;
  }

  html.is-mobile-menu-open .mobile-menu {
    pointer-events: auto;
  }

  html.is-mobile-menu-open .mobile-menu__panel {
    transform: translateX(0);
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .mobile-menu__brand {
    width: min(38vw, 150px);
  }

  .mobile-menu__close {
    position: fixed;
    right: 0;
    bottom: env(safe-area-inset-bottom);
    width: 20vw;
    min-width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1110;
  }

  .mobile-menu__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
  }

  .mobile-menu__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-menu__nav {
    margin-top: 42px;
  }

  .mobile-menu__nav ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-menu__nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .mobile-menu__nav a {
    display: block;
    padding: 17px 4px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }

  .mobile-menu__footer {
    margin-top: auto;
    padding-top: 28px;
  }

  .mobile-menu__address {
    margin: 0;
    font-style: normal;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

  .mobile-menu__address a {
    color: inherit;
    text-decoration: none;
  }

  .mobile-menu__sincerita {
    width: min(42vw, 172px);
  }

  .mobile-menu__socials {
    display: flex;
    gap: 14px;
    margin-top: 18px;
  }

  .mobile-menu__socials a {
    display: inline-flex;
    width: 50px;
    height: 50px;
  }

  .hero__nav ul {
    justify-content: center;
    font-size: 11px;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .hero__nav-stack {
    display: none;
  }

  .container--news {
    width: min(calc(100% - 28px), 920px);
  }

  .room-detail {
    padding-top: 52px;
  }

  .english-access-page .section--access {
    padding-top: 52px;
  }

  .room-detail__container {
    width: min(calc(100% - 28px), 760px);
  }

  .room-detail__container--wide {
    width: min(calc(100% - 28px), 1200px);
  }

  .room-detail__title {
    font-size: 28px;
  }

  .room-detail__hero {
    margin-top: 40px;
  }

  .room-detail__intro {
    margin-top: 30px;
    font-size: 13px;
  }

  .room-data {
    padding-top: 96px;
  }

  .room-category {
    padding-top: 52px;
  }

  main.single-post {
    padding-top: 52px;
  }

  .theater-archive {
    padding-top: 52px;
  }

  .theater-archive__container {
    width: min(calc(100% - 28px), 1200px);
  }

  .theater-archive__layout {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-top: 0;
  }

  .theater-archive__title {
    font-size: 38px;
  }

  .archive-grid {
    gap: 28px 14px;
  }

  .top-theater-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 14px;
  }

  .single-post__container {
    width: min(calc(100% - 28px), 1200px);
  }

  .single-post__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .single-post__header {
    margin-bottom: 52px;
  }

  .single-post__archive-title {
    font-size: 38px;
  }

  .single-post__categories {
    gap: 12px 18px;
    margin-top: 28px;
  }

  .single-post__categories a {
    font-size: 15px;
  }

  .single-post__title {
    font-size: 32px;
  }

  .single-post__lead-title {
    margin-top: 34px;
    font-size: 24px;
  }

  .single-post__body {
    font-size: 16px;
  }

  .room-category__container--narrow {
    width: min(calc(100% - 28px), 1200px);
  }

  .room-category__container--wide {
    width: min(calc(100% - 28px), 760px);
  }

  .room-category__lead {
    font-size: 16px;
    line-height: 2.35;
  }

  .room-category__title {
    margin-bottom: 48px;
    font-size: 38px;
  }

  .room-category__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 72px;
  }

  .room-category__grid--seven .room-category-card:last-child {
    grid-column: auto;
  }

  .room-data__grid {
    gap: 0 24px;
  }

  .room-detail__gallery {
    width: min(calc(100% - 28px), 760px);
  }

  .room-detail__gallery-track {
    --track-gap: 18px;
  }

  .room-detail__gallery--two,
  .room-detail__gallery--one {
    width: min(calc(100% - 28px), 760px);
  }

  .room-detail__gallery--two .room-detail__gallery-track,
  .room-detail__gallery--one .room-detail__gallery-track {
    flex-wrap: wrap;
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .section__lead {
    font-size: 16px;
    text-align: left;
  }

  .flow-gallery {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 22px;
  }

  .flow-gallery__track {
    --track-gap: 14px;
    --track-gap-half: 7px;
  }

  .flow-gallery--static .flow-gallery__track {
    width: min(calc(100% - 28px), 760px);
    flex-wrap: wrap;
    justify-content: center;
  }

  .room-grid {
    gap: 12px;
  }

  .room-card span {
    font-size: 24px;
  }

  .route-visual {
    margin-bottom: 72px;
  }

  .route-visual--last {
    margin-bottom: 0;
  }

  .route-note {
    font-size: 14px;
  }

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

@media (max-width: 640px) {
  :root {
    --section-space: 72px;
    --section-space-news: 56px;
    --section-title-gap: 40px;
    --section-open-content-gap: 48px;
  }

  .hero__sincerita {
    display: none;
  }

  .hero__socials--corner {
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
    display: flex;
    gap: 10px;
  }

  .hero__language-switch {
    display: none;
  }

  .hero__slide-control {
    width: 38px;
    height: 38px;
  }

  .hero__slide-control--prev {
    left: 8px;
  }

  .hero__slide-control--next {
    right: 8px;
  }

  .section {
    scroll-margin-top: 96px;
  }

  .flow-gallery {
    --slider-image-height: 220px;
  }

  .flow-gallery__control {
    width: 38px;
    height: 38px;
  }

  .flow-gallery__control--prev {
    left: 8px;
  }

  .flow-gallery__control--next {
    right: 8px;
  }

  .section + .section::before {
    width: min(calc(100% - 24px), var(--container));
  }

  .mobile-menu-toggle {
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
  }

  .mobile-menu {
    width: min(92vw, 360px);
  }

  .mobile-menu__panel {
    padding: 22px 20px 26px;
  }

  .mobile-menu__nav {
    margin-top: 34px;
  }

  .mobile-menu__nav a {
    padding: 15px 2px;
    font-size: 16px;
  }

  .room-detail {
    padding-top: 36px;
  }

  .english-access-page .section--access {
    padding-top: 36px;
  }

  .room-detail__container {
    width: min(calc(100% - 24px), 520px);
  }

  .room-detail__container--wide {
    width: min(calc(100% - 24px), 1200px);
  }

  .room-detail__title {
    font-size: 22px;
    line-height: 1.35;
  }

  .room-detail__pager {
    margin-top: 14px;
  }

  .room-detail__pager ul {
    flex-wrap: wrap;
    gap: 8px;
  }

  .room-detail__pager a,
  .room-detail__pager span {
    min-width: 36px;
    min-height: 36px;
    padding: 0 8px;
  }

  .room-detail__hero {
    margin-top: 28px;
  }

  .room-detail__intro {
    margin-top: 22px;
    font-size: 12px;
    line-height: 2;
  }

  .room-detail__gallery {
    width: min(calc(100% - 24px), 520px);
    margin-top: 72px;
  }

  .room-detail__gallery-track {
    --track-gap: 16px;
  }

  .room-detail__gallery--two,
  .room-detail__gallery--one {
    width: min(calc(100% - 24px), 520px);
  }

  .room-data {
    padding-top: 72px;
  }

  .room-category {
    padding-top: 36px;
  }

  main.single-post {
    padding-top: 36px;
  }

  .theater-archive__container {
    width: min(calc(100% - 24px), 1200px);
  }

  .theater-archive {
    padding-top: 36px;
  }

  .theater-archive__title {
    font-size: 30px;
    line-height: 1.2;
  }

  .theater-archive__categories {
    gap: 8px 14px;
    margin-top: 22px;
  }

  .theater-archive__categories a {
    font-size: 10px;
  }

  .theater-archive__layout {
    gap: 40px;
    margin-top: 0;
  }

  .theater-archive__section-title {
    font-size: 22px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .top-theater-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .archive-pagination {
    margin-top: 40px;
    font-size: 13px;
  }

  .archive-pagination__item,
  .archive-pagination__ellipsis {
    min-width: 36px;
    min-height: 36px;
    padding: 0 8px;
  }

  .single-post__container {
    width: min(calc(100% - 24px), 1200px);
  }

  .single-post__title {
    font-size: 28px;
    line-height: 1.75;
  }

  .single-post__header {
    margin-bottom: 40px;
  }

  .single-post__archive-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .single-post__categories {
    gap: 10px 14px;
    margin-top: 22px;
  }

  .single-post__categories a {
    font-size: 13px;
  }

  .single-post__date {
    margin-top: 14px;
    font-size: 13px;
  }

  .single-post__lead-title {
    margin-top: 28px;
    font-size: 24px;
  }

  .single-post__body {
    margin-top: 24px;
    font-size: 14px;
    line-height: 2;
  }

  .single-post__body h1,
  .single-post__body h2,
  .single-post__body h3,
  .single-post__body h4,
  .single-post__body h5,
  .single-post__body h6 {
    margin-top: 36px;
  }

  .single-post__body h1 {
    font-size: 24px;
  }

  .single-post__body h2 {
    font-size: 22px;
  }

  .single-post__body h3 {
    font-size: 19px;
  }

  .single-post__body h4 {
    font-size: 17px;
  }

  .single-post__body h5 {
    font-size: 16px;
  }

  .single-post__body h6 {
    font-size: 15px;
  }

  .single-post__widget-title {
    font-size: 20px;
  }

  .recent-posts__item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .recent-posts__title {
    font-size: 13px;
    line-height: 1.7;
  }

  .room-category__container--narrow {
    width: min(calc(100% - 24px), 1200px);
  }

  .room-category__container--wide {
    width: min(calc(100% - 24px), 520px);
  }

  .room-category__lead {
    font-size: 13px;
    line-height: 2.2;
    letter-spacing: 0.03em;
  }

  body.english-page .room-category__lead {
    text-align: left;
  }

  .room-category__title {
    margin-bottom: 32px;
    font-size: 28px;
    line-height: 1.2;
  }

  .room-category__lead p + p {
    margin-top: 6px;
  }

  .room-category__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  .room-category-card__name {
    font-size: 20px;
  }

  .room-category-card__number {
    margin-top: 8px;
    font-size: 46px;
  }

  .room-data .section__title {
    margin-bottom: 40px;
    font-size: 20px;
  }

  .room-data__grid {
    grid-template-columns: 1fr;
  }

  .room-data__item {
    padding: 12px 0 16px;
  }

  .room-data__term {
    font-size: 13px;
  }

  .room-data__desc {
    font-size: 12px;
    line-height: 1.85;
  }

  .hero__socials a,
  .mobile-menu__socials a,
  .site-footer__socials a {
    width: 50px;
    height: 50px;
  }

  .hero__awards {
    top: 10px;
    right: 6px;
    gap: 10px;
  }

  .hero__awards img {
    width: 54px;
    height: 54px;
  }

  .hero__brand {
    width: min(40vw, 146px);
  }

  .site-footer__logo {
    width: min(40vw, 146px);
  }

  .site-footer--subpage {
    min-height: 0;
    padding: 48px 24px 56px;
  }

  .site-footer--subpage .site-footer__inner {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .site-footer--subpage .site-footer__logo {
    width: min(54vw, 183px);
  }

  .site-footer--subpage .site-footer__address {
    margin-top: 0;
  }

  .hero__center {
    bottom: 72px;
    gap: 24px;
  }

  .hero__nav-stack {
    display: none;
    gap: 24px;
  }

  .hero__nav ul {
    font-size: 10px;
  }

  .hero__nav li {
    padding: 0 6px;
  }

  .container--news {
    width: min(calc(100% - 24px), 520px);
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-card__category {
    top: 8px;
    min-height: 24px;
    padding: 3px 10px 4px;
    font-size: 12px;
  }

  .news-card__title {
    margin-top: 10px;
    font-size: 14px;
  }

  .section__title {
    font-size: 28px;
  }

  .section__title-row {
    gap: 12px;
  }

  .section__lead-toggle {
    width: 30px;
    height: 30px;
  }

  .section__lead-toggle-icon {
    font-size: 20px;
  }

  .section__lead {
    font-size: 16px;
    text-align: left;
  }

  .section__lead p {
    display: inline;
    margin: 0;
  }

  .section__lead p + p::before {
    content: " ";
  }

  .section__lead br {
    display: none;
  }

  .section__lead-break {
    display: none;
  }

  .section__catch {
    font-size: 16px;
  }

  .section__note {
    text-align: left;
  }

  .button {
    min-width: 138px;
    min-height: 22px;
    font-size: 16px;
  }

  .onsen-hours__main {
    font-size: 16px;
  }

  .flow-gallery--static .flow-gallery__track {
    width: min(calc(100% - 24px), 520px);
    gap: 16px;
  }

  .flow-gallery__track--dining {
    animation-duration: 102s;
  }

  .flow-gallery__track--onsen {
    animation-duration: 41.6s;
  }

  .flow-gallery__track--facility {
    animation-duration: 56s;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-card img {
    aspect-ratio: 16 / 10;
  }

  .access-banner {
    min-height: 72px;
    padding: 14px 16px;
    font-size: 20px;
    line-height: 1.3;
  }

  .access-banner__break {
    display: block;
  }

  h4.route-block__from {
    display: none;
  }

  .route-note {
    font-size: 14px;
    line-height: 1.7;
  }

  .route-note {
    margin-top: 12px;
  }

  .map-embed {
    margin-top: 18px;
  }

  .map-embed iframe {
    height: 320px;
  }

  .site-footer {
    display: none;
    padding: 30px 16px 34px;
  }
}
