/* ==========================================================================
   HOTEL SUI 公式サイト 共通スタイル
   - 全ページで読む。各ページ専用のスタイルは css/<ページ>.css
   - 色・余白・文字サイズは STUDIO 版の実値をそのまま写している
   - 画面幅の切り替えは 840px（タブレット）と 540px（スマホ）の2段
   ========================================================================== */

/* ---- フォント（Google Fonts の読み込みは各HTMLの <head>） ---- */
:root {
  --font-serif-jp: 'Noto Serif JP';
  --font-serif-sc: 'Noto Serif SC';
  --font-serif-tc: 'Noto Serif TC';
  --font-sans-jp: 'Noto Sans JP';
  --font-lato: Lato;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: sans-serif;
  line-height: 1;
}

/* すべての部品の初期値（STUDIO と同じ考え方：余白なし・相対配置・縮まない） */
:where(body *) {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 100%;
  position: relative;
  z-index: 0;
  flex: none;
  list-style: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}

/* 箱（縦並び・中央揃え） */
:where(div, a, button, ul, li, nav, header, footer, section, form, label, main) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 文字（1行の中で中央揃え。行間は各クラスで指定） */
:where(p, h1, h2, h3, span) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1;
  word-spacing: 1px;
}

a { color: rgb(51, 51, 51); background: transparent; }
h1, h2, h3 { color: rgb(51, 51, 51); font-size: inherit; font-weight: inherit; }
button {
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 100%;
  cursor: pointer;
  user-select: none;
}
img, video { display: block; }

/* 背景に写真を敷く箱（HTML の style="background-image:…" で写真を指定） */
:where([style*="background-image"]) {
  background-position: 50%;
  background-size: cover;
}
template { display: none; }

/* 中身の入れ物（ページの縦並びをそのまま引き継ぐ） */
.page-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* Material アイコン（Google Fonts） */
.material-icons {
  font-family: 'Material Icons';
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ---- スライダー（js/script.js が動かす） ---- */
[data-slider] { overflow: hidden; }
[data-slider] [data-slide] { transition-property: transform; }
[data-slider]:not([data-playing]) [data-slot="pause"],
[data-slider][data-playing] [data-slot="play"] { display: none !important; }
[data-slider] [data-slot] { cursor: pointer; }

/* ---- スマホのメニュー（<dialog>） ---- */
dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  overflow: visible;
  color: inherit;
}
dialog[open] { display: flex; }
dialog::backdrop { background: transparent; }
.menu__container > * { pointer-events: auto; }
.menu__backdrop { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
dialog.menu .menu__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translateY(100px);
}
dialog.menu .menu__backdrop { opacity: 0; }
dialog.menu.is-open .menu__container {
  opacity: 1;
  transform: none;
  transition: opacity 400ms cubic-bezier(.4,.4,0,1), transform 400ms cubic-bezier(.4,.4,0,1);
}
dialog.menu.is-open .menu__backdrop { opacity: 1; transition: opacity 400ms cubic-bezier(.4,.4,0,1); }
dialog.menu.is-closing .menu__container,
dialog.menu.is-closing .menu__backdrop {
  opacity: 0;
  transition: opacity 400ms cubic-bezier(.4,.4,0,1), transform 400ms cubic-bezier(.4,.4,0,1);
}
@media (prefers-reduced-motion: reduce) {
  dialog.menu .menu__container, dialog.menu .menu__backdrop { transition: none !important; opacity: 1; transform: none; }
}

/* ==========================================================================
   ヘッダー・フッター・メニュー（全ページ共通）
   ========================================================================== */

