@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=Shippori+Mincho:wght@500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;600;700&display=swap');

:root{
  --naito-green:#173f35;
  --naito-deep:#0d2d25;
  --naito-ink:#18322f;
  --naito-text:#4c5c58;
  --naito-orange:#d96532;
  --naito-lime:#a5c81d;
  --naito-paper:#f5f7f5;
  --naito-line:#d9e0dc;
  --naito-white:#fff;
  --naito-mincho:'Shippori Mincho','Yu Mincho','Hiragino Mincho ProN',serif;
  --naito-gothic:'Zen Kaku Gothic New','Yu Gothic','Hiragino Kaku Gothic ProN',sans-serif;
  --naito-mono:'DM Sans',sans-serif;
}

html{scroll-behavior:smooth}
body{margin:0!important;color:var(--naito-text)!important;background:#fff!important;font-family:var(--naito-gothic)!important;line-height:1.85!important}
body *{box-sizing:border-box}
#main{overflow:hidden;background:#fff}
#main h2,#main h3,#lv p{font-family:var(--naito-mincho)!important;color:var(--naito-ink)}
#main .admin_edit,#main .admin_edit_menu,#firstguide{display:none!important}
#pan{display:none!important}
#pan{display:none!important}

/* Header */
#pattern2{position:relative!important;z-index:30!important;width:100%!important;min-height:160px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid rgba(23,63,53,.1)!important;box-shadow:none!important}
#pattern2 .header_contents{max-width:1400px!important;margin:auto!important}
#pattern2 .logo{min-height:160px!important;height:160px!important}
#pattern2 .logo img{width:auto!important;max-height:146px!important}
#pattern2 .header_contents{height:160px!important}
#pattern2 a{transition:color .25s ease,background .25s ease,transform .25s ease}
#pattern2 nav a{color:var(--naito-ink)!important;font-weight:600!important;letter-spacing:.04em!important}
#pattern2 nav a:hover{color:var(--naito-orange)!important}
#pattern2 a[href="/new-site-preview/"]{display:none!important}
#pattern2 nav .nav_1st{min-height:58px!important;align-items:center!important}
#pattern2 nav .nav_1st>li{flex-grow:0!important}
#pattern2 nav .nav_1st>li>a{padding:17px 11px!important;font-size:14px!important;white-space:nowrap!important}

/* Compact, calm header */
#pattern2{min-height:146px!important}
#pattern2 .header_contents{height:94px!important;padding-top:10px!important;padding-bottom:0!important}
#pattern2 .logo{min-height:94px!important;height:94px!important;padding:8px 0!important}
#pattern2 .logo img{max-height:86px!important}
#pattern2 nav{height:52px!important;min-height:52px!important;border-top:1px solid rgba(23,63,53,.07)!important}
#pattern2 nav .nav_1st{height:52px!important;min-height:52px!important}
#pattern2 nav .nav_1st>li>a{padding:12px 11px!important}

/* First view */
#lv_outer{position:relative!important;z-index:1!important;margin:0!important;border-top:0!important;overflow:hidden!important;background:var(--naito-deep)!important}
#lv{position:relative!important;display:flex!important;align-items:center!important;min-height:min(760px,calc(100svh - 120px))!important;height:auto!important;overflow:hidden!important}
#lv .parallax_img{position:absolute!important;inset:-4%!important;width:auto!important;height:auto!important;background-image:linear-gradient(90deg,rgba(8,35,28,.95) 0%,rgba(8,35,28,.78) 42%,rgba(8,35,28,.26) 73%,rgba(8,35,28,.06) 100%),url('/common/upload_data/nagareyama-souzokujp/image/20260828143154.jpg')!important;background-position:center!important;background-size:cover!important;filter:blur(20px) saturate(.78);transform:scale(1.06);animation:naitoFocus 2.4s cubic-bezier(.2,.65,.2,1) .15s forwards!important}
html body #lv .parallax_img{filter:none!important;transform:scale(1)!important}
#lv:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,27,21,.32),transparent 45%);pointer-events:none}
#lv>p{position:relative!important;z-index:2!important;width:min(1180px,calc(100% - 80px))!important;margin:0 auto!important;padding:70px 0 230px!important;text-align:left!important;color:#fff!important}
#lv>p:before{content:'NAGAREYAMA  /  SUCCESSION & LIFE PLANNING';display:block;margin-bottom:22px;color:#d9ec91;font-family:var(--naito-mono);font-size:12px;font-weight:700;letter-spacing:.18em;opacity:0;animation:naitoRise .8s ease 1.3s forwards}
#lv>p span,#lv>p .contenteditable{display:block!important;max-width:780px!important;color:#fff!important;font-family:var(--naito-mincho)!important;font-size:clamp(42px,4.5vw,62px)!important;font-weight:600!important;line-height:1.48!important;letter-spacing:.035em!important;text-shadow:0 2px 22px rgba(0,0,0,.14);opacity:0;animation:naitoRise .9s ease 1.5s forwards}

/* A visual roadmap: the line is drawn toward a clear goal */
.naito-roadmap{position:absolute;right:max(42px,calc((100vw - 1180px)/2));bottom:70px;z-index:3;width:min(430px,36vw);color:#fff;pointer-events:none}
.naito-roadmap svg{display:block;width:100%;height:auto;overflow:visible}
.naito-roadmap__base{fill:none;stroke:rgba(255,255,255,.18);stroke-width:1.5}
.naito-roadmap__line{fill:none;stroke:#d9ec91;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:680;stroke-dashoffset:680;filter:drop-shadow(0 0 8px rgba(217,236,145,.2));animation:naitoDraw 2.2s cubic-bezier(.33,.75,.3,1) 1.4s forwards}
.naito-roadmap__dot{fill:#fff;stroke:#d9ec91;stroke-width:3;opacity:0;animation:naitoDot .45s ease forwards}
.naito-roadmap__dot:nth-of-type(1){animation-delay:1.8s}.naito-roadmap__dot:nth-of-type(2){animation-delay:2.5s}.naito-roadmap__dot:nth-of-type(3){animation-delay:3.15s}
.naito-roadmap__labels{display:flex;justify-content:space-between;margin-top:10px;color:rgba(255,255,255,.76);font-size:11px;font-weight:600;letter-spacing:.12em}
.naito-roadmap__labels span:last-child{color:#d9ec91}

/* Compact offer panel inside the first view */
.naito-hero-offer{position:absolute;left:max(40px,calc((100vw - 1180px)/2));bottom:34px;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 28px;align-items:center;width:min(735px,calc(100% - 80px));padding:20px 22px 20px 26px;border-left:2px solid var(--naito-orange);background:rgba(7,34,27,.78);box-shadow:0 16px 42px rgba(0,0,0,.14);backdrop-filter:blur(7px);opacity:0;animation:naitoRise .8s ease 1.1s forwards}
.naito-hero-offer__copy{min-width:0}
.naito-hero-offer h2{margin:0 0 4px!important;color:#fff!important;font-family:var(--naito-gothic)!important;font-size:17px!important;font-weight:700!important;line-height:1.55!important;letter-spacing:.03em!important}
.naito-hero-offer p{margin:0!important;color:rgba(255,255,255,.72)!important;font-size:12px!important;line-height:1.7!important;letter-spacing:.02em!important}
.naito-hero-offer a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 22px;border:1px solid var(--naito-orange);background:var(--naito-orange);color:#fff!important;font-size:13px;font-weight:700;letter-spacing:.05em;white-space:nowrap;transition:transform .25s ease,background .25s ease}
.naito-hero-offer a:after{content:'\2192';margin-left:18px;font-family:var(--naito-mono);font-size:16px}
.naito-hero-offer a:hover{background:#bf4f20;transform:translateY(-2px)}

/* Intro copy layered on the hero */
[id~="20129752"]{display:none!important;position:relative!important;z-index:4!important;width:min(1180px,calc(100% - 80px))!important;margin:-300px auto 0!important;padding:0!important;background:transparent!important;color:#fff!important}
[id~="20129752"] .content_wrapper{width:min(710px,100%)!important;margin:0!important;text-align:left!important}
[id~="20129752"] .heading{display:block!important;height:auto!important;text-align:left!important}
[id~="20129752"] h2{margin:0 0 17px!important;color:#fff!important;font-family:var(--naito-gothic)!important;font-size:clamp(18px,2vw,23px)!important;font-weight:700!important;line-height:1.65!important;letter-spacing:.03em!important;opacity:0;animation:naitoRise .8s ease 1.75s forwards}
[id~="20129752"] p{position:static!important;width:auto!important;max-width:650px!important;height:auto!important;margin:0!important;padding:0!important;color:rgba(255,255,255,.82)!important;font-size:15px!important;line-height:1.95!important;text-align:left!important;opacity:0;animation:naitoRise .8s ease 1.9s forwards}
[id~="20129753"]{display:none!important;position:relative!important;z-index:5!important;width:min(1180px,calc(100% - 80px))!important;margin:22px auto 0!important;padding:0 0 60px!important;background:transparent!important;opacity:0;animation:naitoRise .8s ease 2.05s forwards}
[id~="20129753"] .content_wrapper{width:auto!important;margin:0!important;text-align:left!important}
[id~="20129753"] a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:310px!important;min-height:64px!important;padding:16px 30px!important;border:1px solid var(--naito-orange)!important;border-radius:2px!important;background:var(--naito-orange)!important;color:#fff!important;font-weight:700!important;letter-spacing:.06em!important;box-shadow:0 14px 36px rgba(0,0,0,.16)!important;transition:transform .25s ease,background .25s ease!important}
[id~="20129753"] a:after{content:'\2192';margin-left:28px;font-family:var(--naito-mono);font-size:18px}
[id~="20129753"] a:hover{background:#bf4f20!important;transform:translateY(-3px)!important}
[id~="20129753"]:after{content:'初回60分無料　｜　書類なしでも相談可　｜　訪問・オンライン対応';display:block;margin-top:18px;color:rgba(255,255,255,.74);font-size:12px;letter-spacing:.08em}

/* Three starting routes */
[id~="20129754"]{position:relative!important;width:100%!important;max-width:none!important;margin:0!important;padding:116px max(40px,calc((100vw - 1180px)/2)) 124px!important;background:#fff!important;text-align:left!important}
[id~="20129754"]:before{content:'WHERE TO START';display:block;margin-bottom:18px;color:var(--naito-orange);font-family:var(--naito-mono);font-size:11px;font-weight:700;letter-spacing:.19em}
[id~="20129754"]>.content_wrapper{width:100%!important;max-width:1180px!important;margin:0 auto!important}
[id~="20129754"] .heading.block_header_6{margin-bottom:50px!important;text-align:left!important}
[id~="20129754"] .heading.block_header_6 h2,[id~="20129754"]>div>.heading h2{font-size:clamp(32px,4vw,52px)!important;line-height:1.5!important;text-align:left!important}
[id~="20129754"] .wrapper_item{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;background:transparent!important;border:0!important}
[id~="20129754"] .inner_item{position:relative!important;display:block!important;width:auto!important;height:auto!important;min-height:360px!important;margin:0!important;padding:40px 34px 38px!important;border:1px solid transparent!important;border-top-width:5px!important;border-radius:2px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 14px 40px rgba(23,63,53,.055)!important;transition:background .35s ease,transform .35s ease,box-shadow .35s ease!important}
[id~="20129754"] .inner_item:nth-child(n+4){display:none!important}
[id~="20129754"] .inner_item:before{display:block;margin-bottom:42px;font-family:var(--naito-gothic);font-size:12px;font-weight:700;letter-spacing:.11em}
[id~="20129754"] .inner_item:nth-child(1):before{content:'01  /  まず相談'}
[id~="20129754"] .inner_item:nth-child(2):before{content:'02  /  相続発生後'}
[id~="20129754"] .inner_item:nth-child(3):before{content:'03  /  生前の準備'}
[id~="20129754"] .inner_item:after{content:'\2192';position:absolute;right:30px;bottom:24px;color:var(--naito-orange);font-size:24px;transition:transform .25s ease}
[id~="20129754"] .inner_item:hover{transform:translateY(-6px)!important;box-shadow:0 20px 48px rgba(23,63,53,.12)!important}
[id~="20129754"] .inner_item:hover:after{transform:translateX(6px)}
[id~="20129754"] .inner_item_img{display:none!important}
[id~="20129754"] .inner_item>a{display:none!important}
[id~="20129754"] .inner_item_txt{width:100%!important;padding:0!important;text-align:left!important}
[id~="20129754"] .inner_item_txt:before{content:'';display:block;width:58px;height:58px;margin:0 0 25px;border:1px solid rgba(217,101,50,.28);border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:29px;transition:transform .35s ease,background-color .35s ease}
[id~="20129754"] .inner_item:nth-child(1) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%234f7888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10h25a5 5 0 0 1 5 5v12a5 5 0 0 1-5 5H20l-8 6v-6H8a5 5 0 0 1-5-5V15a5 5 0 0 1 5-5Z'/%3E%3Cpath d='M13 19h15M13 25h9'/%3E%3C/svg%3E")}
[id~="20129754"] .inner_item:nth-child(2) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23c55d33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 22 19-15 19 15M10 20v20h28V20M18 40V27h12v13'/%3E%3Cpath d='m31 14 5-4v8'/%3E%3C/svg%3E")}
[id~="20129754"] .inner_item:nth-child(3) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%236f8f4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 42V18M24 27c-8 0-14-5-14-13 8 0 14 5 14 13ZM24 21c7 0 13-5 13-13-7 0-13 5-13 13Z'/%3E%3Cpath d='M14 42h20'/%3E%3C/svg%3E")}
[id~="20129754"] .inner_item:hover .inner_item_txt:before{transform:translateY(-4px) rotate(-3deg);background-color:#fff}
[id~="20129754"] h3{margin:0 0 12px!important;font-size:clamp(24px,2.4vw,31px)!important;line-height:1.55!important;text-align:left!important}
[id~="20129754"] .heading p{margin:0 0 20px!important;color:var(--naito-orange)!important;font-size:13px!important;font-weight:700!important;text-align:left!important;letter-spacing:.04em!important}
[id~="20129754"] .editor,[id~="20129754"] .inner_item_txt>p{color:var(--naito-text)!important;font-size:15px!important;line-height:1.9!important;text-align:left!important}
[id~="20129754"] .inner_item:nth-child(1){border-color:#bfd0d7!important;border-top-color:#4f7888!important;background:linear-gradient(180deg,#f1f6f8 0%,#fff 58%)!important}
[id~="20129754"] .inner_item:nth-child(2){border-color:#ead0c4!important;border-top-color:#c55d33!important;background:linear-gradient(180deg,#fbf2ee 0%,#fff 58%)!important}
[id~="20129754"] .inner_item:nth-child(3){border-color:#d3dfc6!important;border-top-color:#6f8f4a!important;background:linear-gradient(180deg,#f3f7ef 0%,#fff 58%)!important}
[id~="20129754"] .inner_item:nth-child(1):before,[id~="20129754"] .inner_item:nth-child(1) .heading p,[id~="20129754"] .inner_item:nth-child(1):after{color:#4f7888!important}
[id~="20129754"] .inner_item:nth-child(2):before,[id~="20129754"] .inner_item:nth-child(2) .heading p,[id~="20129754"] .inner_item:nth-child(2):after{color:#c55d33!important}
[id~="20129754"] .inner_item:nth-child(3):before,[id~="20129754"] .inner_item:nth-child(3) .heading p,[id~="20129754"] .inner_item:nth-child(3):after{color:#6f8f4a!important}
[id~="20129754"] .inner_item:nth-child(1) .inner_item_txt:before{border-color:rgba(79,120,136,.35)!important}
[id~="20129754"] .inner_item:nth-child(2) .inner_item_txt:before{border-color:rgba(197,93,51,.35)!important}
[id~="20129754"] .inner_item:nth-child(3) .inner_item_txt:before{border-color:rgba(111,143,74,.35)!important}

/* Reasons: one featured strength + four supporting reasons */
[id~="20129757"]{position:relative!important;width:100%!important;max-width:none!important;margin:0!important;padding:120px max(40px,calc((100vw - 1180px)/2))!important;background:var(--naito-paper)!important;text-align:left!important}
[id~="20129757"]:after{content:'';position:absolute;right:-90px;top:56px;width:310px;height:310px;border:1px solid rgba(23,63,53,.075);border-radius:50%;box-shadow:0 0 0 38px rgba(23,63,53,.025),0 0 0 82px rgba(23,63,53,.014);pointer-events:none}
[id~="20129757"]:before{content:'WHY NAITO';display:block;margin-bottom:18px;color:var(--naito-orange);font-family:var(--naito-mono);font-size:11px;font-weight:700;letter-spacing:.19em}
[id~="20129757"]>.content_wrapper{width:100%!important;max-width:1180px!important;margin:auto!important}
[id~="20129757"] .heading.block_header_6{margin-bottom:54px!important;text-align:left!important}
[id~="20129757"] .heading.block_header_6 h2,[id~="20129757"]>div>.heading h2{width:100%!important;max-width:none!important;font-size:clamp(32px,3.2vw,42px)!important;line-height:1.5!important;text-align:left!important}
[id~="20129757"] .wrapper_item{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:1.12fr 1fr 1fr!important;grid-template-rows:repeat(2,minmax(230px,auto))!important;gap:18px!important;background:transparent!important}
[id~="20129757"] .inner_item{position:relative!important;display:flex!important;align-items:flex-start!important;width:auto!important;height:auto!important;min-height:230px!important;margin:0!important;padding:62px 28px 30px!important;border:1px solid #dce3df!important;border-radius:2px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 12px 38px rgba(23,63,53,.045)!important;overflow:hidden!important;transition:transform .3s ease,box-shadow .3s ease!important}
[id~="20129757"] .inner_item:hover{transform:translateY(-4px)!important;box-shadow:0 18px 48px rgba(23,63,53,.1)!important}
[id~="20129757"] .inner_item:first-child{grid-row:1 / span 2;align-items:flex-end!important;min-height:478px!important;padding:96px 40px 42px!important;border-color:var(--naito-green)!important;background:linear-gradient(150deg,var(--naito-green),var(--naito-deep))!important;box-shadow:0 22px 58px rgba(13,45,37,.16)!important}
[id~="20129757"] .inner_item:before{position:absolute;left:28px;top:24px;color:var(--naito-orange);font-family:var(--naito-mono);font-size:12px;font-weight:700;letter-spacing:.12em}
[id~="20129757"] .inner_item:first-child:before{left:40px;top:36px;color:#d9ec91;font-size:14px}
[id~="20129757"] .inner_item:nth-child(1):before{content:'01'}
[id~="20129757"] .inner_item:nth-child(2):before{content:'02'}
[id~="20129757"] .inner_item:nth-child(3):before{content:'03'}
[id~="20129757"] .inner_item:nth-child(4):before{content:'04'}
[id~="20129757"] .inner_item:nth-child(5):before{content:'05'}
[id~="20129757"] .inner_item_img{display:none!important}
[id~="20129757"] .inner_item>a{display:none!important}
[id~="20129757"] .inner_item_txt{width:100%!important;padding:0!important;text-align:left!important}
[id~="20129757"] h3{margin:0 0 12px!important;font-size:clamp(20px,1.65vw,23px)!important;line-height:1.55!important;text-align:left!important}
[id~="20129757"] .inner_item:first-child h3{color:#fff!important;font-size:clamp(27px,2.6vw,37px)!important;line-height:1.55!important}
[id~="20129757"] .heading p{margin:0 0 14px!important;color:var(--naito-orange)!important;font-size:12px!important;font-weight:700!important;text-align:left!important;letter-spacing:.04em!important}
[id~="20129757"] .editor,[id~="20129757"] .inner_item_txt>p{font-size:15px!important;line-height:1.9!important;text-align:left!important}
[id~="20129757"] .inner_item:first-child .heading p{color:#d9ec91!important}
[id~="20129757"] .inner_item:first-child .editor,[id~="20129757"] .inner_item:first-child .inner_item_txt>p{color:rgba(255,255,255,.76)!important}

/* Detailed services */
[id~="20129758"]{width:100%!important;max-width:none!important;margin:0!important;padding:118px max(40px,calc((100vw - 1180px)/2))!important;background:var(--naito-deep)!important;color:#fff!important}
[id~="20129758"]:before{content:'SERVICES';display:block;max-width:1180px;margin:0 auto 18px;color:#d9ec91;font-family:var(--naito-mono);font-size:11px;font-weight:700;letter-spacing:.19em}
[id~="20129758"]>.content_wrapper{width:100%!important;max-width:1180px!important;margin:auto!important}
[id~="20129758"] .heading.block_header_6 h2,[id~="20129758"]>div>.heading h2{margin-bottom:48px!important;color:#fff!important;font-size:clamp(32px,4vw,52px)!important;text-align:left!important}
[id~="20129758"] .wrapper_item{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
[id~="20129758"] .inner_item{display:block!important;width:auto!important;height:auto!important;min-height:260px!important;margin:0!important;padding:34px 30px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.035)!important;transition:background .3s ease,border-color .3s ease!important}
[id~="20129758"] .inner_item:hover{border-color:rgba(217,236,145,.5)!important;background:rgba(255,255,255,.075)!important}
[id~="20129758"] .inner_item_img{display:none!important}
[id~="20129758"] .inner_item>a{display:none!important}
[id~="20129758"] .inner_item_txt{width:100%!important;padding:0!important;text-align:left!important}
[id~="20129758"] .inner_item_txt:before{content:'';display:block;width:46px;height:46px;margin:0 0 25px;border:1px solid rgba(217,236,145,.34);border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:23px}
[id~="20129758"] .inner_item:nth-child(1) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d9ec91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 19 19-11 19 11H5ZM8 37h32M5 42h38M11 19v18M20 19v18M28 19v18M37 19v18'/%3E%3C/svg%3E")}
[id~="20129758"] .inner_item:nth-child(2) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d9ec91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 22 19-15 19 15M10 20v20h28V20M18 40V27h12v13'/%3E%3Cpath d='m30 17 4 4 8-9'/%3E%3C/svg%3E")}
[id~="20129758"] .inner_item:nth-child(3) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d9ec91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5 39 11v11c0 10-6 17-15 21C15 39 9 32 9 22V11zM17 17l14 14M31 17 17 31'/%3E%3C/svg%3E")}
[id~="20129758"] .inner_item:nth-child(4) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d9ec91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 6h26v36H11zM17 15h14M17 22h14M17 29h8'/%3E%3Cpath d='m27 37 4-7 4 7'/%3E%3C/svg%3E")}
[id~="20129758"] .inner_item:nth-child(5) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d9ec91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 41S7 31 7 18a9 9 0 0 1 17-4 9 9 0 0 1 17 4c0 13-17 23-17 23Z'/%3E%3Cpath d='M18 25h12M24 19v12'/%3E%3C/svg%3E")}
[id~="20129758"] .inner_item:nth-child(6) .inner_item_txt:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23d9ec91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='7'/%3E%3Cpath d='M24 5v8M24 35v8M5 24h8M35 24h8M10.6 10.6l5.7 5.7M31.7 31.7l5.7 5.7M37.4 10.6l-5.7 5.7M16.3 31.7l-5.7 5.7'/%3E%3C/svg%3E")}
[id~="20129758"] h3{margin:0 0 14px!important;color:#fff!important;font-size:23px!important;text-align:left!important}
[id~="20129758"] .heading p{color:#d9ec91!important;font-size:12px!important;font-weight:700!important;text-align:left!important}
[id~="20129758"] .editor,[id~="20129758"] .inner_item_txt>p{color:rgba(255,255,255,.72)!important;font-size:14px!important;line-height:1.85!important;text-align:left!important}

/* Process */
[id~="20129764"]{width:100%!important;max-width:none!important;margin:0!important;padding:118px max(40px,calc((100vw - 1180px)/2))!important;background:#fff!important}
[id~="20129764"]:before{content:'THE FIRST 60 MINUTES';display:block;max-width:1180px;margin:0 auto 18px;color:var(--naito-orange);font-family:var(--naito-mono);font-size:11px;font-weight:700;letter-spacing:.19em}
[id~="20129764"]>.content_wrapper{width:100%!important;max-width:1180px!important;margin:auto!important}
[id~="20129764"] .heading.block_header_6 h2,[id~="20129764"]>div>.heading h2{margin-bottom:58px!important;font-size:clamp(32px,4vw,52px)!important;text-align:left!important}
[id~="20129764"] .wrapper_item{position:relative!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important}
[id~="20129764"] .wrapper_item:before{content:'';position:absolute;left:8%;right:8%;top:34px;height:1px;background:var(--naito-line)}
[id~="20129764"] .inner_item{position:relative!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0 22px!important;background:transparent!important}
[id~="20129764"] .inner_item:before{position:relative;z-index:1;display:grid;place-items:center;width:68px;height:68px;margin:0 auto 26px;border:1px solid var(--naito-orange);border-radius:50%;background:#fff;color:var(--naito-orange);font-family:var(--naito-mono);font-weight:700}
[id~="20129764"] .inner_item:nth-child(1):before{content:'01'}
[id~="20129764"] .inner_item:nth-child(2):before{content:'02'}
[id~="20129764"] .inner_item:nth-child(3):before{content:'03'}
[id~="20129764"] .inner_item:nth-child(4):before{content:'04'}
[id~="20129764"] .inner_item:nth-child(5):before{content:'05'}
[id~="20129764"] .inner_item_img{display:none!important}
[id~="20129764"] .inner_item>a{display:none!important}
[id~="20129764"] .inner_item_txt{width:100%!important;padding:0!important;text-align:center!important}
[id~="20129764"] h3{font-size:19px!important;line-height:1.6!important;text-align:center!important}
[id~="20129764"] .heading p,[id~="20129764"] .editor,[id~="20129764"] .inner_item_txt>p{font-size:13px!important;line-height:1.8!important;text-align:center!important}

/* Closing CTA and route table */
[id~="20129769"]{width:100%!important;max-width:none!important;margin:0!important;padding:88px 40px!important;background:var(--naito-orange)!important;text-align:center!important}
[id~="20129769"]:before{content:'相続の順番が分かると、次にすることが見えてきます。';display:block;margin-bottom:28px;color:#fff;font-family:var(--naito-mincho);font-size:clamp(26px,3.8vw,46px);line-height:1.55}
[id~="20129769"] .content_wrapper{margin:auto!important;text-align:center!important}
[id~="20129769"] a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:330px!important;min-height:64px!important;padding:16px 30px!important;border:1px solid #fff!important;border-radius:2px!important;background:#fff!important;color:var(--naito-orange)!important;font-weight:700!important;letter-spacing:.05em!important}
[id~="20129772"]{position:relative!important;width:100%!important;max-width:none!important;margin:0!important;padding:88px max(40px,calc((100vw - 1120px)/2)) 96px!important;background:var(--naito-paper)!important;text-align:left!important}
[id~="20129772"]:before{content:'ご相談内容からお選びください';display:block;margin:0 0 12px;color:var(--naito-ink);font-family:var(--naito-mincho);font-size:clamp(27px,3vw,40px);font-weight:600;line-height:1.55;text-align:center}
[id~="20129772"]:after{content:'どこに当てはまるか分からなくても、そのままご相談いただけます。';display:block;position:absolute;left:20px;right:20px;top:148px;color:var(--naito-text);font-size:13px;letter-spacing:.03em;text-align:center}
[id~="20129772"] .content_wrapper{width:100%!important;max-width:1120px!important;margin:64px auto 0!important}
[id~="20129772"] table{display:block!important;width:100%!important;border-collapse:separate!important;background:transparent!important;box-shadow:none!important}
[id~="20129772"] tbody{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto 1fr!important;gap:0 16px!important;width:100%!important}
[id~="20129772"] tr{display:contents!important}
[id~="20129772"] th,[id~="20129772"] td{display:block!important;width:auto!important;margin:0!important;font-size:15px!important;line-height:1.85!important;text-align:left!important}
[id~="20129772"] th{position:relative!important;min-height:84px!important;padding:26px 26px 22px 68px!important;border:0!important;border-radius:3px 3px 0 0!important;color:#fff!important;font-size:18px!important;font-weight:700!important;line-height:1.5!important;letter-spacing:.02em!important}
[id~="20129772"] th:before{position:absolute;left:25px;top:29px;font-family:var(--naito-mono);font-size:11px;font-weight:700;letter-spacing:.08em;opacity:.8}
[id~="20129772"] th:nth-child(1):before{content:'01'}
[id~="20129772"] th:nth-child(2):before{content:'02'}
[id~="20129772"] th:nth-child(3):before{content:'03'}
[id~="20129772"] td{position:relative!important;min-height:178px!important;padding:30px 28px 46px!important;border-top:0!important;border-radius:0 0 3px 3px!important;color:var(--naito-ink)!important;background:#fff!important}
[id~="20129772"] td:after{content:'\2192';position:absolute;right:26px;bottom:18px;font-family:var(--naito-mono);font-size:20px}
[id~="20129772"] th:nth-child(1){grid-column:1;grid-row:1;background:#4f7888!important}
[id~="20129772"] th:nth-child(2){grid-column:2;grid-row:1;background:#c55d33!important}
[id~="20129772"] th:nth-child(3){grid-column:3;grid-row:1;background:#6f8f4a!important}
[id~="20129772"] td:nth-child(1){grid-column:1;grid-row:2;border:1px solid #bfd0d7!important;border-top:0!important;background:#f1f6f8!important}
[id~="20129772"] td:nth-child(2){grid-column:2;grid-row:2;border:1px solid #ead0c4!important;border-top:0!important;background:#fbf2ee!important}
[id~="20129772"] td:nth-child(3){grid-column:3;grid-row:2;border:1px solid #d3dfc6!important;border-top:0!important;background:#f3f7ef!important}
[id~="20129772"] td:nth-child(1):after{color:#4f7888}
[id~="20129772"] td:nth-child(2):after{color:#c55d33}
[id~="20129772"] td:nth-child(3):after{color:#6f8f4a}

/* Stable card layout generated from the CMS table content */
[id~="20129772"].has-choice-grid table{display:none!important}
.naito-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
.naito-choice-card{position:relative;min-height:275px;padding:0 28px 50px;border:1px solid;background:#fff;box-shadow:0 14px 38px rgba(23,63,53,.055);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.naito-choice-card:hover{transform:translateY(-5px);box-shadow:0 20px 48px rgba(23,63,53,.11)}
.naito-choice-card__head{display:flex;align-items:center;min-height:90px;margin:0 -28px 28px;padding:22px 26px;color:#fff}
.naito-choice-card__number{margin-right:18px;font-family:var(--naito-mono);font-size:11px;font-weight:700;letter-spacing:.08em;opacity:.82}
.naito-choice-card h3{margin:0!important;color:#fff!important;font-family:var(--naito-gothic)!important;font-size:17px!important;font-weight:700!important;line-height:1.55!important;text-align:left!important}
.naito-choice-card--1 h3{font-size:16px!important;letter-spacing:-.015em!important}
.naito-choice-card p{margin:0!important;color:var(--naito-ink)!important;font-size:15px!important;font-weight:500!important;line-height:1.9!important;text-align:left!important}
.naito-choice-card__arrow{position:absolute;right:27px;bottom:17px;font-family:var(--naito-mono);font-size:21px}
.naito-choice-card--1{border-color:#bfd0d7;background:#f1f6f8}.naito-choice-card--1 .naito-choice-card__head{background:#4f7888}.naito-choice-card--1 .naito-choice-card__arrow{color:#4f7888}
.naito-choice-card--2{border-color:#ead0c4;background:#fbf2ee}.naito-choice-card--2 .naito-choice-card__head{background:#c55d33}.naito-choice-card--2 .naito-choice-card__arrow{color:#c55d33}
.naito-choice-card--3{border-color:#d3dfc6;background:#f3f7ef}.naito-choice-card--3 .naito-choice-card__head{background:#6f8f4a}.naito-choice-card--3 .naito-choice-card__arrow{color:#6f8f4a}

/* Persistent contact bar */
.fixbtnwrap{border-top:2px solid var(--naito-green)!important;background:rgba(255,255,255,.96)!important;box-shadow:0 -10px 30px rgba(13,45,37,.1)!important;backdrop-filter:blur(8px)}

/* Motion */
@keyframes naitoFocus{to{filter:blur(0) saturate(1);transform:scale(1)}}
@keyframes naitoRise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes naitoDraw{to{stroke-dashoffset:0}}
@keyframes naitoDot{from{opacity:0;transform:scale(.2);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}
.naito-reveal{opacity:0;transform:translateY(28px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.naito-reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

@media (max-width:960px){
  #pattern2 nav{display:none!important}
  #pattern2,#pattern2 .header_contents,#pattern2 .logo{min-height:96px!important;height:96px!important}
  #pattern2 .logo{padding:7px 0!important}
  #pattern2 .logo img{max-height:82px!important}
  #lv{min-height:720px!important}
  #lv .parallax_img{background-position:60% center!important}
  #lv>p{width:calc(100% - 44px)!important;padding-bottom:255px!important}
  [id~="20129752"],[id~="20129753"]{width:calc(100% - 44px)!important}
  [id~="20129754"] .wrapper_item{grid-template-columns:1fr!important}
  [id~="20129754"] .inner_item{min-height:250px!important}
  [id~="20129757"] .wrapper_item{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}
  [id~="20129757"] .inner_item:first-child{grid-column:1 / -1;grid-row:auto;min-height:330px!important;padding:82px 38px 38px!important}
  [id~="20129758"] .wrapper_item{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [id~="20129764"] .wrapper_item{grid-template-columns:1fr!important;gap:28px!important}
  [id~="20129764"] .wrapper_item:before{left:34px;right:auto;top:30px;bottom:30px;width:1px;height:auto}
  [id~="20129764"] .inner_item{min-height:72px!important;padding-left:100px!important}
  [id~="20129764"] .inner_item:before{position:absolute;left:0;top:0;margin:0!important}
  [id~="20129764"] .inner_item_txt,[id~="20129764"] h3,[id~="20129764"] .heading p,[id~="20129764"] .editor{text-align:left!important}
  .naito-roadmap{right:28px;bottom:58px;width:34vw;opacity:.9}
  .naito-hero-offer{left:22px;bottom:24px;width:calc(100% - 44px)}
}

@media (max-width:640px){
  #pattern2{min-height:76px!important}
  #pattern2 .header_contents,#pattern2 .logo{min-height:76px!important;height:76px!important}
  #pattern2 .logo{padding:6px 0!important}
  #pattern2 .logo img{max-height:66px!important}
  #lv{min-height:680px!important}
  #lv .parallax_img{background-image:linear-gradient(90deg,rgba(8,35,28,.93),rgba(8,35,28,.58)),url('/common/upload_data/nagareyama-souzokujp/image/20260828143154.jpg')!important;background-position:58% center!important}
  #lv>p{width:calc(100% - 36px)!important;padding:52px 0 270px!important}
  #lv>p:before{font-size:10px!important;line-height:1.7!important}
  #lv>p span,#lv>p .contenteditable{font-size:clamp(34px,10.4vw,48px)!important;line-height:1.48!important}
  [id~="20129752"],[id~="20129753"]{width:calc(100% - 36px)!important}
  [id~="20129752"]{margin-top:-254px!important}
  [id~="20129752"] h2{font-size:17px!important}
  [id~="20129752"] p{font-size:13px!important;line-height:1.8!important}
  [id~="20129753"]{padding-bottom:44px!important}
  [id~="20129753"] a{width:100%!important;min-width:0!important;min-height:58px!important}
  [id~="20129753"]:after{font-size:10px!important;line-height:1.8!important}
  [id~="20129754"],[id~="20129757"],[id~="20129758"],[id~="20129764"]{padding:82px 20px!important}
  [id~="20129754"] .heading.block_header_6,[id~="20129757"] .heading.block_header_6{margin-bottom:34px!important}
  [id~="20129754"] .inner_item{padding:34px 26px!important}
  [id~="20129757"] .wrapper_item{grid-template-columns:1fr!important}
  [id~="20129757"] .inner_item{min-height:0!important;padding:58px 24px 28px!important}
  [id~="20129757"] .inner_item:before{left:24px;top:22px}
  [id~="20129757"] .inner_item:first-child{grid-column:auto;min-height:360px!important;padding:82px 28px 32px!important}
  [id~="20129757"] .inner_item:first-child:before{left:28px;top:30px}
  [id~="20129758"] .wrapper_item{grid-template-columns:1fr!important}
  [id~="20129758"] .inner_item{min-height:220px!important}
  [id~="20129769"]{padding:70px 20px!important}
  [id~="20129769"] a{width:100%!important;min-width:0!important}
  [id~="20129772"]{padding:70px 18px 76px!important;overflow:visible!important}
  [id~="20129772"]:after{top:132px;left:30px;right:30px;font-size:12px;line-height:1.7}
  [id~="20129772"] .content_wrapper{margin-top:72px!important}
  [id~="20129772"] table{min-width:0!important}
  [id~="20129772"] tbody{grid-template-columns:1fr!important;grid-template-rows:repeat(6,auto)!important;gap:0!important}
  [id~="20129772"] th{min-height:72px!important;padding:22px 22px 18px 62px!important;font-size:17px!important}
  [id~="20129772"] th:before{left:22px;top:25px}
  [id~="20129772"] td{min-height:0!important;margin-bottom:16px!important;padding:24px 22px 42px!important}
  [id~="20129772"] th:nth-child(1){grid-column:1;grid-row:1}
  [id~="20129772"] td:nth-child(1){grid-column:1;grid-row:2}
  [id~="20129772"] th:nth-child(2){grid-column:1;grid-row:3}
  [id~="20129772"] td:nth-child(2){grid-column:1;grid-row:4}
  [id~="20129772"] th:nth-child(3){grid-column:1;grid-row:5}
  [id~="20129772"] td:nth-child(3){grid-column:1;grid-row:6}
  .naito-choice-grid{grid-template-columns:1fr;gap:14px}
  .naito-choice-card{min-height:0;padding-bottom:48px}
  .naito-choice-card__head{min-height:78px;margin-bottom:22px}
  .naito-roadmap{display:none!important}
  .naito-hero-offer{left:18px;bottom:18px;display:block;width:calc(100% - 36px);padding:18px 18px 16px}
  .naito-hero-offer h2{font-size:16px!important}
  .naito-hero-offer p{font-size:11px!important}
  .naito-hero-offer a{width:100%;min-height:50px;margin-top:13px}
  [id~="20129754"] .inner_item_txt:before{width:52px;height:52px;margin-bottom:20px;background-size:25px}
}

/* publish refresh: removed choice section 20129772 */

/* removed redundant choice section */
[id~="20129772"]{display:none!important}


/* naito-hero-fit-viewport-v1: keep the consultation panel inside the first view */
@media (min-width:961px){
  #mv,#mv .mv_text{
    min-height:0!important;
    height:clamp(560px,calc(100svh - 165px),625px)!important;
  }
  #mv .mv_text{padding-bottom:210px!important}
  #mv .naito-roadmap{bottom:142px!important}
  #mv .naito-hero-offer{bottom:24px!important}
}
