@charset "UTF-8";

/* =========================================
   TOP page
   ========================================= */

/* ---------- FV (Hero) ---------- */
.fv {
  position: relative;
  aspect-ratio: 1440 / 810;
  overflow: hidden;
  padding: 0;
}
@media (max-width: 1023px) {
  .fv { aspect-ratio: auto; min-height: 560px; }
}
.fv__photos {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background-color: transparent;
}
.fv__photos > div {
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  border-radius: 2px;
}
.fv__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
}
.fv-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  transition: opacity .4s ease;
}
.fv.is-video-ready .fv-poster {
  opacity: 0;
  visibility: hidden;
}
.fv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.30) 100%);
  z-index: 3;
}
.fv__inner {
  position: relative;
  z-index: 4;
  height: 100%;
  display: block;
  margin: 0 auto;
}
.fv__banner {
  position: absolute;
  top: 110px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fv__eyebrow,
.fv__title {
  background: var(--c-red-56);
  color: var(--c-white);
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.fv__eyebrow .fv-reveal__text,
.fv__title .fv-reveal__text {
  display: inline-block;
  padding: 16px 44px;
  white-space: nowrap;
}
.fv__eyebrow {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  margin-bottom: 18px;
}
.fv__title {
  font-family: var(--font-jp-black);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: nowrap;
}
.fv__title .red { color: var(--c-red); }
.fv__panel {
  position: absolute;
  right: 0;
  bottom: var(--fv-panel-bottom, 196px);
  z-index: 4;
  background: var(--c-red-56);
  color: var(--c-white);
  width: 730px;
  max-width: 100%;
  overflow: hidden;
}
.fv__panel .fv-reveal__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 44px;
}
.fv__panel-eyebrow {
  font-family: var(--font-jp-black);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--c-white);
}
.fv__panel-logo-img {
  width: 642px;
  max-width: 100%;
  height: auto;
  /* SVG が preserveAspectRatio="none" のため、box 側で縦横比を固定して縦伸びを防ぐ */
  aspect-ratio: 642 / 151;
  margin: 0;
  display: block;
}
.fv__panel-logo .dot {
  display: inline-block;
  width: .55em; height: .55em;
  border-radius: 50%;
  background: #fff;
  position: relative;
  vertical-align: -.06em;
  margin: 0 .02em;
}
.fv__panel-tagline {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .9;
}

@media (max-width: 1023px) {
  .fv__inner { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; min-height: 0; height: auto; gap: 32px; }
  .fv__eyebrow { font-size: 36px; }
  .fv__title { font-size: 52px; }
  .fv__panel { bottom: 0; }
  .fv__panel-logo { font-size: 72px; }
}
@media (max-width: 767px) {
  .fv { min-height: calc(100vh - var(--header-h-sp)); padding: 0; }
  .fv { min-height: calc(100svh - var(--header-h-sp)); }
  .fv__inner { min-height: 0; }
  /* バー文字を縮小し、内側余白も詰めて nowrap がはみ出さないように */
  .fv__eyebrow .fv-reveal__text,
  .fv__title .fv-reveal__text { padding: 10px 20px; }
  .fv__eyebrow { font-size: 14px; margin-bottom: 10px; }
  .fv__title { font-size: 30px; }
  .fv__panel-eyebrow { font-size: 15px; }
  .fv__panel .fv-reveal__text { padding: 24px 20px; gap: 8px; }
  .fv__panel-logo { font-size: 56px; }
}

/* ===== FV intro animation ===== */
.fv-reveal {
  --fvr-color: #e63946;
  --fvr-color-0: rgba(230, 57, 70, 0);
  --fvr-bar-dur: 1.2s;
  --fvr-text-dur: .6s;
  --fvr-delay: 0s;
  --fvr-ease: cubic-bezier(.16, 1, .3, 1);
}
.fv__eyebrow.fv-reveal { --fvr-delay: .2s; }
.fv__title.fv-reveal  { --fvr-delay: .55s; }
.fv__panel.fv-reveal  { --fvr-delay: .9s; }

.js .fv-reveal { opacity: 0; }
.js .fv-reveal .fv-reveal__text { opacity: 0; clip-path: inset(0 100% 0 0); }

