/* --- 全体の基本設定 --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul,
li {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    background-color: #FAFAFA;
    color: #333333;
}

/* --- コンテンツの最大幅と基本レイアウト --- */
.container {
    max-width: 46.875rem;
    /* 750px */
    margin: 0 auto;
    background-color: #FAFAFA;
    padding-top: var(--header-height, 5rem);
    /* JavaScriptからの高さ指定(仮80px) */
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.container.is-ready {
    opacity: 1;
}

/* --- ヘッダー --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FAFAFA;
    z-index: 1000;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    /* 12px */
}

.header-content-wrapper {
    max-width: 46.875rem;
    /* 750px */
    margin: 0 auto;
    padding: 0 1.5625rem;
    /* 25px */
}

/* ヘッダーのサイト名 */
.site-title {
    font-size: 0.75rem;
    /* 12px相当に小さく変更 */
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    color: #333;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 0.5rem;
    /* 8px 下の段との余白 */
}

.header-row-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- ハンバーガーメニュー --- */
.hamburger-menu {
    width: 1.875rem;
    /* 30px */
    height: 1.5rem;
    /* 24px */
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 0.1875rem;
    /* 3px */
    background-color: #D1B57C;
    border-radius: 0.125rem;
    /* 2px */
}

/* --- 予約ボタン --- */
.reserve-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    /* 8px 16px */
    background-color: #a64549;
    /* ご指定の色に変更 */
    color: #fff;
    text-decoration: none;
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 400;
    border-radius: 0.5rem;
    /* 8px */
    transition: opacity 0.3s;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    white-space: nowrap;
    cursor: pointer;
    /* リンクに戻したので、カーソルをポインターに */
}

.reserve-button:hover {
    opacity: 0.85;
}

/* --- ナビゲーションモーダル --- */
.nav-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.nav-modal-content {
    background-color: #FAFAFA;
    padding: 3.125rem 2.5rem;
    /* 50px 40px */
    border-radius: 0.5rem;
    /* 8px */
    width: 80%;
    max-width: 25rem;
    /* 400px */
    position: relative;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 0.625rem;
    /* 10px */
    right: 0.9375rem;
    /* 15px */
    background: none;
    border: none;
    font-size: 2rem;
    /* 32px */
    line-height: 1;
    color: #333;
    cursor: pointer;
}

.modal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-nav-list li {
    margin-bottom: 1.25rem;
    /* 20px */
}

.modal-nav-list li:last-child {
    margin-bottom: 0;
}

.modal-nav-list a {
    text-decoration: none;
    color: #D1B57C;
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.modal-button-container {
    margin-top: 2rem;
    /* 32px */
}

/* --- KV --- */
.kv img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- アニメーション --- */
.intro-scroll-trigger,
.fade-in-from-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 2s ease, transform 2s ease;
}

.intro-scroll-trigger.is-visible,
.fade-in-from-bottom.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 各コンテンツセクションの共通スタイル --- */
.facility-intro {
    padding: 4.5rem 1.5625rem 0;
    /* 上72px 左右25px 下0px */
    text-align: center;
    scroll-margin-top: 3.75rem;
    /* 60px */
}

.section-title {
    font-size: 1.65rem;
    line-height: 1.6;
    margin-bottom: 1.875rem;
    /* 30px */
    font-weight: 500;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    color: #3BBADC;
}

.section-text {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
    color: #444;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: #D9ECF4;
    margin-top: 3.5rem;
    /* 56px */
}

/* --- 周辺情報セクション --- */
.single-image-container {
    margin: 1.875rem 0;
    /* 30px */
}

.single-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption-link {
    text-align: left;
    margin-top: 0.75rem;
    margin-bottom: 1.875rem;
}

.link-groups-container {
    margin-top: 1.875rem;
}

.link-group {
    border: 1px solid #D9ECF4;
    padding: 1rem;
    margin-bottom: 3rem;
    text-align: left;
}

.link-group:last-child {
    margin-bottom: 0;
}

.link-group-title {
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 0.95rem;
    color: #3BBADC;
    padding: 0 5px;
    margin-left: 1rem;
}

