/* ----- フォーム（一括査定・ステップ） ----- */
.form-section {
    background: #688C2F;
    position: relative;
    max-width: 390px;
    z-index: 1;
}

.form-section__title {
    margin-bottom: 1rem;
    width: 312px;
}

.form-wrap {
    overflow: hidden;
    position: relative;
}

.form-steps {
    display: flex;
    width: 400%;
    transition: transform 0.35s ease-out;
    will-change: transform;
}

.form-steps.is-step-1 { transform: translateX(0); }
.form-steps.is-step-2 { transform: translateX(-25%); }
.form-steps.is-step-3 { transform: translateX(-50%); }
.form-steps.is-step-4 { transform: translateX(-75%); }

.form-step {
    width: 25%;
    flex-shrink: 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.form-card__header-wrap {
    background: #6F9238;
    margin: -24px -20px 20px -20px;
    padding: 20px 20px 16px;
    border-radius: 16px 16px 0 0;
}

.form-card__lead {
    color: #fff;
    font-size: 14px;
    margin: 0 0 4px 0;
}

.form {
    background: #fff;
    padding: 3rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
}

.form-card__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.02em;
    position: relative;
    top: 3rem;
    padding: 1rem;
    margin-top: -4rem;
}

.form-card__title-accent {
    color: #ffcc00;
}

.form-card__badge {
    display: inline-block;
    background: #ffcc00;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
}

.form-card__bar {
    background: #ffcc00;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 16px 16px 0 0;
    margin: -24px -20px 20px -20px;
    text-align: center;
}

.form .form__field {
    margin-bottom: 16px;
}

.form__step-tag {
    display: inline-block;
    font-family: "Futura PT", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    background: #C1D600;
    color: #3B590B;
    font-size: 14px;
    font-weight: 700;
    padding: 0px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    font-weight: 700;
}

.form__req {
    display: inline-block;
    font-family: "Futura PT", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    background: #C1D600;
    color: #3B590B;
    font-size: 14px;
    font-weight: 700;
    padding: 0px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    font-weight: 700;
}

.form__opt {
    display: inline-block;
    font-family: "Futura PT", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    background: #D9D9D9;
    color: #3B590B;
    font-size: 14px;
    font-weight: 700;
    padding: 0px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    font-weight: 700;
}

.form label {
    display: inline;
    font-size: 16px;
    color: #3B590B;
    margin-bottom: 6px;
    font-weight: 700;
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #999;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}

/* スマホで input/select/textarea タップ時のズームを防ぐ（16px 以上で iOS が拡大しない） */
@media (max-width: 767px) {
    .form input[type="text"],
    .form input[type="tel"],
    .form input[type="email"],
    .form select,
    .form textarea {
        font-size: 16px;
    }
}

.form input::placeholder,
.form textarea::placeholder {
    color: #aaa;
}

.form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #333;
}

.form__benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.form__benefits img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form__note {
    font-size: 13px;
    color: #333;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.form-btn {
    display: block;
    width: 100%;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

.form-btn form-btn--green js-form-next {
    color: #3B590B;
}

.form-btn--primary {
    font-family: "Corporate Logo ver2", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    font-size: 16px;
    background: linear-gradient(0deg, #F57017 0%, #FDA017 100%);
    color: #fff;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.form-btn--primary::before {
    font-family: "Corporate Logo ver2", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    content: '無料';
    display: inline-block;
    background: #fff;
    color: #F57017;
    font-size: 0.9375rem;
    padding: 8px 6px;
    border-radius: 999px;
    margin-right: 8px;
    vertical-align: middle;
}

.form-btn--primary::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-left-color: #fff;
    margin-left: 13px;
    vertical-align: middle;
}

.form-btn--back {
    color: #3B590B;
    background-color: transparent;
}

.form-btn--back:hover {
    text-decoration: underline;
}

.form-btn--green {
    background: #C1D600;
    color: #3B590B;
}

.form-submit {
    position: relative;
}

.form-btn--submit {
    position: absolute;
    top: calc(50% - 60px);
    font-family: "Corporate Logo ver2", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    font-size: 16px;
    background: linear-gradient(0deg, #F57017 0%, #FDA017 100%);
    color: #fff;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    margin: 5%;
    width: 90%;
}

.form-btn--submit::before {
    font-family: "Corporate Logo ver2", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    content: '無料';
    display: inline-block;
    background: #fff;
    color: #F57017;
    font-size: 0.9375rem;
    padding: 8px 6px;
    border-radius: 999px;
    margin-right: 8px;
    vertical-align: middle;

}

.form-btn--submit::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-left-color: #fff;
    margin-left: 13px;
    vertical-align: middle;
}

.form-phone {
    padding: 1.5rem;
    background: #DFE6D3;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 20px 0 rgba(51, 51, 51, 0.05);
    border-top: #fff 30px solid;
    margin-top: -1.5rem;
}

.form-phone__inner {
    padding: 1.5rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px 0 rgba(51, 51, 51, 0.05);
}

.form-phone__inner--pc {
    padding: 0.5rem 1rem 0.05rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px 0 rgba(51, 51, 51, 0.05);
}

.form-phone__title {
    color: #333;
    line-height: 1.575rem;
    margin: 0;
    font-weight: bold;
}

.form-phone__num {
    color: #F57117;
    font-family: "Futura PT", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.875rem; /* 83.333% */
}

.form-phone__num a {
    color: #e87b2b;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
}

.form-phone__list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #333;
}

.form-phone__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-weight: bold;
}

.form-phone__list img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-phone__note {
    margin: 0;
    color: #6F9238;
    font-family: "Yu Gothic Pr6N", "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.575rem;
    letter-spacing: 0.03438rem;
    border-radius: 1.875rem;
    background: #E1E8D5;
    padding-left: 0.5rem;
    position: relative;
    margin-top: 1rem;
}

.form-phone__tree {
    position: absolute;
    width: 2.94344rem;
    height: 3.0275rem;
    object-fit: cover;
    right: -1rem;
    bottom: 0;
}

.form-phone__tree--pc {
    position: absolute;
    width: 2.94344rem;
    height: 3.0275rem;
    object-fit: cover;
    right: 1.5rem;
    bottom: 16px;
}

.form-complete {
    background: #fff;
    padding: 3rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    font-weight: bold;
}

.form-complete p {
    margin: 0 0 12px 0;
}

.form-complete p:last-child {
    margin-bottom: 0;
}
