@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;600&family=Shippori+Mincho:wght@400;500;600&display=swap");
:root {
  --color-ink: #151713;
  --color-charcoal: #23251f;
  --color-forest: #19352d;
  --color-paper: #f2f0eb;
  --color-gold: #c8ae78;
  --color-line: rgba(242, 240, 235, .25);
  --font-heading-ja: 'Shippori Mincho', serif;
  --font-en: 'Cormorant Garamond', serif;
  --font-body-ja: 'Noto Sans JP', sans-serif;
  --space-large: 120px;
  --space-medium: 96px;
  --space-small: 64px;
}

@media (max-width: 767px) {
  :root {
    --space-large: 72px;
    --space-medium: 64px;
    --space-small: 48px;
  }
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-paper);
  background: var(--color-ink);
  font-family: var(--font-body-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

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

[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-weight: 400;
}

:target {
  scroll-margin-top: 96px;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.l-container {
  width: min(100% - 80px, 1200px);
  margin-inline: auto;
}

.l-container--narrow {
  width: min(100% - 80px, 1024px);
  margin-inline: auto;
}

.l-section {
  padding-block: var(--space-medium);
}

.l-section--large {
  padding-block: var(--space-large);
}

.l-section--small {
  padding-block: var(--space-small);
}

@media (max-width: 767px) {
  .l-container, .l-container--narrow {
    width: min(100% - 40px, 1200px);
  }
}
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  font-family: var(--font-body-ja);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.c-button--primary {
  color: #171812;
  background: var(--color-gold);
}

.c-button--primary:hover {
  background: #dec99a;
}

.c-button--secondary {
  color: var(--color-paper);
  border-color: var(--color-line);
  background: transparent;
}

.c-button--secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.c-button--text {
  min-height: 44px;
  padding-inline: 0;
  color: var(--color-gold);
  border: 0;
  background: none;
}

.c-button--text::after {
  content: "→";
  font-size: 1.1em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(242, 240, 235, 0.16);
  background: rgba(21, 23, 19, 0.94);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 28px;
}

.site-header__logo {
  flex: 0 0 auto;
  width: 157px;
  line-height: 0;
}

.site-header__logo img {
  width: 100%;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-family: var(--font-en);
}

.site-header__nav a {
  position: relative;
  padding-block: 12px;
  font-size: 14px;
  letter-spacing: 0.11em;
}

.site-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.site-header__nav a:hover::after {
  transform: scaleX(1);
}

.site-header__reset {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  color: #e8e5dc;
  border: 1px solid rgba(242, 240, 235, 0.3);
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.site-header__reset:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.site-header__menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--color-paper);
  border: 1px solid rgba(242, 240, 235, 0.3);
  background: transparent;
  cursor: pointer;
}

.site-header__menu-lines, .site-header__menu-lines::before, .site-header__menu-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: auto;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease;
}

.site-header__menu-lines::before {
  transform: translateY(-6px);
}

.site-header__menu-lines::after {
  transform: translateY(5px);
}

@media (max-width: 767px) {
  .site-header__inner {
    min-height: 68px;
    gap: 8px;
  }
  .site-header__logo {
    width: 125px;
    margin-right: auto;
  }
  .site-header__nav {
    position: absolute;
    z-index: -1;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 20px 20px;
    border-bottom: 1px solid rgba(242, 240, 235, 0.16);
    background: #1a1c17;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-header.is-menu-open .site-header__nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-header__nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(242, 240, 235, 0.12);
  }
  .site-header__reset {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 14px;
  }
  .site-header__menu {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
  }
  .site-header.is-menu-open .site-header__menu-lines {
    background: transparent;
  }
  .site-header.is-menu-open .site-header__menu-lines::before {
    transform: rotate(45deg);
  }
  .site-header.is-menu-open .site-header__menu-lines::after {
    transform: rotate(-45deg) translate(1px, -1px);
  }
}
.site-footer {
  border-top: 1px solid rgba(242, 240, 235, 0.18);
  background: #11130f;
}

