/* 相続税シミュレーター - シンプル版スタイル（緑系） */

.souzoku-calc-wrapper {
    max-width: 600px;
    margin: 32px auto;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    color: #222;
}

.souzoku-calc-wrapper *,
.souzoku-calc-wrapper *::before,
.souzoku-calc-wrapper *::after {
    box-sizing: border-box;
}

.souzoku-calc-inputs {
    background: #f4faf6;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.souzoku-calc-title {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.souzoku-calc-row {
    margin-bottom: 18px;
}

.souzoku-calc-row:last-child {
    margin-bottom: 0;
}

.souzoku-calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.souzoku-calc-label-row label {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.souzoku-calc-section-label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.souzoku-calc-value {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.souzoku-calc-range {
    width: 100%;
    height: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.souzoku-calc-range::-webkit-slider-runnable-track {
    height: 4px;
    background: #cfe0d4;
    border-radius: 2px;
}

.souzoku-calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1d6e3d;
    margin-top: -7px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.souzoku-calc-range::-moz-range-track {
    height: 4px;
    background: #cfe0d4;
    border-radius: 2px;
}

.souzoku-calc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1d6e3d;
    border: none;
    cursor: pointer;
}

.souzoku-calc-btn-group {
    display: flex;
    gap: 8px;
}

.souzoku-calc-btn {
    flex: 1;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #555;
    border: 1px solid #cfe0d4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.souzoku-calc-btn:hover {
    border-color: #1d6e3d;
    color: #1d6e3d;
}

.souzoku-calc-btn.is-active {
    background: #e6f4ec;
    color: #1d6e3d;
    border-color: #1d6e3d;
}

.souzoku-calc-results {
    background: linear-gradient(135deg, #e6f4ec 0%, #d4ebde 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #b8dbc6;
}

.souzoku-calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.souzoku-calc-result-item {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.souzoku-calc-result-label {
    margin: 0 0 4px;
    font-size: 11px;
    color: #777;
    font-weight: 500;
}

.souzoku-calc-result-value {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1d6e3d;
    font-family: "Roboto Condensed", Arial, sans-serif;
}

.souzoku-calc-tax-block {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
    border: 2px solid #1d6e3d;
}

.souzoku-calc-tax-label {
    margin: 0 0 4px;
    font-size: 12px;
    color: #1d6e3d;
    font-weight: 500;
}

.souzoku-calc-tax-value {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1d6e3d;
    font-family: "Roboto Condensed", Arial, sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.souzoku-calc-status {
    margin: 12px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #c8451f;
    padding: 8px;
    background: #fef0eb;
    border-radius: 6px;
}

.souzoku-calc-status.is-no-tax {
    color: #1d6e3d;
    background: #e6f4ec;
}

.souzoku-calc-cta {
    margin-top: 16px;
    text-align: center;
}

.souzoku-calc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(180deg, #1d6e3d 0%, #155930 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(29, 110, 61, 0.2);
}

.souzoku-calc-cta-btn:hover {
    background: linear-gradient(180deg, #155930 0%, #0f4625 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(29, 110, 61, 0.3);
}

.souzoku-calc-cta-btn strong {
    font-weight: 700;
}

.souzoku-calc-note {
    margin: 14px 0 0;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    text-align: center;
}

@media screen and (max-width: 480px) {
    .souzoku-calc-inputs {
        padding: 16px;
    }
    .souzoku-calc-tax-value {
        font-size: 22px;
    }
    .souzoku-calc-cta-btn {
        width: 100%;
        font-size: 13px;
        padding: 12px 16px;
    }
}
