@charset "UTF-8";
/* ==========================================================================
   home.css — トップページ固有
   並び：ローディング → FV → 各セクション（PHILOSOPHY → SERVICES → TEMPLATES → NUMBERS → NEWS → COMPANY）
   ========================================================================== */

/* ---------- ローディング ---------- */
.loader, .loader-logo { display: none; }

.has-loader { overflow: hidden; }
.has-loader:not(.is-loader-out) .site-header { opacity: 0; }
.has-loader .site-header__logo { visibility: hidden; }

.has-loader .loader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-accent);
  transition: transform 1s var(--ease-io);
}
.loader.is-out { transform: translateY(-101%); }

.loader__status {
  position: absolute;
  left: var(--m); right: var(--m); top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: .24em;
}
.loader__pct { font-size: 28px; font-weight: 700; letter-spacing: 0; color: var(--c-accent); font-variant-numeric: tabular-nums; }

.loader__year { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); display: flex; justify-content: center; }
.loader__num { position: relative; font-size: 30vw; font-weight: 700; line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.loader__num span { display: block; }
.loader__num-outline { color: transparent; -webkit-text-stroke: 1.5px var(--c-line-2); }
.loader__num-fill {
  position: absolute;
  inset: 0;
  color: var(--c-accent);
  clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0);
  transition: clip-path .15s linear;
}

.loader__line { position: absolute; left: var(--m); right: var(--m); bottom: 112px; height: 1px; background: var(--c-line-2); }
.loader__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform .15s linear;
}
.loader__ticks { position: absolute; left: var(--m); right: var(--m); bottom: 78px; display: flex; justify-content: space-between; }
.loader__tick {
  width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--c-dim);
  white-space: nowrap;
  transition: color .2s;
}
.loader__tick::before { content: ""; width: 1px; height: 10px; background: currentColor; }
.loader__tick.is-on { color: var(--c-accent); }

.has-loader .loader-logo {
  display: block;
  position: fixed;
  left: 0; top: 0;
  z-index: 101;
  width: 56px; height: 56px;
  color: var(--c-text);
  will-change: transform;
}
.loader-logo svg { width: 100%; height: 100%; }

@media (max-width: 768px) {
  .loader__pct { font-size: 20px; }
  .loader__num { font-size: 33vw; }
  .loader__line { bottom: 96px; }
  .loader__ticks { bottom: 62px; }
  .loader__tick { font-size: 10px; }
  .loader__tick:not(.is-major) { font-size: 0; }
  .has-loader .loader-logo { width: 40px; height: 40px; }
}

/* ---------- FV ---------- */
.fv {
  position: relative;
  min-height: max(100svh, 680px);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(24px, 5vh, 64px));
  overflow: hidden;
}
.fv__body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 0 var(--m);
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform .9s var(--ease-out);
}
.fv__copy { display: flex; flex-direction: column; gap: 28px; }

.fv__label { min-height: 1.8em; font-size: 12px; line-height: 1.8; letter-spacing: .24em; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.fv__label [data-decode] { display: inline-block; white-space: pre; }

.fv__title { font-size: clamp(52px, 9.2vw, 140px); font-weight: 700; line-height: .92; letter-spacing: -.04em; }
.fv__line { display: block; }
.fv__line--accent { position: relative; display: inline-block; color: var(--c-accent); }
.fv__bar {
  position: absolute;
  left: -4px; right: -4px; top: 6%; bottom: 2%;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .38s var(--ease-snap);
}
.js .fv__line--1 .char > span { transform: translateY(110%); transition: transform .75s var(--ease-out) calc(var(--i) * 32ms); }
.js .fv__line--accent .fv__text { opacity: 0; }
.fv.is-intro-1 .fv__line--1 .char > span { transform: none; }
.fv.is-intro-2 .fv__bar { transform: scaleX(1); }
.fv.is-intro-3 .fv__bar { transform: scaleX(0); transform-origin: right center; }
.fv.is-intro-3 .fv__line--accent .fv__text { opacity: 1; }

.fv__lead { font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; letter-spacing: .06em; }
.fv__lead .char { overflow: visible; }
.js .fv__lead .char > span { opacity: 0; filter: blur(10px); transition: opacity .6s ease calc(var(--i) * 45ms), filter .7s ease calc(var(--i) * 45ms); }
.fv.is-intro-3 .fv__lead .char > span { opacity: 1; filter: none; }

.fv__ten { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; user-select: none; -webkit-tap-highlight-color: transparent; }
.fv__ten svg { width: clamp(120px, 16vw, 230px); height: auto; overflow: visible; }
.fv__ten text {
  font-family: var(--font-en);
  font-size: 230px;
  font-weight: 700;
  letter-spacing: -8px;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.5;
  stroke-dasharray: 1200;
  stroke-dashoffset: 0;
}
.js .fv__ten text { stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); }
.fv.is-intro-1 .fv__ten text { stroke-dashoffset: 0; }
.fv__ten-cap { font-size: 11px; letter-spacing: .24em; color: var(--c-gray); }
.js .fv__ten-cap { opacity: 0; transition: opacity .6s ease .6s; }
.fv.is-intro-3 .fv__ten-cap { opacity: 1; }