.site-footer__inner {
  padding-block: 54px 24px;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__logo {
  width: 160px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 240, 235, 0.15);
  color: rgba(242, 240, 235, 0.75);
  font-size: 14px;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 767px) {
  .site-footer__inner {
    padding-top: 40px;
  }
  .site-footer__top, .site-footer__bottom {
    display: grid;
    gap: 26px;
  }
  .site-footer__bottom {
    margin-top: 38px;
  }
  .site-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.c-section-heading {
  margin-bottom: 46px;
}

.c-section-heading__label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.c-section-heading__title {
  margin-bottom: 20px;
  font-family: var(--font-heading-ja);
  font-size: clamp(30px, 4.2vw, 52px);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.c-section-heading__text {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(242, 240, 235, 0.76);
}

.c-section-heading--dark .c-section-heading__title {
  color: #20231e;
}

.c-section-heading--dark .c-section-heading__text {
  color: #62635d;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../../images/hero-hotel.jpg") center 52%/cover no-repeat;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(200, 174, 120, 0.7), transparent);
}

.page-hero__inner {
  position: relative;
  padding-block: 92px 76px;
}

.page-hero__label {
  margin-bottom: 12px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.page-hero__lead {
  max-width: 620px;
  margin-bottom: 0;
  font-family: var(--font-heading-ja);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.06em;
}

.u-light {
  color: #20231e;
  background: #f1efe9 url("../../images/dairiseki_bg.jpg") center/cover fixed;
}

.u-muted {
  color: rgba(242, 240, 235, 0.72);
}

@media (max-width: 767px) {
  .c-section-heading {
    margin-bottom: 32px;
  }
  .page-hero {
    min-height: 300px;
  }
  .page-hero__inner {
    padding-block: 74px 58px;
  }
}
.hero {
  position: relative;
  min-height: min(700px, 100svh - 84px);
  overflow: hidden;
  background: #1b1c17;
}

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

.hero__slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

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

.hero__slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 12, 10, 0.68), rgba(10, 12, 10, 0.26) 56%, rgba(10, 12, 10, 0.42));
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide--hotel img {
  object-position: 50% 50%;
}

.hero__slide--room img {
  object-position: 50% 50%;
}

.hero__slide--lounge img {
  object-position: 50% 50%;
}

.hero__slide--restaurant img {
  object-position: 50% 50%;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: min(700px, 100svh - 84px);
  padding-bottom: 70px;
}

.hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-en);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.hero__copy {
  margin: 0;
  font-family: var(--font-heading-ja);
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.55;
}

.hero__copy-break {
  display: none;
}