.page {
  background: #ffffff;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
  min-height: 100dvh;
  overflow: clip;
}
.site-header {
  background: rgba(255, 255, 255, 0.51);
  width: 100%;
  justify-content: center;
  padding: 16px 0px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1;
}
.site-header.appear {
  opacity: 0;
  transition-delay: 800ms;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
  translate: 0px -8px;
}
.site-header__nav {
  width: calc(100% - 80px);
  max-width: calc(100% - 80px);
  justify-content: space-between;
  flex-direction: row;
  margin: 0px 40px;
  gap: 40px;
}
.site-header__inner { width: 100%; justify-content: space-between; flex-direction: row; gap: 40px; }
.site-header__logo { justify-content: center; }
.site-header__logo-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1;
  height: 32px;
  width: auto;
}
.site-nav { flex-direction: row; gap: 50px; }
.site-nav__item { justify-content: center; }
.site-nav__link {
  flex-direction: row;
  overflow-wrap: anywhere;
  word-break: break-word;
  word-spacing: 1px;
  justify-content: flex-start;
  color: #222222;
  font-family: var(--font-serif-sc);
  font-feature-settings: 'palt' 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  text-align: left;
}
.site-nav__link:hover { opacity: 0.7; }
.site-nav { margin-left: auto; }
/* PCのヘッダー右の予約ボタン（840px以下では隠し、下の .reserve-bar に任せる） */
.site-header__reserve {
  flex-direction: row;
  justify-content: center;
  margin: -3px 0px; /* ロゴ（32px）より高いぶんでヘッダーが太くならないように */
  padding: 0px 26px;
  height: 38px;
  background: #3d3d3d;
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-serif-jp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.site-header__reserve:hover { opacity: 0.8; }
/* スマホ・タブレットの画面下の予約バー（トップでは動画内の予約ボタンが見えている間は隠す。js/script.js の7） */
.reserve-bar { display: none; }
.menu-button {
  flex-direction: row;
  justify-content: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1;
  color: #222222;
  font-size: 24px;
  display: none;
}
.site-footer { width: 100%; justify-content: flex-start; background: #212121; }
.site-footer__top { flex-direction: row; height: 250px; width: 100%; justify-content: flex-start; }
.site-footer__brand { height: 160px; width: 30%; max-width: 30%; justify-content: center; padding: 50px; }
.site-footer__brand-sub {
  color: #ffffff;
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
}
.site-footer__brand-name {
  color: #ffffff;
  font-family: var(--font-serif-sc);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
}
.site-footer__brand-catch {
  color: #ffffff;
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
}
.site-footer__sns { height: 160px; justify-content: center; }
.site-footer__instagram {
  flex-direction: row;
  justify-content: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1;
  color: #ffffff80;
  font-size: 28px;
  margin: 5px 0px;
}
.site-footer__address {
  width: 30%;
  max-width: 30%;
  align-items: flex-start;
  justify-content: center;
  padding: 0px 50px;
}
.site-footer__address-label {
  color: #ffffff;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
}
.site-footer__address-text {
  color: #ffffff;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
}
.site-footer__bottom { width: 100%; padding-bottom: 20px; }
.site-footer__links {
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  gap: 14px 0px;
}
.site-footer__link {
  flex-direction: row;
  overflow-wrap: anywhere;
  word-break: break-word;
  word-spacing: 1px;
  color: #ffffff;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
  padding: 0px 0px 0px 50px;
}
.site-footer__copy-area { width: 100%; align-items: flex-end; justify-content: center; }
.site-footer__copy-box { align-items: flex-end; justify-content: center; padding: 30px 40px 20px; }
.site-footer__copy {
  color: #ffffff;
  font-family: var(--font-lato);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  justify-content: flex-start;
}
.menu__backdrop { background: rgba(0,0,0,0.16); }
.menu__container { height: 100%; justify-content: center; width: 100%; }
.menu__panel {
  align-items: flex-end;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.2);
  height: 100%;
  width: 100%;
}
.menu__inner {
  padding: 0px 40px;
  gap: 8px;
  justify-content: flex-start;
  background: #fff;
  height: 1000px;
  width: 360px;
  overflow-x: hidden;
  overflow-y: auto;
}
.menu__close-area {
  position: sticky;
  top: 0;
  z-index: 1;
  align-items: flex-end;
  justify-content: center;
  background: #fff;
  height: 75px;
  width: 100%;
}
.menu__close { flex-direction: row; justify-content: space-between; height: 100%; }
.menu__close:hover { opacity: 0.7; }
.menu__close-icon { color: #222222; font-size: 24px; }
.menu__body { padding: 0px 0px 40px; gap: 50px; justify-content: flex-start; width: 100%; }
.menu__list { align-items: flex-start; justify-content: flex-start; width: 100%; }
.menu__item {
  flex-direction: row;
  margin: -1px 0px 0px;
  gap: 20px;
  justify-content: flex-start;
  width: 100%;
}
.menu__link {
  flex-direction: row;
  padding: 16px 0px;
  gap: 20px;
  justify-content: flex-start;
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
  border-top: 1px solid #e6e6e6;
}
.menu__link:hover { opacity: 0.7; }
.menu__en {
  color: #222222;
  font-family: var(--font-lato);
  font-feature-settings: 'palt' 1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  justify-content: flex-start;
}
.menu__ja {
  color: #222222;
  font-family: var(--font-lato);
  font-feature-settings: 'palt' 1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
  text-align: left;
  justify-content: flex-start;
}

@media (max-width: 840px) {
  .site-nav { display: none; }
  .site-header__reserve { display: none; }
  .reserve-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid #e6e6e6;
  }
  .reserve-bar.is-hidden { transform: translateY(100%); visibility: hidden; }
  .reserve-bar__link {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    height: 48px;
    background: #3d3d3d;
    border-radius: 4px;
    color: #ffffff;
    font-family: var(--font-serif-jp);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
  }
  /* 予約バーの下に、フッターの最後の行が隠れないようにする */
  .site-footer { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .menu-button { display: flex; }
  .site-footer__top { height: 200px; }
  .site-footer__address { align-items: flex-end; width: 100px; max-width: 100%; }
  .site-footer__address-label { color: #e6e6e6; }
  .menu__close { display: flex; }
  .menu__item { flex-direction: column; align-items: flex-start; gap: 50px; }
  .menu__link { align-items: center; }
}

@media (max-width: 540px) {
  .site-header { padding: 12px 0px; }
  .site-header__nav { gap: 20px; margin: 0px 20px; width: calc(100% - 40px); max-width: calc(100% - 40px); }
  .site-header__logo-img { height: 28px; }
  .site-nav__link { font-size: 14px; }
  .site-footer__top { height: auto; }
  .site-footer__brand { padding: 0px 20px; height: 100px; width: auto; max-width: 100%; align-items: center; }
  .site-footer__brand-sub { font-size: 10px; }
  .site-footer__brand-name { font-size: 12px; }
  .site-footer__brand-catch { font-size: 8px; }
  .site-footer__sns { height: auto; }
  .site-footer__instagram { font-size: 16px; }
  .site-footer__address { padding: 0px 0px 0px 20px; width: 124px; align-items: flex-start; }
  .site-footer__address-label { margin: 0px; font-family: var(--font-serif-jp); font-size: 10px; color: #ffffff; }
  .site-footer__address-text { width: 114px; flex: none; font-family: var(--font-sans-jp); font-size: 8px; }
  .site-footer__bottom { padding: 16px 0px 10px; }
  .site-footer__links { gap: 12px 0px; }
  .site-footer__link { padding: 0px 0px 0px 20px; font-size: 12px; }
  .site-footer__copy-area { padding: 0px 0px 0px 20px; }
  .site-footer__copy-box { padding: 10px; }
  .site-footer__copy { font-size: 8px; }
  .menu__inner { padding: 0px 20px; width: 100%; }
  .menu__close-area { height: 64px; }
  .menu__body { gap: 40px; }
  .menu__link { gap: 16px; align-items: flex-start; }
  .menu__en { font-size: 16px; }
  .menu__ja { font-size: 14px; }
}

