/* ======================================================
   Hack Company — refined / premium design system
   ====================================================== */
:root{
  --wine:#880048;
  --wine-deep:#5c0030;
  --ink:#1c161a;
  --ink-soft:#6f666c;
  --paper:#fbf9f8;
  --cream:#f3ede9;
  --line:#e7ded8;
  --white:#ffffff;
  --serif-jp:"Zen Old Mincho",serif;
  --serif-lat:"Zen Old Mincho",serif;
  --sans:"Noto Sans JP","Inter",-apple-system,"Yu Gothic",YuGothic,Meiryo,sans-serif;
  --util:"Inter","Noto Sans JP",sans-serif;
  --max:1100px;
  --gut:clamp(20px,5vw,72px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-weight:400;line-height:1.95;
  letter-spacing:.02em;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{width:min(var(--max),100% - calc(var(--gut)*2));margin-inline:auto}

/* ---------- utility type ---------- */
.kicker{
  font-family:var(--util);font-weight:600;font-size:.72rem;
  letter-spacing:.34em;text-transform:uppercase;color:var(--wine);
  display:inline-flex;align-items:center;gap:.9em;
}
.kicker::before{content:"";width:26px;height:1px;background:var(--wine)}
h1,h2,h3{font-family:var(--serif-jp);font-weight:600;color:var(--ink);margin:0;line-height:1.5;letter-spacing:.04em}
.lead{color:var(--ink-soft);font-size:clamp(1rem,1.3vw,1.08rem);line-height:2.05;margin:0}

.alink{
  font-family:var(--util);font-weight:600;font-size:.86rem;letter-spacing:.12em;
  color:var(--ink);display:inline-flex;align-items:center;gap:.7em;
  padding-bottom:6px;border-bottom:1px solid var(--ink);transition:.3s;
}
.alink .ar{color:var(--wine);transition:transform .3s}
.alink:hover{color:var(--wine);border-color:var(--wine)}
.alink:hover .ar{transform:translateX(5px)}

.btn{
  font-family:var(--util);font-weight:600;letter-spacing:.1em;font-size:.85rem;
  display:inline-flex;align-items:center;gap:.7em;min-height:50px;padding:0 26px;
  background:var(--wine);color:#fff;border:1px solid var(--wine);transition:.3s;cursor:pointer;
}
.btn:hover{background:var(--wine-deep);border-color:var(--wine-deep)}
.btn.ghost{background:transparent;color:var(--ink);border-color:rgba(28,22,26,.22)}
.btn.ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn.light{background:#fff;color:var(--wine);border-color:#fff}
.btn.light:hover{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}

/* ---------- header ---------- */
.head{
  position:sticky;top:0;z-index:60;background:rgba(251,249,248,.86);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line);
}
.head-in{height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center}
.brand-logo{height:34px;width:auto;display:block}
.nav{display:flex;align-items:center;gap:30px}
.nav a:not(.btn){font-size:.9rem;letter-spacing:.06em;color:#4b444a;position:relative;padding:4px 0}
.nav a:not(.btn)::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:1px;background:var(--wine);transition:.3s}
.nav a:not(.btn):hover::after{width:100%}
.burger{display:none;width:42px;height:42px;border:1px solid var(--line);background:transparent;font-size:20px;color:var(--ink);cursor:pointer}

/* ---------- hero (top page) ---------- */
.hero{position:relative}
.hero-grid{
  display:grid;grid-template-columns:1fr minmax(0,46%);
  min-height:0;align-items:stretch;
}
.hero-copy{padding:clamp(40px,5vw,64px) clamp(28px,4vw,56px) clamp(40px,5vw,64px) max(var(--gut), calc((100vw - var(--max)) / 2))}
.hero-copy>*{opacity:0;transform:translateY(16px);animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards}
.hero-copy>*:nth-child(1){animation-delay:.05s}
.hero-copy>*:nth-child(2){animation-delay:.16s}
.hero-copy>*:nth-child(3){animation-delay:.28s}
.hero-copy>*:nth-child(4){animation-delay:.4s}
@keyframes rise{to{opacity:1;transform:none}}
.hero h1{
  font-size:clamp(1.9rem,3vw,3rem);font-weight:700;line-height:1.34;
  letter-spacing:.03em;margin:18px 0 22px;
}
.hero h1 .accent{color:var(--wine)}
.hero .lead{max-width:30em;margin-bottom:28px;line-height:1.9}
.hero-cta{display:flex;flex-wrap:wrap;gap:20px 30px;align-items:center}
.hero-media{position:relative;align-self:stretch;overflow:hidden;background:var(--cream)}
.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 64%}
.hero-media::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(28,22,26,.05)}
.vtag{
  position:absolute;left:-1px;top:50%;transform:translateY(-50%);z-index:3;
  writing-mode:vertical-rl;font-family:var(--serif-jp);font-weight:500;
  font-size:.82rem;letter-spacing:.5em;color:var(--ink);
  background:var(--paper);padding:22px 9px;border:1px solid var(--line);border-left:0;
}
.hero-foot{border-top:1px solid var(--line);display:flex;flex-wrap:wrap}
.hero-foot .pill{
  font-family:var(--util);font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--ink-soft);padding:18px 0;flex:1 1 0;min-width:120px;text-align:center;
  border-right:1px solid var(--line);
}
.hero-foot .pill:last-child{border-right:0}

