/* ============================================================
   pre_contact.css — CONTACT（お問い合わせ）ページ専用スタイル（pre版）
   ============================================================ */
/* ============================================================
   Contact Form Section
   ============================================================ */
.contact-form {
    padding: 14rem 14.2rem 0;
    position: relative;
}
.contact-form__container {
    max-width: 96.6rem;
    margin: 0 auto;
}
/* セクションタイトル */
.contact-form__header {
    text-align: left;
    margin-bottom: 9.6rem;
    margin-left: -9.6rem;
}
.contact-form__en {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 6rem;
    letter-spacing: 0.1em;
    color: #7db0dc;
    line-height: 1;
    margin: 0 0 1.4rem;
}
.contact-form__ja {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 2.3rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    color: #414141;
    margin: 0;
}
/* カード */
.contact-form__card {
    background: linear-gradient(113.31deg, rgba(189, 225, 255, 0.7) 29.242%, rgba(255, 252, 229, 0.7) 71.265%);
    border-radius: 4rem;
    padding: 5.6rem 6.4rem 4rem;
}
/* 注意書き */
.contact-form__note {
    font-size: 1.4rem;
    line-height: 1.75;
    color: #233666;
    margin: 0 0 4rem;
    text-align: justify;
    font-weight: 500;
    letter-spacing: 0.05em;
}
/* ============================================================
   Form Group（各入力項目）
   ============================================================ */
.form-group {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    margin-bottom: 2.4rem;
}
.form-group--textarea {
    align-items: flex-start;
}
.form-group--textarea .form-group__label {
    display: flex;
    align-items: center;
    height: 6.4rem;
}
.form-group__label {
    flex-shrink: 0;
    width: 20.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #233666;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.25;
    letter-spacing: 0.05em;
}
.form-group__required {
    display: inline;
    font-size: 1.3rem;
    color: #ea5757;
    font-weight: 700;
    margin-left: 0.4rem;
}
.form-group__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 0;
}
/* テキスト入力 */
.form-group__input {
    width: 100%;
    height: 6.4rem;
    padding: 0 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    color: #233666;
    background: #fff;
    outline: none;
    transition: box-shadow 0.2s ease;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.form-group__input:focus {
    box-shadow: 0 0 0 2px rgba(0, 55, 136, 0.2);
}
.form-group__input::placeholder {
    color: #bbb;
}
/* セレクト */
.form-group__select-wrap {
    position: relative;
    width: 100%;
}
.form-group__select-wrap::after {
    content: '';
    position: absolute;
    right: 2.2rem;
    top: 54%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 1.9rem;
    background-image: url('/img/contact/contact_pulldown_arrow.webp');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}
.form-group__select {
    width: 100%;
    height: 6.4rem;
    padding: 0 4.4rem 0 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    color: #233666;
    background: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.form-group__select:focus {
    box-shadow: 0 0 0 2px rgba(0, 55, 136, 0.2);
}
/* テキストエリア */
.form-group__textarea {
    width: 100%;
    height: 56rem;
    padding: 1.6rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    color: #233666;
    background: #fff;
    outline: none;
    resize: vertical;
    transition: box-shadow 0.2s ease;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.75;
}
.form-group__textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 55, 136, 0.2);
}
.form-group__textarea::placeholder {
    color: #bbb;
}
/* エラーメッセージ */
.form-group__error {
    font-size: 1.3rem;
    color: #ea5757;
    margin-top: 0.2rem;
}
/* ラジオボタン */
.form-group__radio {
    display: flex;
    gap: 0;
    padding-top: 0;
}
.radio-item {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    cursor: pointer;
    width: 11.7rem;
}
.radio-item input[type="radio"] {
    width: 3.7rem;
    height: 3.7rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    outline: none;
    background: #fff;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.radio-item input[type="radio"]:checked {
    background: #233666;
    box-shadow: inset 0 0 0 0.7rem #fff;
}
.radio-item input[type="radio"]:focus, .radio-item input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: none;
}
.radio-item input[type="radio"]:checked:focus, .radio-item input[type="radio"]:checked:focus-visible {
    box-shadow: inset 0 0 0 0.7rem #fff;
}
.radio-item__text {
    font-size: 1.6rem;
    color: #233666;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
/* ============================================================
   Contact Form Footer（プライバシーポリシー＋ボタン）
   ============================================================ */
.contact-form__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.8rem;
}
.contact-form__privacy {
    width: 100%;
    font-size: 1.2rem;
    font-weight: 500;
    color: #414141;
    margin: 0;
    text-align: right;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.05em;
}
.contact-form__privacy-link {
    color: #7db0dc;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}
.contact-form__privacy-link:hover {
    opacity: 0.7;
}
.contact-form__submit {
    display: flex;
    justify-content: center;
    margin-top: 5.6rem;
}
/* ============================================================
   Primary / Secondary ボタン
   ============================================================ */
.btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26rem;
    height: 7.2rem;
    border-radius: 100px;
    border: none;
    font-size: 1.9rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(124deg, #006FA8 14.62%, #003788 35.64%, #003788 64.79%, #006FA8 85.81%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s ease;
    text-decoration: none;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.05em;
    padding: 1.1rem 3.1rem 1.3rem;
}
.btn--primary:hover {
    background-position: 0% 0;
}
.btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26rem;
    height: 7.2rem;
    border-radius: 100px;
    border: none;
    font-size: 1.9rem;
    font-weight: 500;
    color: #fff;
    background: #656565;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.05em;
    padding: 1.1rem 3.1rem 1.3rem;
}
.btn--secondary:hover {
    opacity: 0.8;
}
/* ============================================================
   Contact Confirm（確認ページ）
   ============================================================ */
