@charset "utf-8";

main {
    background: url("../images/pipe_back.png");
    background-position: top;
    padding-top: 208px;
}

#pan_list_container {
    position: relative;
    width: 90%;
    margin: 0 auto;
}

#pan_list_container #pan_list {
    right: 0;
}

.section_title {
    width: 90%;
    margin: 0 auto 61px auto;
}

#contact_container {

    border-radius: 48px;
    background: #ffffff;
    box-shadow: 0px 0px 20px 2px #0000001A;
    padding: 88px 120px 70px 120px;
    translate: 20px -20px;

}

#contact_container_shadow {
    translate: -20px 20px;

    margin: 0 auto;
    width: 90%;
    box-shadow: 0px 0px 20px 2px #0000001A;
    background: linear-gradient(158.17deg, #003975 6.76%, #1B89FF 101.18%);
    border-radius: 48px;

}

#arrow_part {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 72px;
}

#contact_contents dl:not(#agreement_box) {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

#contact_contents dl:not(#agreement_box) dt {
    min-height: 100px;
    width: 40%;
    display: flex;
    justify-content: space-between;
    padding: 30px 40px 30px 20px;

}

dt div.hissu {
    width: 70px;
    height: 30px;
    background: #D80000;

    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

dt div.ninni {
    width: 70px;
    height: 30px;
    background: #727272;

    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

#contact_contents dl:not(#agreement_box) dd {
    width: 60%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding: 30px 0 30px 0;
}


#contact_contents dl:not(#agreement_box) dt,
#contact_contents dl:not(#agreement_box) dd {
    border-top: 1px #003975 solid;
    font-family: "Noto Sans JP", serif;
    font-size: 20px;
    font-weight: 600;
}

#contact_contents dl:not(#agreement_box) dd label:has(input[type="radio"]) {
    display: flex;
    align-items: center;
}

#contact_contents dl:not(#agreement_box) dd input[type="radio"] {
    height: 18px;
    width: 18px;
}

#contact_contents dl:not(#agreement_box) dd label:has(input[type="radio"]#contact_category-1) {
    margin-bottom: 21px;
}

#contact_contents dl:not(#agreement_box) dd input:not([type="radio"]) {
    width: 100%;
    height: 40px;
    border: 1px #8C8C8C solid;
    border-radius: 5px;
    background: #EEEEEE;
    padding: 14px 10px;
    font-family: "Noto Sans JP", serif;
    font-size: 20px;
    font-weight: 400;
}

#contact_contents dl:not(#agreement_box) dd textarea {
    width: 100%;
    height: 320px;
    border: 1px #8C8C8C solid;
    border-radius: 5px;
    background: #EEEEEE;
    padding: 14px 10px;
    font-family: "Noto Sans JP", serif;
    font-size: 20px;
    font-weight: 400;
    resize: none;
}


#contact_contents dl:not(#agreement_box) dt:last-of-type,
#contact_contents dl:not(#agreement_box) dd:last-of-type {
    border-bottom: 1px #003975 solid;

}

#contact_contents p#privacy_message {
    font-family: "Noto Sans JP", serif;

    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.1em;

    max-width: 800px;
    width: 90%;

    margin: 0 auto 70px auto;

}

#contact_contents p#privacy_message a {
    position: relative;
}

#contact_contents p#privacy_message a {
    margin-right: 20px;
    color: #207AEF;
}

#contact_contents p#privacy_message a::after {
    display: inline-block;
    content: "";
    width: 36px;
    height: 36px;
    background: url(../images/a_new_window.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 100%;
    translate: -25% -50%;
}

#contact_contents label:has(input[type="checkbox"]) {
    display: flex;
    justify-content: center;
    font-family: "Noto Sans JP", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.1em;
    align-items: center;
    margin-bottom: 45px;
}

#contact_contents input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: #000000 2px solid;
}

.mwform-checkbox-field-text::before {
    content: "プライバシーポリシー";
    display: inline-block;

}

#contact_contents input[type="submit"].submit {
    width: 300px;
    height: 80px;
    border-radius: 40px;
    background: #047CFD;
    color: #ffffff;
    font-family: "Noto Sans JP", serif;
    font-size: 24px;
    font-weight: 800;

}


#contact_contents p:has(input[type="submit"].submit) {
    text-align: center;
}

#agreement_box dt {
    display: none;
}

/* エラーメッセージ */


span.error {
    background: url("../images/error_warning.png") no-repeat;
    padding-left: 30px;
    border-left: 12px solid #00000000;
    margin-top: 15px;
    line-height: 24px;
    font-size: 16px !important;
    text-align: center;
}

.error-dd input[type="text"],
.error-dd input[type="email"],
.error-dd textarea {
    background: #F8DDDD !important;
    border: 1px #D80000 solid !important;
}

#agreement_box dd.error-dd span.error {
    width: 720px;
    height: 64px;
    background: #F8DDDD;
    border: 3px #D80000 solid;
    border-radius: 10px;
    margin: 0 auto;
    font-size: 20px !important;
    font-family: "Noto Sans JP", serif;
    font-weight: 500;
    margin-bottom: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



#error_top {
    width: 720px;
    height: 64px;
    background: #F8DDDD;
    border: 3px #D80000 solid;
    border-radius: 10px;
    margin: 0 auto;
    font-size: 20px !important;
    font-family: "Noto Sans JP", serif;
    font-weight: 500;
    margin-bottom: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    padding-left: 32px;
}

.invisible {
    display: none !important;
}

#error_top p {
    color: #D80000;
    margin-left: 20px;
}

.sp {
    display: none;
}

.contact_title {
    padding: 45px 0 45px 0;

}

.contact_title h3 {
    font-size: 40px;
    text-align: center;
}

@media screen and (max-width: 1024px) {

    #contact_container_shadow {
        margin: 0 auto;
        translate: -10px 10px;
    }

    #contact_container {
        padding: 30px 5%;
        translate: 10px -10px;
    }

    #arrow_part {
        margin-bottom: 25px;
    }

    #arrow_part img {
        width: calc(100% / 3);
    }


}

@media screen and (max-width: 750px) {
    main {
        padding-top: 100px;
    }

    .section_title {
        margin-bottom: 20px;
    }

    .contact_title {
        padding: 0 0 30px 0;
    }

    .contact_title h3 {
        font-size: 24px;
    }

    #contact_contents dl:not(#agreement_box) dt {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        justify-content: start;
    }

    #contact_contents dl:not(#agreement_box) {
        /* flex: none; */
        display: block;
    }

    #contact_contents dl:not(#agreement_box) dd {
        width: 100%;
        padding-top: 0;
        min-height: 0;
    }

    #contact_contents dl:not(#agreement_box) dd,
    #contact_contents dl:not(#agreement_box) dd:last-of-type {
        border-top: none;
    }

    #contact_contents dl:not(#agreement_box) dt:last-of-type {
        border-bottom: none;
    }

    dt div.hissu,
    dt div.ninni {
        margin-left: 15px;
    }

    #error_top,
    #agreement_box dd.error-dd span.error {
        width: 100%;
        height: auto;
        padding-left: 3%;
    }

    #agreement_box dd.error-dd span.error {
        font-size: 16px !important;
    }

    #error_top p {
        margin-left: 3%;
        font-size: 16px;
    }

    .sp {
        display: block;
    }

    #contact_contents p#privacy_message a::after {
        display: none;
    }

    #contact_contents p#privacy_message a {
        margin-right: 0;
    }

}