/* =========================================================
   共通・ベーススタイル
   ========================================================= */
   body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-image: url('../img/index/ent_bg2.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: #333;
    text-align: center;
}

.wrapper {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    box-sizing: border-box;
}

/* --- スマホ時のタイトル設定 (ここを修正しました) --- */
header h1 {
    font-size: 14px;      /* さらに小さく設定 */
    color: #008eb0;      /* 水色を強制指定 */
    margin: 5px 0;
    line-height: 1.4;
    font-weight: bold;
}

.sub-text {
    font-size: 10px;
    margin-bottom: 10px;
}

/* =========================================================
   メイン画像エリア（スマホ時は1枚・コンパクト）
   ========================================================= */
.main-visual {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.main-visual img {
    display: none; /* 基本は非表示 */
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* スマホ：1枚目だけ表示し、高さを抑える */
.main-visual img:first-child {
    display: block;
    max-width: 240px; 
    max-height: 160px; 
    object-fit: cover;
}

/* =========================================================
   ボタン・連絡先エリア
   ========================================================= */
.content-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.contact-info .qr-image {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.fav-btn {
    background-color: #008eb0;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
}

.entry-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    font-size: 16px;
}

.btn.pink { background-color: #ff69b4; box-shadow: 0 3px 0 #d05090; }
.btn.gray { background-color: #888; font-size: 13px; min-height: 40px; }

/* フッターナビ */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}
.footer-nav a {
    text-decoration: none;
    color: #008eb0;
    padding: 6px;
    background: #f0f8fa;
    border-radius: 4px;
    flex: 1 1 42%;
    font-size: 11px;
}

/* =========================================================
   PC向けのスタイル調整（画面幅 769px 以上）
   ========================================================= */
@media (min-width: 769px) {
    .wrapper { padding: 20px; }

    header h1 {
        font-size: 18px; /* PCでは元の大きさに */
    }

    /* PC：3枚すべて表示・サイズ制限なし */
    .main-visual img {
        display: block !important;
        max-width: 280px !important; 
        max-height: none !important;
        object-fit: fill;
    }

    .content-middle {
        flex-direction: row;
        justify-content: space-between;
    }

    .entry-actions { max-width: 200px; }

    .description {
        display: block;
        text-align: left;
        margin-top: 30px;
        padding: 20px;
        border-top: 1px solid #008eb0;
    }

    .footer-nav a {
        flex: none;
        background: none;
        padding: 0;
        margin: 0 5px;
        font-size: 12px;
    }
    .footer-nav a::after { content: " ｜ "; }
    .footer-nav a:last-child::after { content: ""; }
}

.copyright-bar {
    background-color: #333;
    color: #fff;
    font-size: 10px;
    padding: 10px 0;
}