@charset "utf-8";
/**
 * 離婚慰謝料診断 詳細版 スタイル
 * /rikon-isharyo-shindan ページ用
 *
 * プレフィックス：rikonIsharyoDetail__ / rikonIsharyoFull__
 * テーマカラー：ピンク系 (#c44a7a)
 */

/* ==========================================================
   ページ全体レイアウト
   ========================================================== */
.rikonIsharyoDetail__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

.rikonIsharyoDetail__intro {
    margin: 0 0 24px;
    text-align: center;
}

.rikonIsharyoDetail__sectionTitle {
    margin: 32px 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-align: center;
    letter-spacing: 0.02em;
}

.rikonIsharyoDetail__sectionDesc {
    margin: 0 0 24px;
    font-size: 14px;
    color: #555;
    text-align: center;
    line-height: 1.8;
}

.rikonIsharyoDetail__sectionDesc strong {
    color: #c44a7a;
    font-weight: 700;
}

/* ==========================================================
   離婚原因別の解説カード
   ========================================================== */
.rikonIsharyoDetail__explainGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0 32px;
}

.rikonIsharyoDetail__explainCard {
    padding: 18px 16px;
    background: #fbeaf0;
    border-radius: 10px;
    border: 1px solid #f0c8d6;
}

.rikonIsharyoDetail__explainCard--note {
    background: #f5f5f3;
    border-color: #e0e0dc;
    grid-column: 1 / -1;
}

.rikonIsharyoDetail__explainTitle {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #c44a7a;
}

.rikonIsharyoDetail__explainCard--note .rikonIsharyoDetail__explainTitle {
    color: #555;
}

