:root {
    --brand: #e60012;
    --brand-dark: #c4000f;
    --bg: #f4f1ec;
    --card-bg: #ffffff;
    --text: #2e2e2e;
    --text-muted: #6b6b6b;
    --border: #dcdcdc;
    --section-bg: #f5f5f5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    /*font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;*/
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro2", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

/* ---- top bar ---- */
.top-bar {
    background: var(--brand);
    padding: 16px 20px;
}

.top-bar-inner {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 100px;
    padding: 16px 36px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-bar-inner .logo-mark {
    color: var(--brand);
    font-weight: 800;
    font-style: italic;
    font-size: 1.3rem;
    margin-right: 12px;
    letter-spacing: 0.5px;
}

.top-bar-inner .logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
}

.top-bar-inner .logo-mark img,
.top-bar-inner .logo-text img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---- page container / card ---- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

.card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 44px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

h1 {
    text-align: center;
    font-size: 1.7rem;
    margin: 0 0 40px;
    position: relative;
    padding-bottom: 18px;
    color: var(--text);
}

h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
}

/* ---- section labels ---- */
.section-title {
    background: var(--section-bg);
    border-left: 4px solid var(--brand);
    padding: 12px 18px;
    font-weight: 700;
    font-size: 1.02rem;
    border-radius: 3px;
    margin: 36px 0 22px;
}

.section-title:first-of-type {
    margin-top: 0;
}

/* ---- form layout ---- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 26px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
    color: var(--text);
}

.field-message {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.field-message:not(:empty) {
    margin-top: 4px;
}

.field-message.error {
    color: var(--brand-dark);
}

/* ---- inputs ---- */
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
    color: #b3b3b3;
}

input[type="text"]:disabled,
input[type="email"]:disabled {
    color: #8a8a8a;
    background: #e9e9e9;
    border-color: #d2d2d2;
    cursor: not-allowed;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.12);
}

/*
#\30 0N10000008Vx65 option {
    white-space: normal;
    overflow-wrap: anywhere;
}

#\30 0N10000008Vx65 {
    min-height: 175px;
    overflow-y: hidden;
}
*/

#\30 0N10000008Vx65 {
    height: auto;
}

.checkbox-options {
    display: grid;
    margin-left: 6px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0.35rem 0 0;
    accent-color: var(--brand);
}

.checkbox-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkbox-fieldset legend {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

/* ---- submit button ---- */
input[type="submit"] {
    display: block;
    margin: 44px auto 0;
    padding: 15px 56px;
    background: var(--brand);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

input[type="submit"]:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.required::after {
    content: '*';
    color: var(--brand);
    margin-left: 5px;
}



/* ---- confirmation notice ---- */
.confirm-list {
    list-style: none;
    margin: 0;
    padding: 4px 4px 0;
}

.confirm-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.confirm-list li:last-child {
    margin-bottom: 0;
}

.confirm-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0.35em;
    color: var(--brand);
    font-size: 0.6rem;
}

.confirm-list a {
    color: var(--brand);
    text-decoration: underline;
}

.confirm-list a:hover {
    color: var(--brand-dark);
}

.recaptcha-wrap {
    margin-top: 40px;
}
.required-mark {
    color: var(--brand);
    font-weight: 700;
}

/* ---- responsive ---- */
@media (max-width: 680px) {
    /*
    #\30 0N10000008Vx65 {
        min-height: 0;
        height: 270px;
    }
    */

    .top-bar-inner {
        padding: 14px 18px;
    }

    .container {
        padding: 24px 14px 50px;
    }

    .card {
        padding: 26px 20px;
        border-radius: 10px;
    }

    h1 {
        font-size: 1.35rem;
        margin-bottom: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    input[type="submit"] {
        width: 100%;
        padding: 15px 0;
    }
}