@charset "utf-8";

/* ===== ステップフォーム ===== */

#form {
    padding: 60px 0 80px;
    background-color: #EFF7EF;
}

#form .inner02 {
    width: min(100%, 900px);
    margin: 0 auto;
}

#form .subTxt {
    margin: 0 0 50px;
}

.sf-wrapper { margin: 0 auto 40px; }

.sf-error {
    background: #fee;
    border: 1px solid #faa;
    padding: 14px 16px;
    margin: 0 0 24px;
}

/* プログレス */
.sf-progress {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.sf-progress li {
    flex: 1 1 0;
    text-align: center;
    padding: 10px 6px;
    background: #f6f7f6;
    border: 1px solid #e1e5e1;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
}

.sf-progress li span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccd6cc;
    background: #fff;
    margin-right: 6px;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
}

.sf-progress li em { font-style: normal; vertical-align: middle; }
.sf-progress li.current { border-color: #1F4C32; background: #eaf0ec; color: #1F4C32; }
.sf-progress li.current span { border-color: #1F4C32; }
.sf-progress li.done { background: #1F4C32; border-color: #1F4C32; color: #fff; }
.sf-progress li.done span { background: #fff; color: #1F4C32; }

/* ステップパネル */
.sf-step {
    display: none;
    background: #fff;
    padding: 50px 70px;
    border: 1px solid #e1e5e1;
    border-radius: 6px;
}

.sf-step.is-active { display: block; }
.sf-step-ttl { margin: 0 0 12px; font-size: 18px; color: #1F4C32; }

/* フィールド */
.sf-field { margin: 14px 0; }

.sf-field input[type="text"],
.sf-field input[type="tel"],
.sf-field input[type="email"],
.sf-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: #F8F8F8;
    border: 1px solid #e1e5e1;
    border-radius: 2px;
    padding: 14px 12px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
}

.sf-field textarea { min-height: 160px; }

.sf-hint {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 6px 4px;
    line-height: 1;
    background: #666;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
}

.sf-hint.must { background: #de5a45; }

/* ナビボタン */
.sf-nav {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.sf-nav .sf-prev,
.sf-nav .sf-next,
.sf-nav .sf-submit {
    appearance: none;
    border: none;
    border-radius: 3px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
}

.sf-nav .sf-prev { background: #e9eeea; color: #333; }
.sf-nav .sf-next { background: #1F4C32; color: #fff; }
.sf-nav .sf-submit { background: #1F4C32; color: #fff; font-weight: 600; }

/* シェイク */
.sf-shake { animation: sfshake .35s; }
@keyframes sfshake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* ラジオ */
.contact-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 8px;
}

.contact-radio .radio-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-radio .radio-item input[type="radio"] {
    margin: 0;
    accent-color: #1F4C32;
    width: 16px;
    height: 16px;
}

/* 完了画面 */
.sf-complete {
    background: #fff;
    padding: 60px 40px;
    border: 1px solid #e1e5e1;
    border-radius: 6px;
    text-align: center;
}

.sf-complete h3 {
    font-size: 22px;
    color: #1F4C32;
    margin: 0 0 16px;
}

.sf-complete p a {
    color: #1F4C32;
    text-decoration: underline;
}

/* ===== SP ===== */
@media (max-width: 768px) {

    #form { padding: 50px 0 30px; }

    #form .inner02 { width: 100%; }

    .sf-progress { gap: 6px; }

    .sf-progress li {
        padding: 8px 4px;
        font-size: 10px;
    }

    #form .subTxt {
        margin: 0 0 30px;
    }

    .sf-progress li span {
        display: flex;
        margin: 0 auto 4px;
        width: 22px;
        height: 22px;
    }

    .sf-progress li em { display: block; }

    .sf-step { padding: 30px 20px; }

    .contact-radio .radio-item { width: 100%; }

    /* iOSズーム防止 */
    .sf-field input[type="text"],
    .sf-field input[type="tel"],
    .sf-field input[type="email"],
    .sf-field textarea {
        font-size: 16px;
    }
}

/* ===== チェックボックス（Step1） ===== */
.sf-step-note {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
}

.contact-check {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px 20px;
    margin-top: 8px;
}

.check-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 14px 20px;
    border: 2px solid #e1e5e1;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s, background 0.2s;
    min-width: 140px;
}

.check-item:hover {
    border-color: #1F4C32;
    background: #eaf0ec;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #1F4C32;
    flex-shrink: 0;
}

.check-item:has(input:checked) {
    border-color: #1F4C32;
    background: #eaf0ec;
}

/* sf-label */
.sf-label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-check {
        gap: 10px;
        flex-wrap: wrap;
    }

    .check-item {
        width: 100%;
        min-width: unset;
    }
}

/* ===== ハニーポット（人間には見えないが、ボットは入力してしまう） ===== */
.sf-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
