/* リニューアルで TOP に足したものの見た目（2026-11-10〜）。main.css（今のサイトのまま）は触らず、ここに足す */

/* Origin の章の終わりの「History」へのリンク。Produced by Asyatt. の章のリンクと同じ形 */
body#main article#article-intro .article__content a.flats-history-link {
  font-family: UniversalSans-629, sans;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: 0;
  display: inline-block;
  margin: 45px 0 0;
  color: #fff;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

body#main article#article-intro .article__content a.flats-history-link.open {
  opacity: 1;
}

body#main article#article-intro .article__content a.flats-history-link svg {
  transition: all 0.2s ease-in-out;
  margin-right: 15px;
  vertical-align: middle;
  height: 25px;
  width: auto;
}

body#main article#article-intro .article__content a.flats-history-link:hover svg {
  transform: translateX(10px);
}

@media only screen and (max-width: 767px) {
  body#main article#article-intro .article__content a.flats-history-link {
    font-size: 11px;
    line-height: 20px;
    margin-top: 40px;
  }

  body#main article#article-intro .article__content a.flats-history-link svg {
    height: 20px;
    margin-right: 10px;
  }
}

/* フッターの住所（2026-11-10 チャトリウムニセコジャパンに変更）。元の住所より長く、2 行では E-mail・Call と
   同じ段に収まらないので 3 行にした。その分（1 行）だけパソコンのフッターを高くする */
@media only screen and (min-width: 1025px) {
  footer {
    height: 370px;
  }
}

/* フッターの「History」。1024px 以下では Asyatt. の 2 つのリンクと 1 行に収まらないので上に 1 行で置き、
   その分だけ SNS とフッターの高さを下げる（main.css は SNS の位置とフッターの高さを固定している） */
@media only screen and (max-width: 1024px) {
  footer #footer__contact ul#footer-info li a.footer-history {
    display: block;
    margin: 0 0 12px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  footer #footer__contact ul#footer-sns {
    top: 232px;
  }

  footer {
    height: 412px;
  }
}

@media only screen and (max-width: 767px) {
  footer #footer__contact ul#footer-sns {
    top: 257px;
  }

  footer {
    height: 522px;
  }
}

/* ---- ロゴの下のメニュー（ハンバーガー）。2026-11-10 追加。全ページ共通（menu.js） ---- */

/* ボタン：ロゴ（top 50px・幅 95px）の下に、今のサイトの細い線と同じ 1px の 2 本線 */
aside#aside-menu {
  position: fixed;
  top: 82px;
  left: 50px;
  z-index: 12;
  opacity: 0;
  transition: top 0.6s ease-in-out, opacity 0.6s ease-in-out;
  will-change: opacity, top;
}

aside#aside-menu.nav-hidden {
  top: -90px;
}

#aside-menu-button {
  display: block;
  width: 44px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

#aside-menu-button i {
  position: absolute;
  left: 0;
  width: 28px;
  height: 1px;
  background-color: #fff;
  transition: transform 0.4s ease-in-out, top 0.4s ease-in-out;
}

#aside-menu-button i:nth-child(1) {
  top: 12px;
}

#aside-menu-button i:nth-child(2) {
  top: 19px;
}

#aside-menu-button:hover i:nth-child(2) {
  transform: translateX(6px);
}

/* 開いているとき：2 本線が × になる。スクロールで隠れていても、ロゴとボタンを出す */
html.flats-menu-open #aside-menu-button i:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}

html.flats-menu-open #aside-menu-button i:nth-child(2) {
  top: 16px;
  transform: rotate(-45deg);
}

html.flats-menu-open aside#aside-menu.nav-hidden {
  top: 82px;
}

html.flats-menu-open aside#aside-header.nav-hidden {
  top: 50px;
}

html.flats-menu-open,
html.flats-menu-open body {
  overflow: hidden;
}

/* 開いた面：黒地（後ろの文字が透けないよう不透明）に、ページと章の一覧。ロゴ・予約ボタン（z-index 11）より下、本文より上 */
#flats-menu {
  position: fixed;
  inset: 0;
  z-index: 10;
  background-color: #000;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  overflow-y: auto;
}

