body {
    background-color: #f0f0f0;
}

.fadeIn_up {
    opacity: 0;
    transform: translate(0, 10%);
    transition: 1.5s;
}


.body_color_con05.active::before {
    z-index: 110;
    content: "";
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 20, .5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.contact_width {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.menu_list.contact_top {
    height: 80vh;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu_list.contact_top::-webkit-scrollbar {
    display: none;
}

.top_area.contact_top {
    content: "";
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    position: relative;
    width: 100%;

}

.contact_top_area::after {
    z-index: -2;
    content: "";
    background-image: url(../img/bg_contact.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;

}

.top_area.contact_top::before {
    z-index: -1;
    content: "";
    background-color: rgba(81, 130, 125, 0.6);
    height: 400px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
}

.f-imges {
    position: absolute;
    top: 0;
    color: #fff;
    left: 20%;
    top: 60%;
}

.f-img_la {
    font-size: 8.0rem;
    line-height: 80px;
    margin: 0;
}

.f-img_sm {
    font-size: 2.0rem;
    margin: 0;
    position: absolute;
    top: 48px;
    right: -150px;
}

@media only screen and (max-width: 972px) {
    .top_area.contact_top {
        content: "";
        background-image: none;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 80vh;
        position: relative;
        width: 100%;

    }

    .contact_top_area::after {
        background-image: url(../img/bg_service_sp.jpg);
        height: 80vh;

    }

    .top_area.contact_top::before {
        height: 80vh;

    }

    .f-img_la {
        font-size: 4.5rem;
        line-height: 80px;
        margin: 0;
    }

    .f-img_sm {
        font-size: 2.0rem;
        margin: 0;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0px;
        text-align: left;

    }

}

main {
    background-color: #f0f0f0;
}

.contact_top_tx {
    padding: 100px 0;
}

.contact_top_tx p {
    padding: 50px 30px 100px;
    line-height: 2;
    font-size: 1.6rem;
    font-weight: 600;
}

.con_button {
    margin-top: 20px;
    background-color: #fff;
    width: 400px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    border: 1px solid #619c95;
    position: relative;
    z-index: 1;
}

.con_button::after {
    content: "";
    display: block;
    background-color: #619c95;
    width: 360px;
    height: 39px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    z-index: 1;
}

.con_button a {
    display: block;
    line-height: 40px;
    text-decoration: none;
    color: #fff;
    position: relative;
    z-index: 2;
    padding-right: 0px;
    width: 360px;
    height: 40px;
    font-weight: 600;

}

.con_button a::after {
    content: "";
    z-index: 3;
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(../img/yaji_right.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: -26px;
    top: 10px;
    transform: rotate(90deg);
}




h2 {
    text-align: left;
    color: #619c95;
    position: relative;
    font-size: 2.0rem;
    padding-bottom: 20px;
    font-weight: 600;
}



.contact_form {
    padding: 100px 30px;
    margin-top: -50px;
}

.contact_form_sp {
    display: none;
}

.contact_form_pc {
    display: block;
}


.contact_form table {
    table-layout: fixed;
    padding-bottom: 0px;
    width: 100%;
    position: relative;

}

.contact_form table::after {
    content: "";
    height: 0.75px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    background-color: #619c95;
}


th,
td {
    padding: 20px 20px 20px 20px;
    width: 100%;
    position: relative;
    margin: 0;
}

tr {
    position: relative;
    width: 100%;
}

tr::before {
    content: "";
    height: 0.75px;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    background-color: #619c95;
}





input {
    border: 0.75px solid #619c95;
    border-radius: 2px;
    padding: 10px 100px 10px 15px;
    font-size: 1.6rem;
}

input[type="radio"] {
    border: 0.75px solid #619c95;
    border-radius: 999px;
    padding: 6px;
    background-color: #fff;
    margin-right: 10px;
}

input[type="radio"]:focus {
    border: 0.75px solid #619c95;
    border-radius: 999px;
    padding: 6px;
    background-color: #fff;
    margin-right: 10px;
    position: relative;
    opacity: 1;
}

input[type="radio"]:focus::after {
    content: "";
    background-color: #619c95;
    width: 6px;
    height: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    border-radius: 999px;
    opacity: 1;
    border: none;

}

input[type="text"] {
    width: 100%;
    height: 50px;
}


input[type="email"] {
    width: 100%;
    height: 50px;
}

input:focus {
    border: 2.5px solid #333;
    opacity: 0.5;
    outline: none;
}


input::placeholder {
    color: #619c95;
    opacity: 0.5;
    
}

.text_right {
    text-align: left;
    vertical-align: top;
    font-weight: 600;
    color: #333;
    width: 300px;
}

#comment {
    width: 100%;
    /* 必要に応じて幅を設定 */
    height: 200px;
    /* 必要に応じて高さを設定 */
    padding: 10px;
    padding-left: 15px;
    /* 内側の余白を設定 */
    box-sizing: border-box;
    /* パディングを含めた幅・高さを設定 */
    resize: none;
    /* サイズ変更を無効にする（任意） */
    vertical-align: top;
    /* 上寄せ */
    border: 0.75px solid #619c95;
    border-radius: 2px;
    font-size: 1.6rem;

}

#comment::placeholder {
    color: #619c95;
    opacity: 0.5;
}


.con_tx_button {
    padding-top: 50px;
}

.otoiawase_button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 600;
    color: #333;
    font-size: 1.4rem;
    height: 16px;
    margin: 0;
    padding: 0 20px;
    margin-top: 20px;
    line-height: 20px;
}

.con_tx_button button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 300px;
    height: 50px;
    background-color: #9c7540;
    color: #fff;
    border-radius: 999px;
    margin-top: 20px;
    font-size: 1.6rem;
}

.con_tx_button button:hover {
    background-color: #836234;
}

@media only screen and (max-width: 972px) {

    .contact_links {
        padding: 0 10px;
    }

    .con_button {
        margin-top: 20px;
        background-color: #fff;

        width: 300px;
        height: 40px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 999px;
        border: 1px solid #619c95;
        position: relative;
        z-index: 1;

    }

    .con_button::after {
        content: "";
        display: block;
        background-color: #619c95;
        max-width: 260px;
        width: 260px;
        height: 39px;
        margin-left: auto;
        margin-right: auto;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 999px;
        z-index: 1;
    }

    .con_button a {
        display: block;
        line-height: 40px;
        text-decoration: none;
        color: #fff;
        position: relative;
        z-index: 2;
        padding-right: 0px;
        width: 260px;
        height: 40px;
        font-weight: 600;

    }

    .con_button a::after {
        content: "";
        z-index: 3;
        display: block;
        width: 18px;
        height: 18px;
        background-image: url(../img/yaji_right.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        right: -26px;
        top: 10px;
        transform: rotate(90deg);
    }


    .contact_form_pc {
        display: none;
    }

    .contact_form_sp {
        display: block;
    }

    .contact_form {
        padding: 100px 50px;
        margin-top: -50px;
    }

    th,
    td {
        display: flex;
        padding: 20px 0px 20px 0px;
        width: 100%;
        position: relative;
        margin: 0;
        text-align: left;
    }


    td.line_none {
        display: block;
        text-align: left;
        padding-left: 30px;
    }

    .line_none label {
        margin-left: 25px;
    }

    input {
        display: block;
        border: 0.75px solid #619c95;
        border-radius: 2px;
        text-align: left;

    }

    input[type="radio"] {
        position: relative;
        top: 20;
    }

    
    input[type="radio"]:focus {
        border: 0.75px solid #619c95;
        border-radius: 999px;
        padding: 6px;
        background-color: #fff;
        margin-right: 10px;
        position: relative;
        opacity: 1;
    }
    
    input[type="radio"]:focus::after {
        content: "";
        background-color: #619c95;
        width: 6px;
        height: 6px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        border-radius: 999px;
        opacity: 1;
        border: none;
    
    }

    input[type="text"] {
        position: relative;
        width: 100%;
        height: 30px;
        padding: 20px 80px 20px 5px;
    }

    input[type="email"] {
        position: relative;
        width: 100%;
        height: 30px;
        padding: 20px 80px 20px 5px;
    }

    .text_right {
        text-align: left;
        vertical-align: top;
        padding: 20px 0 0 0;
    }

    #comment {
        width: 100%;
    }

    .con_tx_button {
        padding-top: 50px;
    }

    .otoiawase_button {
        margin-top: 20px;
        color: #333;
        font-size: 1.4rem;
        line-height: 20px;
    }

    .con_tx_button button {
        text-align: center;
        width: 100%;
        max-width: 300px;
        height: 50px;
        background-color: #9c7540;
        color: #fff;
        border-radius: 999px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.6rem;
    }

    .con_tx_button button:hover {
        background-color: #836234;
    }



    .contact_other {
        padding: 100px 30px 150px;
        text-align: left;
        margin-top: -50px;

    }

    .contact_other h2::after {
        content: "";
        height: 0.75px;
        width: 100%;
        display: block;
        position: absolute;
        bottom: -20px;
        background-color: #619c95;

    }


    .contact_other a {
        color: #333;

        text-underline-offset: 0.3em;
        margin: 0;
        padding-top: 10px;
    }

    .contact_other p:first-of-type {
        margin-top: 30px;
    }

    .contact_other button {
        color: #333;

        padding: 0;
        line-height: 20px;
    }
}

/*05*/
.contact_box05 {
    position: fixed;
    width: 80vw;
    height: 80vh;
    background-color: #fff;
    top: 50%;
    left: 50%;
    /* 中央に配置 */
    transform: translate(-50%, -50%) scale(0.8);
    /* 初期状態を小さく */
    z-index: 120;
    border-radius: 10px;
    padding: 100px 100px 100px 100px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, transform 0.7s ease,visibility 0.7s ease;
    /* アニメーション効果 */

}

.contact_box05.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    /* 元のサイズに戻す */
    display: block;
    /* 表示する */

}