.fv-reveal.is-play {
  opacity: 1;
  width: var(--fvr-w, max-content);
  animation:
    fvBarWidth var(--fvr-bar-dur) var(--fvr-ease) var(--fvr-delay) both,
    fvBarFill  var(--fvr-bar-dur) linear          var(--fvr-delay) both;
}
.fv-reveal.is-play .fv-reveal__text {
  width: var(--fvr-w);
  box-sizing: border-box;
  animation: fvTextReveal var(--fvr-text-dur) var(--fvr-ease)
             calc(var(--fvr-delay) + var(--fvr-bar-dur)) both;
}

@keyframes fvBarWidth {
  0%   { width: 0; }
  100% { width: var(--fvr-w, 400px); }
}
@keyframes fvBarFill {
  0%   { opacity: 0; background: linear-gradient(90deg, var(--fvr-color) 0%, var(--fvr-color) 42%, var(--fvr-color-0) 100%); }
  14%  { opacity: 1; }
  80%  { background: linear-gradient(90deg, var(--fvr-color) 0%, var(--fvr-color) 100%, var(--fvr-color-0) 100%); }
  100% { opacity: 1; background: var(--fvr-color); }
}
@keyframes fvTextReveal {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .fv-reveal,
  .js .fv-reveal .fv-reveal__text {
    opacity: 1 !important;
    clip-path: none !important;
    animation: none !important;
  }
}

/* ---------- Track Record ---------- */
.track-record {
  --tr-side: 35px;
  --tr-overlap: 150px;
  /* --tr-radius: 24px; */
  position: relative;
  z-index: 5;
  margin: calc(var(--tr-overlap) * -1) var(--tr-side) 0;
  padding: 96px 55px 48px;
  background: var(--c-white);
  border-radius: var(--tr-radius) var(--tr-radius) 0 0;
  overflow: hidden;
}
.track-record .container {
  max-width: none;
  padding: 0;
}
.track-record__head {
  text-align: center;
  margin-bottom: 48px;
}
.track-record__eyebrow {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--c-neutral-200);
  letter-spacing: -1.6px;
  line-height: 1.05;
}
.track-record__title {
  margin-top: 4px;
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-grey-10);
  letter-spacing: .64px;
  line-height: 1.5;
}
.track-record__divider {
  display: block;
  width: 82px;
  height: 4px;
  margin: 24px auto 0;
}

.client-logos {
  --marquee-duration: 45s;
  position: relative;
  width: 100%;
  height: 104px;
  background: var(--c-grey-90-60);
  border: 1px solid var(--c-grey-90-60);
  border-radius: 16px;
  overflow: hidden;
}
.client-logos .marquee__track {
  align-items: stretch;
  height: 102px;
  gap: 1px;
  width: max-content;
}
.client-logos__item {
  flex: 0 0 auto;
  width: 247px;
  height: 102px;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.client-logos__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  display: block;
}
.client-logos::before,
.client-logos::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 158px;
  z-index: 2;
  pointer-events: none;
}
.client-logos::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 15px 0 0 15px;
}
.client-logos::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 15px 15px 0;
}

@media (max-width: 1023px) {
  .track-record {
    margin: 0;
    border-radius: 0;
    padding: 56px 20px 40px;
  }
  .track-record__eyebrow { font-size: 40px; letter-spacing: -1px; }
}
@media (max-width: 767px) {
  .track-record__eyebrow { font-size: 30px; }
  .client-logos__item { width: 200px; padding: 24px; }
}

/* ---------- What is FLOW2 ---------- */
.what-flow2 {
  padding: 96px 0;
  background: transparent;
  position: relative;
  overflow: hidden;   /* eyebrow ウォーターマークのはみ出しを抑制 */
}
.what-flow2__grid {
  display: grid;
  grid-template-columns: minmax(0, 598fr) minmax(0, 498fr);
  column-gap: 8px;
  align-items: center;
  position: relative;
}
.what-flow2__main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.what-flow2__head {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.what-flow2__eyebrow {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--c-neutral-200);
  letter-spacing: 1.8px;
  line-height: 48px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.what-flow2__title {
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-grey-10);
  letter-spacing: .64px;
  line-height: 42px;
}
.what-flow2__divider {
  display: block;
  width: 82px;
  height: 4px;
}
.what-flow2__lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  font-weight: 400;
  line-height: 33.15px;
  letter-spacing: .85px;
  color: var(--c-grey-25);
}
.what-flow2__diagram {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: min(700px, 58.5%);
  max-width: none;
}
.what-flow2__diagram img { width: 100%; height: auto; display: block; }

