/* ==========================================================================
   YBC トップページ 2026 リニューアル
   - トップ(front page)だけで読み込む。下層ページには影響しない。
   - 古い #home 系ルール・style.css は読み込まない(functions.php 参照)。
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --ink: #14213d;
  --lime: #c8ff3d;
  --lime-d: #b4ec1c;
  --bg: #f3f6f9;
  --card: #f5f5f3;
  --line: #e3e8ee;
  --muted: #566277;
  --r-xl: 44px;
  --r-lg: 28px;
  --r-md: 20px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", "Heebo", "Noto Sans JP", sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.t26-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.t26-body.t26-lock { overflow: hidden; }
.t26-body img { max-width: 100%; height: auto; }
.t26-body a { color: inherit; }
.t26-body ul { list-style: none; margin: 0; padding: 0; }
.t26-body h1, .t26-body h2, .t26-body h3, .t26-body p, .t26-body figure { margin: 0; }
.t26-body em { font-style: normal; }
/* 日本語を文節ごとに折り返す(対応していないブラウザでは通常の折り返し) */
.t26-text, .t26-h2, .t26-lead, .t26-card__text, .t26-card__title, .t26-post__title, .t26-work__name, .t26-hero__lead { word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere; }
.t26-body .sp { display: none; }
.t26-wrap { width: min(var(--wrap), 100% - 8vw); margin-inline: auto; }
.t26-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.t26-skip:focus { left: 8px; }

/* 矢印アイコン(共通) */
.arr { display: inline-block; width: 18px; height: 18px; position: relative; flex: none; }
.arr::before { content: ""; position: absolute; left: 1px; right: 2px; top: 50%; height: 2px; background: currentColor; transform: translateY(-50%); border-radius: 2px; }
.arr::after { content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); border-radius: 1px; }

/* ---------- ヘッダー ---------- */
.t26-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s, box-shadow .35s; }
.t26-header.is-scrolled { box-shadow: 0 1px 0 rgba(20,33,61,.08); }
/* すりガラスの背景は、ヘッダー本体ではなく、うしろの飾り(::before)にかける。
   ヘッダー本体に backdrop-filter をかけると、スマホのメニュー(position: fixed)の「画面いっぱい」の基準が、ヘッダーの高さに縮んでしまい、
   スクロールしたあとは、メニューの1行目(経営理念)しか見えなくなるため */
.t26-header::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .35s; }
.t26-header.is-scrolled::before { opacity: 1; }
.t26-header__bar { position: relative; z-index: 1; }
.t26-header__bar { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.t26-header.is-scrolled .t26-header__bar { height: 68px; }
/* PC: ヘッダーは画面いっぱいに広げて、ロゴを左上の端に、CONTACT を右上の端に置く(スマホは今のまま) */
@media (min-width: 861px) {
  .t26-header__bar.t26-wrap { width: auto; margin-inline: 0; padding-inline: clamp(24px, 3.4vw, 60px); }
}
.t26-header__logo { line-height: 0; position: relative; z-index: 3; }
.t26-brand { display: block; line-height: 0; }
.t26-brand img { display: block; height: 36px; width: auto; }
/* ログイン中は WordPress の黒い管理バー(32px / 46px)の下に置く */
.admin-bar .t26-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .t26-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .t26-header { top: 0; } }
.t26-nav > ul { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.t26-nav a { text-decoration: none; display: block; }
.t26-nav .en { display: block; font: 700 13px/1 var(--font-en); letter-spacing: .16em; }
.t26-nav .ja { display: none; }
.t26-nav > ul > li > a { padding: 8px 0; position: relative; }
.t26-nav > ul > li:not(.t26-nav__cta-li) > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--lime-d); transition: right .35s var(--ease); }
.t26-nav > ul > li:not(.t26-nav__cta-li) > a:hover::after { right: 0; }
.has-sub { position: relative; }
.t26-sub-toggle { display: none; }
.t26-sub { position: absolute; top: calc(100% + 6px); left: 50%; min-width: 300px; padding: 12px; background: #fff; border-radius: var(--r-md); box-shadow: 0 24px 50px -20px rgba(11,31,58,.35); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .3s var(--ease); display: block; }
.has-sub:hover > .t26-sub, .has-sub:focus-within > .t26-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.t26-sub a { padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.t26-sub a:hover { background: var(--bg); }

.t26-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--navy); border-radius: 999px; padding: 13px 22px; font-weight: 800; text-decoration: none; transition: transform .3s var(--ease), background .3s; }
.t26-pill:hover { background: var(--lime-d); transform: translateY(-2px); }
.t26-nav .t26-pill { display: inline-flex; align-items: center; white-space: nowrap; }
.t26-nav .t26-pill .en { font-size: 13px; }
/* ナビ共通の余白指定(padding: 8px 0)に上書きされていたので、CONTACT は左右の余白を明示する */
.t26-nav > ul > li > a.t26-pill { padding: 13px 24px; }
.t26-header__cta { display: none; padding: 11px 18px; }
.t26-header__cta .en { font: 800 13px/1 var(--font-en); letter-spacing: .12em; }
.t26-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; z-index: 3; cursor: pointer; }
.t26-burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--navy); border-radius: 2px; transition: .35s var(--ease); }
.t26-burger span:nth-child(1) { top: 17px; }
.t26-burger span:nth-child(2) { top: 26px; }
.t26-header.is-open .t26-burger span:nth-child(1) { top: 21px; transform: rotate(35deg); }
.t26-header.is-open .t26-burger span:nth-child(2) { top: 21px; transform: rotate(-35deg); }