.contact_box05::after {
    content: "";

}

.contact_box05 p {
    text-align: left;
    padding-bottom: 0px;
}

.contact_box05 button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}

#close_button_con05 {
    width: 60px;
    position: absolute;
    padding: 0;
    transition: 0.3s;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    padding-bottom: 0px;
}

#close_button_con05:hover {
    opacity: 0.6;
}

.close_button_con05 {
    font-size: 1.6rem;
    display: block;
    color: #333;
    text-underline-offset: 0.3em;
}

.contact_other {
    padding: 80px 30px 100px;
    text-align: left;
    margin-top: -50px;

}

.contact_other h2::after {
    content: "";
    height: 0.75px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0px;
    background-color: #619c95;

}


.contact_other a {
    color: #333;
    text-decoration: none;

    margin: 0;
    padding-top: 10px;
}

.contact_other p:first-of-type {
    margin-top: 30px;
}

.contact_other button {
    color: #333;
    padding: 0;
    line-height: 20px;
}

@media only screen and (max-width: 972px) {
    .contact_box05 {
        width: 90%;
        height: 80vh;
        padding: 50px 20px 80px 20px;

    }

    .contact_box05 p {
        text-align: left;
        padding-bottom: 0px;
    }

    #close_button_con05 {
        width: 60px;
        position: absolute;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }

    #close_button_con05:hover {
        opacity: 0.6;
    }

    .close_button_con05 {
        font-size: 1.6rem;
        display: block;
        color: #333;
        text-underline-offset: 0.3em;
    }
}