@media (max-width: 1023px) {
  /* minmax(0,1fr)＋min-width:0 で、図(img)の intrinsic 幅による列の膨張(blowout)を防ぐ。
     1fr(=minmax(auto,1fr)) のままだと auto 最小幅が画像実寸まで広がり本文が横溢れしていた。 */
  .what-flow2__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .what-flow2__main { min-width: 0; }
  .what-flow2__eyebrow { font-size: 44px; line-height: 1.1; }
  .what-flow2__diagram {
    position: static;
    transform: none;
    top: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-width: 560px;
    margin: 0 auto;
  }
  .what-flow2__diagram img { max-width: 100%; }
}
@media (max-width: 767px) {
  .what-flow2 { padding: 96px 0 24px; }
  .what-flow2__eyebrow { font-size: 32px; }
  .what-flow2__lead { font-size: 14px; line-height: 1.9; }
  /* PC調整の改行(br)がSPで折り返せず、本文と図(width:100%)を横溢れさせるため無効化 */
  .what-flow2__lead br { display: none; }
}

/* ---------- Cross-Functional comparison ---------- */
.cross-func {
  padding: 120px 0;
  background: transparent;
}

/* --- Section head --- */
.cross-func__head { margin-bottom: 56px; }
.cross-func__eyebrow {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.6px;
  color: var(--c-grey-90);
  pointer-events: none;
  user-select: none;
}
.cross-func__title {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.64px;
  color: var(--c-text);
}
.cross-func__accent {
  width: 82px;
  height: 4px;
  margin-top: 16px;
}
.cross-func__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.cross-func__intro p {
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.8px;
  color: var(--c-grey-25);
}
.cross-func__intro p + p { margin-top: 16px; }
.cross-func__intro mark {
  background: var(--c-red);
  color: #fff;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}

/* --- Comparison cards --- */
.cross-func__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.cross-func__col {
  position: relative;
  isolation: isolate;
  min-width: 0;   /* グリッド子の auto 最小幅で図版imgがカードを膨張させる blowout を防止 */
  padding: 32px;
}
.cross-func__col::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/images/cf-card.svg") no-repeat center / 100% 100%;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.07));
}
.cross-func__col-title {
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--c-text);
}
.cross-func__col-title::before {
  content: "/ ";
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--c-red);
}
.cross-func__diagram {
  width: 100%;
  height: auto;
  margin: 24px 0;
}
.cross-func__col-body p {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.64px;
  color: var(--c-grey-25);
}
.cross-func__col-body p + p { margin-top: 12px; }

