@charset "utf-8";

/*-------------------------*/
/*  base
/*-------------------------*/
:root,
:host {
    --white: #ffffff;
    --black: #000000;
    --main_text: #1b1a4b;
}

* {
    box-sizing: border-box;
    position: relative;
}

body {
    font-family: 'ヒラギノ角ゴ ProN', 'Noto Sans JP', sans-serif, "メイリオ", Meiryo, 'Kosugi Maru', sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    position: relative;
    line-height: 2.5;
    font-size: 14px;
    color: var(--main_text);
}

.inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/*-------------------------*/
/*  base
/*-------------------------*/
:root {
    --bg: #f3f5f9;

    --card: #ffffff;
    --border: #e6e9ef;

    --titleBlue: #1f66c6;
    --text: #111827;

    --lineBlue: #1f66c6;

    --required: #e11d2e;
    --requiredText: #ffffff;

    --textareaBg: #f3f4f6;
    --textareaBorder: #e5e7eb;

    --submit: #0ea5d6;
    --submitText: #ffffff;

    --btnDark: #2f3136;
    --btnDarkText: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP",
        "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.page {
    padding: 16px 12px 24px;
    display: flex;
    justify-content: center;
}

.gradient-title {
    font-weight: 800;
    font-size: 22px;
    /* 既存に合わせる */
    line-height: 1.3;
    text-align: center;

    background: linear-gradient(90deg,
            #2563eb 0%,
            #2563eb 20%,
            #38bdf8 50%,
            #2563eb 80%,
            #2563eb 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 通常画面（max 414px） */
.screen {
    width: 100%;
    max-width: 414px;
    background: var(--card);
    border-radius: 10px;
    padding: 14px 14px 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.screen__title {
    margin: 6px 0 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--titleBlue);
    letter-spacing: 0.02em;
}

.screen__rule {
    height: 3px;
    background: var(--lineBlue);
    border-radius: 2px;
}

.screen__rule--thin {
    height: 2px;
    margin: 14px 0 12px;
}

.screen__lead {
    padding: 12px 6px 0;
    text-align: center;
    line-height: 1.8;
    font-size: 12.5px;
    color: #0f172a;
}

.screen__lead p {
    margin: 0 0 12px;
}

.field__head {
    margin: 10px 0 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
}

.badge--required {
    background: var(--required);
    color: var(--requiredText);
}

.field__label {
    display: block;
    font-size: 12px;
    line-height: 1.7;
    color: #0f172a;
    margin-bottom: 10px;
}

.textarea {
    width: 100%;
    border: 1px solid var(--textareaBorder);
    background: var(--textareaBg);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    min-height: 220px;
    outline: none;
}

.textarea::placeholder {
    color: #9ca3af;
}

.textarea:focus {
    border-color: rgba(31, 102, 198, 0.35);
    box-shadow: 0 0 0 4px rgba(31, 102, 198, 0.12);
}

.notes {
    margin: 14px 2px 14px;
    font-size: 10.5px;
    line-height: 1.7;
    color: #111827;
}

.notes p {
    margin: 0 0 8px;
}

.submit {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px;
    background: var(--submit);
    color: var(--submitText);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12);
}
.gradient-btn {
    background: linear-gradient(90deg,
            #2563eb 0%,
            #38bdf8 100%);
}

.submit:active {
    transform: translateY(1px);
}

/* 同意モーダル */
.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px 14px;
    z-index: 9999;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}

.modal__panel {
    position: relative;
    z-index: 1;
}

.modal.is-hidden {
    display: none;
}

.card {
    width: min(360px, 100%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.title {
    margin: 4px 0 6px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--titleBlue);
}

.subtitle {
    margin: 0 0 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.desc {
    font-size: 12.5px;
    line-height: 1.75;
    color: #4b5563;
}

.desc p {
    margin: 0 0 10px;
}

.checks {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 12px;
}

.check {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text);
}

.check input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--btnDark);
}

.btn {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 12px 14px;
    background: var(--btnDark);
    color: var(--btnDarkText);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/*-------------------------/*-------------------------*/
/*  pc  
/*-------------------------/*-------------------------*/
@media (min-width: 756px) {}

/*-------------------------/*-------------------------*/
/*  sp  
/*-------------------------/*-------------------------*/
@media (max-width: 756px) {}