@charset "UTF-8";

/* ==========================================================================
   1. 基本設定 & 変数 (Color Palette)
   ========================================================================== */
:root {
    /* サイト共通カラー */
    --main-blue: #4FC3F7;
    --deep-blue: #0277BD;
    --pastel-blue: #E1F5FE;
    --pastel-pink: #FCE4EC;
    --accent-pink: #F06292;
    --pastel-orange: #FFF3E0;
    --accent-orange: #FFB74D;
    --ranking-gold: #FFD700;
    --ranking-silver: #C0C0C0;
    --ranking-bronze: #CD7F32;
    
    /* テキスト・背景 */
    --text-color: #455A64;
    --bg-color: #FAFAFA;
    --white: #ffffff;
    
    /* 機能色 */
    --warning-red: #D32F2F;
    --warning-bg: #FFEBEE;
    
    /* フォント */
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
    font-family: var(--font-base);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    background: var(--bg-color);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

a { text-decoration: none; color: var(--deep-blue); transition: 0.3s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; vertical-align: bottom; border-radius: 8px; }

/* ==========================================================================
   2. ヘッダー & コンテナ
   ========================================================================== */
header {
    background: var(--white);
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
header a {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    overflow: hidden;
}

@media (max-width: 768px) {
    .container { padding: 20px 15px; margin: 10px auto; }
}

/* ==========================================================================
   3. ナビゲーション (パンくず & 言語ボタン)
   ========================================================================== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.breadcrumb { font-size: 0.85rem; color: #888; margin-bottom: 0; }
.breadcrumb a { color: var(--main-blue); text-decoration: none; }

.lang-btn-top {
    font-size: 0.85rem;
    padding: 6px 18px;
    border: 1px solid var(--deep-blue);
    color: var(--deep-blue);
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    background: var(--white);
    transition: 0.3s;
    display: inline-block;
}
.lang-btn-top:hover { background: var(--deep-blue); color: var(--white); }

/* ==========================================================================
   4. 記事ヘッダー & 見出しスタイル
   ========================================================================== */
.pr-mark {
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-bottom: 5px;
}

h1 {
    font-size: 1.5rem;
    border-bottom: 3px solid var(--main-blue);
    padding-bottom: 10px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--deep-blue);
}

h2 {
    background: var(--pastel-blue);
    padding: 15px;
    border-left: 5px solid var(--main-blue);
    margin-top: 50px;
    border-radius: 0 8px 8px 0;
    color: var(--text-color);
    font-size: 1.3rem;
    line-height: 1.4;
    scroll-margin-top: 80px;
}

h3 {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    scroll-margin-top: 80px;
}

h4 {
    font-size: 1.05rem;
    margin-top: 25px;
    padding-left: 10px;
    border-left: 4px solid var(--accent-orange);
}

/* メタ情報 */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0 20px 0;
    font-size: 0.85rem;
    color: #78909C;
}
.meta-location {
    color: var(--deep-blue);
    font-weight: bold;
    background: var(--pastel-blue);
    padding: 2px 8px;
    border-radius: 4px;
}

/* 画像エリア */
.spot-img {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}
.spot-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* 画像のキャプション */
.img-caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    display: block; /* ここが重要：ブロック要素にすることで画像の下に改行されます */
    font-style: italic;
    text-align: center;
}
/* ==========================================================================
   5. 著者カード (Author Card)
   ========================================================================== */
.author-card {
    background: var(--white);
    border: 1px solid var(--pastel-blue);
    border-radius: 10px;
    padding: 20px;
    margin: 0 0 40px 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.author-icon img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.author-info { flex: 1; }
.author-label {
    font-size: 0.7rem;
    color: var(--white);
    background: #90A4AE;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: bold;
}
.author-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--deep-blue);
    margin-bottom: 3px;
    display: block;
}
.author-title {
    font-size: 0.8rem;
    color: var(--accent-pink);
    margin-bottom: 10px;
    font-weight: bold;
    display: block;
}
.author-desc {
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #555;
}
.author-link {
    font-size: 0.85rem;
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid var(--deep-blue);
}

/* ==========================================================================
   6. 目次 (TOC Box)
   ========================================================================== */
.toc-box {
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}
.toc-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
    color: var(--text-color);
    text-align: center;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li {
    margin-bottom: 8px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
    text-decoration: none;
    color: var(--deep-blue);
    font-weight: 500;
    display: block;
    transition: color 0.2s;
}
.toc-list a:hover {
    color: var(--accent-pink);
    padding-left: 5px;
}

