/* 離婚慰謝料計算機 - シンプル版スタイル */

.rikon-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;
}

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

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

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

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

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

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

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

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

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

/* スライダー（離婚はピンク系） */
.rikon-calc-range {
    width: 100%;
    height: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

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

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

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

.rikon-calc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c44a7a;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    cursor: pointer;
}

/* 離婚原因ボタン（5つ・グリッド） */
.rikon-calc-cause-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rikon-calc-cause-btn {
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    color: #555;
    border: 1px solid #d8d8d4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    line-height: 1.4;
    text-align: center;
}

.rikon-calc-cause-btn:hover {
    border-color: #c44a7a;
    color: #c44a7a;
}

.rikon-calc-cause-btn.is-active {
    background: #fbeaf0;
    color: #c44a7a;
    border-color: #c44a7a;
}

/* 5番目（性格不一致）を全幅で表示 */
.rikon-calc-cause-btn:nth-child(5) {
    grid-column: 1 / -1;
}

/* 状況ボタン（3つ横並び） */
.rikon-calc-status-group {
    display: flex;
    gap: 8px;
}

.rikon-calc-status-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    color: #555;
    border: 1px solid #d8d8d4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    line-height: 1.4;
}

.rikon-calc-status-btn:hover {
    border-color: #c44a7a;
    color: #c44a7a;
}

.rikon-calc-status-btn.is-active {
    background: #fbeaf0;
    color: #c44a7a;
    border-color: #c44a7a;
}

/* 結果表示（レンジ型） */
.rikon-calc-results {
    background: linear-gradient(135deg, #fbeaf0 0%, #f7e0e8 100%);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #f0c8d6;
}

.rikon-calc-results-label {
    margin: 0 0 10px;
    font-size: 13px;
    color: #8a3a5a;
    font-weight: 500;
}

.rikon-calc-results-range {
    margin: 0 0 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #c44a7a;
    line-height: 1.2;
    font-family: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

.rikon-calc-range-min,
.rikon-calc-range-max {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rikon-calc-range-sep {
    font-size: 18px;
    font-weight: 500;
    color: #b07590;
}

.rikon-calc-results-typical {
    margin: 0;
    font-size: 12px;
    color: #8a3a5a;
}

.rikon-calc-results-typical span {
    font-weight: 700;
    color: #c44a7a;
    margin-left: 4px;
}

/* CTAボタン */
.rikon-calc-cta {
    margin-top: 16px;
    text-align: center;
}

.rikon-calc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(180deg, #c44a7a 0%, #a13b65 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(196, 74, 122, 0.2);
}

.rikon-calc-cta-btn:hover {
    background: linear-gradient(180deg, #a13b65 0%, #872f53 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(196, 74, 122, 0.3);
}

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

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

/* スマホ対応 */
@media screen and (max-width: 480px) {
    .rikon-calc-inputs {
        padding: 16px;
    }
    .rikon-calc-cause-grid {
        grid-template-columns: 1fr;
    }
    .rikon-calc-cause-btn:nth-child(5) {
        grid-column: auto;
    }
    .rikon-calc-status-btn {
        font-size: 11px;
        padding: 9px 4px;
    }
    .rikon-calc-range-min,
    .rikon-calc-range-max {
        font-size: 22px;
    }
    .rikon-calc-cta-btn {
        width: 100%;
        font-size: 13px;
        padding: 12px 16px;
    }
}
