/* --- 会津七日町INN カラーパレット（暗めの赤えんじ） --- */
:root {
    --bg-page: #faf6f4;
    --bg-card: #fff9f7;
    --bg-card-alt: #f8f0ee;
    --bg-header: rgba(250, 246, 244, 0.96);
    --text-primary: #111111;
    --text-muted: #444444;
    --text-on-enji: #faf6ee;
    --enji: #7a2a38;
    --enji-mid: #621f2e;
    --enji-dark: #5c1a28;
    --enji-deep: #451420;
    --enji-deeper: #4a1822;
    --gradient-enji: linear-gradient(135deg, #7a2a38 0%, #5c1a28 55%, #451420 100%);
    --gradient-enji-card: linear-gradient(160deg, #7a2a38 0%, #621f2e 50%, #4a1822 100%);
    --gradient-footer: linear-gradient(180deg, #5c1a28 0%, #451420 100%);
    --border: #e6d6d2;
    --border-light: #efe4e2;
    --table-head: #f0f0f0;
    --link: #111111;
    --link-hover: #000000;
    --cta-bg: #f0e0d0;
    --cta-text: #111111;
    --cta-hover: #f5e8d4;
    --badge-gold: #e8c878;
    --badge-gold-deep: #c9a25a;
    --badge-gold-text: #fff6e8;
    --badge-gold-border: rgba(232, 200, 120, 0.82);
    --badge-gold-glow: rgba(232, 200, 120, 0.14);
    --shadow-enji: rgba(70, 18, 30, 0.12);
    --shadow-enji-lg: rgba(70, 18, 30, 0.22);
    --shadow-header: rgba(122, 42, 56, 0.1);
    --overlay: rgba(69, 20, 32, 0.38);
    --header-h: 60px;
}

/* --- 共通設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html, body {
    width: 100%;
    max-width: 100%;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    font-family: 'Shippori Mincho', serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.8;
    letter-spacing: 0.1em;
    -webkit-font-smoothing: antialiased;
}

/* --- ヘッダー --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-header);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 100;
    min-height: var(--header-h);
    box-shadow: 0 1.5px 10px 3px var(--shadow-header);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 120;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    max-width: min(300px, 58vw);
    display: block;
}

/* ナビゲーション */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 22px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: color 0.2s, opacity 0.3s;
}

nav ul li a:hover {
    color: var(--text-primary);
    opacity: 0.75;
}

/* ハンバーガーボタン */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 130;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 3.2px;
    margin: 0 auto 6px auto;
    background: var(--enji-dark);
    border-radius: 2px;
    transition: 0.25s cubic-bezier(.68, -0.55, .27, 1.55);
}

.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* モバイルナビ（header の外に置く — backdrop-filter 内の fixed はスクロール位置でずれる） */
nav.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(250, 246, 244, 0.98);
    box-shadow: -4px 0 24px 2px var(--shadow-enji);
    width: 80vw;
    max-width: 320px;
    height: 100dvh;
    max-height: 100vh;
    z-index: 1500;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(.6, .2, .27, 1.16);
    transform: translateX(100%);
}

nav.mobile-nav.open {
    display: flex;
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border-light);
    background: rgba(250, 246, 244, 0.98);
}

.mobile-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--enji-dark);
    letter-spacing: 0.1em;
}

.mobile-nav-close {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1px solid var(--enji);
    border-radius: 6px;
    background: #fff;
    color: var(--enji-dark);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.mobile-nav-close:hover {
    background: var(--bg-card-alt);
}

nav.mobile-nav .mobile-nav-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px 28px 30px;
    margin: 0;
}

nav.mobile-nav ul {
    flex-direction: column;
}

nav.mobile-nav ul li {
    margin: 0 0 25px 0;
}

nav.mobile-nav ul li a {
    font-size: 1.1rem;
}

.overlay {
    display: none;
    position: fixed;
    z-index: 1400;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    cursor: pointer;
}

