/* ------------------------------------------
  sec_page_ttl
------------------------------------------ */
.sec_page_ttl .container {
    width: 90%;
    max-width: 1210px;
    margin: 0 auto;
    padding: 0;
}

.sec_page_ttl .page_ttl_wrap {
    border-radius: 32px;
    border: 2px solid #000;
}

.sec_page_ttl .page_ttl_wrap .inner {
    border-radius: 30px;
    text-align: center;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec_page_ttl .page_ttl_wrap .inner .page_ttl {
    font-family: "Shippori Mincho", sans-serif;
    font-size: 2.187rem;
    line-height: calc(42/35);
}


@media screen and (max-width: 767px) {
    .sec_page_ttl .container {
        width: calc(100% - 30px);
    }
    
    .sec_page_ttl .page_ttl_wrap {
        border-radius: 30px;
        border: 1px solid #000;
    }
    
    .sec_page_ttl .page_ttl_wrap .inner {
        border-radius: 28px;
        padding: 60px 0 50px;
        flex-direction: column;
    }    
    
    .sec_page_ttl .page_ttl_wrap .inner .page_ttl {
        font-size: 1.562rem;
        line-height: calc(30/25);
    }
}


/* ------------------------------------------
  sec_contact_info
------------------------------------------ */
.sec_contact {
    margin-top: 55px;
}

.sec_contact_info .table_row {
    display: flex;
    align-items: center;
    border-top: 1px solid #000000;
    padding: 15px 0;
}

.sec_contact_info .table_row:last-child {
    border-bottom: 1px solid #000000;
}

.sec_contact_info .table_row .left {
    display: flex;
    align-items: center;
    padding-right: 42px;
    border-right: 1px solid #707070;
    width: 50%;
}

.sec_contact_info .table_row .left .name {
    max-width: 253px;
    width: 100%;
    padding: 22px 10px;
    text-align: center;
    background-color: #F8F8E7;
    border-radius: 4px;
    border: 1px solid #000;
    font-family: "Shippori Mincho", sans-serif;
    font-weight: bold;
    font-size: 1rem;
}

.sec_contact_info .table_row .left .tel {
    display: block;
    margin-left: 27px;
    font-weight: bold;
    font-size: 1.5rem;
}

.sec_contact_info .table_row .right {
    padding-left: 32px;
    font-size: 1rem;
    line-height: calc(24/16);
    width: 50%;
}

.sec_contact_info .table_row .right a {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {  
    .sec_contact {
        margin-top: 30px;
    }
    
    .sec_contact_info .table_row {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .sec_contact_info .table_row .left {
        display: block;
        padding-right: 0;
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 1px solid #707070;
        width: 100%;
    }
    
    .sec_contact_info .table_row .left .name {
        max-width: unset;
        padding: 14px 10px;
    }
    
    .sec_contact_info .table_row .left .tel {
        margin-left: 0;
        margin-top: 10px;
        font-size: 1.25rem;
        text-align: center;
    }
    
    .sec_contact_info .table_row .right {
        padding-left: 0;
        margin-top: 10px;
        font-size: 1rem;
        line-height: calc(24/16);
        width: auto;
        font-size: 0.937rem;
    }
    
}


/* ------------------------------------------
  sec_contact_form
------------------------------------------ */
.sec_contact_form {
    margin-top: 82px;
}

.sec_contact_form .sec_ttl_wrap .sec_ttl {
    font-family: "Shippori Mincho", sans-serif;
    font-size: 1.562rem;
    text-align: center;
    color: #000;
}

.sec_contact_form table {
    margin-top: 27px;
    border-top: 2px solid #707070;
    border-bottom: 2px solid #707070;
    width: 100%;
}

.sec_contact_form table tr:not(:last-child) {
    border-bottom: 1px solid #707070;
}

.sec_contact_form table th {
    padding: 23px 22px;
    font-size: 1.125rem;
    line-height: calc(26/18);
    font-weight: normal;
    background-color: #F8F8E7;
}

.sec_contact_form table .required {
    color: #cb0606;
}

.sec_contact_form table td {
    padding: 23px 22px;
}

/* ラジオボタン装飾 */
.sec_contact_form table td.radio .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 45px;
}

.sec_contact_form table td.radio .wpcf7-list-item.first {
    margin-left: 0;
}

.sec_contact_form table td.radio label {
    display: flex;
    align-items: center;
    gap: 0 3px;
    position: relative;
    cursor: pointer;
    line-height: 1;
}

.sec_contact_form table td.radio label::before,
.sec_contact_form table td.radio label::after {
    border-radius: 50%;
    content: '';
}

.sec_contact_form table td.radio label::before {
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    box-sizing: border-box;
}

.sec_contact_form table td.radio label::after {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: transparent;
}

.sec_contact_form table td.radio label:has(:checked)::after {
    background-color: #000000;
}

.sec_contact_form table td.radio input {
    width: 0;
    height: 0;
    visibility: hidden;
}

/* チェックボックス装飾 */
.sec_contact_form table td .checkbox .wpcf7-form-control {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 45px;
}

.sec_contact_form table td .checkbox .wpcf7-list-item.first {
    margin-left: 0;
}

.sec_contact_form table td .checkbox label {
    display: flex;
    align-items: center;
    gap: 0 3px;
    position: relative;
    cursor: pointer;
    line-height: 1;
}

.sec_contact_form table td .checkbox label::before {
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    content: '';
}

.sec_contact_form table td .checkbox label:has(:checked)::after {
    position: absolute;
    top: 4px;
    left: 8px;
    transform: rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid #000000;
    border-width: 0 3px 3px 0;
    content: '';
}

.sec_contact_form table td .checkbox input {
    width: 0;
    height: 0;
    visibility: hidden;
}

.sec_contact_form table td .remark {
    margin-top: 15px;
}

.sec_contact_form table td input.name {
    width: 370px;
    border-radius: 2px;
    border: 1px solid #707070;
    line-height: 61px;
    padding: 0 20px;
}

.sec_contact_form table td input.email, .sec_contact_form table td input.tel {
    width: 543px;
    border-radius: 2px;
    border: 1px solid #707070;
    line-height: 61px;
    padding: 0 20px;
}

.sec_contact_form table td .postcode {
    border: 1px solid #707070;
    border-radius: 2px;
    padding: 0 20px;
    width: 370px;
    height: 61px;
    display: flex;
    align-items: center;
}

.sec_contact_form table td input.address {
    width: 100%;
    border-radius: 2px;
    border: 1px solid #707070;
    line-height: 61px;
    padding: 0 20px;
}

.sec_contact_form table td textarea {
    width: 100%;
    border-radius: 2px;
    border: 1px solid #707070;
    height: 190px;
    padding: 15px 20px;
    resize: none;
}

.sec_contact_formwrap .contact_txt_note {
    margin-top: 36px;
    text-align: center;
}

.sec_contact_formwrap .contact_txt_note a {
    text-decoration: underline;
}

.sec_contact_formwrap .contact_btn_sub {
    margin-top: 36px;
}

.sec_contact_formwrap .contact_btn_sub input[type="submit"] {
    border: 2px solid black;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    position: relative;
    transform: translate(-7px, -7px);
    background-color: white;
    opacity: 1;
    text-align: center;
    background-image: url(../images/common/icon_arrow_link.svg);
    background-position:  right 10px center;
    background-size: 8px 10px;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.sec_contact_formwrap .contact_btn_sub .wpcf7-spinner {
    position: absolute;
    top: auto;
    left: 50%;
    margin: 0;
    bottom: -29px;
    transform: translateX(calc(-50% - 7px));
}

@media (any-hover: hover) and (pointer: fine) {
    .sec_contact_formwrap .contact_btn_sub input[type="submit"]:hover {
        background-color: #FFEB03;
        transform: translate3d(-4px, -4px, 0);
    }
}

@media screen and (max-width: 767px) {  
    .sec_contact_form {
        margin-top: 50px;
    }
    
    .sec_contact_form .sec_ttl_wrap .sec_ttl {
        font-size: 1.375rem;
    }
    
    .sec_contact_form table {
        margin-top: 15px;
        width: auto;
    }

    .sec_contact_form table tr {
        display: flex;
        flex-direction: column;
    }

    .sec_contact_form table th {
        padding: 13px 12px;
        font-size: 1.062rem;
    }

    
    .sec_contact_form table td {
        padding: 13px 12px;
    }
    
    /* ラジオボタン装飾 */
    .sec_contact_form table td.radio .wpcf7-form-control {
        gap: 10px 30px;
    }
    
    .sec_contact_form table td.radio label::before {
        width: 16px;
        height: 16px;
    }
    
    .sec_contact_form table td.radio label::after {
        left: 8px;
        width: 10px;
        height: 10px;
    }
    
    /* チェックボックス装飾 */
    .sec_contact_form table td .checkbox .wpcf7-form-control {
        gap: 10px 30px;
    }
    
    .sec_contact_form table td .checkbox label::before {
        width: 16px;
        height: 16px;
    }
    
    .sec_contact_form table td .checkbox label:has(:checked)::after {
        top: 2px;
        left: 5px;
    }

    .sec_contact_form table td .remark {
        margin-top: 10px;
    }
    
    .sec_contact_form table td input.name {
        width: 100%;
        line-height: 45px;
        padding: 0 12px;
    }
    
    .sec_contact_form table td input.email, .sec_contact_form table td input.tel {
        width: 100%;
        line-height: 45px;
        padding: 0 12px;
    }
    
    .sec_contact_form table td .postcode {
        padding: 0 12px;
        width: 100%;
        height: 45px;
    }
    
    .sec_contact_form table td input.address {
        line-height: 45px;
        padding: 0 12px;
    }
    
    .sec_contact_form table td textarea {
        height: 150px;
        padding: 13px 12px;
    }
    
    .sec_contact_formwrap .contact_txt_note {
        margin-top: 26px;
    }
    
    .sec_contact_formwrap .contact_btn_sub {
        margin-top: 26px;
    }
    
}
