/* shared by the three top-page drafts: the live page's header, footer, slider and tabs; draft switcher; reveal */
:root{--pink:#d6206f}
section{position:relative}

/* header (live markup: header > a > .logo, .menu, nav#nav > a, a.navcta) */
body>header{position:fixed;inset:18px 24px auto;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 14px 12px 22px;border-radius:999px;transition:background .3s,box-shadow .3s}
body>header.is-solid{background:rgba(255,255,255,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 6px 30px rgba(26,26,26,.06)}
body>header .logo{height:24px;width:auto}
#nav{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:700}
#nav a:not(.navcta):hover{color:var(--pink)}
.navcta{padding:11px 20px;border-radius:999px;background:var(--pink);color:#fff}
.menu{display:none}

/* footer (live markup: footer.site-footer > .footer-brand, .footer-nav > div > b + a, small) */
.site-footer{position:relative;z-index:1;display:grid;grid-template-columns:1fr 2fr;gap:40px 60px;padding:70px max(6vw,24px) 40px;font-size:13px;line-height:1.9}
.site-footer .logo{width:130px;height:auto;margin-bottom:16px}
.footer-brand p{margin:0 0 6px}
.footer-brand address{font-style:normal;color:#6b7280}
.footer-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.footer-nav>div{display:grid;gap:6px;align-content:start}
.footer-nav b{font-size:11px;letter-spacing:.14em;color:var(--pink);margin-bottom:4px}
.footer-nav a:hover{color:var(--pink)}
.site-footer small{grid-column:1/-1;color:#6b7280;font-size:11px}

/* people slider (flow + buttons come from the live page's script) */
.photo-slider{overflow:hidden}
.slider-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.slider-controls{display:flex;gap:10px}
.slider-controls button{width:46px;height:46px;border-radius:50%;border:1.5px solid var(--pink);background:transparent;color:var(--pink);font-size:18px;cursor:pointer;transition:background .2s,color .2s}
.slider-controls button:hover{background:var(--pink);color:#fff}
.photo-track{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.photo-track::-webkit-scrollbar{display:none}
.photo-track figure{margin:0;flex:none}
.photo-track img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.slider-bottom{display:flex;justify-content:flex-end;font-size:12px;color:#6b7280}
.slider-bottom span{display:none}

/* SNS tabs */
.social-tabs{display:flex;gap:8px;flex-wrap:wrap}
.social-tabs button{font:inherit;cursor:pointer}
.social-panel[hidden]{display:none}

.t-switch{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;align-items:center;gap:4px;padding:6px;border-radius:999px;background:#1a1a1a;color:#fff;font:700 12px/1 Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.t-switch small{padding:0 8px;font-size:11px;opacity:.7}
.t-switch a{padding:8px 11px;border-radius:999px}
.t-switch a[aria-current]{background:var(--pink)}

.rv{opacity:0;transform:translateY(28px);filter:blur(6px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1),filter .9s}
.rv.is-in{opacity:1;transform:none;filter:none}

@media(max-width:900px){
  body>header{inset:12px 12px auto;padding:10px 10px 10px 18px}
  .menu{display:block;padding:10px 16px;border:0;border-radius:999px;background:#1a1a1a;color:#fff;font:700 12px/1 Arial,sans-serif;letter-spacing:.1em;cursor:pointer}
  #nav{position:fixed;inset:0;z-index:-1;flex-direction:column;align-items:flex-start;justify-content:center;gap:22px;padding:0 10vw;background:#fff;font-size:20px;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
  #nav.open{opacity:1;visibility:visible}
  .site-footer{grid-template-columns:1fr;padding-bottom:90px}
  .footer-nav{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rv{opacity:1;transform:none;filter:none;transition:none}}
/* C｜photo story (set in the original site's gothic) — warm paper ground, LIGO's wave lines flowing behind, chapters numbered down the left.
   The sections are the live top page's markup; this file only gives them C's look. */
.t-c{--f:"Inter","Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,Arial,sans-serif;background:#faf7f4;font-family:var(--f);color:#2e2e2e}
.t-c #nav,.t-c .t-switch{font-family:var(--f)}

.c-bg{position:fixed;inset:0;z-index:0;pointer-events:none}
.c-bg svg{width:100%;height:100%}
.c-wave{fill:none;stroke-linecap:round}
.c-wave-0{stroke:#d6206f;stroke-width:2;opacity:.35}
.c-wave-1{stroke:#ff8fb8;stroke-width:6;opacity:.16}
.c-wave-2{stroke:#f49ac1;stroke-width:1.5;opacity:.6}

.c-index{position:fixed;left:26px;top:50%;z-index:2;transform:translateY(-50%);list-style:none;margin:0;padding:0;display:grid;gap:14px;font:500 11px/1 var(--f);letter-spacing:.1em;color:#9a9196;opacity:0;transition:opacity .4s}
.c-index.is-on{opacity:1}
.c-index li{display:flex;align-items:center;gap:10px;transition:color .3s}
.c-index b{width:18px}
.c-index li::after{content:'';width:0;height:1px;background:#d6206f;transition:width .4s}
.c-index li.is-now{color:#d6206f}
.c-index li.is-now::after{width:26px}

.c-link{display:inline-flex;align-items:center;gap:12px;font-weight:700;font-size:14px}
.c-link::after{content:'';width:34px;height:1px;background:currentColor;transition:width .3s}
a:hover>.c-link::after,.c-link:hover::after{width:54px}
a:hover>.c-link,.c-link:hover{color:#d6206f}

/* hero: the frame opens up as you scroll */
.c-hero{position:relative;height:170svh}
.c-hero-frame{position:sticky;top:0;height:100svh;overflow:hidden;clip-path:inset(14px round 28px)}
.c-hero-frame video{width:100%;height:100%;object-fit:cover;transform:scale(calc(1.08 - var(--h,0) * .08))}
.c-hero-frame::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(26,18,20,.5))}
.c-hero-copy{position:absolute;left:6vw;bottom:calc(70svh + 15vh);color:#fff;z-index:1}
.c-hero h1{display:grid;font:800 clamp(64px,11vw,180px)/.95 var(--f);letter-spacing:-.01em}
.c-hero h1 span:last-child{padding-left:.9em}
.c-hero-copy p{margin-top:22px;font:800 clamp(18px,1.8vw,26px)/1.6 var(--f);letter-spacing:.06em}

/* common parts of the live sections: each section is a numbered chapter */
.t-c main{counter-reset:ch}
.t-c main>section:not(.c-hero){counter-increment:ch}
.t-c main>section:not(.c-hero)::before{content:counter(ch,decimal-leading-zero);position:absolute;left:max(4vw,40px);top:150px;font:800 15px/1 var(--f);color:var(--pink);letter-spacing:.08em}
.t-c .wrap{max-width:1500px;margin:0 auto;padding:150px 8vw 0 12vw}
.t-c .section-label{font-size:12px;font-weight:700;letter-spacing:.14em;color:#6b7280}
.t-c .eng{margin:12px 0 48px;font-weight:800;font-size:clamp(48px,7vw,96px);line-height:1;letter-spacing:-.045em;color:#1a1a1a}
.t-c h2.jp{font-size:clamp(28px,3.2vw,44px);line-height:1.6;font-weight:800;color:#1a1a1a;margin-bottom:24px}
.t-c .pink{color:var(--pink)}
.t-c .bodycopy{font-size:16px;line-height:2.1;margin:0 0 14px}
.t-c .more{display:inline-flex;align-items:center;gap:12px;margin-top:26px;font-weight:700;font-size:14px}
.t-c .more>span{display:none}
.t-c .more::after{content:'';width:34px;height:1px;background:currentColor;transition:width .3s}
.t-c .more:hover,.t-c a:hover .more{color:var(--pink)}
.t-c .more:hover::after,.t-c a:hover .more::after{width:54px}

/* 私たちについて: text, then the photo as a wide band */
.t-c #company .two{display:grid;grid-template-columns:1.1fr 1fr;gap:5vw;align-items:center}
.t-c #company .company-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:24px}

/* 事業紹介: the cards pile up while you scroll */
.t-c .service-head{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:end}
.t-c .service-head .bodycopy{margin-bottom:48px}
.t-c .teaser-cards{display:grid;gap:16px;padding-bottom:10px}
.t-c .teaser-cards a{position:sticky;top:110px;display:grid;grid-template-columns:76px 1fr auto;align-items:center;gap:4px 28px;padding:26px 36px;background:#fff;border-radius:22px;box-shadow:0 -8px 30px rgba(26,18,20,.05);transition:transform .3s}
.t-c .teaser-cards a:hover{transform:translateY(-3px)}
.t-c .teaser-cards a:nth-child(2){top:124px}
.t-c .teaser-cards a:nth-child(3){top:138px}
.t-c .teaser-cards small{grid-row:1/3;font:800 48px/1 var(--f);color:var(--pink);letter-spacing:-.04em}
.t-c .teaser-cards h3{margin:0;font-size:clamp(20px,1.9vw,26px);font-weight:800;color:#1a1a1a}
.t-c .teaser-cards h3 span{display:inline-block;margin-left:12px;font-size:12px;font-weight:700;color:#6b7280}
.t-c .teaser-cards p{grid-column:2;margin:0;font-size:15px;line-height:1.9}
.t-c .teaser-cards b{grid-column:3;grid-row:1/3;font-size:14px}

/* 仲間とカルチャー */
.t-c .values-tag{display:flex;align-items:center;gap:14px;margin:30px 0 0;padding:0;border:0;border-radius:0;background:none;color:var(--pink);font-size:14px;font-weight:800;letter-spacing:.24em}
.t-c .values-tag::before{content:'';width:44px;height:2px;background:var(--pink)}
.t-c .values-title{margin:14px 0 12px;font-size:clamp(44px,7vw,100px);line-height:1.15;font-weight:800;color:var(--pink);letter-spacing:-.02em}
.t-c .teaser-culture-head .eng{margin-bottom:8px}
.t-c .teaser-culture-head .values-title{margin:10px 0 8px;font-size:clamp(24px,2.4vw,32px);color:#1a1a1a;letter-spacing:0}
.t-c .teaser-culture-head .values-tag{font-size:13px}
.t-c .teaser-culture-head .good-support{font-size:clamp(15px,1.3vw,17px);font-weight:500;color:#6b7280}
.t-c .good-support{margin:0;font-size:clamp(18px,1.8vw,24px);font-weight:800;color:#1a1a1a}
.t-c .photo-slider{padding:70px 0 0}
.t-c .slider-top{padding:0 8vw 0 12vw;margin-bottom:24px}
.t-c .photo-track{padding:0 8vw 10px 12vw;gap:20px}
.t-c .photo-track figure{width:340px;height:440px;border-radius:28px;overflow:hidden}
.t-c .slider-bottom{padding:0 8vw}
.t-c .teaser-culture-foot{padding-top:28px}
.t-c .teaser-culture-head .values-lead{max-width:640px;margin:18px 0 0}
.t-c .teaser-culture-head .more{margin-top:22px}

/* 代表挨拶 */
.t-c .teaser-message-card{display:grid;grid-template-columns:230px 1fr;gap:4vw;align-items:center;max-width:1040px;padding:30px 44px 30px 30px;background:#f3e9ec;border-radius:28px;overflow:hidden}
.t-c .teaser-message-card img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 18%;border-radius:20px}
.t-c .teaser-message-card>div{padding:4px 0}
.t-c .teaser-message-card h2.jp{margin:14px 0 14px;font-size:clamp(24px,2.4vw,32px)}

/* SNS・発信 */
.t-c .social-head{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:end}
.t-c .social-head .bodycopy{margin-bottom:48px}
.t-c .social-tabs{gap:30px;border-bottom:1px solid #1a1a1a;margin-bottom:34px}
.t-c .social-tabs button{padding:14px 0;border:0;background:none;color:#9a9196;font-size:16px;font-weight:700;border-bottom:3px solid transparent;margin-bottom:-1px}
.t-c .social-tabs button[aria-selected=true]{color:#1a1a1a;border-bottom-color:var(--pink)}
.t-c #panel-tiktok{display:grid;gap:22px}
.t-c .sns-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.t-c .sns-card{position:relative;display:grid;align-content:start;gap:8px;min-height:180px;padding:26px 22px;background:#fff;border:1px solid #f0d3df;border-radius:22px;transition:transform .3s,border-color .3s,box-shadow .3s}
.t-c .sns-card:hover{transform:translateY(-4px);border-color:#d6206f;box-shadow:0 14px 30px #d6206f1f}
.t-c .sns-card b{font-size:24px;font-weight:800;letter-spacing:-.01em;color:#1a1a1a}
.t-c .sns-card small{font-size:12px;font-weight:700;color:#d6206f;word-break:break-all}
.t-c .sns-card span{margin-top:10px;font-size:13px;line-height:1.7;color:#2e2e2e}
.t-c .sns-card i{position:absolute;top:22px;right:22px;font-style:normal;font-weight:700;color:#d6206f}
.t-c #panel-tiktok .social-latest{grid-template-columns:1fr 1fr;column-gap:24px}
.t-c #panel-tiktok[hidden]{display:none}
.t-c .tiktok-card{display:grid;grid-template-columns:260px 1fr;gap:36px;align-items:center}
.t-c .tiktok-card img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:24px}
.t-c .tiktok-card div{display:grid;gap:14px}
.t-c .tiktok-card small{font-size:13px;font-weight:700;color:var(--pink)}
.t-c .tiktok-card strong{font-size:28px;line-height:1.5;font-weight:800;color:#1a1a1a}
.t-c .tiktok-card span{font-weight:700}
.t-c .social-latest{display:grid;border-top:1px solid #d9d2d5}
.t-c .social-latest a{display:grid;gap:6px;padding:24px 4px;border-bottom:1px solid #d9d2d5;font-weight:700;transition:padding .3s,color .3s}
.t-c .social-latest a:hover{padding-left:14px;color:var(--pink)}
.t-c .social-latest small{font-size:12px;color:#6b7280}
.t-c .social-list{list-style:none;margin:0;padding:0;border-top:1px solid #d9d2d5}
.t-c .social-list a,.t-c .social-list li>div{display:grid;grid-template-columns:130px 1fr;gap:24px;padding:22px 4px;border-bottom:1px solid #d9d2d5;font-weight:700}
.t-c .social-list time{font-size:14px;color:var(--pink)}
.t-c .today-card{display:grid;gap:14px;max-width:820px}
.t-c .today-card time{font-size:13px;font-weight:700;color:var(--pink)}
.t-c .today-card p{font-size:18px;line-height:2}
.t-c div.today-card p{-webkit-line-clamp:unset;display:block;overflow:visible}
.t-c .social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px}
.t-c .social-links a{padding:11px 20px;border:1px solid #1a1a1a;border-radius:999px;font-size:13px;font-weight:700;transition:background .2s,color .2s}
.t-c .social-links a:hover{background:#1a1a1a;color:#fff}

/* お知らせ */
.t-c .press{margin-bottom:0}
.t-c .press .press-head{margin-top:0}
.t-c .press-head h3{font-size:clamp(22px,2.2vw,30px)}
.t-c .press-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:16px 0 26px}
.t-c .press-head h3{font-size:clamp(28px,3.2vw,44px);font-weight:800;color:#1a1a1a}
.t-c .press-head .more{margin-top:0}
.t-c .press-grid,.t-c .news-list{list-style:none;margin:0;padding:0;border-top:1px solid #1a1a1a}
.t-c .press-grid a,.t-c .news-list a{display:grid;grid-template-columns:130px 1fr 130px;gap:24px;align-items:center;padding:26px 4px;border-bottom:1px solid #d9d2d5;transition:background .3s,padding .3s}
.t-c .press-grid a:hover,.t-c .news-list a:hover{background:#fff;padding-left:18px}
.t-c .press-grid time,.t-c .news-list time{font-size:15px;font-weight:800;color:var(--pink)}
.t-c .press-grid strong,.t-c .news-list span{font-size:16px;line-height:1.8;font-weight:500}
.t-c .press-grid small{font-size:12px;font-weight:700;color:#6b7280;text-align:right}
.t-c .news-list a{grid-template-columns:130px 100px 1fr}
.t-c .news-list small{font-size:12px;font-weight:700;color:#6b7280}
.t-c .news-wrap .social-head .more{margin:0 0 48px;justify-self:end}

/* 採用情報: the team photo large, the text on a card over it */
.t-c .recruit{padding-top:150px}
.t-c .recruit .two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:5vw;align-items:start}
.t-c .recruit h2:not(.eng){font-size:clamp(24px,2.4vw,34px);line-height:1.6;font-weight:800;color:#1a1a1a;margin-bottom:16px}
.t-c .recruit p{font-size:15px;line-height:2}
.t-c .hire-bottom{display:grid;gap:16px;margin-top:28px}
.t-c .whitebutton{justify-self:start;display:inline-flex;gap:14px;padding:16px 28px;border-radius:999px;background:var(--pink);color:#fff;font-weight:700}
.t-c .pitch-card{display:grid;gap:8px;padding:22px 24px;border-radius:20px;background:#fff}
.t-c .pitch-card small{font-size:12px;font-weight:700;color:var(--pink)}
.t-c .pitch-card strong{font-size:22px;font-weight:800;color:#1a1a1a}
.t-c .pitch-card p{margin:0;font-size:13px}
.t-c .pitch-card ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:2px 0 0;padding:0}
.t-c .pitch-card li{padding:4px 10px;border:1px solid #d9d2d5;border-radius:999px;font-size:12px}
.t-c .pitch-card>span{font-weight:700}
.t-c .recruit-directory{display:grid;align-content:start}
.t-c .recruit-team-photo{width:100%;border-radius:28px;margin-bottom:20px}
.t-c .recruit-directory>a,.t-c .work-links{display:grid;gap:6px;padding:22px 4px;border-bottom:1px solid #d9d2d5;transition:padding .3s}
.t-c .recruit-directory>a:hover{padding-left:14px}
.t-c .recruit-directory small{font-size:12px;font-weight:700;color:var(--pink);letter-spacing:.08em}
.t-c .recruit-directory strong{font-size:22px;font-weight:800;color:#1a1a1a}
.t-c .recruit-directory span{font-size:13px;color:#6b7280}
.t-c .work-links>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.t-c .work-links>div a{padding:8px 18px;border:1px solid #1a1a1a;border-radius:999px;font-size:13px;font-weight:700;transition:background .2s,color .2s}
.t-c .work-links>div a:hover{background:#1a1a1a;color:#fff}
.t-c .site-footer{margin-top:120px;border-top:1px solid #d9d2d5}

@media(max-width:1200px){.t-c .sns-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){
  .c-index{display:none}
  .c-hero{height:140svh}
  .c-hero-frame{clip-path:inset(8px round 20px)}
  .c-hero-copy{bottom:calc(40svh + 10vh)}
  .t-c .wrap{padding:100px 7vw 0}
  .t-c main>section:not(.c-hero)::before{left:7vw;top:72px}
  .t-c #company .two,.t-c .service-head,.t-c .social-head,.t-c .teaser-message-card,.t-c .recruit .two,.t-c .tiktok-card{grid-template-columns:1fr;gap:24px}
  .t-c .sns-grid{grid-template-columns:1fr 1fr;gap:10px}.t-c .sns-card{min-height:0;padding:34px 16px 18px}.t-c .sns-card b{font-size:19px}.t-c .sns-card i{top:12px;right:14px}.t-c .sns-card span{margin-top:4px;font-size:12px}.t-c #panel-tiktok .social-latest{grid-template-columns:1fr}
  .t-c #company .company-photo{border-radius:20px}
  .t-c .teaser-cards a{grid-template-columns:1fr;padding:22px 22px;top:80px}
  .t-c .teaser-cards a:nth-child(2){top:96px}.t-c .teaser-cards a:nth-child(3){top:112px}
  .t-c .teaser-cards small{grid-row:auto;font-size:38px}
  .t-c .teaser-cards p,.t-c .teaser-cards b{grid-column:auto;grid-row:auto}
  .t-c .slider-top,.t-c .photo-track{padding-left:7vw;padding-right:7vw}
  .t-c .photo-track figure{width:240px;height:320px}
  .t-c .teaser-message-card{padding:24px 22px}
  .t-c .teaser-message-card img{order:2;max-width:190px;margin:0 auto}
  .t-c .teaser-message-card>div{padding-bottom:0}
  .t-c .tiktok-card img{max-width:220px}
  .t-c .press-head{flex-direction:column;align-items:flex-start;gap:0}
  .t-c .social-list a,.t-c .social-list li>div,.t-c .press-grid a,.t-c .news-list a{grid-template-columns:1fr;gap:8px;padding:20px 2px}
  .t-c .press-grid small{text-align:left}
}

/* top: JOIN US is words + one button */
.t-c .recruit-solo>div{max-width:760px}
.t-c .recruit:has(.recruit-solo){padding-bottom:120px}
.t-c .recruit-solo .hire-bottom{margin-top:28px}

.t-c .nobr{display:inline-block}

/* line breaks: headings break at phrase boundaries and even out, body text avoids a lone 1–2 character last line */
.t-c :is(h1,h2,h3,h4,h5,h6){text-wrap:balance}
.t-c{text-wrap:pretty}
.t-c{word-break:keep-all;overflow-wrap:break-word}
.t-c .news-list a>span{text-wrap:balance}

/* phone menu: a blurred (backdrop-filter) header becomes the box its fixed menu is laid out in, so the open menu was squeezed into the header
   and its links spilled over the page. While the menu is open the header drops the blur and the menu covers the whole screen. */
.t-c header:has(#nav.open){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:transparent!important;box-shadow:none!important}

/* phones: tighter rhythm — body text, the space under section heads, the SNS tabs on one row */
@media(max-width:760px){
  .t-c .bodycopy{font-size:15px;line-height:1.9;margin-bottom:12px}
  .t-c .social-head,.t-c .service-head{gap:10px}
  .t-c .social-head .bodycopy,.t-c .service-head .bodycopy{margin-bottom:22px}
  .t-c .social-tabs{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;margin-bottom:24px}
  .t-c .social-tabs button{flex:none;font-size:14px;padding:12px 0;white-space:nowrap}
}

/* phones (#3): the space between blocks was too wide — sections, the section number, the big English heading, JOIN US, the footer */
@media(max-width:760px){
  .t-c .wrap{padding-top:68px}
  .t-c main>section:not(.c-hero)::before{top:38px}
  .t-c .eng{margin-bottom:30px}
  .t-c .recruit{padding-top:76px}
  .t-c .recruit:has(.recruit-solo){padding-bottom:84px}
  .t-c .site-footer{margin-top:76px}
}

/* TOP hero video (16:9): the frame no longer fills a tall screen, so people at the sides of each shot stay in view.
   Wide screens: never taller than the video's own 16:9 shape (the whole width shows). Phones/tablets: a shorter, near-square frame
   that shows ~3/4 of the width, no extra zoom, words a size smaller, and no extra scroll length after it. */
.c-hero{height:calc(min(100svh,56.25vw) + 70svh)}
.c-hero-frame{height:min(100svh,56.25vw)}
.c-hero-copy{bottom:calc(70svh + min(15vh,6vw))}
@media(max-width:900px){
  .c-hero{height:auto}
  .c-hero-frame{position:relative;height:auto;aspect-ratio:4/3}
  .c-hero-frame video{transform:none}
  .c-hero-copy{bottom:clamp(26px,5vw,48px);left:7vw}
}
@media(max-width:600px){
  .c-hero-frame{aspect-ratio:7/6}
  .c-hero h1{font-size:clamp(40px,11.5vw,56px)}
  .c-hero-copy p{margin-top:10px;font-size:14px;line-height:1.55}
}
/* phones and tablets: on the shorter frame the words would sit on people's faces — the frame starts under the header and the words follow below it */
@media(max-width:900px){
  .c-hero{padding-top:64px}
  .c-hero-frame::after{display:none}
  .c-hero-copy{position:static;padding:22px 7vw 0;color:#1a1a1a}
  .c-hero h1{font-size:clamp(44px,13vw,60px)}
  .c-hero-copy p{color:#2e2e2e}
}

/* TOP: way into 人を知る beside the flowing member photos */
.t-c .slider-top{align-items:center}
.t-c .people-cta{display:inline-flex;align-items:center;gap:12px;padding:10px 10px 10px 24px;border-radius:999px;background:var(--pink);color:#fff;box-shadow:0 12px 28px rgba(214,32,111,.28);transition:transform .25s,box-shadow .25s}
.t-c .people-cta small{font:800 10px/1 var(--f);letter-spacing:.16em;opacity:.8}
.t-c .people-cta b{font-size:17px;font-weight:800;letter-spacing:.04em}
.t-c .people-cta i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:var(--pink);font-style:normal;font-weight:800;transition:transform .25s}
.t-c .people-cta:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(214,32,111,.36)}
.t-c .people-cta:hover i{transform:translateX(3px)}
@media(max-width:600px){.t-c .people-cta{gap:10px;padding:8px 8px 8px 20px}.t-c .people-cta small{display:none}.t-c .people-cta b{font-size:15px}.t-c .people-cta i{width:34px;height:34px}}
/* お知らせ一覧 link under the NEWS list (TOP and each article) */
.t-c .news-all{display:inline-flex;margin-top:28px}

/* TOP: LIGOな話 under the CEO's message — white card, thin pink frame, pink bar on top; words left, button right */
.t-c .deck-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;max-width:1040px;margin-top:18px;padding:28px 36px 28px 40px;
  background:#fff;border:1px solid #f0d3df;border-top:3px solid var(--pink);border-radius:24px;color:#2e2e2e;transition:transform .3s,box-shadow .3s}
.t-c .deck-card small{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--pink)}
.t-c .deck-card strong{display:block;margin:8px 0 6px;font-size:clamp(22px,2vw,26px);font-weight:800;color:#1a1a1a}
.t-c .deck-card p{margin:0;font-size:14px;line-height:1.85;color:#4b4549}
.t-c .deck-go{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:999px;background:var(--pink);color:#fff;font-size:14px;font-weight:700;white-space:nowrap;transition:transform .3s}
.t-c .deck-go i{font-style:normal}
.t-c .deck-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #d6206f1f}
.t-c .deck-card:hover .deck-go{transform:translateX(3px)}
@media(max-width:760px){
  .t-c .deck-card{grid-template-columns:1fr;gap:18px;padding:24px 22px}
  .t-c .deck-go{justify-self:start}
}

/* ==== design C on the other pages (loaded after site.css): paper ground, waves, pill header, white rounded panels ==== */
.subpage.t-c{background:#faf7f4}
.subpage.t-c main{position:relative;z-index:1}
/* the live site's header/nav rules would otherwise leak into the pill header */
.subpage.t-c>header{height:auto;top:18px;left:24px;right:24px;background:transparent;box-shadow:none}
.subpage.t-c>header.is-solid{background:rgba(255,255,255,.86);box-shadow:0 6px 30px rgba(26,26,26,.06)}
.subpage.t-c #nav{margin-left:0}
.subpage.t-c .navcta{color:#fff}
/* chapter numbers belong to the top page */
.subpage.t-c main>section::before{content:none}
.subpage.t-c .wrap{padding:120px 8vw 0}
.subpage.t-c .wrap.page-first{padding-top:190px}

/* sections sit on the paper; blocks become white rounded panels */
.subpage.t-c .origin-wrap,.subpage.t-c .culture,.subpage.t-c .portrait-slider,.subpage.t-c .philosophy,.subpage.t-c .ceo,.subpage.t-c .media-trio{background:transparent}
.subpage.t-c .origin-grid div,.subpage.t-c .jast li,.subpage.t-c .media-card,.subpage.t-c .member-data div,.subpage.t-c .interview-card,
.subpage.t-c .service-list>details,.subpage.t-c .page-index a,.subpage.t-c .profile{border:0;border-radius:24px;background:#fff}
.subpage.t-c .origin-grid div{border-top:0}
.subpage.t-c .jast li{box-shadow:inset 0 4px 0 var(--c)}
.subpage.t-c .words-tabs button{border-radius:16px 16px 0 0}
.subpage.t-c .words-tiles{border-radius:0 0 24px 24px}
.subpage.t-c .profile{padding:10px 34px}
.subpage.t-c .profile div:last-child{border-bottom:0}
.subpage.t-c .ceo-card{background:#f3e9ec;border-radius:28px}
.subpage.t-c .feature{margin:60px max(4vw,16px) 0;border-radius:28px;overflow:hidden}
.subpage.t-c .contact-cta{margin:60px max(4vw,16px) 0;border-radius:28px}
.subpage.t-c .contact-cta .wrap{padding-top:70px;padding-bottom:70px}
.subpage.t-c .contact-cta .more::after{background:#fff}
.subpage.t-c .iv-chapter{border-top-color:#e6dfe2}
.subpage.t-c .iv-chapter-body blockquote{background:#fff;border-radius:0 18px 18px 0}
.subpage.t-c img.photo,.subpage.t-c .iv-photo img,.subpage.t-c .culture-scene img,.subpage.t-c .ic-photo{border-radius:24px}
.subpage.t-c .interview-card,.subpage.t-c a.media-card{transition:transform .3s}
.subpage.t-c .interview-card:hover,.subpage.t-c a.media-card:hover{transform:translateY(-4px)}

/* join us: the live section is pink; in C it sits on the paper like on the top page */
.subpage.t-c .recruit{background:transparent;color:#2e2e2e}
.subpage.t-c .recruit .section-label{color:#6b7280}
.subpage.t-c .recruit .section-label:before{background:var(--pink)}
.subpage.t-c .recruit h2.eng{color:#1a1a1a}
.subpage.t-c .recruit-directory>a,.subpage.t-c .work-links{border:0;border-bottom:1px solid #d9d2d5}
.subpage.t-c .work-links>div a{border-color:#1a1a1a}

@media(max-width:900px){
  .subpage.t-c>header{top:12px;left:12px;right:12px;padding:10px 10px 10px 18px}
  .subpage.t-c #nav{display:flex;padding:0 10vw}
  .subpage.t-c .wrap{padding:90px 7vw 0}
  .subpage.t-c .wrap.page-first{padding-top:130px}
  .subpage.t-c .profile{padding:6px 20px}
  .subpage.t-c .feature,.subpage.t-c .contact-cta{margin:40px 12px 0}
}
/* labels as on the top page: plain small grey text */
.subpage.t-c .section-label:before{display:none}
.subpage.t-c .contact-cta .section-label,.subpage.t-c .feature .section-label{color:#f3d2e0}

/* one colour family: JAST letters and the daily-words tabs in pinks (no orange / green / gold) */
.subpage.t-c .is-j{--c:#d6206f;--tint:#fef3f8}
.subpage.t-c .is-a{--c:#e8559a;--tint:#fdf0f6}
.subpage.t-c .is-s{--c:#b0185a;--tint:#fbe8f0}
.subpage.t-c .is-t{--c:#f283b3;--tint:#fff4f9}

/* 経営理念・ビジョン・経営姿勢: the heading of each block reads at its own size, the statement a little smaller */
.subpage.t-c .belief{grid-template-columns:240px 1fr;gap:48px;padding:60px 0;border-top:1px solid #e6dfe2}
.subpage.t-c .belief>span{font-size:26px;line-height:1.45;font-weight:800;color:#1a1a1a;letter-spacing:.02em}
.subpage.t-c .belief>span::first-line{font-size:12px;line-height:2.4;color:var(--pink);letter-spacing:.16em}
.subpage.t-c .philosophy .belief h2.jp,.subpage.t-c .philosophy .belief:nth-of-type(n) h2{font-size:clamp(22px,2.2vw,30px);line-height:1.6;letter-spacing:.01em;margin-bottom:20px}
.subpage.t-c .belief p{font-size:16px;line-height:2.05}
/* vision: the lead as a quoted card, the closing line as a pink band */
.subpage.t-c .vision-story{max-width:820px}
.subpage.t-c .vision-lead{position:relative;margin:6px 0 30px;padding:34px 40px 34px 76px;background:#fff;border-radius:24px;font-size:clamp(18px,1.7vw,22px);line-height:1.9;font-weight:800;color:#1a1a1a}
.subpage.t-c .vision-lead::before{content:'“';position:absolute;left:26px;top:14px;font:800 76px/1 Georgia,serif;color:var(--pink)}
.subpage.t-c .vision-conclusion{margin-top:34px;padding:30px 36px;border:0;border-radius:24px;background:var(--pink);color:#fff;font-size:15px;line-height:1.9;font-weight:700}
.subpage.t-c .vision-conclusion::first-line{font-size:clamp(20px,2vw,26px);font-weight:800}
/* management: three stances as numbered cards */
.subpage.t-c .belief h3{margin:30px 0 8px;font-size:20px;font-weight:800;color:#1a1a1a}
.subpage.t-c .stance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px;counter-reset:st}
.subpage.t-c .stance p{counter-increment:st;max-width:none;margin:0;padding:26px 24px;border:0;border-radius:22px;background:#fff;font-size:16px;line-height:1.75;font-weight:800;color:#1a1a1a}
.subpage.t-c .stance p::before{content:counter(st,decimal-leading-zero);display:block;margin-bottom:14px;font-size:30px;line-height:1;color:var(--pink);letter-spacing:-.02em}
.subpage.t-c .philosophy .more{margin-top:40px}
@media(max-width:900px){
  .subpage.t-c .belief{grid-template-columns:1fr;gap:16px;padding:40px 0}
  .subpage.t-c .belief>span{font-size:22px}
  .subpage.t-c .vision-lead{padding:26px 22px 26px 56px}
  .subpage.t-c .vision-lead::before{left:16px;font-size:60px}
  .subpage.t-c .stance{grid-template-columns:1fr}
}

/* 事業紹介: three businesses, always open; the name stays on the left while its content scrolls by */
.subpage.t-c .svc-index{position:sticky;top:96px;z-index:5;display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 50px;padding:8px;width:fit-content;border-radius:999px;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);box-shadow:0 6px 24px rgba(26,18,20,.06)}
.subpage.t-c .svc-index a{display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;font-size:14px;font-weight:700;color:#1a1a1a;transition:background .2s,color .2s}
.subpage.t-c .svc-index a small{font-size:11px;color:var(--pink)}
.subpage.t-c .svc-index a:hover,.subpage.t-c .svc-index a.is-now{background:var(--pink);color:#fff}
.subpage.t-c .svc-index a:hover small,.subpage.t-c .svc-index a.is-now small{color:#fff}
.subpage.t-c .service-list{display:grid;gap:0;border:0}
.subpage.t-c .svc{display:block;padding:70px 0;border-top:1px solid #d9d2d5;scroll-margin-top:160px}
.subpage.t-c .svc-side{position:static;inset:auto;z-index:auto;height:auto;box-shadow:none;border-radius:0;display:flex;align-items:flex-end;gap:28px;margin:0 0 40px;padding:0;background:none;border:0;min-height:0}
.subpage.t-c .svc-side .service-summary-copy{display:grid;gap:8px}
.subpage.t-c .svc-side .service-number{margin:0;padding:0;background:none;border:0;box-shadow:none;width:auto;height:auto;font-size:clamp(64px,7vw,96px);line-height:.85;font-weight:800;color:var(--pink);letter-spacing:-.04em}
.subpage.t-c .svc-side h3{margin:0;font-size:clamp(26px,2.6vw,34px);line-height:1.4;font-weight:800;color:#1a1a1a}
.subpage.t-c .svc-side h3 small{display:block;margin-top:6px;font-size:13px;font-weight:700;color:#6b7280}
.subpage.t-c .svc-side .service-description{font-size:14px;line-height:1.9;color:#4b4549}
.subpage.t-c .svc .service-detail{padding:0}
.subpage.t-c .svc .service-detail>h4{margin-top:0;font-size:clamp(22px,2.2vw,30px)}
/* each block of a business as its own panel, so the reader can tell where one topic ends */
.subpage.t-c .svc .service-detail>section,.subpage.t-c .svc .service-detail>.visual-equation,.subpage.t-c .svc .service-detail>.case-strip,
.subpage.t-c .svc .service-detail>.channel-grid,.subpage.t-c .svc .service-detail>.media-hub,.subpage.t-c .svc .service-detail>.svc-metrics{margin-top:22px}
.subpage.t-c .svc .numbers,.subpage.t-c .svc .svc-team,.subpage.t-c .svc .service-expanded-info{padding:30px 32px;border-radius:24px;background:#fff}
.subpage.t-c .svc .svc-team{background:#211c23}
.subpage.t-c .svc .detail-heading{display:flex;align-items:center;gap:12px;margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.14em;color:var(--pink)}
.subpage.t-c .svc .detail-heading::before{content:'';width:28px;height:2px;background:var(--pink)}
@media(min-width:901px){.subpage.t-c .svc .numbergrid strong{white-space:nowrap}}
.subpage.t-c .svc .svc-subhead{margin-top:40px;padding-top:26px;border-top:1px solid #eee6e9;font-size:19px}
@media(max-width:900px){
  .subpage.t-c .svc-index{top:76px;width:auto;max-width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;border-radius:999px}
  .subpage.t-c .svc-index::-webkit-scrollbar{display:none}
  .subpage.t-c .svc-index a{flex:none}
  .subpage.t-c .svc .numbergrid{grid-template-columns:1fr;gap:0}
  .subpage.t-c .svc .numbergrid .num{padding:16px 0;border:0;border-bottom:1px solid #eee6e9}
  .subpage.t-c .svc .numbergrid strong{white-space:nowrap;font-size:48px}
  .subpage.t-c .svc-index a{padding:8px 12px;font-size:13px}
  .subpage.t-c .svc{padding:50px 0}
  .subpage.t-c .svc-side{gap:16px;margin-bottom:26px}
  .subpage.t-c .svc-side .service-number{font-size:52px}
  .subpage.t-c .svc .numbers,.subpage.t-c .svc .svc-team,.subpage.t-c .svc .service-expanded-info{padding:22px 18px}
}

/* CEO portrait (studio photo with its own background) */
.subpage.t-c .ceo img.photo{object-fit:cover;object-position:50% 15%;border-radius:24px}
/* 私たちについて: every chapter opens with label + big English title; VISION 2030 is a plain chapter like the rest */
.subpage.t-c #vision.feature{margin:0;border-radius:0;background:transparent;color:#2e2e2e}
.subpage.t-c #vision .wrap{padding-top:100px;padding-bottom:40px}
.subpage.t-c #vision .section-label{color:#6b7280}
.subpage.t-c #vision h2.eng{color:#1a1a1a}
.subpage.t-c #vision .vision2030-title{margin:0 0 18px;font-size:clamp(26px,3vw,40px);line-height:1.5;font-weight:800;color:#1a1a1a}
.subpage.t-c #vision .vision2030-title>span{display:block;margin-bottom:6px;font-size:.55em;color:var(--pink)}
.subpage.t-c #vision .vision2030-title br{display:none}
.subpage.t-c #vision>.wrap>p{font-size:15px;line-height:2;color:#2e2e2e}
.subpage.t-c #vision .steps{gap:14px;margin-top:34px}
.subpage.t-c #vision .steps div{padding:24px 26px;border:1px solid #f0d3df;border-top:3px solid var(--pink);border-radius:20px;background:#fff}
.subpage.t-c #vision .steps small{color:var(--pink);font-weight:700}
.subpage.t-c #vision .steps h3{margin:10px 0 0;color:#1a1a1a}
.subpage.t-c #vision .steps div:last-child{background:var(--pink);border-color:var(--pink)}
.subpage.t-c #vision .steps div:last-child small,.subpage.t-c #vision .steps div:last-child h3{color:#fff}
.subpage.t-c #culture .values-title{font-size:clamp(34px,4.6vw,64px)}
.subpage.t-c .ceo .ceo-title{margin:0 0 24px;font-size:clamp(24px,2.6vw,34px);line-height:1.5;font-weight:800;color:#1a1a1a}
@media(max-width:900px){.subpage.t-c #vision .wrap{padding-top:60px}}
/* JOIN US on subpages: readable LIGOな話 card, WORK / STYLE / FIT as three cards in a row */
.subpage.t-c .recruit .pitch-card{margin-top:22px;border:1px solid #f0d3df;color:#2e2e2e}
.subpage.t-c .recruit .pitch-card strong{color:#1a1a1a}
.subpage.t-c .recruit .pitch-card p{color:#4b4549}
.subpage.t-c .recruit .pitch-card>span{color:var(--pink)}
.subpage.t-c .recruit-team-photo{margin-bottom:0}
.subpage.t-c .recruit-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:40px;padding-bottom:110px}
.subpage.t-c .recruit-paths>a,.subpage.t-c .recruit-paths .work-links{display:grid;align-content:start;gap:8px;padding:26px 26px 24px;border:1px solid #f0d3df;border-top:3px solid var(--pink);border-radius:22px;background:#fff;color:#2e2e2e;transition:transform .3s,box-shadow .3s}
.subpage.t-c .recruit-paths>a:hover{transform:translateY(-4px);box-shadow:0 14px 30px #d6206f1f}
.subpage.t-c .recruit-paths small{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--pink)}
.subpage.t-c .recruit-paths strong{font-size:21px;font-weight:800;color:#1a1a1a}
.subpage.t-c .recruit-paths span{font-size:13px;color:#6b7280}
.subpage.t-c .recruit-paths .work-links>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.subpage.t-c .recruit-paths .work-links>div a{padding:8px 16px;border:1px solid #1a1a1a;border-radius:999px;font-size:13px;font-weight:700;color:#1a1a1a}
.subpage.t-c .recruit-paths .work-links>div a:hover{background:#1a1a1a;color:#fff}
.subpage.t-c .wrap.recruit-paths{padding-top:0;margin-top:36px}  /* close to the words above */
@media(max-width:900px){.subpage.t-c .recruit-paths{grid-template-columns:1fr;padding-bottom:70px}.subpage.t-c .wrap.recruit-paths{padding-top:0;margin-top:28px}}

/* news articles (C only) */
.subpage.t-c .news-article{max-width:860px;margin:0 auto;padding-left:max(4vw,20px);padding-right:max(4vw,20px)}
.subpage.t-c .news-title{margin:14px 0 40px;font-size:clamp(24px,2.6vw,34px);line-height:1.5;font-weight:800;color:#1a1a1a}
.subpage.t-c .news-body{padding:44px 48px;background:#fff;border-radius:24px}
.subpage.t-c .news-body p{margin:0 0 1.2em;font-size:16px;line-height:2;color:#2e2e2e}
.subpage.t-c .news-body p:last-child{margin-bottom:0}
.subpage.t-c .news-body a{color:var(--pink);text-decoration:underline;text-underline-offset:3px}
.subpage.t-c .news-more{max-width:860px;margin:0 auto;padding-left:max(4vw,20px);padding-right:max(4vw,20px);padding-bottom:40px}
.subpage.t-c .news-more h2.jp{margin:10px 0 28px;font-size:clamp(22px,2vw,28px)}

/* contact (C only) */
.subpage.t-c .contact-page h2.jp{margin:0 0 18px;font-size:clamp(22px,2.2vw,30px)}
.subpage.t-c .contact-grid{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:32px;align-items:start;margin-top:48px}
.subpage.t-c .contact-info{position:sticky;top:110px;padding:34px 32px;background:#f3e9ec;border-radius:24px}
.subpage.t-c .contact-info>b{font:800 12px/1 Arial,sans-serif;letter-spacing:.22em;color:var(--pink)}
.subpage.t-c .contact-info dl{margin:18px 0 0}
.subpage.t-c .contact-info dl div{padding:14px 0;border-bottom:1px solid #e3d3da}
.subpage.t-c .contact-info dt{font-size:12px;font-weight:700;color:#6b7280}
.subpage.t-c .contact-info dd{margin:4px 0 0;font-size:15px;line-height:1.7;font-weight:700;color:#1a1a1a}
.subpage.t-c .contact-info dd a{color:var(--pink)}
.subpage.t-c .contact-info>p{margin:18px 0 0;font-size:12px;line-height:1.9;color:#6b7280}
.subpage.t-c .contact-form{display:grid;gap:26px;padding:42px 44px;background:#fff;border-radius:24px}
.subpage.t-c .contact-form fieldset{margin:0;padding:0;border:0}
.subpage.t-c .contact-form legend,.subpage.t-c .cf-field>span{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:14px;font-weight:800;color:#1a1a1a}
.subpage.t-c .contact-form legend small,.subpage.t-c .cf-field small{font:800 11px/1 Arial,sans-serif;letter-spacing:.12em;color:var(--pink)}
.subpage.t-c .contact-form legend span,.subpage.t-c .cf-field i{font-style:normal;font-size:11px;font-weight:700;color:#6b7280}
.subpage.t-c .cf-field em{font-style:normal;font-size:11px;font-weight:700;color:#fff;background:var(--pink);border-radius:4px;padding:3px 7px}
.subpage.t-c .cf-chips{display:flex;flex-wrap:wrap;gap:10px}
.subpage.t-c .cf-chips label{cursor:pointer}
.subpage.t-c .cf-chips input{position:absolute;opacity:0;pointer-events:none}
.subpage.t-c .cf-chips span{display:inline-block;padding:11px 18px;border:1px solid #e5e7eb;border-radius:999px;font-size:14px;font-weight:700;color:#2e2e2e;transition:background .2s,border-color .2s,color .2s}
.subpage.t-c .cf-chips input:checked+span{background:var(--pink);border-color:var(--pink);color:#fff}
.subpage.t-c .cf-chips input:focus-visible+span{outline:2px solid var(--pink);outline-offset:2px}
.subpage.t-c .cf-field{display:block}
.subpage.t-c .cf-field input,.subpage.t-c .cf-field textarea{display:block;width:100%;box-sizing:border-box;padding:14px 16px;border:1px solid #e5e7eb;border-radius:12px;background:#fcfafb;font:inherit;font-size:16px;color:#1a1a1a;transition:border-color .2s,background .2s}
.subpage.t-c .cf-field input:focus,.subpage.t-c .cf-field textarea:focus{outline:0;border-color:var(--pink);background:#fff}
.subpage.t-c .cf-field textarea{resize:vertical;line-height:1.8}
.subpage.t-c .cf-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.subpage.t-c .cf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.subpage.t-c .cf-agree{margin:0;font-size:13px;color:#6b7280}
.subpage.t-c .cf-submit{justify-self:start;display:inline-flex;align-items:center;gap:14px;padding:18px 34px;border:0;border-radius:999px;background:var(--pink);color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 14px 30px -14px rgba(214,32,111,.6);transition:transform .2s,opacity .2s}
.subpage.t-c .cf-submit:hover{transform:translateY(-2px)}
.subpage.t-c .cf-submit:disabled{opacity:.5;cursor:wait;transform:none}
.subpage.t-c .cf-result{padding:22px 24px;border-radius:16px;background:#fef3f8;font-size:14px;line-height:1.9;color:#2e2e2e}
.subpage.t-c .cf-result b{display:block;margin-bottom:4px;font-size:16px;color:#1a1a1a}
.subpage.t-c .cf-result a{color:var(--pink);text-decoration:underline}
@media(max-width:900px){
  .subpage.t-c .news-body{padding:28px 22px}
  .subpage.t-c .news-body p{font-size:15px}
  .subpage.t-c .contact-grid{grid-template-columns:1fr;margin-top:32px}
  .subpage.t-c .contact-info{position:static;padding:26px 22px}
  .subpage.t-c .contact-form{padding:28px 20px;gap:22px}
  .subpage.t-c .cf-two{grid-template-columns:1fr}
  .subpage.t-c .cf-chips span{padding:10px 14px;font-size:13px}
  .subpage.t-c .cf-submit{justify-self:stretch;justify-content:center}
}

/* page index under the company hero: the base sheet pulls it up 50px, which made it run into the 想いを知る link (PC) and slide under the photo (phone) */
.subpage.t-c .page-index{position:relative;z-index:1;max-width:1500px;margin:8px auto 0;padding:0 8vw 30px}
@media(max-width:900px){.subpage.t-c .page-index{margin-top:4px;padding:0 7vw 20px}}

/* tablet width (701–1000px): the 4-step flows were squeezed into 4 thin columns (labels like HP・LP・動画 split over two lines) — 2 × 2 instead */
@media(min-width:701px) and (max-width:1000px){
  .subpage.t-c .visual-flow,.subpage.t-c .svc-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .subpage.t-c .visual-flow li:not(:last-child):after,.subpage.t-c .svc-flow li:not(:last-child):after{display:none}
}
.subpage.t-c :is(.visual-flow,.svc-flow) b{white-space:nowrap}

/* phones: the three business tabs share the width instead of scrolling (「03 ハコプロ事業」 was cut off at the right edge) */
@media(max-width:600px){
  .subpage.t-c .svc-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:visible;padding:6px;border-radius:22px}
  .subpage.t-c .svc-index a{flex-direction:column;justify-content:center;gap:2px;padding:7px 4px;border-radius:16px;font-size:12px;line-height:1.35;text-align:center;text-wrap:balance}
  .subpage.t-c .svc-index a small{font-size:10px}
}

/* phones: 企業力 × 労働条件 × 採用活動 stacks, so each factor's words get the full width */
@media(max-width:600px){
  .subpage.t-c .power-equation{grid-template-columns:1fr;gap:34px}
  .subpage.t-c .power-factor b{width:84px;height:84px}
  .subpage.t-c .power-factor p{font-size:13px!important}
  .subpage.t-c .power-factor:not(:last-child):after{right:auto;left:50%;top:auto;bottom:-30px;transform:translateX(-50%)}
}

/* tablet width (761–1000px) */
@media(min-width:761px) and (max-width:1000px){
  /* JAST cards: the 92px letter column left the words only a narrow strip — letter smaller, more room for text */
  .subpage.t-c .jast li{grid-template-columns:56px minmax(0,1fr);gap:16px;padding:24px 22px 26px}
  .subpage.t-c .jast-letter{font-size:56px}
  .subpage.t-c .jast h3{font-size:19px}
  .subpage.t-c .jast p{font-size:14px}
  /* the 30 words tabs: letter above the name, count hidden, like on phones */
  .subpage.t-c .words-tabs button{grid-template-columns:1fr;justify-items:center;gap:6px;padding:12px 6px;text-align:center}
  .subpage.t-c .words-tabs small{display:none}
}
/* media cards on tablet: full width, picture beside the words (they sat in a 560px column with the right side empty) */
@media(min-width:641px) and (max-width:960px){
  .subpage.t-c .media-grid{max-width:none;gap:18px}
  .subpage.t-c .media-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .subpage.t-c .media-card .media-visual{aspect-ratio:auto;min-height:220px;height:100%}
}
.t-c .words-tabs span{text-wrap:balance}

/* 人を知る: the three figures — short note so all three cards stay the same size; centred on phones */
@media(max-width:760px){
  .subpage.t-c .member-data div{padding:16px 8px;text-align:center}
  .subpage.t-c .member-data small{font-size:11px;white-space:nowrap}
}

/* phones (#3): tighter rhythm on the lower pages — sections, belief rows, business blocks, interview chapters, JOIN US / contact box */
@media(max-width:760px){
  .subpage.t-c .wrap{padding-top:64px}
  .subpage.t-c .wrap.page-first{padding-top:112px}
  .subpage.t-c .belief{gap:12px;padding:28px 0}
  .subpage.t-c .svc{padding:36px 0}
  .subpage.t-c .iv-chapter{padding-top:26px;padding-bottom:26px}
  .subpage.t-c .culture-words{margin-top:34px}
  .subpage.t-c .recruit{padding-top:12px}
  .subpage.t-c .recruit.contact-cta{padding-top:0}
  .subpage.t-c .contact-cta{margin-top:24px}
  .subpage.t-c .contact-cta .wrap{padding-top:52px;padding-bottom:52px}
  .subpage.t-c .recruit-paths{padding-bottom:56px}
}
/* 事業紹介: the business list's single grid column grew to its content's width and ran 5px past the screen at 360px */
.subpage.t-c .service-list{grid-template-columns:minmax(0,1fr)}
.subpage.t-c .svc{min-width:0}
/* 「YouTubeで見る ↗」: keep the arrow with the words */
.t-c .media-more{white-space:nowrap}
/* phones: 「業界特化採用インフラ」 is kept on one line, so it scales with the screen instead of dropping the closing 」 */
@media(max-width:420px){.subpage.t-c #vision .vision2030-title{font-size:min(26px,6.6vw)}}
.subpage.t-c #vision .vision2030-title>span.nobr{display:inline-block;margin-bottom:0;font-size:1em;color:inherit}

/* phones: no pale-pink band behind the header at the top of the lower pages — the header wears the same translucent white as after scrolling,
   and the first heading sits closer under it (the band's 85px and the 112px section top used to stack up to ~200px) */
@media(max-width:900px){
  .subpage.t-c>main{padding-top:0;background-image:none}
  .subpage.t-c>header{background:rgba(255,255,255,.86);box-shadow:0 6px 30px rgba(26,26,26,.06)}
  .subpage.t-c .wrap.page-first{padding-top:100px}
}
/* 気持ちのいいやつ: the four JAST cards answer the cursor like the other cards (lift, shadow, letter grows) */
.subpage.t-c .jast li{transition:translate .3s ease,box-shadow .3s ease}
.subpage.t-c .jast-letter{display:inline-block;transition:transform .3s ease}
.subpage.t-c .jast li:hover{translate:0 -6px;box-shadow:inset 0 4px 0 var(--c),0 18px 36px rgba(214,32,111,.14)}
.subpage.t-c .jast li:hover .jast-letter{transform:scale(1.12) rotate(-4deg)}
/* お知らせ lists on the lower pages: on phones the category tag hugged the full width — it keeps to its words */
.subpage.t-c .news-list small{justify-self:start;width:auto}

/* 事業紹介, bottom: the contact block was a frameless strip with ~300px above and ~245px below it, its words sitting low
   (150px + 70px over them, 70px under). It is now a white card like the rest of design C, centred, words in the middle. */
.subpage.t-c .recruit.contact-cta{width:min(1200px,calc(100% - 2 * max(4vw,16px)));margin:88px auto 0;padding:0;background:#fff;border:1px solid #f0d3df;border-radius:28px;box-shadow:0 18px 50px rgba(26,26,26,.05)}
.subpage.t-c .contact-cta .wrap.two{max-width:none;margin:0;padding:64px clamp(28px,6vw,80px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.subpage.t-c .contact-cta .section-label{color:#6b7280}
.subpage.t-c .contact-cta h2.eng{margin:10px 0 12px}
.subpage.t-c .contact-cta h2:not(.eng){margin:0;font-size:clamp(20px,2vw,26px)}
.subpage.t-c .contact-cta .wrap.two>div:last-child p{margin:0 0 24px}
.subpage.t-c main:has(.contact-cta)+.site-footer{margin-top:88px}
@media(max-width:760px){
  .subpage.t-c .recruit.contact-cta{margin-top:40px}
  .subpage.t-c .contact-cta .wrap.two{grid-template-columns:1fr;gap:20px;padding:40px 24px}
  .subpage.t-c main:has(.contact-cta)+.site-footer{margin-top:56px}
}
.subpage.t-c .contact-cta .whitebutton{margin-top:0}

/* LIGOの由来: L / I / GO cards. On a wide screen with a mouse each card shows its letter and English word; pointing at it (or focusing it)
   fills it pink and brings up the Japanese meaning. On touch screens and at phone width the meaning is always shown and there is no ＋ (it ran into 「GO」 in narrow cards). */
.subpage.t-c .origin-grid{gap:16px}
.subpage.t-c .origin-grid div{position:relative;overflow:hidden;border-radius:22px;padding:30px 28px 28px;background:#fff;outline:none;
  transition:translate .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,background-color .35s}
.subpage.t-c .origin-grid strong,.subpage.t-c .origin-grid span,.subpage.t-c .origin-grid p{transition:color .35s,opacity .35s,transform .35s cubic-bezier(.2,.8,.2,1)}
.subpage.t-c .origin-copy{margin-top:28px}
@media(hover:hover) and (min-width:761px){
  .subpage.t-c .origin-grid div{min-height:190px;cursor:default}
  .subpage.t-c .origin-grid div::after{content:'＋';position:absolute;top:20px;right:22px;font-weight:700;color:var(--pink);transition:transform .35s,color .35s}
  .subpage.t-c .origin-grid p{opacity:0;transform:translateY(14px)}
  .subpage.t-c .origin-grid div:is(:hover,:focus-visible){translate:0 -6px;background:var(--pink);box-shadow:0 20px 40px rgba(214,32,111,.22)}
  .subpage.t-c .origin-grid div:is(:hover,:focus-visible)::after{color:#fff;transform:rotate(45deg)}
  .subpage.t-c .origin-grid div:is(:hover,:focus-visible) strong{color:#fff;transform:translateY(-4px)}
  .subpage.t-c .origin-grid div:is(:hover,:focus-visible) span{color:#fbe8f0}
  .subpage.t-c .origin-grid div:is(:hover,:focus-visible) p{opacity:1;transform:none;color:#fff;font-size:24px}
}

/* the other cards on 私たちについて answer the cursor too (lift + soft shadow), like the JAST cards */
.subpage.t-c :is(.stance p,.steps>div,.words-tiles li){transition:translate .3s ease,box-shadow .3s ease}
@media(hover:hover){
  .subpage.t-c :is(.stance p,.steps>div,.words-tiles li):hover{translate:0 -5px;box-shadow:0 16px 32px rgba(214,32,111,.13)}
}
/* LIGOの由来 on phones: three narrow cards — less padding, smaller letters, and no word split inside 「GO」 or 「人生は、」 */
@media(max-width:760px){
  .subpage.t-c .origin-grid{gap:8px}
  .subpage.t-c .origin-grid div{padding:22px 14px 20px;border-radius:18px}
  .subpage.t-c .origin-grid strong{font-size:44px;white-space:nowrap}
  .subpage.t-c .origin-grid span{font-size:12px}
  .subpage.t-c .origin-grid p{margin-top:12px;font-size:16px;white-space:nowrap}
}

/* 事業紹介, phones: 「01」 sits right beside the business name (it was bottom-aligned to the whole block, next to the description);
   the one-line description runs full width underneath */
@media(max-width:760px){
  .subpage.t-c .svc-side{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:14px;row-gap:12px}
  .subpage.t-c .svc-side .service-summary-copy{display:contents}
  .subpage.t-c .svc-side .service-number{grid-column:1;grid-row:1;font-size:48px;line-height:1}
  .subpage.t-c .svc-side h3{grid-column:2;grid-row:1}
  .subpage.t-c .svc-side .service-description{grid-column:1/-1;grid-row:2}
}

/* JOIN US on 人を知る / interviews: LIGOな話 joins the row — three cards side by side (働き方とチーム removed) */
.subpage.t-c .recruit-paths .path-deck em{margin-top:6px;font-style:normal;font-size:13px;font-weight:700;color:var(--pink)}
.subpage.t-c .recruit-paths>a,.subpage.t-c .recruit-paths .work-links{height:100%}
@media(min-width:761px) and (max-width:1000px){.subpage.t-c .recruit-paths{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.subpage.t-c .recruit-paths>a,.subpage.t-c .recruit-paths .work-links{padding:22px 18px 20px}.subpage.t-c .recruit-paths strong{font-size:18px}}
/* the middle card (営業・CS・運用の仕事) is a box of links, not one link — it now lifts on hover like its neighbours */
.subpage.t-c .recruit-paths .work-links:hover{transform:translateY(-4px);box-shadow:0 14px 30px #d6206f1f}
