@charset "UTF-8";
/* トップページ用「相続・離婚 相談窓口」バナー。souzoku-sodan.html / rikon-sodan.html のファーストビュー(consult.css 332-431行目)を流用。
   元CSSの .consult-page → .fv-banners、h1 → .fv-ttl に置換(トップに h1 が重複しないため)。FVを直す場合はこのファイルも同期すること。 */
.fv-banners{--serif:YuMincho,'Yu Mincho','Hiragino Mincho ProN',serif;font-family:'Noto Sans JP',YuGothic,'Hiragino Kaku Gothic ProN',sans-serif;overflow-wrap:anywhere;margin:0;padding:0}
.fv-banners *{box-sizing:border-box}
.fv-banners img{max-width:100%;height:auto;vertical-align:middle}
.fv-banners a.fv-banner-link{display:block;color:inherit;text-decoration:none}
.fv-banners .consult-hero{position:relative;background-size:cover;background-position:center}
.fv-banners .consult-hero-shade{position:absolute;inset:0}
.fv-banners .consult-hero-content{position:relative;z-index:1}
.fv-banners .fv-ttl{border:0;padding:0;background:none}

/* ===== ファーストビュー（相続・離婚 相談窓口） ===== */
.fv-banners .consult-hero.fv-hero{container-type:inline-size;height:auto;min-height:0;display:block;overflow:hidden;color:#fff}
.fv-banners .consult-hero.fv-hero .fv-content{position:absolute;inset:0;width:auto;margin:0;padding:0;text-align:left}
.fv-banners .consult-hero.fv-hero .fv-ttl{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;letter-spacing:0;line-height:1.2;margin:0;font-weight:900}
.fv-banners .consult-hero.fv-hero .fv-ttl b,.fv-banners .consult-hero.fv-hero .fv-ttl strong{font-weight:900}
.fv-banners .consult-hero.fv-hero .fv-sub{font-family:var(--serif);font-weight:700;margin:0;line-height:1.55;letter-spacing:.04em}
.fv-banners .consult-hero.fv-hero .fv-sub em{font-style:normal;position:relative;display:inline-block;background:linear-gradient(transparent 70%,rgba(255,206,31,.95) 70% 92%,transparent 92%)}
.fv-banners .consult-hero.fv-hero .fv-points{list-style:none;margin:0;padding:0;display:flex;position:absolute}
.fv-banners .consult-hero.fv-hero .fv-points li{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:50%;background:radial-gradient(circle at 50% 35%,#fffdf6,#fbeccc);box-shadow:0 0 0 .22cqw #e6b84c,0 0 0 .5cqw rgba(255,255,255,.55),0 .5cqw 1.4cqw rgba(0,0,0,.25);font-weight:900;line-height:1.25}
.fv-banners .consult-hero.fv-hero .fv-points svg{display:block}

/* 相続 */
.fv-banners.souzoku-sodan .consult-hero.fv-hero{aspect-ratio:1691/930;background-position:center 40%;background-size:cover;background-color:#dfe3e0}
.souzoku-sodan .fv-hero .consult-hero-shade{background:linear-gradient(90deg,rgba(18,62,34,.62),rgba(18,62,34,.28) 40%,rgba(18,62,34,0) 62%)}
.souzoku-sodan .fv-hero .fv-ttl{position:absolute;left:4.4cqw;top:0;width:41.7cqw}
.souzoku-sodan .fv-hero .fv-area{display:block;position:relative;width:max-content;margin:2.2cqw auto 0;font-size:4.7cqw;line-height:1.1;color:#ffd21f;letter-spacing:.04em;text-shadow:0 .2cqw .8cqw rgba(0,0,0,.35),.12cqw .12cqw 0 #6b4e00}
.souzoku-sodan .fv-hero .fv-area:before,.souzoku-sodan .fv-hero .fv-area:after{content:"";position:absolute;top:.3cqw;width:.35cqw;height:2.8cqw;background:#ffd21f;border-radius:.3cqw}
.souzoku-sodan .fv-hero .fv-area:before{left:-2.6cqw;transform:rotate(-38deg)}
.souzoku-sodan .fv-hero .fv-area:after{right:-2.6cqw;transform:rotate(38deg)}
.souzoku-sodan .fv-hero .fv-house{display:block;position:relative;margin-top:.6cqw;padding:5.6cqw 0 1.4cqw;text-align:center;filter:drop-shadow(0 .4cqw 1cqw rgba(0,0,0,.3))}
.souzoku-sodan .fv-hero .fv-house:before{content:"";position:absolute;inset:0;background:#1f5a2b;clip-path:polygon(50% 0,99.5% 25%,99.5% 100%,.5% 100%,.5% 25%);z-index:0}
.souzoku-sodan .fv-hero .fv-house:after{content:"";position:absolute;inset:.55cqw;background:linear-gradient(#fffdf4,#fbf0d4);clip-path:polygon(50% .6cqw,98.4% 24.5%,98.4% 100%,1.6% 100%,1.6% 24.5%);z-index:0}
.souzoku-sodan .fv-hero .hero-ttl-main,.souzoku-sodan .fv-hero .hero-ttl-badge{position:relative;z-index:1}
.souzoku-sodan .fv-hero .hero-ttl-main{display:block;font-size:5.9cqw;line-height:1.2;color:#1f5a2b;letter-spacing:.01em;text-shadow:none}
.souzoku-sodan .fv-hero .hero-ttl-badge{display:flex;justify-content:center;gap:.5cqw;margin:.8cqw 0 0;padding:0;background:none;box-shadow:none}
.souzoku-sodan .fv-hero .hero-ttl-badge i{display:block;font-style:normal;width:7.1cqw;height:6.8cqw;line-height:6.7cqw;font-size:5.2cqw;color:#fff;background:linear-gradient(#f2822a,#e0600f);border-radius:.8cqw;box-shadow:0 .35cqw 0 #b94a08}
.souzoku-sodan .fv-hero .fv-sub{position:absolute;left:6.8cqw;top:31.4cqw;font-size:2.35cqw;line-height:1.45;color:#fff;text-shadow:0 .1cqw .6cqw rgba(0,0,0,.55)}
.souzoku-sodan .fv-hero .fv-sub em{margin-left:2.4cqw}
.souzoku-sodan .fv-hero .fv-points{left:5.6cqw;top:39.4cqw;gap:.9cqw}
.souzoku-sodan .fv-hero .fv-points li{width:8.8cqw;height:8.8cqw;font-size:1.45cqw;color:#2b5e2e}
.souzoku-sodan .fv-hero .fv-points svg{width:3.4cqw;height:3.4cqw;margin-bottom:.3cqw}
.souzoku-sodan .fv-hero .fv-ribbon{position:absolute;right:6.4cqw;top:0;width:11cqw;height:30cqw;margin:0;box-sizing:border-box;padding:2.6cqw 0 4cqw;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1.1cqw;writing-mode:vertical-rl;background:linear-gradient(#245f31,#174524);border:.22cqw solid #d9b24a;border-top:0;clip-path:polygon(0 0,100% 0,100% 100%,50% 94%,0 100%);font-family:var(--serif);font-size:2.5cqw;font-weight:900;line-height:1.1;letter-spacing:.08em;color:#fff;text-shadow:0 .1cqw .3cqw rgba(0,0,0,.4)}
.souzoku-sodan .fv-hero .fv-ribbon b{color:#ffd21f;font-weight:900}

/* 離婚 */
.fv-banners.rikon-sodan .consult-hero.fv-hero{aspect-ratio:1695/928;background-size:cover;background-position:center bottom;background-color:#e6d6c6;text-align:center}
.rikon-sodan .fv-hero .consult-hero-shade{background:radial-gradient(ellipse 34% 36% at 50% 28%,rgba(255,255,255,.7),rgba(255,255,255,0) 100%)}
.rikon-sodan .fv-hero .fv-eyebrow{position:absolute;left:0;right:0;top:1.2cqw;margin:0;display:flex;justify-content:center;font-size:1.15cqw;letter-spacing:.32em;color:#4a4a55;line-height:1.5}
.rikon-sodan .fv-hero .fv-eyebrow span{display:flex;align-items:center;gap:1.6cqw}
.rikon-sodan .fv-hero .fv-eyebrow span:before,.rikon-sodan .fv-hero .fv-eyebrow span:after{content:"";width:4.4cqw;height:1px;background:#4a4a55}
.rikon-sodan .fv-hero .fv-bubble{position:absolute;margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;font-size:1.85cqw;font-weight:700;line-height:1.5;letter-spacing:.06em;color:#2a3558;border-radius:50% / 46%;transform:rotate(-3deg)}
.rikon-sodan .fv-hero .fv-bubble:before,.rikon-sodan .fv-hero .fv-bubble:after{content:"";position:absolute;border-radius:50%;background:inherit}
.rikon-sodan .fv-hero .fv-bubble-l{left:10.6cqw;top:1.8cqw;width:19cqw;height:12.4cqw;background:radial-gradient(#e3ecf4,#d3e0ec);box-shadow:0 0 1.6cqw rgba(255,255,255,.8)}
.rikon-sodan .fv-hero .fv-bubble-l:before{right:-2.2cqw;bottom:-1.8cqw;width:1.9cqw;height:1.5cqw}
.rikon-sodan .fv-hero .fv-bubble-l:after{right:-4cqw;bottom:-3.4cqw;width:1cqw;height:.8cqw}
.rikon-sodan .fv-hero .fv-bubble-r{right:5.4cqw;top:1.6cqw;width:22cqw;height:13.2cqw;background:radial-gradient(#fbe6ea,#f4d3da);box-shadow:0 0 1.6cqw rgba(255,255,255,.8);transform:rotate(2deg);color:#3a3550}
.rikon-sodan .fv-hero .fv-bubble-r:before{right:1.8cqw;bottom:-2cqw;width:1.9cqw;height:1.5cqw}
.rikon-sodan .fv-hero .fv-bubble-r:after{right:.6cqw;bottom:-3.6cqw;width:1cqw;height:.8cqw}
.rikon-sodan .fv-hero .fv-ttl{position:absolute;left:50%;top:3.6cqw;width:42cqw;transform:translateX(-50%);text-align:center}
.rikon-sodan .fv-hero .fv-roof{display:block;width:38.6cqw;height:auto;margin:0 auto -2.4cqw}
.rikon-sodan .fv-hero .hero-ttl-main{display:block;position:relative;font-size:6.9cqw;line-height:1.05;color:#1d2447;letter-spacing:.01em;text-shadow:0 0 .8cqw #fff,0 0 1.6cqw rgba(255,255,255,.9)}
.rikon-sodan .fv-hero .hero-ttl-badge{display:inline-block;margin:.6cqw 0 0;padding:.5cqw 2.2cqw .7cqw;font-size:6.2cqw;line-height:1.15;letter-spacing:.1em;color:#fff;background:linear-gradient(#ee6a14,#e0540b);border-radius:1cqw;box-shadow:0 .4cqw 0 #b94406,0 .8cqw 1.8cqw rgba(190,70,10,.28);text-shadow:none}
.rikon-sodan .fv-hero .fv-sub{position:absolute;left:0;right:0;top:25.4cqw;text-align:center;line-height:1.4;font-size:2.5cqw;color:#1d2447;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-weight:700;letter-spacing:.05em;text-shadow:0 0 .8cqw #fff,0 0 1.4cqw rgba(255,255,255,.9)}
.rikon-sodan .fv-hero .fv-sub em{font-size:2.8cqw;font-weight:900;background:linear-gradient(transparent 62%,#ffe11a 62% 90%,transparent 90%);padding:0 .6cqw}
.rikon-sodan .fv-hero .fv-points{left:50%;top:34cqw;transform:translateX(-50%);gap:1.1cqw}
.rikon-sodan .fv-hero .fv-points li{width:11.6cqw;height:11.6cqw;font-size:1.55cqw;color:#1d2447}
.rikon-sodan .fv-hero .fv-points svg{width:3.8cqw;height:3.8cqw;margin-bottom:.5cqw}
.rikon-sodan .fv-hero .fv-caption{position:absolute;text-align:center;left:50%;bottom:2.4cqw;transform:translateX(-50%);margin:0;width:44cqw;box-sizing:border-box;padding:.7cqw 1cqw;background:rgba(255,255,255,.72);font-size:1.65cqw;line-height:1.55;font-weight:700;letter-spacing:.06em;color:#2a2f4a;white-space:nowrap}
.rikon-sodan .fv-hero .consult-scroll{color:#fff}

/* スマホ */
@media(max-width:640px){
 .fv-banners.souzoku-sodan .consult-hero.fv-hero,.fv-banners.rikon-sodan .consult-hero.fv-hero{aspect-ratio:auto;height:auto;background-size:100% auto!important;background-position:center bottom!important;background-repeat:no-repeat}
 .fv-banners .consult-hero.fv-hero .fv-content{position:relative;inset:auto;padding:5cqw 0 0;width:100%}
 .fv-banners .consult-hero.fv-hero .fv-ttl,.fv-banners .consult-hero.fv-hero .fv-sub,.fv-banners .consult-hero.fv-hero .fv-points,.fv-banners .consult-hero.fv-hero .fv-ribbon,.fv-banners .consult-hero.fv-hero .fv-caption{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none}
 .fv-banners.souzoku-sodan .consult-hero.fv-hero{min-height:184vw;background-color:#d8d5d0}
 .souzoku-sodan .fv-hero .consult-hero-shade{background:linear-gradient(180deg,rgba(18,62,34,.5),rgba(18,62,34,.1) 60%,rgba(18,62,34,0)),linear-gradient(180deg,#d8d5d0 calc(100% - 133.3vw),rgba(216,213,208,0) calc(100% - 121vw))}
 .souzoku-sodan .fv-hero .fv-content{display:flex;flex-direction:column;align-items:center}
 .souzoku-sodan .fv-hero .fv-ribbon{order:-1;writing-mode:horizontal-tb;flex-direction:row;width:auto;height:auto;padding:2cqw 5cqw 3cqw;gap:2cqw;font-size:4cqw;clip-path:polygon(0 0,100% 0,100% 100%,50% 88%,0 100%);border-top:0;margin:0 0 3cqw}
 .souzoku-sodan .fv-hero .fv-ttl{width:86cqw}
 .souzoku-sodan .fv-hero .fv-area{margin:0 auto;font-size:9cqw}
 .souzoku-sodan .fv-hero .fv-area:before,.souzoku-sodan .fv-hero .fv-area:after{height:5.4cqw;width:.7cqw;top:.6cqw}
 .souzoku-sodan .fv-hero .fv-area:before{left:-5cqw}.souzoku-sodan .fv-hero .fv-area:after{right:-5cqw}
 .souzoku-sodan .fv-hero .fv-house{margin-top:1.5cqw;padding:12cqw 0 3cqw}
 .souzoku-sodan .fv-hero .fv-house:after{inset:1.1cqw;clip-path:polygon(50% 1.2cqw,98% 24.5%,98% 100%,2% 100%,2% 24.5%)}
 .souzoku-sodan .fv-hero .hero-ttl-main{font-size:11.5cqw}
 .souzoku-sodan .fv-hero .hero-ttl-badge{gap:1.2cqw;margin-top:2cqw}
 .souzoku-sodan .fv-hero .hero-ttl-badge i{width:15cqw;height:14.5cqw;line-height:14.3cqw;font-size:11cqw;border-radius:2cqw;box-shadow:0 .8cqw 0 #b94a08}
 .souzoku-sodan .fv-hero .fv-sub{margin-top:6cqw;font-size:5.2cqw;text-align:center}
 .souzoku-sodan .fv-hero .fv-sub em{margin-left:0}
 .souzoku-sodan .fv-hero .fv-points{margin-top:4.5cqw;gap:2cqw;justify-content:center}
 .souzoku-sodan .fv-hero .fv-points li{width:21cqw;height:21cqw;font-size:3.3cqw}
 .souzoku-sodan .fv-hero .fv-points svg{width:8cqw;height:8cqw}
 .fv-banners.rikon-sodan .consult-hero.fv-hero{min-height:178vw;background-color:#c4b1a2}
 .rikon-sodan .fv-hero .fv-eyebrow{position:relative;top:auto;font-size:2.9cqw;margin:0 0 3cqw}
 .rikon-sodan .fv-hero .fv-eyebrow span:before,.rikon-sodan .fv-hero .fv-eyebrow span:after{width:9cqw}
 .rikon-sodan .fv-hero .fv-bubble{display:none}
 .rikon-sodan .fv-hero .consult-hero-shade{background:linear-gradient(180deg,#c4b1a2 calc(100% - 133.3vw),rgba(196,177,162,0) calc(100% - 118vw))}
 .rikon-sodan .fv-hero .fv-ttl{width:90cqw;margin:0 auto}
 .rikon-sodan .fv-hero .fv-roof{width:80cqw;margin-bottom:-3cqw}
 .rikon-sodan .fv-hero .hero-ttl-main{font-size:13cqw}
 .rikon-sodan .fv-hero .hero-ttl-badge{font-size:13cqw;padding:1cqw 5cqw 1.4cqw;border-radius:2.4cqw;box-shadow:0 1cqw 0 #b94406,0 2cqw 4cqw rgba(190,70,10,.28);margin-top:1.5cqw}
 .rikon-sodan .fv-hero .fv-sub{margin-top:4.5cqw;font-size:5.4cqw}
 .rikon-sodan .fv-hero .fv-sub em{font-size:6cqw}
 .rikon-sodan .fv-hero .fv-points{margin-top:4.5cqw;gap:2.4cqw;justify-content:center}
 .rikon-sodan .fv-hero .fv-points li{width:29cqw;height:29cqw;font-size:3.6cqw}
 .rikon-sodan .fv-hero .fv-points svg{width:9.5cqw;height:9.5cqw}
 .rikon-sodan .fv-hero .fv-caption{display:none}
}

/* ===== トップ表示用のサイズ調整(下層ページのFVより小さく表示) ===== */
.fv-banners-row{display:flex;flex-direction:column;align-items:center;gap:20px;width:92%;max-width:1100px;margin:30px auto}
.fv-banners-row .fv-banners{width:100%;max-width:640px;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.15)}
@media(min-width:900px){
  .fv-banners-row{flex-direction:row;align-items:flex-start;gap:24px}
  .fv-banners-row .fv-banners{flex:1 1 0;max-width:none}
}
.fv-banners-row .fv-banners .consult-hero.fv-hero{padding:0;margin:0}
.fv-banners-row .fv-banners{line-height:0}
.fv-banners-row .fv-banners .fv-content{line-height:normal}
/* スマホ: 下層ページ用の縦長(min-height:184vw等)をやめ、文字部分+写真1枚分の高さに圧縮 */
@media(max-width:640px){
  .fv-banners-row{width:90%;gap:14px;margin:20px auto}
  .fv-banners.rikon-sodan .consult-hero.fv-hero .fv-ttl{margin-left:auto;margin-right:auto}
  .fv-banners-row .fv-banners .consult-hero.fv-hero{min-height:0!important;padding-bottom:50vw}
  .fv-banners-row .fv-banners .fv-content{padding-top:4cqw}
  .fv-banners-row .fv-banners .consult-hero-shade{background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,0) 40%)!important}
}