/* FVの流れる列 */
.reel { --gap: 24px; margin-top: auto; padding-top: clamp(40px, 6vh, 72px); }
.reel__label { padding: 0 var(--m); margin-bottom: 12px; font-size: 11px; letter-spacing: .24em; color: var(--c-gray); }
.js .reel__label { opacity: 0; transition: opacity .6s ease .3s; }
.fv.is-intro-4 .reel__label { opacity: 1; }
.reel__stage { perspective: 1400px; overflow: hidden; padding-top: 16px; }
.reel__tilt { transform-origin: center bottom; transform: rotateX(14deg) rotateY(var(--ry, 0deg)); transition: transform 1.3s var(--ease-out), opacity .5s; }
.js .reel__tilt { transform: translateY(160px) rotateX(70deg); opacity: 0; }
.fv.is-intro-4 .reel__tilt { transform: rotateX(14deg) rotateY(var(--ry, 0deg)); opacity: 1; }

.reel__track { display: flex; gap: var(--gap); width: max-content; animation: reel 70s linear infinite; }
.js .reel__track { animation-play-state: paused; }
.fv.is-intro-4 .reel__track { animation-play-state: running; }
.is-menu-open .fv .reel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

.reel__card { width: clamp(210px, 23.6vw, 340px); display: flex; flex-direction: column; gap: 10px; }
.js .reel__card { transform: translateY(80px); transition: transform 1s var(--ease-out) calc(min(var(--i), 7) * 70ms); }
.fv.is-intro-4 .reel__card { transform: none; }
.reel__frame { aspect-ratio: 16 / 10; display: flex; flex-direction: column; overflow: hidden; background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 10px; }
.reel__frame img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; }
.reel__dots { flex: none; display: flex; gap: 5px; padding: 8px 10px; background: var(--c-bg-2); }
.reel__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-line-2); }
.reel__card figcaption { font-size: 11px; letter-spacing: .18em; color: var(--c-mute); }

@media (max-width: 768px) {
  .reel { --gap: 14px; }
  .fv__copy { gap: 18px; }
  .fv__ten { margin-left: auto; }
}
@media (max-width: 480px) {
  .fv { min-height: max(100svh, 640px); }
  .fv__label { font-size: 11px; letter-spacing: .16em; }
  .fv__title { font-size: 15vw; }
}


/* ---------- 01 PHILOSOPHY（スクロール連動：--focus / .is-lit / --draw） ---------- */
.philo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: 20px;
}
.philo__head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
}
.js .philo__head {
  opacity: calc(.25 + var(--focus, 1) * .75);
  filter: blur(calc((1 - var(--focus, 1)) * 14px));
  letter-spacing: calc(.02em + (1 - var(--focus, 1)) * .3em);
}
.philo__body { display: flex; flex-direction: column; gap: 6px; font-size: clamp(15px, 1.15vw, 17px); line-height: 2.1; color: var(--c-sub); }
.philo__gap { display: block; height: 18px; }
.js .philo__body p { color: var(--c-line-2); transition: color .45s ease; }
.js .philo__body p.is-lit { color: var(--c-text); }

