/* 案B「勢いのあるマーケター」— 極太の文字・速いテンポ。色は theme.css（B＝白×青／B2＝青×水色） */
:root {
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --latin: "Anton", "Impact", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4.5vw, 64px);
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--gothic); font-size: 15px; line-height: 1.95; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- ヘッダー ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
/* すりガラスは疑似要素に置く（.head 自体に backdrop-filter を付けると、中の position:fixed のメニューが
   画面全体ではなくヘッダーの中に閉じ込められ、スマホでメニューが崩れる） */
.head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--head-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.head-logo img { width: 200px; }
.head-nav { display: flex; gap: 32px; font-family: var(--latin); font-size: 15px; letter-spacing: .08em; }
.head-nav a { display: inline-block; overflow: hidden; height: 1.5em; line-height: 1.5; }
.head-nav a:hover { color: var(--accent); }
.menu-btn { display: none; }

/* ---------- 最初の画面 ---------- */
.hero { padding: 120px var(--gutter) 0; }
.hero-catch {
  font-weight: 900; font-size: clamp(40px, 8.4vw, 136px); line-height: 1.12; letter-spacing: -.02em;
}
.hero-catch .ln { display: block; }
.hero-catch .ln > span { display: inline-block; }
.hero-catch em { font-style: normal; color: var(--accent2); }
.hero-photo {
  margin-top: clamp(28px, 4vw, 56px); height: min(72vh, 680px); overflow: hidden; border-radius: 20px;
  transform-origin: 50% 0;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 横に流れる文字（止めるボタン付き） ---------- */
.marquee { position: relative; padding: 44px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; width: max-content; font-family: var(--latin); font-size: clamp(40px, 7vw, 104px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-track span { padding-right: .6em; white-space: nowrap; }
.marquee-track span:nth-child(odd) { color: var(--accent2); -webkit-text-stroke: 0; }
.marquee-pause {
  position: absolute; right: var(--gutter); bottom: 8px; border: 1px solid var(--line); background: var(--bg);
  color: var(--muted); font: 11px var(--gothic); letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; cursor: pointer;
}
.marquee-pause:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 共通 ---------- */
.big-label { font-family: var(--latin); font-weight: 400; font-size: clamp(56px, 10vw, 160px); line-height: .9; letter-spacing: .01em; }
.pill {
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 12px 0 28px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; letter-spacing: .06em;
  transition: transform .5s var(--ease);
}
.pill i { width: 36px; height: 36px; border-radius: 50%; background: var(--on-accent); color: var(--accent); display: grid; place-items: center; font-style: normal; transition: transform .5s var(--ease); }
.pill:hover { transform: scale(1.04); }
.pill:hover i { transform: rotate(-45deg); }
.pill.is-dark { background: var(--recruit-ink); color: var(--recruit-bg); }
.pill.is-dark i { background: var(--recruit-bg); color: var(--recruit-ink); }

/* ---------- お知らせ ---------- */
.news { padding: 120px var(--gutter); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { position: relative; display: grid; grid-template-columns: 120px 1fr 32px; gap: 20px; align-items: center; padding: 22px 0; isolation: isolate; transition: color .4s var(--ease); }
.news-list a::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.news-list a:hover { color: var(--on-accent); }
.news-list a:hover::before { transform: scaleY(1); }
.news-list time { font-family: var(--latin); font-size: 17px; letter-spacing: .04em; }
.news-list i { font-style: normal; font-size: 20px; transition: transform .4s var(--ease); }
.news-list a:hover i { transform: translateX(6px); }

/* ---------- ミッション ---------- */
.mission { padding: 40px var(--gutter) 160px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.mission-ttl { word-break: auto-phrase; font-weight: 900; font-size: clamp(36px, 5.2vw, 84px); line-height: 1.18; letter-spacing: -.02em; position: sticky; top: 120px; }
.mission-body p { margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.mission-body .pill { margin-bottom: 64px; }

/* ---------- 写真の上の大きな言葉（スクロールで横に動く） ---------- */
.statement { background: var(--stmt-bg); color: var(--stmt-ink); position: relative; min-height: 110vh; padding: 18vh var(--gutter) 14vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.statement-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--stmt-img-op); }
.statement-ttl { position: relative; font-weight: 900; font-size: clamp(36px, 7.4vw, 124px); line-height: 1.14; letter-spacing: -.02em; }
.statement-ttl span { display: block; white-space: nowrap; }
.statement-ttl span:last-child { color: var(--stmt-em); }
.statement-text { position: relative; max-width: 560px; margin: 48px 0 0 auto; font-size: 16px; }
.statement.is-rev .statement-text { margin-left: 0; }

/* ---------- 事業（パソコンは縦スクロールで横に流れる・スマホは指で横に送る） ---------- */
.biz { position: relative; height: 340vh; }
.biz-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 72px 0 40px; }
.biz-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); margin-bottom: 40px; }
.biz-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 28px; width: max-content; will-change: transform; }
.biz-track li { width: min(34vw, 520px); }
.biz-track a { display: block; position: relative; }
.biz-track b { position: absolute; top: -.55em; left: 16px; z-index: 2; font-family: var(--latin); font-weight: 400; font-size: 72px; line-height: 1; color: var(--accent); }
.biz-track figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--bg2); }
.biz-track img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform .8s var(--ease), filter .8s var(--ease); }
.biz-track a:hover img { transform: scale(1.06); filter: none; }
.biz-track h3 { margin-top: 18px; font-size: clamp(18px, 1.7vw, 26px); font-weight: 900; }