.overlay.open {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open header {
    z-index: 1600;
}

/* --- ヒーロー・セクション共通 --- */
.hero-fold {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
}

.hero {
    position: relative;
    flex: 1 1 auto;
    min-height: 140px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    filter: brightness(0.96) saturate(1.02);
}

.hero-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(69, 20, 32, 0.04) 0%, rgba(69, 20, 32, 0.18) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: auto;
    max-width: 92vw;
    z-index: 2;
    writing-mode: horizontal-tb;
    color: #fff;
    font-size: 3.3rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
    word-break: keep-all;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

/* 画面には出さず、h1・読み上げ用に施設名を含める */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section {
    padding: 72px 20px 40px;
    max-width: 1150px;
    margin: 0 auto;
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 28px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: 0.12em;
}

/* --- お部屋紹介 (Rooms) --- */
.rooms-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.room-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow-enji);
    border: 1px solid var(--border-light);
}

.room-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.room-item img:hover {
    transform: scale(1.03);
}

/* --- フォトギャラリー (Photo Gallery) --- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    /* JSで.is-visibleが付与されるまで非表示 */
}

.photo-item.is-visible {
    display: block;
}

.photo-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    filter: brightness(1.05);
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* 写真右下のキャプション */
.photo-caption {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    pointer-events: none;
}

/* もっと見るボタン */
.more-btn {
    padding: 12px 40px;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    cursor: pointer;
    font-family: 'Shippori Mincho', serif;
    transition: all 0.3s;
    margin-top: 20px;
}

.more-btn:hover {
    background: var(--text-primary);
    color: #fff;
}

/* --- モーダル (拡大表示) --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadein 0.2s;
}

.modal-overlay.open {
    display: flex;
}

.modal-img-wrapper {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.close-modal-btn {
    background: none;
    color: #fff;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    margin-bottom: 5px;
    line-height: 1;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- お知らせ・基本情報 --- */
.news-list {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
}

.news-item {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.news-date {
    color: var(--text-muted);
    margin-right: 25px;
    min-width: 100px;
}

.news-link {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.basicinfo-table {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.basicinfo-table th,
.basicinfo-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.basicinfo-table th {
    background: var(--table-head);
    width: 28%;
    color: var(--text-primary);
}

.basicinfo-table a {
    color: var(--link);
}

.basicinfo-table a:hover {
    color: var(--link-hover);
}

/* --- フッター --- */
footer {
    background: var(--gradient-footer);
    color: var(--text-on-enji);
    padding: 60px 20px;
    text-align: center;
}

.footer-subnav a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: underline;
}

.footer-subnav a:hover {
    color: #fff;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 40px;
}

/* --- メディアクエリ (スマホ・タブレット対応) --- */
@media (max-width: 900px) {
    .rooms-container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .photo-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 8px 12px;
        gap: 8px;
    }

    .desktop-nav {
        display: none !important;
    }

    .header-actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 8px;
    }

    .header-actions .reserve-btn {
        margin-left: 0;
        margin-right: 0;
        padding: 0.52em 1.1em;
        font-size: 0.98em;
        min-height: 44px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .section {
        padding: 52px 16px 36px;
    }

    .hero-title {
        font-size: 2.6rem;
        left: 50%;
        top: 50%;
    }
}

@media (max-width: 768px) {
    .logo {
        flex: 1;
        min-width: 0;
        margin-right: 4px;
    }

    .logo-img {
        height: 28px;
        max-width: min(200px, 48vw);
    }
}

@media (max-width: 380px) {
    .logo-img {
        height: 24px;
        max-width: 42vw;
    }

    .header-actions .reserve-btn {
        padding: 0.48em 0.95em;
        font-size: 0.92em;
        min-height: 42px;
    }
}

@media (max-width: 600px) {

    .rooms-container,
    .photo-gallery {
        grid-template-columns: 1fr 1fr;
        /* スマホも2列維持 */
    }

    .room-item img,
    .photo-item img {
        height: 140px;
    }
}

/* --- アクセスセクション --- */
#access {
    overflow-x: clip;
}

.access-body {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.access-pdf-wrap {
    margin: -8px 0 20px;
    text-align: center;
}

.access-address {
    margin: 0 0 12px;
    line-height: 1.9;
    color: var(--text-primary);
    font-size: 0.98rem;
}

.access-list {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.9;
    color: var(--text-primary);
    font-size: 0.98rem;
}

.access-list li {
    position: relative;
    padding-left: 1.1em;
    margin-bottom: 4px;
}

.access-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

/* 2. 地図を中央に寄せて大きくする */
.map-frame {
    display: block;
    margin: 40px auto 0;
    width: 100%;
    max-width: 900px;
    height: 500px;
    border: none;
    border-radius: 12px;
}

@media (max-width: 600px) {
    .map-frame {
        height: 280px;
        border-radius: 8px;
    }
}

/* --- コンセプトセクションも中央揃え --- */
#concept {
    text-align: center;
}