.hero__controls {
  position: absolute;
  z-index: 3;
  right: max(40px, (100vw - 1200px) / 2);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__control {
  width: 44px;
  height: 44px;
  color: var(--color-paper);
  border: 1px solid rgba(242, 240, 235, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.hero__pagination {
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 25px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero__dot::after {
  display: block;
  width: 100%;
  height: 1px;
  content: "";
  background: rgba(242, 240, 235, 0.55);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero__dot[aria-current=true]::after {
  background: var(--color-gold);
  transform: scaleY(2);
}

@media (max-width: 767px) {
  .hero, .hero__content {
    min-height: min(650px, 100svh - 68px);
  }
  .hero__content {
    align-content: center;
    padding-bottom: 100px;
  }
  .hero__copy-break {
    display: initial;
  }
  .hero__slide--hotel img {
    object-position: 59% center;
  }
  .hero__slide--room img {
    object-position: 58% center;
  }
  .hero__slide--lounge img {
    object-position: 60% center;
  }
  .hero__slide--restaurant img {
    object-position: 57% center;
  }
  .hero__controls {
    right: 20px;
    bottom: 20px;
    gap: 10px;
  }
  .hero__control {
    width: 42px;
    height: 42px;
  }
  .hero__dot {
    width: 18px;
    height: 42px;
  }
}
.home-about {
  background: #f1efe9 url("../../images/dairiseki_bg.jpg") center/cover fixed;
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.home-about__image {
  min-height: 520px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-about__copy {
  color: #61635d;
}

.home-about__copy p {
  margin-bottom: 1.5em;
}

.home-about__copy p:last-child {
  margin-bottom: 0;
}

.home-stay {
  overflow: hidden;
}

.home-stay__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.home-stay__row + .home-stay__row {
  margin-top: var(--space-large);
}

.home-stay__row--reverse .home-stay__media {
  order: 2;
}

.home-stay__media {
  position: relative;
}

.home-stay__media::before {
  position: absolute;
  z-index: -1;
  top: 34px;
  right: -34px;
  width: 72%;
  height: 100%;
  content: "";
  border: 1px solid rgba(200, 174, 120, 0.3);
}

.home-stay__row--reverse .home-stay__media::before {
  right: auto;
  left: -34px;
}

.home-stay__media img {
  width: 100%;
  aspect-ratio: 1.45/1;
  object-fit: cover;
}

.home-stay__title {
  margin-bottom: 24px;
  font-family: var(--font-heading-ja);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.45;
}

.home-stay__label {
  margin-bottom: 12px;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.2em;
}

.home-stay__text {
  margin-bottom: 28px;
  color: rgba(242, 240, 235, 0.72);
}

.long-stay {
  position: relative;
  color: #20231e;
  background: #e7e1d7 url("../../images/dairiseki_bg.jpg") center/cover fixed;
}

.long-stay__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}

.long-stay__image {
  width: 100%;
  aspect-ratio: 16/8.5;
  object-fit: cover;
}

.long-stay__copy {
  max-width: 760px;
}

.long-stay__title {
  margin-bottom: 26px;
  font-family: var(--font-heading-ja);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.5;
}

.long-stay__lead {
  margin-bottom: 18px;
  font-family: var(--font-heading-ja);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.8;
}

.long-stay__text {
  max-width: 650px;
  margin-bottom: 0;
  color: #62635d;
}

.home-gallery {
  background: #1b211c;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.home-gallery__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 50% 50%;
}

.home-gallery__copy p {
  color: rgba(242, 240, 235, 0.72);
}

.home-info {
  background: #f1efe9 url("../../images/dairiseki_bg.jpg") center/cover fixed;
  color: #20231e;
}

.home-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 110px);
}

.home-info__block + .home-info__block {
  border-left: 1px solid #cbc7be;
  padding-left: clamp(50px, 8vw, 110px);
}

.home-info__heading {
  margin-bottom: 26px;
  font-family: var(--font-en);
  font-size: 34px;
  letter-spacing: 0.08em;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cbc7be;
}

.news-list li {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #cbc7be;
  font-size: 14px;
}

.news-list time {
  color: #77776f;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
}

.access-copy {
  color: #62635d;
}

.access-image {
  width: 100%;
  margin-bottom: 26px;
  aspect-ratio: 3/2;
  object-fit: cover;
}

@media (max-width: 767px) {
  .home-about__grid, .home-stay__row, .long-stay__inner, .home-gallery__grid, .home-info__grid {
    grid-template-columns: 1fr;
  }
  .home-about__image {
    min-height: auto;
    aspect-ratio: 4/3;
  }
  .home-stay__row + .home-stay__row {
    margin-top: var(--space-medium);
  }
  .home-stay__row--reverse .home-stay__media {
    order: 0;
  }
  .home-stay__media::before {
    display: none;
  }
  .long-stay__inner {
    gap: 28px;
  }
  .home-gallery__grid {
    gap: 34px;
  }
  .home-info__grid {
    gap: 48px;
  }
  .home-info__block + .home-info__block {
    padding: 48px 0 0;
    border-top: 1px solid #cbc7be;
    border-left: 0;
  }
  .news-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.facilities-intro__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.facilities-intro__lead {
  font-family: var(--font-heading-ja);
  font-size: clamp(25px, 3.4vw, 42px);
  line-height: 1.55;
}

.facilities-intro__copy {
  color: rgba(242, 240, 235, 0.72);
}

.facility-list {
  color: #20231e;
  background: #f1efe9 url("../../images/dairiseki_bg.jpg") center/cover fixed;
}

.facility-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #c9c5bc;
  border-bottom: 1px solid #c9c5bc;
}

.facility-card {
  padding: 40px clamp(24px, 4vw, 48px);
}

.facility-card + .facility-card {
  border-left: 1px solid #c9c5bc;
}

.facility-card__image {
  width: 100%;
  margin-bottom: 26px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.facility-card__number {
  margin-bottom: 20px;
  color: #9b8559;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.facility-card h3 {
  margin-bottom: 18px;
  font-family: var(--font-heading-ja);
  font-size: 27px;
}

.facility-card p {
  margin-bottom: 0;
  color: #65665f;
  font-size: 15px;
}

.floor-guide {
  background: #d8d4cb;
  color: #20231e;
}

.floor-guide__frame {
  padding: clamp(12px, 2.5vw, 30px);
  border: 1px solid #bbb5aa;
  background: #e9e6df;
}

.floor-guide__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .facilities-intro__grid, .facility-list__grid {
    grid-template-columns: 1fr;
  }
  .facilities-intro__grid {
    gap: 24px;
  }
  .facility-card {
    padding-inline: 0;
  }
  .facility-card + .facility-card {
    border-top: 1px solid #c9c5bc;
    border-left: 0;
  }
  .facility-card__number {
    margin-bottom: 18px;
  }
}
.gallery-intro {
  background: #f1efe9 url("../../images/dairiseki_bg.jpg") center/cover fixed;
  color: #20231e;
}

.gallery-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gallery-intro__lead {
  font-family: var(--font-heading-ja);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.6;
}

.gallery-intro__text {
  color: #62635d;
}

.archive {
  background: #171914;
}

.archive__item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  padding-block: var(--space-medium);
  border-top: 1px solid rgba(242, 240, 235, 0.2);
}

.archive__year {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.archive__figure {
  margin: 0;
}

.archive__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  background: #0d0e0b;
}

.archive__caption {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 22px;
}

.archive__caption h2 {
  margin-bottom: 0;
  font-family: var(--font-heading-ja);
  font-size: clamp(21px, 2.6vw, 30px);
}

.archive__caption p {
  max-width: 440px;
  margin-bottom: 0;
  color: rgba(242, 240, 235, 0.68);
  font-size: 14px;
}

@media (max-width: 767px) {
  .archive__item {
    grid-template-columns: 1fr;
  }
  .archive__item {
    gap: 22px;
  }
  .archive__caption {
    display: grid;
    gap: 10px;
  }
}
.archive__media,
.floor-guide__media,
.construction-record__media {
  position: relative;
}

.image-hotspot {
  position: absolute;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.image-hotspot:hover {
  background: rgba(255, 255, 255, 0.025);
}

.image-hotspot:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  background: rgba(200, 174, 120, 0.08);
}

.image-hotspot--031-2014 {
  top: 10%;
  left: 61%;
  width: 26%;
  height: 85%;
}

.image-hotspot--031-2017 {
  top: 21%;
  left: 8%;
  width: 17%;
  height: 73%;
}

.image-hotspot--031-2020 {
  top: 15%;
  left: 61%;
  width: 15%;
  height: 45%;
}

.image-hotspot--031-2026 {
  top: 2%;
  left: 0;
  width: 18%;
  height: 94%;
}

.image-hotspot--renovation {
  inset: 0;
  width: auto;
  height: auto;
}

.image-hotspot--floor {
  top: 13%;
  left: 4%;
  width: 60%;
  height: 13%;
}

.image-hotspot--b2 {
  top: 78%;
  left: 21%;
  width: 36%;
  height: 17%;
}

.internal-record,
.guest-system,
.construction-record {
  color: #d9ddd8;
  background: #20231f;
  font-family: var(--font-body-ja);
}

.internal-record {
  border-block: 1px solid #555b55;
}

.internal-record__label {
  margin-bottom: 12px;
  color: #b6bdb6;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.internal-record h2,
.guest-system h2,
.construction-record h2 {
  margin-bottom: 32px;
  font-family: var(--font-heading-ja);
  font-size: clamp(26px, 3.5vw, 42px);
}

.internal-record__data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid #555b55;
}

.internal-record__data > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #454b45;
}

.internal-record__data > div:nth-child(odd) {
  padding-right: 28px;
}

.internal-record__data > div:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid #454b45;
}

.internal-record__data dt,
.guest-card dt,
.elevator-record dt,
.construction-record dt {
  color: #969e97;
  font-size: 14px;
}

.internal-record__data dd,
.guest-card dd,
.elevator-record dd,
.construction-record dd {
  margin: 0;
}

.internal-record__data-emphasis dd {
  color: #c54038;
  font-size: 20px;
  font-weight: 600;
}

.internal-record__data-case {
  grid-column: 1/-1;
  padding-right: 0 !important;
}

.floor-guide__media {
  overflow: hidden;
}

.guest-system {
  background: #1b1e1b;
  border-top: 1px solid #4e554f;
}

.guest-system__heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.guest-system__heading > p:last-child {
  color: #9da49d;
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #4e554f;
  border-left: 1px solid #4e554f;
}

.guest-card {
  min-width: 0;
  border-right: 1px solid #4e554f;
  border-bottom: 1px solid #4e554f;
  background: #232723;
}

.guest-card img,
.guest-card__placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}