.contact-confirm {
    padding: 14rem 14.2rem 0;
}
.contact-confirm__container {
    max-width: 96.6rem;
    margin: 0 auto;
}
.contact-confirm__lead {
    font-size: 2rem;
    font-weight: 700;
    color: #233666;
    margin: 0 0 1.2rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.contact-confirm__note {
    font-size: 1.4rem;
    color: #414141;
    margin: 0 0 4rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
/* 確認リスト */
.confirm-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 4.8rem;
}
.confirm-list__item {
    display: flex;
    align-items: flex-start;
    gap: 4.5rem;
    padding: 3rem 0;
    border-bottom: 1px solid #7DB0DC;
}
.confirm-list__item:first-child {
    border-top: 1px solid #7DB0DC;
}
.confirm-list__label {
    flex-shrink: 0;
    width: 20.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #233666;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.confirm-list__value {
    flex: 1;
    font-size: 1.6rem;
    font-weight: 500;
    color: #233666;
    line-height: 1.75;
    margin: 0;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
/* 確認ページ アクションボタン */
.contact-confirm__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    margin-top: 4.8rem;
}
.contact-confirm__actions form {
    display: inline-block;
}
/* ============================================================
   Contact Finish（完了ページ）
   ============================================================ */
.contact-finish {
    padding: 14rem 14.2rem 22rem;
}
.contact-finish__container {
    max-width: 96.6rem;
    margin: 0 auto;
}
.contact-finish__card {
    text-align: center;
    padding: 8rem 6.4rem;
}
/* SP専用改行（PCでは非表示） */
.sp-br {
    display: none;
}
.contact-finish__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #233666;
    margin: 0 0 2.4rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.contact-finish__message {
    font-size: 1.6rem;
    color: #414141;
    line-height: 2;
    margin: 0 0 4.8rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
.contact-finish__action {
    display: flex;
    justify-content: center;
}
/* ============================================================
   SP（スマートフォン）767px以下
   ============================================================ */
@media (max-width: 767px) {
    /* Contact Form Section */
    .contact-form {
        padding: 6.4rem 0 1rem;
    }
    .contact-form__container {
        padding: 0 2.4rem;
    }
    .contact-form__header {
        margin-bottom: 3.2rem;
        margin-left: 0;
        padding: 0;
    }
    .contact-form__en {
        font-size: 3.4rem;
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }
    .contact-form__ja {
        font-size: 1.8rem;
        letter-spacing: 0.13em;
    }
    .contact-form__card {
        border-radius: 1.7rem;
        padding: 2.4rem 2.4rem 1.2rem;
    }
    .contact-form__note {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    .contact-form__note br {
        display: none;
    }
    /* Form Group (SP: 縦積み) */
    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    .form-group--textarea {
        align-items: flex-start;
    }
    .form-group--textarea .form-group__label {
        height: auto;
        display: block;
    }
    .form-group__label {
        width: auto;
        font-size: 1.4rem;
    }
    .form-group__field {
        width: 100%;
    }
    .form-group__select-wrap::after {
        width: 1.8rem;
        height: 1.2rem;
    }
    .form-group__input {
        width: 100%;
        height: 4rem;
        font-size: 1.4rem;
        padding: 0 1.4rem;
    }
    .form-group__select {
        height: 4rem;
        font-size: 1.4rem;
        padding: 0 3.6rem 0 1.4rem;
    }
    .form-group__textarea {
        width: 100%;
        height: 24rem;
        font-size: 1.4rem;
        padding: 1.2rem 1.4rem;
    }
    .form-group__radio {
        padding-top: 0;
    }
    .radio-item input[type="radio"] {
        width: 3rem;
        height: 3rem;
        box-shadow: inset 0 0 0 0.7rem #fff;
    }
    .radio-item input[type="radio"]:not(:checked) {
        box-shadow: none;
    }
    .radio-item__text {
        font-size: 1.4rem;
    }
    /* Contact Form Footer */
    .contact-form__footer {
        margin-top: 0.8rem;
    }
    .contact-form__privacy {
        font-size: 1.2rem;
        text-align: center;
    }
    .contact-form__submit {
        margin-top: 3.2rem;
    }
    /* Buttons (SP) */
    .btn--primary {
        width: 15rem;
        height: 5rem;
        font-size: 1.5rem;
        margin-left: 0.5rem;
    }
    .btn--secondary {
        width: 15rem;
        height: 5rem;
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
    .contact-form .btn.btn--primary {
        margin: 0 auto;
        width: auto;
        padding: 0.9rem 2.6rem 1.1rem;
        font-size: 1.6rem;
    }
    /* Contact Confirm (SP) */
    .contact-confirm {
        padding: 9.4rem 0 0;
    }
    .contact-confirm__container {
        padding: 0 2.4rem;
    }
    .contact-confirm__lead {
        font-size: 1.7rem;
    }
    .contact-confirm__note {
        margin-bottom: 2rem;
    }
    .confirm-list {
        margin-bottom: 2rem;
    }
    .confirm-list__item {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.6rem 1rem;
    }
    .confirm-list__label {
        width: auto;
        font-size: 1.3rem;
    }
    .confirm-list__value {
        font-size: 1.4rem;
    }
    .contact-confirm__actions {
        flex-direction: row;
        gap: 1.2rem;
        margin-top: 2.5rem;
    }
    /* Contact Finish (SP) */
    .contact-finish {
        padding: 9.4rem 0 0;
    }
    .contact-finish__container {
        padding: 0 2.4rem;
    }
    .contact-finish__card {
        padding: 4rem 2.4rem;
    }
    .sp-br {
        display: inline;
    }
    .contact-finish__title {
        font-size: 2rem;
        margin-bottom: 1.6rem;
    }
    .contact-finish__message {
        font-size: 1.4rem;
        margin-bottom: 3.2rem;
    }
    .contact-finish .btn.btn--primary {
        margin: 0;
        width: auto;
    }
}