@charset "utf-8";
/**
 * 慰謝料診断 詳細版 スタイル
 * /isharyo-shindan ページ用
 *
 * 既存テーマと競合しないよう全クラスに isharyoDetail__ または isharyoFull__ プレフィックス使用
 */

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

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

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

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

.isharyoDetail__sectionDesc strong {
    color: #c8451f;
    font-weight: 700;
}

/* ==========================================================
   3基準の解説カード
   ========================================================== */
.isharyoDetail__compareGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 32px;
}

.isharyoDetail__compareCard {
    padding: 18px 16px;
    background: #f7f7f5;
    border-radius: 10px;
    border: 1px solid transparent;
}

.isharyoDetail__compareCard--middle {
    background: #fff8e6;
    border-color: #f5e3a8;
}

.isharyoDetail__compareCard--highlight {
    background: #fef0eb;
    border-color: #f5c4b3;
}

.isharyoDetail__compareTitle {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.isharyoDetail__compareCard--middle .isharyoDetail__compareTitle {
    color: #8a6d1a;
}

.isharyoDetail__compareCard--highlight .isharyoDetail__compareTitle {
    color: #c8451f;
}

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

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

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

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

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

.isharyoDetail__faqDetails[open] {
    border-color: #1a5fa8;
}

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

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

.isharyoDetail__faqMark {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #1a5fa8;
    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;
}

.isharyoDetail__faqMark--a {
    background: #c8451f;
}

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

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

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

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

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

.isharyoFull__row {
    margin-bottom: 18px;
}

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

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

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

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

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

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

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

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

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

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

.isharyoFull__btnGroup {
    display: flex;
    gap: 8px;
}

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

.isharyoFull__btn:hover {
    border-color: #c8451f;
    color: #c8451f;
}

.isharyoFull__btn.is-active {
    background: #fef0eb;
    color: #c8451f;
    border-color: #c8451f;
}

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

.isharyoFull__select:focus {
    outline: none;
    border-color: #c8451f;
    box-shadow: 0 0 0 2px rgba(200, 69, 31, 0.2);
}

/* ==========================================================
   結果テーブル
   ========================================================== */
.isharyoFull__breakdown {
    margin-bottom: 16px;
    overflow-x: auto;
}

.isharyoFull__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.isharyoFull__table thead th {
    padding: 10px 8px;
    background: #f7f7f5;
    font-weight: 600;
    font-size: 12px;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #e0e0dc;
}

.isharyoFull__th--middle {
    background: #fff8e6 !important;
    color: #8a6d1a !important;
}

.isharyoFull__th--highlight {
    background: #fef0eb !important;
    color: #c8451f !important;
}

.isharyoFull__thLeft {
    text-align: left !important;
    padding-left: 12px !important;
}

.isharyoFull__table tbody td {
    padding: 12px 8px;
    text-align: right;
    border-bottom: 1px solid #f0f0ec;
    font-weight: 600;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.isharyoFull__tdLeft {
    text-align: left !important;
    padding-left: 12px !important;
    font-weight: 500 !important;
    color: #555 !important;
    font-size: 13px !important;
}

.isharyoFull__td--middle {
    background: #fffdf6;
    color: #8a6d1a;
}

.isharyoFull__td--highlight {
    background: #fef9f7;
    color: #c8451f;
}

.isharyoFull__totalRow .isharyoFull__tdLeft {
    font-weight: 700 !important;
    color: #222 !important;
    font-size: 14px !important;
}

.isharyoFull__totalCell {
    padding: 14px 8px;
    text-align: right;
    font-weight: 700;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    color: #222;
    background: #f7f7f5;
}

.isharyoFull__totalCell--middle {
    background: #fff3d6;
    color: #8a6d1a;
}

.isharyoFull__totalCell--highlight {
    background: #ffe0d2;
    color: #c8451f;
    font-size: 18px;
}

/* 増額目安 */
.isharyoFull__diff {
    background: #e8f5ed;
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.isharyoFull__diffLabel {
    font-size: 13px;
    color: #1d6e3d;
    font-weight: 500;
}

.isharyoFull__diffValue {
    font-size: 20px;
    font-weight: 700;
    color: #1d6e3d;
}

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

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

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

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

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

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

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

.isharyoFull__lawyerCard:hover {
    border-color: #c8451f;
    box-shadow: 0 2px 6px rgba(200, 69, 31, 0.1);
}

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

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

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

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

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

.isharyoFull__lawyerCard__name a:hover {
    color: #c8451f;
    text-decoration: underline;
}

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

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

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

.isharyoFull__lawyerCard__tag {
    font-size: 10px;
    padding: 2px 8px;
    background: #fef0eb;
    color: #c8451f;
    border-radius: 4px;
    font-weight: 500;
}

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

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

.isharyoFull__lawyersMoreBtn:hover {
    background: #fef0eb;
    color: #c8451f;
    text-decoration: none;
}

/* ==========================================================
   スマホ対応
   ========================================================== */
@media screen and (max-width: 600px) {
    .isharyoFull {
        padding: 16px;
    }
    .isharyoFull__inputs {
        padding: 16px;
    }
    .isharyoFull__table thead th {
        font-size: 10px;
        padding: 8px 4px;
    }
    .isharyoFull__table tbody td {
        font-size: 12px;
        padding: 10px 4px;
    }
    .isharyoFull__totalCell {
        font-size: 13px;
        padding: 12px 4px;
    }
    .isharyoFull__totalCell--highlight {
        font-size: 14px;
    }
    .isharyoFull__tdLeft {
        font-size: 11px !important;
        padding-left: 8px !important;
    }
    .isharyoFull__diff {
        flex-direction: column;
        gap: 4px;
    }
    .isharyoFull__diffValue {
        font-size: 18px;
    }
    .isharyoFull__lawyerCard {
        flex-direction: column;
        gap: 10px;
    }
    .isharyoFull__lawyerCard__photo {
        width: 100%;
        height: 160px;
    }
    .isharyoDetail__sectionTitle {
        font-size: 18px;
    }
}