/* ---------- 採用（鮮色の面） ---------- */
.recruit { background: var(--recruit-bg); color: var(--recruit-ink); padding: 120px var(--gutter); }
.recruit-call { margin: 0 0 64px; font-weight: 900; font-size: clamp(30px, 6.6vw, 112px); word-break: auto-phrase; text-wrap: balance; line-height: 1.1; letter-spacing: -.03em; }
.recruit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.recruit-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; }
.recruit-photo img { width: 100%; height: 100%; object-fit: cover; }
.recruit-ttl { font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; line-height: 1.45; margin-bottom: 24px; word-break: auto-phrase; }
.recruit p:not(.recruit-call) { margin: 0 0 36px; font-size: 16px; }

/* ---------- 4つの入口（大きな文字の一覧・触れると写真が出る） ---------- */
.links { padding: 80px var(--gutter) 120px; }
.links a { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.links h3 { font-family: var(--latin); font-weight: 400; font-size: clamp(48px, 8vw, 128px); line-height: 1; transition: transform .5s var(--ease), color .3s; }
.links p { margin: 0; color: var(--muted); text-align: right; }
.links img { position: absolute; right: 22%; top: 50%; width: 280px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; pointer-events: none; opacity: 0; transform: translateY(-50%) scale(.8) rotate(-4deg); transition: opacity .4s var(--ease), transform .5s var(--ease); z-index: 2; }
.links a:hover h3 { color: var(--accent); transform: translateX(16px); }
.links a:hover img { opacity: 1; transform: translateY(-50%) scale(1) rotate(-4deg); }

/* ---------- フッター ---------- */
.foot { padding: 72px var(--gutter) 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.foot-logo { width: 220px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--latin); font-size: 16px; letter-spacing: .06em; color: var(--ink); }
.foot-nav a:hover { color: var(--accent); }
.foot address { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 20px; }
.copy { margin: 0; font-size: 11px; }

/* ---------- マウスに付いてくる丸（パソコンだけ） ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; mix-blend-mode: var(--cursor-blend); }
  .cursor::after {
    content: ""; display: block; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
    background: var(--accent); transform: scale(.22); transition: transform .35s var(--ease);
  }
  .cursor.is-big::after { transform: scale(1); }
}

/* ---------- デザイン案の切り替え（確認用） ---------- */
.switch {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--switch-bg); color: var(--switch-fg); font-size: 12px; white-space: nowrap;
}
.switch span { margin-right: 6px; }
.switch a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.switch a[aria-current] { background: var(--switch-fg); color: var(--switch-bg); }