/* ---------- HERO ---------- */
.t26-hero { position: relative; overflow: hidden; padding: 132px 0 120px; background: radial-gradient(900px 520px at 78% 38%, #fff 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #eef3f8 0%, #f2f6fa 48%, #fafcfe 84%, #fff 100%); }
.t26-hero__streaks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.t26-hero__grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 24px; min-height: 480px; }
.t26-hero__en { font: italic 800 clamp(56px, 8vw, 112px)/.98 var(--font-en); letter-spacing: -.035em; color: var(--navy); }
.t26-hero__en span { display: block; }
.t26-hero__swoosh { display: block; width: clamp(220px, 28vw, 340px); margin: 8px 0 0 -6px; overflow: visible; }
.t26-hero__lead { margin-top: 26px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.35; letter-spacing: .06em; }
.t26-hero__sub { margin-top: 10px; font-size: clamp(14px, 1.4vw, 17px); font-weight: 500; letter-spacing: .2em; }

/* ロゴは、列の幅より少し大きく見せる。右へはみ出す量は「画面の右端まで22px」を超えないように、画面幅から計算する */
.t26-stage { --ext: min(18%, calc(max(4vw, (100vw - var(--wrap)) / 2) - 22px)); position: relative; isolation: isolate; width: calc(100% + var(--ext) + 4%); max-width: none; margin-left: -4%; }
/* 背景透明のロゴ。ロゴ本体は固定。足元の影と床への映り込みで、床に立っているように立体的に見せる */
.t26-logo { display: block; position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(11,31,58,.14)); }
/* 足元の影 */
.t26-stage::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 14%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(11,31,58,.34) 0%, rgba(11,31,58,.16) 42%, rgba(11,31,58,0) 72%); filter: blur(7px); }
/* 床への映り込み(上下を反転したロゴが、下へ向かって薄く消えていく) */
.t26-reflect { position: absolute; left: 0; top: 80%; z-index: 0; width: 100%; pointer-events: none; }
.t26-reflect img { display: block; width: 100%; height: auto; transform: scaleY(-1); opacity: .45; filter: blur(1.6px) saturate(.9);
  -webkit-mask-image: linear-gradient(to top, #000 8%, rgba(0,0,0,0) 52%); mask-image: linear-gradient(to top, #000 8%, rgba(0,0,0,0) 52%); }

/* ロゴの周りを一周する光。コース(薄い線)は動かず、光だけがゆっくり回る。
   back はロゴの後ろ(文字の陰に隠れる)、front はロゴの手前(文字の前を通る)。 */
.t26-orbits { position: absolute; left: -8%; top: -45%; width: 116%; height: 190%; overflow: visible; pointer-events: none;
  /* 左の端は、見出しの文字に近づくので、光が自然に薄れて消えるようにする */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 2%, #000 17%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 2%, #000 17%); }
.t26-orbits--back { z-index: 0; }
.t26-orbits--front { z-index: 2; }
.t26-orbits ellipse { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.t26-orbits .base { stroke: rgba(20,33,61,.11); stroke-width: 1; }
.t26-orbits .base--b { stroke: rgba(20,33,61,.07); }
.t26-orbits .seg { stroke-dasharray: var(--l) var(--g); animation: t26-orbit var(--t) linear var(--d) infinite var(--dir); }
.t26-orbits .seg--tail { stroke: #b4ec1c; }
.t26-orbits .seg--glow { stroke: #c8ff3d; filter: url(#t26glow); }
.t26-orbits .seg--core { stroke: #c4fb2c; }
.t26-orbits .seg--soft { stroke: #fff; }
@keyframes t26-orbit { from { stroke-dashoffset: var(--o0); } to { stroke-dashoffset: var(--o1); } }
/* 画面の外にあるときは止めて、負荷を減らす(js が .is-paused を付ける) */
.t26-hero.is-paused .t26-orbits .seg { animation-play-state: paused; }

/* 初回表示のふわっとした登場 */
.t26-hero__copy > *, .t26-stage { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-ready .t26-hero__copy > *, .is-ready .t26-stage { opacity: 1; transform: none; }
.is-ready .t26-hero__copy > :nth-child(2) { transition-delay: .12s; }
.is-ready .t26-hero__copy > :nth-child(3) { transition-delay: .24s; }
.is-ready .t26-hero__copy > :nth-child(4) { transition-delay: .34s; }
.is-ready .t26-stage { transition-delay: .2s; }

/* ---------- 白いシート(HERO の下に重なる) ---------- */
.t26-sheet { position: relative; z-index: 2; margin-top: -56px; background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 24px 0 96px; }
.t26-sec { padding: 72px 0 24px; scroll-margin-top: 80px; }

.t26-eyebrow { display: flex; align-items: center; gap: 12px; font: 800 13px/1 var(--font-en); letter-spacing: .22em; color: var(--navy); }
.t26-eyebrow i { width: 8px; height: 22px; background: var(--lime); transform: skewX(-24deg); border-radius: 2px; }
.t26-h2 { margin-top: 18px; font-size: clamp(26px, 3.3vw, 40px); font-weight: 800; line-height: 1.45; letter-spacing: .05em; }
.t26-vision .t26-text { margin-top: 24px; font-size: 15px; line-height: 2; }
.t26-lead { font-size: 14px; line-height: 1.95; color: var(--muted); max-width: 440px; }
.t26-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }

/* ---------- VISION ---------- */
/* PC: 背景いっぱいの絵 + 左に縦書きの OUR VISION と斜めの線、見出し、文章、枠つきの「経営理念」ボタン */
.t26-vision { position: relative; overflow: hidden; padding: 0; margin-top: -24px; height: clamp(540px, 42.7vw, 820px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(180deg, #fff 0, rgba(255,255,255,0) 16%), linear-gradient(0deg, #fff 0, rgba(255,255,255,0) 12%), radial-gradient(48vw 30vw at 6% 110%, rgba(140,205,135,.16), rgba(140,205,135,0) 70%), linear-gradient(100deg, #fff 0%, #fdfeff 36%, #f1f8fe 62%, #e3f1fb 100%); }
.t26-vision__bg { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 820 / 819; pointer-events: none; }
.t26-vision__bg img { width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, #000 18%), linear-gradient(0deg, rgba(0,0,0,0) 0, #000 14%), linear-gradient(180deg, rgba(0,0,0,0) 0, #000 20%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0, #000 18%), linear-gradient(0deg, rgba(0,0,0,0) 0, #000 14%), linear-gradient(180deg, rgba(0,0,0,0) 0, #000 20%); mask-composite: intersect; }
.t26-vision__tag { position: absolute; left: 7.2vw; top: 18%; writing-mode: vertical-rl; font: 800 clamp(11px, .85vw, 16px)/1 var(--font-en); letter-spacing: .34em; color: var(--navy); }
.t26-vision__slash { position: absolute; left: 13.5vw; top: 14.4%; width: max(2px, .16vw); height: 19vw; background: var(--lime); border-radius: 2px; transform-origin: 50% 0; transform: rotate(20deg); }
.t26-vision__text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 15.1vw; max-width: 66vw; }
.t26-vision .t26-eyebrow.t26-vision__eyebrow { display: none; }
.t26-vision .t26-h2 { margin-top: 0; font-size: clamp(30px, 3.44vw, 66px); line-height: 1.45; letter-spacing: .05em; }
.t26-vision .t26-text { margin-top: 3.1vw; font-size: clamp(13px, 1.04vw, 20px); line-height: 2.15; letter-spacing: .05em; }
.t26-vision .t26-text .sp { display: none; }
.t26-vision__btn { margin-top: 3.1vw; gap: 1.2vw; padding: 7px 7px 7px clamp(20px, 1.8vw, 34px); background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1.5px solid var(--navy); border-radius: 14px; color: var(--navy); font-size: clamp(14px, 1.15vw, 22px); transition: background .3s, box-shadow .3s; }
.t26-vision__btn:hover { background: #fff; box-shadow: 0 14px 28px -16px rgba(11,31,58,.45); }
.t26-vision__btn .arr { width: clamp(38px, 2.9vw, 58px); height: clamp(38px, 2.9vw, 58px); }
.t26-vision__btn .arr::before { left: 28%; right: 30%; }
.t26-vision__btn .arr::after { right: 30%; }
.t26-vision__btn:focus-visible { outline: 3px solid var(--lime-d); outline-offset: 3px; }
.t26-textlink { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; letter-spacing: .1em; }
.t26-textlink .arr { width: 40px; height: 40px; background: var(--lime); border-radius: 50%; color: var(--navy); }
.t26-textlink .arr::before { left: 11px; right: 12px; }
.t26-textlink .arr::after { right: 12px; }
.t26-textlink:hover .arr { transform: translateX(4px); }
.t26-textlink .arr { transition: transform .3s var(--ease); }

/* ---------- BUSINESS ---------- */
.t26-biz__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t26-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.t26-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(11,31,58,.4); }
.t26-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8ecf1; }
.t26-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.t26-card:hover .t26-card__img img { transform: scale(1.06); }
.t26-card__body { position: relative; display: block; padding: 22px 24px 26px; flex: 1; }
.t26-card__title { display: inline-block; position: relative; isolation: isolate; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: .05em; padding-bottom: 10px; }
.t26-card__title::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 74%; height: 7px; background: var(--lime); border-radius: 99px; transform: skewX(-24deg) rotate(-1.5deg); z-index: -1; }
.t26-card__text { display: block; margin-top: 8px; padding-right: 54px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.t26-card__arrow { position: absolute; right: 20px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--navy); transition: transform .35s var(--ease); }
.t26-card__arrow::before { left: 13px; right: 14px; }
.t26-card__arrow::after { right: 14px; }
.t26-card:hover .t26-card__arrow { transform: translateX(4px) scale(1.06); }

/* ---------- WORKS ---------- */
.t26-scroller { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(4vw, calc((100vw - var(--wrap)) / 2)); padding: 8px 0 24px; scrollbar-width: thin; scrollbar-color: rgba(20,33,61,.3) transparent; -webkit-overflow-scrolling: touch; }
.t26-body .t26-scroller__track { display: flex; gap: 20px; padding-inline: max(4vw, calc((100vw - var(--wrap)) / 2)); width: max-content; }
.t26-work { width: min(320px, 74vw); scroll-snap-align: start; }
.t26-work a { display: block; height: 100%; background: var(--card); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.t26-work a:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -28px rgba(11,31,58,.4); }
.t26-work__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8ecf1; }
.t26-work__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.t26-work a:hover .t26-work__thumb img { transform: scale(1.06); }
.t26-work__body { display: block; padding: 18px 20px 22px; }
.t26-work__logo { height: 28px; width: auto; display: block; margin-bottom: 10px; }
.t26-work__name { display: block; font-size: 18px; font-weight: 800; line-height: 1.5; }
.t26-work__text { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.t26-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.t26-chips em, .t26-post__meta em { font: 700 11px/1 var(--font-jp); letter-spacing: .08em; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 99px; }

.t26-more { margin-top: 36px; display: flex; justify-content: center; }
.t26-btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border-radius: 999px; background: var(--lime); color: var(--navy); font-weight: 800; text-decoration: none; letter-spacing: .1em; transition: transform .3s var(--ease), background .3s; }
.t26-btn:hover { background: var(--lime-d); transform: translateY(-3px); }
.t26-btn .arr { transition: transform .3s var(--ease); }
.t26-btn:hover .arr { transform: translateX(4px); }
.t26-btn--lg { padding: 20px 36px; font-size: 17px; }

/* ---------- NEWS ---------- */
.t26-news__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t26-post { display: block; text-decoration: none; }
.t26-post__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: #e8ecf1; }
.t26-post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.t26-post:hover .t26-post__thumb img { transform: scale(1.06); }
.t26-post__meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.t26-post__meta time { font: 700 13px/1 var(--font-en); letter-spacing: .1em; color: var(--muted); }
.t26-post__title { display: block; margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.7; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 6px no-repeat; transition: background-size .5s var(--ease); }
.t26-post:hover .t26-post__title { background-size: 100% 6px; }

/* ---------- OFFICE ---------- */
.t26-map { border-radius: var(--r-lg); overflow: hidden; background: #e8ecf1; line-height: 0; }
.t26-map iframe { width: 100%; display: block; }

/* ---------- CTA ---------- */
.t26-cta { position: relative; z-index: 2; margin-top: -48px; padding: 88px 0 120px; border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; background: radial-gradient(700px 360px at 85% 100%, rgba(200,255,61,.28), rgba(200,255,61,0) 70%), linear-gradient(180deg, #cde5f6 0%, #e6f2fa 60%, #f1f8ee 100%); }
.t26-cta__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: stretch; }
.t26-cta .t26-text { margin-top: 18px; }
.t26-cta .t26-btn { margin-top: 30px; }
.t26-cta__recruit { background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--r-lg); padding: 30px 30px 32px; align-self: end; }
.t26-cta__recruit h3 { margin-top: 14px; font-size: 22px; font-weight: 800; }
.t26-cta__recruit p:not(.t26-eyebrow) { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.t26-soon { display: inline-block; margin-top: 16px; padding: 8px 16px; border-radius: 99px; border: 1px dashed rgba(20,33,61,.4); font: 700 12px/1 var(--font-en); letter-spacing: .18em; color: var(--muted); }

/* ---------- フッター(共通 footer.php を、トップだけ新デザインに) ---------- */
.t26-body footer { position: relative; z-index: 3; margin-top: -40px; background: var(--navy); color: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 72px 0 32px; }
.t26-body footer .footer__inner { width: min(var(--wrap), 100% - 8vw); margin-inline: auto; display: grid; gap: 40px; }
.t26-body footer .logo img { width: 132px; height: auto; display: block; }
.t26-body footer .f-nav { display: flex; flex-wrap: wrap; gap: 56px; }
.t26-body footer .f-nav__inner { display: grid; gap: 14px; align-content: start; font-weight: 700; font-size: 14px; }
.t26-body footer .f-nav__inner.sub:empty { display: none; }
.t26-body footer .list { line-height: 1.6; }
.t26-body footer .char { margin-top: 8px; font-weight: 500; font-size: 13px; opacity: .8; }
.t26-body footer a { text-decoration: none; color: inherit; transition: color .25s; }
.t26-body footer a:hover { color: var(--lime); }
.t26-body footer .cp { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; opacity: .8; }

/* ---------- スクロール表示(.t26-reveal) ---------- */
.t26-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.t26-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   スマホ・タブレット
   ========================================================================== */
@media (max-width: 960px) {
  .t26-biz__list, .t26-news__list { grid-template-columns: repeat(2, 1fr); }
  .t26-cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .t26-body .sp { display: inline; }
  .t26-body .pc { display: none; }
  .t26-header__bar { height: 64px; }
  .t26-header.is-scrolled .t26-header__bar { height: 58px; }
  .t26-brand img { height: 28px; }
  .t26-header__cta { display: inline-flex; margin-left: auto; margin-right: 6px; position: relative; z-index: 3; }
  .t26-burger { display: block; }

  /* ドロワーメニュー */
  .t26-nav { position: fixed; inset: 0; z-index: 2; background: #fff; padding: 92px 7vw 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .4s var(--ease); }
  .t26-header.is-open .t26-nav { opacity: 1; visibility: visible; transform: none; }
  .t26-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .t26-nav > ul > li { border-bottom: 1px solid var(--line); position: relative; }
  .t26-nav > ul > li > a { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; }
  .t26-nav > ul > li > a::after { display: none; }
  .t26-nav .en { font-size: 20px; letter-spacing: .12em; }
  .t26-nav .ja { display: block; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .1em; }
  .t26-nav__cta-li { display: none; }
  .t26-sub-toggle { display: block; position: absolute; right: 0; top: 10px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
  .t26-sub-toggle i { position: absolute; left: 15px; top: 14px; width: 12px; height: 12px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .3s; }
  .has-sub.is-open .t26-sub-toggle i { transform: rotate(-135deg); top: 19px; }
  .t26-sub { position: static; min-width: 0; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; display: none; }
  .has-sub:hover > .t26-sub { transform: none; }
  .has-sub.is-open > .t26-sub { display: block; }
  .t26-sub a { padding: 11px 6px; font-size: 14px; }

  /* スマホ版デザインに合わせたヒーロー: 文字は左上に小さめ、ロゴは画面幅の約65%でやや右寄り、
     ロゴの上端は文字のすぐ下に少し食い込み、足元の映り込みが白い面へつながる */
  .t26-hero { padding: 68px 0 74px; }
  .t26-hero__grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .t26-hero__en { font-size: clamp(31px, 8.8vw, 56px); }
  .t26-hero__swoosh { width: clamp(92px, 26vw, 160px); margin: 5px 0 0 -4px; }
  .t26-hero__lead { margin-top: 9px; font-size: clamp(15px, 4.2vw, 26px); }
  .t26-hero__sub { margin-top: 4px; font-size: clamp(11px, 2.9vw, 15px); letter-spacing: .14em; }
  .t26-stage { width: min(65vw, 460px); max-width: none; margin: -14px 6vw 0 auto; }
  .t26-sheet { margin-top: -44px; padding-bottom: 72px; border-radius: 32px 32px 0 0; }
  .t26-sec { padding: 52px 0 12px; }
  .t26-sechead { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  /* OUR VISION(スマホ): 左に文字、右に東京の街並みの絵(PCと同じく、絵は右側) */
  .t26-vision { height: auto; display: block; padding: 38px 0 34px; margin-top: -20px; }
  .t26-vision__tag, .t26-vision__slash { display: none; }
  .t26-vision .t26-eyebrow.t26-vision__eyebrow { display: flex; }
  .t26-vision__text { height: auto; display: block; padding: 0 0 0 4vw; max-width: 72vw; }
  .t26-vision .t26-h2 { margin-top: 14px; font-size: clamp(18px, 5vw, 30px); }
  .t26-vision .t26-text { margin-top: 16px; font-size: clamp(11.5px, 3.1vw, 15px); line-height: 1.95; letter-spacing: .02em; }
  .t26-vision .t26-text .sp { display: inline; }
  .t26-vision__btn { margin-top: 20px; gap: 12px; padding: 5px 5px 5px 20px; font-size: 14px; border-radius: 12px; }
  .t26-vision__btn .arr { width: 38px; height: 38px; }
  .t26-vision__bg { top: 0; right: -4vw; width: 58vw; height: 100%; aspect-ratio: auto; }
  .t26-vision__bg img { object-position: 70% 55%; }
  .t26-biz__list { grid-template-columns: 1fr; gap: 14px; }
  .t26-card { flex-direction: row; align-items: stretch; }
  .t26-card__img { width: 38%; aspect-ratio: auto; flex: none; }
  .t26-card__body { padding: 16px 16px 18px; }
  .t26-card__title { font-size: 18px; }
  .t26-card__text { padding-right: 46px; font-size: 12.5px; line-height: 1.75; }
  .t26-card__arrow { width: 38px; height: 38px; right: 14px; bottom: 14px; }
  .t26-card__arrow::before { left: 10px; right: 11px; }
  .t26-card__arrow::after { right: 11px; }
  .t26-news__list { grid-template-columns: 1fr; gap: 24px; }
  .t26-cta { padding: 64px 0 96px; border-radius: 32px 32px 0 0; }
  .t26-body footer { border-radius: 32px 32px 0 0; padding-top: 56px; }
  .t26-body footer .f-nav { gap: 32px; }
}

@media (max-width: 520px) {
  .t26-card__img { width: 34%; }
}


/* ---------- 実績(バナーだけの横スワイプ)。サービスページ・実績一覧と同じ作り(sub2026.css と同じ見た目) ---------- */
.t26-works-gal { --gal-pad: max(4vw, calc((100vw - var(--wrap)) / 2)); }
.t26-works-gal ul { list-style: none; margin: 0; padding: 0; }
.t26-works-gal .s26-gal__track { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; padding: 12px var(--gal-pad) 26px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gal-pad); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab; }
.t26-works-gal .s26-gal__track::-webkit-scrollbar { display: none; }
.t26-works-gal .s26-gal__track:focus-visible { outline: 3px solid var(--lime-d); outline-offset: -3px; border-radius: 16px; }
.t26-works-gal .s26-gal__track.is-drag { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; }
.t26-works-gal .s26-gal__track.is-drag .s26-gal__item { pointer-events: none; }
.t26-works-gal .s26-gal__item { flex: 0 0 min(360px, 78vw); aspect-ratio: 16 / 10; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #e8ecf1; scroll-snap-align: start; box-shadow: 0 16px 30px -22px rgba(11,31,58,.5); }
.t26-works-gal .s26-gal__item { position: relative; }
.t26-works-gal .s26-gal__main { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.t26-works-gal .s26-gal__item img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform .8s var(--ease); }
.t26-works-gal .s26-gal__item:hover img { transform: scale(1.05); }
.t26-works-gal .s26-gal__main:focus-visible { outline: 3px solid var(--lime-d); outline-offset: -3px; border-radius: inherit; }
/* 実績バナーの右下の、外部リンク(YouTube / TikTok / Instagram / X / lit.link / サイト)。バナーそのものを押すと、実績のページへ。 */
.s26-gal__links { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; }
.s26-gal__ext { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .96); box-shadow: 0 4px 10px -3px rgba(11, 31, 58, .5); transition: transform .25s, box-shadow .25s; }
.s26-gal__ext:hover { transform: translateY(-2px) scale(1.08); box-shadow: 0 8px 14px -4px rgba(11, 31, 58, .5); }
.s26-gal__ext:focus-visible { outline: 3px solid #c8ff3d; outline-offset: 2px; }
.s26-gal__ext svg, .s26-gal__ext img { display: block; }
@media (min-width: 861px) { .s26-gal__ext { width: 42px; height: 42px; } .s26-gal__links { right: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .s26-gal__ext { transition: none; } }
.s26-gal__noimg { display: grid; place-items: center; width: 100%; height: 100%; padding: 1em; font-weight: 800; line-height: 1.4; color: var(--ink); text-align: center; }
.t26-works-gal .s26-gal__ctrl { display: flex; align-items: center; gap: 18px; margin: 2px var(--gal-pad) 0; }
.t26-works-gal .s26-gal__ctrl[hidden] { display: none; }
.t26-works-gal .s26-gal__bar { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(20,33,61,.12); overflow: hidden; }
.t26-works-gal .s26-gal__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 2px; background: var(--lime); transition: left .25s var(--ease), width .25s; }
.t26-works-gal .s26-gal__btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--navy); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background .25s, opacity .25s; }
.t26-works-gal .s26-gal__btn svg { width: 38%; height: 38%; }
.t26-works-gal .s26-gal__btn:hover:not(:disabled) { background: var(--lime); }
.t26-works-gal .s26-gal__btn:focus-visible { outline: 3px solid var(--lime-d); outline-offset: 3px; }
.t26-works-gal .s26-gal__btn:disabled { opacity: .32; cursor: default; }
@media (max-width: 860px) { .t26-works-gal .s26-gal__track { gap: 14px; } .t26-works-gal .s26-gal__btn { width: 42px; height: 42px; } }

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* 動きを減らす設定の人には、光を止めて、見えやすい位置に置く */
  .t26-orbits .seg { animation: none !important; stroke-dashoffset: var(--os); }
  .t26-reveal, .t26-hero__copy > *, .t26-stage { opacity: 1 !important; transform: none !important; transition: none !important; }
  .t26-card, .t26-work a, .t26-btn, .t26-pill, .t26-card__img img, .t26-work__thumb img, .t26-post__thumb img { transition: none !important; }
  .t26-works-gal .s26-gal__item img, .t26-works-gal .s26-gal__bar i, .t26-works-gal .s26-gal__btn { transition: none !important; }
}