@media (max-width: 1023px) {
  .cross-func { padding: 88px 0; }
  .cross-func__eyebrow { font-size: 44px; letter-spacing: -1px; }
}
@media (max-width: 767px) {
  .cross-func { padding: 56px 0; }
  .cross-func__eyebrow { font-size: 30px; letter-spacing: -0.5px; }
  .cross-func__title { font-size: 24px; }
  .cross-func__intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cross-func__intro p { font-size: 14px; }
  .cross-func__intro p + p { margin-top: 12px; }
  .cross-func__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* SP用カード枠：縦長カードで 100% 100% ストレッチすると角(面取り)・枠線が歪むため、
     border-image(9スライス)で角を固定サイズ・辺だけ伸縮させて崩れを防ぐ。fill で中央(#F6F6F6)を充填。 */
  .cross-func__col::before {
    background: none;
    border: 12px solid transparent;
    border-image: url("/assets/images/cf-card-sp.svg") 30 fill / 12px / 0 stretch;
  }
  .cross-func__col { padding: 24px; }
  .cross-func__col-title { font-size: 19px; }
  .cross-func__col-body p { font-size: 14px; }
  /* PC調整の改行をSPで無効化 */
  .cross-func__intro br,
  .cross-func__col-body br { display: none; }
}

/* ---------- Issues (dark) ---------- */
.issues-dark {
  position: relative;
  padding-top: 80px;
  background: transparent;
}
.issues-dark__topbar {
  width: 100%;
  max-width: 1331px;
  height: 87px;
  margin: 0 auto;
  background: url("/assets/images/issues-topbar.svg") no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.issues-dark__section {
  position: relative;
  background: rgba(0, 0, 0, .88);
  color: #d9d9d9;
  overflow: hidden;
  padding-bottom: 112px;
}
.issues-dark__gradient {
  position: absolute;
  inset: 0;
  background: url("/assets/images/issues-gradient.svg") no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}
.issues-dark__container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 112px var(--pad-x) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.issues-dark__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.issues-dark__title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 40px;
  line-height: 56px;
  letter-spacing: 2px;
  color: #d9d9d9;
  text-align: center;
}
.issues-dark__divider { display: block; width: 82px; height: 4px; }
.issues-dark__lead {
  font-size: 18px;
  line-height: 36px;
  letter-spacing: .9px;
  color: #d9d9d9;
  text-align: center;
  max-width: 920px;
}
.issues-dark__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1080px;
}
.issue-card {
  position: relative;
  min-height: 128px;
  display: flex;
  align-items: center;
  padding: 16px 44px 16px 32px;
  background: url("/assets/images/issues-card.svg") no-repeat;
  background-size: 100% 100%;
}
.issue-card::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 14px;
  width: 5px;
  height: 100px;
  background: url("/assets/images/issues-card-bar.svg") no-repeat;
  background-size: 100% 100%;
}
.issue-card__text {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  line-height: 28.9px;
  letter-spacing: .64px;
  color: var(--c-grey-10);
}
.issue-card__num {
  position: absolute;
  top: 17px;
  right: 21px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--c-red-40);
}
.issues-dark__note {
  font-size: 16px;
  line-height: 32px;
  letter-spacing: .8px;
  color: #d9d9d9;
  text-align: center;
  max-width: 920px;
}
.issues-dark__after {
  font-size: 17px;
  line-height: 35.7px;
  letter-spacing: .85px;
  color: #d9d9d9;
  text-align: center;
  max-width: 920px;
}
.issues-dark__after strong { font-weight: 700; color: #fff; }

.photo-slide {
  --marquee-gap: 6px;
  --marquee-duration: 60s;
  position: relative;
  z-index: 1;
  background: var(--c-neutral-700);
  padding: 6px 0;
}
.photo-slide__item {
  flex: 0 0 auto;
  width: 280px;
  height: 374px;
  margin: 0;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .18);
}

@media (max-width: 1023px) {
  .issues-dark__list { grid-template-columns: 1fr; max-width: 600px; }
  .issues-dark__title { font-size: 30px; line-height: 1.4; }
}
@media (max-width: 767px) {
  .issues-dark__container { padding: 72px 20px 56px; gap: 40px; }
  .issues-dark__title { font-size: 24px; }
  /* 本文・p は SP で 14px に統一 */
  .issues-dark__lead,
  .issues-dark__note,
  .issues-dark__after,
  .issue-card__text { font-size: 14px; line-height: 1.9; }
  /* PC調整の改行をSPで無効化 */
  .issues-dark__lead br,
  .issues-dark__after br,
  .issue-card__text br { display: none; }
  .issues-dark__topbar { height: 56px; }
  .photo-slide__item { width: 200px; height: 268px; }
}

/* ---------- Driving Heading ---------- */
.driving-heading {
  padding: 96px 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;                 /* グロー・スライドのはみ出しを抑制 */
}
.driving-heading__glow {
  position: absolute;
  top: 72.3%;
  left: 50.7%;
  width: min(1100px, 88vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  /* ブラーは ::before に分離。filter と mask を同一要素に併用すると
     Chromium がブラーのにじみをクリップし硬い縁になるため。 */
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}
.driving-heading__glow::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(255, 173, 214, 0.78) 0%,
    rgba(255, 232, 238, 0.90) 50%,
    rgba(255, 241, 241, 0)    100%);
  filter: blur(32px);
}
.driving-heading > .container { position: relative; z-index: 1; }

