
:root {
    --color-green: #004d2c;
    --color-bg: #f7f9ed;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== セクション全体 ===== */
.prefecture-section {
    position: relative;
    /* h3ボタン高さの半分ぶんスペースを確保（ボタンも縮む） */
    padding-top: clamp(16px, 2.5vw, 22px);
    margin-bottom: 60px;
    margin-bottom: 40px;
}


h2.prefecture-section__heading{
    position: absolute;
    top: clamp(16px, 2.5vw, 22px);
    left: 50%;
    transform: translate(-50%, -50%);
    height: clamp(32px, 5vw, 44px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 2vw, 20px);
    color: #ffffff;
    white-space: nowrap;
    background-color: var(--color-green);
    padding: 6px clamp(30px, 5vw, 60px);
    margin: 0 auto;
}
h2.prefecture-section__heading::before{
    content: none;
}

/* ===== 都道府県グリッドエリア（3列固定） ===== */
.prefecture-section__grid,
.prefecture-section__grid > li {
    list-style: none;
}
.prefecture-section__grid-wrap {
    background-color: var(--color-bg);
}

ul.prefecture-section__grid {
    max-width: 850px;
    margin: 0 auto;
    padding:
    clamp(38px, 7vw, 60px)
    0
    clamp(32px, 3vw, 40px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 3vw, 32px) clamp(6px, 3vw, 24px);
}

/* ===== 各都道府県ボタン ===== */
.prefecture-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: clamp(14px, 1vw, 20px) clamp(6px, 1.5vw, 10px);
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.prefecture-btn:hover {
    box-shadow: 0px 2px 8px rgba(0, 77, 44, 0.15);
    transform: translateY(-1px);
    text-decoration: none;
}

.prefecture-btn__name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1;
    color: var(--color-green);
    white-space: nowrap;
}

/* シェブロン（›）*/
.prefecture-btn__chevron {
    position: absolute;
    right: clamp(6px, 2.5vw, 18px);
    top: 50%;
    width: clamp(7px, 0.8vw, 8px);
    height: clamp(7px, 0.8vw, 8px);
    border-top: 2px solid var(--color-green);
    border-right: 2px solid var(--color-green);
    transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 959px) {
    ul.prefecture-section__grid{
        padding-left: 14px;
        padding-right: 14px;
    }
}
