@charset "UTF-8";

:root {
    font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ",
        "Meiryo", sans-serif;
    color: #222;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f9fa;
    font-family: inherit;
    color: inherit;
}

body.simulation-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f3f6f7;
}

body.simulation-page .se-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

body.simulation-page .simulation-container {
    width: 100%;
    max-width: 880px;
}

.validation-errors {
    background: #ffe5e5;
    border: 2px solid #ff6b6b;
    color: #d10000;
    margin: 0 0 24px;
    padding: 16px;
    font-weight: 600;
    line-height: 1.6;
    border-radius: 8px;
}

.form--area__wrap {
    border: 5px solid #46878b;
    background: #fff;
}

.form--title__wrap {
    background: linear-gradient(135deg, #46878b 0%, #5a9ba0 50%, #46878b 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(70, 135, 139, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.form--title__wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.form--title__wrap h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.form--title__wrap h2 .mobile-br {
    display: none;
}

.form--title {
    display: grid;
    align-items: end;
    justify-items: center;
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    width: 100%;
    max-width: 640px;
}

.form--catch {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 190px;
}

.form--title-image {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 460px;
}

.form--style {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form--parts {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.form--style .form--parts:first-of-type {
    display: flex;
}

.label {
    font-size: 20px;
    font-weight: 700;
    color: #46878b;
    text-align: center;
}

.label--normal {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-align: left;
}

.req {
    display: inline-block;
    margin-left: 6px;
    color: #136071;
    font-weight: 700;
    font-size: 14px;
}

.any {
    display: inline-block;
    margin-left: 6px;
    color: #777;
    font-weight: 700;
    font-size: 14px;
}

.select--wrap,
.input-wrap,
.textarea--wrap {
    width: 100%;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    font-size: 18px;
    padding: 14px;
    background: #fff;
    font-family: inherit;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #46878b 50%),
        linear-gradient(135deg, #46878b 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 19px) calc(50% - 3px);
    background-size: 7px 7px;
    background-repeat: no-repeat;
}

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

.form-note-image {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-note-image img {
    display: block;
    margin: 0 auto;
}

.form-note-text {
    text-align: center;
    margin: 16px 0;
    font-size: 20px;
    font-weight: 700;
    color: #136071;
    line-height: 1.6;
}

.submit--wrap {
    display: none;
    margin-top: 16px;
}

.submit {
    width: 253px;
    height: 71px;
    border: none;
    background: url('../images/submit_btn.png') no-repeat center/cover;
    margin: 40px auto 0;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit:hover {
    opacity: 0.7;
}

.form-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

@media screen and (max-width: 1023px) {
    .form--title__wrap h2 {
        font-size: 24px;
    }

    .form--title {
        grid-template-columns: 150px 1fr;
        max-width: 520px;
    }

    .form--catch {
        width: 150px;
    }

    .form--title-image {
        width: 380px;
    }

    .form--style {
        padding: 40px;
    }
}

@media screen and (max-width: 767px) {
    body.simulation-page .se-main {
        padding: 32px 12px 64px;
    }

    .form--area__wrap {
        border-width: 3px;
    }

    .form--title__wrap {
        padding: 20px 12px 16px;
    }

    .form--title__wrap h2 {
        font-size: 22px;
        letter-spacing: 0.03em;
    }

    .form--title__wrap h2 .mobile-br {
        display: block;
    }

    .form--title {
        grid-template-columns: 90px 1fr;
        gap: 8px;
    }

    .form--catch {
        width: 90px;
    }

    .form--title-image {
        width: 100%;
    }

    .form--style {
        padding: 24px 20px 40px;
        gap: 24px;
    }

    .label,
    .label--normal {
        font-size: 17px;
        text-align: left;
    }

    .form-note-text {
        font-size: 18px;
    }

    select,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
    }

    textarea {
        height: 100px;
    }

    .submit {
        width: 254px;
        height: 62px;
        background-image: url('../images/submit_btn_sp.png');
        margin-top: 32px;
    }
}

