@charset "utf-8";
/* ===== トップページ ===== */

/* hero */
.b-hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--hd-h) + 20px) clamp(18px, 3vw, 44px) 0; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px); gap: clamp(20px, 4vw, 60px); overflow: hidden; }
.b-hero h1 { writing-mode: vertical-rl; font-family: var(--font-min); font-weight: 700; font-size: clamp(1.8rem, min(4.8vw, 6.6vh), 4.6rem); line-height: 1.5; letter-spacing: .14em; padding-top: 3vh; white-space: nowrap; }
.b-hero h1 em { font-style: normal; color: var(--accent); }
.b-hero__visual { position: relative; height: calc(100svh - var(--hd-h) - 60px); min-height: 440px; border-radius: 4px; overflow: hidden; background: #ddd8cf; }
.b-hero__visual [data-slides] { position: absolute; inset: 0; }
.b-hero__side { display: flex; flex-direction: column; justify-content: space-between; padding: 3vh 0 60px; }
.b-hero__lead { font-size: .92rem; line-height: 2.2; }
.b-hero__since { font-family: var(--font-en); font-size: .74rem; letter-spacing: .26em; color: var(--muted); }
.b-hero__since b { display: block; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: var(--text); letter-spacing: 0; }
.b-hero__reel { width: min(190px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; }
.b-hero__reel video { width: 100%; height: 100%; object-fit: cover; }
.b-hero__ticker { position: absolute; left: 0; right: 0; bottom: -2.2vw; font-family: var(--font-en); font-weight: 700; font-size: clamp(4rem, 13vw, 13rem); line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(11, 13, 16, .28); pointer-events: none; mix-blend-mode: multiply; }
.b-hero__ticker span { padding-right: .6em; }
@media (max-width: 900px) {
  .b-hero { grid-template-columns: 1fr; gap: 22px; padding-bottom: 90px; }
  .b-hero h1 { writing-mode: horizontal-tb; white-space: normal; padding-top: 10px; font-size: clamp(1.5rem, 7.6vw, 3.2rem); letter-spacing: .06em; }
  .b-hero__visual { height: 58vh; min-height: 340px; }
  .b-hero__side { padding: 0; gap: 24px; flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .b-hero__reel { width: 120px; }
  .b-hero__lead { flex: 1 1 100%; }
}

/* about */
.b-about { padding: clamp(90px, 13vw, 190px) 0; }
.b-about__grid { display: grid; grid-template-columns: 90px 1fr; gap: clamp(20px, 5vw, 80px); }
.b-label { writing-mode: vertical-rl; font-size: .82rem; letter-spacing: .4em; color: var(--muted); position: sticky; top: 110px; align-self: start; display: flex; align-items: center; gap: 14px; }
.b-label::before { content: ""; width: 1px; height: 60px; background: var(--accent); }
.b-about__copy { font-family: var(--font-min); font-weight: 700; font-size: clamp(1.5rem, 3.8vw, 3.2rem); line-height: 1.8; letter-spacing: .06em; }
.b-about__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); margin-top: clamp(40px, 6vw, 80px); }
.b-about__body p { color: #4a4f57; }
.b-about .stats { margin-top: clamp(50px, 7vw, 100px); }
@media (max-width: 760px) { .b-about__grid { grid-template-columns: 1fr; } .b-label { writing-mode: horizontal-tb; position: static; } .b-label::before { width: 40px; height: 1px; } .b-about__body { grid-template-columns: 1fr; } }

/* business zigzag */
.b-biz { padding-bottom: clamp(80px, 11vw, 160px); }
.b-item { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.5vw, 36px); align-items: center; }
.b-item + .b-item { margin-top: clamp(70px, 11vw, 170px); }
.b-item figure { grid-column: 1 / span 7; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #ddd8cf; }
.b-item figure img { width: 100%; height: 100%; object-fit: cover; }
.b-item__txt { grid-column: 9 / span 4; }
.b-item:nth-of-type(even) figure { grid-column: 6 / span 7; order: 2; aspect-ratio: 5 / 4; }
.b-item:nth-of-type(even) .b-item__txt { grid-column: 1 / span 4; }
.b-item__num { font-family: var(--font-en); font-size: clamp(4rem, 9vw, 8rem); line-height: .9; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.b-item h3 { font-family: var(--font-min); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; margin: 8px 0 14px; line-height: 1.5; }
.b-item p { color: #4a4f57; margin-bottom: 22px; }
@media (max-width: 820px) { .b-item figure, .b-item__txt, .b-item:nth-of-type(even) figure, .b-item:nth-of-type(even) .b-item__txt { grid-column: 1 / -1; order: 0; } }

/* mosaic */
.b-mosaic { background: #fff; padding: clamp(80px, 11vw, 160px) 0; }
.b-mosaic__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 8.4vw, 130px); gap: clamp(10px, 1.4vw, 20px); }
.b-mosaic__grid a { position: relative; overflow: hidden; border-radius: 4px; display: block; background: #ddd8cf; }
.b-mosaic__grid a:nth-child(1) { grid-column: span 5; grid-row: span 4; }
.b-mosaic__grid a:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.b-mosaic__grid a:nth-child(3) { grid-column: span 3; grid-row: span 3; }
.b-mosaic__grid a:nth-child(4) { grid-column: span 4; grid-row: span 3; }
.b-mosaic__grid a:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.b-mosaic__grid a:nth-child(6) { grid-column: span 5; grid-row: span 2; }
.b-mosaic__grid a:nth-child(7) { grid-column: span 7; grid-row: span 2; }
.b-mosaic__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-mosaic__grid a:hover img { transform: scale(1.08); }
.b-mosaic__grid span { position: absolute; left: 0; bottom: 0; background: #fff; padding: 6px 14px 4px; font-size: .78rem; font-weight: 700; border-top-right-radius: 4px; transform: translateY(101%); transition: transform .5s var(--ease); }
.b-mosaic__grid a:hover span { transform: none; }
@media (max-width: 760px) { .b-mosaic__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; } .b-mosaic__grid a:nth-child(n) { grid-column: span 1; grid-row: span 1; } .b-mosaic__grid a:nth-child(1), .b-mosaic__grid a:nth-child(7) { grid-column: span 2; } .b-mosaic__grid span { transform: none; } }

/* video band */
.b-reel { position: relative; height: 86vh; min-height: 460px; overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.b-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-reel::after { content: ""; position: absolute; inset: 0; background: rgba(11, 13, 16, .5); }
.b-reel__in { position: relative; z-index: 1; padding: 0 20px; }
.b-reel h2 { font-family: var(--font-min); font-size: clamp(1.8rem, 5.4vw, 4.4rem); line-height: 1.6; font-weight: 700; margin-bottom: 30px; }

/* recruit */
.b-rec { padding: clamp(90px, 13vw, 190px) 0; }
.b-rec__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 7vw, 110px); align-items: center; }
.b-rec__pics { position: relative; aspect-ratio: 1 / 1.05; }
.b-rec__pics figure { position: absolute; overflow: hidden; border-radius: 4px; background: #ddd8cf; }
.b-rec__pics figure img { width: 100%; height: 100%; object-fit: cover; }
.b-rec__pics figure:nth-child(1) { inset: 0 22% 22% 0; }
.b-rec__pics figure:nth-child(2) { inset: 46% 0 0 46%; border: 8px solid var(--paper); }
.b-rec__en { font-family: var(--font-en); letter-spacing: .28em; font-size: .78rem; color: var(--accent); }
.b-rec h2 { font-family: var(--font-min); font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.6; font-weight: 700; margin: 12px 0 22px; }
.b-rec p { color: #4a4f57; }
.b-rec__list { margin-top: 34px; border-top: 1px solid var(--line); }
.b-rec__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; transition: padding .4s var(--ease), color .3s; }
.b-rec__list a small { font-family: var(--font-en); letter-spacing: .2em; color: var(--muted); font-weight: 500; font-size: .72rem; margin-right: auto; }
.b-rec__list a::after { content: "→"; }
.b-rec__list a:hover { padding-left: 18px; color: var(--accent); }
@media (max-width: 820px) { .b-rec__grid { grid-template-columns: 1fr; } }

/* news */
.b-news { background: #fff; padding: clamp(70px, 9vw, 130px) 0; }
.b-news__grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.b-news li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.b-news li:first-child { border-top: 1px solid var(--line); }
.b-news time { font-family: var(--font-en); letter-spacing: .12em; color: var(--accent); }
@media (max-width: 760px) { .b-news__grid { grid-template-columns: 1fr; } .b-news li { grid-template-columns: 1fr; gap: 0; } }

/* ===== 重なるカード（事業紹介） ===== */
.b-stack { padding-bottom: clamp(60px, 8vw, 120px); }
.s-card { position: sticky; top: calc(84px + var(--n) * 22px); display: grid; grid-template-columns: 1fr 1fr; min-height: min(68vh, 560px); border-radius: 10px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 -14px 40px rgba(11, 13, 16, .16); }
.s-card:nth-of-type(1) { background: #fff; }
.s-card:nth-of-type(2) { background: var(--ink-2); color: #fff; }
.s-card:nth-of-type(3) { background: var(--accent); color: #fff; }
.s-card__txt { padding: clamp(28px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.s-card__num { font-family: var(--font-en); font-weight: 700; font-size: clamp(3.4rem, 8vw, 7rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px currentColor; }
.s-card:nth-of-type(1) .s-card__num { -webkit-text-stroke-color: var(--accent); }
.s-card:nth-of-type(n+2) .s-card__num { -webkit-text-stroke-color: #fff; }
.s-card h3 { font-family: var(--font-min); font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.5; margin: 8px 0 14px; }
.s-card p { margin-bottom: 26px; opacity: .85; max-width: 28em; }
.s-card figure { position: relative; min-height: 240px; overflow: hidden; }
.s-card figure img, .s-card figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.s-card:hover figure img, .s-card:hover figure video { transform: scale(1.06); }
@media (max-width: 820px) { .s-card { grid-template-columns: 1fr; top: calc(70px + var(--n) * 14px); } .s-card figure { order: -1; min-height: 200px; } }

/* ===== ホバーで開く写真の帯（製作実績） ===== */
.b-works { padding: clamp(80px, 11vw, 150px) 0; background: var(--ink); color: #fff; }
.s-strips { display: flex; gap: 10px; height: min(70vh, 600px); padding: 0 clamp(18px, 3vw, 44px); }
.s-strip { position: relative; flex: 1; min-width: 0; border-radius: 6px; overflow: hidden; transition: flex .9s var(--ease); display: block; }
.s-strip img, .s-strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) brightness(.65); transition: filter .7s, transform 1.4s var(--ease); }
.s-strip::after { content: ""; position: absolute; inset: 50% 0 0 0; background: linear-gradient(180deg, transparent, rgba(11, 13, 16, .85)); pointer-events: none; }
.s-strip > span { z-index: 1; }
.s-strip__v { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); writing-mode: vertical-rl; font-family: var(--font-min); font-weight: 700; font-size: 1.1rem; letter-spacing: .24em; white-space: nowrap; transition: opacity .4s; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.s-strip__h { position: absolute; left: 24px; right: 24px; bottom: 22px; opacity: 0; transform: translateY(16px); transition: opacity .5s .15s, transform .6s var(--ease) .15s; white-space: nowrap; }
.s-strip__h small { font-family: var(--font-en); letter-spacing: .22em; font-size: .72rem; color: #ff8a70; }
.s-strip__h strong { display: block; font-family: var(--font-min); font-size: 1.6rem; font-weight: 700; }
.s-strip:hover, .s-strip:focus-visible { flex: 4.5; }
.s-strip:hover img, .s-strip:hover video, .s-strip:focus-visible img { filter: none; transform: scale(1.04); }
.s-strip:hover .s-strip__v, .s-strip:focus-visible .s-strip__v { opacity: 0; }
.s-strip:hover .s-strip__h, .s-strip:focus-visible .s-strip__h { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .s-strips { overflow-x: auto; scroll-snap-type: x mandatory; height: 62vh; padding-bottom: 12px; }
  .s-strip { flex: none; width: 74vw; scroll-snap-align: center; }
  .s-strip img, .s-strip video { filter: none; }
  .s-strip__v { display: none; } .s-strip__h { opacity: 1; transform: none; }
}

/* ===== 流れるピクトグラム（理念） ===== */
.b-vision { padding: clamp(80px, 11vw, 150px) 0; background: #fff; overflow: hidden; }
.s-icons { margin: 10px 0 clamp(30px, 5vw, 56px); }
.s-icons + .s-icons { margin-top: calc(clamp(30px, 5vw, 56px) * -1 + 18px); }
.s-icons + .s-icons .marquee__track { animation-direction: reverse; }
.s-icon { width: 150px; margin: 0 9px; background: var(--paper); border-radius: 8px; padding: 20px 14px 16px; text-align: center; font-weight: 700; font-size: .9rem; }
.s-icon img { height: 74px; width: auto; margin: 0 auto 10px; object-fit: contain; mix-blend-mode: multiply; }
/* ===== オープニング（ロゴ動画） ===== */
.opening { position: fixed; inset: 0; z-index: 300; background: #f3efe8; display: grid; place-items: center; transition: opacity .8s ease, visibility 0s .8s; }
.opening.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.opening video { width: 100%; height: 100%; object-fit: contain; }
.opening__skip { position: absolute; right: 22px; bottom: 20px; font-family: var(--font-en); font-size: .72rem; letter-spacing: .3em; color: #6b7280; padding: 10px 14px; }
html.is-opening { overflow: hidden; }