/* KAKUSHIN経営® サイト共通の型 */
:root{
  --white:#FFFFFF;--sky:#BCD7E9;--sky-soft:#EAF2F8;--paper:#FBF7EE;
  --navy:#1F3864;--ink:#2B3648;--sub:#4A5668;--shu:#963F26;--cta:#C2410C;--cta-h:#A3360A;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:16px}
body{font-family:"Noto Sans JP",sans-serif;color:var(--ink);background:var(--white);font-size:16px;line-height:1.9;letter-spacing:.02em;overflow-wrap:anywhere}
img{display:block;max-width:100%;height:auto}
a{color:var(--navy)}
ul,ol{list-style:none}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px}
section{padding:88px 0}
.soft{background:var(--sky-soft)}
h1,h2,h3{color:var(--navy);font-weight:700;font-feature-settings:"palt";letter-spacing:0}
h2{font-size:32px;line-height:1.4;margin-bottom:16px}
h3{font-size:20px;line-height:1.5}
.lead{max-width:36em;margin-bottom:40px}
.note{font-size:13px;color:var(--sub);line-height:1.7}
.btn{display:inline-block;background:var(--cta);color:#fff;font-weight:700;font-size:17px;line-height:1.4;text-decoration:none;padding:16px 30px;border-radius:6px;text-align:center}
.btn:hover{background:var(--cta-h)}
.btn::after{content:" →"}
.tl{font-weight:500;text-underline-offset:3px}

header{background:var(--white)}
.bar{display:flex;align-items:center;justify-content:space-between;height:64px}
.bar img{height:36px;width:auto}
.bar nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:500}
.bar nav a{text-decoration:none}
.bar nav a.navbtn{background:var(--cta);color:#fff;font-weight:700;padding:7px 16px;border-radius:6px}
.bar nav a.navbtn:hover{background:var(--cta-h)}
.menu-btn{display:none;background:none;border:0;font:inherit;font-size:13px;font-weight:700;color:var(--navy);cursor:pointer;padding:8px 0 8px 12px}
.mobile-menu{display:none;position:absolute;top:64px;left:0;right:0;background:var(--white);border-bottom:1px solid var(--navy);z-index:5;padding:6px 32px 12px}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;padding:9px 0;text-decoration:none;font-weight:500}
.bar nav a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:6px}
.hero{background:var(--sky);padding:0;overflow:hidden}
.hero .wrap{position:relative;min-height:640px;padding-top:56px;padding-bottom:48px}
.hero-text{position:relative;z-index:1;max-width:640px}
.eyebrow{font-size:14px;font-weight:500;color:var(--navy);line-height:1.6}
h1{font-size:50px;line-height:1.3;letter-spacing:-.02em;margin:12px 0 14px}
.hero-sub{font-size:22px;font-weight:700;color:var(--shu);line-height:1.5;font-feature-settings:"palt"}
.hero-body{margin:14px 0 24px;line-height:1.85}
.hero-note{margin-top:14px;font-size:13px;line-height:1.7;color:var(--navy)}
.hero-book{margin-top:6px;font-size:13px;line-height:1.7}
.hero-book a{color:var(--navy);text-underline-offset:3px}
.hero-pic{position:absolute;right:0;bottom:12px;width:600px}

.stats{display:flex;gap:64px;flex-wrap:wrap;margin-bottom:44px;align-items:flex-end}
.stats b{display:block;font-size:44px;line-height:1.2;color:var(--navy);letter-spacing:0}
.stats b small{font-size:24px}
.stats b.txt{font-size:22px;line-height:1.5}
.stats span{font-size:14px;color:var(--ink)}
.cases{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;margin-bottom:12px}
.case{display:grid;grid-template-columns:176px 1fr;gap:16px;padding:18px 0;border-top:1px solid var(--navy)}
.case b{color:var(--navy);font-size:22px;line-height:1.35;letter-spacing:0;font-feature-settings:"palt"}
.case b small{display:block;font-size:13px;font-weight:500}
.case h3{font-size:14px;font-weight:500;color:var(--sub);line-height:1.6}
.case p{font-size:15px;line-height:1.75}
.voices{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:44px}
.voices p{font-size:15px;line-height:1.85}
.voices cite{display:block;font-style:normal;font-size:13px;color:var(--sub);margin-top:6px}

.book{display:grid;grid-template-columns:170px minmax(0,1fr);gap:40px;align-items:center;max-width:860px}
.book h2{font-size:24px;margin-bottom:4px}
.book .ttl{color:var(--navy);font-weight:700;line-height:1.6;margin-bottom:10px}
.book p+p{margin-top:8px}
.rep{display:grid;grid-template-columns:120px minmax(0,1fr);gap:36px;max-width:860px}
.rep img{width:120px;height:120px;object-fit:cover;object-position:50% 12%;border-radius:50%}
.rep h2{font-size:24px;margin-bottom:0}
.rep .post{font-size:14px;color:var(--sub);margin-bottom:14px}
.rep p+p{margin-top:12px}
.rep .creds{font-size:13px;line-height:1.8;color:var(--sub);margin-top:16px}