.guest-card__placeholder {
  display: grid;
  place-items: center;
  color: #717871;
  background: #191c19;
  font: 14px/1 var(--font-en);
  letter-spacing: 0.15em;
}

.guest-card > div:last-child {
  padding: 20px;
}

.guest-card__number {
  margin-bottom: 16px;
  color: #d1b77c;
  font: 600 28px/1 var(--font-en);
}

.guest-card dl {
  margin: 0;
}

.guest-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 6px;
  border-top: 1px solid #414741;
  font-size: 14px;
}

.guest-card--no-image p:last-child {
  color: #8c938c;
  font-size: 14px;
}

.elevator-record {
  max-width: 720px;
  margin-top: 54px;
  padding: 28px;
  border: 1px solid #616861;
  background: #252925;
}

.elevator-record h3 {
  margin-bottom: 20px;
  font-family: var(--font-heading-ja);
  font-size: 25px;
}

.elevator-record dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
}

.elevator-record dl div {
  padding-top: 12px;
  border-top: 1px solid #505650;
}

.guest-system--page {
  min-height: 70vh;
}

.guest-system__heading h1 {
  font-family: var(--font-heading-ja);
}

.guest-profiles {
  display: grid;
  gap: 24px;
}

.guest-profile {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  border: 1px solid #4e554f;
  background: #232723;
}