/* ---------- 動き ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .rv.is-in { opacity: 1; transform: none; }
  /* 最初の見出しは透明にしない。下から勢いよく持ち上がるだけ */
  .js .hero-catch .ln > span { transform: translateY(45%) skewY(4deg); transition: transform 1.1s var(--ease); }
  .js .hero-catch .ln:nth-child(2) > span { transition-delay: .08s; }
  .js .hero-catch .ln:nth-child(3) > span { transition-delay: .16s; }
  .js .hero-catch.is-in .ln > span { transform: none; }
  .marquee-track { animation: flow 32s linear infinite; }
  .marquee.is-paused .marquee-track { animation-play-state: paused; }
  @keyframes flow { to { transform: translateX(-50%); } }
  .head-nav a:hover { animation: flip .5s var(--ease); }
  @keyframes flip { 0% { transform: translateY(0); } 49% { transform: translateY(-100%); } 50% { transform: translateY(100%); } 100% { transform: translateY(0); } }

  @supports (animation-timeline: view()) {
    /* 写真は小さめから画面いっぱいへ広がる（透明にはしない） */
    .hero-photo { animation: grow linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
    @keyframes grow { from { transform: scale(.9); } to { transform: scale(1); } }
    /* 大きな言葉はスクロールに合わせて横へ */
    .statement-ttl span:first-child { animation: slideL linear both; animation-timeline: view(); animation-range: cover; }
    .statement-ttl span:last-child { animation: slideR linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes slideL { from { transform: translateX(12%); } to { transform: translateX(-12%); } }
    @keyframes slideR { from { transform: translateX(-8%); } to { transform: translateX(14%); } }
    .statement-bg { animation: zoom linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { flex-wrap: wrap; }
  .marquee-track span:nth-child(n+2) { display: none; }
  .marquee-pause { display: none; }
  .biz { height: auto; }
  .biz-sticky { position: static; height: auto; }
  .biz-track { width: auto; overflow-x: auto; }
  .biz-track li { flex: 0 0 min(34vw, 520px); }
}

/* ---------- スマホ ---------- */
@media (max-width: 899px) {
  body { font-size: 14px; }
  .head { height: 60px; }
  .head-logo img { width: 170px; }
  .menu-btn { display: block; position: relative; z-index: 2; border: 1px solid var(--ink); background: none; color: var(--ink); font: 13px var(--latin); letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
  .menu-btn[aria-expanded="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
  .head-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 0 24px;
    background: var(--bg); font-size: 56px; visibility: hidden; transform: translateX(100%); transition: transform .5s var(--ease), visibility .5s;
  }
  .head-nav a { height: auto; line-height: 1.2; }
  .head-nav.is-open { visibility: visible; transform: none; }
  .head-logo { position: relative; z-index: 2; }
  body.menu-open { overflow: hidden; }
  .hero { padding-top: 96px; }
  .hero-catch { font-size: clamp(30px, 9.2vw, 60px); }
  .hero-photo { height: 46vh; border-radius: 14px; }
  .marquee { padding: 28px 0 40px; }
  .news { grid-template-columns: 1fr; padding: 80px var(--gutter); gap: 24px; }
  .news-list a { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .news-list time { grid-column: 1 / -1; }
  .mission { grid-template-columns: 1fr; padding-bottom: 96px; gap: 32px; }
  .mission-ttl { position: static; }
  .statement { min-height: 0; padding: 120px var(--gutter); }
  .statement-ttl { font-size: clamp(22px, 6.6vw, 44px); }
  .biz { height: auto; }
  .biz-sticky { position: static; height: auto; padding: 96px 0; }
  .biz-head { flex-direction: column; align-items: start; }
  .biz-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 36px; padding-bottom: 12px; -webkit-overflow-scrolling: touch; transform: none !important; }
  .biz-track li { flex: 0 0 78vw; scroll-snap-align: start; }
  .biz-track b { font-size: 56px; }
  .recruit { padding: 88px var(--gutter); }
  .recruit-call { margin-bottom: 40px; }
  .recruit-cols { grid-template-columns: 1fr; gap: 32px; }
  .links { padding: 48px var(--gutter) 88px; }
  .links a { grid-template-columns: 1fr; gap: 0; padding: 18px 0; }
  .links p { text-align: left; font-size: 12px; }
  .links img { display: none; }
  .foot { padding-bottom: 96px; }
  .switch { bottom: 12px; }
}

/* ==========================================================================
   2026-10-22 改訂（文章の書き直し・写真の差し替え・並び順の変更・お問い合わせ）
   ========================================================================== */
mark { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent2) 35%, transparent) 58%); color: inherit; font-weight: 700; padding: 0 .1em; }
.eyebrow { margin: 0 0 14px; font-family: var(--latin); font-size: 15px; letter-spacing: .14em; color: var(--accent); }
.h-jp { font-weight: 900; font-size: clamp(36px, 5vw, 72px); line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 2; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill.is-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.pill.is-ghost i { background: var(--accent); color: var(--on-accent); }
.pill.is-line { background: transparent; color: var(--recruit-ink); box-shadow: inset 0 0 0 2px currentColor; }
.pill.is-line i { background: var(--recruit-ink); color: var(--recruit-bg); }
.pill.is-xl { height: 68px; padding: 0 14px 0 36px; font-size: 16px; }
.pill.is-xl i { width: 44px; height: 44px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--bg2); color: var(--ink); font-size: 13px; font-weight: 700; }
.recruit .chips li { background: rgba(255, 255, 255, .6); color: var(--recruit-ink); }

/* ヘッダーのお問い合わせ */
.head-nav .nav-cta { height: auto; padding: 8px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); line-height: 1.2; }
.head-nav .nav-cta:hover { color: var(--on-accent); }

