body,
html {
  font-family: "Inter", sans-serif;
}
.font-notosans {
  font-family: "Noto Sans JP", sans-serif;
}
.font-Inter {
  font-family: "Inter", sans-serif;
}
.font-rounded {
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.font-bebas {
  font-family: "Bebas", sans-serif;
}
//toast
#toast {
  z-index: 10000 !important;
}
.my-toast-fade {
  opacity: 1;
  transition: opacity 3s ease !important;
}
.my-toast-fade.hide {
  opacity: 0 !important;
}

.ppi-gradient-border {
  position: relative;
  padding-bottom: 8px;
  /* ボーダーの高さを確保 */
}

.ppi-gradient-border::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  /* ボーダーの高さ */
  background-image: linear-gradient(to right, #f472b6, #9f7aea, #6366f1);
}

.font-playfair {
  font-family: "Playfair Display", serif;
}
.font-kosugi {
  font-family: "Kosugi Maru", sans-serif;
}
.pswp__button--zoom {
  display: block !important;
}

/* ===== REDESIGN 2026 ===== */

/* --- Scroll-triggered animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}

/* --- FV hero text entrance animation --- */
.fv-hero-text {
  opacity: 0;
  transform: translateY(28px);
  animation: fvTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fv-hero-text.delay-1 {
  animation-delay: 0.3s;
}
.fv-hero-text.delay-2 {
  animation-delay: 0.55s;
}
.fv-hero-text.delay-3 {
  animation-delay: 0.8s;
}
.fv-hero-text.delay-4 {
  animation-delay: 1s;
}
.fv-hero-text.delay-5 {
  animation-delay: 1.2s;
}
@keyframes fvTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Composited transition utilities (visibility を含まない) */
.transition-opacity-color {
  transition-property: opacity, color;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-opacity-transform {
  transition-property: opacity, transform;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}

/* --- Header: default = white (works for all sub-pages) --- */
#site-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
  transition:
    background 0.5s ease,
    box-shadow 0.5s ease;
}

/* --- TOP page only: transparent dark gradient over FV, white text --- */
#site-header.is-front-page:not(.scrolled) {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 100%
  ) !important;
  box-shadow: none;
}
#site-header.is-front-page:not(.scrolled) .site-logo {
  color: rgba(255, 255, 255, 0.95) !important;
}
#site-header.is-front-page:not(.scrolled) #header-tagline {
  color: rgba(255, 255, 255, 0.45) !important;
}
#site-header.is-front-page:not(.scrolled) .hamburger-line {
  background: rgba(255, 255, 255, 0.9) !important;
}
#site-header.is-front-page:not(.scrolled) .header-inner-border {
  border-color: transparent !important;
}

/* --- Scroll indicator line bounce --- */
@keyframes scrollBounce {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(0.5);
    opacity: 0.9;
  }
}
.scroll-indicator-line {
  animation: scrollBounce 1.8s ease-in-out infinite;
  transform-origin: top;
}

/* --- Section eyebrow label --- */
.section-eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  font-family: "Inter", sans-serif;
}

/* --- Arrow CTA button --- */
.btn-outline-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1.5px solid #1f2937;
  color: #1f2937;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.btn-outline-arrow:hover {
  background: #1f2937;
  color: #fff;
  text-decoration: none;
}
.btn-outline-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}
.btn-outline-arrow:hover svg {
  transform: translateX(5px);
}

/* Gradient variant */
.btn-gradient-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 30px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.btn-gradient-arrow:hover {
  opacity: 0.85;
  text-decoration: none;
  color: #fff;
}
.btn-gradient-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}
.btn-gradient-arrow:hover svg {
  transform: translateX(5px);
}

/* FV CTA button */
.fv-hero-cta {
  border-radius: 9999px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.fv-cta-btn:hover {
  background: white !important;
  color: #111827 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(244, 114, 182, 0.35);
}

.fv-hero-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 255, 255, 0.08);
}

