/* 134 HOTEL GRAPHITE — K03 全画面を1枚ずつ送る（CSSの scroll-snap）。形＝スマホのまま横に延長。
   色と書体は共通の13変数だけ。区切りの色は .t-* クラスが同じ名前の変数を上書きする */
:root {
  --c-bg: #f4f4f2;
  --c-bg-alt: #d9d9d6;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #8a8a8a;
  --c-accent: #0b0b0b;
  --c-accent-text: #2a2a2a;
  --c-on-accent: #f4f4f2;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-head: "Noto Serif JP", serif;
  --font-en: "Syncopate", "Noto Sans JP", sans-serif;
  --header-h: 64px;
  --col: 620px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
.t-white { --c-bg: #f4f4f2; --c-bg-alt: #d9d9d6; --c-text: #374151; --c-sub: #4b5563; --c-line: #8a8a8a; --c-accent: #0b0b0b; --c-accent-text: #2a2a2a; --c-on-accent: #f4f4f2; }
.t-gray  { --c-bg: #d9d9d6; --c-bg-alt: #f4f4f2; --c-text: #2f3742; --c-sub: #4b5563; --c-line: #6b6b6b; --c-accent: #0b0b0b; --c-accent-text: #0b0b0b; --c-on-accent: #f4f4f2; }
.t-char  { --c-bg: #2a2a2a; --c-bg-alt: #3a3a3a; --c-text: #f4f4f2; --c-sub: #d0d0d0; --c-line: #8a8a8a; --c-accent: #f4f4f2; --c-accent-text: #f4f4f2; --c-on-accent: #0b0b0b; }
.t-black { --c-bg: #0b0b0b; --c-bg-alt: #1c1c1c; --c-text: #f4f4f2; --c-sub: #bdbdbd; --c-line: #6b6b6b; --c-accent: #f4f4f2; --c-accent-text: #f4f4f2; --c-on-accent: #0b0b0b; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--c-bg); }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-size: 16px; line-height: 1.9; overflow-x: hidden; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, li, figcaption { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd { margin: 0; }
.mono { filter: grayscale(1) contrast(1.1); }

/* ヘッダー（常に黒い帯） */
.header { position: fixed; inset: 0 0 auto 0; z-index: 40; background: var(--c-bg); color: var(--c-text); border-bottom: 1px solid var(--c-line); }
.header__inner { height: var(--header-h); padding: 0 20px; display: flex; align-items: center; gap: 12px; position: relative; }
.logo { text-decoration: none; display: flex; align-items: center; min-height: 44px; white-space: nowrap; flex: none; margin-right: auto; }
.logo__en { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .18em; }
.count { font-family: var(--font-ja); font-weight: 700; font-size: 15px; letter-spacing: .04em; white-space: nowrap; flex: none; color: var(--c-sub); }
.count span { color: var(--c-text); }
.header__btn { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; background: var(--c-accent); color: var(--c-on-accent); font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; border: 2px solid var(--c-accent); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; right: 0; top: 100%; width: min(100%, 360px); background: var(--c-bg); border: 1px solid var(--c-line); padding: 8px 24px 16px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--c-line); }

/* 1枚 = 1画面。PCでも1列のまま、文字の列だけ 620px */
.slide { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 36px) 0 40px; background: var(--c-bg); color: var(--c-text); scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: center; }
.col { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 20px; }
.en { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--c-accent-text); margin-bottom: 14px; }
.h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(32px, 8.4vw, 56px); line-height: 1.3; margin-bottom: 20px; }
/* F03 破った紙の縁（下の縁。切れた所から次の白い面が見える） */
.tear { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 96% calc(100% - 16px), 92% calc(100% - 9px), 88% calc(100% - 18px), 84% calc(100% - 8px), 80% calc(100% - 14px), 76% calc(100% - 7px), 72% calc(100% - 17px), 68% calc(100% - 10px), 64% calc(100% - 15px), 60% calc(100% - 6px), 56% calc(100% - 18px), 52% calc(100% - 9px), 48% calc(100% - 14px), 44% calc(100% - 7px), 40% calc(100% - 17px), 36% calc(100% - 10px), 32% calc(100% - 16px), 28% calc(100% - 8px), 24% calc(100% - 18px), 20% calc(100% - 9px), 16% calc(100% - 14px), 12% calc(100% - 6px), 8% calc(100% - 16px), 4% calc(100% - 9px), 0 calc(100% - 13px)); padding-bottom: 56px; }