#flats-menu[hidden] {
  display: none;
}

html.flats-menu-open #flats-menu {
  opacity: 1;
}

#flats-menu .flats-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 90px 80px 90px;
  box-sizing: border-box;
}

#flats-menu .flats-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#flats-menu .flats-menu__list a {
  display: inline-block;
  font-family: UniversalSans-300, sans;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #fff;
  transition: opacity 0.2s ease-in;
}

#flats-menu .flats-menu__list a:hover,
#flats-menu .flats-menu__sub a:hover {
  opacity: 0.6;
}

#flats-menu .flats-menu__list a span {
  font-family: UniversalSans-629, sans;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.5;
  margin-left: 14px;
  vertical-align: middle;
}

#flats-menu .flats-menu__sub {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}

#flats-menu .flats-menu__sub a {
  font-family: UniversalSans-629, sans;
  font-size: 13px;
  line-height: 13px;
  color: #fff;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
  transition: opacity 0.2s ease-in;
}

#flats-menu .flats-menu__sub a svg {
  width: 8px;
  height: auto;
  margin-left: 10px;
  vertical-align: middle;
}

@media only screen and (max-width: 767px) {
  aside#aside-menu {
    top: 50px;
    left: 25px;
  }

  html.flats-menu-open aside#aside-menu.nav-hidden {
    top: 50px;
  }

  html.flats-menu-open aside#aside-header.nav-hidden {
    top: 25px;
  }

  #flats-menu .flats-menu__inner {
    justify-content: flex-start;
    padding: 130px 25px 60px;
  }

  #flats-menu .flats-menu__list a {
    font-size: 26px;
    line-height: 1.75;
  }

  #flats-menu .flats-menu__sub {
    margin-top: 40px;
  }

  #flats-menu .flats-menu__sub a {
    font-size: 12px;
    line-height: 12px;
  }
}

/* ---- めくれる写真の束（page-curl.js）。2026-11-10 追加。asyatt.com の Snowtable と同じ形 ----
   黒い表紙（ロゴ入り）が左下の角から紙のようにめくれて写真が現れ、そのあとは写真の左下の角が少しめくれて止まる。
   押す・右へスワイプでめくれ、右下の ‹ III / V › でも前後へ。表紙の切り取り・紙の裏・影は JS が描く */

.flats-pages {
  position: relative;
  overflow: hidden;
  isolation: isolate; /* 中の重なり（角・矢印）を、固定のロゴやメニューより上に出さない */
  height: clamp(420px, 72vh, 860px);
  background-color: #000;
}