.concept-text {
    margin: 0 auto;
    max-width: 720px;
}

.cafe-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 8px;
}

.cafe-feature-photo {
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow-enji);
    aspect-ratio: 3 / 2;
    background: var(--table-head);
}

.cafe-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
    filter: brightness(1.05);
}

.cafe-block:hover .cafe-feature-photo img {
    transform: scale(1.02);
}

.cafe-text {
    margin-top: 0;
}

@media (max-width: 600px) {
    .cafe-feature-photo {
        margin-bottom: 22px;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }
}

/* 左揃え本文：段落の行頭を一字下げ（全角1文字分） */
.concept-lead:not(.concept-lead--bullet),
.concept-text p,
.faq-intro,
.faq-answer p,
.guestrooms-hint,
.room-type-card p,
.sub-text,
.contact-page .intro,
.contact-page .cf-thanks p,
.access-address {
    text-indent: 1em;
}

.concept-lead {
    font-size: 1.04em;
    line-height: 1.9;
    margin: 0 0 1.2em;
    text-align: left;
}

.concept-lead--bullet {
    text-indent: 0;
    padding-left: 0;
}

.faq-answer li.cafe-hours-item {
    text-indent: 0;
}

@media (max-width: 768px) {
    .concept-lead {
        font-size: 0.98em;
        text-align: left;
    }
}

/* --- 室内360度カメラ (360 Camera) --- */
.theta-section {
    text-align: center;
    margin: 40px auto;
}

.theta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ボタンを中央に寄せる */
    gap: 32px;
    margin-top: 16px;
}

.theta-links a {
    display: inline-block;
    font-size: 1.1em;
    padding: 14px 34px;
    background: var(--bg-card-alt);
    color: var(--link);
    border-radius: 6px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.theta-links a:hover {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* スマホ対応：ボタンの隙間を少し調整 */
@media (max-width: 600px) {
    .theta-links {
        gap: 16px;
    }
    .theta-links a {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* --- スマホ追加修正 --- */

/* ヒーロータイトル: 小さい画面でさらにフォント縮小 */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.55rem, 5.8vw, 2rem);
        letter-spacing: 0.08em;
        max-width: 96vw;
    }
}

/* メールアドレス: 1語なので明示的に折り返し許可 */
.contact-email {
    word-break: break-all;
    overflow-wrap: break-word;
}

/* 新着情報: 狭い画面で日付を上に出す */
@media (max-width: 400px) {
    .news-item {
        flex-direction: column;
        gap: 4px;
    }
    .news-date {
        margin-right: 0;
        min-width: unset;
    }
}

/* --- 予約ボタン・ドロップダウン（ヘッダー） --- */
.reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    padding: 0.55em 1.5em;
    min-height: 44px;
    background: var(--enji-dark);
    color: var(--text-on-enji) !important;
    font-weight: 700;
    border: none;
    border-radius: 23px;
    font-size: 1.05em;
    letter-spacing: 0.06em;
    text-decoration: none;
    box-shadow: 0 2px 10px var(--shadow-enji);
    transition: background 0.15s, box-shadow 0.15s, opacity 0.2s;
    cursor: pointer;
    vertical-align: middle;
    line-height: 1.2;
    box-sizing: border-box;
}

.reserve-btn:hover,
.reserve-btn:focus {
    background: var(--enji-deep);
    color: var(--text-on-enji) !important;
    opacity: 0.95;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .reserve-btn {
        margin-left: 10px;
        padding: 0.5em 1.15em;
        font-size: 1em;
        min-height: 42px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
}

@media (min-width: 769px) {
    .header-actions {
        display: none;
    }

    .desktop-nav .reserve-btn {
        display: inline-block;
    }
}

.reserve-btn-wrap {
    position: relative;
    display: inline-block;
}

.reserve-btn-trigger::after {
    content: ' ▾';
    font-size: 0.8em;
    opacity: 0.7;
}

.rv-book-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 272px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-enji-lg);
    z-index: 300;
    overflow: hidden;
}