.stances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.stance { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); }
.stance { border: 1px solid var(--c-line); }
.stance__edge { position: absolute; background: var(--c-accent); pointer-events: none; }
.stance__edge--t { left: -1px; right: -1px; top: -1px; height: 1.5px; transform-origin: left;   transform: scaleX(clamp(0, calc(var(--draw, 1) * 4), 1)); }
.stance__edge--r { top: -1px; bottom: -1px; right: -1px; width: 1.5px; transform-origin: top;    transform: scaleY(clamp(0, calc(var(--draw, 1) * 4 - 1), 1)); }
.stance__edge--b { left: -1px; right: -1px; bottom: -1px; height: 1.5px; transform-origin: right; transform: scaleX(clamp(0, calc(var(--draw, 1) * 4 - 2), 1)); }
.stance__edge--l { top: -1px; bottom: -1px; left: -1px; width: 1.5px; transform-origin: bottom;  transform: scaleY(clamp(0, calc(var(--draw, 1) * 4 - 3), 1)); }
.stance__no { font-size: 13px; letter-spacing: .2em; color: var(--c-accent); }
.stance h3 { font-size: clamp(22px, 2vw, 28px); }
.stance p { font-size: 15px; line-height: 1.9; color: var(--c-gray); }

@media (max-width: 768px) {
  .philo__grid, .stances { grid-template-columns: minmax(0, 1fr); }
  .philo__head { position: static; }
  .philo__body p { font-size: 15px; }
}

/* ---------- 02 SERVICES ---------- */
.svc-main {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--c-accent);
  color: var(--c-on-accent);
  text-decoration: none;
}
.js .svc-main { clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); transition: clip-path 1.1s var(--ease-io); }
.svc-main.is-inview { clip-path: inset(0); }
.js .svc-main > div { opacity: 0; transform: translateY(16px); transition: opacity .6s ease .7s, transform .8s var(--ease-out) .7s; }
.svc-main.is-inview > div { opacity: 1; transform: none; }
.svc-main__head { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.svc-main__no { font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.svc-main__title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; }
.svc-main__body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; z-index: 1; font-size: 15px; line-height: 2; }
/* 「見る」はクリックできることが伝わるよう、黒いボタンにする */
.svc-main__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 8px 0 26px;
  background: var(--c-on-accent);
  color: var(--c-accent);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: padding .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.svc-main__go {
  position: relative;
  flex: none;
  width: 40px; height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-on-accent);
}
.svc-main__arrow { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; transition: transform .5s var(--ease-out); }
.svc-main__arrow--next { transform: translateX(-100%); }
/* 背景の飾り文字：輪郭だけの大きな「Web design.」 */
.svc-main__deco {
  position: absolute;
  right: -.04em; bottom: -.22em;
  font-family: var(--font-en);
  font-size: clamp(96px, 12vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(13, 13, 15, .11);
  pointer-events: none;
  transition: transform 1.2s var(--ease-out), -webkit-text-stroke-color .6s;
}
@media (hover: hover) {
  .svc-main:hover .svc-main__more { padding-left: 32px; box-shadow: 0 10px 24px rgba(13, 13, 15, .25); }
  .svc-main:hover .svc-main__arrow { transform: translateX(100%); }
  .svc-main:hover .svc-main__arrow--next { transform: none; }
  .svc-main:hover .svc-main__deco { transform: translateX(-3%); -webkit-text-stroke-color: rgba(13, 13, 15, .2); }
}
.svc-main:active .svc-main__more { transform: scale(.98); }
.svc-main:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.svc { display: flex; flex-direction: column; gap: 16px; min-height: 260px; padding: clamp(24px, 2.6vw, 36px); background: var(--c-bg); transition: background-color .4s; }
.svc__top { display: flex; justify-content: space-between; align-items: center; }
.svc__no { font-size: 13px; letter-spacing: .2em; color: var(--c-accent); }
/* 事業ごとの線画アイコン：線がなぞられるように描かれる。hoverで黄色になり、もう一度描き直す */
.svc__icon { width: 28px; height: 28px; overflow: visible; fill: none; stroke: var(--c-gray); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.svc__icon > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .svc__icon > * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) calc(.3s + var(--i) * 120ms); }
.svc-grid.is-inview .svc__icon > * { stroke-dashoffset: 0; }
@keyframes svc-redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.svc h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; }
.nobr { display: inline-block; }
.svc p { font-size: 14px; line-height: 1.95; color: var(--c-gray); }
@media (hover: hover) {
  .svc:hover { background: #131316; }
  .svc:hover .svc__icon { stroke: var(--c-accent); }
  .svc-grid.is-inview .svc:hover .svc__icon > * { animation: svc-redraw .9s var(--ease-out); }
}

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .svc-main { grid-template-columns: minmax(0, 1fr); }
  /* 縦並びでは下に寄りすぎないよう、見出しの右上に小さく */
  .svc-main__deco { top: -.16em; bottom: auto; font-size: clamp(64px, 17vw, 120px); }
}
@media (max-width: 480px) {
  /* 狭い幅では文字が改行できるように（ボタンは角丸の長方形に） */
  .svc-main__title { font-size: clamp(24px, 8.2vw, 30px); }
  .svc-main__more { align-self: stretch; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 28px; font-size: 13px; line-height: 1.6; letter-spacing: .04em; }
  .svc-main__label { min-width: 0; word-break: keep-all; }   /* 改行は「制作」「について」の後だけ */
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
}