.flats-pages__sheet {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.flats-pages__cover,
.flats-pages__curl {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flats-pages__cover {
  z-index: 20;
  background-color: #000;
}

.flats-pages__curl {
  z-index: 25;
  width: 100%;
  height: 100%;
}

.flats-pages.has-stack .flats-pages__curl {
  display: block;
}

.flats-pages__cover-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  text-align: center;
}

.flats-pages__logo {
  width: clamp(90px, 9vw, 130px);
  height: auto;
  margin-bottom: 18px;
}

.flats-pages__cover-sub {
  font-family: UniversalSans-629, sans;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.flats-pages__cover-title {
  font-family: UniversalSans-300, sans;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0.01em;
}

/* 左下の少しめくれた角（押す・右へドラッグ／スワイプ）。縦のスクロールはそのまま */
.flats-pages__corner {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 30;
  width: clamp(110px, 26%, 340px);
  height: clamp(110px, 42%, 380px);
  padding: 0;
  background: transparent;
  border: 0;
  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.flats-pages__corner[hidden],
.flats-pages__nav[hidden] {
  display: none;
}

.flats-pages__corner:active {
  cursor: grabbing;
}

.flats-pages__corner:focus-visible {
  outline: 1px solid #fff;
  outline-offset: -8px;
}

/* 前へ・次へと何枚目か（右下）：細い枠ひとつの中に ‹ III / V › */
.flats-pages__nav {
  position: absolute;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(8px, 1.2vw, 16px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}

.flats-pages__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.flats-pages__arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}

.flats-pages__arrow:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 2px;
}

.flats-pages__arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.flats-pages__count {
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.flats-pages__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ローマ数字：今の数字と全体の数字を同じ幅の箱に入れて、区切りを中央に */
.flats-pages__roman {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  font-family: UniversalSans-518, sans;
  font-size: 12px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.flats-pages__roman [data-now],
.flats-pages__roman [data-total] {
  min-width: 1.6em;
}

.flats-pages__roman [data-now] {
  text-align: right;
}

.flats-pages__roman [data-total] {
  text-align: left;
}

.flats-pages__sep {
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.6;
  transform: rotate(22deg);
}

/* TOP：今のサイトの高さ指定（580px）をやめ、めくる束の高さにする */
body#main #article-slideshow-1 {
  height: auto;
}

/* 写真（パソコン用とスマホ用。ラウンジの写真はパソコン用だけ） */
.flats-pages__sheet[data-photo="slideshow-1-1"] { background-image: url(../images/top/slideshow-1-1-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-1-2"] { background-image: url(../images/top/slideshow-1-2-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-1-3"] { background-image: url(../images/top/slideshow-1-3-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-1-4"] { background-image: url(../images/top/slideshow-1-4-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-1-5"] { background-image: url(../images/top/slideshow-1-5-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-2-1"] { background-image: url(../images/top/slideshow-2-1-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-2-2"] { background-image: url(../images/top/slideshow-2-2-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-2-3"] { background-image: url(../images/top/slideshow-2-3-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-2-4"] { background-image: url(../images/top/slideshow-2-4-pc.webp); }
.flats-pages__sheet[data-photo="slideshow-2-5"] { background-image: url(../images/top/slideshow-2-5-pc.webp); }

@media only screen and (max-width: 767px) {
  .flats-pages {
    height: clamp(420px, 68vh, 620px);
  }

  .flats-pages__sheet[data-photo="slideshow-1-1"] { background-image: url(../images/top/slideshow-1-1-sp.webp); }
  .flats-pages__sheet[data-photo="slideshow-1-2"] { background-image: url(../images/top/slideshow-1-2-sp.webp); }
  .flats-pages__sheet[data-photo="slideshow-1-3"] { background-image: url(../images/top/slideshow-1-3-sp.webp); }
  .flats-pages__sheet[data-photo="slideshow-1-4"] { background-image: url(../images/top/slideshow-1-4-sp.webp); }
  .flats-pages__sheet[data-photo="slideshow-1-5"] { background-image: url(../images/top/slideshow-1-5-sp.webp); }
}

/* ---- 日本語と英語を分けて見せる（2026-11-10 ユーザー指示「日本語と英語でページを分けよう」） ----
   今のサイトはスマホだけ「JP｜EN」で片方を出し、パソコンでは両方を並べていた。パソコンでも片方だけにし、
   右端の「JP｜EN」で切り替える（選んだ言語は Cookie flats-lng に 60 日。初回はブラウザの言語。main.js のまま） */
.sp-unvisible {
  display: none !important;
}

aside#aside-lang {
  display: block;
  z-index: 9; /* 本文の上に出す（メニューを開いたときは、その下） */
  cursor: pointer;
}

/* 片方の言語だけを出すようになったので、英語の段落の下にあった「日本語との間」の余白（50px）はいらない */
body#main article .article__content p.en {
  margin-bottom: 0;
}

/* ---- Collaboration の章の写真（2026-11-16 ユーザー指示「ここの写真も変えたい」）----
   ラウンジ（夜の小上がりと木）の写真をやめ、asyatt.com の Snowtable の写真（2026-02 撮影）
   「焚き火と羊蹄山」にした（3 案から A に決定、2026-11-16） */
html body#main article#article-collaboration .article__bg-img,
html body#main article#article-collaboration .article__bg-img.no-webp {
  background-image: url(../images/renewal/collab-snowtable-fire-pc.webp);
  background-position: 50% 70%;
}



/* 雪の写真は明るいので、白い文字が読めるよう、かぶせる黒を少し濃くする（ほかの章は 50%） */
body#main article#article-collaboration .article__bg .article__bg-mask {
  opacity: 0.62;
}

@media only screen and (max-width: 767px) {
  html body#main article#article-collaboration .article__bg-img,
  html body#main article#article-collaboration .article__bg-img.no-webp {
    background-image: url(../images/renewal/collab-snowtable-fire-sp.webp);
    background-position: 50% 50%;
  }


}

/* ---- いただいた写真（2026-11-16。2023-09・2024-10 撮影。元のファイルは photos/、git には入れない） ---- */

/* TOP のめくる束に足した写真 */
.flats-pages__sheet[data-photo="flats-dining-2"] { background-image: url(../images/renewal/flats-dining-2-pc.webp); }
.flats-pages__sheet[data-photo="flats-course"] { background-image: url(../images/renewal/flats-course-pc.webp); }
.flats-pages__sheet[data-photo="flats-chefs-table"] { background-image: url(../images/renewal/flats-chefs-table-pc.webp); background-position: 50% 60%; }
.flats-pages__sheet[data-photo="flats-bar-counter"] { background-image: url(../images/renewal/flats-bar-counter-pc.webp); }
.flats-pages__sheet[data-photo="flats-bar-sake"] { background-image: url(../images/renewal/flats-bar-sake-pc.webp); background-position: 30% 60%; }

@media only screen and (max-width: 767px) {
  .flats-pages__sheet[data-photo="flats-dining-2"] { background-image: url(../images/renewal/flats-dining-2-sp.webp); }
  .flats-pages__sheet[data-photo="flats-course"] { background-image: url(../images/renewal/flats-course-sp.webp); }
  .flats-pages__sheet[data-photo="flats-chefs-table"] { background-image: url(../images/renewal/flats-chefs-table-sp.webp); }
  .flats-pages__sheet[data-photo="flats-bar-counter"] { background-image: url(../images/renewal/flats-bar-counter-sp.webp); }
  .flats-pages__sheet[data-photo="flats-bar-sake"] { background-image: url(../images/renewal/flats-bar-sake-sp.webp); background-position: 22% 60%; }
}

/* Origin の章の背景：ラウンジ（木の通路）をやめ、窓の大きな客席の写真に */
html body#main article#article-intro .article__bg-img,
html body#main article#article-intro .article__bg-img.no-webp {
  background-image: url(../images/renewal/flats-dining-1-pc.webp);
  background-position: 50% 55%;
}

@media only screen and (max-width: 767px) {
  html body#main article#article-intro .article__bg-img,
  html body#main article#article-intro .article__bg-img.no-webp {
    background-image: url(../images/renewal/flats-dining-1-sp.webp);
    background-position: 50% 50%;
  }
}

