/* 相続手続きページ */
:root{
    --inheritance-green:#73945f;
    --inheritance-green-dark:#4f6d42;
    --inheritance-green-soft:#edf3e8;
    --inheritance-cream:#f8f3e9;
    --inheritance-white:#fff;
    --inheritance-title:#3d332a;
    --inheritance-text:#5d5146;
    --inheritance-line:#ddd4c6;
}

.inheritance-page{color:var(--inheritance-text);background:var(--inheritance-white)}
.inheritance-page .service-container{width:min(1120px,calc(100% - 48px));margin:0 auto}
.inheritance-narrow{max-width:880px}

.service-hero-inheritance{min-height:560px;background:linear-gradient(rgba(31,39,26,.35),rgba(31,39,26,.35)),url("../images/inheritance-hero.jpg") center/cover no-repeat;display:flex;align-items:stretch}
.inheritance-page .service-hero-overlay{width:100%;display:flex;align-items:center;background:linear-gradient(90deg,rgba(32,31,25,.62),rgba(32,31,25,.16))}
.inheritance-page .service-hero-inner{width:min(1120px,calc(100% - 48px));margin:0 auto;color:#fff}
.inheritance-page .service-hero-label,.inheritance-section-label,.inheritance-page .service-heading>p{margin:0 0 15px;color:var(--inheritance-green);font:500 15px/1.4 Georgia,serif;letter-spacing:.25em}
.inheritance-page .service-hero-label{color:#dce8d4}
.inheritance-page .service-hero-inner h2{margin:0;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(42px,6vw,70px);font-weight:400;line-height:1.4;letter-spacing:.08em}
.inheritance-page .service-hero-copy{margin:22px 0 30px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(20px,2.6vw,28px);line-height:1.8;letter-spacing:.06em}
.inheritance-page .service-main-button,.inheritance-page .service-outline-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:12px 28px;border-radius:999px;text-decoration:none;transition:.2s ease}
.inheritance-page .service-main-button{background:var(--inheritance-green);color:#fff}
.inheritance-page .service-main-button:hover{background:var(--inheritance-green-dark);transform:translateY(-1px)}
.inheritance-page .service-outline-button{border:1px solid var(--inheritance-green);background:#fff;color:var(--inheritance-green-dark)}
.inheritance-page .service-outline-button:hover{background:var(--inheritance-green-soft)}

.inheritance-intro-section,.inheritance-point-section,.inheritance-support-section,.inheritance-recommend-section,.inheritance-page .flow-section,.inheritance-page .service-price-section,.inheritance-page .service-faq-section,.inheritance-cta-section{padding:88px 0}
.inheritance-intro-section,.inheritance-page .service-faq-section{background:#fff}
.inheritance-point-section,.inheritance-recommend-section,.inheritance-page .service-price-section{background:var(--inheritance-cream)}
.inheritance-support-section,.inheritance-page .flow-section{background:#fbfaf7}
.inheritance-lead-title,.inheritance-page .service-heading h2,.inheritance-cta-inner h2{margin:0;color:var(--inheritance-title);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(32px,4vw,46px);font-weight:400;line-height:1.55;letter-spacing:.06em}
.inheritance-intro-section{text-align:center}
.inheritance-prose{margin:36px auto 0;text-align:left;font-size:18px;line-height:2.05}
.inheritance-prose p{margin:0 0 20px}
.inheritance-page .service-heading{text-align:center;margin-bottom:48px}
.inheritance-page .service-heading-icon{display:block;margin-bottom:8px;font-size:24px}
.inheritance-page .service-heading>p{margin-bottom:10px}

.inheritance-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.inheritance-card{position:relative;padding:38px;border:1px solid var(--inheritance-line);border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(64,52,42,.05)}
.inheritance-card-featured{border-top:4px solid var(--inheritance-green)}
.inheritance-card-number{margin-bottom:12px;color:var(--inheritance-green);font:400 22px Georgia,serif;letter-spacing:.08em}
.inheritance-card h3,.inheritance-page .support-item h3,.inheritance-page .flow-content h3,.inheritance-page .service-price-box h3{margin:0 0 16px;color:var(--inheritance-title);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:25px;font-weight:600;line-height:1.6}
.inheritance-card p,.inheritance-page .support-item p,.inheritance-page .flow-content p{margin:0 0 12px;font-size:17px;line-height:1.9}

.inheritance-page .support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.inheritance-page .support-item{display:grid;grid-template-columns:58px 1fr;gap:20px;padding:30px;border:1px solid var(--inheritance-line);border-radius:16px;background:#fff}
.inheritance-page .support-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:var(--inheritance-green-soft);color:var(--inheritance-green-dark);font:600 18px Georgia,serif}

.inheritance-page .recommend-grid{display:grid;gap:28px;max-width:950px;margin:0 auto}
.inheritance-page .recommend-card{background:#fff;border:1px solid var(--inheritance-line);border-radius:18px;padding:34px 38px;box-shadow:0 10px 26px rgba(64,52,42,.05)}
.inheritance-page .recommend-card h3{margin:0 0 18px;color:var(--inheritance-title);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:25px;font-weight:600;line-height:1.6}
.inheritance-page .recommend-card p{margin:0 0 16px;font-size:17px;line-height:2}
.inheritance-page .recommend-card p:last-child{margin-bottom:0}

.inheritance-page .flow-list{list-style:none;margin:0;padding:0;display:grid;gap:20px}
.inheritance-page .flow-item{display:grid;grid-template-columns:86px 1fr;gap:28px;align-items:start;padding:30px 34px;border:1px solid var(--inheritance-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(64,52,42,.035)}
.inheritance-page .flow-number{color:var(--inheritance-green);font:400 26px Georgia,serif;letter-spacing:.08em;padding-top:4px}
.inheritance-page .flow-content h3{margin-bottom:8px}
.inheritance-page .flow-content p{margin:0}

.inheritance-page .service-price-box{display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;align-items:stretch}
.inheritance-page .service-price-main,.inheritance-page .service-price-note{padding:36px;border:1px solid var(--inheritance-line);border-radius:18px;background:#fff}
.inheritance-page .service-price-main p{margin:0 0 25px;font-size:17px;line-height:1.9}
.inheritance-page .service-price-note ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.inheritance-page .service-price-note li{display:grid;grid-template-columns:180px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid var(--inheritance-line);line-height:1.75}
.inheritance-page .service-price-note li:first-child{padding-top:0}
.inheritance-page .service-price-note li:last-child{border-bottom:0}
.inheritance-page .service-price-note strong{color:var(--inheritance-title)}

.inheritance-page .service-faq-list{max-width:920px;margin:0 auto;display:grid;gap:14px}
.inheritance-page .service-faq-item{border:1px solid var(--inheritance-line);border-radius:14px;background:#fff;overflow:hidden}
.inheritance-page .service-faq-item summary{position:relative;cursor:pointer;list-style:none;padding:23px 64px 23px 28px;color:var(--inheritance-title);font-size:18px;font-weight:600;line-height:1.65}
.inheritance-page .service-faq-item summary::-webkit-details-marker{display:none}
.inheritance-page .service-faq-item summary::after{content:"＋";position:absolute;right:27px;top:22px;color:var(--inheritance-green);font-size:24px;font-weight:400}
.inheritance-page .service-faq-item[open] summary::after{content:"−"}
.inheritance-page .service-faq-answer{padding:0 28px 26px;border-top:1px solid var(--inheritance-line)}
.inheritance-page .service-faq-answer p{margin:20px 0 0;font-size:17px;line-height:1.9}

.inheritance-cta-section{padding:56px 0;background:var(--inheritance-green-soft);text-align:center}
.inheritance-cta-inner p:not(.inheritance-section-label){margin:14px 0 22px;font-size:18px;line-height:1.9}

@media (max-width:900px){
    .inheritance-card-grid,.inheritance-page .support-grid,.inheritance-page .service-price-box{grid-template-columns:1fr}
    .inheritance-page .service-price-note li{grid-template-columns:1fr;gap:5px}
    .service-hero-inheritance{min-height:500px}
}

@media (max-width:640px){
    .inheritance-page .service-container,.inheritance-page .service-hero-inner{width:min(100% - 32px,1120px)}
    .inheritance-intro-section,.inheritance-point-section,.inheritance-support-section,.inheritance-recommend-section,.inheritance-page .flow-section,.inheritance-page .service-price-section,.inheritance-page .service-faq-section,.inheritance-cta-section{padding:62px 0}
    .inheritance-cta-section{padding:46px 0}
    .service-hero-inheritance{min-height:460px}
    .inheritance-page .service-hero-inner h2{font-size:40px}
    .inheritance-page .service-hero-copy{font-size:20px}
    .inheritance-prose{font-size:16px}
    .inheritance-card,.inheritance-page .service-price-main,.inheritance-page .service-price-note{padding:26px 22px}
    .inheritance-page .support-item{grid-template-columns:1fr;padding:25px 22px}
    .inheritance-page .recommend-card{padding:24px 22px}
    .inheritance-page .recommend-card h3{font-size:21px}
    .inheritance-page .recommend-card p{font-size:16px}
    .inheritance-page .flow-item{grid-template-columns:1fr;gap:8px;padding:25px 22px}
    .inheritance-page .flow-number{font-size:21px}
    .inheritance-page .service-faq-item summary{padding:20px 52px 20px 20px;font-size:16px}
    .inheritance-page .service-faq-item summary::after{right:20px;top:18px}
    .inheritance-page .service-faq-answer{padding:0 20px 22px}
    .inheritance-page .service-faq-answer p{font-size:16px}
}