.faq{max-width:800px}
.faq details{border-bottom:1px solid var(--navy)}
.faq details:first-child{border-top:1px solid var(--navy)}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy);padding:16px 0;line-height:1.6;list-style-position:outside;margin-left:1.1em}
.faq details p{padding:0 0 18px;font-size:15px}
.faq+p{margin-top:20px;font-size:15px}

footer{background:var(--navy);color:#fff;padding:48px 0 36px;font-size:13px;line-height:1.8}
footer img{height:38px;width:auto;margin-bottom:18px}
footer ul{display:flex;flex-wrap:wrap;gap:6px 24px;margin-bottom:20px}
footer a{color:#fff;text-underline-offset:3px}

/* 下層ページの1画面目：空色の面に、得られるものと主の行動1つ */
.hero--page .wrap{min-height:440px;padding-top:48px;padding-bottom:44px}
.hero--page .hero-text{max-width:600px}
.hero--page h1{font-size:40px;line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}
.hero--page .hero-pic{width:400px;bottom:0}
.hero--page .hero-sub{word-break:keep-all;overflow-wrap:anywhere}
.hero-photo{position:absolute;right:48px;top:50%;transform:translateY(-50%);width:160px;height:160px;object-fit:cover;object-position:50% 22%;border-radius:50%}
.hero--page .eyebrow,.closing h2{word-break:keep-all;overflow-wrap:anywhere}
.nb{white-space:nowrap}

/* 節の中の共通部品 */
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.btn-ghost{display:inline-block;border:1px solid var(--navy);color:var(--navy);font-weight:700;font-size:15px;line-height:1.4;text-decoration:none;padding:15px 24px;border-radius:6px;text-align:center}
.btn-ghost:hover{background:var(--white)}
.card-grid{display:grid;gap:32px 40px}
.card-grid.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card-grid.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{border-top:1px solid var(--navy);padding-top:16px}
.card .num{display:block;font-size:24px;font-weight:700;color:var(--navy);line-height:1.2;margin-bottom:8px}
.card h3{margin-bottom:8px}
.card p{font-size:15px;line-height:1.85}
.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px}
.check-grid h3{margin-bottom:8px}
.check{padding:6px 0 6px 1em;text-indent:-1em;font-size:15px;line-height:1.7}
.check::before{content:"・"}
.flow{max-width:800px}
.flow-item{display:grid;grid-template-columns:56px minmax(0,1fr);padding:18px 0;border-bottom:1px solid var(--navy)}
.flow-item:first-child{border-top:1px solid var(--navy)}
.flow-num{font-size:24px;font-weight:700;color:var(--navy);line-height:1.3}
.flow-body h3{margin-bottom:4px}
.flow-body p{font-size:15px;line-height:1.85}
.timeline{max-width:800px}
.tl-item{display:grid;grid-template-columns:96px minmax(0,1fr);padding:18px 0;border-bottom:1px solid var(--navy)}
.tl-item:first-child{border-top:1px solid var(--navy)}
.tl-year{font-size:20px;font-weight:700;color:var(--navy);line-height:1.5}
.tl-body h3{font-size:17px;margin-bottom:4px}
.tl-body p{font-size:15px;line-height:1.85}
.story{max-width:36em}
.story h3{margin:40px 0 10px}
.story h3:first-child{margin-top:0}
.story p+p{margin-top:14px}
.story strong{color:var(--navy)}
.tags{display:flex;flex-wrap:wrap;gap:4px 0;font-size:13px;line-height:1.8;color:var(--sub)}
.tags span:not(:last-child)::after{content:"／";margin:0 .3em}
.intro{max-width:36em;margin-bottom:24px}
.def{max-width:800px}
.def dl{display:grid;grid-template-columns:190px minmax(0,1fr);border-top:1px solid var(--navy)}
.def dt,.def dd{padding:13px 0;border-bottom:1px solid var(--navy);font-size:15px;line-height:1.8}
.def dt{color:var(--navy);font-weight:700;padding-right:16px}
.policy-page ul{list-style:disc;padding-left:1.5em}
.policy-page ol{list-style:decimal;padding-left:1.5em}
.tbl{width:100%;border-collapse:collapse;font-size:15px;line-height:1.7}
.tbl th,.tbl td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--navy)}
.tbl thead th{background:var(--navy);color:#fff;font-weight:700}
.tbl tbody th{color:var(--navy);font-weight:700}
.closing{background:var(--sky)}
.closing h2{margin-bottom:12px}
.closing p{max-width:36em}
.closing .cta-row{margin-top:24px}
.credo{font-size:22px;font-weight:700;color:var(--navy);line-height:1.6;margin:0 0 12px;font-feature-settings:"palt"}

/* よくある質問：開閉の動きが要るページの形 */
.faq-cat{font-size:18px;font-weight:700;color:var(--navy);line-height:1.5;margin:44px 0 12px;font-feature-settings:"palt"}
.faq-cat:first-child{margin-top:0}
.faq-item{border-bottom:1px solid var(--navy)}
.faq-cat+.faq-item{border-top:1px solid var(--navy)}
.faq-q{display:grid;grid-template-columns:1.1em minmax(0,1fr);width:100%;background:none;border:0;font:inherit;text-align:left;cursor:pointer;font-weight:700;color:var(--navy);padding:16px 0;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
.faq-q::before{content:"\25B8"}
.faq-item.open .faq-q::before{content:"\25BE"}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-a>div{padding:0 0 18px 1.1em;font-size:15px}
.faq-end{margin-top:32px}
.faq-end .btn{margin-top:16px}

@media(max-width:1040px){
  .hero-pic{width:440px}
  .bar nav a:not(.navbtn){display:none}
  .menu-btn{display:block}
  .bar{gap:16px}
  .bar nav{margin-left:auto}
}
@media(max-width:820px){
  .hero .wrap{min-height:0;padding-bottom:0}
  .hero-pic{position:static;width:100%;max-width:340px;margin:18px auto 8px}
  .cases{grid-template-columns:minmax(0,1fr)}
  .voices{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media(max-width:640px){
  body{font-size:15px}
  .wrap{padding:0 20px}
  section{padding:60px 0}
  .hero{padding:0}
  h2{font-size:24px}
  h3{font-size:18px}
  .bar{height:56px}
  .bar img{height:30px}
  .bar nav{display:none}
  .mobile-menu{top:56px;padding:6px 20px 12px}
  .hero .wrap{padding-top:20px}
  .eyebrow{font-size:12.5px;line-height:1.5}
  .eyebrow span{display:block}
  .eyebrow .sep{display:none}
  .eyebrow span:first-child{font-weight:700}
  h1{font-size:clamp(30px,8.4vw,38px);margin:6px 0 8px}
  .hero-sub{font-size:18px}
  .hero-body{margin:8px 0 14px;line-height:1.75}
  .pc{display:none}
  .btn{display:block;font-size:16px;padding:14px 16px}
  .hero-note{margin-top:8px;font-size:12px;line-height:1.6}
  .hero-book{margin-top:4px;font-size:12px}
  .stats{gap:22px 36px}
  .stats b{font-size:36px}
  .case{grid-template-columns:minmax(0,1fr);gap:2px}
  .book{grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:start}
  .book h2{font-size:20px}
  .rep{grid-template-columns:minmax(0,1fr);gap:14px}
  .rep img{width:96px;height:96px}
}

@media(max-width:1040px){
  .hero--page .hero-pic{width:320px}
}
@media(min-width:821px) and (max-width:1040px){.hero--page .hero-text{max-width:calc(100% - 340px)}}
@media(min-width:821px) and (max-width:1040px){.hero--page:has(.hero-photo) .hero-text{max-width:calc(100% - 230px)}.hero--page:not(:has(.hero-pic,.hero-photo)) .hero-text{max-width:600px}}
@media(max-width:820px){
  .hero--page .wrap{min-height:0;padding-bottom:0}
  .hero--page .hero-pic{width:100%;max-width:280px}
  .hero-photo{position:static;transform:none;display:block;width:120px;height:120px;margin:18px 0 24px}
  .card-grid.cols2,.card-grid.cols3,.check-grid{grid-template-columns:minmax(0,1fr)}
  .check-grid{row-gap:32px}
}
@media(max-width:640px){
  .hero--page .wrap{padding-top:18px}
  .hero--page h1{font-size:clamp(25px,7vw,30px);line-height:1.4}
    .cta-row .btn,.cta-row .btn-ghost{width:100%}
  .tl-item{grid-template-columns:64px minmax(0,1fr)}
  .tl-year{font-size:17px}
  .def dl{grid-template-columns:minmax(0,1fr)}
  .def dt{border-bottom:0;padding:12px 0 0}
  .def dd{padding:0 0 12px}
  .flow-item{grid-template-columns:40px minmax(0,1fr)}
  .credo{font-size:18px}
  .tbl{font-size:14px}
  .tbl th,.tbl td{padding:8px 6px}
}
