/*============================
    contact
============================*/
/* cv-intro */
.contact__head {
    text-align: center;
}

.contact__head .btn_tel {
    margin-inline: auto; }

.contact__head .btn_tel p {
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact__head {
        text-align: center;
    }

    .contact__head .contact_wrap {
        text-align: center;
    }

    .contact__head .btn_tel {
        width: 240px;
    }

    .contact__head .btn_tel .tel_link {
        font-size: 30px;
    }
}

/* tel/line */
.contact_img {
    column-gap: 1%;
    row-gap: 10px;
}

.con_img_list {
    max-width: 380px;
    width: 100%;
}

@media (min-width: 768px) {
    .con_img_list {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .contact_img_tel {
        max-width:273px;
        margin-bottom: 30px;
    }

    .contact_img_line {
        max-width: 300px;
    }
}

/* cv form */
.sub-contact .table02 {
    border: none;
}

.must {
    font-style: normal;
    color: #d30000;
    background: #fff;
    padding: 1px 5px 2px;
    font-size: 13px;
    font-weight: bold;
    margin-left: 10px;
}

.formRow {
    margin-bottom: 1px;
}

.formTh {
    line-height: 1.7;
    background: #8a0102;
    padding: 20px;
    font-size: 16px;
    color: #fff;
}

.formTh label {
    font-weight: bold;
}

.formTd {
    line-height: 1.7;
    background: #fff;
    padding: 20px;
    font-size: 16px;
}

.formTd input[type="text"], .formTd input[type="tel"], .formTd input[type="email"], .formTd textarea {
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #eee;
    box-sizing: border-box;
    width: 100%;
}

.formTd textarea {
    height: 250px;
}

.zipInput {
    width: 23% !important;
}

label {
    margin-bottom: 0px !important;
}

.addArea {
    margin-bottom: 10px;
}

.radio-label {
    margin-right: 8px;
}

input[type="radio"] {
    appearance: auto;
    margin-right: 5px;
}

input[type="checkbox"] {
    appearance: auto;
    margin-right: 5px;
}

.cv-submit td {
    border-bottom: none !important;
    border-right: none;
    border-left: none;
    text-align: center;
}

.formBtnTd {
    text-align: center;
}

.formBtnTd .formBtn {
    text-align: center;
    font-size: 18px;
    color: #fff;
    padding: 20px 50px;
    line-height: 1;
    border: solid 1px #8a0102;
    margin-top: 30px;
    cursor: pointer;
    transition: 0.3s;
    background: #8a0102;
    font-weight: bold;
    min-width: 90%;
}

@media (max-width: 767px) {
    .formRow {
        margin-bottom:0;
        row-gap: 0;
    }

    .formTh, .formTd {
        padding: 10px;
    }

    .formTd input[type="text"], .formTd input[type="tel"], .formTd input[type="email"], .formTd textarea {
        padding: 5px 10px;
    }

    .cv-submit input {
        margin-top: 20px;
    }

    .cv-intro_desc {
        text-align: left;
    }

    .radio-label {
        display: block;
    }

    .radio-label + .radio-label {
        margin-top: 5px;
    }
}

.cv-privacy {
    margin-top: 30px;
    padding: 20px 30px 30px;
    width: calc(100% - 0px);
    height: 300px;
    overflow-y: scroll;
    margin-bottom: 20px;
    background: #fff;
    font-size: 90%;
    border: 1px solid #ede9e6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.cv-privacy__head {
    margin-bottom: 30px;
}

.cv-privacy__item:not(:last-of-type) {
    margin-bottom: 20px;
}

.title__privacy {
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.cv-privacy_item + .cv-privacy_item {
    margin-top: 30px;
}

.cv-privacy_item .disc-list {
    margin-top: 5px;
}

.cv-privacy_item .disc-list li + li {
    margin-top: 3px;
}

@media (max-width: 767px) {
    .cv-privacy {
        margin-top: 20px;
        padding: 15px 10px;
    }

    .cv-privacy__title {
        font-size: 15px;
    }

    .privacyLabel {
        letter-spacing: 0;
        white-space: nowrap;
    }
}

/* cv-submit */
.cv-submit td {
    border-bottom: none !important;
    border-right: none;
    border-left: none;
    text-align: center;
}

.cv-submit input {
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 1.7rem;
    color: #492913;
    padding: 19px 70px;
    line-height: 1;
    border: solid 1px #fffdef;
    margin-top: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.cv-submit input:hover {
    color: #492913;
    background-color: #f1d900;
}

.cv-submit::after {
    content: "";
    width: 30px;
    aspect-ratio: 5/1;
    background: url(../img/cmn/ico_arrow.png) no-repeat center/contain;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
}

@media (min-width: 768px) and (max-width: 1040px) {
    .cv-submit input {
        font-size: 1.5rem;
        padding: 15px 50px;
    }

    .cv-submit::after {
        width: 26px;
    }
}

@media (max-width: 767px) {
    .cv-submit input {
        font-size: 1.5rem;
        margin-top: 20px;
    }

    .cv-tel {
        display: block;
        padding: 0;
    }

    .cv-tel_box:last-child {
        width: 100%;
        padding: 13px;
        background: #fff;
        border: 1px solid #e9e7e7;
    }

    .cv-tel_box:first-child {
        width: 100%;
        padding: 13px;
        border-right: none;
        border: 1px solid #e9e7e7;
    }

    .cv-intro_desc {
        text-align: left;
    }

    .radio-label {
        display: block;
    }

    .radio-label + .radio-label {
        margin-top: 5px;
    }
}