/* ---------- 03 TEMPLATES ---------- */
.tpl-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin: 20px 0 clamp(32px, 4vw, 56px);
}
.tpl-head__title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.3; }
.tpl-head__title .line { white-space: nowrap; }
.tpl-head__lead { font-size: 15px; line-height: 2; color: var(--c-sub); }

/* 横長のスクリーンショット：PCは上段2つ・下段3つ */
.tpl-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 48px) clamp(16px, 1.6vw, 24px); }
.tpl { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; perspective: 1000px; }
.tpl:nth-child(-n+2) { grid-column: span 3; }
.tpl__screen {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1536 / 1032;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  filter: grayscale(1) brightness(.75);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: filter .45s ease, transform .35s var(--ease-out);
}
.tpl__screen img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; }
.tpl__screen .reel__dots i { transition: background-color .3s; }
.js .tpl__screen { clip-path: inset(100% 0 0 0 round 10px); transition: clip-path 1s var(--ease-io) calc(var(--i) * 110ms), filter .45s ease, transform .35s var(--ease-out); }
.tpl-grid.is-inview .tpl__screen { clip-path: inset(0 round 10px); }
.tpl__no { font-size: 12px; letter-spacing: .2em; color: var(--c-accent); }
.tpl__name { font-size: 17px; }
.tpl__copy { font-size: 13px; line-height: 1.8; color: var(--c-gray); }
@media (hover: hover) {
  .tpl:hover .tpl__screen { filter: none; }
  .tpl:hover .reel__dots i:nth-child(1) { background: #FF5F57; }
  .tpl:hover .reel__dots i:nth-child(2) { background: #FEBC2E; }
  .tpl:hover .reel__dots i:nth-child(3) { background: #28C840; }
}
.tpl.is-active .tpl__screen { filter: none; }

.tpl-more { display: flex; justify-content: flex-end; margin-top: clamp(32px, 4vw, 56px); }

@media (max-width: 1024px) {
  /* 2列：01を大きく、残りを2つずつ */
  .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl, .tpl:nth-child(-n+2) { grid-column: auto; }
  .tpl:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .tpl-head { grid-template-columns: minmax(0, 1fr); }
  .tpl-grid { gap: 28px 12px; }
}
@media (max-width: 480px) {
  .tpl-head__title { font-size: 7.2vw; }
  .tpl__name { font-size: 15px; }
  .tpl__copy { font-size: 12px; }
  .tpl-more .btn-outline { width: 100%; }
}

/* ---------- 04 NUMBERS（スロット） ---------- */
.nums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 4vw, 56px);
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.num { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); background: var(--c-bg); }
.num__value { display: flex; height: 1em; overflow: hidden; font-size: clamp(80px, 9vw, 140px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.num__value--accent { color: var(--c-accent); }
.num__digits { display: flex; }
.num__col { display: flex; flex-direction: column; transform: translateY(calc(var(--to) * -1em)); }
.num__col span { display: block; height: 1em; line-height: 1; }
.js .nums .num__col { transform: translateY(0); transition: none; }
.js .nums.is-inview .num__col { transform: translateY(calc(var(--to) * -1em)); transition: transform var(--dur) var(--ease) var(--delay); }
.num__en { font-size: 13px; letter-spacing: .24em; }
.num__ja { font-size: 13px; line-height: 1.8; color: var(--c-gray); }

@media (max-width: 1024px) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .num__value { font-size: 72px; }
  .num { padding: 20px; }
}

/* ---------- 05 NEWS ---------- */
.news-list { position: relative; border-top: 1px solid var(--c-line); }
.news-item a {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  padding: clamp(18px, 2vw, 28px) 0;
  text-decoration: none;
}
.news-item a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-line);
  transform-origin: left;
}
.js .news-item a::after { transform: scaleX(0); transition: transform 1.1s var(--ease-io) calc(var(--i) * 140ms); }
.news-list.is-inview .news-item a::after { transform: none; }

