@charset "utf-8";
/*!
 * WIZE — page-company.css
 * 読み込みは inc/enqueue.php（base → ページ別 page-* → wordpress の順。ページ別の割り当ては wize_css_pages_for_current_page）
 */
/* ---- 43-page-company.css ---- */
/* =========================================================
   Page: COMPANY — 会社概要、役員紹介、ブランド
   about/about.php ・ about/about-en.php ・ about/executives.php ・ about/brand.php ・ about/brand-en.php
   ========================================================= */
/* =========================================================
   ABOUT
   ========================================================= */
.profile { overflow: hidden; border: 1px solid rgba(var(--c-indigo-rgb), 0.08); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.profile dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--c-line); }
.profile dl:last-child { border-bottom: 0; }
.profile dt { padding: 22px 28px; background: var(--c-bg-tint); font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--c-ink); }
.profile dd { padding: 22px 28px; font-family: var(--f-sans); font-size: 14px; line-height: 1.9; }
@media (max-width: 640px) { .profile dl { grid-template-columns: 1fr; } .profile dt { padding: 14px 20px; } .profile dd { padding: 14px 20px 18px; } }

.anchor-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: -26px; position: relative; z-index: 2; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid var(--c-border-tint); border-radius: 30px; background: #fff; box-shadow: 0 6px 20px rgba(var(--c-indigo-rgb), 0.06); font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--c-sub); }
.anchor-nav a::after { content: "↓"; font-family: var(--f-en); color: var(--c-muted); }
.anchor-nav a:hover { border-color: var(--c-indigo); color: var(--c-indigo); transform: translateY(-2px); }
/* =========================================================
   VISION（会社概要・MESSAGE の上。デザイン案の B案）
   中央の一文が1文字ずつ浮かび、縦の線が伸びて本文が現れる。右端に色が変わるロゴマークと外側を回る軌道、左下からドットの地紋。
   ページ内リンクの下の帯も VISION の一部（main.js の vision で上に重ねる）。ロゴと軌道は下が切れない位置（上は切れてもよい）
   ========================================================= */
.vb { position: relative; overflow: hidden; padding-bottom: 300px; }
/* ページ内リンクの下の帯の高さ（--vb-cover。main.js の vision が設定）だけ上に重ね、そのぶん上の余白を足す */
.vb { margin-top: calc(-1 * var(--vb-cover, 0px)); padding-top: calc(var(--section-pad) + var(--vb-cover, 0px)); }
.vb .container { position: relative; }
.vb__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* ロゴ（高さ571px）：右端で見切れる位置。一番外側の軌道（ロゴの幅の1.8倍）の下端がセクションの下端の少し上に来るよう、下から240px */
.vb__mark { position: absolute; right: -140px; bottom: 240px; height: 571px; aspect-ratio: 480 / 482; display: flex; align-items: center; justify-content: center; }
/* ロゴは文章の後ろに来るので薄めに */
.vb__mark img { width: 100%; height: auto; opacity: 0.4; }
/* 軌道：ロゴの枠は少し縦長なので、正方形の枠に置いて真円にする（点が輪の線からずれないように） */
.vb__orbit { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); }
/* 輪の上の点：b を --a の角度だけ回し、上端に点を置く。輪の ::before の点と合わせて等間隔に並ぶ */
.vb__orbit i::before, .vb__orbit b::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.vb__orbit i { position: absolute; border-radius: 50%; animation: visionSpin 40s linear infinite; }
.vb__orbit b { position: absolute; inset: 0; transform: rotate(var(--a)); }
.vb__orbit i:nth-child(2)::before, .vb__orbit i:nth-child(2) b::before { background: var(--c-green); box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.vb__orbit i:nth-child(1) { inset: -12%; border: 1px dashed rgba(var(--c-indigo-rgb), 0.4); }
.vb__orbit i:nth-child(2) { inset: -26%; border: 1px solid rgba(168, 85, 247, 0.28); animation-duration: 60s; animation-direction: reverse; }
.vb__orbit i:nth-child(3) { inset: -40%; border: 1px dashed rgba(var(--c-indigo-rgb), 0.24); animation-duration: 28s; }
/* ドットの地紋：左下が濃く、右上へ薄くなり（右半分あたりまで）、右上へゆっくり流れる */
.vb__dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(var(--c-indigo-rgb), 0.28) 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(60deg, #000 0%, rgba(0, 0, 0, 0.7) 30%, transparent 62%); mask-image: linear-gradient(60deg, #000 0%, rgba(0, 0, 0, 0.7) 30%, transparent 62%); animation: visionDotDrift 40s linear infinite; }

.vb__body { position: relative; z-index: 0; text-align: center; }
/* 文章の後ろに白をふんわり重ね、背景のロゴ・軌道・ドットが文字にかかっても読めるようにする */
.vb__body::before { content: ""; position: absolute; inset: -40px -80px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0.6) 80%, rgba(255, 255, 255, 0)); }
.vb__lead { font-family: var(--f-serif); font-size: clamp(28px, 4.4vw, 46px); font-weight: 400; line-height: 1.6; letter-spacing: 0.08em; color: var(--c-ink); text-wrap: balance; }
.vb__rule { position: relative; width: 1px; height: 44px; margin: 32px auto; background: #6a82d5; }
.vb__rule::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: #6a82d5; animation: visionDotPulse 2.4s ease-out infinite 2s; }
.vb__text { display: grid; justify-items: center; }
.vb__text p { font-family: var(--f-sans); font-size: clamp(15px, 1.4vw, 17px); line-height: 2.1; letter-spacing: 0.05em; color: var(--c-ink); }
.vb__text p + p { margin-top: 12px; }
/* 本文は1文を1行で（最長の文 43字）。767px 以下は折り返す */
@media (min-width: 768px) { .vb__text p { white-space: nowrap; font-size: min(17px, calc((min(100vw, var(--container)) - 2 * var(--pad)) / 46)); } }
/* SP（767px 以下）だけで入れる改行 */
.vb .sp-br { display: none; }
@media (max-width: 767px) {
  .vb { padding-bottom: 220px; }
  .vb .sp-br { display: inline; }
  .vb__lead { font-size: 34px; }
  /* ロゴが本文に重なるので、ロゴと軌道をもう一段薄くし、白の重ねを全体に広げる */
  .vb__mark { right: -35%; bottom: 170px; height: 360px; }
  .vb__mark img { opacity: 0.25; }
  .vb__orbit { opacity: 0.6; }
  .vb__body::before { inset: -24px -40px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95) 70%, rgba(255, 255, 255, 0.7) 88%, rgba(255, 255, 255, 0)); }
}
/* VISION のあとの MESSAGE：上の余白を詰め、見出しが軌道の下端あたりから始まるようにする */
.vb + #message { padding-top: 24px; }
/* 会社概要のページ内リンク（5項目）：SP は2行以内に収める（ブランドのページ内リンクには適用しない） */
@media (max-width: 767px) {
  .anchor-nav--about { gap: 8px 6px; }
  .anchor-nav--about a { gap: 4px; padding: 9px 10px; font-size: 12px; }
}

