/* 見出し */
.contact_h2 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-left: -15px;
    margin-right: -15px;
    background: #f68736;
    padding-left: 15px;
    color: #fff;
}

/* 余白調整 */
.margin-right10 {
    margin-right: 10px;
}

.margin-right5 {
    margin-right: 5px;
}

/* 帰省先住所 */
.pg_contact .formTd input[name="home_zip1"] {
    max-width: 120px;
}

.pg_contact .formTd input[name="home_zip2"] {
    max-width: 150px;
}

.pg_contact .formTd select[name="home_pref"] {
    max-width: 225px;
    width: 100%;
    font-size: 16px;
    padding: 7px 10px;
    border: 1px solid #d6d8d8;
}

.pg_contact .formTd input[name="home_city"] {
    max-width: 425px;
}

/* タブ切り替え */
.entry-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 35px;
}

.entry-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    padding: 12px 15px;
    border: 2px solid #f68736;
    border-radius: 8px;
    background: #fff;
    color: #f68736;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.entry-tab:hover,
.entry-tab.is-active {
    background: #f68736;
    color: #fff;
}

.entry-tabs .entry-tab p {
    margin: 0;
    color: inherit;
}

.entry-tabs .entry-tab:hover {
    opacity: 1;
}

/* フォーム表示切り替え */
.entry-form-panel {
    display: none;
}

.entry-form-panel.is-active {
    display: block;
}

/* スマホ */
@media screen and (max-width: 767px) {
    /* 帰省先住所 */
    .pg_contact .formTd input[name="home_zip1"] {
        width: 80px;
    }

    .pg_contact .formTd input[name="home_zip2"] {
        width: 100px;
    }

    .pg_contact .formTd select[name="home_pref"] {
        width: 155px;
    }

    /* タブ */
    .entry-tabs {
        gap: 6px;
        margin-bottom: 25px;
    }

    .entry-tab {
        min-height: 55px;
        padding: 8px 5px;
        font-size: 12px;
    }
}

.gjs-dashed .entry-form-panel {
    display: block !important;
}