/* ---- Bar と Sushi（2026-11-16 追加。「Sushi at the Bar」を 2 つの章に分けた）----
   Bar の背景は彫刻パネルのバー、Sushi の背景はバーの日本酒と盃（どちらもいただいた写真） */
html body#main article#article-thebar .article__bg-img,
html body#main article#article-sushi .article__bg-img {
  background-size: cover;
  background-repeat: no-repeat;
}

html body#main article#article-thebar .article__bg-img {
  background-image: url(../images/renewal/flats-bar-2024-pc.webp);
  background-position: 50% 60%;
}

html body#main article#article-sushi .article__bg-img {
  background-image: url(../images/renewal/flats-bar-sake-pc.webp);
  background-position: 30% 60%;
}

@media only screen and (max-width: 767px) {
  html body#main article#article-thebar .article__bg-img {
    background-image: url(../images/renewal/flats-bar-2024-sp.webp);
    background-position: 50% 50%;
  }

  html body#main article#article-sushi .article__bg-img {
    background-image: url(../images/renewal/flats-bar-sake-sp.webp);
    background-position: 22% 50%;
  }
}

/* 章の中のリンク（Produced by Asyatt. の章のリンクと同じ形） */
body#main article .article__content a.flats-link {
  font-family: UniversalSans-629, sans;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  display: inline-block;
  margin: 45px 45px 0 0;
  color: #fff;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