/* 最初の画面：見出しと案内を左右に、写真を下に */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 48px; }
.hero-side { padding-bottom: 12px; }
.hero-lead { margin: 0; font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; line-height: 1.9; }
.hero-photo { grid-column: 1 / -1; }
.hero-photo picture { display: block; height: 100%; }

/* 理念：数字を大きく */
.mission { grid-template-columns: .9fr 1.1fr; }
.mission-head { position: sticky; top: 120px; }
.mission-ttl { position: static; }
.mission-body .lead { color: var(--ink); }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 36px; padding: 0; }
.stats li { padding: 24px 20px; border-radius: 18px; background: var(--bg2); }
.stats b { display: block; font-family: var(--latin); font-weight: 400; font-size: clamp(44px, 4.4vw, 68px); line-height: 1; color: var(--accent); }
.stats b small { font-family: var(--gothic); font-weight: 900; font-size: 15px; margin-left: 4px; color: var(--ink); }
.stats span { display: block; margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.mission-body .pill { margin-bottom: 0; }

.statement .eyebrow { position: relative; color: var(--stmt-em); }
.statement-text { font-size: clamp(15px, 1.3vw, 18px); line-height: 2; }

/* 事業カードの説明 */
.biz-head .eyebrow { margin-bottom: 6px; }
.biz-track .tag, .tag { display: inline-block; margin-top: 16px; padding: 3px 12px; border-radius: 999px; background: var(--accent2); color: var(--on-accent); font-size: 12px; font-weight: 700; }
.tag.is-mkt { background: var(--accent); }
.biz-track h3 { margin-top: 8px; }
.biz-track p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.biz-track img { filter: none; }

/* 採用 */
.recruit .eyebrow { color: var(--recruit-ink); opacity: .7; }
.recruit-call { margin-bottom: 48px; }
.recruit p:not(.recruit-call):not(.eyebrow) { margin: 0 0 20px; }

/* お知らせ（採用のあと） */
.news .pill { margin-top: 24px; }

/* お問い合わせの帯 */
.cta { padding: 120px var(--gutter); background: var(--bg2); }
.cta-in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.cta-in > .eyebrow, .cta-ttl { grid-column: 1; }
.cta-ttl { font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.3; }
.cta-in > p:not(.eyebrow) { grid-column: 1; margin: 0; color: var(--muted); }
.cta-ways { grid-column: 2; grid-row: 1 / span 3; display: grid; gap: 12px; }
.cta-card { position: relative; display: block; padding: 26px 80px 26px 28px; border-radius: 20px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent); }
.cta-k { display: block; font-size: 13px; color: var(--muted); }
.cta-card b { display: block; margin-top: 4px; font-weight: 900; font-size: clamp(20px, 2vw, 28px); }
.cta-card i { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-style: normal; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { padding: 20px 0 0; }
  .hero-photo { height: 58vh; }
  .mission { grid-template-columns: 1fr; }
  .mission-head { position: static; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats li { padding: 16px 10px; border-radius: 14px; }
  .stats b { font-size: 34px; }
  .stats b small { display: block; margin: 4px 0 0; font-size: 12px; }
  .stats span { font-size: 11px; }
  .statement-text br { display: none; }
  .news { padding: 80px var(--gutter); }
  .cta { padding: 80px var(--gutter); }
  .cta-in { grid-template-columns: 1fr; }
  .cta-ways { grid-column: 1; grid-row: auto; }
  .head-nav .nav-cta { align-self: flex-start; margin-top: 16px; padding: 12px 24px; font-size: 32px; }
}

/* 見出しの折り返し・数字の和文（2026-10-22 点検で修正） */
.hero-catch { font-size: clamp(34px, 5.3vw, 96px); }
.hero-catch .ln > span { white-space: nowrap; }
.stats b.jp { font-family: var(--gothic); font-weight: 900; font-size: clamp(34px, 3.4vw, 52px); }
.cta-ttl { font-size: clamp(26px, 3vw, 44px); word-break: auto-phrase; }
@media (max-width: 899px) {
  .hero-catch { font-size: clamp(28px, 9vw, 56px); }
  .stats b.jp { font-size: 26px; }
}
