/* =========================================================
   top-v2.css — トップページ 新デザイン（top-v2.php）
   クリーム地 × 黒の太い線 × ポップなパステル。イラストは .ph（仮タイル）で置いてある。
   ========================================================= */
:root{
  --ink:#141414; --ink-soft:#4a4a4a; --paper:#fbf8ef; --line:#141414;
  --yellow:#ffd84d; --pink:#ff9ecb; --blue:#7cc0ff; --mint:#9be3c4; --lav:#d9ccff; --orange:#ff7a3d;
  --f-jp:"Noto Sans JP","Hiragino Kaku Gothic ProN",system-ui,sans-serif;
  --f-disp:"Dela Gothic One","Noto Sans JP",sans-serif;
  --f-en:"Anton","Noto Sans JP",sans-serif;
  --f-hand:"Permanent Marker","Noto Sans JP",cursive;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body.t2{ margin:0; font-family:var(--f-jp); color:var(--ink); background:var(--paper); line-height:1.8; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
.t2 img{ max-width:100%; display:block; }
.t2 a{ color:inherit; text-decoration:none; }
/* :where() で詳細度を0にし、各パーツ側の margin（中央寄せ・余白）が効くようにする */
:where(.t2) :where(p,h1,h2,ul){ margin:0; padding:0; }
.t2 ul{ list-style:none; }
.t2 button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }
.t2-wrap{ width:min(1120px, calc(100% - 48px)); margin:0 auto; }
.t2-hand{ font-family:var(--f-hand); font-weight:400; letter-spacing:.02em; line-height:1.05; }

/* ---------- 仮イラスト ---------- */
.ph{ position:relative; background:var(--ph,#eee); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
     text-align:center; overflow:hidden; color:rgba(20,20,20,.55); }
.ph::before{ content:""; position:absolute; inset:10px; border:2px dashed rgba(20,20,20,.28); border-radius:inherit; pointer-events:none; }
.ph__id{ font-family:var(--f-en); font-size:clamp(1.1rem,2vw,1.6rem); letter-spacing:.06em; color:rgba(20,20,20,.6); }
.ph__note{ font-size:.66rem; font-weight:700; line-height:1.4; padding:0 14px; }

/* ---------- ボタン・ラベル ---------- */
.t2-btn{ display:inline-flex; align-items:center; justify-content:center; gap:18px; min-width:150px; height:48px; padding:0 22px;
         border:2px solid var(--line); border-radius:8px; font-family:var(--f-en); font-size:1.02rem; letter-spacing:.06em;
         transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.t2-btn i{ font-style:normal; font-family:var(--f-jp); font-weight:700; transition:transform .18s ease; }
.t2-btn:hover{ transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--line); }
.t2-btn:hover i{ transform:translateX(3px); }
.t2 .t2-btn--dark{ background:var(--ink); color:#fff; }
.t2-btn--line{ background:#fff; }
.t2-btn--sm{ height:40px; min-width:0; padding:0 18px; font-size:.92rem; gap:12px; }
.t2-people .t2-btn--line, .t2-news .t2-btn--line{ font-family:var(--f-jp); font-weight:900; font-size:.92rem; letter-spacing:.04em; }

.t2-pill{ display:inline-block; padding:4px 26px; border-radius:999px; font-family:var(--f-jp); font-weight:900; font-size:.78rem; letter-spacing:.06em; }
.t2-pill--yellow{ background:var(--yellow); }
.t2-pill--mint{ background:var(--mint); }
.t2-pill--lavender{ background:var(--lav); }

/* ---------- ヘッダー ---------- */
.t2-head{ position:sticky; top:0; z-index:50; background:rgba(251,248,239,.94); backdrop-filter:blur(8px); }
.t2-head__in{ display:flex; align-items:center; gap:28px; height:76px; border-bottom:2px solid var(--line); }
.t2-logo{ font-family:var(--f-disp); font-size:2rem; line-height:1; letter-spacing:-.02em; margin-right:auto; }
.t2-logo span{ color:var(--orange); }
.t2-nav__list{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; font-family:var(--f-en); font-size:.98rem; letter-spacing:.06em; }
.t2-nav__list > li{ position:relative; }
.t2-nav__list > li > a,.t2-nav__btn{ position:relative; display:inline-flex; align-items:center; gap:7px; padding:8px 0; font-family:inherit; letter-spacing:inherit; }
.t2-nav__list > li > a::after,.t2-nav__btn::after{ content:""; position:absolute; left:0; right:0; bottom:2px; height:3px; background:var(--yellow); transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
.t2-nav__list > li > a:hover::after,.t2-nav__has:hover .t2-nav__btn::after,.t2-nav__has.is-open .t2-nav__btn::after{ transform:scaleX(1); }
/* ドロップダウンのある項目は小さな山形を付ける */
.t2-nav__btn::before{ content:""; order:2; width:6px; height:6px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .2s ease; }
.t2-nav__has:hover .t2-nav__btn::before,.t2-nav__has.is-open .t2-nav__btn::before{ transform:translateY(1px) rotate(225deg); }
.t2-sub{ position:absolute; z-index:5; top:calc(100% + 12px); left:50%; min-width:200px; list-style:none; margin:0; padding:8px; background:#fff; border:2px solid var(--line); border-radius:12px; box-shadow:5px 5px 0 var(--line);
         opacity:0; visibility:hidden; transform:translate(-50%,6px); transition:opacity .18s ease, transform .18s ease, visibility .18s; }
.t2-sub::before{ content:""; position:absolute; left:0; right:0; top:-16px; height:16px; }   /* 項目からメニューへカーソルを移す間に閉じないための橋 */
.t2-nav__has:hover .t2-sub,.t2-nav__has:focus-within .t2-sub,.t2-nav__has.is-open .t2-sub{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.t2-sub a{ display:block; padding:9px 14px; border-radius:8px; white-space:nowrap; font-family:var(--f-jp); font-weight:700; font-size:.88rem; letter-spacing:.04em; }
.t2-sub a:hover,.t2-sub a:focus-visible{ background:var(--yellow); }
.t2-nav__sp{ display:none; }
.t2-burger{ display:none; width:44px; height:44px; position:relative; }
.t2-burger span,.t2-burger span::before,.t2-burger span::after{ position:absolute; left:10px; width:24px; height:2.5px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.t2-burger span{ top:21px; }
.t2-burger span::before{ content:""; left:0; top:-8px; }
.t2-burger span::after{ content:""; left:0; top:8px; }
.t2-head.is-open .t2-burger span{ background:transparent; }
.t2-head.is-open .t2-burger span::before{ transform:translateY(8px) rotate(45deg); }
.t2-head.is-open .t2-burger span::after{ transform:translateY(-8px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.t2-hero__in{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); gap:24px; padding:22px 0 0; min-height:560px; }
.t2-hero__copy{ position:relative; padding:4px 0 48px; }
.t2-hero__eyebrow{ font-family:var(--f-en); font-size:.9rem; letter-spacing:.06em; line-height:1.3; }
.t2-hero__title{ font-family:var(--f-disp); font-weight:400; font-size:clamp(2.6rem,6.4vw,5.1rem); line-height:1.08; letter-spacing:-.04em; margin-top:12px; }
.t2-hero__en{ display:block; font-family:var(--f-en); font-size:1.18em; letter-spacing:.01em; line-height:1.02; margin-top:.08em; }
.t2-hero__lead{ font-weight:900; font-size:clamp(1rem,1.6vw,1.2rem); margin-top:18px; letter-spacing:.04em; }
.t2-hero__btns{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }
.t2-hero__hand{ position:absolute; top:0; right:-4%; font-size:clamp(1.1rem,2vw,1.5rem); transform:rotate(-14deg); }
.t2-hero__hand::after{ content:""; position:absolute; right:-34px; top:30px; width:26px; height:40px;
  background:linear-gradient(135deg,transparent 45%,var(--ink) 45%,var(--ink) 55%,transparent 55%) 0 0/13px 20px no-repeat,
             linear-gradient(135deg,transparent 45%,var(--ink) 45%,var(--ink) 55%,transparent 55%) 13px 16px/13px 20px no-repeat; }

.t2-collage{ display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(7,1fr); gap:6px; height:560px; position:relative; }
.t2-collage::before{ content:""; position:absolute; left:20%; top:6%; width:46%; height:40%; background:radial-gradient(circle,rgba(124,192,255,.55),rgba(124,192,255,0) 70%); filter:blur(8px); z-index:-1; }
.t2-collage .ph{ border-radius:2px; }
.c1{ grid-column:2; grid-row:2/5; }
.c2{ grid-column:3; grid-row:1/3; }
.c3{ grid-column:3; grid-row:3/5; }
.c4{ grid-column:1; grid-row:4/6; }
.c5{ grid-column:2; grid-row:5/8; }
.c6{ grid-column:3; grid-row:5/8; }
.c7{ grid-column:1; grid-row:6/8; }

/* ---------- セクション共通 ---------- */
.t2-sec{ padding:72px 0; position:relative; }
.t2-sec__head{ text-align:center; }
.t2-sec__title{ font-family:var(--f-jp); font-weight:900; font-size:clamp(1.7rem,3.6vw,2.6rem); letter-spacing:.02em; line-height:1.3; margin-top:18px; }
.t2-sec__en{ font-weight:900; font-size:clamp(1.05rem,1.8vw,1.35rem); letter-spacing:.02em; margin-top:4px; }
.t2-sec__lead{ color:var(--ink-soft); font-size:.95rem; margin-top:12px; }

/* ---------- 01 WHAT WE DO ---------- */
.t2-work{ padding-bottom:0; }
.t2-work .t2-wrap{ border-bottom:2px solid var(--line); padding-bottom:56px; }
.t2-work__grid{ display:grid; grid-template-columns:1fr minmax(260px,330px) 1fr; gap:28px; align-items:center; margin-top:24px; }
.t2-blob{ position:relative; aspect-ratio:1/0.92; }
.t2-blob .ph{ position:absolute; inset:0; border-radius:58% 42% 50% 50% / 46% 52% 48% 54%; }
.t2-blob--yellow .ph{ border-radius:44% 56% 42% 58% / 54% 44% 56% 46%; }
.t2-blob::after{ content:"★"; position:absolute; font-size:1.7rem; line-height:1; color:var(--yellow); -webkit-text-stroke:1.5px var(--ink); }
.t2-blob--pink::after{ left:46%; top:-6%; }
.t2-blob--yellow::after{ left:18%; top:-4%; color:var(--lav); }
.t2-work__hand{ position:absolute; right:-2%; top:10%; font-size:clamp(1.2rem,2.2vw,1.8rem); transform:rotate(-10deg); text-align:center; z-index:1; }
.t2-blob__no{ position:absolute; z-index:1; left:12%; top:16%; width:54px; height:54px; border-radius:50%; background:var(--ink); color:#fff;
              display:grid; place-items:center; font-family:var(--f-en); font-size:1.5rem; transition:transform .25s ease; }
.t2-blob__no.is-pop{ animation:t2pop .35s ease; }
@keyframes t2pop{ 50%{ transform:scale(1.22) rotate(-8deg); } }

.t2-roles{ text-align:center; }
.t2-roles__ttl{ font-weight:900; letter-spacing:.04em; margin-bottom:12px; }
.t2-roles li + li{ margin-top:10px; }
.t2-roles a{ display:flex; align-items:center; gap:14px; height:46px; padding:0 18px 0 10px; border:2px solid var(--line); border-radius:999px; background:#fff;
             font-weight:900; font-size:1rem; text-align:left; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.t2-roles a:hover,.t2-roles a:focus-visible{ transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--line); background:color-mix(in srgb,var(--rc) 22%,#fff); }
.t2-roles__no{ width:28px; height:28px; border-radius:50%; border:2px solid var(--line); background:var(--rc); display:grid; place-items:center; font-size:.7rem; font-weight:900; flex:none; }
.t2-roles__ar{ margin-left:auto; font-size:.95rem; }
.t2-roles__note{ font-size:.84rem; color:var(--ink-soft); margin-top:16px; }
.t2-squiggle{ width:66px; height:16px; margin-top:6px; color:var(--ink); }

/* ---------- 02 OUR PEOPLE ---------- */
.t2-people{ padding-bottom:0; }
.t2-people .t2-wrap{ border-bottom:2px solid var(--line); padding-bottom:56px; }
.t2-people__grid{ display:grid; grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr); gap:28px; align-items:center; margin-top:8px; }
.t2-people__hand{ font-size:1.5rem; transform:rotate(-6deg); display:inline-block; border-bottom:3px solid var(--ink); padding-bottom:2px; }
.t2-people__hand b{ font-weight:400; color:var(--yellow); -webkit-text-stroke:1.5px var(--ink); margin-left:6px; }
.t2-people__name{ font-family:var(--f-disp); font-size:clamp(2rem,3.6vw,2.6rem); line-height:1.2; margin-top:32px; }
.t2-people__meta{ display:flex; align-items:center; gap:12px; font-weight:900; font-size:.95rem; margin-top:6px; }
.t2-people__year{ border:1.5px solid var(--line); border-radius:4px; padding:0 10px; font-size:.78rem; font-weight:700; }
.t2-people__year:empty{ display:none; }
.t2-people__catch{ font-weight:900; font-size:clamp(1.3rem,2.4vw,1.8rem); line-height:1.45; margin-top:22px; }
.t2-people__lead{ font-size:.86rem; color:var(--ink-soft); margin:12px 0 22px; max-width:30em; }
.t2-people__copy.is-swap > *:not(.t2-people__hand){ animation:t2fade .4s ease; }
@keyframes t2fade{ from{ opacity:0; transform:translateY(6px); } }

/* レコードは data-slot（0=手前の大きい1枚、1,2…=奥に並ぶ小さい盤）で位置を決める。
   順番に1枚ずつ手前へ出てくる動きは top-v2.js が data-slot を付け替えて作る。サイズは .t2-records の幅（cqw）基準 */
.t2-records{ position:relative; container-type:inline-size; }
.t2-records__track{ --F:48cqw; --S:18cqw; --dl:58%; --x1:73cqw; --x2:96cqw; --x3:119cqw;
                    position:relative; height:calc(var(--F) + 64px); overflow:hidden; }
.t2-rec{ position:absolute; z-index:1; left:var(--x); top:calc(28px + (var(--F) - var(--s)) / 2); width:var(--s); height:var(--s);
         --x:var(--x3); --s:var(--S);
         transition:left .7s cubic-bezier(.65,0,.25,1), top .7s cubic-bezier(.65,0,.25,1), width .7s cubic-bezier(.65,0,.25,1), height .7s cubic-bezier(.65,0,.25,1), opacity .35s ease, transform .35s ease; }
.t2-rec[data-slot="0"]{ --x:14px; --s:var(--F); z-index:3; }
.t2-rec[data-slot="1"]{ --x:var(--x1); z-index:2; }
.t2-rec[data-slot="2"]{ --x:var(--x2); }
.t2-rec.is-out{ opacity:0; transform:translateX(-30px) scale(.85); }   /* 手前から退場して最後尾へ回る1枚 */
.t2-rec.no-anim{ transition:none; }
.t2-rec__sleeve{ position:absolute; inset:0; z-index:2; display:block; background:#fff; padding:6px; box-shadow:0 8px 18px rgba(0,0,0,.14); transform:rotate(-3deg); transition:transform .25s ease; }
.t2-rec:nth-child(even) .t2-rec__sleeve{ transform:rotate(2deg); }
.t2-rec:hover .t2-rec__sleeve{ transform:rotate(0) translateY(-4px); }
.t2-rec .ph--sleeve{ position:absolute; inset:6px; }
.t2-rec .ph--sleeve .ph__note,.t2-rec .ph--sleeve .ph__id{ opacity:0; transition:opacity .2s ease; }   /* 大きくなり終わってから出す */
.t2-rec.is-on .ph--sleeve .ph__note,.t2-rec.is-on .ph--sleeve .ph__id{ opacity:1; transition-delay:.65s; }
.t2-rec__en{ position:absolute; z-index:1; left:12px; top:12px; font-size:.78rem; transform:rotate(-8deg); text-align:left; transition:font-size .5s ease; }
.t2-rec__tag{ position:absolute; z-index:1; right:12px; bottom:10px; font-size:.7rem; transform:rotate(-8deg); transition:font-size .5s ease; }
.t2-rec.is-on .t2-rec__en{ font-size:1.9rem; left:18px; top:18px; }
.t2-rec.is-on .t2-rec__tag{ font-size:1.25rem; right:18px; bottom:14px; }
.t2-rec__disc{ position:absolute; z-index:1; top:5%; left:42%; width:90%; height:90%; border-radius:50%;
               background:repeating-radial-gradient(circle,#1b1b1b 0 2px,#262626 2px 4px); box-shadow:0 6px 14px rgba(0,0,0,.25);
               transition:left .7s cubic-bezier(.65,0,.25,1) .15s; }
.t2-rec.is-on .t2-rec__disc{ left:var(--dl); animation:t2spin 6s linear infinite; }
/* 中央のラベル（本物のレコードのようにグレーの円と、真ん中の穴） */
.t2-rec__disc span{ position:absolute; inset:33%; border-radius:50%; background:radial-gradient(circle,#d6d6d6 0 58%,#bdbdbd 58% 62%,#cfcfcf 62%); box-shadow:0 0 0 2px #3a3a3a; }
.t2-rec__disc span::after{ content:""; position:absolute; inset:42%; border-radius:50%; background:var(--paper); box-shadow:inset 0 0 0 1.5px #8a8a8a; }
@keyframes t2spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .t2-rec,.t2-rec__disc{ transition:none; } .t2-rec.is-on .t2-rec__disc{ animation:none; } }
.t2-rec:focus-visible{ outline:3px solid var(--ink); outline-offset:6px; }
.t2-records__slide{ display:flex; align-items:center; gap:8px; justify-content:flex-end; font-size:1.15rem; margin-top:12px; padding-right:4%; }
.t2-records__slide svg{ width:110px; height:26px; }

/* ---------- 03 NEWS ---------- */
.t2-news{ background:#f1edff; overflow:hidden; margin-top:0; }
.t2-news__dot{ position:absolute; border-radius:50%; pointer-events:none; }
.t2-news__dot--l{ width:220px; height:220px; left:-120px; top:22%; background:#d9c4ff; }
.t2-news__dot--r{ width:200px; height:200px; right:-110px; top:12%; background:#bfe0ff; }
.t2-news__title{ font-family:var(--f-en); font-weight:400; font-size:clamp(3rem,7vw,4.6rem); line-height:1; letter-spacing:.02em; margin-top:16px; }
.t2-news .t2-sec__lead{ margin-top:6px; }
.t2-news__list{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; max-width:860px; margin:30px auto 0; position:relative; }
.t2-ncard a{ display:flex; flex-direction:column; height:100%; background:#fff; border:2px solid var(--line); border-radius:10px; padding:10px 10px 16px;
             transition:transform .18s ease, box-shadow .18s ease; }
.t2-ncard a:hover{ transform:translate(-3px,-3px); box-shadow:5px 5px 0 var(--line); }
.t2-ncard .ph--news,.t2-ncard__img{ aspect-ratio:16/9; border-radius:4px; width:100%; object-fit:cover; }
.t2-ncard .ph--news .ph__note{ display:none; }
.t2-ncard__no{ font-family:var(--f-en); font-size:.86rem; letter-spacing:.04em; margin:12px 4px 2px; }
.t2-ncard__date{ margin-left:10px; font-family:var(--f-jp); font-weight:700; font-size:.72rem; letter-spacing:0; color:var(--ink-soft); }
.t2-ncard__ttl{ font-weight:900; font-size:.95rem; line-height:1.55; margin:0 4px; flex:1;
                display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.t2-ncard__more{ font-family:var(--f-en); font-size:.86rem; letter-spacing:.04em; margin:10px 4px 0; }
.t2-ncard__more i{ font-style:normal; margin-left:6px; }
.t2-news__note{ text-align:center; font-size:.72rem; color:var(--ink-soft); margin-top:14px; }
.t2-news__all{ text-align:center; margin-top:22px; }

/* ---------- フッター ---------- */
.t2-foot{ padding:0 0 28px; background:var(--paper); }
.t2-foot__in{ display:flex; align-items:center; gap:36px; padding:24px 0 20px; border-bottom:2px solid var(--line); }
/* ヘッダーと同じ並び（_nav-v2.php）。下の階層もすべて出す */
.t2-foot__map{ display:flex; flex-wrap:wrap; gap:24px 64px; padding:26px 0 24px; border-bottom:2px solid var(--line); font-family:var(--f-en); letter-spacing:.06em; }
.t2-foot__ttl{ display:inline-block; font-size:1.05rem; }
.t2-foot__col ul{ list-style:none; margin:10px 0 0; padding:0; }
.t2-foot__col li + li{ margin-top:6px; }
.t2-foot__col li a{ font-family:var(--f-jp); font-weight:700; font-size:.8rem; letter-spacing:.02em; color:var(--ink-soft); }
.t2-foot__map a:hover{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:3px; text-underline-offset:4px; }
.t2-foot__sub{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; padding-top:16px; font-size:.78rem; color:var(--ink-soft); }
.t2-foot__sub nav{ display:flex; flex-wrap:wrap; gap:6px 22px; font-family:var(--f-en); letter-spacing:.06em; font-size:.84rem; }
.t2-foot__sub a:hover{ color:var(--ink); }

/* ---------- タブレット ---------- */
@media (max-width:960px){
  .t2-hero__in{ grid-template-columns:minmax(0,1fr); min-height:0; }
  .t2-hero__copy{ padding-bottom:8px; }
  .t2-hero__hand{ right:2%; }
  .t2-collage{ height:min(70vw,520px); }
  .t2-work__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .t2-roles{ grid-column:1/-1; grid-row:1; max-width:420px; margin:0 auto; width:100%; }
  .t2-people__grid{ grid-template-columns:minmax(0,1fr); }
}

/* ---------- ヘッダー：900px 以下はハンバーガー ---------- */
@media (max-width:900px){
  .t2-head__in{ gap:12px; }
  .t2-burger{ display:block; }
  .t2-nav{ position:absolute; left:0; right:0; top:100%; max-height:calc(100vh - 62px); overflow-y:auto; background:var(--paper); border-bottom:2px solid var(--line);
           padding:6px 16px 18px; visibility:hidden; opacity:0; transform:translateY(-8px); transition:opacity .2s ease, transform .2s ease, visibility .2s; }
  .t2-head.is-open .t2-nav{ visibility:visible; opacity:1; transform:none; }
  .t2-nav__list{ flex-direction:column; align-items:stretch; gap:0; font-size:1.2rem; }
  .t2-nav__list > li{ border-bottom:1px dashed rgba(20,20,20,.2); }
  .t2-nav__list > li > a,.t2-nav__btn{ display:flex; width:100%; padding:13px 4px; }
  .t2-nav__list > li > a::after,.t2-nav__btn::after,.t2-nav__btn::before{ display:none; }
  .t2 .t2-nav__btn{ cursor:default; color:var(--ink-soft); font-size:.92rem; padding:13px 4px 4px; }
  /* スマホでは下の階層も最初から並べる */
  .t2-sub{ position:static; opacity:1; visibility:inherit; transform:none; min-width:0; padding:0 0 10px 10px; background:none; border:0; border-radius:0; box-shadow:none; }
  .t2-sub::before{ display:none; }
  .t2-nav__has:hover .t2-sub,.t2-nav__has:focus-within .t2-sub,.t2-nav__has.is-open .t2-sub{ visibility:inherit; transform:none; }  /* 閉じたメニューの下の階層が透明なまま押せていたのを防ぐ（2026-11-26） */
  .t2-sub a{ padding:8px 6px; font-size:.95rem; }
  .t2-nav__sp{ display:block; }
}

/* ---------- スマホ ---------- */
@media (max-width:700px){
  .t2-wrap{ width:calc(100% - 32px); }
  .t2-head__in{ height:62px; gap:12px; }
  .t2-logo{ font-size:1.6rem; }
  .t2-head .t2-btn--sm{ height:36px; padding:0 12px; font-size:.84rem; }

  .t2-hero__title{ font-size:clamp(2.3rem,12vw,3.4rem); }
  .t2-hero__hand{ top:-2px; right:0; font-size:1rem; }
  .t2-hero__hand::after{ display:none; }
  .t2-hero__btns .t2-btn{ flex:1; min-width:0; }
  .t2-collage{ height:96vw; gap:4px; }
  .ph__note{ font-size:.58rem; padding:0 8px; }

  .t2-sec{ padding:56px 0; }
  .t2-work__grid{ gap:16px; }
  .t2-work__hand{ font-size:1rem; }
  .t2-blob__no{ width:40px; height:40px; font-size:1.1rem; }

  .t2-records__track{ --F:60cqw; --S:24cqw; --dl:52%; --x1:91cqw; --x2:121cqw; --x3:151cqw; }
  .t2-rec.is-on .t2-rec__en{ font-size:1.3rem; }
  .t2-rec.is-on .t2-rec__tag{ font-size:.9rem; }

  .t2-news__list{ grid-template-columns:1fr; gap:16px; max-width:420px; }
  .t2-ncard a{ flex-direction:row; flex-wrap:wrap; align-items:center; column-gap:12px; }
  .t2-ncard .ph--news,.t2-ncard__img{ width:120px; flex:none; }
  .t2-ncard__no{ margin:0; flex:1; }
  .t2-ncard__ttl{ flex-basis:100%; margin:8px 2px 0; }

  .t2-foot__in{ gap:16px; }
  /* スマホは COURSE・ABOUT を先に並べ、下の階層が無い項目はその下にまとめる */
  .t2-foot__map{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 16px; }
  .t2-foot__col--solo{ order:2; }
  .t2-foot__sub{ flex-direction:column; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}

/* レコードのカバーの絵（_people.php の gx_cover_html。トップ・一覧・OTHER INTERVIEW 共通） */
.ph--cover::before{ display:none; }
.ph--cover img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
/* カバーの絵があるときは、名前とタグを白地のラベルにしてジャケットの上下の縁へ半分はみ出させ、絵を隠さない */
.ph--cover ~ .t2-rec__en,.ph--cover ~ .t2-rec__tag{ z-index:2; background:#fff; padding:0 .4em; line-height:1.3; box-shadow:0 2px 6px rgba(0,0,0,.12); }
.ph--cover ~ .t2-rec__en{ left:-4px; top:-.7em; }
.ph--cover ~ .t2-rec__tag{ right:-4px; bottom:-.7em; }
.t2-rec.is-on .ph--cover ~ .t2-rec__en{ font-size:1.35rem; left:-10px; top:-.75em; }
.t2-rec.is-on .ph--cover ~ .t2-rec__tag{ font-size:1rem; right:-10px; bottom:-.75em; }

/* OUR PEOPLE：レコードを自分で切り替える ← → ボタン（SLIDE! の左）。手前の1枚はクリックでインタビューへ */
.t2-records__bar{ display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:12px; padding-right:4%; }
.t2-records__bar .t2-records__slide{ margin-top:0; padding-right:0; margin-left:8px; }
.t2 .t2-records__arrow{ width:44px; height:44px; border-radius:50%; border:2px solid var(--line); background:#fff; color:var(--ink); font-size:1.1rem; font-weight:900; line-height:1; cursor:pointer; display:grid; place-items:center; transition:background .2s ease, color .2s ease, transform .2s ease; }
.t2 .t2-records__arrow:hover{ background:var(--ink); color:#fff; transform:translateY(-2px); }
.t2-records__arrow:focus-visible{ outline:3px solid #7cc0ff; outline-offset:2px; }
.t2-rec.is-on{ cursor:pointer; }

/* ---------- カジュアル説明会の帯（_cta-casual.php。社員インタビュー一覧のデザインに全ページ統一） ---------- */
.t2-cta{ padding-block:0 72px; }
.t2-cta__box{ position:relative; overflow:hidden; border:2px solid var(--line); border-radius:22px; background:linear-gradient(100deg,#d8f5e6 0%, #c9f2df 45%, #dceefe 100%); padding:56px 24px 48px; text-align:center; }
.t2-cta__blob{ position:absolute; border-radius:50%; }
.t2-cta__blob--y{ width:240px; height:200px; left:-90px; bottom:-90px; background:#ffe48a; }
.t2-cta__blob--l{ width:240px; height:220px; right:-90px; bottom:-100px; background:#d9ccff; }
.t2-cta__in{ position:relative; display:flex; flex-direction:column; align-items:center; gap:14px; }
.t2-cta__next{ position:absolute; left:4%; top:-18px; font-size:1.35rem; transform:rotate(-12deg); }
.t2-cta__talk{ position:absolute; right:4%; top:-24px; padding:4px 14px; background:#ffc6de; border:2px solid var(--line); font-size:1rem; transform:rotate(-6deg); }
.t2-cta__ttl{ position:relative; font-family:var(--f-disp); font-weight:400; font-size:clamp(1.6rem,4vw,2.6rem); line-height:1.3; }
.t2-cta__ttl span{ position:relative; z-index:1; }
.t2-cta__ttl::after{ content:""; position:absolute; left:-2%; right:-2%; bottom:.02em; height:.26em; background:#d9f27a; border-radius:40% 60% 50% 50% / 60% 40% 60% 40%; }
.t2-cta__sub{ font-weight:700; font-size:.95rem; }
.t2-cta__btns{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:10px; }
.t2-cta__btn{ height:58px; padding:0 34px; border-radius:999px; font-family:var(--f-jp); font-weight:900; font-size:1.05rem; letter-spacing:.04em; box-shadow:0 5px 0 var(--line); }
.t2-cta__btn:hover{ box-shadow:0 7px 0 var(--line); }
.t2-cta__note{ font-size:.8rem; color:var(--ink-soft); }
@media (max-width:700px){
  .t2-cta__box{ padding:52px 18px 40px; }
  .t2-cta__next{ position:static; font-size:1.05rem; }
  .t2-cta__next br{ display:none; }
  .t2-cta__talk{ position:static; order:-1; font-size:.82rem; }
  .t2-cta__btn{ height:52px; padding:0 22px; font-size:.95rem; }
}

/* Galaxia のロゴ：ヘッダー・フッター・トップのメインビジュアルは、事業内容と同じロゴ画像（assets/img/head/logo.webp）に統一（2026-11-25） */
.t2-logo--img{ display:inline-flex; align-items:center; }
.t2-logo--img img{ display:block; height:30px; width:auto; }
.t2-hero__en--logo{ margin-top:.18em; }
.t2-hero__en--logo img{ display:block; height:.82em; width:auto; }
@media (max-width:700px){ .t2-logo--img img{ height:24px; } }

/* トップのヒーロー（2026-11-25）：見出しを 3px 小さく */
.t2-hero__title{ font-size:clamp(calc(2.6rem - 3px),calc(6.4vw - 3px),calc(5.1rem - 3px)); }
/* 「Good people good things.」は斜めのまま、見出しの横から向山さんの絵の上の余白へかかるように置く */
.t2-collage .t2-hero__hand{ position:absolute; z-index:3; left:-17%; top:21%; right:auto; margin:0; transform:rotate(-14deg); transform-origin:left center; font-size:clamp(1.1rem,2vw,1.5rem); line-height:1.25; white-space:nowrap; pointer-events:none; }
.t2-collage .t2-hero__hand::after{ display:none; }

/* スマホ・タブレット：見出し → 7人のイラスト → リード文 → ボタン の順に（ボタンの下に絵が来る不自然さをなくす） */
@media (max-width:960px){
  .t2-hero__copy{ display:contents; }
  .t2-hero__in{ gap:0; }
  .t2-hero__eyebrow{ order:0; }
  .t2-hero__title{ order:1; }
  .t2-collage{ order:2; margin-top:26px; }
  .t2-hero__lead{ order:3; margin-top:22px; }
  .t2-hero__btns{ order:4; margin-top:18px; padding-bottom:8px; }
  .t2-collage .t2-hero__hand{ left:1%; top:15%; }
}
@media (max-width:700px){
  .t2-hero__title{ font-size:clamp(calc(2.3rem - 3px),calc(12vw - 3px),calc(3.4rem - 3px)); }
  .t2-collage{ height:84vw; margin-top:4px; }   /* 7人のイラストを見出しのすぐ下へ詰める（2026-11-26。もとは 26px） */
  .t2-collage .t2-hero__hand{ font-size:.95rem; top:13%; }
  /* リード文：大きく・中央揃え・1行（2026-11-26）。16文字が画面幅に収まる大きさ（390px 幅で約21px、上限 24px） */
  .t2-hero__lead{ font-size:min(24px, calc((100vw - 40px) / 16.4)); letter-spacing:0; line-height:1.5; text-align:center; white-space:nowrap; margin-top:20px; }
}

/* ---------- NEWS：画像が無い記事の自動サムネ（コーポレートの新着情報と同じレイアウト）。文字はカード幅に合わせて伸縮 ---------- */
/* cqw はこの箱の幅（padding を持たない外箱）基準。中身の余白は子に持たせる */
.t2-gen{ position:relative; display:flex; flex-direction:column; justify-content:center; width:100%; aspect-ratio:16/9; border-radius:4px;
         overflow:hidden; container-type:inline-size;
         background-image:linear-gradient(135deg,rgba(255,255,255,.22),rgba(0,0,0,.18)); }
.t2-gen__cat,.t2-gen__ttl{ margin-left:9cqw; margin-right:9cqw; }
.t2-gen::after{ content:""; position:absolute; right:-13cqw; top:-13cqw; width:52cqw; height:52cqw; border-radius:50%; background:rgba(255,255,255,.12); }
.t2-gen__cat{ position:relative; font-size:5cqw; font-weight:800; letter-spacing:.14em; color:rgba(255,255,255,.92); }
.t2-gen__ttl{ position:relative; margin-top:3.5cqw; font-size:7.4cqw; font-weight:800; line-height:1.5; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.12);
              display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.t2-gen__mark{ position:absolute; right:6cqw; bottom:5cqw; font-size:4.6cqw; font-weight:900; letter-spacing:.1em; color:rgba(255,255,255,.78); }
@media (max-width:700px){ .t2-ncard .t2-gen{ width:120px; flex:none; } }
/* カード下の 種別タグ＋日付（コーポレートの一覧と同じ並び） */
.t2-ncard__meta{ display:flex; align-items:center; gap:10px; margin:12px 4px 0; flex:1; align-content:flex-start; flex-wrap:wrap; }
.t2-ncard__tag{ display:inline-block; padding:3px 10px; border-radius:4px; color:#fff; font-size:.72rem; font-weight:800; letter-spacing:.04em; line-height:1.5; }
.t2-ncard__meta .t2-ncard__date{ margin:0; font-family:var(--f-en); font-size:.86rem; letter-spacing:.04em; color:var(--ink-soft); }
.t2-ncard__meta + .t2-ncard__ttl{ margin-top:8px; }
.t2-ncard:has(.t2-ncard__ttl) .t2-ncard__meta{ flex:none; }
.t2-gen__ttl{ -webkit-line-clamp:3; }
/* スマホ：自動サムネはタイトルが読めるよう全幅で（実画像のカードは従来どおり横並び） */
@media (max-width:700px){
  .t2-ncard a:has(.t2-gen){ flex-direction:column; align-items:stretch; }
  .t2-ncard a:has(.t2-gen) .t2-gen{ width:100%; }
  .t2-ncard a:has(.t2-gen) .t2-ncard__meta{ margin:12px 4px 0; }
}

/* ---------- WHAT WE DO：右のイラスト（W-2）を廃止 → 左にイラスト、右に職種ボタンの2カラム（2026-11-25） ---------- */
.t2-work__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,6vw,80px); max-width:980px; margin-left:auto; margin-right:auto; }
.t2-work__grid .t2-blob{ width:min(100%,460px); justify-self:end; }
.t2-work__grid .t2-roles{ max-width:400px; width:100%; justify-self:start; text-align:left; }
.t2-work__grid .t2-roles__ttl,.t2-work__grid .t2-roles__note{ text-align:center; }
.t2-work__grid .t2-squiggle{ display:block; margin:6px auto 0; }
@media (max-width:960px){
  .t2-work__grid{ grid-template-columns:minmax(0,1fr); }
  .t2-work__grid .t2-roles{ grid-row:1; justify-self:center; max-width:420px; }
  .t2-work__grid .t2-blob{ grid-row:2; justify-self:center; width:min(100%,380px); }
}
/* W-1：職種ごとのイラスト（社員インタビューのアイキャッチ）を重ねて、選ばれたものだけ表示 */
.t2-work__art::before{ display:none; }
.t2-work__art img{ position:absolute; left:2%; top:4%; width:96%; height:92%; object-fit:contain; opacity:0; transform:scale(.96);
                   transition:opacity .3s ease, transform .3s ease; pointer-events:none; }
.t2-work__art img.is-on{ opacity:1; transform:none; }
.t2-work__art{ overflow:visible; }
/* 手書きの職種名はイラストに重ならないよう、楕円の右上の外側へ */
.t2-work__grid .t2-work__hand{ right:-12%; top:-6%; }
@media (max-width:960px){ .t2-work__grid .t2-work__hand{ right:-2%; top:-8%; } }
/* 社員インタビューと共通のミラーボールを、イラストの右上に（インタビューのヒーローと同じ位置関係）。手書きの職種名は右下へ */
.t2-work__ball{ position:absolute; z-index:2; right:-12%; top:-12%; width:36%; height:auto; pointer-events:none; }
.t2-work__grid .t2-work__hand{ right:-16%; top:auto; bottom:2%; }
@media (max-width:960px){
  .t2-work__ball{ right:-4%; top:-10%; width:32%; }
  .t2-work__grid .t2-work__hand{ right:-2%; bottom:-4%; }
}
.t2-work__grid{ margin-top:60px; }   /* ミラーボールの吊り下げ部分がリード文に重ならないように */
@media (max-width:960px){ .t2-work__grid .t2-blob{ margin-top:30px; } }
/* ミラーボールは左上へ（2026-11-25 指定）。番号の丸は右上へよける */
.t2-work__ball{ right:auto; left:-12%; }
.t2-work__grid .t2-blob__no{ left:auto; right:10%; top:10%; }
@media (max-width:960px){ .t2-work__ball{ left:-4%; } .t2-work__grid .t2-blob__no{ right:6%; top:8%; } }

/* ---------- セクション見出し（.t2-sh）：社員インタビュー一覧の見出し（.iv3-hero）と同じ形でトップの各セクションを統一（2026-11-25） ----------
   傾いた英字タグ（色はセクションごと）→ Dela Gothic の見出し＋黄緑のマーカー線＋左上の集中線 → 太字のサブコピー */
.t2-sh{ --tc:var(--yellow); display:flex; flex-direction:column; align-items:center; gap:16px; text-align:center; }
.t2-sh--mint{ --tc:var(--mint); }
.t2-sh--lav{ --tc:var(--lav); }
.t2-sh__tag{ position:relative; display:inline-block; padding:5px 18px; background:var(--tc); border:2px solid var(--line); font-size:1.2rem; transform:rotate(-5deg); margin:0; }
.t2-sh__tag::after{ content:""; position:absolute; right:-30px; top:-16px; width:24px; height:24px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23141414' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M10 4l-3 9M24 10l-10 7M28 24l-13-1'/%3E%3C/svg%3E") no-repeat center/contain; }
.t2-sh__title{ position:relative; font-family:var(--f-disp); font-weight:400; font-size:clamp(1.9rem,4.6vw,3.4rem); line-height:1.2; letter-spacing:-.02em; margin:0; }
.t2-sh__title span{ position:relative; z-index:1; }
.t2-sh__title::after{ content:""; position:absolute; z-index:0; left:-3%; right:-3%; bottom:.04em; height:.3em; background:#d9f27a; border-radius:40% 60% 50% 50% / 60% 40% 60% 40%; transform:rotate(-1.5deg); }
.t2-sh__title::before{ content:""; position:absolute; left:-44px; top:-8px; width:32px; height:32px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23141414' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M22 4l3 9M8 10l10 7M4 24l13-1'/%3E%3C/svg%3E") no-repeat center/contain; }
.t2-sh__sub{ font-weight:900; font-size:clamp(.92rem,1.6vw,1.08rem); line-height:1.8; letter-spacing:.04em; margin:0; }
.t2-people .t2-sh{ margin-bottom:36px; }
@media (max-width:700px){
  .t2-sh{ gap:12px; }
  .t2-sh__tag{ font-size:1rem; }
  .t2-sh__title{ font-size:6.4vw; }
  .t2-sh__title::before{ left:-22px; top:-14px; width:20px; height:20px; }
}
/* NEWS が3件未満でも中央に寄せる（2026-11-26 公開時はお知らせ2件） */
@media (min-width:701px){ .t2-news__list{ grid-template-columns:repeat(auto-fit,minmax(0,270px)); justify-content:center; } }

/* スマホ：WHAT WE DO のイラスト自動切り替え中、表示中の職種ボタンに色（top-v2.js の .is-cur。2026-11-26） */
@media (max-width:700px){ .t2-roles a.is-cur{ background:color-mix(in srgb,var(--rc) 22%,#fff); box-shadow:3px 3px 0 var(--line); transform:translate(-1px,-1px); } }

/* ---------- スマホ：WHAT WE DO（2026-11-26） ----------
   ・リード文と職種ボタンの間の余白を詰める（PC 用のミラーボールよけの 60px が、スマホではボタンの上に空いていた）
   ・番号の丸と英語の手書き文字を、イラストの左下に「番号＋英語のステッカー」としてまとめて重ねる（番号が右上の絵にかぶり、英語が右下の外に小さく浮いていたため） */
@media (max-width:700px){
  .t2-work__grid{ margin-top:22px; }
  .t2-work__grid .t2-blob{ margin-top:44px; }
  .t2-work .t2-wrap{ padding-bottom:40px; }
  .t2-work__grid .t2-blob__no{ left:2%; right:auto; top:auto; bottom:1%; width:54px; height:54px; font-size:1.35rem; z-index:3; box-shadow:0 0 0 3px var(--paper); }
  .t2-work__grid .t2-work__hand{ left:calc(2% + 40px); right:auto; top:auto; bottom:calc(1% + 7px); z-index:2; margin:0;
    padding:5px 14px 5px 22px; background:var(--yellow); border:2px solid var(--line); border-radius:6px; box-shadow:3px 3px 0 var(--line);
    font-size:1.45rem; line-height:1.1; white-space:nowrap; text-align:left; transform:rotate(-4deg); transform-origin:left center; }
  .t2-work__grid .t2-work__hand br{ display:none; }
}

/* WHAT WE DO：04（イルカ）の絵は横長（3:2）で、ほかの3枚（正方形・4:3）より小さく見えるため、この1枚だけ大きく（2026-11-26） */
.t2-work__art img[data-no="04"]{ transform:scale(1.12); }
.t2-work__art img[data-no="04"].is-on{ transform:scale(1.18); }

/* ---------- スマホ：トップの社員インタビュー（OUR PEOPLE）（2026-11-26） ----------
   INTERVIEW の手書き文字は OUR PEOPLE の上へ。並びを「レコード → 名前・所属・記事のタイトル（キャッチ）・紹介文 → インタビューを読む（中央）」に。
   紹介文の箱（.t2-people__copy）を display:contents にして、中身とレコードを order で並べ替える（コースページは対象外） */
.t2-people__hand--sp{ display:none; }
@media (max-width:700px){
  .t2-people--top .t2-people__hand--sp{ display:inline-block; font-size:1.35rem; margin-bottom:2px; }
  .t2-people--top .t2-people__grid{ display:flex; flex-direction:column; align-items:stretch; gap:0; }
  .t2-people--top .t2-people__copy{ display:contents; }
  .t2-people--top .t2-people__copy > .t2-people__hand{ display:none; }
  .t2-people--top .t2-records{ order:1; width:100%; }
  .t2-people--top .t2-people__name{ order:2; margin-top:22px; text-align:center; }
  .t2-people--top .t2-people__meta{ order:3; justify-content:center; }
  .t2-people--top .t2-people__catch{ order:4; margin-top:14px; text-align:center; font-size:1.25rem; }
  .t2-people--top .t2-people__lead{ order:5; margin:10px auto 0; text-align:center; }
  .t2-people--top .t2-people__copy > .t2-btn{ order:6; align-self:center; margin-top:20px; }
}

/* ---------- 社員インタビュー：← 人数ぶんの丸 → （2026-11-26。「SLIDE!」の文字と矢印の絵は廃止） ----------
   PC はレコードの列（右）の下に中央揃え。スマホのトップは「インタビューを読む」の下（order） */
.t2-people__grid > .t2-records__bar{ grid-column:2; justify-content:center; padding-right:0; margin-top:4px; }
.t2-records__dots{ display:flex; align-items:center; gap:10px; margin:0 8px; }
.t2 .t2-records__dot{ position:relative; width:12px; height:12px; padding:0; border-radius:50%; border:2px solid var(--line); background:transparent; cursor:pointer; transition:background .2s ease, transform .2s ease; }
.t2 .t2-records__dot::after{ content:""; position:absolute; inset:-8px -5px; }   /* 押せる範囲を広げる */
.t2 .t2-records__dot.is-on{ background:var(--ink); transform:scale(1.15); }
.t2 .t2-records__dot:hover{ background:var(--yellow); }
.t2 .t2-records__dot.is-on:hover{ background:var(--ink); }
.t2-records__dot:focus-visible{ outline:3px solid #7cc0ff; outline-offset:2px; }
@media (max-width:960px){ .t2-people__grid > .t2-records__bar{ grid-column:auto; } }
@media (max-width:700px){
  .t2-people--top .t2-people__grid > .t2-records__bar{ order:7; margin-top:18px; }
}

/* ---------- スマホ：フッター（2026-11-26） ----------
   サイトマップ（TOP / COURSE / JOBS …の一覧）は出さない（メニューは右上の ≡ から）。ロゴ・PRIVACY POLICY / CORPORATE SITE・© を中央揃えに */
@media (max-width:700px){
  .t2-foot__map{ display:none; }
  .t2-foot__in{ justify-content:center; }
  .t2-foot__in .t2-logo{ margin:0 auto; }
  .t2-foot__sub{ align-items:center; text-align:center; }
  .t2-foot__sub nav{ justify-content:center; }
}
