@charset "UTF-8";

/* ============================================================
   宿泊施設一覧ページ用 CSS（統合版）
   ============================================================ */

/* ─── リセット & 変数 ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ocean: #2a6b7c;
    --ocean-light: #5a9aaa;
    --sand: #e8dcc8;
    --sand-light: #f4ede0;
    --ivory: #faf7f2;
    --charcoal: #2c2c2a;
    --muted: #7a7060;
    --accent: #c17f4a;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Shippori Mincho', serif;
    background: var(--ivory);
    /*color: var(--charcoal);*/
}

/* ─── 一覧ページ ヒーロー ─── */
#list-hero {
    position: relative;
    height: 38vh;
    min-height: 280px;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f5766 0%, #2a6b7c 45%, #3a8090 100%);
    color: var(--white);
    overflow: hidden;
    margin-top: 0;
}
#list-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,0.06) 0%, transparent 55%);
    pointer-events: none;
}
/* H1：左上に小さめ・白文字でSEO向けタイトル */
.list-hero-h1 {
    position: absolute;
    top: 1.5rem;
    left: 1.8rem;
    margin: 0;
    z-index: 4;
    color: rgba(255,255,255,0.95);
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(11px, 1.05vw, 13px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.7;
    max-width: calc(100% - 3.6rem);
}
.list-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}
.list-hero-en {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(13px, 1.8vw, 16px);
    letter-spacing: 0.45em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}
.list-hero-title {
    font-size: clamp(40px, 7vw, 68px);
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 1px 2px 2px rgba(0,0,0,0.25);
    margin-bottom: 1.2rem;
}
.list-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(12px, 1.4vw, 14px);
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.7);
}
.list-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 70px;
    overflow: hidden;
    z-index: 3;
}
.list-hero-wave svg { width: 100%; height: 100%; display: block; }

/* ─── イントロ ─── */
.list-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem 1rem;
    text-align: center;
}
.list-intro-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.4em;
    color: var(--ocean-light);
    margin-bottom: 0.8rem;
}
.list-intro-title {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}
.list-intro-divider {
    width: 40px;
    height: 1px;
    background: var(--ocean-light);
    margin: 1.5rem auto 2rem;
}
.list-intro-body {
    font-size: 17px;
    line-height: 2;
    /*color: var(--muted);*/
}

/* ─── 施設ブロック ─── */
.place-block {
    padding: 5rem 2rem;
    cursor: pointer;
    transition: background-color 0.4s ease;
    position: relative;
}
.place-block.bg-ivory { background: var(--ivory); }
.place-block.bg-sand { background: var(--sand-light); }
/* ホバー時：背景を少しトーンアップ + 画像ズーム + ボタン色変化 */
.place-block.bg-ivory:hover { background: #f3eee2; }
.place-block.bg-sand:hover { background: #ebe2d2; }
.place-block:hover .place-img { box-shadow: 0 14px 40px rgba(42,107,124,0.22); }
.place-block:hover .place-img img { transform: scale(1.05); }
.place-block:hover .place-more {
    color: var(--white);
    background: var(--ocean);
    border-color: var(--ocean);
    letter-spacing: 0.5em;
}
.place-block:hover .place-more::after { transform: translateX(6px); }
.place-block:focus-visible { outline: 2px solid var(--ocean-light); outline-offset: -8px; }

.place-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4.5rem;
    align-items: center;
}
.place-block.reverse .place-inner {
    grid-template-columns: 1fr 1.15fr;
}
.place-block.reverse .place-img-wrap { order: 2; }
.place-block.reverse .place-text { order: 1; }

/* 画像エリア */
.place-img-wrap {
    position: relative;
}
.place-img-deco {
    position: absolute;
    width: 82%;
    height: 82%;
    border: 1px solid var(--ocean-light);
    top: -14px;
    left: -14px;
    pointer-events: none;
    z-index: 0;
}
.place-block.reverse .place-img-deco {
    left: auto;
    right: -14px;
}
.place-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--charcoal);
    border-radius: 2px;
    z-index: 1;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
    display: block;
}
.place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.place-img:hover { box-shadow: 0 12px 36px rgba(42,107,124,0.18); }
.place-img:hover img { transform: scale(1.04); }
.place-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f5766 0%, #2a6b7c 50%, #3a8090 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.4em;
    font-style: italic;
}
.place-img-num {
    position: absolute;
    top: -2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.4em;
    color: var(--ocean-light);
    z-index: 2;
}
.place-block:not(.reverse) .place-img-num { left: 0; }
.place-block.reverse .place-img-num { right: 0; }