/* ==========================================================================
   7. ホテルアフィリエイトカード (Hotel Card) - 最新版
   ========================================================================== */
.hotel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

@media (min-width: 600px) {
    .hotel-card { flex-direction: row; }
}

.hotel-card:hover { transform: translateY(-3px); }

/* ホテル画像 */
.hotel-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.8; /* JSで読み込まれるまで少し薄くしておく演出 */
    transition: opacity 0.5s;
}

@media (min-width: 600px) {
    .hotel-card-img { width: 40%; height: auto; }
}

/* カード右側（コンテンツ） */
.hotel-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-card-label {
    display: inline-block;
    background: #FF5252;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
    font-weight: bold;
}

.hotel-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a3a5a; /* deep-blueの代わりに一般的な濃い青 */
    margin-bottom: 5px; /* 少し縮めてAPI情報を入れやすく */
}

/* ★追加：楽天APIデータエリア */
.hotel-api-data {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 1.2rem; /* データが来る前のガタつき防止 */
    flex-wrap: wrap;
}

.rakuten-auto-review {
    color: #f8b400;
    font-weight: bold;
    font-size: 0.9rem;
}

.rakuten-auto-price {
    color: #E53935;
    font-weight: bold;
    font-size: 1rem;
}

.hotel-card-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* ★修正：ボタンコンテナ（2つ〜3つのボタンを並べる） */
.hotel-btn-container {
    display: flex;
    gap: 8px;
    margin-top: auto; /* コンテンツが短くてもボタンを下に揃える */
    flex-wrap: wrap;
}

.hotel-btn {
    flex: 1; /* ★ボタンを均等な幅にする */
    min-width: 120px; /* スマホでボタンが細くなりすぎるのを防止 */
    background: #FF5252;
    color: white !important;
    text-align: center;
    padding: 10px 5px; /* 上下10px、左右は自動 */
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-btn:hover { background: #E53935; }

/* Klookボタン用の色 */
.hotel-btn.klook {
    background: #ff9800;
}
.hotel-btn.klook:hover {
    background: #f57c00;
}

/* ==========================================================================
   8. 記事リンクカード (Article Card)
   ========================================================================== */
.article-card {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 30px 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    transition: transform 0.2s;
}
.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.card-thumb {
    width: 120px;
    height: auto;
    object-fit: cover;
}
.card-content {
    padding: 15px;
    flex: 1;
}
.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: bold;
}
.article-card .card-title {
    font-size: 1rem;
    margin: 5px 0;
    line-height: 1.4;
    color: var(--deep-blue);
}
.card-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 600px) {
    .article-card { flex-direction: column; }
    .card-thumb { width: 100%; height: 150px; }
}

/* ==========================================================================
   9. その他パーツ (Table, Banner, Footer)
   ========================================================================== */
/* テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}
.info-table th, .info-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.info-table th {
    background-color: var(--pastel-blue);
    color: var(--deep-blue);
    width: 30%;
    font-weight: bold;
}

/* --- テーブルの横スクロール設定 --- */
.table-scroll {
    width: 100%;
    overflow-x: auto; /* 横幅がはみ出た場合のみスクロールバーを出す */
    -webkit-overflow-scrolling: touch; /* スマホでのスクロールを滑らかにする */
    margin: 20px 0;
    border-radius: 8px; /* 角を少し丸くすると綺麗です */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* 枠線代わりに薄い影 */
}

/* 既存のテーブル設定の調整 */
.comparison-table {
    width: 100%;
    min-width: 600px; /* ★重要: これより狭くならないようにし、スクロールさせる */
    border-collapse: collapse;
    margin: 0; /* 外側の .table-scroll で余白を取るのでここは0に */
    font-size: 0.9rem;
}

.comparison-table th, .comparison-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    white-space: nowrap; /* ★重要: セル内の文字が勝手に改行されるのを防ぐ */
}