.driving-heading__slogan {
  --marquee-gap: 0;
  --marquee-duration: 150s;
  position: relative;
  z-index: 1;
  /* 親 .driving-heading は横padding 0 のためコンテンツ全幅 = 100%。
     旧 width:100vw / margin-left:calc(50%-50vw) はスクロールバー幅(縦)を含む vw 参照のため、
     macOS のクラシックスクロールバー等で内容幅をはみ出し横スクロールを誘発していた。100% で根絶。 */
  width: 100%;
  margin-bottom: 4px;
}
.driving-heading__slogan-text {
  font-family: var(--font-display);
  font-size: clamp(48px, 13vw, 180px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--c-grey-100);
  white-space: nowrap;
  user-select: none;
  padding-right: 0.6em;
}
.driving-heading__title {
  font-family: var(--font-noto-jp);
  font-size: clamp(32px, 6.6vw, 88px);
  font-weight: 900;
  color: var(--c-red-40);
  letter-spacing: .04em;
  line-height: 1.225;
  margin-top: -0.32em;
  position: relative;
}
.driving-heading__lead {
  margin: 32px auto 0;
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: .05em;
  color: var(--c-grey-10);
  max-width: 1000px;
}
.driving-heading__lead strong { font-weight: 700; }

.driving-photos {
  margin-top: 56px;
  box-shadow: 0 18px 44px -15px rgba(0, 0, 0, 0.2);
}
.driving-photos__row {
  display: flex;
  width: 100%;
  aspect-ratio: 1320 / 292;
}
.driving-photos__fig {
  margin: 0;
  height: 100%;
  overflow: hidden;
}
.driving-photos__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.driving-photos__row--1 .driving-photos__fig:nth-child(1) { flex: 464 0 0; }
.driving-photos__row--1 .driving-photos__fig:nth-child(2) { flex: 464 0 0; }
.driving-photos__row--1 .driving-photos__fig:nth-child(3) { flex: 392 0 0; }
.driving-photos__row--2 .driving-photos__fig            { flex: 1 0 0; }

@media (max-width: 1023px) {
  .driving-heading { padding: 72px 0 56px; }
  .driving-heading__lead { font-size: 15px; line-height: 2; }
}
@media (max-width: 767px) {
  .driving-heading { padding: 56px 0 40px; }
  .driving-heading__lead { font-size: 14px; }
  .driving-heading__lead br { display: none; }
  .driving-photos { margin-top: 32px; }
}


/* ---------- Service blocks (Strategy/Research/Marketing/HR) ---------- */
.service-block { padding: 96px 0; background: transparent; position: relative; }
.service-block--alt { background: transparent; }
.service-block__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 48px;
}
.service-block__head-eyebrow {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 1.8px;
  color: var(--c-grey-90);
  line-height: 1;             /* グリフ下端のクリップ防止 */
  overflow: visible;          /* 縦方向グリフのクリップ防止 */
  display: block;
  max-width: 100%;            /* 親幅を超えない（SPで横はみ出し防止） */
  /* nowrap は付けない：PCは1行に収まり、狭い画面では自然に折り返してはみ出さない */
}
.service-block__head-title {
  position: relative;
  margin-top: 0;
  padding-left: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 38.5px;
  color: var(--c-text);
}
.service-block__head-title::before { display: none; }
.service-block__cta {
  text-align: center;
  margin-top: 48px;
}
/* セクション右上の赤い三角。
   ウインドウ右端に吸着＝右に見切れさせ、見出しの背面に配置。overflow:hidden で窓右端でクリップ。 */
.has-top-graphic { overflow: hidden; }
.has-top-graphic > .container { position: relative; z-index: 1; }
.service-block__top-graphic {
  position: absolute;
  top: 0;
  right: -128px;
  width: 645px;
  height: 274px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.service-block__head-accent {
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 0;
}
.service-block__cta { margin-top: 40px; }
@media (max-width: 1023px) {
  .service-block__top-graphic { width: 460px; height: 195px; top: 24px; right: -90px; }
  .service-block__head { gap: 16px; margin-bottom: 36px; }
  .service-block__head-eyebrow { font-size: 44px; line-height: 1.1; letter-spacing: 1px; }
  .service-block__head-title { font-size: 22px; line-height: 1.5; }
}
@media (max-width: 767px) {
  .service-block { padding: 96px 0 24px; }
  .service-block__top-graphic { display: none; }
  .service-block__head-eyebrow { font-size: 30px; letter-spacing: .5px; }
  .service-block__head-title { font-size: 19px; }
}

/* ---------- MARKETING DESIGN block ---------- */
#marketing-design > .container {
  max-width: 1240px;
  padding-inline: 0;
}
@media (max-width: 1320px) {
  #marketing-design > .container { padding-inline: 40px; }
}
@media (max-width: 767px) {
  #marketing-design > .container { padding-inline: 20px; }
}
.md-graphs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.md-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.md-col__labels {
  display: flex;
  gap: 8px;
}
.md-col__label {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 58px;
  padding: 9px 4px;
  background: #fff;
  border: 1px solid var(--c-grey-83);
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.64px;
  color: var(--c-grey-15);
  overflow-wrap: anywhere;
}
.md-col__graph {
  margin: 0;
  aspect-ratio: 298 / 223.5;
  background: #fff;
}
.md-col__graph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 1023px) {
  .md-graphs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .md-graphs { grid-template-columns: 1fr; }
}

