/* メインコンテンツの枠組み */
.main_content {
    max-width: max(69.44444vw, 1000px);
    width: 94%;
    margin: max(17.36111vw, 250px) auto max(6.94444vw, 100px);
    border-radius: max(2.77778vw, 40px);
    background-color: rgba(255, 255, 255, 0.9);
    padding: max(6.94444vw, 60px) max(4.16667vw, 40px) max(9.375vw, 100px);
    position: relative;
    z-index: 1;
}

.main_content h1 {
    max-width: max(41.66667vw, 600px);
    width: 100%;
    height: max(5.55556vw, 60px);
    border-radius: max(2.77778vw, 40px);
    margin: 0 auto 40px;
    background: linear-gradient(90deg, rgba(0, 179, 236, 1) 0%, rgba(255, 0, 165, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: max(1.8vw, 24px);
    color: #fff;
    text-decoration: none;
}

/* エリアマップボタンのグリッド */
.areamap-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ボタンの基本デザイン */
.am-btn {
    width: 100%;
    min-height: 180px; /* 全ボタンの高さを180pxで統一 */
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* 下線を消す */
    transition: transform 0.2s, opacity 0.2s;
    border: none;
}

.am-btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* ボタン内のテキストスタイル */
.am-main-inner {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}

.am-sub-inner {
    font-size: 16px;
    color: #fff;
}

/* 配色設定 */
.am-orange { background-color: #f15a24; }
.am-green  { background-color: #b85530; }
.am-blue   { background-color: #0071bc; }
.am-pink   { background-color: #d4145a; }

/* スマホ対応（1列にする） */
@media screen and (max-width: 600px) {
    .areamap-container {
        grid-template-columns: 1fr;
    }
    .am-btn {
        min-height: 140px;
    }
    .am-main-inner {
        font-size: 22px;
    }
}