/* 動き：画面に入ったら .is-in（main.js の vision）。見出しと本文は下から、一文は1文字ずつ（.ch）ぼかしから浮かぶ */
.js-motion .vb__title, .js-motion .vb__text p { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 1.1s var(--ease); }
.js-motion .vb__text p:nth-child(1) { transition-delay: 1.9s; }
.js-motion .vb__text p:nth-child(2) { transition-delay: 2.08s; }
.js-motion .vb.is-in .vb__title, .js-motion .vb.is-in .vb__text p { opacity: 1; transform: none; }
.js-motion .vb .ch { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(0.35em); transition: opacity 0.8s ease, filter 0.9s ease, transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + 0.7s); }
.js-motion .vb.is-in .ch { opacity: 1; filter: none; transform: none; }
.js-motion .vb__rule { transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) 1.6s; }
.js-motion .vb.is-in .vb__rule { transform: scaleY(1); }
.js-motion .vb.is-in .vb__mark, .js-motion .vb.is-in .vb__rule { animation: visionLogoHue 30s linear infinite; }
/* ロゴの左側（元は青 #6a82d5・色相227°）を 青→緑→黄→オレンジ→ピンク→赤→青 の順に変える */
@keyframes visionLogoHue {
  0% { filter: hue-rotate(0deg); }        /* 青 */
  17% { filter: hue-rotate(-97deg); }     /* 緑 */
  34% { filter: hue-rotate(-172deg); }    /* 黄 */
  50% { filter: hue-rotate(-197deg); }    /* オレンジ */
  67% { filter: hue-rotate(-257deg); }    /* ピンク */
  84% { filter: hue-rotate(-227deg); }    /* 赤 */
  100% { filter: hue-rotate(-360deg); }   /* 青に戻る */
}
@keyframes visionSpin { to { transform: rotate(360deg); } }
@keyframes visionDotDrift { to { background-position: 220px -220px; } }
@keyframes visionDotPulse { 0% { box-shadow: 0 0 0 0 rgba(106, 130, 213, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(106, 130, 213, 0); } }
/* 動きを減らす設定：.js-motion が付かないので一文・本文は最初から表示。回転・流れも止める */
@media (prefers-reduced-motion: reduce) { .vb, .vb *, .vb *::before, .vb *::after { animation: none !important; } }
/* =========================================================
   EXECUTIVES（写真の左右を交互に・グラデーションの額・番号）
   ========================================================= */
.exec-list { display: flex; flex-direction: column; gap: 40px; }
.exec-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(var(--c-indigo-rgb), 0.07);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.exec-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%; bottom: -30%;
  width: 70%; height: 80%;
  background: var(--img-hero-wave, url("../img/hero-wave.webp")) center / cover no-repeat;
  opacity: 0.35;
  mix-blend-mode: multiply;
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent);
  mask: radial-gradient(closest-side, #000 30%, transparent);
  pointer-events: none;
}
.exec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.exec-card__visual { position: relative; padding: 0 14px 14px 0; }
.exec-card__visual::before {
  content: "";
  position: absolute;
  inset: 14px 0 0 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 55%, #14f195 120%);
  opacity: 0.9;
  transition: transform 0.6s var(--ease);
}
.exec-card:hover .exec-card__visual::before { transform: translate(4px, 4px); }
.exec-card__photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 18px; background: var(--c-photo-bg); }
.exec-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.exec-card.sc-active .exec-card__photo img, .exec-card:not(.sc) .exec-card__photo img { transform: none; }
.js-motion .exec-card.sc .exec-card__photo { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1) 0.15s; }
.js-motion .exec-card.sc.sc-active .exec-card__photo { clip-path: inset(0); }
.exec-card__body { position: relative; }
.exec-card__pos { display: inline-block; padding: 4px 14px; border-radius: 30px; background: var(--grad); color: #fff; font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; box-shadow: 0 4px 12px rgba(var(--c-indigo-rgb), 0.25); }
.exec-card__name { position: relative; margin: 16px 0 24px; padding-bottom: 20px; font-family: var(--f-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; letter-spacing: 0.16em; color: var(--c-ink); }
.exec-card__name::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; border-radius: 2px; background: var(--grad-line); }
.exec-card__career { font-family: var(--f-sans); font-size: 14px; line-height: 2.05; color: var(--c-sub); }
/* 偶数番目は写真を右に */
.exec-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) 300px; }
.exec-card:nth-child(even) .exec-card__visual { order: 2; padding: 0 0 14px 14px; }
.exec-card:nth-child(even) .exec-card__visual::before { inset: 14px 14px 0 0; background: linear-gradient(225deg, #6366f1 0%, #a855f7 55%, #14f195 120%); }
.exec-card:nth-child(even) .exec-card:nth-child(even)::after { right: auto; left: -10%; }
/* 写真がない役員：文字だけを横幅いっぱいに（about/executives.php の exec-card--text） */
.exec-card--text, .exec-card--text:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) {
  .exec-card, .exec-card:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px 28px; }
  .exec-card__visual, .exec-card:nth-child(even) .exec-card__visual { order: 0; width: min(260px, 78%); }
  }
