:root{
  --red:#cc1622;
  --red-dark:#b10f1b;
  --navy:#0d1730;
  --ink:#1b1d22;
  --muted:#707782;
  --line:#e7e7ea;
  --bg:#f7f7f8;
  --panel:#f4f4f5;
  --soft:#f1f1f2;
  --max:1600px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","YuGothic",Meiryo,sans-serif;color:var(--ink);background:#fff;line-height:1.7;letter-spacing:.02em}
a{text-decoration:none;color:inherit}
img{display:block;width:100%;height:100%;object-fit:cover}
.wrap{width:min(100%,var(--max));margin:0 auto}
.kicker{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--red)}
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-width:170px;padding:14px 20px;background:var(--red);color:#fff;font-size:12px;font-weight:800;letter-spacing:.08em;border:none}
.btn.white{background:#fff;color:var(--ink)}
.btn.outline{background:#fff;color:var(--ink);border:1px solid var(--red)}

/* header */
.header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #ededf0;height:82px;display:flex;align-items:stretch}
.brand{display:flex;align-items:center;gap:16px;padding:0 32px;min-width:340px}
.logo-mark{width:42px;height:30px;position:relative;flex:0 0 auto}
.logo-mark:before,.logo-mark:after{content:"";position:absolute;inset:0}
.logo-mark:before{clip-path:polygon(0 22%,42% 22%,76% 50%,44% 78%,0 78%,27% 50%);background:linear-gradient(180deg,#e1202b,#bc0f1c)}
.logo-mark:after{left:12px;top:6px;right:6px;bottom:6px;clip-path:polygon(0 10%,48% 10%,88% 50%,48% 90%,0 90%,28% 50%);background:#fff;mix-blend-mode:screen;opacity:.95}
.brand-text strong{display:block;font-size:16px;letter-spacing:.08em;line-height:1.1}
.brand-text small{display:block;margin-top:5px;font-size:11px;color:#616670;letter-spacing:.14em;font-weight:700}
.nav{margin-left:auto;display:flex;align-items:stretch}
.nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 20px;font-size:12px;font-weight:800;letter-spacing:.12em;position:relative}
.nav a.active:after{content:"";position:absolute;bottom:12px;left:50%;width:22px;height:3px;background:var(--red);transform:translateX(-50%)}
.entry{min-width:180px;background:linear-gradient(180deg,var(--red),var(--red-dark));color:#fff!important;font-size:14px}
.menu{width:84px;background:var(--navy);display:grid;place-items:center}
.menu span,.menu span:before,.menu span:after{content:"";display:block;width:28px;height:2px;background:#fff;border-radius:99px}
.menu span:before{transform:translateY(-8px)}
.menu span:after{transform:translateY(6px)}

/* hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fafafa,#f0f0f2);min-height:640px;border-bottom:1px solid var(--line)}
.hero-bg{position:absolute;inset:0;background:
 radial-gradient(circle at 82% 26%, rgba(255,255,255,.95), transparent 18%),
 linear-gradient(115deg, rgba(255,255,255,.85) 0 17%, rgba(232,234,236,.5) 17% 37%, rgba(255,255,255,.2) 37% 50%, rgba(227,230,234,.46) 50% 63%, rgba(255,255,255,.16) 63% 100%);
}
.hero-bg:before,.hero-bg:after{content:"";position:absolute;inset:auto;transform:skewX(-22deg);background:rgba(255,255,255,.68)}
.hero-bg:before{left:18%;top:-6%;width:260px;height:120%}
.hero-bg:after{right:14%;top:-8%;width:240px;height:125%}
.hero-person{position:absolute;z-index:2}
.hero-person img{object-fit:contain;object-position:center bottom;filter:contrast(1.03) saturate(.93)}
.hero-1{left:0%;bottom:0;width:25%;height:82%}
.hero-2{left:21%;bottom:0;width:23%;height:92%}
.hero-3{right:20%;bottom:0;width:23%;height:88%;transform:translateX(40px)}
.hero-4{right:1%;bottom:0;width:22%;height:76%}
.slash{position:absolute;z-index:3;width:10px;background:var(--red);transform:skewX(-22deg)}
.slash.s1{left:2.8%;top:50%;height:76px}
.slash.s2{left:56.5%;top:19%;height:88px}
.slash.s3{right:3.4%;top:22%;height:160px}
.slash.s4{right:19%;bottom:22%;height:74px}
.hero-script-left,.hero-script-right{position:absolute;z-index:4;color:#d34c52;font-family:"Bradley Hand","Segoe Script","Snell Roundhand",cursive;font-size:30px;line-height:1.1;opacity:.88;display:none}
.hero-script-left{left:5.2%;top:110px;transform:rotate(-8deg)}
.hero-script-right{right:4.5%;top:300px;max-width:160px;font-family:inherit;font-style:normal;font-weight:800;font-size:14px;line-height:1.9;letter-spacing:.12em;color:#575d66;text-align:left}
.hero-copy{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);z-index:5;text-align:center;width:min(920px,72vw)}
.hero-copy h1{margin:0;font-size:clamp(36px,4vw,60px);line-height:1.45;font-weight:900;letter-spacing:.06em}
.hero-copy h1 span{display:inline-block;background:rgba(255,255,255,.96);padding:7px 22px;margin:5px 0;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.hero-copy h1 em{font-style:normal;color:var(--red)}
.hero-copy .sub{margin-top:16px;font-size:13px;color:#4f5560;font-weight:700}

/* work */
.work{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}
.work-photo,.work-card{min-height:340px;position:relative}
.work-photo{overflow:hidden;background:#ddd}
.work-photo img{filter:saturate(.92)}
.label{position:absolute;left:22px;bottom:22px;background:var(--red);color:#fff;font-weight:800;font-size:18px;letter-spacing:.02em;padding:9px 14px;line-height:1.2}
.work-card{background:linear-gradient(135deg,#fbfbfb,#f1f1f2);display:flex;align-items:center;justify-content:center;padding:32px;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.work-card:before{content:"";position:absolute;left:28px;top:32px;width:9px;height:40px;background:var(--red);transform:skewX(-22deg)}
.work-inner{max-width:315px}
.work-inner h2{font-size:24px;line-height:1.45;margin:8px 0 12px}
.work-inner p{font-size:13px;color:#555b66;margin:0 0 22px}

/* people */
.people-sec{padding:68px 46px 76px;background:linear-gradient(180deg,#fcfcfc,#f7f7f8);border-bottom:1px solid var(--line);position:relative;overflow:hidden}
.people-sec:before,.people-sec:after{content:"";position:absolute;width:10px;background:var(--red);transform:skewX(-22deg);opacity:.94}
.people-sec:before{left:7%;top:82px;height:88px}
.people-sec:after{right:8%;bottom:120px;height:74px}
.sec-head{text-align:center;margin-bottom:36px}
.sec-head h2{margin:6px 0 6px;font-size:42px;line-height:1.2;letter-spacing:.03em}
.sec-head p{margin:0;color:#6a717b;font-size:13px}
.people{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;max-width:1400px;margin:0 auto}
.person{min-width:0}
.photo{width:min(220px,88%);aspect-ratio:1/1;border-radius:50%;overflow:hidden;margin:0 auto 18px;background:#ededf0;border:1px solid #e4e5e8}
.photo img{object-fit:cover}
.name-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.person .name{font-size:14px;font-weight:900}
.person .role{font-size:11px;color:#6d7480}
.person h3{margin:0 0 10px;font-size:15px;line-height:1.5}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.tag{padding:4px 8px;border-radius:999px;background:#edeef1;font-size:10px;color:#5d6470;font-weight:700}
.person p{margin:0;font-size:13px;line-height:1.8}
.people-btn{text-align:center;margin-top:36px}

/* features */
.features{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}
.feature{position:relative;min-height:355px;overflow:hidden;background:#222}
.feature img{filter:grayscale(.35) saturate(.5) brightness(.78)}
.feature:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.58))}
.feature-copy{position:absolute;left:34px;right:34px;bottom:26px;color:#fff;z-index:2}
.feature .mini{display:inline-block;background:var(--red);padding:4px 9px;font-size:10px;font-weight:800;letter-spacing:.08em}
.feature h3{margin:8px 0 6px;font-size:20px;line-height:1.35}
.feature p{margin:0 0 16px;font-size:12px;max-width:28em}

/* recruit */
.recruit{position:relative;overflow:hidden;background:linear-gradient(135deg,#f8f8f9,#ffffff 62%,#f6f6f7);padding:0;border-bottom:1px solid var(--line)}
.recruit .wrap{display:grid;grid-template-columns:280px 1fr 300px;align-items:center;min-height:170px;gap:28px;padding:0 38px}
.join{align-self:stretch;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,var(--red),var(--red-dark));clip-path:polygon(0 0,100% 0,84% 100%,0 100%);color:#fff;font-size:54px;font-family:"Bradley Hand","Segoe Script","Snell Roundhand",cursive;padding-right:42px}
.recruit-copy{padding:26px 0}
.recruit-copy .line{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.recruit-copy .line:before{content:"";width:50px;height:5px;background:var(--red);transform:skewX(-22deg)}
.recruit-copy h2{font-size:32px;margin:0 0 6px}
.recruit-copy p{margin:0;color:#59606b;font-size:13px}
.recruit-cta{display:flex;justify-content:flex-end}
.recruit-cta .btn{min-width:230px;justify-content:center;font-size:14px;padding:18px 24px}

/* footer */
.footer{background:#fff}
.footer .wrap{display:flex;align-items:center;gap:28px;padding:22px 32px;color:#686f7a;font-size:11px}
.footer strong{margin-right:auto;color:#1b1d22;letter-spacing:.12em}
.footer .links{display:flex;gap:20px;flex-wrap:wrap}
.to-top{position:fixed;right:18px;bottom:18px;width:42px;height:42px;border-radius:3px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:18px;box-shadow:0 8px 18px rgba(0,0,0,.18)}
.note{display:inline-block;margin-top:6px;font-size:10px;color:#9aa0aa}

@media (max-width:1200px){
  .nav a:not(.entry){display:none}
  .brand{min-width:auto}
  .hero{min-height:720px}
  .hero-1,.hero-2,.hero-3,.hero-4{width:30%}
  .hero-1{left:-1%;width:25%}.hero-2{left:20%}.hero-3{right:18%}.hero-4{right:-2%}
  .work{grid-template-columns:1fr 1fr}
  .people{grid-template-columns:repeat(2,1fr)}
  .features{grid-template-columns:1fr}
  .recruit .wrap{grid-template-columns:1fr;gap:0;padding:0}
  .join{clip-path:none;min-height:120px;padding:0}
  .recruit-copy,.recruit-cta{padding:24px 28px}
  .recruit-cta{justify-content:flex-start}
}
@media (max-width:760px){
  .header{height:68px}
  .brand{padding:0 14px;gap:10px}.brand-text strong{font-size:13px}.brand-text small{font-size:9px}
  .entry{display:none!important}.menu{width:64px}
  .hero{min-height:820px}
  .hero-person{width:50%!important;height:42%!important}
  .hero-1{left:3%;bottom:0;width:28%!important;height:48%!important}
  .hero-2{left:20%;bottom:50%;width:34%!important;height:26%!important;opacity:0}
  .hero-3{right:22%;bottom:48%;width:34%!important;height:26%!important;opacity:0}
  .hero-4{right:2%;bottom:0;width:38%!important;height:58%!important}
  .hero-copy{width:92vw;top:20%;transform:translate(-50%,0)}.hero-copy h1{font-size:32px}.hero-script-left,.hero-script-right{display:none}
  .work{grid-template-columns:1fr}
  .people-sec{padding:52px 20px}
  .sec-head h2{font-size:32px}
  .people{grid-template-columns:1fr}
  .footer .wrap{flex-wrap:wrap}
}

/* ===== COMMON HEADER / EDITABLE PROTOTYPE ===== */
.site-header{height:76px;background:rgba(255,255,255,.97);border-bottom:1px solid #ececef;display:flex;align-items:stretch;position:sticky;top:0;z-index:1000!important;backdrop-filter:blur(9px)}
.site-brand{display:flex!important;align-items:center;gap:13px;padding:0 34px;color:#17191e!important;text-decoration:none!important;min-width:250px}
.site-brand:before{content:"";width:38px;height:28px;display:block;background:linear-gradient(135deg,#de1927,#b70f1d);clip-path:polygon(0 12%,35% 12%,76% 50%,35% 88%,0 88%,28% 50%);flex:none}
.site-brand-main{font-weight:900;letter-spacing:.08em;font-size:15px}.site-brand-sub{font-weight:700;letter-spacing:.14em;font-size:10px;color:#737985;border-left:1px solid #d9dce1;padding-left:13px}
.site-actions{margin-left:auto;display:flex}.site-entry{width:180px;display:grid;place-items:center;background:linear-gradient(180deg,#d11a27,#b50e1c);color:#fff!important;text-decoration:none!important;font-weight:800;letter-spacing:.2em;font-size:14px}
.site-menu-btn{width:76px;border:0;background:#0d1730;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;cursor:pointer}.site-menu-btn span{display:block;width:27px;height:1px;background:#fff;transition:.25s}.site-menu-btn.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.site-menu-btn.is-open span:nth-child(2){opacity:0}.site-menu-btn.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.site-drawer{position:fixed;inset:76px 0 0;background:rgba(13,23,48,.96);z-index:999;opacity:0;visibility:hidden;transition:.25s;color:#fff;overflow:auto}.site-drawer.is-open{opacity:1;visibility:visible}.site-drawer-inner{width:min(1120px,calc(100% - 56px));margin:0 auto;padding:60px 0}.site-drawer-nav{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border-top:1px solid rgba(255,255,255,.22)}.site-drawer-nav a{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;padding:22px 18px;color:#fff!important;text-decoration:none!important;border-bottom:1px solid rgba(255,255,255,.18);position:relative}.site-drawer-nav a:nth-child(odd){border-right:1px solid rgba(255,255,255,.18)}.site-drawer-nav b{grid-row:1/3;color:#e52b37;font-size:11px;letter-spacing:.12em;padding-top:5px}.site-drawer-nav span{font-size:21px;font-weight:900;letter-spacing:.12em}.site-drawer-nav small{font-size:11px;color:#bfc5d0;margin-top:2px}.site-drawer-sub{display:flex;gap:28px;flex-wrap:wrap;margin-top:32px;font-size:12px}.site-drawer-sub a{color:#fff!important;text-decoration:none!important;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:3px}
body.menu-open{overflow:hidden}
/* old headers are replaced; protect page content spacing */
@media(max-width:640px){.site-header{height:66px}.site-drawer{inset:66px 0 0}.site-brand{padding:0 14px;min-width:0}.site-brand-sub{display:none}.site-entry{width:118px;font-size:12px}.site-menu-btn{width:64px}.site-drawer-inner{width:calc(100% - 32px);padding:34px 0}.site-drawer-nav{grid-template-columns:1fr}.site-drawer-nav a:nth-child(odd){border-right:0}.site-drawer-nav span{font-size:18px}}
[data-replace="image"]{position:relative}[data-replace="text"]{}


/* v9: mobile accent adjustment for top PEOPLE section */
@media (max-width:760px){
  .people-sec{padding:56px 20px 64px}
  .people-sec:before{left:18px;right:auto;top:84px;height:68px;z-index:0}
  .people-sec:after{right:18px;bottom:28px;height:56px}
  .sec-head{position:relative;z-index:1;margin-bottom:28px}
  .sec-head h2{font-size:32px;line-height:1.25;max-width:calc(100% - 72px);margin-left:auto;margin-right:auto}
  .sec-head p{max-width:calc(100% - 72px);margin:0 auto;line-height:1.7}
}


/* v49: mobile top visual balance adjusted - left figure larger, right figure smaller */
@media (max-width:760px){
  .hero-1{left:4%;bottom:0;width:34%!important;height:54%!important}
  .hero-4{right:4%;bottom:0;width:26%!important;height:42%!important}
}

/* v52: mobile top visual figures moved to upper area */
@media (max-width:760px){
  .hero{min-height:860px}
  .hero-copy{top:31%;transform:translate(-50%,0)}
  .hero-1{left:8%;top:7%;bottom:auto;width:29%!important;height:29%!important;opacity:1}
  .hero-2{left:auto;right:6%;top:7%;bottom:auto;width:31%!important;height:31%!important;opacity:1}
  .hero-3{opacity:0;width:0!important;height:0!important}
  .hero-4{opacity:0;width:0!important;height:0!important}
}


/* v53: mobile top visual enlarged figures and tighter spacing */
@media (max-width:760px){
  .hero{min-height:700px}
  .hero-copy{top:34%;transform:translate(-50%,0);width:92vw}
  .hero-copy h1{font-size:30px;line-height:1.36}
  .hero-copy h1 span{padding:8px 18px;margin:4px 0}
  .hero-copy .sub{margin-top:10px;font-size:11px;line-height:1.6}
  .hero-1{left:5%;top:7%;bottom:auto;width:39%!important;height:37%!important;opacity:1}
  .hero-2{left:auto;right:3%;top:8%;bottom:auto;width:41%!important;height:37%!important;opacity:1}
  .hero-3{opacity:0!important;width:0!important;height:0!important}
  .hero-4{opacity:0!important;width:0!important;height:0!important}
}


/* v55: mobile hero keeps enlarged figures and places next image directly under subcopy */
@media (max-width:760px){
  .hero{min-height:520px}
  .hero-1{left:7%;top:16px;bottom:auto;width:44%!important;height:235px!important;opacity:1}
  .hero-2{left:auto;right:2%;top:16px;bottom:auto;width:44%!important;height:235px!important;opacity:1}
  .hero-3{opacity:0!important;width:0!important;height:0!important}
  .hero-4{opacity:0!important;width:0!important;height:0!important}
  .hero-copy{top:261px;transform:translateX(-50%);width:92vw}
  .hero-copy h1{font-size:31px;line-height:1.32}
  .hero-copy h1 span{padding:8px 18px;margin:3px 0}
  .hero-copy .sub{margin-top:8px;font-size:11px;line-height:1.5}
}

/* v55: mobile hero tightened so work image comes immediately below sub copy */
@media (max-width:760px){
  .hero{min-height:500px}
  .hero-1{left:7%;top:16px;bottom:auto;width:44%!important;height:235px!important;opacity:1}
  .hero-2{left:auto;right:2%;top:16px;bottom:auto;width:44%!important;height:235px!important;opacity:1}
  .hero-copy{top:250px;transform:translateX(-50%);width:92vw}
  .hero-copy h1{font-size:31px;line-height:1.32}
  .hero-copy h1 span{padding:8px 18px;margin:3px 0}
  .hero-copy .sub{margin-top:8px;font-size:11px;line-height:1.5;margin-bottom:0}
}

/* v56: prevent gray gap / layout shift on first mobile load */
@media (max-width:760px){
  .work-photo{
    height:340px;
    min-height:340px;
    background:#ddd;
  }
  .work-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}


/* v57: whole interview blocks are clickable */
.clickable-interview{cursor:pointer}
.clickable-interview:focus-visible{outline:2px solid #cc1622;outline-offset:4px}

/* TOPメインビジュアル：staff 3 / staff 4 ローカル画像用 */

.hero-3{
  right:20%;
  bottom:0;
  width:23%;
  height:88%;
  transform:translateX(40px);
}

.hero-4{
  right:1%;
  bottom:0;
  width:22%;
  height:76%;
}

.hero-3 img,
.hero-4 img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
}