/* ---------- RESEARCH & ANALYTICS block ---------- */
.research-block {
  overflow: hidden;          /* 左へ見切れる Rectangle 8 をクリップ */
}
.research-block > .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  padding-inline: 0;
}
@media (max-width: 1320px) {
  .research-block > .container { padding-inline: 40px; }
}
@media (max-width: 767px) {
  .research-block > .container { padding-inline: 20px; }
}
.service-block__top-graphic--left {
  left: -125px;
  right: auto;
  top: 0;
}
.research-block__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 40px;
}
.research-block__eyebrow {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--c-neutral-200);
  letter-spacing: 1.8px;
  line-height: 1;
  white-space: nowrap;
}
.research-block__title {
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-grey-10);
  letter-spacing: 1.4px;
  line-height: 1.375;
}
.research-block__accent { display: block; width: 82px; height: 4px; }

.research-block__analytics { margin-bottom: 40px; }
.research-block__subhead {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-grey-10);
  letter-spacing: .02em;
  line-height: 1.4;
  margin-bottom: 24px;
}
.research-block__slash {
  color: var(--c-red);
  font-family: var(--font-en);
  font-weight: 600;
  margin-right: 10px;
}
.research-tags {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.research-tags li {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--c-grey-83);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  letter-spacing: .64px;
  line-height: 20px;
  color: var(--c-grey-15);
  text-align: center;
  white-space: nowrap;
}

.research-graphs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 223px;
  gap: 16px;
}
.research-graphs__item {
  margin: 0;                   /* <figure> 既定の margin:1em 40px を打ち消す（セル幅を削っていた） */
  background: #fff;
  overflow: hidden;
}
.research-graphs__item--wide { grid-column: span 2; }
.research-graphs__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .research-block__eyebrow { font-size: 44px; }
  .research-tags { grid-template-columns: repeat(3, 1fr); }
  .research-graphs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .research-block__eyebrow { font-size: 30px; white-space: normal; line-height: 1.1; }
  .research-block__title { font-size: 20px; }
  .research-tags { grid-template-columns: repeat(2, 1fr); }
  .research-graphs { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .research-graphs__item--wide { grid-column: span 2; }
}