body#main article .article__content a.flats-link.open {
  opacity: 1;
}

body#main article .article__content a.flats-link svg {
  transition: transform 0.2s ease-in-out;
  margin-right: 15px;
  vertical-align: middle;
  height: 25px;
  width: auto;
}

body#main article .article__content a.flats-link:hover svg {
  transform: translateX(10px);
}

@media only screen and (max-width: 767px) {
  body#main article .article__content a.flats-link {
    font-size: 11px;
    line-height: 20px;
    margin-top: 40px;
  }

  body#main article .article__content a.flats-link svg {
    height: 20px;
    margin-right: 10px;
  }
}

/* ---- 説明の章の中の Information（2026-11-16。ユーザー「説明と Information が分かれていてくどい」）----
   Restaurant / Bar と Private Chef の Information を、それぞれの説明の章の下に入れた。
   中身（住所・料金・時間・連絡先・予約）は今のサイトの Information のまま。並びだけここで決める */
body#main .flats-info {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: clamp(40px, 6vw, 100px);
  row-gap: 32px;
  align-items: start;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

body#main .flats-info p.flats-info__label {
  grid-column: 1 / -1;
  margin: 0 0 -8px;
  font-family: UniversalSans-629, sans;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.04em;
  opacity: 0.5;
}

body#main .flats-info p {
  font-family: UniversalSans-300, sans;
  font-size: 12px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0;
  margin: 0;
}

body#main .flats-info span.title {
  display: block;
  font-family: UniversalSans-629, sans;
  font-size: 12px;
  line-height: 20px;
}

body#main .flats-info span.sub,
body#main .flats-info span.alert {
  font-family: UniversalSans-629, sans;
}

body#main .flats-info span.sub,
body#main .flats-info span.marg {
  margin-left: 10px;
}

body#main .flats-info span.jap {
  font-family: Zen Kaku Gothic New, sans-serif;
}

body#main .flats-info a {
  color: #fff;
}

/* 右の列：予約・地図・SNS（今のサイトの Information の右側と同じ形） */
body#main .flats-info .article-information-col3 a.information-side-link,
body#main .flats-info #article-private-col3 a {
  position: relative;
  display: inline-block;
  font-family: UniversalSans-629, sans;
  font-size: 15px;
  line-height: 15px;
  margin-bottom: 28px;
}

body#main .flats-info .article-information-col3 a.information-side-link {
  display: block;
  width: max-content;
}

body#main .flats-info .article-information-col3 a.underliner,
body#main .flats-info #article-private-col3 a {
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
}

body#main .flats-info .article-information-col3 a svg,
body#main .flats-info #article-private-col3 a svg {
  margin-left: 12px;
  transition: transform 0.2s ease-in-out;
}

body#main .flats-info .article-information-col3 a:hover svg,
body#main .flats-info #article-private-col3 a:hover svg {
  transform: translateX(5px);
}

body#main .flats-info .information-side-sns span {
  display: inline-block;
  font-family: UniversalSans-629, sans;
  font-size: 7px;
  line-height: 7px;
  margin-right: 15px;
  vertical-align: top;
}

body#main .flats-info .information-side-sns a {
  display: inline-block;
}

body#main .flats-info .information-side-sns a svg {
  width: 20px;
  height: auto;
  margin-right: 10px;
  vertical-align: top;
}

@media only screen and (max-width: 1024px) {
  body#main .flats-info {
    grid-template-columns: repeat(2, max-content);
  }
}

@media only screen and (max-width: 767px) {
  body#main .flats-info {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 50px;
  }

  body#main .flats-info .article-information-col3 a.information-side-link,
  body#main .flats-info #article-private-col3 a {
    font-size: 12px;
    line-height: 12px;
    margin-bottom: 22px;
  }
}