/* =========================================================
   BRAND
   ========================================================= */
.brand-mv { position: relative; padding-top: 48px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee var(--marquee-duration, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; width: clamp(180px, 19vw, 290px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--c-photo-bg); }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.anchor-nav--brand { flex-wrap: nowrap; justify-content: flex-start; width: fit-content; max-width: 100%; margin: -28px auto 0; padding: 6px; overflow-x: auto; border: 1px solid rgba(var(--c-indigo-rgb), 0.08); border-radius: 999px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(26, 30, 38, 0.08); scrollbar-width: none; }
.anchor-nav--brand::-webkit-scrollbar { display: none; }
.anchor-nav--brand a { flex: none; border: 0; box-shadow: none; padding: 10px 18px; white-space: nowrap; }
.anchor-nav--brand a:hover { transform: none; background: var(--c-tint); }
@media (max-width: 767px) { .anchor-nav--brand { margin-top: 16px; border-radius: 30px; } .brand-mv { padding-top: 32px; } }

.brand-block { padding: 100px 0 40px; overflow: hidden; }
.brand-block + .brand-block { border-top: 1px solid var(--c-line-soft); }
.brand-block:last-of-type { padding-bottom: 120px; }
.brand-block__logo { display: flex; justify-content: center; margin-bottom: 48px; }
.brand-block__logo a { display: block; transition: opacity 0.3s, transform 0.4s var(--ease); }
.brand-block__logo a:hover { opacity: 0.75; transform: translateY(-2px); }
.brand-block__logo img { width: auto; max-width: min(280px, 70vw); max-height: 96px; }
@media (max-width: 767px) { .brand-block { padding: 64px 0 24px; } .brand-block__logo { margin-bottom: 32px; } .brand-block__logo img { max-height: 72px; } }

/* 画像スライダー（左はコンテナ端、右は画面端まで） */
.carousel { --car-left: max(var(--pad), (100vw - var(--container)) / 2 + var(--pad)); --car-gap: 20px; --car-per: 4.35; --car-w: calc((100vw - var(--car-left)) / var(--car-per) - var(--car-gap)); }
@media (max-width: 1079px) { .carousel { --car-per: 2.6; } }
@media (max-width: 640px) { .carousel { --car-per: 1.55; --car-gap: 12px; } }
.carousel__viewport { padding-left: var(--car-left); touch-action: pan-y; }
.carousel__track { display: flex; gap: var(--car-gap); transition: transform 0.8s var(--ease); }
.carousel__track.is-jump { transition: none; }
.carousel__item { flex: 0 0 var(--car-w); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--c-photo-bg); }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; user-select: none; }
.carousel__item:hover img { transform: scale(1.04); }
.carousel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.carousel__controls { display: flex; gap: 10px; }
.brand-block__more { min-width: 200px; padding: 13px 28px; }
@media (max-width: 640px) { .brand-block__more { width: auto; min-width: 0; } .carousel__item { border-radius: 14px; } }