.strategy-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  background: transparent;
  font-size: 11px;
}
.strategy-table th,
.strategy-table td {
  padding: 14px 10px;
  background: var(--c-grey-50);
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
}
.strategy-table thead th {
  background: var(--c-red-deepest);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.strategy-table thead th:nth-child(2) { background: var(--c-red-maroon); }
.strategy-table thead th:nth-child(3) { background: var(--c-red-deep); }
.strategy-table thead th:nth-child(4) { background: var(--c-red); }
.strategy-table thead th:nth-child(5) { background: var(--c-coral); }
.strategy-table thead th:nth-child(6) { background: var(--c-hot-pink); }
.strategy-table thead th:nth-child(7) { background: var(--c-soft-pink); }
.strategy-table tbody th {
  background: var(--c-red-deepest);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
  width: 140px;
}
.strategy-table tbody td {
  background: #fff;
  border: 1px solid var(--c-grey-100);
  color: var(--c-grey-500);
}
.strategy-table .cell-pink { background: var(--c-pink-bg); color: var(--c-red-deep); }
.strategy-table tbody th.cell-pink { background: var(--c-hot-pink); color: #fff; }

.charts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.charts-grid__item {
  background: #fff;
  border: 1px solid var(--c-grey-100);
  padding: 16px;
  aspect-ratio: 1.2 / 1;
  display: flex; flex-direction: column; gap: 8px;
}
.charts-grid__item h4 {
  font-size: 10px;
  font-weight: 700;
  color: var(--c-grey-700);
  margin: 0;
}
.charts-grid__item .ph {
  flex: 1;
  background: var(--c-grey-50);
  background-image:
    linear-gradient(var(--c-grey-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grey-200) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
}
.charts-grid__item .ph::before {
  content: "";
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  height: 60%;
  background: linear-gradient(180deg, var(--c-pink-bg), var(--c-pink));
  clip-path: polygon(0% 80%, 12% 60%, 25% 70%, 40% 30%, 55% 50%, 70% 25%, 85% 45%, 100% 20%, 100% 100%, 0 100%);
}
.charts-grid__item.bars .ph::before {
  background: var(--c-red);
  clip-path: polygon(0 100%, 10% 60%, 10% 100%, 20% 100%, 20% 40%, 30% 100%, 40% 100%, 40% 70%, 50% 100%, 60% 100%, 60% 30%, 70% 100%, 80% 100%, 80% 50%, 90% 100%, 100% 100%);
  bottom: 10%;
  height: 70%;
}
.charts-grid__item.pie .ph {
  background-image: none;
  background-color: transparent;
  position: relative;
}
.charts-grid__item.pie .ph::before {
  content: "";
  position: absolute;
  inset: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  aspect-ratio: 1/1;
  height: 76%;
  background: conic-gradient(var(--c-red) 0 35%, var(--c-coral) 35% 60%, var(--c-pink-light) 60% 80%, var(--c-pastel-pink) 80% 100%);
  border-radius: 50%;
  clip-path: none;
  bottom: auto;
  top: 12%;
}
@media (max-width: 1023px) { .charts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .charts-grid { grid-template-columns: 1fr 1fr; } }

.tabs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.tabs-row__item {
  background: #fff;
  border: 1px solid var(--c-grey-100);
  padding: 12px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-grey-700);
}
@media (max-width: 767px) { .tabs-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Marketing & Promotion ---------- */
.mp-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.mp-cat {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.mp-cat__panel {
  background: #fff;
  border: 1px solid var(--c-grey-90);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
}
.mp-cat__header { padding: 12px 20px; }
.mp-cat__header h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.4px;
}
.mp-cat__header--brand { background: linear-gradient(90deg, var(--c-rose-50), var(--c-red-56)); }
.mp-cat__header--web   { background: linear-gradient(90deg, var(--c-grey-25), var(--c-grey-10)); }
.mp-cat__header--sns   { background: linear-gradient(90deg, var(--c-rose-69), var(--c-rose-50)); }
.mp-cat__header--promo { background: linear-gradient(90deg, var(--c-rose-50), var(--c-red-40)); }
.mp-cat__list { list-style: none; margin: 0; padding: 0; }
.mp-cat__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 13px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.64px;
  color: var(--c-grey-15);
  border-bottom: 1px solid var(--c-grey-90);
}
.mp-cat__list li:last-child { border-bottom: 0; }
.mp-cat__list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-red-40);
}
.mp-cat__media {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 776 / 409;
}
.mp-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1023px) {
  .mp-list { gap: 32px; }
  .mp-cat { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- FLOW2 logo + CTA block (before LET'S TALK) ---------- */
.flow2-cta {
  background: #fff;
  text-align: center;
  padding: 88px 0 96px;
}
.flow2-cta__logo {
  width: min(560px, 72%);
  height: auto;
  display: block;
  margin: 0 auto;
}
.flow2-cta__btn { margin-top: 40px; }
@media (max-width: 767px) {
  .flow2-cta { padding: 56px 0 64px; }
}

.hr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hr-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-grey-90);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.12);
}
.hr-card__bar {
  margin: 0;
  padding: 10px 12px;
  background: var(--bar);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.64px;
  text-align: center;
}
.hr-card__bar--dark { color: var(--c-grey-10); }
.hr-card__media {
  background: var(--c-grey-93);
}
.hr-card__media img {
  display: block;
  width: 100%;
  height: 202px;
  object-fit: cover;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .hr-grid { grid-template-columns: 1fr; }
  .hr-card__media img { height: 200px; }
}
