@charset "UTF-8";
/* ---------- 中央寄せセクションの見出し下線を中央に ---------- */
.center h2.sec-ttl::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- 設備・アメニティ（ベージュの四角） ---------- */
.amenities .card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 66px;
  padding: 12px 14px;
}

.amenities .card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.amenities .card p {
  color: var(--ink);
  font-size: 15px;
}

/* ---------- 体験セクション：枠なし＋縦区切り線 ---------- */
.grid3.experience {
  gap: 0;
}

.experience .card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 30px;
}

.experience .card:hover {
  transform: none;
  box-shadow: none;
}

.experience .card:first-child {
  padding-left: 0;
}

.experience .card:last-child {
  padding-right: 0;
}

.experience .card + .card {
  border-left: 1px solid var(--line);
}

@media (max-width: 560px) {
  .grid3.experience {
    gap: 22px;
  }
  .experience .card {
    padding: 0;
  }
  .experience .card + .card {
    border-left: none;
  }
}
/* ---------- お部屋セクション：左画像を少し細く＋余白 ---------- */
.grid2.room-split {
  grid-template-columns: 0.82fr 1fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .grid2.room-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* ---------- 名瀬のまちのこと：カード枠なし ---------- */
.location-cards .card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.location-cards .card:hover {
  transform: none;
  box-shadow: none;
}

/* ---------- 左寄せ sec-head のアイブロウ下線あしらい（他セクションと統一） ---------- */
.sec-head .en::after {
  content: "";
  display: block;
  width: 46px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2012%27%3E%3Cpath%20d%3D%27M2%207%20q5.5%20-5%2011%200%20t11%200%20t11%200%20t11%200%27%20fill%3D%27none%27%20stroke%3D%27%23CFB13A%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E") left center/contain no-repeat;
  margin: 11px 0 0;
}

.sec-head.center .en::after {
  margin: 12px auto 0;
}

/* ---------- 名瀬のまちのこと：カード間の余白を拡大 ---------- */
.grid4.location-cards {
  gap: 25px;
}

@media (max-width: 900px) {
  .grid4.location-cards {
    gap: 26px;
  }
}
/* ---------- アクセスページ地図：縦幅を抑える ---------- */
.map-shot.map-page {
  height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 46%;
     object-position: center 46%;
}

@media (max-width: 560px) {
  .map-shot.map-page {
    height: 300px;
  }
}
/* ---------- アクセスページ：ページヒーロー画像の表示位置 ---------- */
.pagehero--access .ph.filled img {
  -o-object-position: center 75%;
     object-position: center 75%;
}
/* ---------- 名瀬のまちのこと：画像を少し高く ---------- */
.location-cards .ph.thumb {
  height: 162px;
}

/* ---------- ご予約CTA帯：単色（テーマのディープブルー・全ページ統一） ---------- */
.cta-band.spacious {
  background: var(--jade-deep);
}

/* ---------- まちのこと導入：中央揃え・見出し下線なし ---------- */
section.intro-center {
  text-align: center;
  background: transparent;
}

section.intro-center h2.sec-ttl {
  padding-bottom: 0;
}

section.intro-center h2.sec-ttl::after {
  display: none;
}

section.intro-center .anchor-row {
  justify-content: center;
}

/* ---------- お知らせ：2カラム（左タイトル／右一覧） ---------- */
.grid2.news-split {
  grid-template-columns: 0.4fr 1fr;
  align-items: start;
  gap: 44px;
}

@media (max-width: 900px) {
  .grid2.news-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* ---------- WebP配信：<picture>はレイアウトに影響させず、中の<img>を既存CSSどおり効かせる ---------- */
picture { display: contents; }

/* ---------- この宿のこと（CONCEPT）：背景に写真＋ディープブルーのレイヤー ---------- */
.concept-bg {
  /* WebP非対応ブラウザ向けフォールバック（jpg） */
  background: linear-gradient(rgba(44, 86, 136, 0.74), rgba(44, 86, 136, 0.8)), url("../img/naze-townview.jpg");
  /* WebP対応ブラウザは image-set で webp を優先読み込み */
  background: linear-gradient(rgba(44, 86, 136, 0.74), rgba(44, 86, 136, 0.8)), -webkit-image-set(url("../img/naze-townview.webp") type("image/webp"), url("../img/naze-townview.jpg") type("image/jpeg"));
  background: linear-gradient(rgba(44, 86, 136, 0.74), rgba(44, 86, 136, 0.8)), image-set(url("../img/naze-townview.webp") type("image/webp"), url("../img/naze-townview.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

/* 「この宿のこと」：セクション上下の余白を少し広げる */
.concept-bg.spacious {
  padding-top: 88px;
  padding-bottom: 88px;
}

/* ============ MV：画像＋タイトルを1画面(100dvh)に収め、白帯の“文字だけ”見せる。
   イラストはフォールドの外（スクロールで表示）＝全デバイスで見え方を統一 ============ */
.hero-sec { background: var(--paper-2); }
/* 固定ヘッダー(.gnav sticky)の高さを差し引き、フォールドを実表示領域ぴったりに */
.hero-fold {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 88px);   /* 古いブラウザ用フォールバック */
  height: calc(100dvh - 88px);  /* アドレスバー分を除いた実表示高さに追従 */
  min-height: 460px;
}
@media (max-width: 900px) {
  .hero-fold { height: calc(100vh - 84px); height: calc(100dvh - 84px); }
}
@media (max-width: 560px) {
  .hero-fold { height: calc(100vh - 74px); height: calc(100dvh - 74px); }
}
/* 画像：白帯以外の余りを埋める（vh固定をやめ、残り空間に自動フィット） */
.hero-fold .hero-media {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}
/* 白帯（タイトル＋サブ）：フォールド下部に配置。画像端に少し重ねてパネル感 */
.hero-fold .center {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  background: var(--paper-2);
  margin-top: 0;
}

/* CONCEPT：背景画像をビューポートに固定（parallax）はPCのみ（モバイルはガタつき回避で無効） */
@media (min-width: 561px) {
  .concept-bg {
    background-attachment: fixed;
  }
}

/* ============ ユーティリティ（PHP内 inline style 廃止用） ============ */
.mx-auto { margin-left: auto; margin-right: auto; }
.tac { text-align: center; }
.tal { text-align: left; }
.fs-14 { font-size: 14px; }
.mw-520 { max-width: 520px; }
.mw-560 { max-width: 560px; }
.mw-720 { max-width: 720px; }
.mw-820 { max-width: 820px; }
.mw-1000 { max-width: 1000px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-44 { margin-top: 44px; }
.mb-32 { margin-bottom: 32px; }
.btn-row--center { justify-content: center; }
/* 部分（セマンティック） */
.room-features { font-size: 15px; margin: 18px 0 0; padding: 16px 18px 16px 36px; background: #F7F2E8; border-radius: 10px; }
.review-text { font-size: 15px; margin-top: 10px; }
.footer-addr { font-size: 12px; color: #b2a999; }

/* ---------- Google翻訳 言語切替メニュー（埋め込みウィジェットでその場翻訳） ---------- */
/* #gtransMenu は <ul> のため、ナビ用 .gnav ul スタイルの漏れを防ぐ目的で ID で指定 */
.gtrans-wrap { position: relative; display: inline-flex; }
.gtrans { font-family: inherit; line-height: 1; }
/* 言語選択メニュー（各言語を縦並び） */
#gtransMenu {
  display: none;
  list-style: none;
  margin: 0;
  gap: 6px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}
#gtransMenu.is-open { display: flex; flex-direction: column; }
#gtransMenu li { margin: 0; }
#gtransMenu .js-translate-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1.4;
  font-size: 13.5px;
  letter-spacing: .04em;
  padding: 9px 16px;
  border: 1px solid var(--jade);
  border-radius: 999px;
  background: #fff;
  color: var(--jade);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: .18s;
}
#gtransMenu .js-translate-link:hover { background: var(--sun); color: #fff; border-color: var(--sun); }

/* 裏で動かす Google翻訳ウィジェット本体・上部バナーは非表示、本文のずれも抑制 */
#google_translate_element { display: none; }
/* Google翻訳が上部に差し込むバナー（iframe）とツールチップを非表示 */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-tooltip { display: none !important; }
/* バナーによる本文の押し下げ（body に付く top）を打ち消す */
body { top: 0 !important; position: static !important; }
html.translated-ltr body,
html.translated-rtl body { top: 0 !important; }

/* ============ トップページ スクロールリビール（PC/SP共通） ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .is-home .spacious .sec-head,
  .js .is-home .spacious .card,
  .js .is-home .spacious .room-split > div,
  .js .is-home .spacious .lead,
  .js .is-home .spacious .map-shot,
  .js .is-home .spacious .map-embed,
  .js .is-home .spacious table.spec,
  .js .is-home .spacious .btn-row,
  .js .is-home .cta-band .center,
  .js .is-home .news .sec-head,
  .js .is-home .news ul {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }
  .js .is-home .is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
  /* グリッド内カードのスタッガー */
  .js .is-home .grid3 .card:nth-child(2),
  .js .is-home .grid4 .card:nth-child(2) { transition-delay: 0.08s; }
  .js .is-home .grid3 .card:nth-child(3),
  .js .is-home .grid4 .card:nth-child(3) { transition-delay: 0.16s; }
  .js .is-home .grid4 .card:nth-child(4) { transition-delay: 0.24s; }

  /* ヒーローのキャッチコピー：ふわっと下から上がるフェードアップ（少し柔らかめ） */
  .js .is-home .hero-sec .hero-ttl,
  .js .is-home .hero-sec .sub,
  .js .is-home .hero-sec .hero-illust {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }
  .js .is-home .hero-sec .hero-ttl { transition-delay: 0.05s; }
  .js .is-home .hero-sec .sub { transition-delay: 0.20s; }
  .js .is-home .hero-sec .hero-illust { transition-delay: 0.35s; }
}

.concept-bg .en {
  color: #fff;
}

.concept-bg h2 {
  color: #fff;
}

.concept-bg .lead {
  color: rgba(255, 255, 255, 0.93);
}

/* ---------- ここで過ごす時間：3アイテムのタイトル中央揃え ---------- */
.experience .card h3 {
  text-align: center;
}

/* ---------- 名瀬のまちのこと：4アイテムのタイトルにあしらい（ゴールド小バー） ---------- */
.location-cards .card {
  position: relative;
}

.location-cards .card .ph {
  margin-bottom: 32px;
}

.location-cards .card h3 {
  position: absolute;
  left: -2px;
  top: 147px;
  margin: 0;
  padding: 6px 16px;
  background: var(--jade);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.location-cards .card h3::after {
  display: none;
}

/* ---------- 左揃えタイトル：下線 → 見出し左の縦バー（メインブルー） ---------- */
h2.sec-ttl {
  padding-left: 16px;
  padding-bottom: 0;
}

h2.sec-ttl::after {
  display: none;
}

h2.sec-ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 2px;
  background: var(--jade);
}

/* 中央寄せ・intro-center タイトルは縦バーを使わず、中央の横バーを維持 */
.center h2.sec-ttl, section.intro-center h2.sec-ttl {
  padding-left: 0;
  padding-bottom: 12px;
}

.center h2.sec-ttl::before, section.intro-center h2.sec-ttl::before {
  display: none;
}

.center h2.sec-ttl::after {
  display: block;
  left: 50%;
  bottom: 0;
  width: 32px;
  height: 4px;
  border-radius: 3px;
  background: var(--sun);
  transform: translateX(-50%);
}

/* ---------- rooms 間取り・水回り：枠を消してアイテム間に縦仕切り ---------- */
.room-detail .card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 28px;
}

.room-detail .card:hover {
  transform: none;
  box-shadow: none;
}

.room-detail .card:first-child {
  padding-left: 0;
}

.room-detail .card:last-child {
  padding-right: 0;
}

.room-detail .card + .card {
  border-left: 1px solid var(--line);
}

.grid2.room-detail {
  align-items: stretch;
}

@media (max-width: 900px) {
  .room-detail .card {
    padding: 0;
  }
  .room-detail .card + .card {
    border-left: none;
  }
}
/* 縦仕切りの左右余白を均等に：gapを0にしてカードのpaddingだけで間隔を作る */
.grid2.room-detail, .grid3.room-detail {
  gap: 0;
}

@media (max-width: 900px) {
  .grid2.room-detail, .grid3.room-detail {
    gap: 22px;
  }
}
/* area（まちのこと）各コンテンツ3グリッドのアイテム背景を白に */
.page-area .grid3.mt .card {
  background: #fff;
}

/* access ルートカードのアイコン */
.rico {
  color: var(--jade);
  line-height: 0;
}

.rico svg {
  width: 30px;
  height: 30px;
}

.route-cards .card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.route-cards .rico {
  margin: 0 10px 0 0;
}

.route-cards .card h3 {
  margin: 0;
}

.route-cards .card p {
  flex-basis: 100%;
  margin-top: 10px;
}

/* ご予約の流れ：ステップ間に▶アイコン */
.flow-cards .card {
  position: relative;
}

/* ご予約の流れ：番号を青（メインカラー）に */
.flow-cards .card h3 {
  color: var(--jade);
}

.flow-cards .card + .card::before {
  content: "▶";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--jade);
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 900px) {
  .flow-cards .card + .card::before {
    display: none;
  }
}
/* 間取り：画像右下角のフロアバッジ（メインカラー・角丸っぽい） */
.floor-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--jade);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-top-right-radius: 26px;
}

