@charset "utf-8";
/* ▼ KV ▼------------------------------------------ */
.lower-kv {
    position: relative;
}
.lower-ttl {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 38%;
    left: 12%;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: clamp(24px, 4.86vw, 70px);
    line-height: normal;
    font-weight: 600;
    color: #fff;
}
.lower-ttl__en {
    display: inline-block;
    margin-top: 5px;
    font-family: Roboto;
    font-size: clamp(14px, 2.78vw, 40px);
    font-weight: 400;
}
.lower-kv__bg img {
    width: 100%;
}
.lower-kv__wave {
    position: absolute;
    top: 74%;
    left: 0;
}

/* ▼ FORM ▼----------------------------------------- */
/* フォーム全体 */
.form {
    margin: 100px 8% 150px;
    padding: 120px 0 100px;
    background-color: #e9f0f3;
}
.form__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 12.5%;
}
.form__item {
    margin-bottom: 50px;
}
.form__label {
    display: block;
    font-weight: bold;
    margin-bottom: 7px;
}
.wpcf7 {
    color: #303030;
    font-family: "Roboto", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
        "Yu Gothic", "メイリオ", "Hiragino Sans", sans-serif;
}
/* 必須マーク */
.form__item--required .form__label::before {
    content: "必須";
    padding: 4px 9px;
    color: #fff;
    background-color: #ca0000;
    margin-right: 5px;
    font-size: 14px;
    font-weight: 300;
}
/* テキストフィールド */
.input-text {
    width: 100%;
    padding: 9px 15px;
    border: 1px solid #aabbc1;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.875;
}
/* テキストエリア */
.input-other {
    width: 100%;
    box-sizing: border-box;
    line-height: auto;
    white-space: normal;
    resize: vertical;
    field-sizing: content;
    min-height: calc(1.875em + 20px);
    color: #303030;
    font-family: "Roboto", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
        "Yu Gothic", "メイリオ", "Hiragino Sans", sans-serif;
    resize: vertical;
}
.input-textarea {
    width: 100%;
    height: 300px;
    padding: 12px 15px;
    border: 1px solid #aabbc1;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 16px;
    color: #303030;
    font-family: "Roboto", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
        "Yu Gothic", "メイリオ", "Hiragino Sans", sans-serif;
    resize: vertical;
}
/* ラジオボタン */
.form__radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.form__radio-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.form__radio-group input[type="radio"] {
    margin: 3px 7px 3px 0px;
    transform: scale(1.4);
}
/* プライバシーポリシー */
.form-policy {
    margin-top: 40px;
    text-align: left;
}
.form-policy p {
    margin-bottom: 15px;
}
.form-policy a {
    color: #4f889d;
    font-weight: 500;
}
.policy-checkbox__wrap {
    text-align: center;
}
.policy-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.policy-checkbox input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}
/* -- 送信ボタン -- */
input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
span.wpcf7-spinner {
    display: none;
}
.form-submit {
    margin: 90px auto 0;
    text-align: center;
}
.submit-btn {
    display: inline-block;
    border: 2px solid #005271;
    position: relative;
    overflow: hidden;
    /* padding: 1.5rem 3rem 1.5rem 5.5rem; */
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}
.submit-btn::before,
.submit-btn::after {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
}
.submit-btn::before {
    width: 10px;
    height: 10px;
    left: 1rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    z-index: 2;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
}
.submit-btn::after {
    left: -2.3rem;
    background: #005271;
    z-index: 1;
    width: 6rem;
    height: 130%;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.submit-btn input {
    position: relative;
    transition: all 0.3s;
    z-index: 2;
    padding: 1.5rem 3rem 1.5rem 5.5rem;
    border: none;
    outline: none;
    background-color: transparent;
    color: #005271;
    font-size: 18px;
    line-height: 1.5;
}
.submit-btn:hover input {
    color: #fff;
}
.submit-btn:hover::after {
    right: 0;
    width: 122%;
    border-radius: 0;
}
@media screen and (max-width: 767px) {
    .form {
        width: 100%;
        margin: 50px 0 80px;
        padding: 60px 0 160px;
    }
    .form__item {
        margin-bottom: 25px;
    }
    .form-policy {
        margin-top: 20px;
    }
    .form-submit {
        margin-top: 45px;
    }
    .submit-btn {
        box-sizing: border-box;
    }
    .form__radio-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
}

/* -- ENTRYページ -- */
/* 年齢 */
.form__item--age .form__input-wrap {
    display: flex;
    align-items: end;
}
.form__item--age .input-text {
    width: calc(2em + 20px);
}
.form__item--age span {
    margin-left: 10px;
}
/* チェックボックス */
.form__checkbox-group {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.form__checkbox-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.form__checkbox-group input[type="checkbox"] {
    margin: 3px 7px 3px 0px;
    transform: scale(1.4);
}
/* ファイル */
::-webkit-file-upload-button {
    color: #303030;
    background-color: #fff;
    padding: 10px 20px;
    border: 1px solid #aabbc1;
}

@media screen and (max-width: 767px) {
    .form__checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}
