.content-wrapper {
    background: url("../../images/pc/contacts_pc/wave.svg") no-repeat center top;
}

.contact-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-header {
    color: #000;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 30px 0;
}

.contact-header h1 {
    font-size: 28px;
    letter-spacing: 5.6px;
}

.contact-header span {
    padding-left: 20px;
    font-size: 16px;
    color: #000;
    margin: 0;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-bottom: 45px;
}

.form-group label {
    width: 200px;
    font-weight: bold;
    font-size: 18px;
    text-align: right;
}

.form-group label span {
    font-size: 12px;
    color: black;
    margin-left: 3px;
    text-align: right;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--lightgray);
    background: #F7F7F7 0% 0% no-repeat padding-box;
    border: 1px solid #D0C2C2;
    opacity: 1;
    border-radius: 3px;
    font-size: 14px;
    margin-left: 30px;
}

textarea {
    resize: none;
    height: 120px;
}

.privacy-policy-text {
    font-size: 14px;
    color: #000;
    text-align: center;
    margin: 25px 0;
    line-height: 1.6;
}

.privacy-policy-text a {
    color: #000;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
}

.checkbox-container input {
    margin-right: 8px;
    width: auto;
}

.submit-btn {
    width: 240px;
    height: 40px;
    color: #fff;
    /* UI Properties */
    background: var(--top) 0% 0% no-repeat padding-box;
    background: #7492E5 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* --- NEW PRIVACY POLICY STYLES --- */
.privacy-policy-content {
    margin-top: 50px;
    padding: 0 45px;
    font-size: 14px;
    color: #000;
    text-align: left;
}

.privacy-policy-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.company-intro {
    line-height: 1.8;
    margin-bottom: 25px;
}

.policy-section {
    margin-bottom: 18px;
}

.policy-section p {
    line-height: 1.8;
    margin: 0;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

.policy-section li {
    line-height: 1.8;
    margin-bottom: 5px;
    position: relative;
    padding-left: 1.5em;
}

.policy-section li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #000;
}

.contact-info {
    list-style-type: none;
    padding-top: 10px;
    margin-top: 15px;
}

.contact-info li {
    line-height: 1.6;
    margin-bottom: 5px;
    color: #000;
    padding: 0;
}

.contact-info li::before {
    content: "";
}

/* thanks page */
.confirmation-page {
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    color: #000;
}

.confirmation-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.confirmation-message p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 0;
}

.confirmation-message p:first-child {
    font-weight: bold;
}

.home-btn {
    width: 240px;
    height: 45px;
    background: #7492E5;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    justify-content: center;
    border-radius: 8px;
    border: none;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {

    .content-wrapper {
        background: url("../../images/mobile/contacts_mobile/wave.svg") no-repeat center top;
    }

    .contact-container {
        padding: 20px;
    }

    .contact-header {
        display: block;
    }
    .contact-header h1 {
        font-size: 20px;
        letter-spacing: 4px;
    }

    .contact-header span {
        font-size: 14px;
        padding-left: 0;
    }

    /* --- Form Group Fixes --- */
    .form-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .form-group label {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
        font-size: 16px;
    }

    .form-group label span {
        font-size: 10px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }

    .privacy-policy-content {
        padding: 0;
    }

    .privacy-policy-content {
        font-size: 11px;
    }

    .privacy-policy-text {
        margin: 25px;
    }

}

/* --- Tablet Design (Portrait + Landscape) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-container {
        padding: 30px;
    }

    .contact-header h1 {
        font-size: 24px;
        letter-spacing: 3px;
    }

    .contact-header span {
        font-size: 14px;
    }

    .form-group label {
        width: 150px;
        font-size: 16px;
    }

    .form-group input,
    .form-group textarea {
        margin-left: 20px;
        font-size: 13px;
    }

    .privacy-policy-content {
        padding: 0 25px;
        font-size: 13px;
    }

    .confirmation-page {
        padding: 60px 20px;
    }

    .confirmation-title {
        font-size: 22px;
    }

    .confirmation-message p {
        font-size: 14px;
    }

    .home-btn {
        width: 200px;
        height: 40px;
        font-size: 14px;
    }
}