/* 各ページヒーローのページタイトル（和文のみ・左下配置・ボトムグラデ：セクション見出しと差別化） */
.pagehero .ph.filled {
  position: relative;
}

.pagehero .ph.filled::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(20, 35, 60, 0.2) 0%, rgba(20, 35, 60, 0.46) 50%, rgba(20, 35, 60, 0.2) 100%);
}

.pagehero-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.pagehero-title h1 {
  color: #fff;
  font-size: 33px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.06em;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* ここで過ごす時間：画像→タイトル→本文の余白を微調整 */
.experience .card .ph {
  margin-bottom: 16px;
}

.experience .card h3 {
  margin: 0 0 10px;
}

.experience .card p {
  margin: 0;
}

/* ---------- 帯フルブリード：背景は画面端まで／本文は1180px維持 ---------- */
/* .page(1180px中央)の子を100vwに逃がし、色帯・ヘッダー・フッターの背景を画面端まで伸ばす */
.gnav, .hero-sec, .pagehero, .concept-bg, .cta-band, .footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 背景のみ全幅・中身は中央1180pxに収める（左右パディングで制御。上下は各自の既存値を維持） */
.gnav, .concept-bg, .cta-band, .footer {
  padding-left: max(44px, 50vw - 590px);
  padding-right: max(44px, 50vw - 590px);
}

@media (max-width: 900px) {
  .gnav, .concept-bg, .cta-band, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 560px) {
  .gnav, .concept-bg, .cta-band, .footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
/* ---------- ヒーロー装飾イラスト（名瀬のまちなみ） ---------- */
.hero-illust {
  max-width: 350px;
  margin: 5px auto 30px;
}

.hero-illust img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 560px) {
  .hero-illust {
    max-width: 88%;
    margin-top: 26px;
  }
}
/* ---------- 個人情報同意欄 ---------- */
.consent-row {
  text-align: center;
  margin-top: 24px;
}

.privacy-link {
  color: var(--jade);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.privacy-link:hover {
  color: var(--jade-deep);
}
/* ============ お問い合わせフォーム（実入力欄） ============ */
input.field, select.field, textarea.field {
  width: 100%;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
}
textarea.field, textarea.field.area { padding: 12px 14px; line-height: 1.7; resize: vertical; }
.field:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(61,111,173,.12); }
.form-row label .req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: var(--sun);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}
.consent-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--jade); vertical-align: -2px; margin-right: 4px; }
.consent-row label { display: inline; font-size: 14px; }

