/* ========================================
   新規加入ページ
======================================== */

.join-page-header {
    padding: 45px 0 35px;
    background: #f5f7fa;
}

.join-page-header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.join-page-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #003e8b;
    color: #fff;
    font-size: 22px;
}

.join-page-title {
    margin: 0;
    color: #003e8b;
    font-size: 32px;
    font-weight: 700;
}

.join-page-sub {
    margin: 4px 0 0;
    color: #777;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
}

.join-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    color: #777;
    font-size: 13px;
}

.join-breadcrumb a {
    color: #003e8b;
    text-decoration: none;
}

.join-body {
    padding-top: 55px;
    padding-bottom: 80px;
}

.join-layout {
    width: 100%;
}

.join-main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* ========================================
   導入文
======================================== */

.join-intro {
    margin-bottom: 40px;
}

.join-intro p {
    margin: 0 0 10px;
    line-height: 1.9;
}

.join-note {
    margin-top: 20px !important;
    padding: 15px 20px;
    background: #f5f7fa;
    color: #555;
    font-size: 14px;
    line-height: 1.8 !important;
}

.join-note i {
    margin-right: 6px;
    color: #003e8b;
}

.join-note .fa-exclamation-triangle {
    color: #bd1a21;
}


/* ========================================
   フォーム
======================================== */

.join-form {
    width: 100%;
}

.join-form .form-group {
    margin-bottom: 28px;
}

.join-form .form-label {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
    color: #333;
}

.join-form .required {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #bd1a21;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    vertical-align: middle;
}


/* ========================================
   入力欄
======================================== */

.join-form .form-input,
.join-form .form-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d8dee5;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #333;
}

.join-form .form-input:focus,
.join-form .form-textarea:focus {
    outline: none;
    border-color: #003e8b;
    box-shadow: 0 0 0 3px rgba(0, 62, 139, 0.08);
}

.join-form .form-input.half {
    max-width: 450px;
}

.join-form .form-textarea {
    resize: vertical;
    line-height: 1.7;
}

.join-form .form-error {
    display: block;
    min-height: 20px;
    margin-top: 5px;
    color: #bd1a21;
    font-size: 13px;
}


/* ========================================
   ラジオボタン
======================================== */

.join-form .form-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.join-form .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.join-form .radio-label input {
    width: 18px;
    height: 18px;
    accent-color: #003e8b;
}

.member-type-other {
    margin-top: 15px;
}


/* ========================================
   年会費
======================================== */

.fee-input {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.units-input {
    width: 90px !important;
    text-align: center;
}

.fee-total {
    margin-top: 15px;
    padding: 14px 18px;
    border-left: 4px solid #003e8b;
    background: #f5f7fa;
}

.fee-total strong {
    color: #003e8b;
    font-size: 20px;
}


/* ========================================
   個人情報
======================================== */

.privacy-group {
    margin-top: 45px;
}

.privacy-box {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #dce2e8;
    background: #f8f9fa;
}

.privacy-title {
    margin: 0 0 12px;
    color: #003e8b;
    font-size: 16px;
}

.privacy-title i {
    margin-right: 7px;
}

.privacy-text {
    margin: 5px 0;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}

.privacy-link {
    color: #003e8b;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #003e8b;
}


/* ========================================
   ボタン
======================================== */

.form-submit-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 45px;
}

.form-submit-wrap button {
    min-width: 200px;
    padding: 14px 25px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.btn-contact-reset {
    border: 1px solid #bbb;
    background: #fff;
    color: #555;
}

.btn-contact-submit {
    border: none;
    background: #003e8b;
    color: #fff;
}

.btn-contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ========================================
   完了画面
======================================== */

.join-thanks {
    padding: 70px 20px;
    text-align: center;
}

.join-thanks .thanks-icon {
    margin-bottom: 20px;
    color: #003e8b;
    font-size: 60px;
}

.join-thanks .thanks-title {
    margin: 0 0 20px;
    font-size: 28px;
}

.join-thanks .thanks-text {
    line-height: 1.9;
    color: #555;
}

.join-thanks .thanks-btn {
    display: inline-block;
    margin-top: 25px;
}


/* ========================================
   スマートフォン
======================================== */

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

    .join-page-header {
        padding: 35px 0 25px;
    }

    .join-page-title {
        font-size: 27px;
    }

    .join-body {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .join-main {
        max-width: 100%;
    }

    .form-submit-wrap {
        flex-direction: column;
    }

    .form-submit-wrap button {
        width: 100%;
    }

}


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

    .join-page-header-inner {
        gap: 12px;
    }

    .join-page-header-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .join-page-title {
        font-size: 24px;
    }

    .join-page-sub {
        font-size: 10px;
    }

    .join-breadcrumb {
        font-size: 12px;
    }

    .join-intro {
        margin-bottom: 30px;
    }

    .join-form .form-group {
        margin-bottom: 24px;
    }

    .fee-input {
        font-size: 14px;
    }

}