.guest-profile > img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center top;
  border-right: 1px solid #4e554f;
}

.guest-profile__body {
  padding: clamp(22px, 4vw, 40px);
}

.guest-profile__body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #4e554f;
}

.guest-profile__body dl > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 16px;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid #414741;
}

.guest-profile__body dt {
  color: #969e97;
  font-size: 14px;
}

.guest-profile__body dd {
  margin: 0;
}

.guest-profile__body .guest-profile__case {
  grid-column: 1/-1;
  grid-template-columns: 12em 1fr;
  padding-block: 20px;
  line-height: 1.9;
}

.guest-system__return {
  margin-top: 48px;
  text-align: center;
}

.archive__media.is-anomalous {
  isolation: isolate;
}

.archive__anomaly-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.archive__media.is-anomalous .archive__anomaly-image {
  animation: archive-anomaly-image 2s steps(1, end) infinite;
}

.archive__media.is-anomalous::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24) 0 1px, rgba(0, 0, 0, 0.35) 1px 3px);
  content: "";
  mix-blend-mode: overlay;
  opacity: 0;
  pointer-events: none;
}

.archive__media.is-anomalous::after {
  animation: archive-anomaly-noise 2s steps(1, end) infinite;
}

@keyframes archive-anomaly-image {
  0%, 12% {
    opacity: 1;
    transform: translate(-3px, 2px);
    filter: contrast(1.35) saturate(0.75);
  }
  4%, 8% {
    transform: translate(4px, -2px);
  }
  13%, 100% {
    opacity: 0;
    transform: translate(0);
  }
}
@keyframes archive-anomaly-noise {
  0%, 12% {
    opacity: 0.72;
    background-position: 0 0;
  }
  4% {
    background-position: 16px -9px;
  }
  8% {
    background-position: -11px 13px;
  }
  13%, 100% {
    opacity: 0;
  }
}
.construction-record {
  background: #181b18;
}