/* 送信完了・エラー表示 */
.form-done { text-align: center; background: var(--paper); border-radius: 12px; padding: 36px 24px; }
.form-done__ttl { font-size: 18px; font-weight: 700; color: var(--jade); margin-bottom: 10px; }
.form-errors { background: #fdecec; border: 1px solid #f0c2c2; border-radius: 10px; padding: 14px 18px 14px 20px; margin-bottom: 22px; }
.form-errors ul { margin: 0; padding-left: 1.1em; }
.form-errors li { color: #b3261e; font-size: 14px; line-height: 1.8; }

/* ============ モーダル（個人情報の取り扱い 等） ============ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,20,20,.55); }
.modal__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(640px, 92vw); max-height: 86vh; overflow-y: auto;
  background: #fff; border-radius: 14px; padding: 34px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.modal__close:hover { color: var(--ink); }
.modal__ttl { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--ink); }
.modal__body h3 { font-size: 15px; font-weight: 700; margin: 16px 0 4px; color: var(--jade); }
.modal__body p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }

/* ============ お知らせ：一覧リンク＆記事ページ ============ */
.news-link { color: inherit; text-decoration: none; display: block; transition: color 0.15s; }
.news-link:hover { color: var(--jade); }
.news-detail { padding-top: 48px; padding-bottom: 52px; }
.news-article { background: #fff; border-radius: 12px; padding: 40px 44px; }
@media (max-width: 560px) {
  .news-article { padding: 28px 22px; }
}
.news-article__date { color: var(--jade); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 8px; }
.news-article__ttl { margin-bottom: 10px; padding-bottom: 16px; border-bottom: 2px solid var(--sun); }
.news-article__body { font-size: 15px; line-height: 2; color: var(--ink); margin-top: 22px; }

/* モーダル本文：リスト・段落・署名 */
.modal__body p { margin-bottom: 10px; }
.modal__body ul { margin: 6px 0 14px 1.2em; padding: 0; }
.modal__body li { font-size: 14px; line-height: 1.9; color: var(--ink-soft); margin-bottom: 4px; }
.modal__signature { font-weight: 700; color: var(--ink); margin-top: 6px; }

/* ============ アンカー遷移：sticky ヘッダー分の位置補正 ============ */
section[id] { scroll-margin-top: 92px; }
@media (max-width: 560px) { section[id] { scroll-margin-top: 74px; } }

/* ============ お知らせ：3件表示＋以降はスクロール ============ */
.news-split ul {
  max-height: 176px;
  overflow-y: auto;
  padding-right: 8px;
}
.news-split ul::-webkit-scrollbar { width: 6px; }
.news-split ul::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.news-split ul { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }

/* ============ 名瀬のまちのこと：カード本文を少し小さく ============ */
.location-cards .card p { font-size: 14px; }

/* ============ レスポンシブ微調整（小画面ハードニング） ============ */
@media (max-width: 560px) {
  /* モーダル：小画面は余白と見出しを詰める */
  .modal__panel { padding: 26px 20px; }
  .modal__ttl { font-size: 18px; }
  /* Google翻訳ドロップダウン：画面外へはみ出さない */
  #gtransMenu { max-width: calc(100vw - 32px); }
}

/* ============ SP：MV白帯のパディングを調整（レイアウトはPCと共通） ============ */
@media (max-width: 560px) {
  .hero-sec .center { padding: 30px 22px 34px; }
}

/* SP専用改行（PCでは無効） */
.br-sp { display: none; }
@media (max-width: 560px) { .br-sp { display: inline; } }

/* ============ SP：タイトル・本文のタイポ調整 ============ */
@media (max-width: 560px) {
  /* 見出しを画面幅に合わせて縮小 */
  .pagehero-title h1 { font-size: 26px; }
  h2.sec-ttl { font-size: 21px; }
  /* 本文の“デスクトップ用”強制改行を解除し、自然に折返す（.br-sp は除外） */
  .hero-sec .sub br,
  .sub.mb-32 br,
  .fs-14 br { display: none; }
  /* 本文（リード文）を少し小さく */
  .lead { font-size: 13.5px; }
  /* セクション見出しを中央揃え（アイブロウ下線も中央へ） */
  .sec-head { text-align: center; }
  .sec-head .en::after { margin-left: auto; margin-right: auto; background-position: center center; }
  /* お知らせ記事タイトル */
  .news-article__ttl { font-size: 16px; }
  /* テーブル：th を上・td を下の縦積み表示（全ページ共通）
     tbody も block 化しないと匿名テーブルボックスが生成され崩れる */
  table.spec, table.spec tbody, table.spec tr, table.spec th, table.spec td { display: block; width: 100%; }
  table.spec th { border-bottom: none; padding-bottom: 4px; }
  table.spec td { padding-top: 4px; }
  /* フロアタグを少し小さく */
  .floor-tag { font-size: 15px; padding: 6px 16px; }
  /* 設備・アメニティ：2カラム＋少し小さめ */
  .grid4.amenities { grid-template-columns: 1fr 1fr; }
  .amenities .card { min-height: 54px; padding: 9px 10px; }
  .amenities .card p { font-size: 13px; }
  /* イントロ（中央寄せ）：読みやすい行バランスに */
  section.intro-center { text-align: center; text-wrap: balance; word-break: auto-phrase; }
  /* アンカーチップ：4つを横一列に収める */
  .anchor-row.mt { gap: 6px; flex-wrap: nowrap; justify-content: center; }
  .anchor-row.mt .chip { font-size: 10.5px; padding: 6px 12px; letter-spacing: 0; white-space: nowrap; }
  /* 指定ボタンをスマホで中央寄せ */
  .btn-row--center-sp { justify-content: center; }
  /* フッター：中央寄せでバランスを整える */
  .footer { text-align: center; }
  .footer .logo-img-foot { margin-left: auto; margin-right: auto; }
  .footer .grid3 { gap: 26px; justify-items: center; }
  .footer ul { padding: 0; }
  .footer .btn-row { justify-content: center; }
}

/* ============ ライトボックス（お部屋画像の拡大表示） ============ */
.page-rooms section:not(.pagehero) .ph img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.82); }
.lightbox__img { position: relative; max-width: 92vw; max-height: 88vh; -o-object-fit: contain; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox__close { position: absolute; top: 14px; right: 20px; z-index: 2; background: none; border: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* SP：お部屋メイン画像下のサムネイル4枚は2カラム・横長 */
@media (max-width: 560px) {
  .grid4.room-thumbs { grid-template-columns: 1fr 1fr; }
  .grid4.room-thumbs .ph.thumb { height: auto; aspect-ratio: 4 / 3; }
}

/* SP：画像の角丸を控えめに */
@media (max-width: 560px) {
  .ph { border-radius: 8px; }
  .map-embed { border-radius: 8px; }
}

/* SP：スペック表の文字を小さく */
@media (max-width: 560px) {
  table.spec { font-size: 13px; }
}

/* SP：ワイド画像（ページヒーロー等）の高さ */
@media (max-width: 560px) {
  .ph.wide,
  .pagehero .ph.wide { height: 160px; }
}

/* SP：カード本文の文字サイズ・行間 */
@media (max-width: 560px) {
  .card p { font-size: 14px; line-height: 1.6; }
}

/* SP：正方形画像枠の高さ */
@media (max-width: 560px) {
  .ph.sq { height: 220px; }
}

/* SP：ボタンが複数ある行は横並びを維持（等分・縮小） */
@media (max-width: 560px) {
  .btn-row:has(.btn + .btn) { flex-wrap: nowrap; gap: 10px; }
  .btn-row:has(.btn + .btn) .btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }
}