/* ---------- page hero (sub pages) ---------- */
.phero{position:relative;overflow:hidden;background:#241f24;background-size:cover;background-position:center;color:#fff}
.phero::before{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(20,12,16,.86) 0%,rgba(20,12,16,.66) 46%,rgba(92,0,48,.30) 100%)}
.phero .wrap{position:relative;padding:clamp(96px,12vw,148px) 0 clamp(54px,7vw,82px)}
.bc{font-family:var(--util);font-size:.76rem;letter-spacing:.16em;color:rgba(255,255,255,.7);margin-bottom:22px}
.bc a{color:#fff}.bc a:hover{color:rgba(255,255,255,.7)}
.phero .kicker{color:#fff}
.phero .kicker::before{background:rgba(255,255,255,.6)}
.phero h1{color:#fff;font-size:clamp(2.1rem,4vw,3.4rem);font-weight:700;margin:18px 0 18px;letter-spacing:.05em}
.phero .lead{color:rgba(255,255,255,.84);max-width:42em}
.phero--company{background-image:url("assets/page-company.jpg")}
.phero--message{background-image:url("assets/page-message.jpg")}
.phero--business{background-image:url("assets/page-business.jpg")}
.phero--recruit{background-image:url("assets/page-recruit.jpg")}
.phero--contact{background-image:url("assets/page-contact.png")}
.phero--youtube{background-image:url("assets/page-youtube.jpg")}
.phero--seminar{background-image:url("assets/page-seminar.jpg")}
.phero--privacy{background-image:url("assets/page-privacy.jpg")}
/* 被写体（デスク）が右寄りのため、狭い画面では焦点を右へ寄せる */
@media (max-width:860px){
  .phero--privacy{background-position:72% center}
}

/* ---------- section frame ---------- */
.sec{padding:clamp(82px,10vw,140px) 0}
.sec.tint{background:var(--cream)}
.sec-head{margin-bottom:clamp(44px,6vw,68px);max-width:760px}
.sec-head h2{font-size:clamp(1.8rem,3vw,2.7rem);font-weight:700;margin:20px 0 22px}
.sec-head .lead{max-width:46em}

/* ---------- editorial rows (business areas) ---------- */
.rows{border-top:1px solid var(--line)}
.row{
  display:grid;grid-template-columns:auto 1fr auto;gap:clamp(24px,4vw,64px);
  align-items:baseline;padding:clamp(30px,4vw,46px) 0;border-bottom:1px solid var(--line);transition:.4s;
}
.row:hover{background:rgba(136,0,72,.025)}
.row .mark{font-family:var(--serif-lat);font-weight:600;font-size:2.4rem;color:var(--wine);line-height:1;width:1.6em;letter-spacing:.02em}
.row .body h3{font-size:1.4rem;font-weight:700;margin-bottom:12px}
.row .body p{margin:0;color:var(--ink-soft);max-width:46em;line-height:1.95}
.row .go{align-self:center;white-space:nowrap}

/* ---------- message band (dark wine) ---------- */
.message{background:var(--wine-deep);color:#fff;position:relative;overflow:hidden}
.message::before{content:"";position:absolute;right:-140px;top:-140px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.05)}
.message .wrap{position:relative}
.message-grid{display:grid;grid-template-columns:minmax(0,300px) 1fr;gap:clamp(38px,5vw,76px);align-items:center}
.message .portrait{aspect-ratio:4/5;overflow:hidden;border:1px solid rgba(255,255,255,.14)}
.message .portrait img{width:100%;height:100%;object-fit:cover}
.message .kicker{color:#fff}
.message .kicker::before{background:rgba(255,255,255,.6)}
.message h2{color:#fff;font-size:clamp(1.7rem,2.8vw,2.5rem);font-weight:700;margin:22px 0 26px;line-height:1.55}
.message .lead{color:rgba(255,255,255,.82);max-width:40em;margin-bottom:34px}
.message .alink{color:#fff;border-color:rgba(255,255,255,.5)}
.message .alink .ar{color:#fff}
.message .alink:hover{color:#fff;border-color:#fff}

/* ---------- message article (代表挨拶 page) ---------- */
.msg-grid{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:clamp(40px,6vw,84px);align-items:start}
.msg-portrait{aspect-ratio:4/5;overflow:hidden;border:1px solid var(--line);position:sticky;top:108px}
.msg-portrait img{width:100%;height:100%;object-fit:cover}
.msg-body h2{font-size:clamp(1.7rem,2.8vw,2.5rem);font-weight:700;margin:20px 0 30px;line-height:1.55}
.msg-body p{color:#39323a;line-height:2.15;margin:0 0 24px;max-width:42em}
.msg-body .note{color:var(--ink-soft)}
.msg-sign{font-family:var(--serif-jp);font-weight:600;color:var(--ink);font-size:1.1rem;letter-spacing:.06em;margin-top:6px}
.msg-actions{display:flex;flex-wrap:wrap;gap:18px 26px;margin-top:38px;padding-top:32px;border-top:1px solid var(--line)}

/* ---------- definition list (会社概要) ---------- */
.deflist{border-top:1px solid var(--line)}
.deflist .di{display:grid;grid-template-columns:minmax(150px,24%) 1fr;gap:clamp(18px,3vw,40px);padding:22px 0;border-bottom:1px solid var(--line)}
.deflist dt{font-weight:700;color:var(--wine);font-size:.96rem;letter-spacing:.06em}
.deflist dd{margin:0;color:var(--ink);line-height:1.9}
.deflist dd a{color:var(--wine);font-weight:700}

/* ---------- hairline cells (panels) ---------- */
.cells{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.cells.two{grid-template-columns:1fr 1fr}
.cells.three{grid-template-columns:repeat(3,1fr)}
.cell{background:var(--white);padding:clamp(28px,3.2vw,46px)}
.cell h3{font-size:1.25rem;font-weight:700;margin-bottom:14px}
.cell p{margin:0;color:var(--ink-soft);line-height:1.95}
.cell .alink,.cell .btn{margin-top:24px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.chip{font-family:var(--util);font-size:.82rem;letter-spacing:.03em;color:#39323a;border:1px solid var(--line);background:#fff;padding:9px 15px;white-space:nowrap}

/* ---------- person profile ---------- */
.profile{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:clamp(28px,4vw,56px);align-items:center}
.profile .avatar{aspect-ratio:4/5;overflow:hidden;border:1px solid var(--line);background:var(--cream)}
.profile .avatar img{width:100%;height:100%;object-fit:cover;object-position:center 6%}
.profile h3{font-size:clamp(1.4rem,2.2vw,1.85rem);font-weight:600;margin-bottom:8px}
.profile .role{font-family:var(--util);font-size:.82rem;letter-spacing:.12em;color:var(--wine);text-transform:uppercase;margin:0 0 18px}
.profile p.bio{margin:0;color:var(--ink-soft);line-height:2.05;max-width:40em}
@media (max-width:640px){
  .profile{grid-template-columns:1fr;gap:24px}
  .profile .avatar{max-width:200px;aspect-ratio:1/1}
  .profile .avatar img{object-position:center 8%}
}

/* ---------- video placeholder frame ---------- */
.vidframe{position:relative;aspect-ratio:16/9;background:var(--cream);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.vidframe .play{width:66px;height:66px;border-radius:50%;background:var(--wine);position:relative;box-shadow:0 10px 30px rgba(136,0,72,.22)}
.vidframe .play::after{content:"";position:absolute;top:50%;left:56%;transform:translate(-50%,-50%);border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #fff}
.vidframe .cap{position:absolute;bottom:14px;left:16px;font-family:var(--util);font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.vidgrid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,32px)}
.vidgrid .item h3{font-size:1.15rem;font-weight:600;margin:18px 0 8px}
.vidgrid .item p{margin:0;color:var(--ink-soft);line-height:1.9}

/* ---------- customer voices ---------- */
.voices{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.voice{background:#fff;padding:clamp(26px,3vw,38px);display:flex;flex-direction:column;gap:18px}
.voice .q{font-family:var(--serif-jp);font-weight:500;font-size:1.08rem;line-height:1.95;color:var(--ink)}
.voice .q::before{content:"“";color:var(--wine);font-size:1.4em;line-height:0;margin-right:.05em;vertical-align:-.35em}
.voice .who{display:flex;align-items:center;gap:12px;margin-top:auto}
.voice .who .ph{width:40px;height:40px;border-radius:50%;background:var(--cream);border:1px solid var(--line);flex:none}
.voice .who .meta{font-family:var(--util);font-size:.8rem;line-height:1.5;color:var(--ink-soft)}
.voice .who .meta b{display:block;color:var(--ink);font-weight:600;font-size:.86rem}

/* ---------- process steps ---------- */
.steps{border-top:1px solid var(--line)}
.step{display:grid;grid-template-columns:auto 1fr;gap:clamp(20px,3vw,44px);padding:clamp(24px,3vw,34px) 0;border-bottom:1px solid var(--line);align-items:baseline}
.step .n{font-family:var(--serif-lat);font-weight:600;font-size:1.7rem;color:var(--wine);line-height:1;min-width:2.2em}
.step h3{font-size:1.2rem;font-weight:600;margin-bottom:8px}
.step p{margin:0;color:var(--ink-soft);line-height:1.9;max-width:46em}

/* ---------- stats ---------- */
.stat b{display:block;font-family:var(--serif-jp);font-weight:600;font-size:clamp(1.8rem,3vw,2.4rem);color:var(--wine);line-height:1.1;margin-bottom:8px}
.stat span{font-family:var(--util);font-size:.82rem;letter-spacing:.08em;color:var(--ink-soft)}

/* ---------- multi CTA band ---------- */
.cta3 .wrap{display:block;text-align:center}
.cta3 .kicker{justify-content:center}
.cta3 h2{color:#fff;font-size:clamp(1.7rem,2.8vw,2.4rem);font-weight:600;margin:18px 0 14px}
.cta3 p{color:rgba(255,255,255,.82);margin:0 auto 32px;max-width:46em}
.cta3 .row-btns{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}

/* badge row (対象読者/こんな方へ) */
.leadin{color:var(--ink-soft);line-height:2.05;max-width:44em}

@media (max-width:820px){
  .voices{grid-template-columns:1fr}
  .vidgrid{grid-template-columns:1fr}
}

/* ---------- connect (youtube/recruit links on top) ---------- */
.connect{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.connect .col{padding:clamp(40px,5vw,68px) clamp(8px,3vw,48px) clamp(40px,5vw,68px) 0}
.connect .col:first-child{border-right:1px solid var(--line);padding-right:clamp(28px,4vw,64px)}
.connect .col:last-child{padding-left:clamp(28px,4vw,64px);padding-right:0}
.connect h3{font-size:clamp(1.5rem,2.4vw,2.1rem);font-weight:700;margin:18px 0 18px;line-height:1.5}
.connect p{color:var(--ink-soft);margin:0 0 30px;max-width:34em}

/* ---------- job list (採用) ---------- */
.jobs{border-top:1px solid var(--line)}
.job{display:grid;grid-template-columns:1fr auto;gap:clamp(20px,3vw,48px);align-items:center;padding:clamp(26px,3.4vw,40px) 0;border-bottom:1px solid var(--line)}
.job h3{font-size:1.3rem;font-weight:700;margin-bottom:10px}
.job p{margin:0;color:var(--ink-soft);max-width:46em;line-height:1.9}
.job .go{white-space:nowrap}

/* ---------- cta band (deep wine, centered) ---------- */
.ctaband{background:var(--wine-deep);color:#fff;position:relative;overflow:hidden}
.ctaband::before{content:"";position:absolute;left:-120px;bottom:-120px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.05)}
.ctaband .wrap{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px}
.ctaband .kicker{color:#fff}.ctaband .kicker::before{background:rgba(255,255,255,.6)}
.ctaband h2{color:#fff;font-size:clamp(1.6rem,2.6vw,2.3rem);font-weight:700;margin:18px 0 16px;line-height:1.5}
.ctaband p{color:rgba(255,255,255,.82);margin:0;max-width:40em}
.ctaband .band-text{max-width:56ch}

/* ---------- contact ---------- */
.contact{text-align:center}
.contact .kicker{justify-content:center}
.contact h2{font-size:clamp(2rem,3.6vw,3.2rem);font-weight:700;margin:22px 0 26px}
.contact .lead{max-width:40em;margin:0 auto 30px}
.contact .mail{font-family:var(--serif-lat);font-size:clamp(1.6rem,3.4vw,2.6rem);font-weight:600;color:var(--wine);letter-spacing:.04em;margin:0 0 36px;word-break:break-word}
.contact .mail a:hover{color:var(--wine-deep)}
.contact .cells{margin-top:clamp(48px,6vw,72px);text-align:left}

/* ---------- footer ---------- */
.foot{background:var(--ink);color:#efe9ec;padding:clamp(64px,8vw,92px) 0 34px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:46px}
.foot-brand img{width:132px;margin-bottom:20px}
.foot-brand p{color:rgba(255,255,255,.62);max-width:30em;font-size:.92rem;line-height:1.9}
.foot h4{font-family:var(--util);font-size:.72rem;letter-spacing:.26em;text-transform:uppercase;color:rgba(255,255,255,.5);margin:0 0 18px;font-weight:600}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.foot ul a{color:rgba(255,255,255,.82);font-size:.92rem}
.foot ul a:hover{color:#fff}
.foot-base{margin-top:clamp(44px,6vw,68px);padding-top:24px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:rgba(255,255,255,.5);font-size:.82rem;font-family:var(--util);letter-spacing:.08em}

/* ---------- responsive ---------- */
@media (max-width:920px){
  .nav{position:fixed;inset:80px var(--gut) auto;flex-direction:column;align-items:stretch;gap:6px;background:#fff;border:1px solid var(--line);padding:18px;display:none}
  .nav.open{display:flex}
  .nav a:not(.btn){padding:12px 4px;border-bottom:1px solid var(--line)}
  .nav .btn{margin-top:8px;justify-content:center}
  .burger{display:inline-flex;align-items:center;justify-content:center}
  .hero-grid{grid-template-columns:1fr;min-height:0}
  .hero-copy{padding:56px var(--gut) 48px;order:2}
  .hero-media{order:1;min-height:340px}
  .vtag{display:none}
  .hero-foot{grid-column:1 / -1}
  .message-grid{grid-template-columns:1fr;gap:34px}
  .message .portrait{aspect-ratio:16/10;max-height:340px}
  .msg-grid{grid-template-columns:1fr;gap:34px}
  .msg-portrait{position:static;aspect-ratio:16/10;max-height:360px}
  .connect{grid-template-columns:1fr}
  .connect .col{padding:44px 0;border-right:0!important;border-bottom:1px solid var(--line)}
  .connect .col:first-child{padding-left:0}
  .connect .col:last-child{border-bottom:0}
  .cells.two,.cells.three{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr;gap:34px}
}
@media (max-width:560px){
  .row{grid-template-columns:auto 1fr;row-gap:18px}
  .row .go{grid-column:1 / -1}
  .hero-foot .pill{flex:1 1 50%;min-width:0;border-bottom:1px solid var(--line)}
  .deflist .di{grid-template-columns:1fr;gap:6px}
  .deflist dt{font-size:.82rem;letter-spacing:.1em}
  .job{grid-template-columns:1fr;row-gap:18px}
}
@media (prefers-reduced-motion:reduce){
  .hero-copy>*{animation:none;opacity:1;transform:none}
  html{scroll-behavior:auto}
}

/* ======================================================
   Refresh additions (BtoB brush-up 2026)
   ====================================================== */

/* ---------- "任せられる理由" checklist ---------- */
.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.check{background:#fff;padding:clamp(24px,2.8vw,36px);display:flex;gap:16px;align-items:flex-start}
.check.wide{grid-column:1 / -1}
.check .ic{flex:none;width:30px;height:30px;border-radius:50%;background:var(--wine);position:relative;margin-top:3px}
.check .ic::after{content:"";position:absolute;left:10px;top:8px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(42deg)}
.check h3{font-size:1.1rem;font-weight:600;margin:0 0 7px;line-height:1.5}
.check p{margin:0;color:var(--ink-soft);line-height:1.9;font-size:.95rem}
@media (max-width:820px){.checks{grid-template-columns:1fr}}

/* ---------- richer voice card (お客様の声) ---------- */
.voice .vtag2{align-self:flex-start;font-family:var(--util);font-weight:600;font-size:.72rem;letter-spacing:.1em;color:var(--wine);border:1px solid rgba(136,0,72,.38);padding:6px 13px}
.vfields{margin:0;display:grid;gap:16px}
.vfields>div{display:grid;gap:5px}
.vfields dt{font-family:var(--util);font-weight:600;font-size:.72rem;letter-spacing:.12em;color:var(--ink-soft)}
.vfields dd{margin:0;font-size:.96rem;line-height:1.85;color:var(--ink)}
.voice.blank{align-items:center;justify-content:center;text-align:center;color:var(--ink-soft);gap:12px}
.voice.blank .soon{margin:0 auto}

/* ---------- soft note (掲載予定などの自然な注記) ---------- */
.softnote{font-family:var(--util);font-size:.86rem;letter-spacing:.03em;color:var(--ink-soft);line-height:1.8;border-left:2px solid rgba(136,0,72,.4);padding:3px 0 3px 16px;margin:22px 0 0;max-width:44em}

/* ---------- coming-soon chip ---------- */
.soon{display:inline-flex;align-items:center;font-family:var(--util);font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);border:1px solid var(--line);padding:6px 12px}

/* ---------- photo / report placeholder frames (seminar future) ---------- */
.phframe{position:relative;aspect-ratio:4/3;background:var(--cream);border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.phframe .cap{font-family:var(--util);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft)}
.phgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2.4vw,24px)}
@media (max-width:820px){.phgrid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.phgrid{grid-template-columns:1fr}}

/* seminar hero: plain dark (no photo) reads as intentional */
.phero--plain{background:#241f24}

/* ---------- fix: .cta3 (centered 3-button CTA) must override .ctaband split layout ---------- */
.ctaband.cta3 .wrap{display:block;text-align:center}
.ctaband.cta3 .kicker{justify-content:center}
.ctaband.cta3 h2{margin:18px auto 14px;max-width:22em}
.ctaband.cta3 p{margin:0 auto 32px;max-width:46em}
.ctaband.cta3 .row-btns{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}

/* ---------- Japanese-aware line breaking (avoid awkward mid-phrase wraps) ---------- */
/* headings: balance line lengths; body: optimize the last line's rag */
h1,h2,h3,h4{text-wrap:balance}
p,.lead,li,dd{text-wrap:pretty}
/* break Japanese at natural phrase (文節) boundaries where the engine supports it */
h1,h2,h3,h4,p,.lead,li,dt,dd,.chip,.cell p,.check p,.step p,.job p,.row .body p,.voice dd,.connect p,.msg-body p{word-break:auto-phrase;line-break:strict}
/* keep the hero subcopy on its intended three lines on desktop */
.hero .lead{max-width:34em}

/* manual line breaks apply on wider screens; phones fall back to auto phrase-wrapping */
@media (max-width:640px){ br.pc{display:none} }



/* ======================================================
   Confirmed content revision 2026-07
   ====================================================== */
.hero-sub{font-family:var(--serif-jp);font-weight:600;font-size:clamp(1.08rem,1.65vw,1.32rem);line-height:1.8;margin:0 0 20px;color:var(--ink)}
.card-no{display:block;font-family:var(--serif-lat);font-size:1.6rem;color:var(--wine);margin-bottom:18px}
.section-cta{margin-top:clamp(30px,4vw,46px);display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px}
.section-cta p{margin:0;color:var(--ink-soft);max-width:42em}
.service-close{margin-top:clamp(32px,5vw,52px);padding:clamp(26px,4vw,40px);background:var(--cream);border-left:3px solid var(--wine);display:grid;gap:18px;justify-items:start}
.service-close p{margin:0;max-width:50em;color:var(--ink-soft)}
.service-close strong{color:var(--wine);font-size:1.06rem}
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.case-card{background:#fff;padding:clamp(24px,3vw,36px)}
.case-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.case-tags span{font-family:var(--util);font-size:.72rem;letter-spacing:.06em;color:var(--wine);border:1px solid rgba(136,0,72,.28);padding:5px 10px}
.case-card dl{margin:0;display:grid;grid-template-columns:5em 1fr;gap:12px 16px}
.case-card dt{font-weight:700;color:var(--ink)}
.case-card dd{margin:0;color:var(--ink-soft)}
.date-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:24px}
.date-list>div{background:#fff;padding:20px;text-align:center;color:var(--wine)}
.seminar-schedule{margin-top:36px;padding:clamp(24px,4vw,38px);background:#fff;border:1px solid var(--line)}
.seminar-schedule h3{font-size:1.35rem;margin-bottom:12px}
.seminar-schedule>p:not(.softnote){color:var(--ink-soft);margin:22px 0 0}
.faq-list{border-top:1px solid var(--line)}
.faq-list details{border-bottom:1px solid var(--line);padding:22px 0}
.faq-list summary{cursor:pointer;font-family:var(--serif-jp);font-weight:600;font-size:1.08rem;list-style:none;padding-right:36px;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"＋";position:absolute;right:4px;top:0;color:var(--wine)}
.faq-list details[open] summary::after{content:"−"}
.faq-list p{margin:18px 0 0;color:var(--ink-soft);max-width:52em}
.unified-cta{background:linear-gradient(180deg,var(--paper),var(--cream));border-top:1px solid var(--line)}
.unified-head{max-width:820px}
.entry-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:clamp(42px,6vw,66px)}
.entry-card{background:#fff;border:1px solid var(--line);padding:clamp(26px,4vw,42px);display:flex;flex-direction:column;align-items:flex-start}
.entry-label{font-family:var(--util);font-size:.76rem;letter-spacing:.08em;color:var(--wine);margin-bottom:14px}
.entry-card h3{font-size:clamp(1.25rem,2vw,1.65rem);margin-bottom:12px}
.entry-card p{color:var(--ink-soft);margin:0 0 24px}
.entry-card .btn{margin-top:auto}
.consult-flow{margin-bottom:clamp(38px,5vw,56px)}
.consult-flow>h3{font-size:1.45rem;margin-bottom:18px}
.flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.flow-grid>div{background:#fff;padding:24px}
.flow-grid span{display:block;font-family:var(--serif-lat);font-size:1.5rem;color:var(--wine);margin-bottom:12px}
.flow-grid b{display:block;margin-bottom:6px}
.flow-grid p{margin:0;color:var(--ink-soft);font-size:.9rem}
.placeholder-form{background:#fff;border:1px solid var(--line);padding:clamp(26px,5vw,54px)}
.form-intro{margin-bottom:28px}
.form-intro h3{font-size:clamp(1.45rem,2.4vw,2rem);margin:14px 0 10px}
.form-intro p{margin:0;color:var(--ink-soft)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.form-grid label{display:grid;gap:9px;font-weight:700;font-size:.92rem}
.field-title{display:flex;align-items:center;gap:8px}
.field-title em{font-family:var(--util);font-style:normal;font-weight:600;font-size:.66rem;letter-spacing:.08em;color:#fff;background:var(--wine);padding:3px 7px}
.field-title em.optional{background:var(--ink-soft)}
.form-grid input,.form-grid select{width:100%;min-height:52px;border:1px solid var(--line);background:var(--paper);padding:0 14px;font:inherit;color:var(--ink);border-radius:0}
.form-grid input:focus,.form-grid select:focus{outline:2px solid rgba(136,0,72,.15);border-color:var(--wine)}
.form-submit{margin-top:24px;opacity:.48;cursor:not-allowed}
.assurance{margin:24px 0 0;padding:16px 18px;background:var(--cream);color:var(--ink);font-weight:500}
.line-note{
  display:flex;align-items:flex-start;gap:8px;
  margin:12px 0 0;font-size:.82rem;line-height:1.7;
  color:var(--ink-soft,#655c62);
}
.line-note-badge{
  flex:none;margin-top:.1em;
  display:inline-block;padding:2px 7px;border-radius:4px;
  background:#06C755;color:#fff;font-size:.68rem;font-weight:700;
  letter-spacing:.04em;line-height:1.4;
}
.contact-mail{margin:18px 0 0;color:var(--ink-soft)}
.contact-mail a{color:var(--wine);font-weight:700}
.compact-deflist{max-width:900px}

@media(max-width:920px){
  .case-grid,.date-list,.entry-grid,.flow-grid,.form-grid{grid-template-columns:1fr}
  .section-cta{align-items:flex-start;flex-direction:column}
  .section-cta .btn,.service-close .btn{white-space:normal;text-align:center;justify-content:center}
}
@media(max-width:560px){
  .hero-copy{padding-top:44px}
  .hero-media{min-height:260px}
  .case-card dl{grid-template-columns:1fr;gap:5px}
  .case-card dd{margin-bottom:12px}
  .entry-card .btn,.section-cta .btn,.service-close .btn{width:100%;justify-content:center;line-height:1.5;padding-top:12px;padding-bottom:12px}
}

/* ======================================================
   Home page visual implementation 2026-07
   Scoped to body.home so existing sub pages remain intact.
   ====================================================== */
.home{
  --home-radius:12px;
  --home-shadow:0 16px 45px rgba(62,43,53,.06);
  --home-soft:#f8f3f0;
  --home-border:#e8ded8;
  background:#fcfaf9;
}
/* ヘッダーはトップ／下層で完全に共通。
   項目の増減があってもページ間で差が出ないよう、.home 専用の
   高さ・字送り・文字サイズの上書きは行わない。
   トップは本文の --max が広い（1180px）ため、ヘッダーの内側だけ
   下層と同じ 1100px に固定してロゴ・ナビの位置を揃える。 */
.home .head{background:rgba(251,249,248,.86)}
.home .head .wrap{--gut:clamp(20px,5vw,72px);width:min(1100px,100% - calc(var(--gut)*2))}
.home .btn{border-radius:6px;justify-content:center}
.home .btn-arrow::after{content:"→";font-size:1.05rem;transition:transform .25s}
.home .btn-arrow:hover::after{transform:translateX(4px)}
.home .kicker-line{display:block;letter-spacing:.04em;text-transform:none;font-family:var(--serif-lat);font-size:.85rem}
.home .kicker-line::before{display:none}
.home .kicker-line::after{content:"";display:block;width:38px;height:2px;background:var(--wine);margin-top:12px}
.home .tint-soft{background:linear-gradient(180deg,#faf6f3 0%,#f6f0ec 100%)}
.home .home-sec{padding:clamp(74px,8vw,116px) 0}
.home .home-heading{max-width:880px;margin-bottom:clamp(34px,4.8vw,56px)}
.home .home-heading h2{font-size:clamp(2rem,3.5vw,3rem);font-weight:600;line-height:1.45;margin:19px 0 14px}
.home .home-heading .lead{font-size:.98rem;max-width:66em;line-height:1.9}
.home .heading-sub{font-size:.76em;font-weight:500;color:#393139}

.home .home-hero .hero-grid{grid-template-columns:minmax(0,50%) minmax(0,50%);min-height:680px}
.home .home-hero .hero-copy{display:flex;flex-direction:column;justify-content:center;padding-top:60px;padding-bottom:62px}
.home .home-hero h1{font-size:clamp(2.55rem,4.25vw,4.15rem);line-height:1.38;margin:22px 0 22px;font-weight:600}
.home .home-hero h1 .accent{color:var(--ink)}
.home .home-hero .hero-sub{font-size:clamp(1.08rem,1.55vw,1.34rem);line-height:1.85;margin-bottom:24px}
.home .home-hero .lead{font-size:.94rem;line-height:2.05;max-width:42em;margin-bottom:34px}
.home .home-hero .hero-cta{gap:14px}
.home .home-hero .btn{min-height:56px;padding:0 25px}
.home .home-hero .hero-media img{object-position:center 60%}

.home .feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home .feature-card{position:relative;background:#fff;border:1px solid var(--home-border);border-radius:var(--home-radius);padding:clamp(26px,3vw,38px);box-shadow:var(--home-shadow);min-height:100%;transition:transform .25s,box-shadow .25s,border-color .25s}
.home .feature-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(62,43,53,.1);border-color:rgba(136,0,72,.26)}
.home .icon-circle{width:74px;height:74px;display:flex;align-items:center;justify-content:center;margin-bottom:22px;flex:none}
.home .icon-circle img{display:block;width:100%;height:100%;object-fit:contain}
.home .feature-card h3{font-size:clamp(1.18rem,1.65vw,1.42rem);line-height:1.65;margin:0}
.home .mini-line{display:block;width:34px;height:2px;background:var(--wine);margin:20px 0}
.home .feature-card p{margin:0;color:#5d545b;font-size:.93rem;line-height:1.95}
.home .compact-card{padding-top:30px}
.home .compact-card .icon-circle{width:74px;height:74px}

.home .inline-cta{display:flex;align-items:center;justify-content:center;gap:34px;margin-top:36px;padding:18px 22px;border-radius:8px;background:rgba(255,255,255,.62)}
.home .inline-cta p{margin:0;color:#443b42;font-family:var(--serif-jp);font-weight:500}
.home .inline-cta .btn{min-height:50px}

.home .demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home .demo-card{background:#fff;border:1px solid var(--home-border);border-radius:var(--home-radius);padding:10px 10px 22px;box-shadow:var(--home-shadow);overflow:hidden}
.home .demo-card h3{text-align:center;font-size:1.03rem;line-height:1.8;margin:20px 10px 0}
.home .demo-screen{height:242px;border-radius:8px;background:#f3f5f8;border:1px solid #e3e7ec;overflow:hidden;color:#24303d;font-family:var(--sans)}
.home .dashboard-ui{display:grid;grid-template-columns:54px 1fr;background:#f7f9fb}
.home .dash-sidebar{background:#273748;display:flex;flex-direction:column;align-items:center;gap:15px;padding-top:24px}
.home .dash-sidebar i{width:22px;height:7px;border-radius:4px;background:rgba(255,255,255,.28)}
.home .dash-main{padding:16px}
.home .dash-kpis{display:grid;grid-template-columns:1.5fr .75fr .85fr;gap:8px}
.home .dash-kpis span{background:#fff;border:1px solid #e8edf1;border-radius:6px;padding:11px 8px;display:flex;flex-direction:column-reverse;gap:4px}
.home .dash-kpis b{font-size:.85rem}.home .dash-kpis small{font-size:.55rem;color:#73808b}
.home .dash-panels{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;margin-top:13px;height:128px}
.home .bar-chart,.home .donut{background:#fff;border:1px solid #e8edf1;border-radius:6px;position:relative}
.home .bar-chart{display:flex;align-items:flex-end;justify-content:space-around;padding:18px 13px 16px}
.home .bar-chart::before{content:"";position:absolute;inset:18px 13px;background:repeating-linear-gradient(to bottom,transparent 0 22px,#edf0f3 23px 24px)}
.home .bar-chart i{position:relative;width:12%;border-radius:3px 3px 0 0;background:linear-gradient(#8ab4ff,#4e82d8)}
.home .donut::before{content:"";position:absolute;left:50%;top:50%;width:82px;height:82px;border-radius:50%;transform:translate(-50%,-50%);background:conic-gradient(#4d7fc7 0 68%,#dce6f3 68%)}
.home .donut::after{content:"";position:absolute;left:50%;top:50%;width:53px;height:53px;border-radius:50%;transform:translate(-50%,-50%);background:#fff}
.home .donut span{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);font-size:.72rem;font-weight:700}
.home .assistant-ui{display:grid;grid-template-columns:38% 62%;background:#fafbfc}
.home .chat-list{padding:18px 12px;border-right:1px solid #e6e9ec;display:grid;align-content:start;gap:12px;font-size:.56rem;color:#64717b}
.home .chat-list b{font-size:.7rem;color:#22303e;margin-bottom:4px}
.home .chat-list span{padding:7px;border-radius:5px;background:#fff}
.home .chat-main{padding:25px 18px;display:flex;flex-direction:column;gap:12px}
.home .bot-bubble,.home .user-bubble{padding:11px 12px;border-radius:10px;font-size:.62rem;line-height:1.55;max-width:92%}
.home .bot-bubble{background:#eef2f7;align-self:flex-start}.home .user-bubble{background:#dce9fa;align-self:flex-end}.home .typing{font-size:.55rem;color:#9aa4ad;background:#eef1f4;border-radius:10px;padding:7px 10px;align-self:flex-start;letter-spacing:.3em}
.home .workflow-ui{padding:13px;background:#fbfcfd}
.home .flow-title{font-size:.68rem;font-weight:700;padding-bottom:10px;border-bottom:1px solid #e8ecef}.home .flow-title span{float:right;background:#e5f6eb;color:#3b9c60;padding:3px 7px;border-radius:4px;font-size:.5rem}
.home .flow-canvas{height:185px;position:relative}
.home .flow-node{position:absolute;z-index:2;background:#fff;border:1px solid #dfe5ea;border-radius:5px;padding:7px 8px;font-size:.52rem;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.03)}
.home .flow-node::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#6e9bea;margin-right:5px}
.home .flow-node.n1{left:10px;top:24px}.home .flow-node.n2{left:10px;top:88px}.home .flow-node.n3{left:38%;top:88px}.home .flow-node.n4{right:8px;top:24px}.home .flow-node.n5{right:10px;bottom:10px}
.home .flow-canvas svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#bcc7d0;stroke-width:2}

.home .service-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:20px;align-items:center;margin-top:28px;padding:20px 22px;background:#faf5f4;border-radius:8px}
.home .service-bottom p{margin:0;color:#574e55;font-size:.9rem;line-height:1.8}
.home .price-badge{border:1px solid rgba(136,0,72,.4);color:var(--wine);border-radius:5px;padding:12px 18px;font-size:.84rem;white-space:nowrap;font-weight:700}

.home .timeline{position:relative;display:grid;gap:10px}
.home .timeline::before{content:"";position:absolute;left:30px;top:52px;bottom:52px;width:1px;background:var(--wine)}
.home .timeline-row{position:relative;display:grid;grid-template-columns:60px minmax(330px,1.05fr) minmax(260px,.8fr);gap:20px;align-items:center;background:#fff;border:1px solid var(--home-border);border-radius:8px;padding:18px 24px 18px 0;box-shadow:0 8px 25px rgba(62,43,53,.035)}
.home .timeline-no{position:relative;z-index:2;width:52px;height:52px;margin-left:4px;border:1px solid var(--wine);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--wine);font-family:var(--serif-lat);font-size:1.55rem}
.home .timeline-title{display:grid;grid-template-columns:74px 1fr;gap:10px;align-items:center}
.home .timeline-title small{color:var(--wine);font-family:var(--util);font-weight:700;letter-spacing:.06em}
.home .timeline-title h3{font-size:1.15rem;margin:0;line-height:1.55}
.home .timeline-row>p{margin:0;color:#665d63;font-size:.88rem;line-height:1.75}

.home .case-design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home .case-design-card{background:#fff;border:1px solid var(--home-border);border-radius:var(--home-radius);padding:26px;box-shadow:var(--home-shadow)}
.home .case-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}
.home .case-icon{width:60px;height:60px;display:flex;align-items:center;justify-content:center;flex:none}
.home .case-icon img{display:block;width:100%;height:100%;object-fit:contain}
.home .case-head h3{font-size:1.3rem;margin:2px 0 8px}
.home .case-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.home .case-tags span{border:0;background:#fae8ef;color:#a23164;border-radius:999px;padding:4px 9px;font-size:.64rem;font-weight:700}
.home .case-design-card dl{margin:0;display:grid;gap:16px}
.home .case-design-card dl>div{display:grid;gap:5px}
.home .case-design-card dt{color:var(--wine);font-size:.78rem;font-weight:700}
.home .case-design-card dd{margin:0;color:#5f565d;font-size:.87rem;line-height:1.75}
.home .case-cta{margin-top:18px;border:1px solid var(--home-border);background:#faf4f3;border-radius:8px;display:flex;justify-content:center;align-items:center;gap:36px;padding:17px 24px}
.home .case-cta p{font-family:var(--serif-jp);font-weight:600;margin:0}

.home .schedule-card{display:grid;grid-template-columns:72px repeat(3,minmax(0,1fr)) minmax(250px,1.25fr);align-items:stretch;background:#fff;border:1px solid var(--home-border);border-radius:10px;overflow:hidden;box-shadow:var(--home-shadow)}
.home .schedule-icon{display:flex;align-items:center;justify-content:center;color:var(--wine);border-right:1px solid var(--home-border)}
.home .schedule-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.home .schedule-date{padding:24px 20px;text-align:center;border-right:1px solid var(--home-border);display:flex;flex-direction:column;justify-content:center;gap:4px}
.home .schedule-date small{font-size:.68rem;font-weight:700}.home .schedule-date strong{font-family:var(--serif-jp);font-size:1.48rem;font-weight:600;white-space:nowrap}.home .schedule-date em{font-size:.72em;font-style:normal}
.home .schedule-note{padding:20px 24px;display:flex;flex-direction:column;justify-content:center;gap:9px}
.home .schedule-note p{margin:0;font-size:.78rem;color:#5f565d;padding-left:18px;position:relative}.home .schedule-note p::before{content:"●";position:absolute;left:0;color:var(--wine);font-size:.55rem}
.home .schedule-action{grid-column:1/-1;background:#faf4f3;padding:14px;display:flex;justify-content:center;border-top:1px solid var(--home-border)}

.home .company-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:64px;align-items:start}
.home .company-heading{margin-bottom:0}
.home .company-heading .lead{font-family:var(--serif-jp);font-weight:500;line-height:2}
.home .company-table{margin:0;border-top:1px solid var(--home-border)}
.home .company-table>div{display:grid;grid-template-columns:130px 1fr;border-bottom:1px solid var(--home-border);padding:14px 8px;gap:18px}
.home .company-table dt{font-size:.82rem;font-weight:700}.home .company-table dd{margin:0;font-size:.88rem;color:#51484f}.home .company-table a{color:var(--wine);font-weight:700}

.home .faq-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:64px;align-items:start}
.home .faq-heading{margin-bottom:0}
.home .home-faq{border:0;display:grid;gap:8px}
.home .home-faq details{background:#fff;border:1px solid var(--home-border);border-radius:7px;padding:0;overflow:hidden}
.home .home-faq summary{padding:17px 52px 17px 20px;font-size:.96rem;line-height:1.6}
.home .home-faq summary span{color:var(--wine);margin-right:12px}
.home .home-faq summary::after{right:20px;top:16px}
.home .home-faq p{margin:0;padding:0 20px 18px 50px;font-size:.86rem;line-height:1.8;max-width:none}

.home .contact-stage{background:linear-gradient(135deg,#6e003a 0%,#a60058 60%,#79003f 100%);color:#fff;padding:clamp(72px,8vw,105px) 0;position:relative;overflow:hidden}
.home .contact-stage::before,.home .contact-stage::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.04)}
.home .contact-stage::before{width:480px;height:480px;left:-220px;top:-180px}.home .contact-stage::after{width:360px;height:360px;right:-160px;bottom:-180px}
.home .contact-stage .wrap{position:relative}
.home .contact-stage-head{text-align:center;max-width:760px;margin:0 auto 34px}
.home .contact-stage-head .kicker{color:#fff;justify-content:center}.home .contact-stage-head .kicker::before{background:rgba(255,255,255,.7)}
.home .contact-stage-head h2{font-size:clamp(2rem,3.3vw,3rem);color:#fff;margin:18px 0 12px}.home .contact-stage-head p{margin:0;color:rgba(255,255,255,.82)}
.home .contact-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:850px;margin:0 auto 16px}
.home .contact-entry-card{background:#fff;color:var(--ink);border-radius:10px;padding:18px 20px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px}
.home .contact-entry-icon{width:52px;height:52px;border-radius:50%;background:#f8eaef;color:var(--wine);display:flex;align-items:center;justify-content:center}.home .contact-entry-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home .contact-entry-card small{color:#6a5e65;font-size:.73rem}.home .contact-entry-card h3{font-size:1.05rem;margin:3px 0 0}.home .contact-entry-card .btn{min-height:42px;font-size:.74rem;padding-inline:16px}
.home .contact-form-panel{background:#fff;border-radius:9px;padding:16px;margin-bottom:25px}
.home .contact-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end}
.home .contact-form-grid label{display:grid;gap:6px;color:#433940;font-size:.72rem;font-weight:700}
.home .contact-form-grid input,.home .contact-form-grid select{width:100%;height:45px;border:1px solid #dfd4cf;border-radius:5px;background:#fff;padding:0 11px;font:inherit;color:#4b4248}
.home .contact-form-grid .btn{height:45px;min-height:45px;opacity:.4;cursor:not-allowed;white-space:nowrap}
.home .contact-flow{display:grid;grid-template-columns:130px minmax(160px,1fr) auto minmax(160px,1fr) auto minmax(190px,1.15fr) minmax(240px,1.2fr);gap:12px;align-items:center}
.home .contact-flow-title h3{color:#fff;font-size:1.05rem;margin:0 0 10px}.home .contact-flow-title span{display:block;width:34px;height:1px;background:rgba(255,255,255,.7)}
.home .contact-step{position:relative;background:#fff;color:var(--ink);border-radius:999px;padding:15px 18px 15px 48px;min-height:76px;display:flex;align-items:center}
.home .contact-step b{position:absolute;left:12px;top:-8px;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--wine);border:1px solid #e5c9d5;display:flex;align-items:center;justify-content:center}.home .contact-step strong{font-size:.78rem}.home .contact-step p{font-size:.66rem;color:#756a70;margin:4px 0 0;line-height:1.5}
.home .flow-arrow{font-size:2rem;color:rgba(255,255,255,.8)}
.home .contact-assurance{border-left:1px solid rgba(255,255,255,.45);padding-left:20px;display:flex;align-items:center;gap:12px}.home .contact-assurance svg{width:36px;height:36px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.home .contact-assurance strong{font-size:.86rem}.home .contact-assurance p{font-size:.72rem;margin:4px 0 0;color:rgba(255,255,255,.75)}

@media (max-width:1050px){
  .home .nav{gap:18px}
  .home .home-hero .hero-grid{grid-template-columns:1fr 45%}
  .home .home-hero h1{font-size:clamp(2.3rem,4.8vw,3.5rem)}
  .home .service-bottom{grid-template-columns:1fr auto}.home .service-bottom .btn{grid-column:1/-1;justify-self:start}
  .home .timeline-row{grid-template-columns:60px minmax(280px,1fr)}.home .timeline-row>p{grid-column:2}
  .home .schedule-card{grid-template-columns:65px repeat(3,minmax(0,1fr))}.home .schedule-note{grid-column:1/-1;border-top:1px solid var(--home-border)}
  .home .contact-flow{grid-template-columns:120px 1fr auto 1fr}.home .contact-step:nth-of-type(3){grid-column:2}.home .contact-assurance{grid-column:3/-1}
  .home .contact-form-grid{grid-template-columns:repeat(2,1fr)}.home .contact-form-grid .btn{grid-column:1/-1}
}
@media (max-width:920px){
  .home .home-hero .hero-grid{grid-template-columns:1fr}.home .home-hero .hero-media{min-height:440px}.home .home-hero .hero-copy{order:2}.home .home-hero .hero-media{order:1}
  .home .feature-grid,.home .demo-grid,.home .case-design-grid{grid-template-columns:1fr}
  .home .feature-card,.home .demo-card,.home .case-design-card{max-width:680px;width:100%;margin-inline:auto}
  .home .demo-screen{height:300px}
  .home .service-bottom{grid-template-columns:1fr}.home .service-bottom .btn{grid-column:auto}
  .home .timeline-row{grid-template-columns:60px 1fr}.home .timeline-title{grid-template-columns:1fr;gap:4px}.home .timeline-row>p{grid-column:2}
  .home .schedule-card{grid-template-columns:65px 1fr}.home .schedule-date{border-bottom:1px solid var(--home-border)}.home .schedule-icon{grid-row:1/4}.home .schedule-note{grid-column:1/-1}
  .home .company-layout,.home .faq-layout{grid-template-columns:1fr;gap:34px}
  .home .contact-entry-grid{grid-template-columns:1fr}.home .contact-flow{grid-template-columns:1fr}.home .flow-arrow{display:none}.home .contact-assurance{grid-column:auto;border-left:0;border-top:1px solid rgba(255,255,255,.35);padding:18px 0 0}
}
@media (max-width:640px){
  .home .home-sec{padding:66px 0}.home .home-heading h2{font-size:1.85rem}
  .home .home-hero .hero-media{min-height:280px}.home .home-hero .hero-copy{padding:42px var(--gut) 48px}.home .home-hero h1{font-size:2.25rem}.home .home-hero .hero-sub{font-size:1rem}.home .home-hero .btn{width:100%;white-space:normal;text-align:center;line-height:1.5;padding:12px 18px}
  .home .feature-card{padding:25px 22px}.home .inline-cta,.home .case-cta{flex-direction:column;text-align:center}.home .inline-cta .btn,.home .case-cta .btn{width:100%}
  .home .demo-screen{height:225px}.home .dash-kpis{grid-template-columns:1fr 1fr}.home .dash-kpis span:first-child{grid-column:1/-1}.home .dash-panels{height:110px}
  .home .timeline::before{left:24px}.home .timeline-row{grid-template-columns:48px 1fr;padding-right:15px;gap:12px}.home .timeline-no{width:42px;height:42px;font-size:1.25rem}.home .timeline-row>p{grid-column:2;font-size:.82rem}.home .timeline-title h3{font-size:1rem}
  .home .schedule-card{grid-template-columns:1fr}.home .schedule-icon{grid-row:auto;border-right:0;border-bottom:1px solid var(--home-border);padding:16px}.home .schedule-date{border-right:0}.home .schedule-note{grid-column:auto}
  .home .company-table>div{grid-template-columns:1fr;gap:5px}.home .home-faq p{padding-left:20px}
  .home .contact-stage{padding:64px 0}.home .contact-entry-card{grid-template-columns:50px 1fr}.home .contact-entry-card .btn{grid-column:1/-1;width:100%}.home .contact-form-grid{grid-template-columns:1fr}
}

/* Contact flow tablet correction */
@media (max-width:1050px) and (min-width:921px){
  .home .contact-flow{grid-template-columns:1fr 1fr;gap:14px}
  .home .contact-flow-title{grid-column:1/-1}
  .home .contact-flow .flow-arrow{display:none}
  .home .contact-step{min-height:82px}
  .home .contact-assurance{grid-column:1/-1;border-left:0;border-top:1px solid rgba(255,255,255,.35);padding:18px 0 0}
}

/* ======================================================
   Home page spacing refinement 2026-07
   Vertical rhythm, card breathing room, and responsive balance.
   ====================================================== */
.home{
  --max:1180px;
  --gut:clamp(22px,4vw,60px);
  --home-section-y:clamp(86px,7vw,106px);
  --home-heading-gap:clamp(36px,4vw,48px);
  --home-card-gap:clamp(18px,2vw,24px);
}

/* Section rhythm */
.home .home-sec{padding:var(--home-section-y) 0}
.home .home-trust{padding-top:clamp(82px,6.5vw,98px);padding-bottom:clamp(90px,7vw,108px)}
.home .home-heading{margin-bottom:var(--home-heading-gap)}
.home .home-heading h2{margin:18px 0 16px}
.home .home-heading .lead{margin-top:0}
.home .kicker-line::after{margin-top:11px}

/* Hero rhythm */
.home .home-hero .hero-grid{min-height:700px}
.home .home-hero .hero-copy{padding-top:clamp(64px,5vw,80px);padding-bottom:clamp(64px,5vw,80px)}
.home .home-hero h1{margin:20px 0 24px}
.home .home-hero .hero-sub{margin:0 0 22px}
.home .home-hero .lead{margin-bottom:32px}
.home .home-hero .hero-cta{gap:14px 16px}

/* Card grids and card interiors */
.home .feature-grid,
.home .demo-grid,
.home .case-design-grid{gap:var(--home-card-gap)}
.home .feature-card{padding:clamp(30px,2.7vw,38px)}
.home .feature-card .icon-circle{margin-bottom:20px}
.home .feature-card .mini-line{margin:18px 0 19px}
.home .compact-card{padding-top:32px}

/* Section-level actions */
.home .inline-cta{margin-top:32px;padding:20px 26px;gap:28px}
.home .demo-card{padding:12px 12px 24px}
.home .demo-card h3{margin:18px 12px 0}
.home .demo-cta{margin-top:30px}
.home .service-bottom{margin-top:32px;padding:22px 26px;gap:24px}

/* Flow */
.home .timeline{gap:14px}
.home .timeline-row{gap:22px;padding:21px 26px 21px 0}
.home .timeline-title{gap:12px}

/* Case studies */
.home .case-design-card{padding:30px}
.home .case-head{margin-bottom:22px}
.home .case-design-card dl{gap:18px}
.home .case-cta{margin-top:28px;padding:20px 26px;gap:32px}

/* Seminar */
.home .schedule-date{padding:27px 20px}
.home .schedule-note{padding:22px 26px}
.home .schedule-action{padding:16px}

/* Company and FAQ */
.home .company-layout,
.home .faq-layout{grid-template-columns:300px minmax(0,1fr);gap:clamp(58px,6vw,78px)}
.home .company-table>div{padding:16px 10px;gap:22px}
.home .home-faq{gap:10px}
.home .home-faq summary{padding:19px 54px 19px 22px}
.home .home-faq p{padding:0 22px 20px 52px}

/* Contact area */
.home .contact-stage{padding:clamp(82px,7vw,104px) 0}
.home .contact-stage-head{margin-bottom:40px}
.home .contact-entry-grid{gap:18px;margin-bottom:20px}
.home .contact-entry-card{padding:21px 22px;gap:17px}
.home .contact-form-panel{padding:20px;margin-bottom:30px}
.home .contact-form-grid{gap:14px}
.home .contact-flow{gap:14px}
.home .contact-step{padding-top:17px;padding-bottom:17px;min-height:80px}

@media (max-width:1050px){
  .home{--home-section-y:clamp(76px,8vw,92px);--home-heading-gap:38px}
  .home .service-bottom{gap:18px}
  .home .company-layout,.home .faq-layout{grid-template-columns:260px minmax(0,1fr);gap:46px}
}

@media (max-width:920px){
  .home{--home-section-y:74px;--home-heading-gap:34px;--home-card-gap:18px}
  .home .home-hero .hero-grid{min-height:0}
  .home .home-hero .hero-media{min-height:420px}
  .home .home-hero .hero-copy{padding-top:56px;padding-bottom:60px}
  .home .feature-card,.home .demo-card,.home .case-design-card{margin-inline:auto}
  .home .inline-cta{margin-top:28px}
  .home .service-bottom{margin-top:28px}
  .home .case-cta{margin-top:24px}
  .home .company-layout,.home .faq-layout{grid-template-columns:1fr;gap:30px}
  .home .company-heading,.home .faq-heading{max-width:680px}
  .home .contact-stage-head{margin-bottom:34px}
  .home .contact-entry-grid{gap:14px}
}

@media (max-width:640px){
  .home{
    --gut:clamp(18px,5vw,24px);
    --home-section-y:58px;
    --home-heading-gap:28px;
    --home-card-gap:14px;
  }
  .home .home-trust{padding-top:56px;padding-bottom:62px}
  .home .home-heading h2{margin:14px 0 12px;line-height:1.5}
  .home .kicker-line::after{margin-top:9px}

  .home .home-hero .hero-media{min-height:270px}
  .home .home-hero .hero-copy{padding:44px var(--gut) 50px}
  .home .home-hero h1{margin:16px 0 20px;line-height:1.34}
  .home .home-hero .hero-sub{margin-bottom:18px;line-height:1.75}
  .home .home-hero .lead{margin-bottom:26px;line-height:1.95}
  .home .home-hero .hero-cta{gap:11px}

  .home .feature-card{padding:24px 21px}
  .home .feature-card .icon-circle{margin-bottom:17px}
  .home .feature-card .mini-line{margin:16px 0 17px}
  .home .compact-card{padding-top:24px}

  .home .inline-cta{margin-top:22px;padding:18px 16px;gap:16px}
  .home .demo-card{padding:9px 9px 21px}
  .home .demo-card h3{margin:16px 8px 0}
  .home .demo-cta{margin-top:22px}
  .home .service-bottom{margin-top:22px;padding:19px 17px;gap:15px}

  .home .timeline{gap:11px}
  .home .timeline-row{padding:17px 14px 17px 0;gap:12px}
  .home .timeline-title{gap:5px}

  .home .case-design-card{padding:23px 21px}
  .home .case-head{margin-bottom:19px}
  .home .case-design-card dl{gap:15px}
  .home .case-cta{margin-top:20px;padding:18px 16px;gap:15px}

  .home .schedule-date{padding:21px 16px}
  .home .schedule-note{padding:19px 18px}
  .home .schedule-action{padding:14px}

  .home .company-layout,.home .faq-layout{gap:25px}
  .home .company-table>div{padding:14px 5px;gap:5px}
  .home .home-faq{gap:8px}
  .home .home-faq summary{padding:16px 46px 16px 17px}
  .home .home-faq p{padding:0 17px 17px}

  .home .contact-stage{padding:58px 0 62px}
  .home .contact-stage-head{margin-bottom:28px}
  .home .contact-stage-head h2{margin:14px 0 10px}
  .home .contact-entry-grid{gap:12px;margin-bottom:14px}
  .home .contact-entry-card{padding:18px 16px;gap:13px}
  .home .contact-form-panel{padding:14px;margin-bottom:24px}
  .home .contact-form-grid{gap:12px}
  .home .contact-flow{gap:12px}
  .home .contact-step{min-height:74px;padding-top:15px;padding-bottom:15px}
}

/* ======================================================
   Generated visual assets + timeline alignment 2026-07
   ====================================================== */
.home .icon-circle.icon-image{
  width:72px;
  height:72px;
  padding:0;
  background:transparent;
  overflow:visible;
}
.home .compact-card .icon-circle.icon-image{width:68px;height:68px}
.home .icon-circle.icon-image img,
.home .case-icon-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.home .demo-screen.demo-image{
  height:auto;
  aspect-ratio:4 / 3;
  border:0;
  background:#fff;
  border-radius:9px;
  overflow:hidden;
}
.home .demo-screen.demo-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.home .case-icon.case-icon-image{
  width:60px;
  height:60px;
  padding:0;
  background:transparent;
  overflow:visible;
}

/* The marker and both line segments now share the same centered column. */
.home .timeline::before{display:none}
.home .timeline-row{
  grid-template-columns:76px minmax(330px,1.05fr) minmax(260px,.8fr);
  padding-left:0;
  overflow:visible;
}
.home .timeline-marker{
  position:relative;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:76px;
}
.home .timeline-marker::before,
.home .timeline-marker::after{
  content:"";
  position:absolute;
  z-index:1;
  left:50%;
  width:1px;
  background:var(--wine);
  transform:translateX(-50%);
}
.home .timeline-marker::before{
  top:-15px;
  bottom:calc(50% + 26px);
}
.home .timeline-marker::after{
  top:calc(50% + 26px);
  bottom:-15px;
}
.home .timeline-row:first-child .timeline-marker::before,
.home .timeline-row:last-child .timeline-marker::after{display:none}
.home .timeline-no{
  z-index:2;
  margin:0;
  flex:none;
  box-shadow:0 0 0 7px #fff;
}

@media (max-width:1050px){
  .home .timeline-row{grid-template-columns:76px minmax(0,1fr)}
  .home .timeline-marker{grid-row:1 / span 2}
  .home .timeline-row>p{grid-column:2}
}
@media (max-width:640px){
  .home .icon-circle.icon-image{width:66px;height:66px}
  .home .compact-card .icon-circle.icon-image{width:64px;height:64px}
  .home .case-icon.case-icon-image{width:56px;height:56px}
  .home .timeline-row{grid-template-columns:56px minmax(0,1fr);padding-left:0}
  .home .timeline-marker{min-width:56px}
  .home .timeline-marker::before{top:-12px;bottom:calc(50% + 22px)}
  .home .timeline-marker::after{top:calc(50% + 22px);bottom:-12px}
  .home .timeline-no{width:44px;height:44px;font-size:1.25rem;box-shadow:0 0 0 5px #fff}
}


/* ======================================================
   Icon alignment + timeline repair 2026-07-16
   ====================================================== */
.home .feature-card-head{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  align-items:center;
  gap:18px;
  margin-bottom:0;
}
.home .feature-card-head .icon-circle{
  width:72px;
  height:72px;
  margin:0;
}
.home .feature-card-head h3{
  margin:0;
  align-self:center;
  /* <br>で改行位置を明示しているため、balanceによる再分配を無効化 */
  text-wrap:normal;
}
.home .feature-card .mini-line{
  margin:20px 0 18px;
}
.home .case-icon{
  width:60px;
  height:60px;
}
.home .case-icon img,
.home .feature-card-head img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.home .timeline{
  display:grid;
  gap:14px;
  position:relative;
}
.home .timeline::before{display:none}
.home .timeline-row{
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  gap:16px;
  align-items:stretch;
  position:relative;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.home .timeline-marker{
  position:relative;
  display:flex;
  justify-content:center;
  padding-top:18px;
}
.home .timeline-marker::after{
  content:"";
  position:absolute;
  z-index:0;
  left:50%;
  top:70px;
  bottom:-32px;
  width:1px;
  transform:translateX(-50%);
  background:var(--wine);
}
.home .timeline-row:last-child .timeline-marker::after{display:none}
.home .timeline-no{
  position:relative;
  z-index:2;
  width:54px;
  height:54px;
  margin:0;
  border:1px solid var(--wine);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--wine);
  font-family:var(--serif-lat);
  font-size:1.55rem;
  line-height:1;
}
.home .timeline-card{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(320px,1.05fr) minmax(260px,.8fr);
  gap:clamp(28px,4vw,56px);
  align-items:center;
  padding:23px 28px;
  background:#fff;
  border:1px solid var(--home-border);
  border-radius:8px;
  box-shadow:0 8px 25px rgba(62,43,53,.035);
}
.home .timeline-title{
  min-width:0;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
.home .timeline-title small{
  color:var(--wine);
  font-family:var(--util);
  font-weight:700;
  letter-spacing:.06em;
  white-space:nowrap;
}
.home .timeline-title h3{
  min-width:0;
  margin:0;
  font-size:1.15rem;
  line-height:1.55;
}
.home .timeline-card>p{
  min-width:0;
  margin:0;
  color:#665d63;
  font-size:.88rem;
  line-height:1.8;
}

@media (max-width:920px){
  .home .timeline-card{
    grid-template-columns:1fr;
    gap:12px;
  }
  .home .timeline-title{
    grid-template-columns:72px minmax(0,1fr);
  }
}
@media (max-width:640px){
  .home .feature-card-head{
    grid-template-columns:62px minmax(0,1fr);
    gap:14px;
  }
  .home .feature-card-head .icon-circle{
    width:62px;
    height:62px;
  }
  .home .timeline-row{
    grid-template-columns:50px minmax(0,1fr);
    gap:10px;
  }
  .home .timeline-marker{padding-top:14px}
  .home .timeline-marker::after{
    top:58px;
    bottom:-28px;
  }
  .home .timeline-no{
    width:42px;
    height:42px;
    font-size:1.2rem;
  }
  .home .timeline-card{
    padding:18px 16px;
  }
  .home .timeline-title{
    grid-template-columns:1fr;
    gap:4px;
  }
  .home .timeline-title h3{font-size:1rem}
  .home .timeline-card>p{font-size:.82rem}
}


/* ======================================================
   Top page balance tuning 2026-07-16
   Line breaks, spacing rhythm and responsive density.
   ====================================================== */
.home{
  --home-section-y:clamp(78px,6.8vw,96px);
  --home-heading-gap:clamp(30px,3.4vw,42px);
  --home-card-gap:clamp(18px,2vw,24px);
}
.home .home-heading{
  max-width:780px;
  margin-bottom:var(--home-heading-gap);
}
.home .home-heading h2{
  margin:17px 0 14px;
  line-height:1.38;
  letter-spacing:.025em;
}
.home .home-heading .lead{
  max-width:58em;
  line-height:1.85;
  color:#655c62;
}
.home .heading-sub{
  display:inline-block;
  margin-top:.5em;
  padding-left:.85em;
  line-height:1.45;
  border-left:2px solid rgba(136,0,72,.34);
  letter-spacing:.03em;
}

.home .home-hero .hero-grid{
  grid-template-columns:minmax(0,54%) minmax(0,46%);
  min-height:660px;
}
.home .home-hero .hero-copy{
  padding-top:clamp(56px,4.5vw,72px);
  padding-right:clamp(34px,3.8vw,54px);
  padding-bottom:clamp(56px,4.5vw,72px);
}
.home .home-hero h1{
  font-size:clamp(2.55rem,3.7vw,3.7rem);
  line-height:1.31;
  letter-spacing:.005em;
  margin:19px 0 22px;
}
.home .home-hero .hero-title-line{white-space:nowrap}
.home .home-hero .hero-sub{
  max-width:35em;
  line-height:1.75;
  margin-bottom:20px;
}
.home .home-hero .lead{
  max-width:40em;
  line-height:1.92;
  color:#625960;
  margin-bottom:30px;
}
.home .home-hero .hero-cta{gap:12px 14px}
.home .home-hero .btn{min-height:54px;padding-inline:22px}

.home .feature-grid,
.home .demo-grid,
.home .case-design-grid{gap:var(--home-card-gap)}
.home .feature-card{padding:clamp(28px,2.5vw,34px)}
.home .feature-card-head{
  grid-template-columns:68px minmax(0,1fr);
  gap:16px;
}
.home .feature-card-head .icon-circle{
  width:68px;
  height:68px;
}
.home .feature-card-head h3{
  font-size:clamp(1.12rem,1.42vw,1.34rem);
  line-height:1.52;
  letter-spacing:.025em;
}
.home .feature-card .mini-line{margin:18px 0 17px}
.home .feature-card p{line-height:1.88}
.home .inline-cta{margin-top:28px}
.home .demo-card h3{line-height:1.7}
.home .service-bottom{margin-top:28px}
.home .timeline{gap:12px}
.home .timeline-card{padding:21px 26px}
.home .case-cta{margin-top:24px}
.home .contact-stage{padding:clamp(76px,6.5vw,94px) 0}

@media (max-width:1050px){
  .home{--home-section-y:clamp(72px,7.5vw,86px);--home-heading-gap:34px}
  .home .home-hero h1{font-size:clamp(2.35rem,4.4vw,3.25rem)}
  .home .feature-card-head{grid-template-columns:64px minmax(0,1fr);gap:14px}
  .home .feature-card-head .icon-circle{width:64px;height:64px}
}

@media (max-width:920px){
  .home{--home-section-y:68px;--home-heading-gap:30px}
  .home .home-hero .hero-grid{grid-template-columns:1fr;min-height:0}
  .home .home-hero .hero-title-line{white-space:normal}
  .home .home-hero .hero-copy{padding-top:50px;padding-bottom:54px}
  .home .home-hero .hero-media{min-height:390px}
  .home .inline-cta,.home .service-bottom,.home .case-cta{margin-top:24px}
}

@media (max-width:640px){
  .home{
    --home-section-y:52px;
    --home-heading-gap:24px;
    --home-card-gap:14px;
  }
  .home .home-trust{padding-top:52px;padding-bottom:56px}
  .home .home-heading h2{
    font-size:1.78rem;
    line-height:1.44;
    margin:13px 0 10px;
    letter-spacing:.015em;
  }
  .home .home-heading .lead{font-size:.94rem;line-height:1.78}
  .home .heading-sub{font-size:.72em;margin-top:.25em}
  .home .home-hero .hero-media{min-height:260px}
  .home .home-hero .hero-copy{padding:38px var(--gut) 44px}
  .home .home-hero h1{
    font-size:2.18rem;
    line-height:1.34;
    margin:15px 0 18px;
  }
  .home .home-hero .hero-sub{font-size:1rem;line-height:1.7;margin-bottom:16px}
  .home .home-hero .lead{font-size:.91rem;line-height:1.88;margin-bottom:23px}
  .home .home-hero .hero-cta{gap:10px}
  .home .feature-card{padding:22px 20px}
  .home .feature-card-head{grid-template-columns:60px minmax(0,1fr);gap:13px}
  .home .feature-card-head .icon-circle{width:60px;height:60px}
  .home .feature-card-head h3{font-size:1.12rem;line-height:1.48}
  .home .feature-card .mini-line{margin:15px 0 15px}
  .home .feature-card p{font-size:.91rem;line-height:1.82}
  .home .inline-cta{margin-top:20px;padding:17px 15px}
  .home .demo-card h3{line-height:1.65}
  .home .service-bottom{margin-top:20px}
  .home .timeline-card{padding:17px 15px}
  .home .case-cta{margin-top:19px}
  .home .contact-stage{padding:54px 0 58px}
}

/* ======================================================
   BOLD REDESIGN LAYER — 2026-07-16
   濃色の見せ場・立体感・スクロール演出を上乗せする追加レイヤー。
   既存の body.home スコープに合わせて後勝ちで上書き。
   ====================================================== */

.home{
  --grad-wine:linear-gradient(120deg,#9a0055 0%,#6e003a 100%);
}

/* ---------- 0. scroll reveal motion ---------- */
.home .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
  will-change:opacity,transform;
}
.home .reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .home .reveal{opacity:1!important;transform:none!important;transition:none}
}

/* ---------- 1. buttons: depth + gradient ---------- */
.home .btn{
  border-radius:7px;
  transition:transform .25s,box-shadow .25s,background .3s,border-color .3s;
}
.home .btn:not(.ghost):not(.light){
  background:var(--grad-wine);
  border-color:transparent;
  box-shadow:0 10px 24px rgba(136,0,72,.22);
}
.home .btn:not(.ghost):not(.light):hover{
  background:linear-gradient(120deg,#88004a 0%,#5c0030 100%);
  box-shadow:0 16px 34px rgba(136,0,72,.34);
  transform:translateY(-2px);
}
.home .btn.ghost:hover{transform:translateY(-2px)}

/* ---------- 2. section rhythm / separators ---------- */
.home .tint-soft{
  background:linear-gradient(180deg,#f9f1ed 0%,#f2e8e2 100%);
}
/* faint warm glow at the top of plain sections so blocks don't blur together */
.home .home-sec{position:relative}
.home .home-sec:not(.tint-soft):not(.home-demo-dark)::before{
  content:"";position:absolute;left:0;right:0;top:0;height:220px;pointer-events:none;
  background:radial-gradient(60% 100% at 50% 0%,rgba(136,0,72,.035),transparent 70%);
}

/* stronger, more confident section headings */
.home .home-heading .kicker-line{
  font-size:.9rem;letter-spacing:.06em;color:var(--wine);font-weight:600;
}
.home .home-heading .kicker-line::after{width:46px;height:2px}
.home .home-heading h2{letter-spacing:.03em}

/* ---------- 3. HERO ---------- */
.home .home-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(52% 46% at 84% 6%,rgba(136,0,72,.08),transparent 62%),
    radial-gradient(40% 40% at 6% 96%,rgba(136,0,72,.05),transparent 60%),
    linear-gradient(178deg,#fefcfb 0%,#f6efeb 100%);
}
/* colour focus on the key headline line */
.home .home-hero h1 .accent{
  color:var(--wine);position:relative;
}
.home .home-hero .kicker{color:var(--wine);font-weight:600;letter-spacing:.28em}

/* media: layered frame + soft depth */
.home .home-hero .hero-media{background:var(--cream)}
.home .home-hero .hero-media::after{
  box-shadow:inset 0 0 0 1px rgba(28,22,26,.06),inset 0 -120px 120px -60px rgba(20,8,14,.28);
}
/* wine accent bar down the inner edge of the photo */
.home .home-hero .hero-media::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:5px;z-index:3;
  background:var(--grad-wine);
}
/* floating glass badge over the photo */
.home .hero-badge{
  position:absolute;left:22px;bottom:22px;z-index:4;
  display:flex;align-items:center;gap:14px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.7);
  border-radius:12px;padding:14px 20px 14px 16px;
  box-shadow:0 18px 40px rgba(28,14,22,.28);
  animation:badgeIn 1s .7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes badgeIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.home .hero-badge-ic{
  flex:none;width:42px;height:42px;border-radius:10px;
  background:var(--grad-wine);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 18px rgba(136,0,72,.3);
}
.home .hero-badge-ic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home .hero-badge-tx b{display:block;font-family:var(--serif-jp);font-weight:600;font-size:.98rem;color:var(--ink);line-height:1.3}
.home .hero-badge-tx small{display:block;font-family:var(--util);font-size:.68rem;letter-spacing:.06em;color:var(--wine);margin-top:3px}

/* credibility strip under the hero */
.home .hero-strip{
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.5);
}
.home .hero-strip .wrap{
  display:flex;flex-wrap:wrap;gap:0;
}
.home .hero-strip span{
  flex:1 1 0;min-width:150px;text-align:center;
  font-family:var(--util);font-size:.78rem;letter-spacing:.1em;color:#5b5158;
  padding:18px 10px;position:relative;
}
.home .hero-strip span+span::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:1px;height:22px;background:var(--line);
}
.home .hero-strip span b{color:var(--wine);font-weight:700;margin-right:.5em}

/* ---------- 4. feature cards: depth + accent + differentiation ---------- */
.home .feature-card{
  background:linear-gradient(180deg,#ffffff 0%,#fdf9f8 100%);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
  overflow:hidden;
}
.home .feature-card::after{
  content:"";position:absolute;left:0;top:0;height:3px;width:0;z-index:2;
  background:var(--grad-wine);transition:width .45s cubic-bezier(.2,.7,.2,1);
}
.home .feature-card:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 58px rgba(62,43,53,.14);
  border-color:rgba(136,0,72,.3);
}
.home .feature-card:hover::after{width:100%}
.home .feature-card:hover .mini-line{width:52px}
.home .feature-card .mini-line{transition:width .4s}
.home .feature-card-head .icon-circle{transition:transform .35s}
.home .feature-card:hover .feature-card-head .icon-circle{transform:scale(1.06) rotate(-3deg)}

/* 「お悩み」だけ質感を変えて、強み系カードと区別する */
.home .issue-grid .feature-card{
  background:linear-gradient(180deg,#fffdfc 0%,#faf2ee 100%);
  border-left:3px solid rgba(136,0,72,.45);
}
.home .issue-grid .feature-card::after{background:rgba(136,0,72,.55)}

/* inline CTA: 面で見せる */
.home .inline-cta{
  background:#fff;
  border:1px solid var(--home-border);
  border-left:4px solid var(--wine);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
}

/* ---------- 5. LIVE DEMO — light showcase, aligned to the site palette ---------- */
/* Renamed in spirit: this section now reads as part of the cream + mincho
   world. Kept the .home-demo-dark class so the HTML need not change. */
.home .home-demo-dark{
  background:linear-gradient(180deg,#f9f1ed 0%,#f4ebe6 100%);
  color:var(--ink);position:relative;overflow:hidden;
  border-top:1px solid var(--home-border);
  border-bottom:1px solid var(--home-border);
}
.home .home-demo-dark::before{display:none}
.home .home-demo-dark::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(60% 100% at 50% 0%,rgba(136,0,72,.05),transparent 68%);
}
.home .home-demo-dark .wrap{position:relative;z-index:2}
.home .home-demo-dark .home-heading h2{color:var(--ink)}
.home .home-demo-dark .home-heading .lead{color:var(--ink-soft)}
.home .home-demo-dark .kicker-line{color:var(--wine)}
.home .home-demo-dark .kicker-line::after{background:var(--wine)}
.home .home-demo-dark .demo-card{
  background:#fff;
  border:1px solid var(--home-border);
  box-shadow:0 18px 44px rgba(62,43,53,.09);
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.home .home-demo-dark .demo-card:hover{
  transform:translateY(-6px);
  border-color:rgba(136,0,72,.3);
  box-shadow:0 28px 60px rgba(62,43,53,.16);
}
.home .home-demo-dark .demo-card h3{color:var(--ink)}
.home .home-demo-dark .demo-cta{
  background:#fff;
  border:1px solid var(--home-border);
  border-left:4px solid var(--wine);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
}
.home .home-demo-dark .demo-cta p{color:var(--ink-soft)}

/* ---- UI screens recoloured from corporate blue to the wine palette ---- */
.home .demo-screen{background:#faf7f6;border-color:var(--home-border);color:#3a2f36}
.home .dashboard-ui{background:#fcfaf9}
.home .dash-sidebar{background:linear-gradient(180deg,#3d2130 0%,#2e1624 100%)}
.home .dash-sidebar i{background:rgba(255,255,255,.3)}
.home .dash-kpis span{background:#fff;border-color:#ece2dd}
.home .dash-kpis small{color:#8b7b84}
.home .bar-chart,.home .donut{background:#fff;border-color:#ece2dd}
.home .bar-chart::before{
  background:repeating-linear-gradient(to bottom,transparent 0 22px,#f2e9e4 23px 24px);
}
.home .bar-chart i{background:linear-gradient(180deg,#c65e97 0%,var(--wine) 100%)}
.home .donut::before{background:conic-gradient(var(--wine) 0 68%,#eee0e6 68%)}
.home .donut span{color:var(--wine)}
.home .assistant-ui{background:#fcfaf9}
.home .chat-list{border-right-color:#efe5e0;color:#7d6f77}
.home .chat-list b{color:var(--ink)}
.home .chat-list span{background:#fff}
.home .bot-bubble{background:#f3eae6}
.home .user-bubble{background:#f6e1ec;color:#4a1130}
.home .typing{background:#f3eae6;color:#a8969f}
.home .workflow-ui{background:#fcfaf9}
.home .flow-title{border-bottom-color:#efe5e0}
.home .flow-title span{background:#f6e5ee;color:var(--wine)}
.home .flow-node{background:#fff;border-color:#ecdfe6;box-shadow:0 3px 10px rgba(62,43,53,.05)}
.home .flow-node::before{background:var(--wine)}
.home .flow-canvas svg{stroke:#d8c3ce}

/* ---------- 6. service closing bar ---------- */
.home .service-bottom{
  background:linear-gradient(120deg,#faf3f1 0%,#f6ebe6 100%);
  border:1px solid var(--home-border);
  border-left:4px solid var(--wine);
}
.home .price-badge{background:#fff}

/* ---------- 7. timeline: alive ---------- */
.home .timeline-card{transition:transform .28s,box-shadow .28s,border-color .28s}
.home .timeline-row:hover .timeline-card{
  transform:translateX(4px);
  box-shadow:0 16px 38px rgba(62,43,53,.1);
  border-color:rgba(136,0,72,.28);
}
.home .timeline-no{transition:background .3s,color .3s,box-shadow .3s}
.home .timeline-row:hover .timeline-no{
  background:var(--grad-wine);color:#fff;
  box-shadow:0 0 0 7px #fff,0 8px 20px rgba(136,0,72,.3);
}

/* ---------- 8. case cards ---------- */
.home .case-design-card{
  box-shadow:0 12px 32px rgba(62,43,53,.06);
  transition:transform .28s,box-shadow .28s,border-color .28s;
  position:relative;overflow:hidden;
}
.home .case-design-card::after{
  content:"";position:absolute;left:0;top:0;height:3px;width:0;
  background:var(--grad-wine);transition:width .45s;
}
.home .case-design-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 55px rgba(62,43,53,.13);
  border-color:rgba(136,0,72,.28);
}
.home .case-design-card:hover::after{width:100%}
.home .case-cta{border-left:4px solid var(--wine)}

/* ---------- 9. seminar schedule ---------- */
.home .schedule-card{transition:box-shadow .3s}
.home .schedule-card:hover{box-shadow:0 24px 52px rgba(62,43,53,.12)}
.home .schedule-date{transition:background .3s}
.home .schedule-date:hover{background:#faf4f3}

/* ---------- 10. FAQ ---------- */
.home .home-faq details{transition:border-color .3s,box-shadow .3s}
.home .home-faq details:hover{border-color:rgba(136,0,72,.3)}
.home .home-faq details[open]{
  border-color:rgba(136,0,72,.4);
  box-shadow:0 12px 30px rgba(62,43,53,.07);
}

/* ---------- 11. contact stage: match the new dark tone + subtle grid ---------- */
.home .contact-stage{
  background:
    radial-gradient(60% 55% at 10% 0%,rgba(255,120,190,.16),transparent 55%),
    linear-gradient(135deg,#6e003a 0%,#a60058 58%,#79003f 100%);
}
.home .contact-stage .wrap::before{
  content:"";position:absolute;inset:-40px 0 auto;height:1px;pointer-events:none;
}
.home .contact-entry-card{
  transition:transform .28s,box-shadow .28s;
  box-shadow:0 16px 40px rgba(40,0,22,.28);
}
.home .contact-entry-card:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(40,0,22,.4)}
.home .contact-step{transition:transform .28s,box-shadow .28s}
.home .contact-step:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(40,0,22,.3)}

/* ---------- 12. header shadow when scrolled ---------- */
.home .head.scrolled{box-shadow:0 6px 24px rgba(62,43,53,.08)}

/* ---------- responsive tidy for new hero pieces ---------- */
@media (max-width:920px){
  .home .hero-badge{left:16px;bottom:16px;padding:12px 16px 12px 14px}
  .home .home-hero .hero-media::before{width:4px}
}
@media (max-width:640px){
  .home .hero-badge{gap:11px;padding:10px 13px}
  .home .hero-badge-ic{width:36px;height:36px}
  .home .hero-badge-tx b{font-size:.9rem}
  .home .hero-strip span{flex:1 1 50%;min-width:0;padding:14px 8px;font-size:.72rem}
  .home .hero-strip span:nth-child(2)::before{display:none}
}

/* ======================================================
   STEP FLOW — descending sequential flow (2026-07-16)
   縦の背骨を目で追って下へ。スクロールでラインが伸びる。
   ====================================================== */
.home #flow{position:relative}
.stepflow{position:relative;margin-top:clamp(6px,1.5vw,14px);padding-left:2px}

/* the spine + its scroll-driven fill */
.stepflow-track{
  position:absolute;left:36px;top:38px;bottom:118px;width:3px;
  transform:translateX(-50%);border-radius:3px;z-index:0;
  background:rgba(136,0,72,.16);overflow:hidden;
}
.stepflow-progress{
  position:absolute;left:0;top:0;width:100%;height:0;
  background:var(--grad-wine);border-radius:3px;
  box-shadow:0 0 12px rgba(136,0,72,.4);
}

/* each step */
.stepflow-item{
  position:relative;z-index:1;
  display:grid;grid-template-columns:72px minmax(0,1fr);
  gap:clamp(18px,2.6vw,34px);align-items:start;
  padding-bottom:clamp(24px,3.2vw,42px);
}
.stepflow-item:last-of-type{padding-bottom:clamp(20px,2.6vw,34px)}

/* number node */
.stepflow-node{
  position:relative;z-index:2;justify-self:center;
  width:62px;height:62px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:2px solid var(--wine);color:var(--wine);
  font-family:var(--serif-lat);font-size:1.62rem;line-height:1;
  box-shadow:0 0 0 7px #f4eae4;
  transition:background .45s,color .45s,border-color .45s,box-shadow .45s,transform .45s;
}
.stepflow-item.is-in .stepflow-node{
  background:var(--grad-wine);color:#fff;border-color:transparent;
  box-shadow:0 0 0 7px #f4eae4,0 12px 26px rgba(136,0,72,.32);
  transform:scale(1.05);
}

/* body card */
.stepflow-body{
  position:relative;overflow:hidden;
  background:#fff;border:1px solid var(--home-border);border-radius:13px;
  padding:clamp(22px,2.8vw,30px) clamp(24px,3.2vw,38px);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.stepflow-body::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--grad-wine);
}
.stepflow-item:hover .stepflow-body{
  transform:translateX(5px);
  box-shadow:0 22px 46px rgba(62,43,53,.12);
  border-color:rgba(136,0,72,.28);
}
.stepflow-body>*{position:relative;z-index:1}
.stepflow-label{
  display:block;font-family:var(--util);font-weight:700;
  font-size:.74rem;letter-spacing:.16em;color:var(--wine);margin-bottom:9px;
}
.stepflow-body h3{
  font-size:clamp(1.14rem,1.55vw,1.42rem);line-height:1.55;margin:0 0 11px;letter-spacing:.02em;
}
.stepflow-body p{margin:0;color:#655c62;font-size:.92rem;line-height:1.92;max-width:46em}

/* giant ghost number behind the text */
.stepflow-ghost{
  position:absolute;z-index:0;right:clamp(12px,1.6vw,24px);top:50%;
  transform:translateY(-50%);
  font-family:var(--serif-lat);font-weight:600;line-height:1;
  font-size:clamp(3.6rem,7vw,6.4rem);color:rgba(136,0,72,.065);
  pointer-events:none;user-select:none;
}

/* down chevron between steps, sitting on the spine */
.stepflow-item:not(:last-of-type) .stepflow-node::after{
  content:"";position:absolute;left:50%;bottom:calc(-1 * clamp(24px,3.2vw,42px) - 4px);
  width:11px;height:11px;border-right:2px solid var(--wine);border-bottom:2px solid var(--wine);
  transform:translateX(-50%) rotate(45deg);opacity:.5;
}

/* arrival marker */
.stepflow-goal{
  display:grid;grid-template-columns:72px minmax(0,1fr);
  gap:clamp(18px,2.6vw,34px);align-items:center;
  padding:clamp(18px,2.4vw,26px) clamp(22px,3vw,34px) clamp(18px,2.4vw,26px) 0;
  margin-top:clamp(6px,1vw,12px);
}
.stepflow-node--goal{
  background:var(--grad-wine);border-color:transparent;color:#fff;
  box-shadow:0 0 0 7px #f4eae4,0 14px 30px rgba(136,0,72,.34);
}
.stepflow-node--goal svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stepflow-goal p{margin:0;font-family:var(--serif-jp);font-weight:500;font-size:clamp(1.02rem,1.5vw,1.2rem);line-height:1.75;color:var(--ink)}
.stepflow-goal b{color:var(--wine);font-weight:700}

@media (max-width:640px){
  .stepflow-track{left:29px;top:32px;bottom:108px}
  .stepflow-item{grid-template-columns:58px minmax(0,1fr);gap:14px}
  .stepflow-node{width:52px;height:52px;font-size:1.35rem;box-shadow:0 0 0 6px #f4eae4}
  .stepflow-item.is-in .stepflow-node{box-shadow:0 0 0 6px #f4eae4,0 10px 22px rgba(136,0,72,.3)}
  .stepflow-body{padding:20px 18px}
  .stepflow-ghost{font-size:3.4rem;right:8px}
  .stepflow-goal{grid-template-columns:58px minmax(0,1fr);gap:14px}
  .stepflow-node--goal{width:52px;height:52px;box-shadow:0 0 0 6px #f4eae4,0 12px 24px rgba(136,0,72,.32)}
}
@media (prefers-reduced-motion:reduce){
  .stepflow-progress{height:100%!important}
}

/* ======================================================
   Adjust 2026-07-16b : bigger card icons + step-flow v2
   ====================================================== */

/* ---- larger icons on cards ---- */
.home .feature-card-head{grid-template-columns:88px minmax(0,1fr);gap:18px}
.home .feature-card-head .icon-circle{width:88px;height:88px}
.home .case-icon,.home .case-icon.case-icon-image{width:70px;height:70px}
@media (max-width:1050px){
  .home .feature-card-head{grid-template-columns:80px minmax(0,1fr)}
  .home .feature-card-head .icon-circle{width:80px;height:80px}
}
@media (max-width:640px){
  .home .feature-card-head{grid-template-columns:70px minmax(0,1fr);gap:14px}
  .home .feature-card-head .icon-circle{width:70px;height:70px}
  .home .case-icon,.home .case-icon.case-icon-image{width:62px;height:62px}
}

/* ---- STEP FLOW v2 : right number is the hero, arrows lead down ---- */
.stepflow{padding-left:0}
.stepflow-item{display:block;grid-template-columns:none;padding:0;margin:0;position:relative}

.stepflow-body{
  padding:clamp(24px,3vw,34px) clamp(26px,3.4vw,40px);
  padding-right:clamp(98px,15vw,196px);
  border-radius:14px;
}
.stepflow-body::before{width:5px}
.stepflow-item:hover .stepflow-body{transform:translateY(-4px)}

/* prominent number on the right */
.stepflow-ghost{
  right:clamp(22px,3vw,46px);top:50%;transform:translateY(-50%);
  font-size:clamp(3.6rem,6.4vw,6rem);font-weight:600;line-height:1;
  color:rgba(136,0,72,.13);
  -webkit-text-stroke:1.4px rgba(136,0,72,.52);
}

/* centered down-arrow between boxes (and into the goal) */
.stepflow-arrow{display:flex;justify-content:center;align-items:center;height:clamp(42px,5vw,60px)}
.stepflow-arrow svg{
  width:30px;height:30px;fill:none;stroke:var(--wine);stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;
  animation:stepArrow 1.9s ease-in-out infinite;
}
@keyframes stepArrow{0%,100%{transform:translateY(-3px);opacity:.5}50%{transform:translateY(3px);opacity:1}}

/* goal arrival band (no left node) */
.stepflow-goal{
  display:flex;align-items:center;gap:16px;grid-template-columns:none;
  margin-top:clamp(4px,.8vw,10px);
  padding:clamp(20px,2.6vw,26px) clamp(24px,3.2vw,34px);
  background:linear-gradient(120deg,#faf3f1,#f5eae5);
  border:1px solid var(--home-border);border-left:5px solid var(--wine);border-radius:13px;
  box-shadow:0 12px 32px rgba(62,43,53,.06);
}
.stepflow-goal-ic{
  flex:none;width:54px;height:54px;border-radius:50%;
  background:var(--grad-wine);color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 26px rgba(136,0,72,.32);
}
.stepflow-goal-ic svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stepflow-goal p{margin:0;font-family:var(--serif-jp);font-weight:500;font-size:clamp(1rem,1.5vw,1.2rem);line-height:1.7;color:var(--ink)}
.stepflow-goal b{color:var(--wine);font-weight:700}

@media (prefers-reduced-motion:reduce){.stepflow-arrow svg{animation:none;opacity:.7}}
@media (max-width:640px){
  .stepflow-body{padding:22px 18px;padding-right:64px}
  .stepflow-ghost{right:12px;font-size:2.9rem;-webkit-text-stroke-width:1px}
  .stepflow-arrow{height:38px}
  .stepflow-arrow svg{width:26px;height:26px}
  .stepflow-goal{gap:13px;padding:18px 16px}
  .stepflow-goal-ic{width:46px;height:46px}
}

/* ======================================================
   Adjust 2026-07-17 : case label hierarchy + seminar schedule v2
   ====================================================== */

/* ---- case cards: 悩み/支援内容/変化 as clear serif headings, body below ---- */
.home .case-design-card dl{gap:15px}
.home .case-design-card dl>div{gap:4px}
.home .case-design-card dt{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--serif-jp);font-size:1.14rem;font-weight:600;letter-spacing:.03em;
  color:var(--wine);
}
.home .case-design-card dt::before{
  content:"";width:8px;height:8px;border-radius:50%;background:var(--grad-wine);flex:none;
}
.home .case-design-card dd{
  font-size:.92rem;line-height:1.68;color:#4a424a;
}

/* ---- seminar schedule : date list panel (pattern B) ---- */
.seminar-panel{
  margin-top:clamp(28px,4vw,44px);
  background:#fff;border:1px solid var(--home-border);border-radius:16px;
  border-left:5px solid var(--wine);
  box-shadow:0 16px 42px rgba(62,43,53,.07);
  overflow:hidden;
}
.seminar-panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:clamp(18px,2.4vw,24px) clamp(22px,3vw,32px);
  border-bottom:1px solid var(--home-border);
  background:linear-gradient(120deg,#faf3f1,#f6ece7);
}
.seminar-panel-kicker{
  font-family:var(--util);font-weight:700;font-size:.8rem;letter-spacing:.16em;color:var(--wine);
}
.seminar-list{list-style:none;margin:0;padding:0 clamp(22px,3vw,32px)}
.seminar-row{
  display:flex;align-items:center;gap:clamp(14px,2vw,22px);
  padding:clamp(18px,2.4vw,24px) 0;
  border-bottom:1px solid var(--line);
  transition:background .25s;
}
.seminar-list .seminar-row:last-child{border-bottom:0}
.seminar-row:hover{background:rgba(136,0,72,.02)}
.seminar-cal{
  flex:none;width:46px;height:46px;border-radius:11px;
  background:#fae8ef;color:var(--wine);
  display:flex;align-items:center;justify-content:center;
}
.seminar-cal svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.seminar-main{flex:1 1 auto;min-width:0}
.seminar-main b{
  font-family:var(--serif-jp);font-weight:600;font-size:clamp(1.2rem,1.9vw,1.5rem);
  color:var(--ink);letter-spacing:.03em;
}
.seminar-week{
  flex:none;width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--serif-jp);font-weight:600;font-size:1.02rem;
  color:var(--wine);border:1.5px solid rgba(136,0,72,.35);
}
.seminar-panel-foot{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:18px 30px;
  padding:clamp(20px,2.6vw,26px) clamp(22px,3vw,32px);
  border-top:1px solid var(--home-border);
  background:#fdf9f8;
}
.seminar-notes{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.seminar-notes li{position:relative;padding-left:20px;font-size:.86rem;line-height:1.6;color:#574e55}
.seminar-notes li::before{content:"";position:absolute;left:2px;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--wine)}
.seminar-panel-foot .btn{flex:none;white-space:nowrap}

/* 外部申込フォームへのCTA（2ボタン並記） */
.ext-cta-pair{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;flex:none}
.ext-cta-pair .btn{flex:none;white-space:nowrap}

@media (max-width:640px){
  .ext-cta-pair{flex-direction:column;align-items:stretch;width:100%}
  .ext-cta-pair .btn{width:100%;justify-content:center}
  .seminar-row{gap:13px;padding:16px 0}
  .seminar-cal{width:42px;height:42px;border-radius:10px}
  .seminar-cal svg{width:21px;height:21px}
  .seminar-main b{font-size:1.16rem}
  .seminar-week{width:34px;height:34px;font-size:.94rem}
  .seminar-panel-foot{flex-direction:column;align-items:stretch;text-align:left}
  .seminar-panel-foot .btn{width:100%;justify-content:center}
}

/* ======================================================
   Adjust 2026-07-17b : Contact section cleanup
   縦の詰まりを解消し、入口カード/フォーム/流れを整理。
   ====================================================== */
.home .contact-stage-head{margin-bottom:clamp(34px,4vw,46px)}
.home .contact-stage-head p{max-width:34em;margin-inline:auto;line-height:1.9}

/* two entry cards : vertical, no mid-word wrapping */
.home .contact-entry-grid{gap:18px;max-width:880px}
.home .contact-entry-card{
  display:flex;flex-direction:column;align-items:flex-start;
  grid-template-columns:none;gap:0;
  padding:clamp(26px,3vw,34px);text-align:left;border-radius:14px;
}
.home .contact-entry-card .contact-entry-icon{width:54px;height:54px;margin-bottom:16px}
.home .ce-eyebrow{
  margin:0 0 6px;font-family:var(--util);font-size:.8rem;font-weight:600;
  letter-spacing:.02em;color:#8a7d84;white-space:nowrap;
}
.home .contact-entry-card h3{margin:0 0 8px;font-size:clamp(1.3rem,2vw,1.6rem);color:var(--ink);line-height:1.5}
.home .ce-desc{margin:0 0 22px;font-size:.9rem;line-height:1.8;color:#5f555c}
.home .contact-entry-card .btn{margin-top:auto;align-self:stretch;justify-content:center;min-height:52px;font-size:.9rem;padding-inline:20px}

/* form panel */
.home .contact-form-panel{padding:clamp(20px,2.6vw,28px)}
.home .cf-eyebrow{margin:0 0 16px;font-family:var(--util);font-size:.78rem;font-weight:700;letter-spacing:.1em;color:var(--wine)}

/* consultation flow : title / steps / assurance, stacked */
.home .contact-flow{display:block;grid-template-columns:none;margin-top:clamp(30px,4vw,44px);text-align:center}
.home .contact-flow-title{
  display:flex;align-items:center;gap:16px;text-align:left;
  color:#fff;font-size:1.12rem;margin:0 0 18px;
}
.home .contact-flow-title::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.25)}
.home .contact-steps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:stretch;gap:14px;text-align:left}
.home .cstep{background:#fff;border-radius:13px;padding:20px 22px;display:flex;gap:15px;align-items:flex-start}
.home .cstep b{
  flex:none;width:32px;height:32px;border-radius:50%;background:var(--grad-wine);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:var(--serif-lat);font-size:1.05rem;line-height:1;
}
.home .cstep strong{display:block;font-size:.94rem;color:var(--ink);margin-bottom:4px;line-height:1.5}
.home .cstep p{margin:0;font-size:.78rem;color:#756a70;line-height:1.55}
.home .cstep-arrow{align-self:center;color:rgba(255,255,255,.6);font-size:1.5rem;font-family:var(--util)}
.home .contact-assurance-line{
  display:inline-flex;align-items:center;gap:13px;
  margin-top:22px;padding:15px 26px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-radius:999px;
}
.home .contact-assurance-line svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.home .contact-assurance-line span{font-size:.86rem;color:rgba(255,255,255,.82);line-height:1.5}
.home .contact-assurance-line strong{color:#fff;margin-right:.4em}

@media (max-width:820px){
  .home .contact-steps{grid-template-columns:1fr;gap:10px}
  .home .cstep-arrow{transform:rotate(90deg);justify-self:center;margin:1px 0}
}
@media (max-width:640px){
  .home .ce-eyebrow{white-space:normal}
  .home .contact-assurance-line{display:flex;border-radius:16px;text-align:left}
}

/* ---- section-end CTA with a small tagline under the button ---- */
.cta-act{display:inline-flex;flex-direction:column;align-items:center;gap:8px}
.cta-note{font-family:var(--util);font-size:.76rem;letter-spacing:.02em;color:var(--ink-soft);line-height:1.45;text-align:center;max-width:22em}
.flow-cta{justify-content:center}

/* ======================================================
   SITE-WIDE POLISH 2026-07-17 : 下層ページをトップの
   デザイン言語（グラデCTA・角丸で奥行きのあるカード・
   スクロール演出）に合わせる。.home は特異度で保護される。
   ====================================================== */

/* --- buttons --- */
.btn{border-radius:7px;transition:transform .25s,box-shadow .25s,background .3s,border-color .3s}
.btn:not(.ghost):not(.light){
  background:linear-gradient(120deg,#9a0055,#6e003a);border-color:transparent;
  box-shadow:0 10px 24px rgba(136,0,72,.22);
}
.btn:not(.ghost):not(.light):hover{
  background:linear-gradient(120deg,#88004a,#5c0030);
  box-shadow:0 16px 34px rgba(136,0,72,.34);transform:translateY(-2px);
}
.btn.ghost,.btn.light{border-radius:7px;transition:transform .25s,box-shadow .25s,border-color .3s,background .3s}
.btn.ghost:hover,.btn.light:hover{transform:translateY(-2px)}

/* --- panels: hairline grid -> separated rounded cards with depth --- */
.cells{gap:clamp(16px,2vw,22px);background:transparent;border:0}
.cell{
  background:linear-gradient(180deg,#fff,#fdf9f8);
  border:1px solid var(--line);border-radius:14px;
  box-shadow:0 12px 32px rgba(62,43,53,.05);
  position:relative;overflow:hidden;
  transition:transform .28s,box-shadow .28s,border-color .28s;
}
.cell::after{
  content:"";position:absolute;left:0;top:0;height:3px;width:0;
  background:linear-gradient(90deg,#9a0055,#6e003a);
  transition:width .45s cubic-bezier(.2,.7,.2,1);
}
.cell:hover{transform:translateY(-6px);box-shadow:0 26px 55px rgba(62,43,53,.13);border-color:rgba(136,0,72,.3)}
.cell:hover::after{width:100%}

/* --- rounded media frames --- */
.vidframe,.profile .avatar,.message .portrait{border-radius:14px}
.vidframe{box-shadow:0 12px 32px rgba(62,43,53,.06)}

/* --- editorial list rows: hover life --- */
.job,.step,.deflist .di{transition:background .25s}
.job:hover,.step:hover,.deflist .di:hover{background:rgba(136,0,72,.025)}

/* --- FAQ --- */
.faq-list details{transition:background .25s,border-color .25s}
.faq-list summary:hover{color:var(--wine)}
.faq-list details[open]{background:rgba(136,0,72,.015)}

/* --- dark CTA/message bands: gradient to echo the top's dark sections --- */
.message,.ctaband{
  background:
    radial-gradient(60% 60% at 12% 0%,rgba(255,120,190,.14),transparent 55%),
    linear-gradient(135deg,#6e003a 0%,#5c0030 58%,#450025 100%);
}

/* --- scroll reveal (enhance.js adds .reveal on sub-pages; JS-gated) --- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);will-change:opacity,transform}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important;transition:none}}

/* CTA with tagline: center-stack so button+tagline read as one unit */
.home .inline-cta.cta-stacked{flex-direction:column;text-align:center;gap:16px}

/* ======================================================
   下層の共通CTA(.unified-cta)をトップの .contact-stage と
   同じダーク・デザインに統一 (2026-07-17)
   （.unified-cta は下層専用。トップは .contact-stage で不変）
   ====================================================== */
.unified-cta{
  background:
    radial-gradient(60% 55% at 10% 0%,rgba(255,120,190,.16),transparent 55%),
    linear-gradient(135deg,#6e003a 0%,#a60058 58%,#79003f 100%);
  color:#fff;border-top:0;position:relative;overflow:hidden;
}
.unified-cta .wrap{position:relative;z-index:2}

/* heading */
.unified-head{max-width:none;text-align:center;margin-bottom:clamp(34px,4vw,46px)}
.unified-head .kicker{color:#fff;justify-content:center}
.unified-head .kicker::before{background:rgba(255,255,255,.6)}
.unified-head h2{color:#fff}
.unified-head .lead{color:rgba(255,255,255,.82);max-width:34em;margin-inline:auto}

/* entry cards -> white vertical cards */
.unified-cta .entry-grid{max-width:880px;margin:0 auto clamp(30px,4vw,44px);gap:18px}
.unified-cta .entry-card{
  border:0;border-radius:14px;padding:clamp(26px,3vw,34px);
  box-shadow:0 16px 40px rgba(40,0,22,.28);
  transition:transform .28s,box-shadow .28s;
}
.unified-cta .entry-card:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(40,0,22,.4)}
.unified-cta .entry-label{color:#8a7d84;font-weight:600;letter-spacing:.02em;margin-bottom:6px}
.unified-cta .entry-card h3{margin-bottom:8px;line-height:1.5;color:var(--ink)}
.unified-cta .entry-card p{margin:0 0 22px;font-size:.9rem;line-height:1.8;color:#5f555c}
.unified-cta .entry-card .btn{align-self:stretch;justify-content:center;min-height:52px}

/* consult flow -> white step cards with number badge */
.unified-cta .consult-flow{margin-bottom:clamp(26px,3vw,36px)}
.unified-cta .consult-flow>h3{
  display:flex;align-items:center;gap:16px;color:#fff;font-size:1.12rem;
  margin-bottom:18px;font-weight:600;
}
.unified-cta .consult-flow>h3::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.25)}
.unified-cta .flow-grid{gap:14px;background:transparent;border:0}
.unified-cta .flow-grid>div{display:flex;flex-direction:column;align-items:flex-start;border-radius:13px;padding:20px 22px}
.unified-cta .flow-grid span{
  width:34px;height:34px;border-radius:50%;
  background:linear-gradient(120deg,#9a0055,#6e003a);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:.98rem;margin-bottom:12px;
}
.unified-cta .flow-grid b{color:var(--ink);font-size:.94rem}
.unified-cta .flow-grid p{color:#756a70;font-size:.8rem;line-height:1.55}

/* form panel -> white rounded panel */
.unified-cta .placeholder-form{border:0;border-radius:16px;box-shadow:0 16px 40px rgba(40,0,22,.24)}
.unified-cta .form-intro .kicker{color:var(--wine)}
.unified-cta .form-intro .kicker::before{background:var(--wine)}
.unified-cta .form-grid input,.unified-cta .form-grid select{border-radius:7px}
.unified-cta .form-submit{border-radius:7px}
.unified-cta .assurance{
  border-radius:12px;background:#fbeef4;color:var(--ink);
  border-left:4px solid var(--wine);font-weight:500;
}
.unified-cta .contact-mail a{color:var(--wine);font-weight:700}

@media (max-width:760px){
  .unified-cta .entry-grid{grid-template-columns:1fr}
  .unified-cta .flow-grid{grid-template-columns:1fr}
}

/* ======================================================
   2026-07-17c : CTA button redesign + card意匠 + 求人カード化
   ====================================================== */

/* --- CTA buttons: tighter text, better balance, cleaner fill --- */
.btn{
  font-family:var(--util);font-weight:600;letter-spacing:.02em;font-size:.94rem;
  gap:.5em;min-height:52px;padding:0 28px;border-radius:8px;
}
.btn:not(.ghost):not(.light){
  background:var(--wine);border-color:var(--wine);
  box-shadow:0 4px 14px rgba(136,0,72,.22);
}
.btn:not(.ghost):not(.light):hover{
  background:var(--wine-deep);border-color:var(--wine-deep);
  box-shadow:0 9px 22px rgba(136,0,72,.3);transform:translateY(-2px);
}
.btn.ghost{border-color:rgba(28,22,26,.24)}
/* arrow → available site-wide, with a subtle slide */
.btn-arrow::after{content:"→";font-size:1rem;transition:transform .25s;margin-left:.05em}
.btn-arrow:hover::after{transform:translateX(4px)}
.home .btn-arrow::after{content:"→"}  /* keep top consistent */

/* --- .cell cards: add the top's mini-line signature under the heading --- */
.cell h3{position:relative;padding-bottom:15px;margin-bottom:14px}
.cell h3::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:2px;background:var(--wine);transition:width .4s}
.cell:hover h3::after{width:54px}

/* --- recruit: job rows -> cards --- */
.jobs{border-top:0;display:grid;gap:16px}
.job{
  border:1px solid var(--line);border-radius:14px;
  background:linear-gradient(180deg,#fff,#fdf9f8);
  box-shadow:0 12px 32px rgba(62,43,53,.05);
  padding:clamp(26px,3.2vw,38px);position:relative;overflow:hidden;
  transition:transform .28s,box-shadow .28s,border-color .28s;
}
.job::after{content:"";position:absolute;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,#9a0055,#6e003a);transition:width .45s cubic-bezier(.2,.7,.2,1)}
.job:hover{transform:translateY(-6px);box-shadow:0 26px 55px rgba(62,43,53,.13);border-color:rgba(136,0,72,.3);background:linear-gradient(180deg,#fff,#fdf9f8)}
.job:hover::after{width:100%}

/* button redesign must also override the higher-specificity .home rules on the top page */
.home .btn{letter-spacing:.02em;font-size:.94rem;min-height:52px;padding:0 28px;border-radius:8px;gap:.5em}
.home .btn:not(.ghost):not(.light){
  background:var(--wine);border-color:var(--wine);
  box-shadow:0 4px 14px rgba(136,0,72,.22);
}
.home .btn:not(.ghost):not(.light):hover{
  background:var(--wine-deep);border-color:var(--wine-deep);
  box-shadow:0 9px 22px rgba(136,0,72,.3);transform:translateY(-2px);
}

/* ======================================================
   contact ページのお問い合わせブロックだけ白based
   （他ページ下部の .unified-cta はダークのまま）
   ====================================================== */
.unified-cta--light{
  background:linear-gradient(180deg,#fdfbfa 0%,#f5ece7 100%);
  color:var(--ink);
}
.unified-cta--light .unified-head .kicker{color:var(--wine)}
.unified-cta--light .unified-head .kicker::before{background:var(--wine)}
.unified-cta--light .unified-head h2{color:var(--ink)}
.unified-cta--light .unified-head .lead{color:var(--ink-soft)}

/* cards need visible edges on a light background */
.unified-cta--light .entry-card{
  border:1px solid var(--line);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
}
.unified-cta--light .entry-card:hover{box-shadow:0 24px 50px rgba(62,43,53,.12)}
.unified-cta--light .consult-flow>h3{color:var(--ink)}
.unified-cta--light .consult-flow>h3::after{background:var(--line)}
.unified-cta--light .flow-grid>div{border:1px solid var(--line)}
.unified-cta--light .placeholder-form{
  border:1px solid var(--line);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
}

/* ======================================================
   Adjust 2026-07-17c : Privacy policy page + footer legal link
   ====================================================== */
.foot-legal{color:rgba(255,255,255,.62);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.24);padding-bottom:1px;transition:color .2s,border-color .2s}
.foot-legal:hover{color:#fff;border-color:rgba(255,255,255,.7)}

.legal-wrap{max-width:860px}
.legal-intro{font-size:.96rem;line-height:2;color:#4a434a;margin:0 0 clamp(32px,4vw,44px)}
.legal-sec{margin-bottom:clamp(34px,4.4vw,48px)}
.legal-sec h2{
  font-family:var(--serif-jp);font-size:clamp(1.12rem,1.9vw,1.34rem);font-weight:700;
  color:var(--ink);margin:0 0 16px;padding-bottom:12px;
  border-bottom:1px solid var(--home-border,rgba(0,0,0,.1));
}
.legal-sec p{font-size:.94rem;line-height:2;color:#4a434a;margin:0 0 14px}
.legal-sec p:last-child{margin-bottom:0}
.legal-sec .deflist{margin-top:4px}
.legal-list{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:10px}
.legal-list li{position:relative;padding-left:20px;font-size:.94rem;line-height:1.9;color:#4a434a}
.legal-list li::before{content:"";position:absolute;left:2px;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--wine)}
.legal-list a{color:var(--wine);word-break:break-all}
.legal-date{
  margin-top:clamp(36px,4.6vw,52px);padding-top:22px;
  border-top:1px solid var(--home-border,rgba(0,0,0,.1));
  font-size:.86rem;color:#6d646d;text-align:right;
}

/* ======================================================
   Adjust 2026-07-17d : 悩みカード見出しを全幅で2行に収める
   ------------------------------------------------------
   見出しはアイコン横の狭いカラムに入るため、画面幅によって
   3〜4行に折れていた。アイコンをわずかに縮小し、フォントの
   伸びを抑えることで、全ブレークポイントで2行に統一する。
   ※このブロックは既存の 1050px 指定より後に置く必要がある
   ====================================================== */
.home .feature-card-head{grid-template-columns:76px minmax(0,1fr);gap:16px}
.home .feature-card-head .icon-circle{width:76px;height:76px}
.home .feature-card-head h3{
  font-size:clamp(1.06rem,1.15vw,1.24rem);
  letter-spacing:.02em;
}
/* 3カラムのまま最も窮屈になる帯（1000〜1150px）は一段小さく */
@media (max-width:1150px) and (min-width:1000px){
  .home .feature-card-head{grid-template-columns:60px minmax(0,1fr);gap:12px}
  .home .feature-card-head .icon-circle{width:60px;height:60px}
  .home .feature-card-head h3{font-size:.97rem;letter-spacing:0;line-height:1.5}
}
/* 921〜999px：横並びでは文字幅が足りないため、アイコンを上に積んで
   見出しにカード幅いっぱいを使わせる */
@media (max-width:999px) and (min-width:921px){
  .home .feature-card-head{grid-template-columns:1fr;gap:14px;justify-items:start}
  .home .feature-card-head .icon-circle{width:60px;height:60px}
  .home .feature-card-head h3{font-size:1.04rem;letter-spacing:.01em;line-height:1.55}
}
/* 極小幅（〜360px）でも2行を維持 */
@media (max-width:380px){
  .home .feature-card-head{grid-template-columns:58px minmax(0,1fr);gap:12px}
  .home .feature-card-head .icon-circle{width:58px;height:58px}
  .home .feature-card-head h3{font-size:1.02rem;letter-spacing:0}
}

/* ======================================================
   Mail panel — 暫定のメール窓口（フォーム導入までの代替）
   ====================================================== */
.mail-panel{
  background:#fff;
  border:1px solid var(--line);
  padding:clamp(26px,5vw,54px);
  box-shadow:0 12px 32px rgba(62,43,53,.06);
}
.mail-panel-head{margin-bottom:clamp(22px,3vw,30px)}
.mail-panel-head h3{margin:12px 0 10px;font-size:clamp(1.25rem,2vw,1.6rem);font-weight:700}
.mail-panel-head p{color:var(--ink-soft);margin:0}

/* the address itself — the focal point of the page */
.mail-address{
  display:flex;align-items:center;justify-content:center;gap:14px;
  padding:clamp(22px,3.4vw,32px) clamp(18px,3vw,28px);
  background:var(--cream);
  border:1px solid var(--line);
  border-left:4px solid var(--wine);
  text-decoration:none;
  transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.mail-address:hover{
  background:#fff;
  border-color:rgba(136,0,72,.3);
  border-left-color:var(--wine);
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(62,43,53,.12);
}
.mail-icon{flex:0 0 auto;width:26px;height:26px;color:var(--wine)}
.mail-icon svg{width:100%;height:100%;display:block;stroke-linecap:round;stroke-linejoin:round}
.mail-text{
  font-family:var(--util);
  font-size:clamp(1.15rem,2.6vw,1.7rem);
  font-weight:600;letter-spacing:.02em;
  color:var(--wine);
  word-break:break-all;
}

.mail-note{margin-top:clamp(22px,3vw,30px)}
.mail-note-title{margin:0 0 12px;font-weight:700;color:var(--ink)}
.mail-note ul{margin:0;padding-left:1.15em;color:var(--ink-soft)}
.mail-note li{margin-bottom:7px;line-height:1.8}
.mail-note li:last-child{margin-bottom:0}

@media(max-width:520px){
  .mail-address{flex-direction:column;gap:10px;text-align:center;
    border-left:1px solid var(--line);border-top:4px solid var(--wine)}
  .mail-text{font-size:1.05rem}
}

/* dark variant (unified-cta on other pages, if reused) */
.unified-cta .mail-panel{border:0;border-radius:16px;box-shadow:0 16px 40px rgba(40,0,22,.24)}
.unified-cta--light .mail-panel{border:1px solid var(--line);box-shadow:0 12px 32px rgba(62,43,53,.06)}

/* ---- トップページ：メール窓口（contact-form-panel の後継） ---- */
.home .contact-mail-panel{
  background:#fff;border-radius:9px;
  padding:clamp(22px,3vw,34px);
  margin-bottom:25px;
}
.home .contact-mail-panel .cf-eyebrow{
  margin:0 0 16px;font-family:var(--util);font-size:.78rem;font-weight:700;
  letter-spacing:.1em;color:var(--wine);
}
.home .cf-mail{
  display:flex;align-items:center;justify-content:center;gap:14px;
  padding:clamp(18px,2.6vw,26px) clamp(16px,2.4vw,24px);
  background:var(--cream);
  border:1px solid var(--home-border);
  border-left:4px solid var(--wine);
  border-radius:6px;text-decoration:none;
  transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.home .cf-mail:hover{
  background:#fff;border-color:rgba(136,0,72,.3);border-left-color:var(--wine);
  transform:translateY(-2px);box-shadow:0 14px 32px rgba(62,43,53,.12);
}
.home .cf-mail-icon{flex:0 0 auto;width:24px;height:24px;color:var(--wine)}
.home .cf-mail-icon svg{width:100%;height:100%;display:block;stroke-linecap:round;stroke-linejoin:round}
.home .cf-mail-text{
  font-family:var(--util);font-size:clamp(1.1rem,2.2vw,1.5rem);
  font-weight:600;letter-spacing:.02em;color:var(--wine);word-break:break-all;
}
.home .cf-mail-note{margin:14px 0 0;color:var(--ink-soft);font-size:.92rem;line-height:1.8}
@media(max-width:560px){
  .home .cf-mail{flex-direction:column;gap:10px;text-align:center;
    border-left:1px solid var(--home-border);border-top:4px solid var(--wine)}
  .home .cf-mail-text{font-size:1.02rem}
}
