@charset "UTF-8";

#haisha-sim-root {
/*     font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
    max-width: 680px; */
    margin: 2rem auto;
    color: #1a1a1a;
    line-height: 1.6;
	padding:5% 5%;
    background:#e6edfb;
	border-radius:12px;
}

#haisha-sim-root * {
    box-sizing: border-box;
}
.index #haisha-sim-root h2{
	border-bottom:4px solid #fff;
}
.hs-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hs-badge {
    display: inline-block;
    background: #FFF3E0;
    color: #E65100;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 10px;
}

 .hs-header h2 {
/* 	 font-size: 22px;
	 font-weight: 700;
	 color: #111; */
	 margin: 0 0 6px;
}

.hs-header p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.hs-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.hs-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #E65100;
    margin: 0 0 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid #FBE9E7;
}

.hs-label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

.hs-label span {
    color: #D32F2F;
    margin-left: 3px;
}

.hs-field {
    margin-bottom: 1rem;
}

.hs-field:last-child {
    margin-bottom: 0;
}

.hs-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 480px) {
    .hs-grid2 {
        grid-template-columns: 1fr;
    }
}

.hs-select,
.hs-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font-size: 15px;
    border: 1px solid #CCC;
    border-radius: 8px;
    background: #FAFAFA;
    color: #1a1a1a;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s;
}

.hs-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M0 0l6 7 6-7z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.hs-select:focus,
.hs-input:focus {
    outline: none;
    border-color: #E65100;
    background: #fff;
}

.hs-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* 廃車理由の特殊ラジオ */
.hs-reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 480px) {
    .hs-reason-grid {
        grid-template-columns: 1fr;
    }
}

.hs-reason-item input[type=radio] {
    display: none;
}

.hs-reason-label {
    display: block;
    padding: 10px 12px;
    border: 1px solid #DDD;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    background: #FAFAFA;
}

.hs-reason-item input[type=radio]:checked+.hs-reason-label {
    border-color: #E65100;
    background: #FFF3E0;
    color: #BF360C;
    font-weight: 700;
}

.hs-reason-label .rl {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 2px;
}

.hs-reason-item input[type=radio]:checked+.hs-reason-label .rl {
    color: #E64A19;
}

.hs-btn {
    width: 100%;
    height: 50px;
    background: #E65100;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.04em;
}

.hs-btn:hover {
    background: #BF360C;
}

.hs-btn:active {
    transform: scale(0.98);
}

/* 結果 */
.hs-result {
    display: none;
}

.hs-result.visible {
    display: block;
}

/* 価格内訳 */
.hs-breakdown {
    background: #FFF8F5;
    border: 1px solid #FFCCBC;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.hs-breakdown-title {
    font-size: 13px;
    color: #BF360C;
    font-weight: 700;
    margin-bottom: 10px;
}

.hs-brow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px dashed #FFE0CC;
}

.hs-brow:last-child {
    border-bottom: none;
}

.hs-brow-label {
    color: #555;
}

.hs-brow-val {
    font-weight: 700;
    color: #222;
}

.hs-brow-val.plus {
    color: #2E7D32;
}

.hs-brow-val.minus {
    color: #C62828;
}

.hs-brow.total {
    margin-top: 4px;
    border-top: 2px solid #FFCCBC;
    border-bottom: none;
    padding-top: 8px;
}

.hs-brow.total .hs-brow-label {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.hs-brow.total .hs-brow-val {
    font-size: 20px;
    color: #E65100;
}

/* 相場レンジ */
.hs-range-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.hs-range-title {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 12px;
}

.hs-price-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.hs-price-box {
    background: #F5F7FA;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
}

.hs-price-box.main {
    background: #FFF3E0;
    border: 1.5px solid #E65100;
}

.hs-price-lbl {
    font-size: 11px;
    color: #777;
    margin-bottom: 4px;
    font-weight: 500;
}

.hs-price-val {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.hs-price-val.main {
    font-size: 26px;
    color: #E65100;
}

.hs-price-unit {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* 還付金 */
.hs-refund-row {
    background: #E8F5E9;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 8px;
}

.hs-refund-row .label {
    color: #2E7D32;
    font-weight: 700;
}

.hs-refund-row .val {
    font-size: 17px;
    font-weight: 700;
    color: #1B5E20;
}

/* 要因バー */
.hs-factors-title {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}

.hs-factor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hs-factor-name {
    font-size: 13px;
    color: #555;
    width: 130px;
    flex-shrink: 0;
}

.hs-bar-bg {
    flex: 1;
    height: 7px;
    background: #EBEBEB;
    border-radius: 99px;
    overflow: hidden;
}

.hs-bar-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-high {
    background: #2E7D32;
}

.bar-mid {
    background: #E65100;
}

.bar-low {
    background: #C62828;
}

.hs-fbadge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 99px;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.fb-high {
    background: #E8F5E9;
    color: #2E7D32;
}

.fb-mid {
    background: #FFF3E0;
    color: #E65100;
}

.fb-low {
    background: #FFEBEE;
    color: #C62828;
}

.hs-advice {
    background: #FFF8F5;
    border-left: 3px solid #E65100;
    border-radius: 0 6px 6px 0;
    padding: 10px 14px;
    font-size: 13px;
    color: #555;
    margin-top: 1rem;
    line-height: 1.7;
}

.hs-advice strong {
    color: #333;
}

.hs-note {
    font-size: 11px;
    color: #999;
    margin-top: 1rem;
    line-height: 1.7;
    text-align: center;
}

.hs-retry-btn {
    display: block;
    width: 100%;
    height: 40px;
    background: transparent;
    color: #E65100;
    border: 1px solid #E65100;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.15s;
}

.hs-retry-btn:hover {
    background: #FFF3E0;
}

.hs-divider {
    border: none;
    border-top: 1px solid #EBEBEB;
    margin: 1rem 0;
}