.rikonIsharyoDetail__explainAmount {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #c44a7a;
    font-family: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

.rikonIsharyoDetail__explainCard--note .rikonIsharyoDetail__explainAmount {
    color: #888;
    font-size: 14px;
}

.rikonIsharyoDetail__explainDesc {
    margin: 0;
    font-size: 12px;
    color: #555;
    line-height: 1.7;
}

@media screen and (max-width: 600px) {
    .rikonIsharyoDetail__explainGrid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   FAQセクション
   ========================================================== */
.rikonIsharyoDetail__faq {
    margin: 32px 0 0;
}

.rikonIsharyoDetail__faqList {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.rikonIsharyoDetail__faqDetails {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.rikonIsharyoDetail__faqDetails[open] {
    border-color: #c44a7a;
}

.rikonIsharyoDetail__faqQ {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
}

.rikonIsharyoDetail__faqQ::-webkit-details-marker { display: none; }
.rikonIsharyoDetail__faqQ::marker { content: ''; }

.rikonIsharyoDetail__faqMark {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #c44a7a;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    font-family: "Roboto Condensed", Arial, sans-serif;
}

.rikonIsharyoDetail__faqMark--a {
    background: #1d6e3d;
}

.rikonIsharyoDetail__faqA {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px;
    background: #fdf6f8;
    padding-top: 14px;
    font-size: 13px;
    color: #444;
    line-height: 1.75;
}

.rikonIsharyoDetail__faqA > div {
    flex: 1;
    padding-top: 2px;
}

/* ==========================================================
   詳細版計算機本体
   ========================================================== */
.rikonIsharyoFull {
    background: #fff;
    border: 1px solid #f0c8d6;
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0 32px;
    box-shadow: 0 2px 8px rgba(196, 74, 122, 0.06);
}

.rikonIsharyoFull__inputs {
    background: #fdf6f8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.rikonIsharyoFull__inputsTitle,
.rikonIsharyoFull__resultsTitle {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.rikonIsharyoFull__row {
    margin-bottom: 18px;
}

.rikonIsharyoFull__row:last-child {
    margin-bottom: 0;
}

.rikonIsharyoFull__labelRow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.rikonIsharyoFull__labelRow label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

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

.rikonIsharyoFull__valueOut {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

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

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

.rikonIsharyoFull__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);
}

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

.rikonIsharyoFull__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つ・グリッド） */
.rikonIsharyoFull__causeGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rikonIsharyoFull__causeBtn {
    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;
}

.rikonIsharyoFull__causeBtn:hover {
    border-color: #c44a7a;
    color: #c44a7a;
}

.rikonIsharyoFull__causeBtn.is-active {
    background: #fbeaf0;
    color: #c44a7a;
    border-color: #c44a7a;
}

.rikonIsharyoFull__causeBtn:nth-child(5) {
    grid-column: 1 / -1;
}

/* 状況・子供・通院などの横並びボタン */
.rikonIsharyoFull__statusGroup {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rikonIsharyoFull__btn {
    flex: 1;
    min-width: 80px;
    padding: 11px 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;
}

.rikonIsharyoFull__btn:hover {
    border-color: #c44a7a;
    color: #c44a7a;
}

.rikonIsharyoFull__btn.is-active {
    background: #fbeaf0;
    color: #c44a7a;
    border-color: #c44a7a;
}

.rikonIsharyoFull__select {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    background: #fff;
    color: #222;
    border: 1px solid #d8d8d4;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 36px;
}

.rikonIsharyoFull__select:focus {
    outline: none;
    border-color: #c44a7a;
    box-shadow: 0 0 0 2px rgba(196, 74, 122, 0.2);
}

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

.rikonIsharyoFull__resultsLabel {
    margin: 0 0 12px;
    font-size: 13px;
    color: #8a3a5a;
    font-weight: 500;
}

.rikonIsharyoFull__resultsRange {
    margin: 0 0 14px;
    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;
}

.rikonIsharyoFull__rangeMin,
.rikonIsharyoFull__rangeMax {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rikonIsharyoFull__rangeSep {
    font-size: 22px;
    font-weight: 500;
    color: #b07590;
}

.rikonIsharyoFull__resultsTypical {
    margin: 0;
    font-size: 13px;
    color: #8a3a5a;
}

.rikonIsharyoFull__resultsTypical span {
    font-weight: 700;
    color: #c44a7a;
    margin-left: 4px;
}

/* 考慮された要因 */
.rikonIsharyoFull__factors {
    background: #f9f5f7;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 16px;
}

.rikonIsharyoFull__factorsTitle {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #8a3a5a;
}

.rikonIsharyoFull__factorsList {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.rikonIsharyoFull__factorsList li {
    margin-bottom: 2px;
}

.rikonIsharyoFull__note {
    margin: 0;
    font-size: 11px;
    color: #888;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================
   弁護士事務所カードリスト
   ========================================================== */
.rikonIsharyoFull__lawyers {
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 2px solid #fbeaf0;
}

.rikonIsharyoFull__lawyersTitle {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

.rikonIsharyoFull__lawyersDesc {
    margin: 0 0 20px;
    font-size: 13px;
    color: #555;
    text-align: center;
    line-height: 1.7;
}

.rikonIsharyoFull__lawyersList {
    display: grid;
    gap: 12px;
}

.rikonIsharyoFull__lawyersLoading {
    text-align: center;
    color: #888;
    font-size: 13px;
    padding: 24px 0;
}

.rikonIsharyoFull__lawyerCard {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e0e0dc;
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rikonIsharyoFull__lawyerCard:hover {
    border-color: #c44a7a;
    box-shadow: 0 2px 6px rgba(196, 74, 122, 0.1);
}

.rikonIsharyoFull__lawyerCard__photo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0ec;
}

.rikonIsharyoFull__lawyerCard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rikonIsharyoFull__lawyerCard__body {
    flex: 1;
    min-width: 0;
}

.rikonIsharyoFull__lawyerCard__name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

.rikonIsharyoFull__lawyerCard__name a {
    color: #222;
    text-decoration: none;
}

.rikonIsharyoFull__lawyerCard__name a:hover {
    color: #c44a7a;
    text-decoration: underline;
}

.rikonIsharyoFull__lawyerCard__address {
    margin: 0 0 8px;
    font-size: 11px;
    color: #777;
}

.rikonIsharyoFull__lawyerCard__catch {
    margin: 0 0 8px;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rikonIsharyoFull__lawyerCard__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.rikonIsharyoFull__lawyerCard__tag {
    font-size: 10px;
    padding: 2px 8px;
    background: #fbeaf0;
    color: #c44a7a;
    border-radius: 4px;
    font-weight: 500;
}

.rikonIsharyoFull__lawyersMore {
    margin: 16px 0 0;
    text-align: center;
}

.rikonIsharyoFull__lawyersMoreBtn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #c44a7a;
    text-decoration: none;
    border: 1px solid #c44a7a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.rikonIsharyoFull__lawyersMoreBtn:hover {
    background: #fbeaf0;
    color: #c44a7a;
    text-decoration: none;
}

/* ==========================================================
   スマホ対応
   ========================================================== */
@media screen and (max-width: 600px) {
    .rikonIsharyoFull {
        padding: 16px;
    }
    .rikonIsharyoFull__inputs {
        padding: 16px;
    }
    .rikonIsharyoFull__causeGrid {
        grid-template-columns: 1fr;
    }
    .rikonIsharyoFull__causeBtn:nth-child(5) {
        grid-column: auto;
    }
    .rikonIsharyoFull__btn {
        font-size: 12px;
        min-width: 60px;
    }
    .rikonIsharyoFull__rangeMin,
    .rikonIsharyoFull__rangeMax {
        font-size: 26px;
    }
    .rikonIsharyoFull__lawyerCard {
        flex-direction: column;
        gap: 10px;
    }
    .rikonIsharyoFull__lawyerCard__photo {
        width: 100%;
        height: 160px;
    }
    .rikonIsharyoDetail__sectionTitle {
        font-size: 18px;
    }
}
