/* ============================================================
    宴会場ボタンリンク room-types-button.css (6会場・3-3配列版)
    PC: 3列+3列構成 / SP: 2列構成 / 枠線なしのミニマルデザイン
   ============================================================ */

/* 共通：ボタンを並べるセクション */
.room-links-section {
    display: grid;
    /* デフォルト（スマホ・タブレット）は2列 */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
    padding: 40px 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- PC表示 (960px以上) 3-3配列構成 --- */
@media (min-width: 960px) {
    .room-links-section {
        /* 6会場に合わせて3列（あるいは6列）構成へ変更 */
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
        padding: 50px 20px;
    }

    /* 5-4配列用の特殊ロジックは削除し、シンプルに3列に流し込みます */
    .room-link {
        grid-column: span 1;
    }
}

.room-link {
    text-align: center;
}

/* ボタン本体：枠線を排除し、洗練された下線スタイルへ */
.room-links-section .room-link a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 85px;
    padding: 10px 5px 15px;
    text-decoration: none;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 64, 152, 0.2); /* 控えめなレクストンブルーの下線 */
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-tap-highlight-color: transparent;
}

/* 日本語タイトル */
.room-links-section .room-link .room-title {
    display: block;
    font-size: 15px;
    color: #333333;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
}

/* 英語タイトル */
.room-links-section .room-link .room-en {
    display: block;
    font-size: 10px;
    color: #004098;
    margin-top: 4px;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* 矢印：ラインが伸びるミニマルな表現 */
.room-links-section .room-link .room-arrow {
    display: block;
    width: 15px;
    height: 1px;
    background-color: #004098;
    margin-top: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.room-links-section .room-link .room-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2.5px;
    width: 5px;
    height: 5px;
    border-right: 1px solid #004098;
    border-bottom: 1px solid #004098;
    transform: rotate(-45deg);
}

/* PC用の改行制御 */
.pc-br {
    display: none;
}
@media (min-width: 769px) {
    .pc-br { display: block; }
}

/* ホバー・フォーカス時の挙動 */
.room-links-section .room-link a:hover,
.room-links-section .room-link a:focus {
    transform: translateY(-3px);
    border-bottom: 1px solid #004098;
    outline: none;
}

.room-links-section .room-link a:hover .room-title {
    color: #004098;
}

.room-links-section .room-link a:hover .room-arrow {
    width: 35px; /* ホバーでラインが伸びる */
}

/* --- スマホ・タブレット表示 (959px以下) --- */
@media (max-width: 959px) {
    .room-links-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
        padding: 20px 10px;
    }

    .room-links-section .room-link a {
        min-height: 70px;
    }

    .room-links-section .room-link .room-title {
        font-size: 14px;
        letter-spacing: 0.05em;
    }

    .room-links-section .room-link .room-en {
        font-size: 9px;
    }

    /* アンカー位置の微調整（宴会場セクションのIDに合わせる） */
    .venue-section {
        scroll-margin-top: 80px;
    }
}