.news-item__thumb { display: none; }
.news-item__body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; flex: 1; min-width: 0; transition: transform .5s var(--ease-out); }
.news-item__date { font-size: 13px; letter-spacing: .08em; color: var(--c-gray); font-variant-numeric: tabular-nums; }
.news-item__cat { padding: 3px 8px; border: 1px solid var(--c-accent); font-size: 11px; line-height: 1.4; letter-spacing: .16em; color: var(--c-accent); }
.news-item__title { flex: 1 1 320px; font-size: clamp(15px, 1.3vw, 19px); font-weight: 700; line-height: 1.6; }
.news-item__arrow { color: var(--c-accent); transition: transform .4s var(--ease-out); }
@media (hover: hover) {
  .news-item a:hover .news-item__body { transform: translateX(12px); }
  .news-item a:hover .news-item__arrow { transform: translateX(6px); }
}

.news-follow {
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  width: 280px;
  aspect-ratio: 16 / 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 14px 16px;
  background: var(--bg, var(--c-panel)) center / cover no-repeat;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0) rotate(-3deg);
  transition: opacity .25s ease;
}
.news-follow.is-active { opacity: 1; }
.news-follow__date, .news-follow__mark { display: none; }
.news-follow.is-noimg { background: var(--c-panel); border: 1px solid var(--c-line-2); }
.news-follow.is-noimg .news-follow__date { display: block; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--c-text); }
.news-follow.is-noimg .news-follow__mark { display: block; width: 28px; height: 28px; }

@media (max-width: 768px), (hover: none) {
  .news-follow { display: none; }
  .news-item__thumb { display: grid; place-items: center; flex: 0 0 64px; height: 64px; background: var(--bg, var(--c-panel)) center / cover no-repeat; }
  .news-item__thumb.is-noimg { border: 1px solid var(--c-line-2); }
  .news-item__thumb svg { width: 26px; height: 26px; }
}

/* ---------- 06 COMPANY ---------- */
.company__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.company-dl { border-top: 1px solid var(--c-line); }
.company-dl > div { position: relative; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 18px 0; }
.company-dl > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-line); transform-origin: left; }
.js .company-dl > div::after { transform: scaleX(0); transition: transform 1s var(--ease-io) calc(var(--i) * 80ms); }
.company-dl.is-inview > div::after { transform: none; }
.company-dl dt { flex: 0 0 140px; font-size: 13px; letter-spacing: .08em; color: var(--c-mute); }
.company-dl dd { flex: 1 1 240px; font-size: 15px; line-height: 1.9; }