.link-collection {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-collection li {
    margin-bottom: 0.9375rem;
}

.link-collection li:last-child {
    margin-bottom: 0;
}

.link-collection a,
.image-caption-link a {
    color: #D1B57C;
    text-decoration: underline;
    font-size: 0.8rem;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    transition: opacity 0.3s;
    display: inline-block;
}

.link-collection a:hover,
.image-caption-link a:hover {
    opacity: 0.7;
}

.link-collection a::after,
.image-caption-link a::after {
    content: '';
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.3em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D1B57C' d='M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6v2H5v14h14v-6h2z'/%3E%3Cpath fill='%23D1B57C' d='M11 2v2h5.586L6.293 14.293l1.414 1.414L18 5.414V11h2V2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* --- アクセスセクション --- */
.address-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    font-size: 0.8rem;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.copy-button {
    font-size: 0.6875rem;
    padding: 0.2rem 0.6rem;
    margin-left: 0.75rem;
    border: none;
    background-color: #D1B57C;
    color: #fff;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.copy-button:hover {
    opacity: 0.8;
}

.access-table {
    width: 100%;
    margin-top: 2.5rem;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
}

.access-table th,
.access-table td {
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    line-height: 1.7;
    vertical-align: top;
    border: none;
    padding: 1.125rem 0;
}

.access-table th {
    width: 30%;
    font-weight: bold;
    background-color: transparent;
    padding-right: 0.9375rem;
    font-size: 0.8125rem;
    color: #3BBADC;
    text-align: center;
}

.access-table td {
    font-size: 0.6875rem;
}

.th-supplement {
    display: block;
    font-size: 0.625rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.access-table tr:nth-child(-n+4) th,
.access-table tr:nth-child(-n+4) td {
    border-bottom: 1px solid #eee;
}

.section-note {
    font-size: 0.6875rem;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    color: #444;
    text-align: left;
    margin-top: 2rem;
}

.section-note+.section-divider {
    margin-top: 1rem;
}

.single-image-container iframe {
    height: 20rem;
    vertical-align: bottom;
}

/* --- 画像スライダー --- */
.slider-container {
    margin-top: 2.5rem;
}

.swiper-slide {
    background-color: #eee;
}

.intro-slider {
    width: 100%;
    height: 28.125rem;
}

.intro-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bathroom-slider,
.kitchen-slider {
    width: 100%;
    height: auto;
}

.bathroom-slider .swiper-slide img,
.kitchen-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.875rem;
    gap: 2.1875rem;
}

.slider-controls .swiper-button-prev,
.slider-controls .swiper-button-next,
.slider-controls .swiper-pagination {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
}

.slider-controls .swiper-button-prev,
.slider-controls .swiper-button-next {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: #D1B57C;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-controls .swiper-button-prev:hover,
.slider-controls .swiper-button-next:hover {
    opacity: 0.8;
}

.slider-controls .swiper-button-prev::after,
.slider-controls .swiper-button-next::after {
    content: '';
}

.slider-controls .swiper-button-prev::before,
.slider-controls .swiper-button-next::before {
    color: #fff;
    font-size: 0.875rem;
    position: relative;
}

.slider-controls .swiper-button-prev::before {
    content: '◀';
    left: -1px;
}

.slider-controls .swiper-button-next::before {
    content: '▶';
    left: 1px;
}

.slider-controls .swiper-pagination {
    width: auto;
}

.swiper-pagination-bullet {
    width: 0.625rem;
    height: 0.625rem;
    background-color: #FAFAFA;
    border: 1px solid #D1B57C;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #D1B57C !important;
    border-color: #D1B57C !important;
}

/* --- フッター --- */
.page-footer {
    background-color: #3BBADC;
    padding: 1.25rem 1.5625rem;
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-footer p {
    color: #fff;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 0.75rem;
}

.subsidy-notice {
    border: 1px solid #fff;
    padding: 0.25rem 0.75rem;
}

.copyright {
    margin: 0;
}

/* --- 予約パートの本文スタイル --- */
.reservation-text {
    font-size: 0.8rem;
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    color: #444;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1.875rem;
}

/* 注釈テキストが連続する場合、2つ目以降の上の余白を狭める */
.section-note+.section-note {
    margin-top: 0.5rem;
    /* 8px相当 */
}

/* --- 予約パートのリンクグループ（fieldset）の特別スタイル --- */

/* 予約パートのfieldsetのテキストを中央揃えに */
#reservation .link-group {
    text-align: center;
    border: 3px double #D9ECF4;
    /* 枠線を二重線に変更 */
}

/* 予約パートのグループ名を中央に配置 */
#reservation .link-group-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    /* フォントサイズを変更 */
}

/* 予約パートの枠内の新しいテキストのスタイル */
#reservation .link-group-content {
    /* 本文のスタイルを適用 */
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 0.8rem;
    /* ご指定のサイズに変更 */
    color: #444;
    line-height: 1.8;
}

/* 予約パートのグループとボタンの間の余白 */
#reservation .link-groups-container {
    /* 見出しと本文の間と同じ余白を指定 */
    margin-bottom: 3.75rem;
    /* 60px相当（倍に） */
}

/* 予約パート内の注釈テキストを中央揃えに */
#reservation .section-note {
    text-align: center;
}

/* リンクグループ内の注釈の余白 */
.link-group .section-note {
    margin-top: 2rem;
    /* 1remから2rem(32px相当)に広げる */
    text-align: left;
    /* 左揃えを維持 */
}

/* --- メールアドレスのスタイル --- */
.email-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    /* 40px */
}

.email-wrapper a {
    font-family: 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-size: 1rem;
    /* 16px */
    color: #a64549;
    /* 予約ボタンの色と合わせました */
    text-decoration: underline;
    transition: opacity 0.3s;
}

.email-wrapper a:hover {
    opacity: 0.8;
}

/* --- ライトボックス --- */
.zoomable-image {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.25rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* --- 追加したスタイル --- */
.section-note.airbnb-note {
    margin-top: 1rem;
}

.airbnb-note a {
    color: #D1B57C;
    text-decoration: underline;
}