/* ===========================
   タブメニュー（共通）
   =========================== */
.tab-menu {
    display: flex;
    max-width: 700px;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    border-bottom: 2px solid #FFD633;
}

/* タブ */
.tab {
    display: flex;
    flex-direction: column;
    width: calc(95% / 2);
    /* height: 57px; */
    padding: 16px 0;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    border-radius: 4px 4px 0 0;
    border: 1px solid #D1D1D1;
    border-bottom: none;
    background: #FFF;
}

a.tab {
    color: #333;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 109%;
    text-decoration: none;
}

a.tab:hover {
    color: var(--color-grey-middle);
    transition: 0.3s;
}

a.tab-current:hover {
    color: #333;
    transition: 0.3s;
}

/* アクティブタブ */
.tab-current {
    padding: 16px 0;
    border-radius: 4px 4px 0 0;
    background: #FFE066;
    border: none;
}

.tab:hover {
    background: #EBEBEB;
    color: var(--color-grey-middle);
    transition: 0.3s;
}

.tab-current:hover {
    background: #FFE066;
    color: var(--color-white);
}

.contents-service_wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 1rem;
    font-weight: 400;
}

.contents-service {
    display: block;
    text-align: center;
    background-color: var(--color-white);
    font-size: 20px;
    line-height: 1.5;
    padding: 14px 0 14px 0;
    width: calc(95% / 2);
}

.contents-service._active {
    background-color: var(--color-yellow-bg);
}

/* ===========================
   レスポンシブ対応
   =========================== */

/* タブレット・PC */
@media (min-width: 641px) {
    a.tab {
        font-size: 18px;
    }

    .tab,
    .tab-current {
        padding: 16px 0;
        height: auto;
    }
}