.rv-book-dropdown.open {
    display: block;
}

.rv-book-option {
    display: block;
    padding: 15px 18px;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-light);
}

.rv-book-option:last-child {
    border-bottom: none;
}

.rv-book-option-direct {
    background: #faf0e8;
}

.rv-book-option-direct:hover {
    background: #f3e4dc;
}

.rv-book-option-external:hover {
    background: var(--bg-page);
}

.rv-book-label {
    display: block;
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 3px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.rv-book-option-direct .rv-book-label {
    color: var(--text-primary);
}

.rv-book-option-external .rv-book-label {
    color: var(--text-muted);
    font-weight: 400;
}

.rv-book-sub {
    display: block;
    font-size: 0.77rem;
    color: #b8a8a4;
    letter-spacing: 0.03em;
}

.rv-book-option-direct .rv-book-sub {
    color: var(--text-muted);
    opacity: 0.85;
}

.rv-book-badge {
    display: inline-block;
    background: var(--enji);
    color: var(--text-on-enji);
    font-size: 0.66rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 20px;
    margin-left: 7px;
    vertical-align: middle;
    letter-spacing: 0.05em;
}

.google-translate-wrapper {
    position: absolute;
    top: calc(var(--header-h) + 12px);
    right: 20px;
    z-index: 50;
    background: rgba(250, 246, 244, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 10px var(--shadow-enji);
}

@media (max-width: 768px) {
    .google-translate-wrapper {
        top: calc(var(--header-h) + 8px);
        right: 10px;
        padding: 6px;
    }
}

/* Google翻訳が body 先頭に挿入するバナーでレイアウトがずれないよう */
body {
    top: 0 !important;
}

.goog-te-gadget {
    font-family: 'Shippori Mincho', serif !important;
}

#google_translate_element {
    font-size: 14px;
}

.goog-te-banner-frame,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-te-menu-value {
    color: var(--text-primary) !important;
}

.goog-te-menu2 {
    max-width: 100% !important;
}

.goog-te-menu2-item {
    font-size: 14px !important;
    padding: 8px !important;
}

.access-pdf-link {
    font-size: 0.95rem;
    color: var(--link);
    text-decoration: underline;
}

.access-pdf-link:hover {
    color: var(--link-hover);
}

.guestrooms-hint {
    text-align: center;
    margin: -8px 0 20px;
    font-size: 0.95em;
    color: var(--text-muted);
}

/* --- お問い合わせページ --- */
.contact-page main {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.contact-page h1 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-page .intro {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cf-field {
    margin-bottom: 22px;
}

.cf-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.cf-label .req {
    color: var(--text-primary);
    font-size: 0.8rem;
    margin-left: 6px;
}

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
}

.cf-textarea {
    min-height: 140px;
    resize: vertical;
}

.cf-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 28px auto 0;
    padding: 0.75em 1.5em;
    background: var(--enji-dark);
    color: var(--text-on-enji);
    border: none;
    border-radius: 24px;
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: background 0.15s;
}

.cf-submit:hover:not(:disabled) {
    background: var(--enji-deep);
}

.cf-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cf-error {
    color: var(--text-primary);
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
}

.cf-thanks {
    display: none;
    text-align: center;
    padding: 48px 16px;
    line-height: 1.9;
}

.cf-thanks h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-page .back-link {
    display: inline-block;
    margin-top: 32px;
    color: var(--link);
}

.contact-page .back-link:hover {
    color: var(--link-hover);
}

.container > .back-link {
    color: var(--link);
}

.container > .back-link:hover {
    color: var(--link-hover);
}

.news-article-title,
.article-title {
    color: var(--text-primary);
}

.article-content {
    color: var(--text-primary);
}

.article-content a {
    color: var(--link);
}

.article-content a:hover {
    color: var(--link-hover);
}

.article-date {
    color: var(--text-muted);
}

/* --- 特定商取引法ページ --- */
body.legal-page {
    margin: 0;
    font-family: 'Shippori Mincho', serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.legal-page .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

.legal-page h1 {
    font-size: 1.9rem;
    margin-bottom: 28px;
    text-align: center;
    color: var(--text-primary);
}

.legal-page h2 {
    font-size: 1.35rem;
    margin: 40px 0 14px;
    color: var(--text-primary);
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.legal-page th,
.legal-page td {
    border-bottom: 1px solid var(--border);
    padding: 14px 12px;
    vertical-align: top;
    text-align: left;
    font-size: 0.98rem;
}

.legal-page th {
    width: 30%;
    background: var(--table-head);
    font-weight: 700;
    color: var(--text-primary);
}

.legal-page tr:last-child th,
.legal-page tr:last-child td {
    border-bottom: none;
}

.legal-page a {
    color: var(--link);
}

.legal-page a:hover {
    color: var(--link-hover);
}

.legal-page .back-link {
    display: inline-block;
    margin-top: 28px;
    font-size: 0.95rem;
}

/* --- 予約・FAQ・客室カード（トップ） --- */
.concept-text a {
    color: var(--link);
}

.concept-text a:hover {
    color: var(--link-hover);
}

.room-types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 8px;
}

.room-type-card {
    flex: 0 1 280px;
    width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    line-height: 1.75;
    box-shadow: 0 2px 12px var(--shadow-enji);
    transition: box-shadow 0.2s, transform 0.2s;
}

.room-type-card:hover {
    box-shadow: 0 6px 20px var(--shadow-enji-lg);
    transform: translateY(-2px);
}

.room-type-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--table-head);
    overflow: hidden;
}