.construction-record__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.construction-record__heading h2 {
  margin: 0;
}

.construction-record__heading dl {
  display: flex;
  gap: 30px;
  margin: 0;
}

.construction-record__heading dl div {
  display: grid;
  gap: 2px;
}

.construction-record__media {
  border: 1px solid #5c625c;
  background: #e7e4dc;
}

.construction-record__media img {
  width: 100%;
  height: auto;
}

.construction-record__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #505650;
}

.construction-record__details p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 24px;
  border-left: 1px solid #505650;
}

.construction-record__details p:last-child {
  border-right: 1px solid #505650;
}

.construction-record__details strong {
  color: #d1b77c;
  font-weight: 500;
}

.construction-record__details span {
  color: #aeb4ae;
  font-size: 14px;
}

.access-gate {
  display: grid;
  min-height: 52vh;
  place-items: center;
  padding-block: var(--space-large);
  background: #171914;
  text-align: center;
}

.access-gate__inner {
  width: min(100% - 40px, 640px);
  padding: 48px 30px;
  border-block: 1px solid #515751;
}

.access-gate h1 {
  font-family: var(--font-heading-ja);
  font-size: clamp(26px, 4vw, 40px);
}

.access-gate p {
  color: #aab0aa;
}

.internal-page {
  background: #111512;
}

.underground-records {
  min-height: 80vh;
  padding-block: var(--space-large);
  color: #d7ddd8;
  background: linear-gradient(180deg, #111512, #171b18);
}

.underground-records__header {
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid #485049;
}

.underground-records__header h1 {
  margin-bottom: 28px;
  font-family: var(--font-heading-ja);
  font-size: clamp(30px, 5vw, 52px);
}

.underground-records__sequence {
  display: grid;
  gap: 100px;
}

.underground-records__header dl,
.transfer-record__meta dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid #414942;
}

.underground-records__header dl div,
.transfer-record__meta dl div {
  padding: 12px 14px;
  border-right: 1px solid #414942;
  border-bottom: 1px solid #414942;
}

.underground-records__header dl div:first-child,
.transfer-record__meta dl div:first-child {
  border-left: 1px solid #414942;
}

.underground-records dt,
.truth-documents dt {
  color: #929c94;
  font-size: 14px;
}

.underground-records dd,
.truth-documents dd {
  margin: 2px 0 0;
}