.fv-cta-arrow {
  flex-shrink: 0;
  animation: fv-cta-arrow-nudge 1.5s ease-in-out infinite;
}

.fv-cta-btn:hover .fv-cta-arrow {
  animation-duration: 0.75s;
}

@keyframes fv-cta-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

/* ===== REDESIGN 2026 – SECTION REBUILD ===== */

/* --- Clip-path reveal (kurokitec style) --- */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}
.clip-reveal.is-visible {
  clip-path: inset(0 0% 0 0);
  will-change: auto;
}
.clip-reveal-up {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
}
.clip-reveal-up.is-visible {
  clip-path: inset(0 0 0% 0);
}
.line-reveal {
  overflow: hidden;
  display: block;
}
.line-reveal span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-reveal.is-visible span {
  transform: translateY(0);
}
.line-reveal.stagger-1 span {
  transition-delay: 0.05s;
}
.line-reveal.stagger-2 span {
  transition-delay: 0.18s;
}
.line-reveal.stagger-3 span {
  transition-delay: 0.31s;
}
.line-reveal.stagger-4 span {
  transition-delay: 0.44s;
}
.line-reveal.stagger-5 span {
  transition-delay: 0.57s;
}

/* --- Scale-in for images --- */
.img-scale-in {
  overflow: hidden;
}
.img-scale-in img {
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-scale-in.is-visible img {
  transform: scale(1);
}

/* --- Section side number decoration --- */
.section-side-num {
  writing-mode: vertical-rl;
  font-family: "Playfair Display", serif;
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
  user-select: none;
  pointer-events: none;
  position: absolute;
}
.section-side-num.right {
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.section-side-num.dark {
  color: rgba(255, 255, 255, 0.05);
}

/* --- Dark section --- */
.section-dark {
  background: #06040f;
  color: white;
}
.section-dark .section-eyebrow {
  color: rgba(255, 255, 255, 0.28);
}

/* --- Step connector line --- */
.step-connector {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, #a78bfa, transparent);
  transform: translateY(-50%);
}

/* --- News list hover line --- */
.news-item {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.25s ease;
}
.news-item:hover {
  background: #fafafa;
}
.news-item .news-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.news-item:hover .news-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Value row hover (editorial list style) --- */
.value-row {
  transition:
    background 0.25s ease,
    padding-left 0.25s ease;
  position: relative;
}
.value-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f472b6;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-row:hover {
  background: rgba(244, 114, 182, 0.03);
  padding-left: 1rem;
}
.value-row:hover::before {
  transform: scaleY(1);
}

/* --- Purpose quote --- */
.purpose-line {
  overflow: hidden;
}
.purpose-line span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.purpose-line.is-visible span {
  transform: translateY(0);
}

/* --- Image parallax wrapper --- */
.parallax-img-wrap {
  overflow: hidden;
}
.parallax-img-wrap img {
  will-change: transform;
}

/* --- Reverse marquee animation --- */
@keyframes marqueeRev {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}
.animate-marquee-rev {
  animation: marqueeRev 28s linear infinite;
}

/* --- Value card v2 (dark grid) --- */
.value-card-v2 {
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}
.value-card-v2:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  transform: translateY(-2px);
}

/* --- News list item hover --- */
.news-list-item {
  transition: background 0.2s ease;
}
.news-list-item:hover {
  background: #fafafa;
}

/* --- Value editorial row hover --- */
.value-editorial-row {
  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}
.value-editorial-row:hover {
  background: #fafafa;
}

/* wakkul-v3: Editorial Rebuild */
.wakkul-v3-wrapper {
  background: #ffffff;
  color: #000000;
  font-family: "Inter", "Noto Serif JP", serif;
  overflow-x: hidden;
  isolation: isolate;
}

/* 1pxの構築的ヘアライン */
.wakkul-border {
  border: 0.5px solid #000000;
}

.wakkul-border-t {
  border-top: 0.5px solid #000000;
}
.wakkul-border-b {
  border-bottom: 0.5px solid #000000;
}

/* 圧倒的な巨大タイポグラフィ */
.editorial-giant-text {
  font-size: clamp(5rem, 18vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
}

/* 縦書きのグラフィックパーツ */
.vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 700;
}

/* 余白の定義（エディトリアルな緊張感） */
.section-padding {
  padding: 12rem 0;
}

/* GSAP Reveal 用のマスク */
.reveal-mask {
  position: relative;
  overflow: hidden;
  display: block;
}

.wakkul-v3-wrapper {
  --primary: #000000;
  --accent: #f472b6;
  background: #ffffff;
  color: var(--primary);
  overflow: hidden;
}

/* 文字の「構築」 */
.text-outline {
  -webkit-text-stroke: 0.5px var(--primary);
  color: transparent;
}

/* 斜めの構図 */
.diagonal-bg {
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}

/* 究極の余白 */
.v-space {
  padding: 12rem 0;
}

/* 視線誘導のヘアライン */
.hairline-h {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  width: 100%;
  transform-origin: left;
}
.hairline-v {
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
  height: 100%;
  transform-origin: top;
}

/* LP（system-dev / cost-reduction）上の contact-flow：LP CSS の a{color:inherit} より優先 */
.wakku-contact-flow a.wakku-contact-home-btn {
  color: #fff;
  background: #000;
  text-decoration: none;
}

.wakku-contact-flow a.wakku-contact-home-btn:hover {
  color: #fff;
  background: #ec4899;
}

.wakku-contact-flow a.wakku-contact-home-btn svg {
  color: #fff;
  stroke: currentColor;
}

/* LPフォーム：エラー / 確認から戻る → LP を飛ばしてフォーム先頭表示 */
/* LP 問い合わせフロー（confirm / thanks / エラー・戻る）— contact デザインで全画面表示 */
body.sdx-active.sdx-contact-flow {
  overflow: auto;
  height: auto;
}

body.sdx-active.sdx-contact-flow .wakku-contact-flow {
  overflow: visible;
}

body.sdx-active.sdx-contact-flow .wakku-contact-flow main {
  min-height: auto;
}

/* Story スライダー中は固定ボタンを非表示（コメント欄の被り防止） */
body.sdx-active.sdx-in-story #sp-contact-btn,
body.sdx-active.sdx-in-story #scroll-top-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

body.sdx-active.sdx-in-story {
  padding-bottom: 0 !important;
}

/* Story：SP は8枚を縦に全部並べる（切替・スクロール連動なし） */
@media (max-width: 980px) {
  body.sdx-active .story {
    height: auto;
  }

  body.sdx-active .story-sticky {
    display: none !important;
  }

  body.sdx-active .story-sp-stack {
    display: flex;
    flex-direction: column;
    padding-top: 66px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
    background: #f0f1ee;
  }

  body.sdx-active .story-sp-slide {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(16, 17, 16, 0.12);
    background: #f0f1ee;
  }

  body.sdx-active .story-sp-slide:last-child {
    border-bottom: 0;
  }

  body.sdx-active .story-sp-slide .slide-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "kicker sequence" "title title";
    gap: 12px 16px;
    padding: 28px 20px 16px;
    border-bottom: 1px solid rgba(16, 17, 16, 0.12);
    background: rgba(253, 253, 251, 0.92);
  }

  body.sdx-active .story-sp-slide .slide-heading > span {
    grid-area: kicker;
  }

  body.sdx-active .story-sp-slide .slide-sequence {
    grid-area: sequence;
    justify-self: end;
  }

  body.sdx-active .story-sp-slide .slide-heading h2 {
    grid-area: title;
    margin: 0;
    font-size: clamp(20px, 5.2vw, 28px);
    line-height: 1.12;
    white-space: normal;
  }

  body.sdx-system-dev .story-sp-slide .slide-heading h2 {
    white-space: pre-line;
  }

  body.sdx-active .story-sp-slide .story-visual-wrap {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    padding: 12px;
    background-color: #f1f2ee;
  }

  body.sdx-active .story-sp-slide .story-visual-wrap::after {
    display: none;
  }

  body.sdx-active .story-sp-slide .story-art,
  body.sdx-active .story-sp-slide .v200,
  body.sdx-active .story-sp-slide .v22-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  body.sdx-active .story-sp-slide .v200-body {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
  }

  /* v200 図内リスト：SP 固定高さ・space-between を解除 */
  body.sdx-active .story-sp-slide .v202-loss-list,
  body.sdx-active .story-sp-slide .v200-loss-list,
  body.sdx-active .story-sp-slide .v202-flow-list,
  body.sdx-active .story-sp-slide .v202-role-list,
  body.sdx-active .story-sp-slide .v200-journey {
    justify-content: flex-start !important;
    gap: 0;
  }

  body.sdx-active .story-sp-slide .v202-loss-list article,
  body.sdx-active .story-sp-slide .v200-loss-list article,
  body.sdx-active .story-sp-slide .v202-flow-list article,
  body.sdx-active .story-sp-slide .v202-role-list article,
  body.sdx-active .story-sp-slide .v200-journey article {
    min-height: 0 !important;
    height: auto !important;
    align-items: start;
  }

  body.sdx-active .story-sp-slide .v202-loss-list article {
    grid-template-columns: 38px 1fr;
    grid-template-areas:
      "num cause"
      "arrow effect";
    gap: 8px 10px;
    padding: 14px 0;
  }

  body.sdx-active .story-sp-slide .v202-loss-list em {
    grid-area: num;
  }

  body.sdx-active .story-sp-slide .v202-loss-list b {
    grid-area: cause;
    padding: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  body.sdx-active .story-sp-slide .v202-loss-list i {
    grid-area: arrow;
    justify-self: start;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  body.sdx-active .story-sp-slide .v202-loss-list strong {
    grid-area: effect;
    font-size: 12px;
    line-height: 1.45;
  }

  body.sdx-active .story-sp-slide .story-comment {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 18px 20px 28px;
    color: #fff;
    background: #101110;
  }

  body.sdx-active .story-sp-slide .story-comment::before {
    left: 20px;
  }

  body.sdx-active .story-sp-slide .story-comment span {
    font-size: 9px;
  }

  body.sdx-active .story-sp-slide .story-comment p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }
}

/* system-dev SP Story：小さめの文字を少し大きく */
@media (max-width: 980px) {
  body.sdx-system-dev .story-sp-slide .slide-heading > span {
    font-size: 11px;
  }

  body.sdx-system-dev .story-sp-slide .slide-sequence {
    font-size: 11px;
  }

  body.sdx-system-dev .story-sp-slide .slide-heading h2 {
    font-size: clamp(22px, 5.6vw, 30px);
  }

  body.sdx-system-dev .story-sp-slide .story-comment span {
    font-size: 11px;
  }

  body.sdx-system-dev .story-sp-slide .story-comment p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* PC Story 8枚目（v203-advisor）：7枚目と同じ上下余白・カード高さ感に揃える */
@media (min-width: 981px) {
  body.sdx-active .story-visual-wrap .v203-advisor.story-art {
    height: 100%;
  }

  body.sdx-active .story-visual-wrap .v203-advisor .v200-body {
    /* 7枚目 .v202-compare と同じ余白・中央寄せ */
    display: grid !important;
    height: calc(100% - 48px) !important;
    min-height: 0 !important;
    box-sizing: border-box;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: stretch;
    justify-content: center;
    gap: 14px 20px;
    padding: 20px 26px !important;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-title {
    align-self: stretch;
    justify-content: center;
    padding: 20px 22px;
    box-sizing: border-box;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-title small {
    font-size: 13px;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-title strong {
    margin-top: 12px;
    font-size: clamp(24px, 1.8vw, 30px);
    line-height: 1.1;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack {
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack > article {
    min-height: 78px;
    height: auto;
    grid-template-columns: 56px 1fr;
    box-sizing: border-box;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack > article > em {
    font-size: 16px;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack > article > div {
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 8px 12px;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack b {
    font-size: 16px;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack strong {
    font-size: 18px;
    line-height: 1.25;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack span {
    font-size: 13px;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-stack > i {
    height: 16px;
    padding-left: 28px;
    font-size: 15px;
    line-height: 16px;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-result {
    margin-top: 2px;
    padding: 16px 20px;
    box-sizing: border-box;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-result > strong {
    font-size: 18px;
    line-height: 1.3;
  }

  body.sdx-active .story-visual-wrap .v203-advisor-result span {
    padding: 8px 10px;
    font-size: 11px;
  }
}

.sdx-br-sp {
  display: none;
}

@media (max-width: 980px) {
  .sdx-br-sp {
    display: inline;
  }
}

body.sdx-active:not(.sdx-system-dev) .slide-heading h2 {
  white-space: normal;
}

/* cost-reduction：Story 1–2枚目の図高さを3枚目以降に近づける */
@media (max-width: 980px) {
  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-body,
  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v200-body {
    min-height: 0 !important;
    padding: 8px 10px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey {
    gap: 0;
    width: 100%;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey::before {
    top: 18px;
    bottom: 18px;
    left: 19px;
    width: 4px;
    transform: translateX(-50%);
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey article {
    grid-template-columns: 38px 1fr;
    min-height: 0 !important;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey em {
    width: 36px;
    height: 33px;
    font-size: 11px;
    justify-self: center;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey article > div {
    padding: 6px 7px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey b {
    font-size: 12px;
    line-height: 1.25;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-overview .v200-journey span {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.25;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v200-systems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v200-systems article {
    padding: 5px 6px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v200-systems b {
    font-size: 10px;
    line-height: 1.2;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v200-systems span {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v200-arrowdown {
    height: 12px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person {
    min-height: 0 !important;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-title {
    padding: 8px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-title small {
    font-size: 8px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-title strong {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.15;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-tasks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 4px 6px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-tasks span {
    min-height: 0 !important;
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 4px 0;
    font-size: 9px;
    line-height: 1.2;
    border-bottom: 1px solid #ffffff40;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-tasks span:last-child {
    border-bottom: 0;
  }

  body.sdx-active:not(.sdx-system-dev) .story-sp-slide .v200-disconnect .v201-person-tasks em {
    font-size: 8px;
  }
}

@media (min-width: 981px) {
  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-body,
  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-body {
    min-height: 0 !important;
    padding: 16px 20px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey {
    gap: 4px;
    width: min(96%, 980px);
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey::before {
    left: 26px;
    width: 4px;
    transform: translateX(-50%);
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey article {
    grid-template-columns: 52px 1fr;
    min-height: 58px !important;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey em {
    width: 50px;
    height: 40px;
    font-size: 14px;
    justify-self: center;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey article > div {
    padding: 8px 12px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey b {
    font-size: 15px;
    line-height: 1.2;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-overview .v200-journey span {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-body {
    gap: 6px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-systems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-systems article {
    padding: 8px 10px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-systems b {
    font-size: 13px;
    line-height: 1.2;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-systems span {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.25;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v200-arrowdown {
    height: 16px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person {
    min-height: 0 !important;
    grid-template-columns: 150px minmax(0, 1fr);
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person-title {
    padding: 14px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person-title small {
    font-size: 11px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person-title strong {
    margin-top: 6px;
    font-size: 22px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person-tasks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 8px 12px;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person-tasks span {
    min-height: 34px !important;
    grid-template-columns: 28px minmax(0, 1fr);
    font-size: 11px;
    line-height: 1.25;
    border-bottom: 1px solid #ffffff40;
  }

  body.sdx-active:not(.sdx-system-dev) .story-visual-wrap .v200-disconnect .v201-person-tasks em {
    font-size: 9px;
  }
}