.room-type-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
    filter: brightness(1.05);
}

.room-type-card:hover .room-type-photo img {
    transform: scale(1.03);
}

.room-type-body {
    padding: 16px 18px 18px;
}

.room-type-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-indent: 0;
    letter-spacing: 0.06em;
}

.room-type-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    text-indent: 0;
}

@media (min-width: 600px) and (max-width: 899px) {
    .room-type-card {
        flex: 0 1 calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: 320px;
    }
}

@media (max-width: 599px) {
    .room-types-grid {
        gap: 16px;
        max-width: 360px;
    }

    .room-type-card {
        flex: 0 1 100%;
        width: 100%;
    }

    .room-type-photo {
        aspect-ratio: 3 / 2;
    }
}

.booking-hero-banner {
    position: relative;
    flex: 0 0 auto;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 32px max(20px, calc(50vw - 50% + 20px)) 40px;
    box-sizing: border-box;
    text-align: center;
    color: var(--text-on-enji);
    background: var(--gradient-enji);
    overflow: visible;
}

.booking-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.booking-hero-lead {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.booking-hero-sub {
    margin: 0 0 20px;
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.7;
}

@media (min-width: 769px) {
    .booking-hero-sub {
        display: none;
    }
}

.booking-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.booking-badge {
    position: relative;
    display: inline-block;
    padding: 14px 24px 14px 28px;
    background:
        linear-gradient(135deg, var(--badge-gold-glow) 0%, rgba(255, 255, 255, 0.04) 100%);
    color: var(--badge-gold-text);
    border: 2px solid var(--badge-gold-border);
    border-radius: 6px;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 3px 14px rgba(0, 0, 0, 0.18);
}

.booking-badge::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--badge-gold) 0%, var(--badge-gold-deep) 100%);
}

.booking-badge-body {
    word-break: keep-all;
}

#booking .booking-block .booking-badges {
    margin: 12px 0 30px;
}

#booking .booking-block .booking-badge {
    font-size: 1.08rem;
    padding: 16px 28px 16px 32px;
}

.booking-cta-btn {
    display: inline-block;
    padding: 0.7em 2.2em;
    background: var(--enji-dark);
    color: var(--text-on-enji) !important;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: background 0.15s, transform 0.15s;
}

.booking-cta-btn:hover {
    background: var(--enji-deep);
    transform: translateY(-1px);
}

.booking-cta-btn--accent {
    background: var(--cta-bg);
    color: var(--cta-text) !important;
    box-shadow: 0 4px 20px rgba(60, 15, 25, 0.4);
}

.booking-cta-btn--accent:hover {
    background: var(--cta-hover);
}

.booking-cta-btn--large {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 1rem 1.5em;
    font-size: 1.08rem;
    border-radius: 28px;
}