.transfer-record {
  scroll-margin-top: 110px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.transfer-record.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.transfer-record__meta {
  margin-bottom: 22px;
}

.transfer-record__meta > span {
  display: block;
  margin-bottom: 10px;
  color: #b8a36f;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.12em;
}

.transfer-record figure {
  margin: 0;
  border: 1px solid #485049;
  background: #0c0f0d;
}

.transfer-record img {
  width: 100%;
  height: auto;
}

.transfer-record figcaption {
  padding: 13px 16px;
  color: #a9b1aa;
  border-top: 1px solid #485049;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.transfer-record > .c-button {
  margin-top: 30px;
}

.transfer-record__truth {
  min-width: 190px;
}

.truth-page {
  background: #11151a;
}

.truth-documents {
  color: #d8dde1;
  background: linear-gradient(180deg, #11151a, #1a1519 45%, #110f12);
}

.truth-documents__header {
  padding-block: var(--space-large);
  border-bottom: 1px solid #46505a;
}

.truth-documents__header h1 {
  margin-bottom: 32px;
  font-family: var(--font-heading-ja);
  font-size: clamp(32px, 5vw, 54px);
}

.document-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid #46505a;
  border-left: 1px solid #46505a;
}

.document-meta > div {
  padding: 12px 16px;
  border-right: 1px solid #46505a;
  border-bottom: 1px solid #46505a;
}

.truth-section {
  padding-block: var(--space-medium);
  border-bottom: 1px solid #563536;
}

.truth-section__heading {
  margin-bottom: 34px;
}

.truth-section__heading > span {
  display: block;
  margin-bottom: 8px;
  color: #bd4a45;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.truth-section__heading h2 {
  margin: 0;
  font-family: var(--font-heading-ja);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.5;
}

.document-paper {
  padding: clamp(22px, 4vw, 38px);
  color: #242a2d;
  background: #dddcd5;
}

.document-paper h3,
.document-subtitle {
  font-family: var(--font-heading-ja);
  font-size: 21px;
}

.truth-documents .document-paper h3 {
  color: #8b342e;
}

.document-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rules;
}

.document-rules li {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 20px;
  padding-block: 15px;
  border-top: 1px solid #a7a8a3;
  counter-increment: rules;
}

.document-rules strong::before {
  margin-right: 0.6em;
  content: counter(rules, decimal-leading-zero);
  color: #6a5a39;
  font-family: var(--font-en);
}

.document-note {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #a13e39;
  background: rgba(137, 43, 40, 0.12);
  font-size: 14px;
}

.document-split,
.document-split--portrait {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.document-attachment {
  margin: 0;
  border: 1px solid #614041;
  background: #0d1114;
}

.document-attachment img {
  width: 100%;
  height: auto;
}

.document-attachment figcaption {
  padding: 12px 14px;
  color: #aeb6bc;
  border-top: 1px solid #46505a;
  font-size: 14px;
}

.document-attachment--research {
  width: 100%;
  margin-top: 28px;
}

.document-facts {
  margin: 0;
}

.document-facts > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid #aaa9a3;
}

.document-facts dt {
  color: #5e6669;
}

.document-facts + h3 {
  margin-top: 36px;
}

.document-paper ul {
  padding-left: 1.4em;
}

.document-subtitle {
  margin: 42px 0 20px;
}

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

.observation-grid figure {
  margin: 0;
  border: 1px solid #46505a;
  background: #0d1114;
}

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

.observation-grid figcaption {
  padding: 10px 12px;
  color: #aeb6bc;
  font-size: 14px;
}

.table-scroll {
  overflow-x: auto;
}

.document-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: #242a2d;
  background: #dddcd5;
}

.document-table th,
.document-table td {
  padding: 13px 15px;
  border: 1px solid #9ea19f;
  text-align: left;
  vertical-align: top;
}

.document-table th {
  background: #c7c8c3;
  font-weight: 600;
}

.document-table tbody tr:last-child td:first-child {
  color: #8b342e;
  font-weight: 600;
}

.device-log {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid #6a3e3e;
  background: #180f11;
}

.device-log p {
  margin: 0;
  padding-block: 8px;
  border-bottom: 1px solid #333c43;
}

