/* =============================== Contact Page Styles =============================== */
.contact-page {
    width: 100%;
    background: #ffffff;
    padding: 60px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Title Section */
.contact-intro {
    text-align: center;
}

.contact-title {
    font-size: 54px;
    font-weight: 700;
    color: #FE4BA0;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.contact-intro-link {
    color: #FE4BA0;
    text-decoration: underline;
}

.contact-intro-link:hover {
    color: #ff6bb3;
}

.contact-intro-note {
  font-size: 20px;
  font-weight: 400;
  color: #555555;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

.contact-label-required {
  color: #FF383C;
}

/* Form Wrapper */
.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    width: 100%;
}

/* Error Messages */
.error-message-container {
    margin-bottom: 20px;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Form Fields */
.contact-field {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 24px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    box-sizing: border-box;
    background: #FAFAFA;
    transition: border-color 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #FE4BA0;
}

.contact-input::placeholder {
    color: #999999;
}

.contact-textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.6;
}

/* Radio Buttons */
.contact-radio-group {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
}

.contact-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #C1C1C1;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.contact-radio input[type="radio"]:checked {
    background: #12C06C;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #12C06C;
}

.contact-radio span {
    user-select: none;
}

/* reCAPTCHA */
.g-recaptcha {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

/* Submit Section */
.contact-actions {
    margin-top: 40px;
}

.contact-privacy {
    margin-bottom: 24px;
}

.contact-privacy-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-privacy-label span {
    display: block;
    margin-bottom: 8px;
}

.contact-privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FE4BA0;
    flex-shrink: 0;
}

.contact-privacy-link {
    color: #FE4BA0;
    text-decoration: underline;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-privacy-link:hover {
    color: #ff6bb3;
}



.contact-submit-btn:active {
    transform: translateY(0);
}


.contact-submit-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

/* Submit Button */
.contact-submit-btn {
    background: #FE4BA0;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(254, 75, 160, 0.3);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-submit-btn-border{
    border: 2px solid #FE4BA0;
    border-radius: 50px;
    padding: 1px;
}

.contact-submit-btn-border:hover {
    background: #ff6bb3;
    border-color: #ff6bb3;
    box-shadow: 0 4px 12px rgba(254, 75, 160, 0.4);
    transform: translateY(-2px);
}

/* =============================== Responsive Styles =============================== */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0;
    }

    .contact-container {
        padding: 0 15px;
    }

    .contact-title {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .contact-intro-text {
        font-size: 14px;
    }

    .contact-label {
        font-size: 14px;
    }

    .contact-input,
    .contact-textarea {
        font-size: 14px;
        padding: 10px 14px;
    }

    .contact-radio {
        font-size: 14px;
    }

    .contact-submit-btn {
        font-size: 16px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }

    .contact-radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* =============================== Contact Success Page Styles =============================== */
.contact-thanks {
    width: 100%;
    background: #ffffff;
    padding: 60px 0;
}

.contact-thanks__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-thanks__content {
    margin-bottom: 40px;
}

.contact-thanks__title {
    font-size: 54px;
    font-weight: 900;
    color: #000000;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.contact-thanks-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.contact-thanks-btn-link {
    text-decoration: none;
    display: inline-block;
}

.contact-thanks-btn-border {
    border: 2px solid #FE4BA0;
    border-radius: 50px;
    padding: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

.contact-thanks-btn {
    background: #FE4BA0;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    white-space: nowrap;
}

.contact-thanks-btn-border:hover {
    background: #ff6bb3;
    border-color: #ff6bb3;
    box-shadow: 0 4px 12px rgba(254, 75, 160, 0.4);
    transform: translateY(-2px);
}

.contact-thanks-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 2px solid #FE4BA0;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.contact-thanks-btn-icon img {
    display: none; /* Hide SVG image, use CSS triangle instead */
}

/* Create play triangle using CSS */
.contact-thanks-btn-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid #FE4BA0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px; /* Slight offset to center the triangle */
}

/* Responsive for success page */
@media (max-width: 768px) {
    .contact-thanks {
        padding: 40px 0;
    }

    .contact-thanks__title {
        font-size: 24px;
    }

    .contact-thanks-btn {
        font-size: 16px;
        padding: 14px 28px;
    }

    .contact-thanks-btn-icon {
        width: 28px;
        height: 28px;
    }

    .contact-thanks-btn-icon img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .contact-thanks__title {
        font-size: 20px;
    }

    .contact-thanks-btn {
        font-size: 14px;
        padding: 12px 24px;
        gap: 8px;
    }

    .contact-thanks-btn-icon {
        width: 24px;
        height: 24px;
    }

    .contact-thanks-btn-icon img {
        width: 12px;
        height: 12px;
    }
}

