/* -------------------------------------------
    A. ヒーローセクション (Hero Section - 記事専用)
------------------------------------------- */
.hero-image {
    width: 100%;
    height: 250px; /* モバイルでの高さを確保 */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* タイトルを画像の下部に表示 */
    padding: 20px;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ▼▼ 修正点: オーバーレイの透明度を変更（0.25に薄くし、文字の視認性も維持） ▼▼ */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 60%); 
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.hero p {
    font-size: 1em;
}

/* -------------------------------------------
    B. 記事本文のレイアウト
------------------------------------------- */
.intro-section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.details-section {
    padding: 20px 0;
}

.details-section h2 {
    font-size: 1.3em;
    color: #ff5a5f; /* ブランドカラーの見出し */
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff5a5f33;
    padding-bottom: 5px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

.info-block img {
    width: 100%; /* 画像をコンテンツ幅いっぱいに表示 */
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------
    C. 固定CTAボタン (Fixed CTA Button)
------------------------------------------- */
.cta-fixed-button {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #4CAF50; /* 予約を促す鮮やかな緑色 */
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------
    D. 予約CTAセクション (Affiliate Links)
------------------------------------------- */
.reservation-cta {
    padding: 30px 0;
    border-top: 3px solid #ff5a5f;
    text-align: center;
}

.affiliate-links {
    margin-top: 20px;
}

.affiliate-button {
    display: block; /* モバイルで縦に積み重ねる */
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.agoda {
    background-color: #ff5a5f; /* Agodaカラーに合わせた赤 */
}

.booking {
    background-color: #003580; /* Bookingカラーに合わせた紺 */
}

.klook {
    background-color: #FF5B26; /* Klookカラーに合わせたオレンジ */
}

/* Google Map Button Style */
.map-link-button {
    display: block; /* ブロック要素にして幅いっぱいに広げる */
    text-align: center;
    padding: 10px 15px;
    margin: 10px 0 20px 0; /* 下に少しスペースを空ける */
    background-color: #4285F4; /* Googleのブランドカラー */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s;
    font-size: 1.1em;
}

.map-link-button:hover {
    background-color: #357ae8;
}

/* 記事内の施設リストの項目にもボタンを追加するため、li要素のスタイルを調整 */
.details-section ul li {
    margin-bottom: 5px; /* リスト内の項目間スペースを少し調整 */
}

/* --- index.html - 記事サムネイルのタグ表示用CSS --- */
.article-tags {
    font-size: 0.75em;
    color: #d32f2f; /* メインカラーに合わせて赤系 */
    padding: 2px 5px;
    margin-top: 5px;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
}
.article-card .article-title {
    margin-top: 8px; /* タイトルとタグの間を調整 */
}
/* 記事が少ないときのプレースホルダーのデザイン（任意） */
.placeholder-card .article-title {
    color: #777;
    font-style: italic;
}
.placeholder-card .thumbnail {
    opacity: 0.5;
}


/* -------------------------------------------
    E. PCでの調整 (メディアクエリ)
------------------------------------------- */
@media (min-width: 600px) {
    .hero-image {
        height: 350px; /* PCでは高さを出す */
    }
    
    /* CTAボタンを右下に固定 */
    .cta-fixed-button {
        width: 250px;
        left: auto;
        right: 20px;
        bottom: 20px;
        border-radius: 8px;
    }
    
    /* 予約セクションのボタンを横並びにする */
    .affiliate-links {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin: 20px auto 0;
    }

    .affiliate-button {
        flex: 1; 
        max-width: 300px; /* PCでボタンが広がりすぎないように制限 */
        margin-bottom: 0;
    }
}