@charset "utf-8";
/**
 * 相続診断 詳細版 スタイル
 * /souzoku-shindan ページ用（緑系）
 */

.souzokuDetail__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

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

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

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

.souzokuDetail__sectionDesc strong {
    color: #1d6e3d;
    font-weight: 700;
}

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

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

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

.souzokuDetail__faqDetails[open] {
    border-color: #1d6e3d;
}

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

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

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

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

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

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

/* ==========================================================
   4タブアコーディオン本体
   ========================================================== */
.souzokuFull {
    margin: 24px 0 32px;
}

.souzokuFull__accordionList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.souzokuFull__details {
    background: #fff;
    border: 1px solid #d8e0e8;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.souzokuFull__details[open] {
    border-color: #1d6e3d;
    box-shadow: 0 2px 8px rgba(29, 110, 61, 0.08);
}

.souzokuFull__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, #f4faf6 0%, #ebf5ee 100%);
    transition: background 0.15s ease;
}

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

.souzokuFull__summary:hover {
    background: linear-gradient(180deg, #ebf5ee 0%, #e2f0e7 100%);
}

.souzokuFull__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #1d6e3d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: "Roboto Condensed", Arial, sans-serif;
}

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

.souzokuFull__summaryTitle {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.souzokuFull__summaryDesc {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.souzokuFull__chevron {
    flex-shrink: 0;
    color: #888;
    transition: transform 0.2s ease;
    line-height: 0;
}

.souzokuFull__details[open] .souzokuFull__chevron {
    transform: rotate(180deg);
}

.souzokuFull__body {
    padding: 20px;
    border-top: 1px solid #e6efe8;
}

/* 入力フォーム */
.souzokuFull__inputs {
    background: #f4faf6;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}

.souzokuFull__row {
    margin-bottom: 16px;
}

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

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

.souzokuFull__labelRow label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

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

.souzokuFull__valueOut {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.souzokuFull__inputHint {
    margin: 6px 0 0;
    font-size: 11px;
    color: #888;
    font-style: italic;
}

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

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

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

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

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

.souzokuFull__btnGroup {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.souzokuFull__btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 10px;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    color: #555;
    border: 1px solid #cfe0d4;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    line-height: 1.3;
    text-align: center;
}

.souzokuFull__btn:hover {
    border-color: #1d6e3d;
    color: #1d6e3d;
}

.souzokuFull__btn.is-active {
    background: #e6f4ec;
    color: #1d6e3d;
    border-color: #1d6e3d;
}

.souzokuFull__select {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    background: #fff;
    color: #222;
    border: 1px solid #cfe0d4;
    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;
}

/* 結果表示 */
.souzokuFull__resultsTitle {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

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

.souzokuFull__resultItem {
    background: #fff;
    border: 1px solid #e6efe8;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.souzokuFull__resultLabel {
    margin: 0 0 4px;
    font-size: 11px;
    color: #777;
    font-weight: 500;
}

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

/* メイン結果ブロック */
.souzokuFull__highlightBlock {
    background: linear-gradient(135deg, #e6f4ec 0%, #d4ebde 100%);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    border: 2px solid #1d6e3d;
}

.souzokuFull__highlightLabel {
    margin: 0 0 4px;
    font-size: 12px;
    color: #155930;
    font-weight: 500;
}

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

.souzokuFull__highlightStatus {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #155930;
    line-height: 1.5;
}

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

.souzokuFull__resultWarning {
    margin: 12px 0 0;
    font-size: 12px;
    color: #c8451f;
    line-height: 1.6;
    background: #fef0eb;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #f5c4b3;
}

/* 法定相続分のリスト */
.souzokuFull__shareList {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 6px;
}

.souzokuFull__shareItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e6efe8;
    border-radius: 8px;
}

.souzokuFull__shareWho {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

.souzokuFull__shareRatio {
    font-size: 11px;
    color: #888;
    margin-left: 6px;
}

.souzokuFull__shareAmount {
    font-size: 16px;
    font-weight: 700;
    color: #1d6e3d;
    font-family: "Roboto Condensed", Arial, sans-serif;
}

/* 弁護士事務所セクション */
.souzokuFull__lawyersSection {
    margin: 32px 0 0;
    padding: 24px 0 0;
    border-top: 2px solid #f0f0ec;
}

.souzokuFull__sectionTitle {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

.souzokuFull__prefSelect {
    max-width: 400px;
    margin: 0 auto 24px;
}

.souzokuFull__lawyers {
    margin: 16px 0 0;
}

.souzokuFull__lawyersTitle {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

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

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

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

.souzokuFull__lawyerCard:hover {
    border-color: #1d6e3d;
}

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

.souzokuFull__lawyerCard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

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

.souzokuFull__lawyerCard__name a:hover {
    color: #1d6e3d;
    text-decoration: underline;
}

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

.souzokuFull__lawyerCard__catch {
    margin: 0 0 8px;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

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

.souzokuFull__lawyerCard__tag {
    font-size: 10px;
    padding: 2px 8px;
    background: #e6f4ec;
    color: #1d6e3d;
    border-radius: 4px;
    font-weight: 500;
}

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

.souzokuFull__lawyersMoreBtn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #1d6e3d;
    text-decoration: none;
    border: 1px solid #1d6e3d;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.souzokuFull__lawyersMoreBtn:hover {
    background: #e6f4ec;
    color: #1d6e3d;
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    .souzokuFull__summary { padding: 14px 16px; }
    .souzokuFull__num { width: 32px; height: 32px; font-size: 16px; }
    .souzokuFull__summaryTitle { font-size: 14px; }
    .souzokuFull__summaryDesc { font-size: 11px; }
    .souzokuFull__body { padding: 16px; }
    .souzokuFull__inputs { padding: 14px; }
    .souzokuFull__highlightValue { font-size: 22px; }
    .souzokuFull__lawyerCard {
        flex-direction: column;
        gap: 10px;
    }
    .souzokuFull__lawyerCard__photo {
        width: 100%;
        height: 160px;
    }
    .souzokuDetail__sectionTitle { font-size: 18px; }
}