.map {
  position: relative;
  aspect-ratio: 5 / 6;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line);
  background-image: radial-gradient(#26262B 1px, transparent 1px);
  background-size: 20px 20px;
}
/* 地図：Natural Earth（パブリックドメイン）の県境データから作成。海岸線と県境 → 大分が黄色く満ちる → 地名・ピン */
.map svg { width: 92%; height: auto; overflow: visible; font-family: var(--font-en); }
.map__grid line { stroke: #33333A; stroke-width: 1; stroke-dasharray: 2 5; }
.map__grid text { fill: var(--c-dim); font-size: 10px; letter-spacing: .12em; }
.map__pref, .map__oita { stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.map__pref { fill: rgba(242, 242, 242, .025); stroke: #66666E; stroke-width: 1; }
.map__oita { fill: var(--c-accent); fill-opacity: 0; stroke: var(--c-accent); stroke-width: 1.6; transition: fill-opacity 1s ease .2s; }
.map.is-drawn .map__oita { fill-opacity: .16; }
.map__names text { fill: var(--c-mute); font-size: 11px; letter-spacing: .24em; text-anchor: middle; }
.map__names .map__name-oita { fill: var(--c-accent); font-size: 15px; font-weight: 700; letter-spacing: .2em; }
.js .map__names text { opacity: 0; transition: opacity .6s ease calc(.3s + var(--i, 6) * 80ms); }
.map.is-drawn .map__names text { opacity: 1; }
.map__scale path { fill: none; stroke: var(--c-mute); stroke-width: 1; }
.map__scale text, .map__north text { fill: var(--c-mute); font-size: 10px; letter-spacing: .12em; }
.map__north path { fill: var(--c-mute); }
.map__city { fill: var(--c-text); font-family: var(--font-ja); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.js .map__city { opacity: 0; transition: opacity .5s ease .7s; }
.map.is-drawn .map__city { opacity: 1; }
.map__pin { stroke: var(--c-accent); stroke-width: 1; stroke-dasharray: 90; stroke-dashoffset: 0; }
.map__dot { fill: var(--c-accent); }
.map__ping { fill: none; stroke: var(--c-accent); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; }
.js .map__pin { stroke-dashoffset: 90; transition: stroke-dashoffset .8s var(--ease-out); }
.js .map__dot { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.map.is-drawn .map__pin { stroke-dashoffset: 0; }
.map.is-drawn .map__dot { transform: none; }
@media (hover: hover) {
  .map.is-drawn:hover .map__oita { fill-opacity: .26; }
}
.map.is-drawn .map__ping { animation: ping 2.4s ease-out infinite .4s; }
.map.is-drawn .map__ping--2 { animation-delay: 1.6s; }
@keyframes ping {
  0%   { transform: scale(.2); opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.map__cap { position: absolute; right: 20px; top: 20px; display: flex; flex-direction: column; gap: 4px; text-align: right; }
.map__place { font-size: 18px; font-weight: 700; letter-spacing: .08em; color: var(--c-accent); }
.map__coord { font-size: 11px; letter-spacing: .16em; color: var(--c-mute); }
.map__note { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: 12px; line-height: 1.8; color: var(--c-mute); }

@media (max-width: 768px) {
  .company__grid { grid-template-columns: minmax(0, 1fr); }
  /* 地図を幅いっぱいに。見出しは上、注意書きは下に分けて重ならないように */
  .map { aspect-ratio: auto; gap: 8px; padding: 76px 8px 16px; }
  .map svg { width: 100%; }
  .map__note { position: static; padding: 0 12px; }
  /* 縮小されて読めない小さな文字は消し、地名は大きく */
  .map__grid text, .map__scale, .map__north { display: none; }
  .map__names text { font-size: 17px; }
  .map__names .map__name-oita { font-size: 22px; }
  .map__city { font-size: 20px; }
}
@media (max-width: 480px) {
  .company-dl dt { flex-basis: 100%; }
}

/* ---------- 隠し要素：黄色いかけら（トップの3つ）。.piece-spot の見た目は common.css／動きは berry.css ---------- */
.stances, .num { position: relative; }
.piece-spot--philo { right: -14px; bottom: -40px; }
.piece-spot--numbers { right: 6px; top: 6px; }
.piece-spot--map { left: 6%; bottom: 18%; }
.map .piece-spot svg { width: 10px; height: 14px; }   /* .map svg（地図）の指定を打ち消す */
@media (max-width: 768px) {
  .piece-spot--philo { right: -10px; bottom: -42px; }
  .piece-spot--numbers { right: 0; top: 0; }
}
@media (max-width: 768px) {
  .piece-spot--map { left: 4%; bottom: 30%; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  .reel__track { animation: none; }
  .map.is-drawn .map__ping { animation: none; }
}