.menu_list.contact_tx_top {
    height: 80vh;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu_list.contact_tx_top::-webkit-scrollbar {
    display: none;
}

.top_area.contact_tx_top {
    content: "";
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    position: relative;
    width: 100%;
    background-color: #619c95;

}

@media only screen and (max-width: 972px) {
    .top_area.contact_tx_top {
        height: 30px;

    }
}


/*confirm*/
.confirm_width {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.confirm_h2 {
    text-align: center;
    padding: 50px 0 50px;
}

.confirm_tx {
    padding: 0px 20px 50px;
}

.confirm_tx p {
    text-align: left;
    color: #619c95;

}

.confirm_tx span {
    color: #333;

}

.confirm_button {
    padding: 0px 20px 100px;
}

.confirm_button button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 200px;
    height: 60px;
    margin-top: 10px;
}

button.button_01 {
    background-color: #9c7540;
    border-radius: 999px;
    color: #fff;

}

button.button_01:hover {
    opacity: 0.8;

}

button.button_02 {
    background-color: none;
    border: 1px #9c7540 solid;
    border-radius: 999px;
    color: #9c7540;

}

button.button_02:hover {
    opacity: 0.8;

}

/*thanks*/

.thanks_tx {
    padding: 200px 0 250px;
    font-size: 2.0rem;

}

.thanks_tx p{
   padding-bottom: 50px;

}

.thanks_tx a {
text-decoration: #333 underline;
    color: #333;
    font-size: 1.6rem;

}


.thanks_tx a:hover {
    color: #619c95;
    text-decoration: #619c95 underline;

}


.scroll_top.contact_confirm_btn {
    width: 100%;
    height: 50px;
    background-color: #333;
    color: #fff;
    line-height: 50px;
    position: relative;

}

.scroll_top.contact_confirm_btn::after {
    display: none;

}

@media only screen and (max-width: 972px) {
    .thanks_tx {
        padding: 100px 30px 100px;
        font-size: 2.0rem;

    }

    .thanks_tx a {
        display: block;
        margin-top: 50px;

    }
}