.comparison-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: var(--deep-blue);
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* アプリ誘導バナー */
.app-banner {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--white) 100%);
    border: 2px solid var(--main-blue);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.2);
}
.app-banner h3 {
    border: none;
    justify-content: center;
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--deep-blue);
}
.btn-app {
    background: var(--accent-orange);
    color: var(--white);
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(255, 183, 77, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-app:hover {
    background: #FFA726;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 183, 77, 0.4);
}

/* ブログ村 */
.blogmura-area {
    text-align: center;
    margin: 50px 0 20px;
    padding: 20px;
    background: #F5F5F5;
    border-radius: 8px;
}
.blog-ranking-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* 強調テキスト */
strong {
    background: linear-gradient(transparent 60%, #FFF176 60%);
    font-weight: bold;
}
.marker-yellow { background: linear-gradient(transparent 60%, #fff9c4 60%); font-weight: bold; }
.marker-pink { background: linear-gradient(transparent 60%, #ffcdd2 60%); font-weight: bold; }

/* フッター */
footer {
    background: var(--main-blue);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.8rem;
}
footer a { color: var(--white); text-decoration: underline; margin: 0 10px; }
/* ==========================================================================
   10. モデルコース・タイムライン (Model Course Timeline)
   ========================================================================== */
.timeline-container {
    margin: 20px 0 40px 0;
    padding: 0;
    position: relative;
}

/* タイムラインのアイテム（1つの工程） */
.timeline-item {
    display: flex;
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* 左側の時間表示 */
.timeline-time {
    width: 60px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--deep-blue);
    text-align: right;
    padding-right: 15px;
    padding-top: 2px;
    line-height: 1.4;
}

/* 真ん中の線と丸 */
.timeline-marker {
    position: relative;
    width: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

/* 縦線 */
.timeline-marker::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: -5px; /* 次の丸まで繋げる */
    width: 2px;
    background-color: #ddd;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:last-child .timeline-marker::before {
    display: none; /* 最後は線を消す */
}

/* 丸（ポイント） */
.timeline-point {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    border: 3px solid var(--main-blue);
    border-radius: 50%;
    z-index: 1;
    margin-top: 5px;
}

/* 移動アイコン（車など）の場合のスタイル */
.timeline-item.move .timeline-point {
    background-color: #ddd;
    border-color: #ddd;
    width: 8px;
    height: 8px;
    margin-left: 2px;
}

/* 右側の内容エリア */
.timeline-content {
    flex: 1;
    padding-left: 15px;
    padding-bottom: 10px;
}

.timeline-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
    line-height: 1.4;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* タイムライン内の画像 */
.timeline-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* タイムライン内の記事カード調整 */
.timeline-content .article-card {
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* スマホ表示調整 */
@media (max-width: 480px) {
    .timeline-time {
        width: 45px;
        font-size: 0.8rem;
        padding-right: 10px;
    }
    .timeline-title {
        font-size: 1rem;
    }
}
/* 期間バッジ */
.season-badge {
    display: inline-block;
    background: #FF5722;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: bold;
}

/* ランキングバッジ */
.rank-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1rem;
}
/* コラムボックス */
.column-box {
    background: #EFEBE9;
    border: 1px solid #D7CCC8;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}
.column-title {
    font-weight: bold;
    color: #5D4037;
    margin-bottom: 10px;
    display: block;
    border-bottom: 1px solid #A1887F;
    padding-bottom: 5px;
}
/* =============================================
   パイン品種ガイド専用スタイル
   ============================================= */

/* 品種ボックス */
.pine-box {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* 品種名 */
.pine-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #7CB342;
    display: block;
    margin-bottom: 5px;
}

/* 品種メタ情報（旬の時期など） */
.pine-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

/* 品種ポイント（💡 コメント欄） */
.pine-point {
    background: #F1F8E9;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #33691E;
    margin-top: 10px;
}

/* 星評価の色 */
.star {
    color: #FBC02D;
}
/* =============================================
   注意ボックス・まとめリスト専用スタイル
   ============================================= */

/* 注意ボックス（赤系） */
.warning-box {
    background: #FFEBEE;
    border: 2px solid #EF9A9A;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #D32F2F;
}

/* 注意ボックスタイトル */
.warning-title {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* まとめリスト（オレンジ系） */
.summary-list {
    background: #FFF3E0;
    border: 2px solid #FFCC80;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}
.summary-list li {
    margin-bottom: 10px;
    font-weight: bold;
    color: #E65100;
}
/* =============================================
   ポイントボックス・アドバイスボックス・CVボタン
   ============================================= */

/* ポイントボックス（緑系・💡コラム用） */
.point-box {
    background: #E8F5E9;
    border: 2px solid #A5D6A7;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.point-title {
    font-weight: bold;
    color: #2E7D32;
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid #C8E6C9;
    padding-bottom: 5px;
}

/* アドバイスボックス（オレンジ系・注意喚起用） */
.advice-box {
    background: #FFF3E0;
    border: 2px solid #FFCC80;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}
.advice-title {
    font-weight: bold;
    color: #E65100;
    margin-bottom: 10px;
    display: block;
    border-bottom: 1px solid #FFE0B2;
    padding-bottom: 5px;
}

/* CVボタン（航空券・予約導線用） */
.cv-button-wrapper {
    text-align: center;
    margin: 40px 0;
}
.cv-button {
    display: inline-block;
    background: #03A9F4;
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(3, 169, 244, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cv-button:hover {
    background: #0288D1;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(3, 169, 244, 0.4);
}
/* =============================================
   観音ビーチ記事・共通パーツ追加スタイル
   ============================================= */

/* アクセスガイドボックス */
.access-box {
    background: #FAFAFA;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* ステップ番号バッジ */
.step-num {
    background: #FF7043;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 8px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* マップ埋め込み用 */
.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* =============================================
   駐車場ガイド記事専用スタイル
   ============================================= */

/* 駐車場情報ボックス */
.parking-box {
    background: #FAFAFA;
    border: 1px solid #CFD8DC;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* 駐車場名タイトル */
.parking-title {
    font-weight: bold;
    color: #546E7A;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

/* 駐車場ポイント解説 */
.parking-point {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    border-left: 3px solid #546E7A;
    font-size: 0.9rem;
}
/* =============================================
   A8自動生成画像のラッパー（hotel-card内）
   ============================================= */

/* PC表示：左側に画像を固定幅で配置 */
.hotel-card-a8img {
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}

/* A8が生成する画像を枠内に収める */
.hotel-card-a8img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* スマホ表示：上に画像、下にコンテンツ */
@media (max-width: 600px) {
    .hotel-card-a8img {
        width: 100%;
        height: 180px;
        border-radius: 10px 10px 0 0;
    }
}

/* =============================================
   hotel-card 縦積みレイアウト（A8画像付きアクティビティ用）
   ============================================= */

.hotel-card-vertical {
    flex-direction: column;
}

.hotel-card-vertical .hotel-card-a8img {
    width: 100%;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

/* A8が生成するあらゆる画像を枠内に収める */
.hotel-card-vertical .hotel-card-a8img img,
.hotel-card-vertical .hotel-card-a8img a img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* =============================================
   ダイビング記事専用スタイル
   ============================================= */

/* 魔法の言葉ボックス */
.magic-word {
    background: #E8F5E9;
    border: 2px solid #81C784;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    color: #2E7D32;
    margin: 20px 0;
    text-align: center;
    line-height: 1.8;
}

/* =============================================
   共通：アフィリエイトエリア
   ============================================= */

.affiliate-area {
    text-align: center;
    margin: 30px 0;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
/* =============================================
   耳鼻科ガイド専用スタイル
   ============================================= */

/* 病院情報ボックス */
.hospital-box {
    background: #FAFAFA;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* 病院タグ（地元民御用達・スピード重視・緊急等） */
.hospital-tag {
    background: #26A69A;
    color: white;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
}

/* 病院ポイント（特徴・混雑回避のコツ等） */
.hospital-point {
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border-left: 3px solid #FF9800;
    font-size: 0.9rem;
}

.hospital-point strong {
    color: #E65100;
}
/* =============================================
   離島ガイド専用スタイル
   ============================================= */

/* 島データボックス */
.island-data {
    background: #FAFAFA;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}
.island-data strong {
    color: #00897B;
}

/* 豆知識リスト */
.tips-list {
    background: #FFFDE7;
    border: 1px solid #FFF59D;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.tips-list ul {
    padding-left: 20px;
    margin: 0;
}
.tips-list li {
    margin-bottom: 10px;
}
.tips-list strong {
    color: #F57F17;
}
/* =============================================
   ホテルカード ボタン2x2グリッド（4ボタン対応）
   ============================================= */
.hotel-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hotel-btn-grid .hotel-btn {
    text-align: center;
    padding: 10px 8px;
    font-size: 0.85rem;
    white-space: nowrap;
}
/* =============================================
   危険箇所・注意喚起ボックス（ドライブ記事等）
   ============================================= */
.danger-point {
    border: 2px solid #D32F2F;
    background: #FFEBEE;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}
.danger-title {
    color: #D32F2F;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
/* チェックリスト */
.check-list {
    background: #FFF8E1;
    padding: 20px;
    border-radius: 8px;
    list-style: none;
}
.check-list li {
    margin-bottom: 10px;
    padding-left: 1.5em;
    text-indent: -1.5em;
}
.check-list li::before {
    content: "✅ ";
}
/* マップボタン（インラインリンク用） */
.map-btn {
    display: inline-block;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.map-btn:hover {
    background: #eee;
    color: #333;
}