/* Restaurant / Bar の章は Information も入って文字が多いので、料理の写真にかぶせる黒を少し濃く（ほかの章は 50%） */
body#main article#article-restaurant .article__bg .article__bg-mask {
  opacity: 0.6;
}

/* Sushi の背景（日本酒の瓶が左＝文字の下にくる）は、文字が読めるよう黒を少し濃く */
body#main article#article-sushi .article__bg .article__bg-mask {
  opacity: 0.6;
}

/* Bar と Sushi は文が短く、章の縦幅が狭くて写真が次々に流れ、目がチカチカする（2026-11-16 ユーザー）。
   パソコン・タブレットでは画面の 8 割ほどの高さにし、文字を上下の真ん中に置く（スマホは今の余白で十分高い） */
@media only screen and (min-width: 768px) {
  body#main article#article-thebar,
  body#main article#article-sushi {
    display: flex;
    align-items: center;
    min-height: max(560px, 80vh);
  }
}


/* ---- 追加でいただいた写真（2026-11-16 午後：客席 2・今のバー・鮨 4） ---- */

.flats-pages__sheet[data-photo="flats-dining-3"] { background-image: url(../images/renewal/flats-dining-3-pc.webp); }
.flats-pages__sheet[data-photo="flats-tables"] { background-image: url(../images/renewal/flats-tables-pc.webp); }
.flats-pages__sheet[data-photo="flats-sushi-1"] { background-image: url(../images/renewal/flats-sushi-1.webp); }
.flats-pages__sheet[data-photo="flats-sushi-2"] { background-image: url(../images/renewal/flats-sushi-2.webp); }
.flats-pages__sheet[data-photo="flats-sushi-3"] { background-image: url(../images/renewal/flats-sushi-3.webp); }
.flats-pages__sheet[data-photo="flats-sushi-4"] { background-image: url(../images/renewal/flats-sushi-4.webp); }

@media only screen and (max-width: 767px) {
  .flats-pages__sheet[data-photo="flats-dining-3"] { background-image: url(../images/renewal/flats-dining-3-sp.webp); }
  .flats-pages__sheet[data-photo="flats-tables"] { background-image: url(../images/renewal/flats-tables-sp.webp); }
}

/* Sushi の章：文章を左、鮨の写真（縦長のめくる束）を右に。背景の写真はやめて黒地に（写真が束と重ならないように） */
html body#main article#article-sushi .article__bg-img {
  background-image: none;
}

.flats-pages--portrait {
  height: auto;
  aspect-ratio: 2 / 3;
}

.flats-pages--portrait .flats-pages__cover-title {
  font-size: clamp(32px, 4vw, 56px);
}

@media only screen and (min-width: 768px) {
  body#main article.flats-split .article__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(40px, 6vw, 120px);
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  body#main article.flats-split .flats-split__photos {
    width: clamp(300px, 30vw, 440px);
  }
}

@media only screen and (max-width: 767px) {
  body#main article.flats-split .flats-split__photos {
    margin-top: 50px;
  }
}

/* ---- TOP のいちばん上の写真（アイキャッチ）に、窓の大きな客席を足す（2026-11-17 ユーザー指示） ----
   いただいた写真 flats-dining-2（2024-10 撮影）。すぐ下の Origin の背景（flats-dining-1）と別の角度のものにした */
body#main section#section-top #section-top__bg #section-top__slideshow .top-slideshow-dining {
  background: url(../images/renewal/flats-dining-2-pc.webp) 50% 50% / cover no-repeat;
}

body#main section#section-top #section-top__bg #section-top__slideshow .top-slideshow-dining.no-webp {
  background: url(../images/renewal/flats-dining-2-pc.jpg) 50% 50% / cover no-repeat;
}

@media only screen and (max-width: 767px) {
  body#main section#section-top #section-top__bg #section-top__slideshow .top-slideshow-dining {
    background: url(../images/renewal/flats-dining-2-sp.webp) 35% 50% / cover no-repeat;
  }
}