.device-log p:last-child {
  border-bottom: 0;
}

.device-log span {
  display: inline-block;
  min-width: 8em;
  color: #a9b3ba;
  font-family: var(--font-en);
}

.revision-history {
  border-top: 1px solid #6a3e3e;
}

.revision-history article {
  display: grid;
  grid-template-columns: 7em 6em 12em 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid #46505a;
}

.revision-history time {
  color: #b8a36f;
  font-family: var(--font-en);
}

.revision-history article > span {
  color: #9ea8af;
}

.revision-history h3,
.revision-history p {
  margin: 0;
}

.revision-history h3 {
  font-family: var(--font-heading-ja);
  font-size: 19px;
}

.revision-history article:last-child h3,
.revision-history article:last-child > span {
  color: #c54a44;
}

.correlation-list {
  border-top: 1px solid #6a3e3e;
}

.correlation-list > div {
  display: grid;
  grid-template-columns: 8em 11em 1fr 9em;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #46505a;
}

.correlation-list time,
.correlation-list code {
  color: #aeb8bf;
  font-family: var(--font-en);
  font-size: 14px;
}

.correlation-list code {
  text-align: right;
}

.correlation-list > div:last-child strong,
.correlation-list > div:last-child code {
  color: #c54a44;
}

.truth-ending {
  display: grid;
  min-height: 58vh;
  place-items: center;
  gap: 44px;
  padding: var(--space-large) 20px;
  background: #120e10;
  text-align: center;
}

.truth-ending__message {
  margin: 0 0 56px;
  font-family: var(--font-heading-ja);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.8;
}

.truth-ending__message strong {
  color: #c54038;
  font-weight: 500;
}

.truth-ending__message span {
  color: #c54038;
}

.truth-ending__brand img {
  width: min(310px, 72vw);
  margin: 0 auto 28px;
}

.truth-ending__brand p {
  margin-bottom: 30px;
  font-family: var(--font-heading-ja);
  font-size: clamp(20px, 3vw, 30px);
}

.truth-ending__guest-link {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .guest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .internal-record__data {
    grid-template-columns: 1fr;
  }
  .internal-record__data > div:nth-child(odd),
  .internal-record__data > div:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }
  .guest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guest-card > div:last-child {
    padding: 15px;
  }
  .elevator-record dl,
  .construction-record__details {
    grid-template-columns: 1fr;
  }
  .construction-record__heading {
    display: grid;
  }
  .construction-record__heading dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .construction-record__details p {
    border-right: 1px solid #505650;
  }
  .guest-profile {
    grid-template-columns: 1fr;
  }
  .guest-profile > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/5;
    border-right: 0;
    border-bottom: 1px solid #4e554f;
  }
  .guest-profile__body dl {
    grid-template-columns: 1fr;
  }
  .guest-profile__body .guest-profile__case {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .underground-records__header dl,
  .transfer-record__meta dl,
  .document-meta {
    grid-template-columns: 1fr;
  }
  .underground-records__header dl div,
  .transfer-record__meta dl div {
    border-left: 1px solid #414942;
  }
  .document-split,
  .document-split--portrait {
    grid-template-columns: 1fr;
  }
  .document-rules li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .observation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .revision-history article {
    grid-template-columns: 1fr 1fr;
    gap: 7px 16px;
  }
  .revision-history article p {
    grid-column: 1/-1;
  }
  .correlation-list > div {
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
  }
  .correlation-list > div span {
    grid-column: 1/-1;
  }
  .correlation-list code {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .archive__media.is-anomalous {
    outline: 2px solid rgba(197, 64, 56, 0.75);
  }
  .archive__media.is-anomalous .archive__anomaly-image {
    animation: none;
    opacity: 0.22;
  }
  .archive__media.is-anomalous::after {
    animation: none;
    opacity: 0.3;
  }
  .transfer-record {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