/* テキストエリア */
.place-text-en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.4em;
    color: var(--ocean-light);
    margin-bottom: 0.6rem;
}
.place-text-title {
    font-size: clamp(26px, 3.8vw, 38px);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--charcoal);
    line-height: 1.4;
    margin-bottom: 1rem;
}
.place-text-loc {
    font-size: 12.5px;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.place-text-loc::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--ocean-light);
    display: inline-block;
}
.place-text-divider {
    width: 40px;
    height: 1px;
    background: var(--ocean-light);
    margin: 1.5rem 0 2rem;
}
.place-text-body {
    font-size: 17px;
    line-height: 2;
    color: var(--charcoal);
    margin-bottom: 2rem;
}
.place-text-body p + p { margin-top: 1rem; }

/* ─── 詳細を見るボタン ─── */
.place-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 2rem 0.9rem 2.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.4em;
    color: var(--charcoal);
    text-decoration: none;
    border: 0.5px solid var(--charcoal);
    background: transparent;
    transition: color 0.35s, background 0.35s, border-color 0.35s, letter-spacing 0.35s;
}
.place-more::after {
    content: '→';
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    letter-spacing: 0;
    transition: transform 0.35s;
}
.place-more:hover {
    color: var(--white);
    background: var(--ocean);
    border-color: var(--ocean);
    letter-spacing: 0.5em;
}
.place-more:hover::after { transform: translateX(6px); }

/* ─── フッター（このページ用、濃紺背景で存在感を出す） ─── */
footer {
    background: #1a2c30;
    color: rgba(255,255,255,0.6);
    padding: 4rem 2rem 3rem;
    text-align: center;
}
.footer-mark {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.45em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.2rem;
}
.footer-divider {
    width: 36px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 1.8rem;
}
.footer-tagline {
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
footer .footer-copy {
    border-top: 0.5px solid rgba(255,255,255,0.12);
    padding: 1.8rem 0 0;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.45);
}
footer .footer-copy p { margin: 0; }

/* ─── レスポンシブ ─── */
@media (max-width: 900px) {
    .place-inner,
    .place-block.reverse .place-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .place-block.reverse .place-img-wrap { order: 0; }
    .place-block.reverse .place-text { order: 1; }
    .place-img-num,
    .place-block.reverse .place-img-num {
        position: static;
        display: block;
        margin-bottom: 0.8rem;
    }
    .place-img-deco,
    .place-block.reverse .place-img-deco {
        width: 86%;
        height: 86%;
        left: -10px;
        right: auto;
        top: -10px;
    }
}
@media (max-width: 768px) {
    #list-hero { height: 32vh; min-height: 230px; }
    .list-hero-h1 {
        top: 1rem;
        left: 1.2rem;
        font-size: 10px;
        letter-spacing: 0.05em;
        max-width: calc(100% - 2.4rem);
    }
    .list-hero-title { font-size: clamp(28px, 9vw, 40px); }
    .list-intro { padding: 3.5rem 1.5rem 0.5rem; }
    .place-block { padding: 3.5rem 1.5rem; }
    .place-text-title { font-size: clamp(22px, 6vw, 28px); }
    .place-more { padding: 0.8rem 1.6rem; font-size: 12px; letter-spacing: 0.3em; }
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-tagline { font-size: 13px; letter-spacing: 0.2em; }
}
