/* ===================================
   CONTACT
=================================== */


/* -------------------------------
   CONTACT HERO
------------------------------- */

.contact_hero_section {
    width: 100%;
    background: url("https://npoeurasia.org/wp-content/uploads/2025/03/page-bg-img.jpg") no-repeat center top;
    background-size: cover;
    margin-top: -80px;
}

.contact_hero_section_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    padding-top: 80px;
    max-width: 1600px;
}

.contact_hero_img_wrap {
    width: 60%;
    max-width: 940px;
    height: auto;
    overflow: hidden;
    position: relative;
}

.contact_hero_textbox .en_ttl {
    font-size: 36px;
    font-weight: bold;
}

.contact_hero_img {
    display: block;
    border-top-left-radius: 350px;
    border-bottom-left-radius: 350px;
    object-fit: cover;
    overflow: hidden;
}

.contact_hero_img_wrap img.active {
    opacity: 1;
}

.contact_hero_textbox {
    width: 40%;
    padding-left: 5rem;
    text-align: left;
    max-width: 600px;
}


/* -------------------------------
   CONTACT FORM
------------------------------- */

.contact-form {
    padding: 3rem 0;
    background: url("https://npoeurasia.org/wp-content/uploads/2025/03/page-bg-img.jpg") no-repeat center top;
    background-size: cover;
}

.contact-form-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.contact-form-ttl {
    font-size: 32px;
    margin-bottom: 16px;
}

.faq_url {
    color: #FF6600;
    text-decoration: underline;
}

.contact-form-grid {
    margin-top: 2rem;
    display: flex;
    gap: 30px;
}

.contact-left {
    flex: 1;
    min-width: 250px;
    font-weight: bold;
    line-height: 2;
}

.contact-left fieldset {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-left label {
    display: block;
    font-size: 18px;
    cursor: pointer;
}

.contact-left input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.contact-right {
    flex: 2;
}

fieldset {
    margin-bottom: 20px;
    border: none;
}

legend {
    font-weight: bold;
    margin-bottom: 5px;
}

.type {
    padding: 4px 16px;
    color: #fff;
    background: #FFB144;
    border-radius: 8px;
    margin-bottom: 16px;
}

.input-group,
.textarea-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field {
    width: 100%;
    padding: 15px;
    border: 2px solid #FFB144;
    border-radius: 10px;
    font-size: 18px;
    background: #fff;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.non_border .input-field {
    border: 2px dashed #FFB144;
}

.required-label,
.textarea-required {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #FFB144;
    font-size: 14px;
    font-weight: bold;
}

.textarea-required {
    top: 10px;
}

.input-group .input-field:focus,
.textarea-group .input-field:focus {
    border-color: #FF8C00 !important;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
    outline: none;
}


/* 個人情報保護方針 */

.privacy-policy {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.privacy-policy a {
    color: #FF6600;
    text-decoration: underline;
}


/* 送信ボタン */

.submit-button {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.submit-button input[type="submit"] {
    background: linear-gradient(135deg, #FF8C00, #FFA733);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease-in-out,
                box-shadow 0.3s ease-in-out,
                transform 0.1s ease-in-out;
    box-shadow: 0px 5px 10px rgba(255, 140, 0, 0.3),
                inset 0px 2px 4px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.submit-button input[type="submit"]:hover {
    background: linear-gradient(135deg, #FFA733, #FFC766);
    box-shadow: 0px 8px 15px rgba(255, 167, 51, 0.5);
}

.submit-button input[type="submit"]:active {
    transform: scale(0.96);
    box-shadow: 0px 3px 6px rgba(255, 140, 0, 0.3);
}


/* -------------------------------
   1601px以上
------------------------------- */

@media screen and (min-width: 1601px) {

    .contact_hero_section_inner img {
        border-top-left-radius: 350px;
        border-bottom-right-radius: 350px;
        border-bottom-left-radius: 0;
    }
}


/* -------------------------------
   1024px以下
------------------------------- */

@media screen and (max-width: 1024px) {

    .contact_hero_section {
        height: auto;
    }

    .contact_hero_section_inner {
        gap: 1rem;
    }

    .contact_hero_textbox {
        padding-left: 3rem;
    }
}


/* -------------------------------
   767px以下
------------------------------- */

@media screen and (max-width: 767px) {

    .contact_hero_section {
        padding-bottom: 80px;
    }

    .contact_hero_section_inner {
        display: block;
    }

    .contact_hero_img_wrap {
        width: 100%;
        height: auto;
        margin-top: -92px;
    }

    .contact_hero_img_wrap img {
        width: 100%;
        border-top-left-radius: 0;
        border-bottom-left-radius: 200px;
    }

    .contact_hero_textbox {
        width: 100%;
        height: auto;
        max-width: 760px;
        margin-top: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact_hero_section .donate_btn_box {
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .contact_hero_section .donate_btn_text {
        font-size: 18px;
    }

    .contact-form-grid {
        flex-direction: column;
    }

    .contact-form-inner {
        padding: 16px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .contact-form-ttl {
        font-size: 24px;
    }
}