/* ==========================================================
   nicoichii corporate site
   Figmaデザイン(TOPページ)をベースに実装した第一稿です。
   写真・動画・ロゴなどの最終アセットは未反映のプレースホルダーです。
   ========================================================== */

:root{
  --color-text: #0a0810;
  --color-text-soft: #4a4266;
  --color-bg: #ffffff;
  --color-bg-alt: #eeeaf8;
  --color-line: rgba(36,28,61,.12);
  --color-placeholder: rgba(130,102,169,.08);
  --color-placeholder-dark: rgba(36,28,61,.18);
  --color-accent-red: #5d9dcd;
  --color-accent-purple: #8266a9;
  --color-brand-purple: #8266a9;
  --color-brand-blue: #5d9dcd;
  --grad-accent: linear-gradient(120deg, #8266a9 0%, #5d9dcd 100%);
  --bg-gradient: #ffffff;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: "Zen Kaku Gothic New", var(--font-jp);
  --container-width: 1200px;
  --header-height: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  position: relative;
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--bg-gradient);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }

.container{
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text{
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ SCROLL REVEAL（全ページ共通） ============
   data-reveal 付き要素が画面内に入ったら、JS(main.js)が
   is-visible クラスを付与してフェード＋スライドインさせる。
   ========================================================== */
.reveal{
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 1s cubic-bezier(.16,.8,.24,1), transform 1s cubic-bezier(.16,.8,.24,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-left{ transform: translateX(-120px); }
.reveal-left.is-visible{ transform: translateX(0); }
.reveal-right{ transform: translateX(120px); }
.reveal-right.is-visible{ transform: translateX(0); }
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-left, .reveal-right{ opacity: 1; transform: none; transition: none; }
}

/* ============ SECTION WATERMARK（余白に沈める大型テキスト） ============ */
.section-watermark{
  position: absolute;
  z-index: -1;
  bottom: 6%;
  left: -2%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(80px, 13vw, 220px);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--color-text);
  opacity: .04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.section-watermark-top{ bottom: auto; top: 6%; left: auto; right: -2%; }
.section-watermark-onDark{ color: #fff; opacity: .05; }

/* ============ AMBIENT BACKGROUND（全ページ共通） ============
   ページ全体（body）の高さに合わせて、細い光の線が漂う背景演出。
   ・.ambient-bg         … カーソルに反応する視差レイヤー（JSでtransform／PC・hover時のみ）
   ・.ambient-line-field … ライン全体をまとめるレイヤー
   ・.ambient-line-wrap  … 個々のラインの位置決め＋スクロール連動の変化（JSでtransform）
   ・.ambient-line        … 曲線パス本体（ゆっくり漂うCSSアニメーション）
   position は "fixed" ではなく "absolute"（bodyを基準に%配置）にして、
   スクロールに合わせて全セクションを通して流れるようにしている。
   ========================================================== */
.ambient-bg{
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
  will-change: transform;
}
.ambient-line-field{
  position: absolute;
  inset: 0;
}
.ambient-line-wrap{
  position: absolute;
  top: 0;
  height: 100%;
  will-change: transform;
}
.ambient-line{
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  will-change: transform;
  transform-origin: center;
}
.ambient-line path{
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(130,102,169,.08));
}
.ambient-line-3 path, .ambient-line-6 path, .ambient-line-9 path, .ambient-line-12 path{ stroke: url(#ambient-line-grad-a); }
.ambient-line-1 path, .ambient-line-4 path, .ambient-line-7 path, .ambient-line-10 path, .ambient-line-13 path{ stroke: url(#ambient-line-grad-b); }
.ambient-line-2 path, .ambient-line-5 path, .ambient-line-8 path, .ambient-line-11 path, .ambient-line-14 path{ stroke: url(#ambient-line-grad-c); }

/* 外側から中央に向かって細かい網目状に配置。中央に近いほど幅を細く・不透明度を下げて
   本文の邪魔にならないようにしつつ、線の密度で奥行きと"クリエイティブ感"を出す */
.ambient-line-wrap-1{ width: 15vw; max-width: 210px; left: 2%; opacity: .42; }
.ambient-line-wrap-2{ width: 13vw; max-width: 190px; left: 6%; opacity: .37; }
.ambient-line-wrap-3{ width: 11vw; max-width: 160px; left: 11%; opacity: .28; }
.ambient-line-wrap-4{ width: 10vw; max-width: 140px; left: 16%; opacity: .25; }
.ambient-line-wrap-5{ width: 9vw; max-width: 120px; left: 22%; opacity: .21; }
.ambient-line-wrap-6{ width: 8vw; max-width: 110px; left: 28%; opacity: .18; }
.ambient-line-wrap-7{ width: 7vw; max-width: 100px; left: 35%; opacity: .16; }
.ambient-line-wrap-8{ width: 15vw; max-width: 210px; right: 2%; opacity: .42; }
.ambient-line-wrap-9{ width: 13vw; max-width: 190px; right: 6%; opacity: .37; }
.ambient-line-wrap-10{ width: 11vw; max-width: 160px; right: 11%; opacity: .28; }
.ambient-line-wrap-11{ width: 10vw; max-width: 140px; right: 16%; opacity: .25; }
.ambient-line-wrap-12{ width: 9vw; max-width: 120px; right: 22%; opacity: .21; }
.ambient-line-wrap-13{ width: 8vw; max-width: 110px; right: 28%; opacity: .18; }
.ambient-line-wrap-14{ width: 7vw; max-width: 100px; right: 35%; opacity: .16; }

.ambient-line-1{ animation: lineSwayB 15s ease-in-out infinite alternate-reverse; }
.ambient-line-2{ animation: lineSwayC 16s ease-in-out infinite alternate; }
.ambient-line-3{ animation: lineSwayA 17s ease-in-out infinite alternate-reverse; }
.ambient-line-4{ animation: lineSwayB 18s ease-in-out infinite alternate; }
.ambient-line-5{ animation: lineSwayC 19s ease-in-out infinite alternate-reverse; }
.ambient-line-6{ animation: lineSwayA 20s ease-in-out infinite alternate; }
.ambient-line-7{ animation: lineSwayB 21s ease-in-out infinite alternate-reverse; }
.ambient-line-8{ animation: lineSwayC 22s ease-in-out infinite alternate; }
.ambient-line-9{ animation: lineSwayA 23s ease-in-out infinite alternate-reverse; }
.ambient-line-10{ animation: lineSwayB 14s ease-in-out infinite alternate; }
.ambient-line-11{ animation: lineSwayC 15s ease-in-out infinite alternate-reverse; }
.ambient-line-12{ animation: lineSwayA 16s ease-in-out infinite alternate; }
.ambient-line-13{ animation: lineSwayB 17s ease-in-out infinite alternate-reverse; }
.ambient-line-14{ animation: lineSwayC 18s ease-in-out infinite alternate; }

@keyframes lineSwayA{
  0%{ transform: translateX(0) rotate(0deg); }
  50%{ transform: translateX(2.2vw) rotate(2.6deg); }
  100%{ transform: translateX(-1.6vw) rotate(-2deg); }
}
@keyframes lineSwayB{
  0%{ transform: translateX(0) rotate(0deg); }
  50%{ transform: translateX(-2.6vw) rotate(-3.2deg); }
  100%{ transform: translateX(1.8vw) rotate(2.4deg); }
}
@keyframes lineSwayC{
  0%{ transform: translateX(0) rotate(0deg); }
  50%{ transform: translateX(1.8vw) rotate(2deg); }
  100%{ transform: translateX(-2.4vw) rotate(-2.6deg); }
}
@media (prefers-reduced-motion: reduce){
  .ambient-line{ animation: none; }
  .film-grain{ animation: none; }
}
@media (max-width: 960px){
  .ambient-line-field{ opacity: .7; }
}

/* ============ FILM GRAIN（映像制作ページ限定・案3） ============ */
.film-grain{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainShift 1s steps(4) infinite;
}
@keyframes grainShift{
  0%{ transform: translate(0,0); }
  25%{ transform: translate(-1%, 1%); }
  50%{ transform: translate(1%, -1%); }
  75%{ transform: translate(-1%, -1%); }
  100%{ transform: translate(0,0); }
}

/* ============ HEADER ============ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(36,28,61,0.1);
}
.header-inner{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
}
.logo{
  justify-self: start;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .05em;
  color: var(--color-text);
}
.logo-img{
  height: 30px;
  width: auto;
  display: block;
}

.main-nav{
  justify-self: center;
}
.main-nav .nav-list{
  display: flex;
  gap: 40px;
}
.header-right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-item{
  position: relative;
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--color-text);
}
.nav-item.has-sub:hover .sub-nav{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.sub-nav{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  background: #ffffff;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36,28,61,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.sub-nav li + li{ margin-top: 10px; }
.sub-nav a{ font-size: 14px; }

.header-cta{
  display: flex;
  gap: 24px;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--color-text);
}

.nav-toggle{
  appearance: none;
  -webkit-appearance: none;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  cursor: pointer;
  outline: none;
}
.nav-toggle:focus-visible{
  outline: 2px solid var(--color-accent-purple);
  outline-offset: 4px;
  border-radius: 4px;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--color-text);
  transition: background-color .3s ease;
}

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--color-text);
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transparent: once the logo intro fades away, the site's own ambient
     line background (drawn behind the whole page) shows through here,
     so the hero settles into the same look as every other section */
  background: transparent;
  /* lifts the logo away from dead-center so the copy below always
     has clear room and never crowds the logo, even on shorter viewports */
  padding-bottom: clamp(40px, 10vh, 120px);
}
.hero-logo{
  position: relative;
  z-index: 1;
  width: min(560px, 62vw);
  filter: drop-shadow(0 12px 30px rgba(36,28,61,.15));
}

/* ============ ヒーロー：テトリス背景 ============
   常時ループする「テトリス風」アンビエントアニメーション
   （assets/js/hero-tetris.js）。文字は描かず、ブロックが自動で
   降ってきて積み上がる演出のみ。
   ========================================================== */
.hero-tetris-bg{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  /* キャッチコピー・本文が乗る下側と被らないよう、盤面の底（着地面）を
     手前に上げておく。フェードやスクリムで薄めず、ブロックは常に
     はっきりした色のまま見せる */
  height: 70%;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
}
@media (prefers-reduced-motion: reduce){
  .hero-tetris-bg{ display: none; }
}
.hero-text{
  position: relative;
  z-index: 1;
}
.hero-catch{
  position: relative;
  padding: 0 32px 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 1s cubic-bezier(.2,.7,.2,1) .3s forwards;
}
.hero-catch-line{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: .05em;
}
.hero-content{
  position: relative;
  padding: 0 32px 64px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 1s cubic-bezier(.2,.7,.2,1) .55s forwards;
}
.hero-copy{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-copy-jp{
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: .05em;
  line-height: 1.75;
  color: var(--color-text);
}
@keyframes heroFadeUp{
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-content, .hero-catch{ opacity: 1; transform: none; animation: none; }
}
/* ============ 下層ページ共通: PAGE HERO ============ */
.page-hero{
  position: relative;
  min-height: 46vw;
  max-height: 620px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-text);
}
.page-hero-media{
  position: absolute;
  inset: 0;
  background: var(--bg-gradient);
}
.page-hero-overlay{
  position: absolute;
  inset: 0;
  background: transparent;
}
.page-hero-content{
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
}
.page-hero-eyebrow{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2em;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-hero-eyebrow::before{
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--grad-accent);
}
.page-hero-title{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.35;
  letter-spacing: .03em;
}

/* ============ サービス詳細ページ: INTRO ============ */
.service-intro-section{
  background: transparent;
  color: var(--color-text);
  padding: 0 0 100px;
  margin-top: -1px; /* page-heroのグラデーションと継ぎ目なくつなげる */
}
.service-intro-grid{
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.service-intro-text{
  flex: 1;
  min-width: 280px;
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 16px);
  letter-spacing: .05em;
  line-height: 2.2;
}
.service-intro-photo{
  position: relative;
  z-index: 0;
  flex: 0 0 360px;
  aspect-ratio: 4 / 3;
  background: var(--color-placeholder);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(36,28,61,.14);
}
.service-intro-photo::before{
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: var(--grad-accent);
  opacity: .18;
  border-radius: 20px;
  z-index: -1;
}
.service-intro-photo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ VISION ============ */
.vision-section{
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: transparent;
  color: var(--color-text);
  padding: 100px 0;
}
.vision-grid{
  display: flex;
  gap: 80px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.vision-headings{
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--color-line);
  padding-left: 24px;
}
.vision-en{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: .08em;
}
.vision-jp{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: .1em;
}
.vision-tabs{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vision-tab{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: .1em;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: color .25s ease;
}
.vision-tab:hover{ color: var(--color-text); }
.vision-tab.is-active{
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vision-body{ flex: 1; min-width: 280px; }
.vision-panel{ display: none; }
.vision-panel.is-active{ display: block; }
.vision-catch{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .08em;
  margin-bottom: 32px;
}
.vision-text{
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 16px);
  letter-spacing: .05em;
  line-height: 2.2;
  max-width: 620px;
}
.value-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.value-item-title{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.value-item .vision-text{ margin-bottom: 0; }

/* ============ MESSAGE ============ */
.message-block{
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.message-photo{
  position: relative;
  z-index: 0;
  flex: 0 0 320px;
  aspect-ratio: 3 / 4;
  background: var(--color-placeholder);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(36,28,61,.14);
}
.message-photo::before{
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: var(--grad-accent);
  opacity: .18;
  border-radius: 20px;
  z-index: -1;
}
.message-photo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.message-copy{ flex: 1; min-width: 260px; }
.message-text{
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: .04em;
  line-height: 2;
  margin-bottom: 32px;
}
.message-name{
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.message-title{
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--color-text-soft);
}

/* ============ PROFILE TABLE ============ */
.profile-list{ margin: 0 0 64px; }
.profile-row{
  display: flex;
  gap: 48px;
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
}
.profile-list .profile-row:last-child{ border-bottom: 1px solid var(--color-line); }
.profile-row dt{
  flex: 0 0 200px;
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .08em;
}
.profile-row dd{
  flex: 1;
  margin: 0;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: .04em;
  line-height: 1.7;
}
.profile-photo{
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 3 / 1;
  background: var(--color-placeholder);
  border-radius: 24px;
  overflow: hidden;
}
.profile-photo::before{
  content: "";
  position: absolute;
  inset: 24px -16px -16px 24px;
  background: var(--grad-accent);
  opacity: .16;
  border-radius: 24px;
  z-index: -1;
}
.profile-map-iframe{
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 600px){
  .profile-photo{ aspect-ratio: 4 / 3; }
}

/* ============ SECTION COMMON ============ */
.section{
  position: relative;
  z-index: 0; /* .section-watermarkのz-index:-1をこのセクション内に閉じ込めるため */
  overflow: hidden;
  padding: 120px 0;
  background: transparent;
}
.section-eyebrow{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: .12em;
  margin-bottom: 24px;
}
/* セクションに入るタイミングで見出し文字を1文字ずつ出現させる演出（[data-char-reveal]付きの.section-eyebrowのみ） */
.eyebrow-char{
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.is-visible .eyebrow-char{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .eyebrow-char{ opacity: 1; transform: none; transition: none; }
}
.dot{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red{ background: var(--color-accent-red); }
.dot-purple{ background: var(--color-accent-purple); }
.dot-black{ background: var(--color-text); }

.section-heading{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: .12em;
  line-height: 1.6;
  margin-bottom: 32px;
}
.section-heading-center{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .12em;
  text-align: center;
  margin-bottom: 48px;
}
.section-sub{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .1em;
  margin-bottom: 64px;
}
.section-lead{
  max-width: 900px;
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: .06em;
  line-height: 2.4;
  margin-bottom: 64px;
}

/* ============ LEGAL (プライバシーポリシー等) ============ */
.legal-section{ padding-top: 80px; }
.legal-lead{
  max-width: 860px;
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 2.2;
  letter-spacing: .03em;
  color: var(--color-text-soft);
  margin-bottom: 64px;
}
.legal-content{
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.legal-block{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-block-title{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 20px);
  letter-spacing: .06em;
  color: var(--color-text);
}
.legal-text{
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 2.2;
  letter-spacing: .03em;
  color: var(--color-text-soft);
}
.legal-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 1.4em;
}
.legal-list li{
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 2;
  letter-spacing: .03em;
  color: var(--color-text-soft);
  list-style: disc;
}
.legal-profile-list{ margin-top: 8px; }
.legal-meta{
  max-width: 860px;
  margin-top: 64px;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--color-text-soft);
  text-align: right;
}

/* ============ ABOUT ============ */
.about-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 96px;
}
.about-top-text{
  flex: 1 1 520px;
  max-width: 640px;
}
.about-top-text .section-lead{ margin-bottom: 0; }
.about-emblem{
  position: relative;
  flex: 0 0 360px;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 56px 0 0;
  transform: rotate(-3deg);
}

.emblem-orbit{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  transform-origin: 50% 53%;
  animation: emblemOrbitSpin 60s linear infinite;
}
.emblem-orbit-ring{
  fill: none;
  stroke: url(#emblem-orbit-grad);
  stroke-width: .5;
  stroke-dasharray: 1.4 3.2;
  opacity: .5;
}
.emblem-orbit-dot{
  fill: var(--color-brand-purple);
  opacity: .6;
}
@keyframes emblemOrbitSpin{
  to{ transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce){
  .emblem-orbit{ animation: none; }
}

.emblem-venn{
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate; /* 円同士のmix-blend-modeを内部だけで完結させ、背景に影響させない */
}
.emblem-circle{
  position: absolute;
  width: 54%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5);
  mix-blend-mode: multiply;
}
.circle-marketing{
  top: 33%;
  left: 50%;
  background: radial-gradient(circle at 35% 30%, #f0948c, #dd5147 72%);
  color: #fff;
}
.circle-creative{
  top: 70%;
  left: 27%;
  background: radial-gradient(circle at 35% 30%, #7fe0ae, #29a468 72%);
  color: #fff;
}
.circle-sns{
  top: 70%;
  left: 73%;
  background: radial-gradient(circle at 35% 30%, #93b8ef, #3f66c4 72%);
  color: #fff;
}
.emblem-circle-label{
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  padding: 0 14%;
}

.about-catch{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .1em;
  line-height: 1.6;
  margin-bottom: 24px;
}
.about-body{
  max-width: 760px;
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: .06em;
  line-height: 2.2;
}

/* ============ SERVICE ============ */
.service-block{
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--color-line);
}
.service-block:last-child{ border-bottom: 1px solid var(--color-line); }
.service-block-reverse{ flex-direction: row-reverse; }

.service-media{
  position: relative;
  z-index: 0; /* ::before(オフセットパネル)のz-index:-1をこの要素内に閉じ込めるため */
  flex: 0 0 29%;
  max-width: 320px;
  min-width: 0; /* 横スクロール時にflexアイテムが縮まないのを防ぐ */
}
.service-media::before{
  content: "";
  position: absolute;
  inset: 24px -20px -20px 24px;
  background: var(--grad-accent);
  opacity: .14;
  border-radius: 28px;
  z-index: -1;
}
.service-block-reverse .service-media::before{
  inset: 24px 24px -20px -20px;
}
/* スライダー版（企業映像・YouTube/TikTok）は写真の下にクライアント名などの
   キャプション文字が入る分、背景の色付きパネルもその文字・ドットまで
   ちゃんと包み込むように下側を広めに伸ばす。あわせて、元の.14という薄さでは
   ほぼ見えず「収まっているかどうか」自体が分からなかったため、はっきり
   見える濃さ・柔らかい影に変えて、写真とキャプションが1枚のカードとして
   まとまって見えるようにする */
.service-media--slider::before,
.service-block-reverse .service-media--slider::before{
  bottom: -56px;
  opacity: 1;
  background: #fff;
  box-shadow: 0 20px 44px rgba(36,28,61,.16);
}
.service-photo{
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(36,28,61,.14);
}
.service-photo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-media--compact{
  flex: 0 0 220px;
  max-width: 220px;
}
.service-media--compact .service-photo{
  max-width: 220px;
}
.service-media--compact .service-media-track{
  max-width: 220px;
}

/* 写真がまだない詳細ページ用：3枚の重なりで奥行きを出すプレースホルダー装飾 */
.service-section .container{ counter-reset: service-counter; }
.service-block{ counter-increment: service-counter; }
.service-media-track{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}
.service-media-box{
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: var(--grad-accent);
}
.service-media-box:nth-child(1){
  opacity: .1;
  transform: translate(24px, 24px);
}
.service-media-box:nth-child(2){
  opacity: .16;
  transform: translate(12px, 12px);
}
.service-block-reverse .service-media-box:nth-child(1){ transform: translate(-24px, 24px); }
.service-block-reverse .service-media-box:nth-child(2){ transform: translate(-12px, 12px); }
.service-media-box:nth-child(3){
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, rgba(130,102,169,.1), rgba(93,157,205,.1));
  box-shadow: 0 20px 44px rgba(36,28,61,.12);
  overflow: hidden;
}
.service-media-box:nth-child(3)::after{
  content: counter(service-counter, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(90px, 11vw, 150px);
  letter-spacing: .05em;
  color: rgba(130,102,169,.16);
}

/* 実績サムネイルを複数枚スワイプできるスライダー（企業映像・YouTube/TikTokなど） */
.service-slider{
  position: relative;
}
.service-slider-track{
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 20px;
}
.service-slider-track::-webkit-scrollbar{ display: none; }
.service-slide{
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.service-slide .work-thumb{
  margin-bottom: 0;
  /* 実際の動画サムネイルは16:9のものが多く、16:10のままだと上下が
     トリミングされてサムネイル内のタイトル文字が見切れてしまうため、
     このスライダー内だけ16:9に合わせる */
  aspect-ratio: 16 / 9;
}
.service-slider-arrow{
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--color-brand-purple);
  box-shadow: 0 10px 24px rgba(36,28,61,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-slider-arrow svg{ width: 18px; height: 18px; }
.service-slider-arrow:hover{
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 28px rgba(36,28,61,.28);
}
.service-slider-prev{ left: -18px; }
.service-slider-next{ right: -18px; }
.service-slider-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.service-slider-dot{
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-line);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.service-slider-dot.is-active{
  background: var(--color-brand-purple);
  transform: scale(1.35);
}
@media (max-width: 720px){
  .service-slider-prev{ left: 4px; }
  .service-slider-next{ right: 4px; }
}

.service-copy{ flex: 1; }
.service-index{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.service-title{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.service-title-accent{
  font-family: "Fraunces", var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
}
.service-desc{
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: .05em;
  line-height: 1.85;
  margin-bottom: 14px;
}
.service-support{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1.85;
  color: var(--color-text-soft);
}
.service-support-tag{
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-accent);
  font-size: 11px;
  letter-spacing: .08em;
  color: #fff;
}
@media (max-width: 640px){
  .service-support{ gap: 10px; }
}
.service-sns-links{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.service-sns-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-brand-purple);
  box-shadow: 0 8px 20px rgba(36,28,61,.14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.service-sns-icon svg{ width: 17px; height: 17px; }
.service-sns-icon:hover{
  background: var(--grad-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(36,28,61,.22);
}
.text-link{
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-size: 15px;
  letter-spacing: .08em;
}
.text-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 1px;
  background: var(--grad-accent);
}

/* ============ SERVICE FEATURE LIST（マーケティングページ：写真なし・ナンバリング型レイアウト） ============ */
.service-feature-list{
  display: flex;
  flex-direction: column;
}
.service-feature{
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--color-line);
  transition: padding-left .5s cubic-bezier(.16,1,.3,1);
}
.service-feature:last-child{ border-bottom: 1px solid var(--color-line); }
.service-feature::before{
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  transition: width 1.1s cubic-bezier(.16,1,.3,1);
}
.service-feature.is-visible::before{ width: 100%; }
.service-feature:hover{ padding-left: 20px; }
.service-feature:hover .service-feature-num{ opacity: .95; transform: translateX(6px); }
.service-feature:hover .service-feature-icon{ transform: translateY(-3px); box-shadow: 0 16px 30px rgba(36,28,61,.2); }

.service-feature-index-wrap{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.service-feature-num{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: .02em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .5;
  transition: opacity .4s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.service-feature-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-brand-purple);
  box-shadow: 0 10px 24px rgba(36,28,61,.14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-feature-icon svg{ width: 22px; height: 22px; }
.service-feature-title{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.service-feature-desc p{
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .03em;
  color: var(--color-text-soft);
  max-width: 640px;
  margin-bottom: 14px;
}
.service-feature-desc p:last-child{ margin-bottom: 0; }

@media (max-width: 720px){
  .service-feature{ grid-template-columns: 1fr; gap: 22px; padding: 40px 0; }
  .service-feature:hover{ padding-left: 0; }
  .service-feature-index-wrap{ flex-direction: row; align-items: center; }
}

/* ============ PARTNERS（会社概要ページ：ロゴ一覧グリッド） ============ */
.partners-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.partner-logo-card{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 22px 20px;
  height: 104px;
  box-shadow: 0 2px 10px rgba(36,28,61,.06);
}
.partner-logo-card img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partners-note{
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--color-text-soft);
}
.works-note{
  margin: -20px 0 32px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--color-text-soft);
}
@media (max-width: 600px){
  .partners-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partner-logo-card{ height: 84px; padding: 16px 14px; }
}

/* ============ WORKS ============ */
.works-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.works-filter-btn{
  appearance: none;
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-placeholder);
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.works-filter-btn:hover{
  color: var(--color-text);
  border-color: var(--color-accent-purple);
}
.works-filter-btn.is-active{
  color: #fff;
  border-color: transparent;
  background: var(--grad-accent);
  box-shadow: 0 8px 20px rgba(185,123,203,.35);
}
.works-subfilter{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -28px 0 48px;
}
.works-subfilter[hidden]{ display: none; }
.works-subfilter .works-filter-btn{
  padding: 7px 18px;
  font-size: 12px;
  background: transparent;
}
.works-subfilter .works-filter-btn.is-active{
  color: #fff;
  background: var(--color-text);
  box-shadow: none;
}
.works-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-bottom: 48px;
}
.work-card{
  transition: opacity .25s ease, transform .25s ease;
}
.work-card.is-hidden{
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.work-card.is-gone{
  display: none;
}
.work-thumb{
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-placeholder);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.work-card:hover .work-thumb{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.work-tag{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(21,17,31,.35);
  backdrop-filter: blur(6px);
  border: 1.5px solid #fff;
  font-size: 11px;
  letter-spacing: .08em;
  color: #fff;
  box-shadow: 0 6px 16px rgba(36,28,61,.2);
}

/* ---- 動画サムネイル（YouTube）と再生ボタン ---- */
.work-thumb-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
/* ---- ロゴ画像用サムネイル（切り抜かず全体を表示） ---- */
.work-thumb-img--logo{
  object-fit: contain;
  padding: 18%;
  box-sizing: border-box;
  background: #fff;
}
.work-video-trigger{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  appearance: none;
  cursor: pointer;
  display: block;
}
.work-video-trigger:hover .work-thumb-img,
.work-card-link:hover .work-thumb-img{ transform: scale(1.06); }
.work-play-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(36,28,61,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}
.work-play-icon::before{
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--color-accent-purple);
  margin-left: 4px;
}
.work-video-trigger:hover .work-play-icon,
.work-card-link:hover .work-play-icon{ transform: translate(-50%,-50%) scale(1.1); }
.work-title--clamp{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}
.works-empty{
  display: none;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 14px;
  letter-spacing: .08em;
  padding: 40px 0 8px;
}
.works-empty.is-visible{ display: block; }
.work-title{
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}
.work-client{
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--color-text-soft);
  margin-bottom: 4px;
}
.work-client span{ margin-left: 8px; color: var(--color-text); }
.work-client-name{
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--color-text-soft);
}
.work-cast{
  font-size: 12px;
  letter-spacing: .05em;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin-top: 6px;
}
.work-cast-label{ color: var(--color-text-soft); }
.work-cast a{
  color: var(--color-accent-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.work-cast a:hover{ color: var(--color-accent-red); }
.work-detail-link{ margin-top: 10px; }
.work-detail-link a{
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--color-accent-purple);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.work-detail-link a:hover{ color: var(--color-accent-red); }

/* ---- カードをクリックすると詳細ページへ遷移する ---- */
.work-card-link{ display: block; color: inherit; }
.work-play-icon--detail::before{
  border-width: 0;
  width: 14px;
  height: 14px;
  margin-left: -3px;
  border-top: 3px solid var(--color-accent-purple);
  border-right: 3px solid var(--color-accent-purple);
  transform: rotate(45deg);
}

.more-link-wrap{ text-align: center; }
.service-copy .more-link-wrap{ text-align: left; margin-top: 4px; }
.works-more-link{ text-align: center; margin-top: -8px; }

/* ============ WORKS：制作実績 詳細ページ ============ */
.work-detail-section{ padding-top: 64px; }
.work-detail-media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 20px 50px rgba(36,28,61,.18);
}
.work-detail-media iframe,
.work-detail-media video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work-detail-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}
.work-detail-tag{
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--grad-accent);
  font-size: 12px;
  letter-spacing: .08em;
  color: #fff;
}
.work-detail-client{
  font-size: 15px;
  letter-spacing: .06em;
  font-weight: 500;
}
.work-detail-views{
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--color-text-soft);
}
.work-detail-block{ max-width: 760px; margin-bottom: 48px; }
.work-detail-block h2{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.work-detail-block p{
  font-size: 15px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--color-text-soft);
}
.work-detail-back{ margin-top: 8px; }
.work-detail-back a{
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--color-accent-purple);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---- 画像（ロゴ／キービジュアル）を使う実績詳細メディア ---- */
.work-detail-media--image{ background: #fff; }
/* 縦型ショート動画を横に並べる */
.work-detail-media--shorts{
  aspect-ratio: auto;
  background: none;
  box-shadow: none;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.work-detail-short{
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 767px){
  .work-detail-media--shorts{ grid-template-columns: repeat(2, 1fr); }
}
.work-detail-media--image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9%;
  box-sizing: border-box;
}
.work-detail-media--image.is-photo{ background: var(--color-placeholder-dark); }
.work-detail-media--image.is-photo img{ object-fit: cover; padding: 0; }

/* ---- 実績詳細：起用インフルエンサー一覧 ---- */
.work-detail-cast-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.work-detail-cast-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--color-placeholder);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--color-text);
}
a.work-detail-cast-chip{
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
a.work-detail-cast-chip:hover{
  background: var(--color-accent-purple);
  color: #fff;
  transform: translateY(-2px);
}
.work-detail-cast-chip::after{
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
}
.work-detail-cast-chip.is-plain::after{ display: none; }
.work-detail-cast-note{
  font-size: 13px;
  color: var(--color-text-soft);
  letter-spacing: .04em;
}
@media (max-width: 640px){
  .work-detail-section{ padding-top: 40px; }
}

/* ============ NEWS ============ */
.news-list{
  border-top: 1px solid var(--color-line);
  margin-bottom: 40px;
}
.news-item{
  border-bottom: 1px solid var(--color-line);
}
.news-item-link{
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  color: inherit;
}
.news-thumb{
  position: relative;
  flex: 0 0 150px;
  aspect-ratio: 16 / 10;
  background: var(--color-placeholder);
  border-radius: 14px;
  overflow: hidden;
}
.news-thumb-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.news-item-link:hover .news-thumb-img{ transform: scale(1.06); }
.news-item-date{
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}
.news-item-title{
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.news-item-desc{
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* ============ NEWS：詳細ページ ============ */
.news-detail-media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #14141c;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 20px 50px rgba(36,28,61,.18);
}
.news-detail-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============ CONTACT FORM ============ */
.contact-form-section{ background: transparent; }
.contact-form{
  max-width: 760px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.form-group{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-group label,
.form-group-label{
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--color-text);
}
.form-required{
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  color: #fff;
  background: var(--color-accent-red);
  border-radius: 999px;
  vertical-align: middle;
}
.form-hint{
  margin-top: -4px;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--color-text-soft);
}
.form-error{
  display: none;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--color-accent-red);
}
.form-error.is-visible{ display: block; }
.checkbox-grid.has-error .checkbox-mark{ border-color: var(--color-accent-red); }
.form-input,
.form-textarea{
  width: 100%;
  padding: 16px 18px;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: border-color .2s ease, background-color .2s ease;
}
.form-input:focus,
.form-textarea:focus{
  outline: none;
  border-color: var(--color-accent-purple);
  background: var(--color-placeholder);
}
.form-textarea{ resize: vertical; min-height: 140px; line-height: 1.8; }
.form-input::placeholder,
.form-textarea::placeholder{ color: #9992ab; }

.checkbox-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.checkbox-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-soft);
  cursor: pointer;
}
.checkbox-item input{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-mark{
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  position: relative;
  transition: background-color .2s ease, border-color .2s ease;
}
.checkbox-mark::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .15s ease;
}
.checkbox-item input:checked + .checkbox-mark{
  background: var(--grad-accent);
  border-color: transparent;
}
.checkbox-item input:checked + .checkbox-mark::after{ opacity: 1; }
.checkbox-item input:focus-visible + .checkbox-mark{
  outline: 2px solid var(--color-accent-purple);
  outline-offset: 2px;
}

.form-dropzone{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed var(--color-line);
  border-radius: 8px;
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.form-dropzone:hover{ border-color: var(--color-accent-purple); background: var(--color-placeholder); }
.form-dropzone p{
  font-size: 13px;
  color: var(--color-text-soft);
  letter-spacing: .03em;
}
.form-file-input{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.agree-item{
  font-size: 13px;
  color: var(--color-text-soft);
  flex-wrap: wrap;
}
.privacy-link{
  margin-left: 4px;
  text-decoration: underline;
  color: var(--color-text);
}
.privacy-link:hover{ color: var(--color-accent-purple); }

.form-submit{
  align-self: center;
  margin-top: 8px;
  min-width: 240px;
  padding: 18px 48px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  color: #fff;
  background: var(--grad-accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 28px rgba(185,123,203,0.28);
}
.form-submit:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(185,123,203,0.36);
}

/* ============ CTA ============ */
.cta-section{ background: transparent; text-align: center; }
.cta-lead{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: .1em;
  margin-bottom: 48px;
}
.cta-buttons{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-button{
  width: 320px;
  padding: 32px 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  box-shadow: 0 12px 32px rgba(36,28,61,0.1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cta-button:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(36,28,61,0.16);
  border-color: var(--color-accent-purple);
}
.cta-en{
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.cta-ja{
  display: block;
  font-size: 15px;
  letter-spacing: .1em;
}

/* ============ FOOTER ============ */
.site-footer{
  background: #0c0a12;
  color: #f0f0f0;
  padding: 64px 0 32px;
}
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo{
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: .08em;
}
.footer-meta p{
  font-size: 13px;
  letter-spacing: .05em;
  color: #bdbdbd;
  line-height: 1.8;
}
.footer-nav{
  display: flex;
  gap: 24px;
  font-size: 13px;
  letter-spacing: .08em;
}
.footer-copyright{
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #8a8a8a;
  margin-top: 32px;
  letter-spacing: .05em;
}

/* ============ RESPONSIVE ============ */
.sp-only{ display: none; }

@media (max-width: 960px){
  .header-inner{ grid-template-columns: 1fr auto; padding: 0 20px; }
  .main-nav, .header-cta{ display: none; }
  .nav-toggle{ display: flex; }

  .main-nav.is-open{
    display: block;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    width: auto;
    justify-self: stretch;
    background: #f7f5fc;
    padding: 40px 24px;
    overflow-y: auto;
    z-index: 100;
  }
  .main-nav.is-open .nav-list{
    flex-direction: column;
    gap: 24px;
  }
  .main-nav.is-open .nav-item{ color: var(--color-text); font-size: 18px; }
  .main-nav.is-open .sub-nav{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 12px;
    padding: 0 0 0 16px;
  }

  .service-block, .service-block-reverse{
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .service-media{ flex: none; }

  .about-top{ flex-direction: column; gap: 48px; margin-bottom: 64px; }
  .about-emblem{ margin: 0 auto; transform: none; }

  .works-grid{ grid-template-columns: repeat(2, 1fr); }
  .works-filter{ gap: 8px; }
  .works-filter-btn{ padding: 9px 20px; font-size: 12px; }
  .partner-grid{ grid-template-columns: repeat(3, 1fr); }

  .news-item-link{ flex-direction: column; align-items: stretch; padding: 16px 0; }
  .news-thumb{ flex-basis: auto; width: 100%; }

  .vision-grid{ gap: 40px; }
  .vision-headings{ flex-basis: 100%; flex-direction: row; align-items: baseline; gap: 24px; flex-wrap: wrap; }
  .vision-tabs{ flex-direction: row; flex-wrap: wrap; gap: 16px 24px; }

  .service-intro-grid{ flex-direction: column; }
  .service-intro-photo{ flex-basis: auto; width: 100%; }

  .message-block{ flex-direction: column; gap: 32px; }
  .message-photo{ flex-basis: auto; width: 100%; max-width: 320px; }

  .profile-row{ flex-direction: column; gap: 8px; }
  .profile-row dt{ flex-basis: auto; }

  .checkbox-grid{ grid-template-columns: 1fr; }
  .form-submit{ width: 100%; }

  .sp-only{ display: inline; }
}

@media (max-width: 600px){
  .section{ padding: 80px 0; }
  .works-grid{ grid-template-columns: 1fr; }
  .partner-grid{ grid-template-columns: repeat(2, 1fr); }
  .cta-button{ width: 100%; max-width: 340px; }
}

/* ==========================================================
   TOPページ限定：モーション・インタラクション演出（案C）
   レイアウトや配色は変更せず、カーソル追従ドット／マグネティック
   ボタン／お取引先ロゴのマーケー／リンクのアンダーライン演出のみ
   追加。他ページの共通クラスはここでは一切上書きしていません。
   ========================================================== */

/* ---- カーソル追従ドット ---- */
.cursor-dot{
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: width .25s cubic-bezier(.2,.8,.2,1), height .25s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}
.cursor-dot.is-active{ opacity: 1; }
.cursor-dot.is-hover{ width: 48px; height: 48px; }
@media (hover: none), (pointer: coarse){
  .cursor-dot{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .cursor-dot{ display: none; }
}

/* ---- マグネティックボタン（カーソルに軽く引き寄せられる） ---- */
.magnetic-btn{
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* ---- リンクのアンダーライン演出（ホバーで伸びる） ---- */
.text-link.link-draw::after{
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.text-link.link-draw:hover::after{
  width: 100%;
}

/* ---- PARTNERS：ロゴのマーケー（自動横スクロール・上下2段で逆方向） ---- */
.partner-marquee{
  overflow: hidden;
  margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partner-marquee-row + .partner-marquee-row{ margin-top: 16px; }
.partner-marquee-track{
  display: flex;
  width: max-content;
  gap: 16px;
  animation: partnerMarquee 68s linear infinite;
}
.partner-marquee-row-b .partner-marquee-track{
  animation-name: partnerMarqueeReverse;
}
.partner-marquee .partner-logo{
  flex: 0 0 160px;
  width: 160px;
  height: 90px;
  background: #fff;
  border-radius: 8px;
  padding: 20px 18px;
  object-fit: contain;
}
@keyframes partnerMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@keyframes partnerMarqueeReverse{
  from{ transform: translateX(-50%); }
  to{ transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce){
  .partner-marquee-track{ animation: none; }
}
@media (max-width: 600px){
  .partner-marquee .partner-logo{ flex-basis: 120px; width: 120px; height: 67.5px; padding: 14px 12px; }
}

/* ============ 動画再生モーダル（YouTube） ============ */
body.no-scroll{ overflow: hidden; }

.video-lightbox{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18,14,28,.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.video-lightbox.is-open{
  opacity: 1;
  visibility: visible;
}
.video-lightbox-inner{
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-lightbox-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.video-lightbox-frame iframe,
.video-lightbox-frame video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.video-lightbox-close{
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.video-lightbox-close:hover{ background: rgba(255,255,255,.24); }
@media (max-width: 600px){
  .video-lightbox-close{ top: -44px; width: 36px; height: 36px; }
}

/* ============ スクロール進捗バー（#scrollProgressBarがあるページのみ表示） ============ */
.scroll-progress-bar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-accent);
  z-index: 9999;
  pointer-events: none;
}

/* ============ COLUMN（コラム） ============ */
.column-container{ max-width: 860px; }
.column-breadcrumb{ font-size: 12px; color: var(--color-text-soft); margin-bottom: 20px; }
.column-breadcrumb a{ color: inherit; text-decoration: underline; }
.column-lead{ font-size: 16px; line-height: 2; color: var(--color-text-soft); margin: 24px 0 32px; }
.column-toc{ background: var(--color-bg-alt); border-radius: 12px; padding: 20px 24px; margin-bottom: 40px; }
.column-toc-title{ font-weight: 700; margin-bottom: 8px; }
.column-toc ol{ padding-left: 1.4em; margin: 0; }
.column-toc li{ margin: 6px 0; }
.column-toc a{ color: var(--color-text); text-decoration: none; }
.column-toc a:hover{ text-decoration: underline; }
.column-body h2{ font-size: 22px; font-weight: 700; line-height: 1.6; margin: 56px 0 20px; padding-left: 14px; border-left: 4px solid var(--color-brand-purple); scroll-margin-top: 100px; }
.column-body h3{ font-size: 18px; font-weight: 700; margin: 36px 0 14px; }
.column-body p{ line-height: 2; margin-bottom: 1.4em; }
.column-body ul{ list-style: disc; }
.column-body ol, .column-toc ol{ list-style: decimal; }
.column-body ul, .column-body ol{ padding-left: 1.5em; margin: 0 0 1.6em; line-height: 1.9; }
.column-body li{ margin: 6px 0; }
.column-body blockquote{ border-left: 3px solid var(--color-line); padding: 4px 0 4px 16px; color: var(--color-text-soft); margin: 0 0 1.6em; }
.column-body a{ color: var(--color-brand-purple); text-decoration: underline; }
.column-tags{ margin: 32px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.column-tag{ font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--color-bg-alt); color: var(--color-text-soft); }
.column-cta{ border: 1px solid var(--color-line); border-radius: 16px; padding: 28px; margin: 40px 0; background: linear-gradient(135deg, rgba(130,102,169,.08), rgba(93,157,205,.08)); }
.column-cta-title{ font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.column-cta-links{ margin-top: 16px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.column-cta-btn{ display: inline-block; padding: 12px 28px; border-radius: 999px; background: var(--color-text); color: #fff !important; text-decoration: none; }
.column-related{ margin: 40px 0; }
.column-related-title{ font-weight: 700; margin-bottom: 8px; }
.column-related ul{ padding-left: 1.2em; }
.column-related li{ margin: 6px 0; }
.column-index-lead{ color: var(--color-text-soft); line-height: 1.9; margin-bottom: 32px; }
.column-thumb{ display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #8266a9, #5d9dcd); }
.column-thumb-label{ color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .05em; padding: 0 12px; text-align: center; }
@media (max-width: 768px){
  .column-body h2{ font-size: 19px; margin-top: 44px; }
  .column-cta{ padding: 20px; }
}
.column-eyecatch img{ width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; display: block; }
.column-figure{ margin: 32px 0; }
.column-figure img{ width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; display: block; }
.column-figure figcaption{ font-size: 12px; color: var(--color-text-soft); margin-top: 8px; text-align: center; }
.column-mid-cta{ margin: 48px 0 8px; padding: 18px 22px; border-radius: 12px; background: var(--color-bg-alt); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.column-mid-cta p{ margin: 0 !important; font-weight: 500; line-height: 1.8; }
.column-mid-cta a{ font-weight: 700; color: var(--color-brand-purple); text-decoration: none !important; white-space: nowrap; }

/* ============ CONTACT FORM SEND ============ */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 14px; color: #c0392b; text-align: center; }
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-thanks { padding: 48px 24px; text-align: center; border: 1px solid #e5e5e5; border-radius: 12px; }
.form-thanks h3 { font-size: 20px; margin-bottom: 16px; }
.form-thanks p { font-size: 15px; line-height: 1.9; }

/* ヘッダーの「サービス」：押すとトップのサービス一覧へ。キーボード操作でも下のメニューを開く */
.nav-item.has-sub:focus-within .sub-nav{ opacity: 1; visibility: visible; transform: translate(-50%, 0); }
#service{ scroll-margin-top: 90px; }

/* トップのサービス写真：横長(4:3)で控えめなサイズに */
.service-section--top .service-media{ flex: 0 0 34%; max-width: 380px; }
.service-section--top .service-photo{ aspect-ratio: 4 / 3; border-radius: 18px; }
.service-section--top .service-media::before{ inset: 16px -14px -14px 16px; border-radius: 22px; }
.service-section--top .service-block-reverse .service-media::before{ inset: 16px 16px -14px -14px; }
@media (max-width: 960px){
  .service-section--top .service-media{ flex: none; max-width: none; width: 100%; }
}

/* ===================================================================
   2026-10 見た目の調整（文字の折り返し・CTA・実績カード・統一感）
   =================================================================== */

/* 文字の折り返し：最後の1文字だけが次の行に落ちにくくする */
/* text-wrap は white-space:nowrap を打ち消すため、折り返し方だけを指定する text-wrap-style を使う */
p, li, dd, dt, h1, h2, h3, h4{ text-wrap-style: pretty; }
h1, h2, h3, .page-hero-title, .work-client, .work-title{ word-break: auto-phrase; }
.page-hero-title{ text-wrap-style: balance; }
.nowrap{ white-space: nowrap; }
.pc-only{ display: inline; }

/* ページ上部：タイトルの左寄せをそろえる */
.page-hero-content{ width: 100%; }

/* 見出しの英字（ABOUTなど）：文字の間を他のページと同じに */
.eyebrow-chars{ display: inline-block; }

/* トップのサービス名：他のページと同じゴシック体に */
#service .service-title-accent{
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 500;
  letter-spacing: .08em;
}

/* ヘッダーのお問い合わせ：控えめな枠付きボタン */
.header-cta{ align-items: center; }
.header-cta-link--primary{
  padding: 8px 20px;
  border: 1px solid var(--color-brand-purple);
  border-radius: 999px;
  color: var(--color-brand-purple);
  transition: background .2s ease, color .2s ease;
}
.header-cta-link--primary:hover{ background: var(--color-brand-purple); color: #fff; }

/* 下のお問い合わせ：CONTACTを少しだけ目立たせる */
.cta-button--primary{
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-accent) border-box;
}
.cta-button--primary .cta-en{
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 実績カードのタグ：色付きで読みやすく */
.work-tag{
  background: var(--grad-accent);
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  padding: 5px 12px;
}

/* 実績カードのロゴ：薄い背景と枠でそろえる */
.work-thumb:has(.work-thumb-img--logo){
  background: #fff;
  outline: 1px solid var(--color-line);
  outline-offset: -1px;
}
.work-thumb-img--logo{
  background: transparent;
  padding: 16% 22%;
}

/* 実績一覧：「もっと見る」 */
.work-card.is-over-limit{ display: none; }
.works-more{ text-align: center; margin-top: 48px; }
.works-more-btn{
  appearance: none;
  padding: 14px 48px;
  border: 1px solid var(--color-brand-purple);
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand-purple);
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.works-more-btn:hover{ background: var(--color-brand-purple); color: #fff; }

/* クリエイティブのスライド：矢印を画像の内側に、縦長の画像は切らずに表示 */
.service-slider-arrow{ width: 36px; height: 36px; background: rgba(255,255,255,.92); }
.service-slider-prev{ left: 8px; }
.service-slider-next{ right: 8px; }
.service-slide .work-thumb{ background: #15121d; }
.service-slide .work-thumb-img{ object-fit: contain; }
.service-media--slider{ flex-basis: 40%; max-width: 440px; }

/* 会社概要のMISSION/VISION/VALUE：押せることが分かるように */
.vision-tab{ position: relative; padding-left: 32px; }
.vision-tab::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-line);
  transition: width .25s ease, background .25s ease;
}
.vision-tab:hover::before{ background: var(--color-text-soft); }
.vision-tab.is-active::before{ width: 24px; background: var(--grad-accent); }

/* フッターのロゴ画像（白にして表示） */
.footer-logo img{
  display: block;
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 960px){
  .service-media--slider{ max-width: none; width: 100%; }
}

@media (max-width: 600px){
  .pc-only{ display: none; }

  /* ページ上部の大きな空白を減らす */
  .page-hero{ min-height: auto; padding-top: calc(var(--header-height) + 32px); }
  .page-hero-content{ padding-bottom: 32px; }
  .page-hero-title{ font-size: clamp(24px, 6.8vw, 34px); }

  /* フッターのメニューを2列に */
  .footer-nav{
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 4px 40px;
  }
  .footer-nav a{ white-space: nowrap; padding: 8px 0; }

  /* 見出しの英字が2行になっても点の位置がずれないように */
  .section-eyebrow{ font-size: 26px; letter-spacing: .06em; align-items: flex-start; }
  .section-eyebrow .dot{ margin-top: .45em; }

  .vision-tab{ font-size: 22px; letter-spacing: .06em; padding-left: 26px; }
  .vision-tab::before{ width: 14px; }
}

/* ============ 2026-10 本文の幅（PCで折り返しが短すぎる対策） ============ */
/* 写真・動画と同じ幅まで本文を広げる */
.work-detail-block{ max-width: none; }
.work-detail-block p{ font-size: 16px; line-height: 2; }
.work-detail-block p + p{ margin-top: 1.2em; }
.column-container{ max-width: 1000px; }
/* タイトルは均等割りにすると1行が短くなるため、PCでは通常の折り返しにする */
.page-hero-title{ text-wrap-style: pretty; }
@media (max-width: 600px){
  .page-hero-title{ text-wrap-style: balance; }
  .work-detail-block p{ font-size: 15px; }
}

/* ===================================================================
   2026-10 デザイン統一（Cygames公式サイトを参考にしたリデザイン）
   ・フォントは2種類だけ：日本語＝Noto Sans JP／英字見出し＝Montserrat
   ・余白・文字サイズ・角丸・ボタンはすべて下の変数（トークン）から使う
   ・白地＋黒文字を基本に、ブランドの紫は小さなアクセントだけに使う
   ここより上の古い指定はこのブロックで上書きしている。
   =================================================================== */
:root{
  --color-text: #111111;
  --color-text-soft: #5a5a64;
  --color-text-mute: #9a9aa4;
  --color-line: #e3e3e8;
  --color-bg-alt: #f5f5f7;
  --color-placeholder: #f2f2f5;
  --color-accent: #8266a9;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-heading: var(--font-jp);
  --font-en: "Montserrat", var(--font-jp);

  /* 文字サイズ */
  --fs-display: clamp(44px, 7.2vw, 104px);   /* 英字の大見出し（ABOUT・COMPANYなど） */
  --fs-h2: clamp(24px, 2.6vw, 34px);          /* 日本語の見出し */
  --fs-h3: clamp(19px, 1.8vw, 24px);          /* 小見出し */
  --fs-label: 14px;                           /* 英字見出しの下の日本語ラベル */
  --fs-body: 16px;                            /* 本文 */
  --fs-small: 13px;                           /* 補足・日付など */
  --lh-body: 2;
  --ls-body: .04em;

  /* 余白 */
  --container-width: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-section: clamp(96px, 11vw, 168px);  /* セクションの上下 */
  --space-title: clamp(48px, 5.5vw, 80px);    /* 見出しのまとまり → 中身 */
  --space-block: clamp(40px, 4.4vw, 64px);    /* 中身どうしの間 */
  --space-s: 24px;

  /* 形 */
  --radius: 6px;
  --radius-pill: 999px;
  --header-height: 80px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- 共通の土台 ---------- */
body{
  font-family: var(--font-jp);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text);
  background: #fff;
  font-feature-settings: "palt" 0;
}
.container{
  max-width: calc(var(--container-width) + var(--gutter) * 2);
  padding: 0 var(--gutter);
}
::selection{ background: var(--color-text); color: #fff; }

/* 装飾を減らしてすっきり見せる（Cygamesのような白地の余白重視） */
.ambient-bg,
.section-watermark,
.cursor-dot,
.film-grain{ display: none !important; }
.scroll-progress-bar{ height: 2px; background: var(--color-text); }
.gradient-text{
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--color-text);
}

/* 動きはふわっと控えめに */
.reveal{ transform: translateY(32px); transition-duration: .9s; }
.reveal-left{ transform: translateX(-40px); }
.reveal-right{ transform: translateX(40px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible{ transform: none; }

/* ---------- ヘッダー ---------- */
.site-header{
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled{
  background: #fff;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: var(--color-line);
}
.header-inner{ padding: 0 var(--gutter); gap: var(--space-s); }
.logo-img{ height: 28px; }
.main-nav .nav-list{ gap: clamp(24px, 2.6vw, 40px); }
.nav-item{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.nav-item > a, .nav-item-label{
  position: relative;
  display: inline-block;
  padding: 6px 0;
}
.nav-item > a::after, .nav-item-label::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-item > a:hover::after, .nav-item-label:hover::after{ transform: scaleX(1); transform-origin: left; }
.sub-nav{
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  padding: 16px 24px;
  font-weight: 500;
}
.sub-nav a:hover{ color: var(--color-accent); }
.header-cta{ gap: 12px; font-size: 13px; letter-spacing: .06em; font-weight: 700; }
.header-cta-link{
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  transition: background .25s ease, color .25s ease;
}
.header-cta-link:hover{ background: var(--color-text); color: #fff; }
.header-cta-link--primary{ background: var(--color-text); border-color: var(--color-text); color: #fff; }
.header-cta-link--primary:hover{ background: #fff; color: var(--color-text); }
.header-cta, .header-cta-link, .lang-switch{ flex-shrink: 0; white-space: nowrap; }
.nav-item > a, .nav-item-label{ white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1360px){
  .main-nav .nav-list{ gap: clamp(14px, 1.6vw, 24px); }
  .nav-item{ font-size: 13px; letter-spacing: .04em; }
  .header-cta{ gap: 8px; font-size: 12px; letter-spacing: .02em; }
  .header-cta-link{ padding: 0 14px; }
}

/* ---------- 英字の大見出し＋日本語ラベル（全ページ共通の見出しの形） ---------- */
.section{ padding: var(--space-section) 0; }
.section + .section{ padding-top: 0; }
.section-eyebrow{
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--color-text);
}
.section-eyebrow .dot{ display: none; }
.section-eyebrow + .section-heading,
.section-eyebrow + .section-sub{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-label);
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--color-accent);
  margin: 0 0 var(--space-title);
}
.section-eyebrow + .section-heading::before,
.section-eyebrow + .section-sub::before{
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
/* 日本語だけの見出し（お問い合わせフォーム など） */
.section-heading,
.section-sub,
.section-heading-center{
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.6;
  letter-spacing: .06em;
  margin-bottom: var(--space-block);
}
/* トップABOUTのキャッチ（見出し扱いのまま大きく） */
.section-eyebrow + .section-heading.section-catch{
  display: block;
  font-size: var(--fs-h2);
  color: var(--color-text);
  letter-spacing: .06em;
  line-height: 1.7;
  margin: 40px 0 var(--space-s);
}
.section-eyebrow + .section-heading.section-catch::before{ display: none; }
.section-lead{
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  margin-bottom: var(--space-block);
}

/* ---------- 下層ページの上部（ページタイトル） ---------- */
.page-hero{
  min-height: 0;
  max-height: none;
  padding: calc(var(--header-height) + clamp(56px, 8vw, 120px)) 0 0;
  align-items: flex-start;
}
.page-hero-content{ padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero-eyebrow{
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--color-text);
}
.page-hero-eyebrow::before{ display: none; }
.page-hero-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-label);
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--color-accent);
}
.page-hero-title::before{
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: currentColor;
}
/* 記事ページ（実績・ニュース・コラムの詳細）：英字は小さなラベル、タイトルを大きく */
.page-hero--article .page-hero-eyebrow{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.page-hero--article .page-hero-eyebrow::before{
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
}
.page-hero--article .page-hero-title{
  display: block;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--color-text);
}
.page-hero--article .page-hero-title::before{ display: none; }

/* ---------- トップのメインビジュアル ---------- */
.hero-catch{ padding: 0 var(--gutter) 20px; }
.hero-catch-line{
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 7.4vw, 112px);
  line-height: 1.04;
  letter-spacing: -.01em;
}
.hero-content{ padding: 0 var(--gutter) clamp(56px, 8vh, 96px); max-width: none; }
.hero-copy-jp{
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .1em;
}

/* ---------- 本文テキストのそろえ ---------- */
.about-body, .service-intro-text, .vision-text, .message-text,
.service-desc, .service-feature-desc p, .work-detail-block p, .legal-text, .legal-list li, .legal-lead,
.column-body p, .column-lead, .column-index-lead, .news-item-desc{
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
}
.service-desc, .service-feature-desc p, .work-detail-block p, .legal-text, .legal-list li, .legal-lead,
.column-lead, .column-index-lead, .news-item-desc{ color: var(--color-text-soft); }
.news-item-desc{ font-size: 14px; line-height: 1.9; }

/* ---------- TOP：ABOUT ---------- */
.about-top{ gap: clamp(40px, 6vw, 96px); margin-bottom: var(--space-block); }
.about-catch{
  font-weight: 700;
  font-size: var(--fs-h3);
  letter-spacing: .06em;
  margin-bottom: var(--space-s);
}
.about-body{ max-width: 860px; }
.about-emblem{ transform: none; }
.emblem-circle-label{ font-family: var(--font-en); font-weight: 700; }

/* ---------- サービス（写真＋文章の段） ---------- */
.service-block{
  gap: clamp(32px, 5vw, 80px);
  padding: var(--space-block) 0;
}
.service-block:first-of-type{ border-top: 1px solid var(--color-line); }
.service-media::before{ content: none; }
.service-photo,
.service-section--top .service-photo{
  border-radius: var(--radius);
  box-shadow: none;
}
.service-photo img{ transition: transform .8s var(--ease); }
.service-block:hover .service-photo img{ transform: scale(1.04); }
.service-section--top .service-media{ flex: 0 0 46%; max-width: 540px; }
.service-index{
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: .2em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.service-title,
.service-title-accent,
#service .service-title-accent{
  font-family: var(--font-en);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: var(--space-s);
}
/* サービス詳細ページ（キャスティング など日本語名の段）は一回り小さく */
.service-section:not(.service-section--top) .service-title{
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.service-desc{ margin-bottom: var(--space-s); }
.service-media-box{ border-radius: var(--radius); }
.service-slider-track{ border-radius: var(--radius); box-shadow: none; }
.service-slider-arrow{ box-shadow: 0 4px 12px rgba(0,0,0,.18); color: var(--color-text); }
.service-slider-dot.is-active{ background: var(--color-text); }
.service-slide .work-thumb-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(.6);
  transform: scale(1.2);
  z-index: 0;
}
.work-thumb-link{ display: block; }
.service-media--slider::before{ content: none; }
.service-support-tag{ background: var(--color-text); border-radius: var(--radius-pill); }
.service-sns-icon{ box-shadow: none; border: 1px solid var(--color-line); color: var(--color-text); }
.service-sns-icon:hover{ background: var(--color-text); color: #fff; box-shadow: none; }
.service-feature{ padding: var(--space-block) 0; }
.service-feature::before{ background: var(--color-text); }
.service-feature-num{
  font-family: var(--font-en);
  font-weight: 800;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--color-text);
  opacity: .16;
}
.service-feature-icon{ box-shadow: none; border: 1px solid var(--color-line); color: var(--color-text); }
.service-feature-title{ font-weight: 700; font-size: var(--fs-h3); }
.service-intro-section{ padding: 0 0 var(--space-section); }
.service-intro-grid{ gap: clamp(40px, 6vw, 96px); }
.service-intro-photo{ border-radius: var(--radius); box-shadow: none; flex-basis: 420px; }
.service-intro-photo::before{ content: none; }

/* ---------- ボタン（「〜はこちら」「サービス詳細」「もっと見る」など、すべて同じ形） ---------- */
.text-link,
.works-more-btn,
.column-cta-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  height: 56px;
  padding: 0 24px 0 32px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.text-link::after,
.text-link.link-draw::after,
.works-more-btn::after,
.column-cta-btn::after{
  content: "";
  position: static;
  flex: none;
  width: 8px;
  height: 8px;
  background: none;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.text-link:hover,
.works-more-btn:hover,
.column-cta-btn:hover{ background: var(--color-text); color: #fff !important; }
.text-link:hover::after,
.text-link.link-draw:hover::after,
.works-more-btn:hover::after,
.column-cta-btn:hover::after{ width: 8px; transform: translateX(4px) rotate(45deg); }
.column-cta-btn{ color: var(--color-text) !important; min-width: 0; }
.more-link-wrap{ margin-top: var(--space-block); }
.works-more{ margin-top: var(--space-block); }
.service-copy .more-link-wrap{ margin-top: var(--space-s); }

/* ---------- お取引先ロゴ ---------- */
.partner-marquee{ margin-bottom: 0; }
.partner-marquee .partner-logo,
.partner-logo-card{
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  box-shadow: none;
}
.partners-grid{ gap: 16px; margin-top: 0; }

/* ---------- 実績カード ---------- */
.works-grid{ gap: var(--space-block) clamp(20px, 2.4vw, 32px); margin-bottom: 0; }
.work-thumb{
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: var(--color-placeholder);
}
.work-card:hover .work-thumb{ transform: none; box-shadow: none; }
.work-card-link:hover .work-thumb-img,
.work-video-trigger:hover .work-thumb-img{ transform: scale(1.05); }
.work-tag{
  top: 0;
  left: 0;
  padding: 6px 12px;
  border-radius: 0 0 var(--radius) 0;
  background: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.work-thumb:has(.work-thumb-img--logo){ outline-color: var(--color-line); }
.work-title{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--color-text);
  margin-bottom: 10px;
}
.work-card-link:hover .work-title{ color: var(--color-accent); }
.work-client, .work-client-name, .work-cast{
  font-size: var(--fs-small);
  letter-spacing: .04em;
  line-height: 1.8;
}
.work-client span{ font-family: var(--font-en); font-weight: 700; }
.work-play-icon::before{ border-left-color: var(--color-text); }
.works-filter{ margin-bottom: var(--space-block); gap: 8px; }
.works-filter-btn{
  padding: 0 24px;
  height: 44px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-text);
}
.works-filter-btn:hover{ border-color: var(--color-text); }
.works-filter-btn.is-active{ background: var(--color-text); border-color: var(--color-text); box-shadow: none; }
.works-subfilter{ margin: calc(var(--space-block) * -0.6) 0 var(--space-block); }
.works-subfilter .works-filter-btn{ height: 36px; padding: 0 16px; }
.works-note{ margin: calc(var(--space-title) * -0.6) 0 var(--space-block); }

/* 実績の詳細ページ */
.work-detail-section{ padding-top: 0; }
.work-detail-media,
.news-detail-media{ border-radius: var(--radius); box-shadow: none; margin-bottom: var(--space-s); }
.work-detail-meta{ margin-bottom: var(--space-block); padding-bottom: var(--space-s); }
.work-detail-tag{ background: var(--color-text); border-radius: var(--radius-pill); font-weight: 700; }
.work-detail-block{ margin-bottom: var(--space-block); }
.work-detail-block h2{ font-weight: 700; font-size: var(--fs-h3); letter-spacing: .06em; }
.work-detail-cast-chip{ border: 1px solid var(--color-line); background: #fff; }
a.work-detail-cast-chip:hover{ background: var(--color-text); border-color: var(--color-text); }
.work-detail-back a, .work-detail-link a, .work-cast a{ color: var(--color-text); }
.work-detail-back a:hover, .work-detail-link a:hover, .work-cast a:hover{ color: var(--color-accent); }

/* ---------- ニュース一覧（日付＋タイトルの行） ---------- */
.news-list{ margin-bottom: 0; border-top-color: var(--color-text); }
.news-item-link{ gap: clamp(20px, 3vw, 40px); padding: 28px 0; transition: background .3s ease; }
.news-thumb{ flex-basis: 200px; border-radius: var(--radius); }
.news-item-date{
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: .08em;
  color: var(--color-text-mute);
  margin-bottom: 8px;
}
.news-item-title{
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  letter-spacing: .04em;
  margin-bottom: 8px;
  transition: color .25s ease;
}
.news-item-link:hover .news-item-title{ color: var(--color-accent); }

/* ---------- 会社概要 ---------- */
.vision-section{ padding: 0 0 var(--space-section); }
.vision-grid{ gap: clamp(40px, 6vw, 96px); }
.vision-headings{ border-left: 0; padding-left: 0; }
.vision-tab{
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: .01em;
  color: #cfcfd6;
}
.vision-tab:hover{ color: var(--color-text-soft); }
.vision-tab.is-active{ background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--color-text); }
.vision-tab.is-active::before{ background: var(--color-text); }
.vision-catch{ font-weight: 700; font-size: var(--fs-h2); letter-spacing: .06em; margin-bottom: var(--space-s); }
.value-item-title{ font-weight: 700; font-size: var(--fs-h3); }
.message-block{ gap: clamp(40px, 6vw, 96px); }
.message-photo{ border-radius: var(--radius); box-shadow: none; }
.message-photo::before{ content: none; }
.message-name{ font-weight: 700; font-size: var(--fs-h3); }
.profile-list{ margin-bottom: var(--space-block); }
.profile-row{ gap: 40px; padding: 24px 0; }
.profile-list .profile-row:first-child{ border-top-color: var(--color-text); }
.profile-row dt{ font-weight: 700; font-size: 15px; letter-spacing: .06em; flex-basis: 200px; }
.profile-row dd{ font-size: 15px; line-height: 1.9; }
.profile-photo{ border-radius: var(--radius); }
.profile-photo::before{ content: none; }

/* ---------- プライバシーポリシー ---------- */
.legal-section{ padding-top: 0; }
.legal-block-title{ font-weight: 700; font-size: var(--fs-h3); }

/* ---------- お問い合わせ・資料ダウンロードのフォーム ---------- */
.contact-form{ margin-top: 0; gap: 40px; }
.form-group label, .form-group-label{ font-family: var(--font-jp); font-weight: 700; font-size: 15px; }
.form-required{ background: var(--color-text); border-radius: 2px; font-weight: 700; }
.form-input, .form-textarea, .form-dropzone{ border-radius: var(--radius); border-color: #d4d4da; }
.form-input:focus, .form-textarea:focus{ border-color: var(--color-text); background: #fff; }
.form-dropzone:hover{ border-color: var(--color-text); background: var(--color-bg-alt); }
.checkbox-mark{ border-radius: 3px; border-color: #c4c4cc; }
.checkbox-item input:checked + .checkbox-mark{ background: var(--color-text); }
.form-submit{
  min-width: 280px;
  height: 64px;
  padding: 0 48px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  background: var(--color-text);
  box-shadow: none;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
}
.form-submit:hover{ transform: none; box-shadow: none; background: #fff; color: var(--color-text); }
.form-thanks{ border-radius: var(--radius); border-color: var(--color-line); }

/* ---------- コラム ---------- */
.column-toc, .column-mid-cta{ border-radius: var(--radius); background: var(--color-bg-alt); }
.column-body h2{ font-size: var(--fs-h3); border-left-color: var(--color-text); margin: var(--space-block) 0 20px; }
.column-body a, .column-mid-cta a{ color: var(--color-accent); }
.column-cta{ border-radius: var(--radius); background: var(--color-bg-alt); border: 0; padding: 40px; }
.column-tag{ border-radius: var(--radius-pill); }
.column-eyecatch img, .column-figure img{ border-radius: var(--radius); }
.column-thumb{ background: var(--color-text); }

/* ---------- ページ下のお問い合わせ（CONTACT / DOWNLOAD） ---------- */
.cta-section{ padding: var(--space-section) 0; border-top: 1px solid var(--color-line); }
.section + .cta-section{ padding-top: var(--space-section); }
.cta-lead{
  font-weight: 700;
  font-size: var(--fs-h3);
  letter-spacing: .08em;
  margin-bottom: var(--space-block);
}
.cta-buttons{ gap: 16px; }
.cta-button{
  position: relative;
  width: min(100%, 480px);
  padding: 44px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--color-text);
  background: #fff;
  box-shadow: none;
  text-align: left;
  transition: background .3s ease, color .3s ease;
}
.cta-button::after{
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: right .3s var(--ease);
}
.cta-button:hover{ transform: none; box-shadow: none; background: var(--color-text); color: #fff; border-color: var(--color-text); }
.cta-button:hover::after{ right: 32px; }
.cta-button--primary{ background: var(--color-text); color: #fff; border-color: var(--color-text); }
.cta-button--primary:hover{ background: #fff; color: var(--color-text); }
.cta-button--primary .cta-en{ background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }
.cta-en{
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.cta-ja{ font-size: 14px; font-weight: 700; letter-spacing: .08em; }

/* ---------- フッター ---------- */
.site-footer{ background: #111; padding: clamp(64px, 7vw, 96px) 0 32px; }
.footer-inner{ align-items: flex-start; gap: 40px; }
.footer-meta p{ font-size: var(--fs-small); color: #a8a8b0; line-height: 1.9; }
.footer-nav{ gap: 28px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; }
.footer-nav a{ transition: color .2s ease; }
.footer-nav a:hover{ color: #a8a8b0; }
.footer-copyright{
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid #2a2a2e;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: #77777f;
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 960px){
  .main-nav.is-open{ background: #fff; padding: 32px var(--gutter); }
  .main-nav.is-open .nav-list{ gap: 0; }
  .main-nav.is-open .nav-item{ font-size: 17px; border-bottom: 1px solid var(--color-line); padding: 14px 0; }
  .main-nav.is-open .nav-item > a::after, .main-nav.is-open .nav-item-label::after{ display: none; }
  .service-section--top .service-media{ flex: none; max-width: none; width: 100%; }
  .news-item-link{ padding: 24px 0; }
}
@media (max-width: 600px){
  :root{ --header-height: 64px; }
  .section-eyebrow, .page-hero-eyebrow{ font-size: clamp(38px, 11vw, 52px); letter-spacing: .01em; }
  .page-hero{ padding-top: calc(var(--header-height) + 48px); }
  .page-hero-content{ padding-bottom: 48px; }
  .page-hero--article .page-hero-title{ font-size: clamp(22px, 6.2vw, 28px); }
  .hero-catch-line{ font-size: clamp(36px, 11vw, 52px); }
  body{ font-size: 15px; }
  .about-body, .service-intro-text, .vision-text, .message-text,
  .service-desc, .service-feature-desc p, .work-detail-block p, .legal-text, .legal-list li, .legal-lead,
  .column-body p, .column-lead, .column-index-lead{ font-size: 15px; }
  .text-link, .works-more-btn{ min-width: 0; width: 100%; max-width: 340px; }
  .cta-button{ padding: 32px 28px; }
  .cta-button::after{ right: 28px; }
  .vision-tab{ font-size: 26px; }
  .profile-row{ padding: 18px 0; }
}
.page-hero + .section{ padding-top: 0; }
/* トップのキャッチも本文と同じ左端にそろえる */
.hero-text{
  width: 100%;
  max-width: calc(var(--container-width) + var(--gutter) * 2);
  margin: 0 auto;
}
.hero-catch-line{ font-size: clamp(40px, 6.2vw, 96px); }
/* キャッチが上から落ちてくるブロックに重ならないよう、少し下に下げる */
.hero-catch{ padding-bottom: 14px; }
.hero-content{ padding-bottom: clamp(20px, 3vh, 36px); }

/* ============ 数字で見るnicoichii（トップ） ============ */
.numbers-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-line);
}
.number-item{
  padding: var(--space-block) clamp(16px, 2vw, 32px);
  text-align: center;
}
.number-item + .number-item{ border-left: 1px solid var(--color-line); }
.number-icon{
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.number-value{
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
  line-height: 1.1;
}
.number-count{
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.number-unit{ font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.number-label{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--color-text-soft);
}
.number-note{
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-mute);
}
@media (max-width: 960px){
  .numbers-grid{ grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(3){ border-left: 0; }
  .number-item:nth-child(n+3){ border-top: 1px solid var(--color-line); }
}
@media (max-width: 600px){
  .number-item{ padding: 32px 8px; }
  .number-icon{ width: 40px; height: 40px; margin-bottom: 16px; }
  .number-count{ font-size: clamp(20px, 6vw, 26px); }
  .number-unit{ font-size: 12px; }
  .number-label{ font-size: 12px; }
}
.number-value{ flex-wrap: nowrap; white-space: nowrap; }
.number-count{ font-size: clamp(24px, 2.2vw, 34px); }
.number-label{ word-break: auto-phrase; }
@media (max-width: 600px){
  .number-count{ font-size: clamp(17px, 5vw, 22px); }
  .number-label br{ display: none; }
}
.numbers-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px){ .numbers-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.number-label{ word-break: keep-all; overflow-wrap: anywhere; }

/* ============ ヘッダーのロゴ：「ii」の2人が跳ねる・見つめ合う ============ */
.logo{ display: inline-flex; align-items: flex-end; }
.logo-mark{ display: inline-flex; align-items: flex-end; }
.logo-person, .logo-wordmark{ display: block; height: 28px; width: auto; }
.logo-person{ transform-origin: 50% 100%; will-change: transform; }
/* ページを開いたとき：左→右の順にぴょんと跳ねる */
.logo-person--l{ animation: logoHop .7s cubic-bezier(.3,.7,.4,1) .4s both; }
.logo-person--r{ animation: logoHop .7s cubic-bezier(.3,.7,.4,1) .58s both; }
/* マウスを乗せたとき：2人が顔を見合わせてから、一緒に跳ねる */
.logo:hover .logo-person--l{ animation: logoLookR 1s cubic-bezier(.3,.7,.4,1) both; }
.logo:hover .logo-person--r{ animation: logoLookL 1s cubic-bezier(.3,.7,.4,1) both; }
@keyframes logoHop{
  0%, 100%{ transform: translateY(0) scale(1, 1); }
  15%{ transform: translateY(0) scale(1.08, .9); }
  45%{ transform: translateY(-28%) scale(.95, 1.06); }
  75%{ transform: translateY(0) scale(1.06, .94); }
}
@keyframes logoLookR{
  0%{ transform: none; }
  30%{ transform: rotate(9deg); }
  55%{ transform: translateY(-22%) rotate(5deg); }
  80%{ transform: translateY(0) rotate(4deg); }
  100%{ transform: rotate(0); }
}
@keyframes logoLookL{
  0%{ transform: none; }
  30%{ transform: rotate(-9deg); }
  55%{ transform: translateY(-22%) rotate(-5deg); }
  80%{ transform: translateY(0) rotate(-4deg); }
  100%{ transform: rotate(0); }
}
@media (max-width: 600px){
  .logo-person, .logo-wordmark{ height: 24px; }
}

/* ============ ページ上部の読んだ量：ブロックが1つずつ積み上がる ============ */
.scroll-progress-bar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  gap: 2px;
  height: 8px;
  padding: 0 2px;
  background: none;
  transform: none !important;
  pointer-events: none;
}
.progress-block{
  flex: 1 1 0;
  height: 100%;
  border-radius: 0 0 2px 2px;
  background: var(--block-color);
  transform: translateY(-110%);
  transition: transform .25s cubic-bezier(.3,1.4,.5,1);
}
.progress-block.is-on{ transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .logo-person--l, .logo-person--r,
  .logo:hover .logo-person--l, .logo:hover .logo-person--r{ animation: none; }
  .progress-block{ transition: none; }
}

/* =====================================================================
   遊び心（2026-10-08）：六方よし／
   NEWバッジ／フォームのブロック／送信後のハイタッチ
   ===================================================================== */

/* ---------- トップのSERVICE：3つを横一列のカードに ---------- */
.service-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  list-style: none;
  margin: var(--space-block) 0 0;
  padding: 0;
}
.service-card-link{
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
}
.service-card-photo{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}
.service-card-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.service-card-link:hover .service-card-photo img{ transform: scale(1.05); }
.service-card-body{ display: flex; flex-direction: column; flex: 1; padding-top: 24px; }
.service-card-body .service-index{ margin-bottom: 8px; }
.service-card-title{
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 16px;
}
.service-card-desc{
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-sub, #555);
}
.service-card-more{
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.service-card-more::after{
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.service-card-link:hover .service-card-more::after{ transform: translateX(4px) rotate(45deg); }
@media (max-width: 900px){
  .service-cards{ grid-template-columns: 1fr; gap: 48px; }
  .service-card-photo{ aspect-ratio: 16 / 9; }
}

/* ---------- 会社概要：棒人間が6つのブロックを運んできて、横一列につながる ---------- */
.rokuho{
  --bw: 15%;      /* ブロック1つの幅 */
  --step: 17%;    /* ブロック同士の間隔（幅＋すき間） */
  --bh: clamp(48px, 5vw, 60px);
  --man: clamp(62px, 5.6vw, 72px);
  position: relative;
  width: min(100%, 640px);
  margin: 40px 0 8px;
}
.rokuho-title{
  position: absolute;
  bottom: calc(var(--bh) + 16px); left: 0; right: 0;
  z-index: 4;
  margin: 0;
  text-align: center;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: .2em;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(10px) scale(.8);
  transition: opacity .3s, transform .5s cubic-bezier(.3,1.6,.5,1);
}
.rokuho.is-joined .rokuho-title{ opacity: 1; transform: none; }
.rokuho-row{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  height: calc(var(--man) + var(--bh) + 8px);
  overflow: hidden;
  border-bottom: 2px solid var(--color-line);
}
.rokuho-item{ position: static; }
.rokuho-block{
  position: absolute;
  left: calc(var(--i) * var(--step));
  bottom: 0;
  z-index: 2;
  width: var(--bw);
  height: var(--bh);
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c);
  color: #fff;
  font-weight: 700;
  font-size: clamp(10px, 1.1vw, 13px);
  line-height: 1.3;
  text-align: center;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12);
  opacity: 0;
}
.rokuho-carrier{
  position: absolute;
  left: calc(var(--i) * var(--step) + var(--bw) / 2);
  bottom: 0;
  z-index: 3;
  width: calc(var(--man) * .56);
  height: var(--man);
  margin-left: calc(var(--man) * -.28);
  opacity: 0;
}
.rokuho-man{ display: block; width: 100%; height: 100%; overflow: visible; }
.rokuho-man circle{ fill: #2a2433; }
.rokuho-man path{ fill: none; stroke: #2a2433; stroke-width: 4; stroke-linecap: round; }
.rokuho-leg{ transform-origin: 20px 42px; }
/* 運ぶ動き：左から歩いてきて、ブロックを置き、くるっと向きを変えて帰る */
.rokuho.is-built .rokuho-carrier{ animation: rokuhoWalk 2.4s linear calc(var(--i) * .6s) both; }
.rokuho.is-built .rokuho-man{ animation: rokuhoTurn 2.4s steps(1) calc(var(--i) * .6s) both; }
.rokuho.is-built .rokuho-leg--a{ animation: rokuhoLeg .32s ease-in-out infinite alternate; }
.rokuho.is-built .rokuho-leg--b{ animation: rokuhoLeg .32s ease-in-out infinite alternate-reverse; }
.rokuho.is-built .rokuho-block{ animation: rokuhoCarry 2.4s linear calc(var(--i) * .6s) both; }
@keyframes rokuhoWalk{
  0%  { left: -12%; opacity: 1; }
  42% { left: calc(var(--i) * var(--step) + var(--bw) / 2); }
  58% { left: calc(var(--i) * var(--step) + var(--bw) / 2); }
  99% { opacity: 1; }
  100%{ left: -12%; opacity: 0; }
}
@keyframes rokuhoTurn{ 0%{ transform: none; } 55%{ transform: scaleX(-1); } }
@keyframes rokuhoLeg{ from{ transform: rotate(-22deg); } to{ transform: rotate(22deg); } }
@keyframes rokuhoCarry{
  0%  { left: calc(-12% - var(--bw) / 2); bottom: calc(var(--man) - 2px); opacity: 1; transform: rotate(-3deg); }
  20% { transform: rotate(3deg); }
  42% { left: calc(var(--i) * var(--step)); bottom: calc(var(--man) - 2px); transform: rotate(-2deg); }
  52% { bottom: 0; transform: scale(1.06, .9); }
  58% { bottom: 6px; transform: scale(.98, 1.03); }
  64% { bottom: 0; transform: none; }
  100%{ left: calc(var(--i) * var(--step)); bottom: 0; opacity: 1; transform: none; }
}
/* 全部置けたら、すき間が閉じて横一列につながる */
.rokuho.is-placed .rokuho-block{ animation: none; opacity: 1; }
.rokuho.is-placed .rokuho-carrier{ animation: none; opacity: 0; }
.rokuho.is-joined .rokuho-block{
  left: calc(var(--i) * 100% / 6);
  width: calc(100% / 6 + 1px);
  border-radius: 0;
  transition: left .5s cubic-bezier(.5,0,.3,1.3), width .5s cubic-bezier(.5,0,.3,1.3), border-radius .3s;
  animation: rokuhoShine .9s ease .45s both;
}
.rokuho.is-joined .rokuho-item:first-child .rokuho-block{ border-radius: 12px 0 0 12px; }
.rokuho.is-joined .rokuho-item:last-child .rokuho-block{ border-radius: 0 12px 12px 0; }
@keyframes rokuhoShine{ 0%,100%{ filter: none; } 40%{ filter: brightness(1.25); } }

/* ---------- 会社概要：代表の署名が筆記体でさっと書かれる（形は Great Vibes） ---------- */
.message-name--sign{ margin-top: 8px; line-height: 0; }
.signature{ display: block; width: clamp(220px, 24vw, 320px); height: auto; overflow: visible; }
.sig-text{ fill: #16131c; }
.sig-wipe{ transform-box: fill-box; transform-origin: 0 50%; }
.sig-swoosh{
  fill: none;
  stroke: #16131c;
  stroke-width: 22;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 4000);
  stroke-dashoffset: 0;
}
.message-name--sign.is-ready .sig-wipe{ transform: scaleX(0); }
.message-name--sign.is-ready .sig-swoosh{ stroke-dashoffset: var(--len, 4000); }
/* 左から右へ、ペンが走るように一気に */
.message-name--sign.is-signed .sig-wipe{ animation: sigWipe .85s cubic-bezier(.45,.05,.35,1) forwards; }
.message-name--sign.is-signed .sig-swoosh{ animation: sigSwoosh .3s cubic-bezier(.6,0,.2,1) .8s forwards; }
@keyframes sigWipe{ to{ transform: scaleX(1); } }
@keyframes sigSwoosh{ to{ stroke-dashoffset: 0; } }

/* ---------- ニュース・コラム：跳ねるNEW ---------- */
.new-badge{
  display: inline-flex;
  gap: 1px;
  margin-right: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #e8739a;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1;
  vertical-align: 2px;
}
.new-badge span{ display: inline-block; animation: newHop 2.4s cubic-bezier(.3,.7,.4,1) infinite; }
.new-badge span:nth-child(2){ animation-delay: .1s; }
.new-badge span:nth-child(3){ animation-delay: .2s; }
@keyframes newHop{ 0%,40%,100%{ transform: translateY(0); } 15%{ transform: translateY(-5px); } 28%{ transform: translateY(0) scale(1.1,.85); } }

/* ---------- フォーム：入力するとブロックが積み上がる ---------- */
.form-blocks{
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 150;
  width: min(760px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius, 12px);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-line, #e3e0ea);
  box-shadow: 0 10px 30px rgba(40,30,70,.14);
  transform: translate(-50%, 140%);
  transition: transform .45s cubic-bezier(.3,1.3,.5,1);
  pointer-events: none;
}
.form-blocks.is-shown{ transform: translate(-50%, 0); }
.form-blocks-row{ display: flex; gap: 5px; flex: 1; }
.form-block{
  flex: 1;
  height: 16px;
  border-radius: 4px;
  background: #efedf3;
  transition: background .3s;
}
.form-block.is-on{ background: var(--c); animation: formBlockIn .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes formBlockIn{ 0%{ transform: translateY(-14px) scale(.8); } 100%{ transform: none; } }
.form-blocks-label{ flex: none; font-size: 13px; font-weight: 700; color: var(--color-accent); min-width: 7.5em; text-align: right; }
.form-blocks.is-complete .form-block{ animation: formLine 1.2s ease both; animation-delay: calc(var(--i) * .05s); }
@keyframes formLine{
  0%{ filter: none; }
  30%{ background: #fff; box-shadow: 0 0 0 2px var(--c), 0 0 16px var(--c); }
  60%{ filter: brightness(1.15); box-shadow: 0 0 12px var(--c); }
  100%{ filter: none; box-shadow: none; }
}

/* ---------- お問い合わせ：送信後のハイタッチ ---------- */
.thanks-highfive{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;
  height: 120px;
  margin: 0 auto 24px;
}
.thanks-person{ height: 100px; width: auto; }
.thanks-person--l{ animation: hfLeft 1.2s cubic-bezier(.3,.7,.4,1) both; transform-origin: 50% 100%; }
.thanks-person--r{ animation: hfRight 1.2s cubic-bezier(.3,.7,.4,1) both; transform-origin: 50% 100%; }
@keyframes hfLeft{
  0%  { transform: translateX(-140px); opacity: 0; }
  30% { transform: translateX(-30px); opacity: 1; }
  55% { transform: translateX(-4px) translateY(-34px) rotate(12deg); }
  70% { transform: translateX(0) translateY(-30px) rotate(14deg); }
  100%{ transform: none; }
}
@keyframes hfRight{
  0%  { transform: translateX(140px); opacity: 0; }
  30% { transform: translateX(30px); opacity: 1; }
  55% { transform: translateX(4px) translateY(-34px) rotate(-12deg); }
  70% { transform: translateX(0) translateY(-30px) rotate(-14deg); }
  100%{ transform: none; }
}
.thanks-burst{ position: absolute; left: 50%; top: 10px; width: 0; height: 0; }
.thanks-burst i{
  position: absolute;
  width: 10px; height: 10px;
  margin: -5px;
  border-radius: 3px;
  opacity: 0;
  animation: hfBurst .8s ease-out .78s both;
}
.thanks-burst i:nth-child(1){ --x: -60px; --y: -30px; background: #8266a9; }
.thanks-burst i:nth-child(2){ --x: 60px;  --y: -30px; background: #5d9dcd; }
.thanks-burst i:nth-child(3){ --x: -40px; --y: -64px; background: #e8739a; }
.thanks-burst i:nth-child(4){ --x: 40px;  --y: -64px; background: #3fb593; }
.thanks-burst i:nth-child(5){ --x: 0;     --y: -80px; background: #f2b33d; }
.thanks-burst i:nth-child(6){ --x: -76px; --y: 4px;   background: #2e4a8c; }
.thanks-burst i:nth-child(7){ --x: 76px;  --y: 4px;   background: #ef7f52; }
.thanks-burst i:nth-child(8){ --x: 0;     --y: -44px; background: #8266a9; }
@keyframes hfBurst{
  0%  { transform: translate(0,0) scale(.4) rotate(0); opacity: 1; }
  100%{ transform: translate(var(--x), var(--y)) scale(1) rotate(180deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .rokuho-carrier{ display: none; }
  .message-name--sign.is-ready .sig-wipe{ transform: none; animation: none; }
  .message-name--sign.is-ready .sig-swoosh{ stroke-dashoffset: 0; animation: none; }
  .rokuho-block{ opacity: 1; }
  .new-badge span,
  .thanks-person, .thanks-burst i, .form-block.is-on, .form-blocks.is-complete .form-block{ animation: none; }
}

/* ---------- 実績の詳細ページ：前の実績／一覧に戻る／次の実績へ ---------- */
.work-pager{
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  align-items: stretch;
  gap: 16px;
  margin-top: var(--space-block, 48px);
  padding-top: var(--space-block, 48px);
  border-top: 1px solid var(--color-line);
}
.work-pager-link{
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color .3s, transform .3s var(--ease);
}
.work-pager-link:hover{ border-color: var(--color-text); transform: translateY(-2px); }
.work-pager-link--prev{ flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.work-pager-link--next{ background: #16131c; border-color: #16131c; color: #fff; }
.work-pager-link--next:hover{ border-color: var(--color-accent); }
.work-pager-thumb{ flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #333; }
.work-pager-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.work-pager-link--next:hover .work-pager-thumb img{ transform: scale(1.08); }
.work-pager-text{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.work-pager-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-accent);
}
.work-pager-link--next .work-pager-label{ color: #cbb8ec; }
.work-pager-link--next .work-pager-label::after{
  content: "";
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.work-pager-link--next:hover .work-pager-label::after{ transform: translateX(4px) rotate(45deg); }
.work-pager-link--prev .work-pager-label::before{
  content: "";
  width: 7px; height: 7px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}
.work-pager-title{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work-pager-list{
  display: grid;
  place-items: center;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-text);
  white-space: nowrap;
}
.work-pager-list:hover{ color: var(--color-accent); }
@media (max-width: 760px){
  .work-pager{ grid-template-columns: 1fr; }
  .work-pager-link--next{ order: -1; }
  .work-pager-list{ padding: 8px 0; }
}

/* ---------- トップ一番下：公式Instagram ---------- */
.ig-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: var(--space-block, 48px) 0 0;
  padding: 0;
}
.ig-grid a{ position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: #eee; }
.ig-grid img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.ig-grid a:hover img{ transform: scale(1.06); }
.ig-grid .ig-video::after{
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
.ig-follow{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--space-block, 48px);
  padding: 14px 28px 14px 16px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  transition: background .3s, color .3s;
}
.ig-follow:hover{ background: var(--color-text); color: #fff; }
.ig-follow .ig-logo{ width: 44px; height: 44px; flex: none; }
.ig-follow-text{ display: flex; flex-direction: column; gap: 2px; }
.ig-follow-name{ font-family: var(--font-en); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.ig-follow-sub{ font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .7; }
.footer-ig{ display: inline-flex; margin-top: 12px; }
.footer-ig .ig-logo{ width: 32px; height: 32px; transition: transform .3s var(--ease); }
.footer-ig:hover .ig-logo{ transform: scale(1.1) rotate(-6deg); }
@media (max-width: 760px){
  .ig-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}

/* ---------- 会社概要：ビジョン（高跳び）とバリュー（3つの場面）の棒人間 ---------- */
.scene svg{ display: block; width: 100%; height: auto; overflow: visible; }
.scene--vision{ max-width: 520px; margin-top: 32px; }
.scene--value{ max-width: 300px; margin-top: 12px; }
.sc-ground{ stroke: var(--color-line); stroke-width: 2; }
.sm path{ fill: none; stroke: #2a2433; stroke-width: 3.2; stroke-linecap: round; }
.sm circle{ fill: #2a2433; }
.sm-leg{ transform-origin: 0 -16px; }
.sm-arm{ transform-origin: 0 -32px; }
.sm-up{ transform-origin: 0 -16px; }
@keyframes smLeg{ from{ transform: rotate(-26deg); } to{ transform: rotate(26deg); } }
@keyframes smArmUpL{ to{ transform: rotate(100deg); } }
@keyframes smArmUpR{ to{ transform: rotate(-100deg); } }
.scene.is-play .sm-leg--a{ animation: smLeg .22s ease-in-out var(--steps, 6) alternate both; }
.scene.is-play .sm-leg--b{ animation: smLeg .22s ease-in-out var(--steps, 6) alternate-reverse both; }

/* ビジョン：助走して壁を跳び越え、着地すると花が咲く */
.sm--jumper{ transform: translate(20px, 130px); --steps: 6; }
.scene.is-play .sm--jumper{ animation: vJump 3.2s linear both; }
@keyframes vJump{
  0%  { transform: translate(20px, 130px); }
  40% { transform: translate(150px, 130px); animation-timing-function: ease-in; }
  46% { transform: translate(160px, 130px) scale(1.1, .8); animation-timing-function: ease-out; }
  62% { transform: translate(208px, 46px) rotate(18deg); animation-timing-function: ease-in; }
  78% { transform: translate(262px, 130px) rotate(0); }
  82% { transform: translate(266px, 130px) scale(1.15, .8); }
  88%, 100% { transform: translate(270px, 130px); }
}
.scene.is-play .sm--jumper .sm-arm--l{ animation: smArmUpL .3s ease-out 2.75s both; }
.scene.is-play .sm--jumper .sm-arm--r{ animation: smArmUpR .3s ease-out 2.75s both; }
.sc-stem{ stroke: #3fb593; stroke-width: 3; stroke-linecap: round; fill: none; }
.sc-flower-in{ transform: scale(0); transform-origin: 0 0; }
.scene.is-play .sc-flower-in{ animation: scPop .45s cubic-bezier(.3,1.7,.5,1) calc(2.75s + var(--i) * .15s) both; }
@keyframes scPop{ from{ transform: scale(0); } to{ transform: scale(1); } }

/* バリュー①：高いところのブロックへジャンプしてつかみ取る */
.sm--grab{ transform: translate(150px, 100px); }
.scene.is-play .sm--grab{ animation: vGrab 2.6s linear both; }
@keyframes vGrab{
  0%, 22% { transform: translate(150px, 100px); }
  30% { transform: translate(150px, 100px) scale(1.12, .8); animation-timing-function: ease-out; }
  50% { transform: translate(150px, 56px); animation-timing-function: ease-in; }
  68% { transform: translate(150px, 100px); }
  74% { transform: translate(150px, 100px) scale(1.1, .85); }
  82%, 100% { transform: translate(150px, 100px); }
}
.scene.is-play .sm--grab .sm-arm--l{ animation: smArmUpL .25s ease-out .8s both; }
.scene.is-play .sm--grab .sm-arm--r{ animation: smArmUpR .25s ease-out .8s both; }
.sc-prize{ transform: translate(150px, 18px); }
.scene.is-play .sc-prize{ animation: vPrize 2.6s linear both; }
@keyframes vPrize{
  0%  { transform: translate(150px, 18px) rotate(0); }
  20% { transform: translate(150px, 12px) rotate(-6deg); }
  40% { transform: translate(150px, 18px) rotate(4deg); }
  50% { transform: translate(150px, 13px) rotate(0); animation-timing-function: ease-in; }
  68%, 100% { transform: translate(150px, 45px); }
}

/* バリュー②：2人で歩き、1人がぴょんと一歩前に出て振り返り、手招きする */
.sm--walkA{ transform: translate(20px, 100px); --steps: 7; }
.sm--lead{ transform: translate(50px, 100px); --steps: 7; }
.scene.is-play .sm--walkA{ animation: vWalkA 3s linear both; }
.scene.is-play .sm--lead{ animation: vLead 3s linear both; }
@keyframes vWalkA{ 0%{ transform: translate(20px, 100px); } 50%, 100%{ transform: translate(105px, 100px); } }
@keyframes vLead{
  0%  { transform: translate(50px, 100px); }
  50% { transform: translate(135px, 100px); animation-timing-function: ease-out; }
  58% { transform: translate(152px, 82px); animation-timing-function: ease-in; }
  66% { transform: translate(172px, 100px) scale(1.1, .85); }
  72% { transform: translate(175px, 100px); }
  76%, 100% { transform: translate(175px, 100px) scale(-1, 1); }
}
@keyframes smBeckon{ from{ transform: rotate(-70deg); } to{ transform: rotate(-120deg); } }
.scene.is-play .sm--lead .sm-arm--r{ animation: smBeckon .22s ease-in-out 2.35s 6 alternate both; }

/* バリュー③：ブロックを渡されて、ぺこりとおじぎする */
.sm--bow{ transform: translate(80px, 100px); }
.sm--giver{ transform: translate(260px, 100px) scale(-1, 1); --steps: 6; }
.scene.is-play .sm--giver{ animation: vGiver 3s linear both; }
@keyframes vGiver{
  0%  { transform: translate(260px, 100px) scale(-1, 1); }
  42%, 52% { transform: translate(118px, 100px) scale(-1, 1); }
  56% { transform: translate(118px, 100px) scale(1, 1); }
  100%{ transform: translate(250px, 100px) scale(1, 1); }
}
.scene.is-play .sm--giver .sm-arm--l{ animation: smArmUpL .01s linear both; }
.scene.is-play .sm--giver .sm-arm--r{ animation: smArmUpR .01s linear both; }
.sc-gift{ transform: translate(260px, 56px); }
.scene.is-play .sc-gift{ animation: vGift 3s linear both; }
@keyframes vGift{
  0%  { transform: translate(260px, 56px); }
  42% { transform: translate(118px, 56px); }
  52% { transform: translate(96px, 72px); }
  100%{ transform: translate(96px, 72px); }
}
.scene.is-play .sm--bow .sm-up{ animation: vBow 1.2s ease-in-out 1.7s both; }
@keyframes vBow{ 0%, 100%{ transform: rotate(0); } 30%, 70%{ transform: rotate(38deg); } }

@media (prefers-reduced-motion: reduce){
  .scene *{ animation: none !important; }
  .sc-flower-in{ transform: none; }
}
/* ============ スマホのメニュー：タップで確実に全画面で開く ============ */
@media (max-width: 960px){
  .nav-toggle{
    position: relative;
    width: 44px; height: 44px;
    margin-right: -6px;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 2;
  }
  .nav-toggle span{ width: 26px; transition: transform .3s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  html.nav-open, html.nav-open body{ overflow: hidden; }
  html.nav-open .site-header{ z-index: 10000; background: #fff; border-bottom-color: var(--color-line); }
  html.nav-open .form-blocks{ visibility: hidden; }

  .main-nav.is-open{
    position: fixed;
    top: var(--header-height); left: 0; right: 0; bottom: auto;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
    animation: navIn .25s ease both;
  }
  /* タップ時のホバー／フォーカスでサブメニューが横にずれないよう固定する */
  .main-nav.is-open .nav-item.has-sub:hover .sub-nav,
  .main-nav.is-open .nav-item.has-sub:focus-within .sub-nav{ transform: none; opacity: 1; visibility: visible; }
  .main-nav.is-open .sub-nav{ border: 0; background: transparent; }
  .main-nav.is-open .sub-nav a{ display: block; padding: 6px 0; font-size: 15px; }
  .main-nav.is-open .nav-item > a, .main-nav.is-open .nav-item-label{ display: block; }

  .nav-cta{ display: grid; gap: 12px; margin-top: 28px; padding-bottom: 24px; }
  .nav-cta a{
    display: block; text-align: center; padding: 15px 16px; border-radius: 999px;
    font-size: 15px; font-weight: 700; letter-spacing: .08em;
    border: 1.5px solid var(--color-text); color: var(--color-text);
  }
  .nav-cta a.nav-cta--primary{ background: var(--color-text); color: #fff; }
}
@media (min-width: 961px){ .nav-cta{ display: none; } }
@keyframes navIn{ from{ opacity: 0; transform: translateY(-8px); } to{ opacity: 1; transform: none; } }
/* ============ スマホ：会社情報の項目名と内容の間の余白を詰める ============ */
@media (max-width: 960px){
  .profile-row{ gap: 6px; }
  .profile-row dt{ flex-basis: auto; }
}
/* ============ 言語の切り替え（JP / EN） ============ */
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-switch > *{
  display: inline-block;
  min-width: 32px;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  line-height: 1;
}
.lang-switch-current{ background: var(--color-text); color: #fff; }
.lang-switch-link{ color: #77777f; transition: color .2s ease, background-color .2s ease; }
.lang-switch-link:hover, .lang-switch-link:focus-visible{ color: var(--color-text); background: rgba(0,0,0,.05); }
@media (max-width: 960px){
  .header-right{ gap: 12px; }
  .lang-switch{ font-size: 11px; }
  .lang-switch > *{ min-width: 28px; padding: 6px 7px; }
}
/* 英語版：日本語用の詰めた字間をゆるめ、単語の途中で折り返さない */
html[lang="en"] body{ word-break: normal; overflow-wrap: break-word; line-break: auto; }

/* ---------- トップのSERVICE：4つ目（KIRIBUZZ）を横長で（2026-10-26） ---------- */
.service-feature{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
}
.service-feature-photo{ aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.service-feature-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.service-feature:hover .service-feature-photo img{ transform: scale(1.05); }
.service-feature-body{ display: flex; flex-direction: column; }
.service-feature-body .service-index{ margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.service-feature-new{ font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 3px 8px; border: 1px solid currentColor; line-height: 1; }
.service-feature-body .service-card-title{ margin-bottom: 8px; }
.service-feature-sub{ margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.service-feature:hover .service-card-more::after{ transform: translateX(4px) rotate(45deg); }
@media (max-width: 900px){
  .service-feature{ grid-template-columns: 1fr; gap: 24px; }
  .service-feature-photo{ aspect-ratio: 16 / 9; }
}
/* KIRIBUZZのサービスページ：写真のない説明ブロック */
.service-block--text .service-copy{ max-width: 760px; }

/* ============ 高級感の演出（ソニーのサイトを参考、社長10/28） ============
   1. トップのキャッチが左から「スッ」と出てくる（文字を隠した枠が開く）
   2. キャッチの下にハッシュタグ型のサービスタグを並べる
   3. 見出しも横から静かに出てくる。余白と細い線で落ち着いた印象に
   ========================================================== */
.hero-catch, .hero-content{ opacity: 1; transform: none; animation: none; }
.hero-catch-line, .hero-copy-jp{
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-48px);
  opacity: 0;
  animation: luxSlideIn 1.4s cubic-bezier(.19,1,.22,1) .35s forwards;
}
.hero-copy-jp{ animation-delay: .75s; }
@keyframes luxSlideIn{
  from{ clip-path: inset(0 100% 0 0); transform: translateX(-48px); opacity: 0; }
  to{ clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 1; }
}

/* 見出し：下からではなく、横から静かに出てくる
   （画面に入ったかの判定は見出し自身で行うため、見出し自身は隠し切らず、
   左の細い線が伸びてから文字がスッと出る） */
.section-heading.reveal{
  transform: translateX(-40px);
  transition: opacity 1.2s cubic-bezier(.19,1,.22,1), transform 1.4s cubic-bezier(.19,1,.22,1);
  transition-delay: var(--reveal-delay, .1s);
}
.section-heading.reveal.is-visible{ transform: translateX(0); }
.section-eyebrow + .section-heading.reveal::before{
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.19,1,.22,1) .1s;
}
.section-eyebrow + .section-heading.reveal.is-visible::before{ transform: scaleX(1); }
.reveal .section-heading,
.reveal .section-catch,
.reveal .service-card-title{
  clip-path: inset(0 100% 0 0);
  transform: translateX(-40px);
  transition: clip-path 1.4s cubic-bezier(.19,1,.22,1), transform 1.4s cubic-bezier(.19,1,.22,1);
  transition-delay: calc(var(--reveal-delay, 0s) + .25s);
}
.reveal.is-visible .section-heading,
.reveal.is-visible .section-catch,
.reveal.is-visible .service-card-title{
  clip-path: inset(0 0 0 0);
  transform: translateX(0);
}
/* 下層ページのタイトルも左から */
.page-hero-title{
  animation: luxSlideIn 1.4s cubic-bezier(.19,1,.22,1) .2s both;
}

@media (prefers-reduced-motion: reduce){
  .hero-catch-line, .hero-copy-jp, .page-hero-title,
  .section-heading.reveal, .reveal .section-heading, .reveal .section-catch, .reveal .service-card-title,
  .section-eyebrow + .section-heading.reveal::before{
    clip-path: none; transform: none; opacity: 1; animation: none; transition: none;
  }
}

/* トップのお知らせは写真なし・文字だけ（社長10/28） */
.news-section--text .news-thumb{ display: none; }

/* KIRIBUZZ STUDIOのページ：内容が短いので余白を詰める（社長10/28「余白が広い」） */
.page-compact .service-intro-section{ padding-bottom: clamp(48px, 6vw, 72px); }
.page-compact .service-section{ padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.page-compact .service-block{ padding: clamp(28px, 3.5vw, 40px) 0; }
.page-compact .cta-section{ padding: clamp(56px, 7vw, 88px) 0; }
.page-compact .cta-button{ width: min(100%, 360px); }
.service-support a{ text-decoration: underline; text-underline-offset: 3px; }
.page-compact .service-intro-photo{ aspect-ratio: auto; height: auto; background: transparent; }
.page-compact .service-intro-photo img{ aspect-ratio: auto; height: auto; object-fit: contain; }

/* ============ KIRIBUZZ・STUDIOの紹介画像：スマホの画面で動画がずっと流れる（社長10/28） ============ */
.service-feature-photo{ position: relative; }
.kb-stage{
  position: absolute;
  inset: 0;
  container-type: size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, var(--font-jp);
}
.kb-stage--light{ background: #F5F5F7; }
.kb-stage--dark{ background: #1b1b1b; }
/* 余白は子要素側で指定（cqhは自分の外枠ではなく、親の箱を基準にするため） */
.kb-stage > * + *{ margin-top: 5cqh; }
.kb-stage--dark > * + *{ margin-top: 4cqh; }
.kb-stage-logo{ height: 11cqh; width: auto; max-width: 70cqw; }
.kb-phones{ display: flex; align-items: center; gap: 3cqw; }
.kb-phone{
  position: relative;
  height: min(62cqh, 55cqw);
  aspect-ratio: 9 / 18;
  padding: 1.1cqh;
  border-radius: 4.4cqh;
  background: #111;
  box-shadow: 0 2.4cqh 5cqh rgba(0,0,0,.18);
  box-sizing: border-box;
}
.kb-phone--main{ height: min(72cqh, 64cqw); border: .5cqh solid #FF2D55; }
.kb-phone video{ display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3.3cqh; background: #222; }
.kb-stage--dark .kb-phones{ gap: 2.4cqw; }
.kb-stage--dark .kb-phone{ height: min(50cqh, 44cqw); background: #fafafa; }
.kb-stage--dark .kb-phone--main{ height: min(58cqh, 52cqw); background: #FF2D55; border: 0; }
.kb-sub{
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 14%;
  height: 4%;
  border-radius: 99px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 .3cqh rgba(0,0,0,.35);
}
.kb-stage-head{ display: flex; align-items: center; gap: 2.4cqh; color: #fafafa; }
.kb-stage-icon{
  width: 9cqh; height: 9cqh; border-radius: 2.2cqh; background: #FF2D55; position: relative; flex: none;
}
.kb-stage-icon::after{
  content: ""; position: absolute; left: 36%; top: 27%;
  border-style: solid; border-width: 2.2cqh 0 2.2cqh 3.4cqh; border-color: transparent transparent transparent #fff;
}
.kb-stage-word{ font-size: 7.5cqh; font-weight: 900; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.kb-stage-word b{ font-weight: 900; }
.kb-stage-word .r{ color: #FF2D55; }
.kb-stage-word i{ font-style: normal; font-weight: 700; font-size: .62em; letter-spacing: .3em; margin-left: .3em; }
.kb-timeline{
  position: relative; display: flex; gap: 1cqw; width: 62cqw; height: 4.4cqh; padding: .8cqh;
  border: .35cqh solid #fafafa; border-radius: 1.2cqh; box-sizing: border-box;
}
.kb-timeline span{ flex: 1; border-radius: .6cqh; background: #3a3a3a; }
.kb-timeline span:nth-child(2){ background: #FF2D55; }
.kb-timeline em{
  position: absolute; top: -.8cqh; bottom: -.8cqh; width: .5cqh; background: #fafafa; left: 4%;
  animation: kbPlayhead 6s linear infinite;
}
@keyframes kbPlayhead{ from{ left: 3%; } to{ left: 96%; } }
@media (prefers-reduced-motion: reduce){ .kb-timeline em{ animation: none; } }
.page-compact .service-intro-photo:has(.kb-stage){ aspect-ratio: 4 / 3; }
.kb-stage .kb-stage-logo{ width: auto; height: 11cqh; object-fit: contain; transform: none; }

/* ---------- KIRIBUZZとKIRIBUZZ STUDIOを横に2つ並べる（社長10/31） ---------- */
.service-feature-pair{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--color-line);
}
.service-feature-pair .service-feature{
  grid-template-columns: 1fr;
  align-items: start;
  align-content: start;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
}
.service-feature-pair .service-feature:hover{ padding-left: 0; }
.service-feature-pair .service-feature::before{ display: none; }
.service-feature-pair .service-feature-photo{ aspect-ratio: 16 / 10; }
.service-feature-pair + .more-link-wrap{ margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px){
  .service-feature-pair{ grid-template-columns: 1fr; gap: 56px; }
  .service-feature-pair .service-feature-photo{ aspect-ratio: 16 / 10; }
}