#booking .booking-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: var(--gradient-enji-card);
    border: none;
    border-radius: 16px;
    padding: 40px 28px 44px;
    line-height: 1.85;
    color: var(--text-on-enji);
    box-shadow: 0 12px 40px var(--shadow-enji-lg);
}

#booking .booking-block h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

#booking .booking-block > p {
    margin: 0 0 20px;
    opacity: 0.92;
}

#booking .booking-block .booking-block-lead {
    text-align: left;
    text-indent: 1em;
    margin: 0 auto 20px;
    max-width: 520px;
}

#booking .booking-block ul {
    text-align: left;
    display: inline-block;
    margin: 0 0 28px;
    padding-left: 1.2em;
    max-width: 520px;
}

#booking .booking-block li {
    margin-bottom: 8px;
}

#booking .sub-text {
    font-size: 0.88rem;
    color: rgba(250, 246, 238, 0.62);
    margin-top: 16px;
}

#faq .faq-wrap {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

#faq .faq-intro {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: -8px 0 28px;
}

#faq .faq-intro a {
    color: var(--link);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '＋';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '－';
}

.faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    text-align: left;
}

.faq-answer p {
    text-align: left;
}

.faq-answer a {
    color: var(--link);
}

.faq-answer ul {
    margin: 8px 0 0;
    padding-left: 1.3em;
}

.faq-answer li {
    margin-bottom: 6px;
}

.footer-contact {
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #fff;
}

.basicinfo-tel-link {
    color: var(--link);
    text-decoration: none;
}

.basicinfo-tel-link:hover,
.basicinfo-tel-link:focus {
    color: var(--link-hover);
    text-decoration: underline;
}

#access a {
    color: var(--link);
}

#access a:hover {
    color: var(--link-hover);
}

.contact-email-wrapper {
    text-align: center;
    margin-top: 20px;
}

.contact-email {
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
    overflow-wrap: break-word;
}

.contact-email:hover {
    color: var(--link-hover);
}

.sub-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* スマホ：予約バーをコンパクトに */
@media (max-width: 768px) {
    :root {
        --header-h: 54px;
    }

    .hero {
        min-height: 120px;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .booking-hero-banner {
        padding: 18px 12px 22px;
    }

    .booking-hero-inner {
        max-width: 100%;
    }

    .booking-hero-lead {
        font-size: 0.96rem;
        margin-bottom: 8px;
        line-height: 1.45;
    }

    .booking-hero-sub {
        font-size: 0.78rem;
        margin-bottom: 10px;
        line-height: 1.45;
    }

    .booking-hero-banner .booking-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 14px;
        width: 100%;
    }

    .booking-hero-banner .booking-badge {
        font-size: 0.72rem;
        padding: 9px 8px 9px 18px;
        width: auto;
        max-width: none;
        text-align: left;
        line-height: 1.35;
        letter-spacing: 0.03em;
    }

    .booking-hero-banner .booking-badge-head,
    .booking-hero-banner .booking-badge-body {
        display: block;
    }

    .booking-hero-banner .booking-badge::before {
        left: 6px;
        top: 7px;
        bottom: 7px;
        width: 3px;
    }

    .booking-hero-banner .booking-cta-btn--large {
        padding: 0.8em 1em;
        font-size: 0.94rem;
        line-height: 1.4;
    }
}

@media (max-width: 600px) {
    #booking .booking-block .booking-badge {
        font-size: 0.98rem;
        padding: 14px 20px 14px 26px;
        max-width: 100%;
        width: 100%;
        text-align: left;
    }

    #booking .booking-block .booking-badge-head,
    #booking .booking-block .booking-badge-body {
        display: block;
    }

    #booking .booking-block .booking-badges {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #booking .booking-block {
        padding: 32px 18px 36px;
    }
}

@media (max-width: 480px) {
    .booking-hero-lead {
        margin-bottom: 10px;
    }

    .booking-hero-sub {
        font-size: 0.74rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }
}

/* Google翻訳プルダウン: 画面右端からはみ出さないように制限 */
.goog-te-menu2 {
    max-width: calc(100vw - 24px) !important;
    overflow-x: hidden !important;
}

/* 翻訳後の長い英単語が基本情報テーブルを崩さないよう抑止 */
@media (max-width: 600px) {
    .basicinfo-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}