/* 1 メインビジュアル */
.hero { justify-content: flex-end; padding: 0; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: var(--c-bg); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, black 88%, transparent) 0%, color-mix(in srgb, black 45%, transparent) 45%, transparent 75%); pointer-events: none; }
.hero__rec { position: absolute; z-index: 3; top: calc(var(--header-h) + 16px); right: 20px; font-family: var(--font-en); font-size: 15px; letter-spacing: .12em; display: flex; align-items: center; gap: 8px; color: var(--c-text); }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-text); }
.hero__body { position: relative; z-index: 3; width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 20px 76px; }
.hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(36px, 9.6vw, 76px); line-height: 1.25; margin-bottom: 16px; }
.hero__lead { margin-bottom: 26px; color: var(--c-text); }
.hero .en { color: var(--c-text); }
.is-motion .hero__frame { animation: iris 2.6s .3s cubic-bezier(.6, 0, .3, 1) backwards; }
.is-motion .hero__img { animation: drift 26s ease-in-out infinite alternate; }
.is-motion .hero__dot { animation: rec 1.4s steps(1) infinite; }
@keyframes iris { from { clip-path: circle(9vmin at 50% 46%); } to { clip-path: circle(150vmax at 50% 46%); } }
@keyframes drift { from { transform: scale(1) translateX(0); } to { transform: scale(1.14) translateX(-2.5%); } }
@keyframes rec { 50% { opacity: .15; } }

/* 2 はじめに */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.facts div { border-top: 3px solid var(--c-accent); padding-top: 10px; }
.facts dt { font-size: 15px; color: var(--c-sub); }
.facts dd { color: var(--c-text); font-weight: 700; }
.facts b { font-family: var(--font-en); font-size: 26px; letter-spacing: .04em; margin: 0 2px; }

/* 3 客室：重なるカード（B05。動かさない） */
.rooms { padding-top: var(--header-h); justify-content: flex-start; padding-bottom: 0; }
.rooms__photo { height: 24svh; min-height: 150px; overflow: hidden; }
.rooms__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.rooms__head { padding-top: 22px; }
.rooms .h2 { margin-bottom: 14px; font-size: clamp(30px, 7vw, 44px); }
.stack { flex: 1; display: flex; flex-direction: column; padding-top: 8px; }
.rcard { position: relative; flex: 1; margin-top: -26px; padding: 34px 20px 24px; background: var(--c-bg); color: var(--c-text); box-shadow: 0 -12px 28px color-mix(in srgb, black 28%, transparent); }
.rcard:first-child { margin-top: 0; }
.rcard > * { max-width: calc(var(--col) - 40px); margin-left: auto; margin-right: auto; }
.rcard__no { font-family: var(--font-en); font-size: 15px; letter-spacing: .2em; color: var(--c-accent-text); }
.rcard h3 { font-family: var(--font-en); font-weight: 700; font-size: clamp(22px, 5.6vw, 34px); letter-spacing: .1em; line-height: 1.3; }
.rcard p:last-child { color: var(--c-sub); }

/* 4 館内（Swiper） */
.house { padding-top: calc(var(--header-h) + 28px); }
.house__swiper { width: 100%; overflow: hidden; margin: 8px 0 12px; }
.house__swiper .swiper-slide { height: auto; }
.house__swiper img { width: 100%; height: 46svh; min-height: 220px; object-fit: cover; }
.house__swiper figcaption { padding: 10px 20px 0; font-family: var(--font-en); font-size: 15px; letter-spacing: .08em; color: var(--c-sub); }
.house__swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding-inline: 20px; gap: 12px; }
.house__swiper:not(.swiper-initialized) .swiper-slide { width: 82%; flex: none; scroll-snap-align: start; }
.sw-ctrl { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sw-btn { min-width: 44px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--c-text); border: 1px solid var(--c-line); font: 700 16px/1 var(--font-ja); cursor: pointer; }
.sw-pause { margin-left: auto; display: none; }
.is-js .sw-pause { display: inline-block; }
.sw-ctrl .swiper-pagination { position: static; width: auto; display: flex; flex: 1; justify-content: center; }
.sw-ctrl .swiper-pagination-bullet { width: 44px; height: 44px; margin: 0 !important; background: transparent; opacity: 1; border-radius: 0; position: relative; }
.sw-ctrl .swiper-pagination-bullet::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 3px; background: var(--c-line); }
.sw-ctrl .swiper-pagination-bullet-active::before { background: var(--c-text); }

/* 5 ご利用の決まり */
.rule { border-top: 2px solid var(--c-accent); }
.rule div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.rule dt { font-weight: 700; color: var(--c-text); }
.rule dd { color: var(--c-sub); }

/* 6 ご予約 */
.reserve .h2 { font-size: clamp(34px, 9vw, 60px); }
.reserve__lead { margin-bottom: 28px; color: var(--c-sub); }
.btn--wide { width: 100%; white-space: normal; text-align: center; }
.access { margin-top: 40px; border-top: 1px solid var(--c-line); }
.access div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.access dt { font-weight: 700; }
.access dd { color: var(--c-sub); }
.fiction { margin-top: 24px; font-size: 15px; color: var(--c-sub); text-align: center; }

@media (min-width: 768px) {
  .header__btn { display: inline-flex; }
  .house__swiper img { height: 56svh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
