/* ===== 共通設定：Figma PC 1366px / SP 402px ===== */
:root {
  --site-max-width: 1920px;
  --brand-blue: #0047e1;
  --brand-blue-hover: #002f94;
  --white-hover: #e4edff;
  --outline-hover-blue: rgb(0 71 225 / 6%);
  --outline-hover-white: rgb(255 255 255 / 12%);
  --brand-red: #e61f18;
  --text-primary: #343434;
  --text-secondary: #828282;
  --background: #f8faff;
  --background-gray: #e4ebf2;
  --white: #fff;
  --header-height: clamp(80px, calc(71.6598px + 2.075vw), 100px);
  --header-gutter: clamp(20px, calc(4.8484848485vw - 6.2303030303px), 60px);
  --page-gutter: clamp(20px, calc(9.696969697vw - 32.460606061px), 100px);
  --header-gap: clamp(16px, calc(-50.68px + 6.64vw), 40px);
  --nav-gap: clamp(8px, calc(-27.93px + 3.5088vw), 20px);
  --button-radius: 10px;
  --pricing-consultation-radius: 20px;
  --site-header-login-gap: 16px;
  --ui-duration: 250ms;
  --faq-duration: 400ms;
  --header-duration: 450ms;
  --menu-duration: 400ms;
  --ui-easing: cubic-bezier(.22, .61, .36, 1);
  --header-shadow: 0 1px 20px rgb(0 84 166 / 6%);
  /* スクロール表示：時間を増やすとゆっくり、距離を増やすと大きく浮き上がる。 */
  --reveal-duration: 800ms;
  --reveal-distance: 40px;
  --reveal-easing: ease;
  --loader-logo-color: #e60012;
  /* cycleは1周の時間。小さくすると速くなる（1600ms = 1.6秒）。尾は約64%。 */
  --loader-comet-1-width: 1.5;
  --loader-comet-1-cycle: 1600ms;
  --loader-comet-2-width: 1.5;
  --loader-comet-2-cycle: 1600ms;
}

/* JSが監視を開始した画面外のブロックだけを非表示にする。 */
.scroll-reveal--pending {
  opacity: 0;
}

.scroll-reveal--entering,
.page-title--entering,
.page-content--entering {
  animation: scroll-block-reveal var(--reveal-duration) var(--reveal-easing) both;
}

@keyframes scroll-block-reveal {
  from {
    opacity: 0;
    translate: 0 var(--reveal-distance);
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 540px) {
  :root {
    --reveal-distance: 24px;
  }
}

@media (prefers-reduced-motion: reduce),
print {

  .scroll-reveal--pending,
  .scroll-reveal--entering,
  .page-title--entering,
  .page-content--entering {
    opacity: 1;
    translate: none;
    animation: none;
  }
}

/* 全ページの読み込み表示。表示時間・終了条件はloading.jsのCONFIGで調整。 */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--background);
  opacity: 1;
  transition: opacity var(--loader-fade-duration, 500ms) ease;
}

.page-loader.is-leaving {
  opacity: 0;
}

.page-loader__logo {
  width: clamp(88px, 10vw, 112px);
  height: auto;
  overflow: visible;
}

/* 完了時は同じSVG座標で光とロゴをクロスフェードする。 */
.page-loader__comet {
  opacity: 1;
  transition: opacity var(--loader-light-fade-duration, 800ms) ease;
}

.page-loader.is-completing .page-loader__comet {
  opacity: 0;
}

.page-loader__finished-mark {
  opacity: 0;
  transition: opacity var(--loader-logo-reveal-duration, 800ms) ease;
}

.page-loader.is-logo-visible .page-loader__finished-mark {
  opacity: 1;
}

.page-loader__comet--first {
  --comet-width: var(--loader-comet-1-width);
  --comet-cycle: var(--loader-comet-1-cycle);
}

.page-loader__comet--second {
  --comet-width: var(--loader-comet-2-width);
  --comet-cycle: var(--loader-comet-2-cycle);
}

.page-loader__light {
  fill: none;
  stroke: var(--loader-logo-color);
  stroke-width: calc(var(--trail-width, 11) * var(--comet-width, 1));
  opacity: var(--trail-opacity, 1);
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: 5 995;
  stroke-dashoffset: calc((var(--orbit-phase, 0) + var(--trail-offset, 0)) * 1px);
  animation: page-loader-trace var(--comet-cycle, 1600ms) linear infinite;
}

/* 先端は線の丸端ではなく、輪郭の明確な楕円。尾と同じ速度・位相で進む。 */
.page-loader__head {
  fill: var(--loader-logo-color);
  rx: calc(9px * var(--comet-width, 1));
  ry: calc(5.5px * var(--comet-width, 1));
  offset-anchor: 0px 0px;
  offset-rotate: auto;
  offset-distance: calc(var(--orbit-phase, 0) * -0.1%);
  animation: page-loader-head var(--comet-cycle, 1600ms) linear infinite;
}

@keyframes page-loader-head {
  to {
    offset-distance: calc(100% - var(--orbit-phase, 0) * 0.1%);
  }
}

@keyframes page-loader-trace {
  to {
    stroke-dashoffset: calc((var(--orbit-phase, 0) + var(--trail-offset, 0) - 1000) * 1px);
  }
}

html.is-page-loading {
  overflow: hidden;
}

html.is-page-loading:not(.is-page-content-ready) [data-loading-reveal] {
  opacity: 0;
}

html.is-page-loading:not(.is-page-content-ready) :is(.page-heading > .sub-container, .feature-detail__heading, .article-title, .case-heading, .download-overview > .card-date, .download-overview__category, .download-overview > h1) {
  opacity: 0;
}

/* フォーム状態画面はアンカー位置から表示するため、ヒーローを静止状態で待機させる。 */
html.is-page-loading:not(.is-page-content-ready) body.page-form-state .page-heading>.sub-container {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  .page-loader,
  .page-loader__comet,
  .page-loader__finished-mark {
    transition: none;
  }

  .page-loader__light,
  .page-loader__head {
    animation: none;
  }
}

@media print {
  .page-loader {
    display: none;
  }

  html.is-page-loading {
    overflow: visible;
  }

  html.is-page-loading [data-loading-reveal] {
    opacity: 1;
  }

  html.is-page-loading :is(.page-heading > .sub-container, .feature-detail__heading, .article-title, .case-heading, .download-overview > .card-date, .download-overview__category, .download-overview > h1) {
    opacity: 1;
  }
}

html {
  scrollbar-gutter: stable;
  scroll-padding-top: var(--header-height);
}

body {
  width: 100%;
  background: var(--background);
  color: var(--text-primary);
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
}

.site-header a,
.site-footer a,
.menu-toggle {
  transition: opacity var(--ui-duration) ease;
}

/* 細字を不透明で重ね、文字全体を薄くせず滑らかに切り替える。 */
.text-link__label {
  display: inline-grid;
}

.text-link__base {
  grid-area: 1 / 1;
}

.text-link__base {
  position: relative;
  z-index: 1;
  font-weight: 500;
  transition: color var(--ui-duration) ease, opacity var(--ui-duration) ease;
}

:focus,
:focus-visible {
  outline: none;
}

html.is-smooth-scrolling {
  scroll-behavior: smooth;
}

.skip-link {
  display: none;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 10px 20px 8px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  transition: opacity var(--ui-duration) ease, background-color var(--ui-duration) ease, color var(--ui-duration) ease, border-color var(--ui-duration) ease;
}

.button--primary {
  background: var(--brand-blue);
  color: var(--white);
}

.button--outline {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.site-header .button,
.site-footer .button {
  transition: opacity var(--ui-duration) ease, background-color var(--ui-duration) ease, color var(--ui-duration) ease, border-color var(--ui-duration) ease;
}

@media (hover: hover) {

  .site-header__logo:hover,
  .site-footer__brand a:hover,
  .menu-toggle:hover {
    opacity: .5;
  }

  .site-nav a:hover .text-link__base,
  .footer-nav a:hover .text-link__base,
  .site-footer__legal a:hover .text-link__base {
    color: var(--brand-blue-hover);
  }

  .page-top .site-header:not(.is-scrolled):not(.is-menu-open) .site-nav a:is(:hover, :focus-visible) .text-link__base {
    color: var(--white-hover);
    opacity: .5;
  }

}

/* ===== ヘッダー：TOP初期状態だけ透過。is-scrolled = PC parts Variant2 ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--text-primary);
  background: var(--background);
  transition: background-color var(--header-duration) ease, color var(--header-duration) ease, transform var(--header-duration) ease;
}

@media (min-width: 1025px) {
  .site-header.is-scroll-hidden {
    transform: translateY(calc(-100% - 24px));
    pointer-events: none;
  }

  /* キーボードでリンクへ移動した場合も操作できるように表示する。 */
  .site-header.is-scroll-hidden:focus-within {
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

/* メニューパネルより前面に影を描き、開いた状態でも境界の影を隠さない。 */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: var(--header-shadow);
  transition: box-shadow var(--header-duration) ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--header-gap);
  width: 100%;
  max-width: var(--site-max-width);
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--header-gutter);
}

.site-header__logo {
  flex: 0 0 160px;
  display: grid;
  width: 160px;
}

.site-header__logo img {
  grid-area: 1 / 1;
  transition: opacity var(--header-duration) ease;
}

.site-header__logo-white {
  opacity: 0;
}

.site-header__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(14px, calc(8px + .586vw), 16px);
  line-height: 24px;
  white-space: nowrap;
}

.site-nav__mobile-label,
.site-nav__arrow,
.trial-label-sp,
.menu-toggle {
  display: none;
}

.site-header__actions {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header__actions .button {
  min-height: 44px;
  padding: 10px 20px 8px;
  font-size: clamp(14px, calc(8px + .586vw), 16px);
  font-weight: 500;
  white-space: nowrap;
}

.page-top .site-header:not(.is-scrolled):not(.is-menu-open) {
  background: transparent;
  color: var(--white);
}

.page-top .site-header:not(.is-scrolled):not(.is-menu-open)::after {
  box-shadow: 0 1px 20px rgb(0 84 166 / 0%);
}

.page-top .site-header:not(.is-scrolled):not(.is-menu-open) .site-header__logo-blue {
  opacity: 0;
}

.page-top .site-header:not(.is-scrolled):not(.is-menu-open) .site-header__logo-white {
  opacity: 1;
}

.page-top .site-header:not(.is-scrolled):not(.is-menu-open) .button--primary {
  background: var(--white);
  color: var(--brand-blue);
}

.page-top .site-header:not(.is-scrolled):not(.is-menu-open) .button--outline {
  border-color: var(--white);
  color: var(--white);
}

/* ===== フッター：同一HTMLをPC 5行／SP 4行のメニューに組み替える ===== */
.site-footer {
  background: var(--background);
}

.site-footer__inner {
  max-width: var(--site-max-width);
  margin-inline: auto;
  padding: clamp(88px, calc(82.996px + 1.245vw), 100px) var(--page-gutter) 33px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 50% 29.5026% 20.4974%;
}

.site-footer__brand {
  width: clamp(300px, calc(331.1743px - 2.2822vw), 322px);
}

.site-footer__logo {
  width: 100%;
  height: auto;
}

.site-footer__tagline {
  margin-top: 40px;
}

.site-footer__tagline img {
  width: 100%;
  height: auto;
}

.footer-nav {
  padding-top: 29px;
}

.footer-nav ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, 24px);
  grid-template-columns: 36.05% 1fr;
  gap: 10px 0;
}

.footer-nav a {
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
}

.site-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 29px;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "divider divider" "copyright legal";
  align-items: center;
  gap: 29px 20px;
  margin-top: 60px;
}

.site-footer__divider {
  grid-area: divider;
}

.site-footer__divider img {
  width: 100%;
  height: 1px;
}

.site-footer__legal {
  grid-area: legal;
  display: flex;
  gap: 40px;
  list-style: none;
}

.site-footer__legal a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.site-footer__copyright {
  grid-area: copyright;
  color: var(--text-secondary);
  font-size: clamp(10px, calc(9.166px + .2075vw), 12px);
  line-height: 1.5;
}

.site-footer__external-icon {
  flex: 0 0 12px;
  color: var(--text-primary);
  transition: color var(--ui-duration) ease;
}

@media (hover: hover) {
  .site-footer__legal a:hover .site-footer__external-icon {
    color: var(--brand-blue);
  }
}

/* ===== 中間幅／SP：メニューの構造切り替え ===== */
@media (max-width: 1024px) {
  .site-header__inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .menu-toggle img {
    grid-area: 1 / 1;
    transition: opacity var(--ui-duration) ease;
  }

  .menu-toggle__light,
  .menu-toggle__close {
    opacity: 0;
  }

  .page-top .site-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle__dark {
    opacity: 0;
  }

  .page-top .site-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle__light {
    opacity: 1;
  }

  .site-header.is-menu-open .menu-toggle__dark {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle__close {
    opacity: 1;
  }

  .site-header__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--background);
    color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--menu-duration) var(--ui-easing), visibility 0s linear var(--menu-duration);
  }

  .site-header.is-menu-open .site-header__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-nav {
    padding: 54px var(--header-gutter);
  }

  .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .site-nav a {
    min-height: 32px;
    justify-content: space-between;
    gap: 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
  }

  .site-nav__arrow {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--background-gray);
  }

  .site-nav__mobile-label {
    display: inline;
  }

  .site-header__actions {
    margin-top: auto;
    margin-left: 0;
    padding: 40px var(--header-gutter);
    background: var(--brand-blue);
  }

  .site-header__actions .button {
    width: 100%;
    min-height: 60px;
    font-size: 16px;
    font-weight: 600;
  }

  .site-header__trial {
    order: -1;
  }

  .site-header__actions .button--primary {
    background: var(--white);
    color: var(--brand-blue);
  }

  .site-header__actions .button--outline {
    border-color: var(--white);
    color: var(--white);
  }

  .trial-label-pc {
    display: none;
  }

  .trial-label-sp {
    display: inline;
  }

  html.is-menu-open {
    overflow: hidden;
  }

  .site-footer__inner {
    padding-inline: var(--header-gutter);
    padding-bottom: 20px;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
  }

  .site-footer__brand {
    width: min(100%, 322px);
  }

  .site-footer__tagline {
    margin-top: 25.438px;
  }

  .footer-nav {
    padding-top: 0;
    align-self: center;
  }

  .footer-nav ul {
    grid-template-rows: repeat(4, 24px);
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    padding-top: 0;
  }

  .site-footer__actions .button {
    flex: 1;
  }

  .site-footer__bottom {
    margin-top: 60px;
    grid-template-areas: "legal legal" "divider divider" "copyright copyright";
    gap: 22px 0;
  }

  .site-footer__copyright {
    font-size: clamp(10px, calc(9.166px + .2075vw), 12px);
  }
}

@media (max-width: 540px) {

  .site-header__actions {
    flex-direction: column;
  }

  .site-footer__inner {
    padding: 88px 20px 20px;
  }

  .site-footer__main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .site-footer__brand {
    flex: 0 0 auto;
    width: calc(100% - 40px);
    max-width: 322px;
    margin-inline: 20px;
  }

  .footer-nav {
    flex: 0 0 auto;
    width: calc(100% - 40px);
    margin-top: 60px;
    margin-inline: 20px;
    align-self: auto;
  }

  .footer-nav ul {
    grid-template-rows: repeat(5, 24px);
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
  }

  .site-footer__actions {
    flex: 0 0 auto;
    flex-direction: column;
    gap: 20px;
    margin-top: 26px;
  }

  .site-footer__bottom {
    gap: 20px 0;
    margin-top: 60px;
  }

  .site-footer__legal {
    gap: 40px;
  }
}

/* アウトラインは枠線・文字色を保ち、背景に淡い色だけを重ねる。 */
@media (hover: hover) {

  .site-header .button--primary:is(:hover, :focus-visible),
  .site-footer .button--primary:is(:hover, :focus-visible) {
    background-color: var(--brand-blue-hover);
    border-color: transparent;
    color: var(--white);
    opacity: 1;
  }

  .page-top .site-header:not(.is-scrolled):not(.is-menu-open) .button--primary:is(:hover, :focus-visible) {
    background-color: var(--white-hover);
    border-color: transparent;
    color: var(--brand-blue);
  }

  .site-header .button--outline:is(:hover, :focus-visible),
  .site-footer .button--outline:is(:hover, :focus-visible) {
    background-color: var(--outline-hover-blue);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    opacity: 1;
  }

  .page-top .site-header:not(.is-scrolled):not(.is-menu-open) .button--outline:is(:hover, :focus-visible) {
    background-color: var(--outline-hover-white);
    border-color: var(--white);
    color: var(--white);
  }
}

@media (hover: hover) and (max-width: 1024px) {
  .site-header .button--primary:is(:hover, :focus-visible) {
    background-color: var(--white-hover);
    border-color: transparent;
    color: var(--brand-blue);
  }

  .site-header .button--outline:is(:hover, :focus-visible) {
    background-color: var(--outline-hover-white);
    border-color: var(--white);
    color: var(--white);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ui-duration: 0s;
    --header-duration: 0s;
    --menu-duration: 0s;
  }

  html,
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }
}

/* ===== TOP：1366px / 402px の確定デザイン ===== */
.top-main {
  overflow: clip;
}

.top-container {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: calc(var(--site-max-width) - var(--page-gutter) * 2);
  margin-inline: auto;
}

.sp-only {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font: 700 clamp(16px, calc(14.332px + .415vw), 20px)/22px "Archivo", sans-serif;
  letter-spacing: -.05em;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 8px;
  flex: 0 0 26px;
  background: linear-gradient(to right, var(--brand-blue) 0 18px, var(--brand-red) 18px);
}

.section-title {
  margin-top: clamp(32px, calc(28.6639px + 0.8299vw), 40px);
  font-size: clamp(32px, calc(25.328px + 1.66vw), 48px);
  font-weight: 600;
  line-height: clamp(60px, calc(51.66px + 2.075vw), 80px);
}

.more-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 262px;
  min-height: 60px;
  padding: 8px 10px 6px 20px;
  border-radius: 10px;
  background: var(--text-primary);
  color: white;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  transition: background-color var(--ui-duration) ease, color var(--ui-duration) ease, opacity var(--ui-duration) ease;
}

.more-link__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  transition: transform var(--ui-duration) ease;
}

.more-link--light {
  background: white;
  color: var(--text-primary);
}

.more-link--light .more-link__arrow {
  background: var(--text-primary);
}

.button--white {
  background: white;
  color: var(--brand-blue);
}

.button--white-outline {
  border-color: white;
  color: white;
}

.conversion-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.conversion-actions .button {
  width: 200px;
}

.top-intro {
  position: relative;
  isolation: isolate;
  background: var(--brand-blue);
}

.top-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 352px 0 auto;
  height: 1218px;
  background: url("../images/top/hero-glow.svg") center top / min(1218px, 100%) auto no-repeat;
  pointer-events: none;
}

.hero {
  min-height: 768px;
  color: white;
  text-align: center;
  background: url("../images/top/hero-symbol.svg") center center / 768px 769px no-repeat;
}

.hero__inner {
  max-width: var(--site-max-width);
  margin-inline: auto;
  padding: 200px var(--page-gutter) 80px;
}

.hero__title {
  width: 498px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 5.67px rgb(24 48 92 / 40%));
}

.hero__lead {
  max-width: 760px;
  margin: 38px auto 0;
  font-size: clamp(20px, calc(18.3320px + 0.4149vw), 24px);
  font-weight: 600;
  line-height: 44px;
}

.hero .conversion-actions {
  margin-top: 69px;
}

.issue {
  position: relative;
  margin-inline: 20px;
  border-radius: 30px;
  background: white;
}

.issue::after {
  content: "";
  z-index: 2;
  position: absolute;
  left: 50%;
  bottom: -61px;
  width: 90px;
  height: 61px;
  background: white;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

.issue__inner {
  max-width: calc(var(--site-max-width) - 40px);
  margin-inline: auto;
  padding: clamp(42px, calc(26.1535px + 3.9419vw), 80px) max(20px, calc(var(--page-gutter) - 20px)) clamp(40px, calc(31.6598px + 2.0747vw), 60px);
}

.issue__title {
  margin-top: clamp(32px, calc(28.6639px + 0.8299vw), 40px);
  font-size: clamp(32px, calc(25.328px + 1.66vw), 48px);
  font-weight: 600;
  line-height: clamp(60px, calc(51.66px + 2.075vw), 80px);
}

.issue__title>span {
  white-space: nowrap;
}

.issue em,
.solution em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: .135em;
  text-underline-offset: .14em;
  text-decoration-skip-ink: none;
}

.issue em {
  color: var(--brand-blue);
}

.issue__lead {
  margin-top: clamp(30px, calc(25.8299px + 1.0373vw), 40px);
  font-size: clamp(16px, calc(14.332px + .415vw), 20px);
  line-height: 2;
}

.issue__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 80px;
}

.issue-card {
  position: relative;
  border: 1px solid var(--background-gray);
  border-radius: 10px;
  min-height: 260px;
}

.issue-card h3 {
  display: flex;
  align-items: center;
  min-height: 59px;
  padding-inline: 59px;
  border-radius: 9px 9px 0 0;
  background: var(--background-gray);
  font-size: 20px;
  font-weight: 600;
  line-height: 44px;
}

.issue-card__illustration {
  position: absolute;
  top: -61px;
  right: -1px;
  width: 224px;
  height: 120px;
}

.issue-card--company .issue-card__illustration {
  width: 161px;
}

.issue-card ul {
  display: grid;
  gap: 10px;
  padding: 19px;
}

.issue-card li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 5px 14px;
  border: 1px solid var(--background-gray);
  border-radius: 10px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.03em;
  text-align: center;
}

.solution {
  position: relative;
  isolation: isolate;
  color: white;
  padding-top: clamp(47px, calc(32.8216px + 3.5270vw), 81px);
  padding-bottom: clamp(48px, calc(26.3154px + 5.3942vw), 100px);
  background: transparent url("../images/top/solution-background.webp?v=20261028-4") center top / cover no-repeat;
  background-blend-mode: normal;
}

.solution::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 540px auto auto 50%;
  width: min(1326px, calc(100% - 40px));
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: url("../images/top/solution-glow.svg") center / 100% 100% no-repeat;
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

.solution__title {
  font-size: clamp(32px, calc(25.328px + 1.66vw), 48px);
  line-height: clamp(60px, calc(51.66px + 2.075vw), 80px);
  font-weight: 600;
  text-align: center;
}

.solution__logo {
  width: min(600px, 100%);
  height: auto;
  margin: clamp(30px, calc(25.8299px + 1.0373vw), 40px) auto clamp(30px, calc(8.3154px + 5.3942vw), 82px);
}

.process-list {
  display: grid;
  gap: 20px;
}

.process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  min-height: 318px;
  position: relative;
}

.process__visual {
  align-self: start;
  padding: 3.54%;
  border-radius: 32px;
  background: white;
  box-shadow: -10px 0 60px -10px rgb(63 63 63 / 50%);
}

.process__visual img {
  width: 100%;
  height: auto;
}

.process:nth-child(odd) .process__visual {
  grid-column: 2;
  grid-row: 1;
}

.process__content {
  padding: 39px 22px 20px;
}

.process:nth-child(odd) .process__content {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 444px);
}

.process__number {
  display: table;
  background: white;
  color: var(--brand-blue);
  border-radius: 12px;
  padding: 3px 10px;
  font: 700 16px/17px "Archivo", sans-serif;
  letter-spacing: -.05em;
}

.process h3 {
  margin-top: 19px;
  font-size: clamp(20px, calc(14.996px + 1.245vw), 32px);
  font-weight: 600;
  line-height: 52px;
}

.process__description {
  max-width: 429px;
  margin-top: 20px;
  font-size: clamp(13px, calc(11.749px + .311vw), 16px);
  line-height: 32px;
}

.process:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 65px;
  height: 61px;
  left: calc(50% - 64px);
  bottom: 0;
  background: url("../images/top/process-arrow-left.svg") center / contain no-repeat;
}

.process:nth-child(2)::after {
  left: calc(50% + 64px);
  background-image: url("../images/top/process-arrow-right.svg");
}

.process__mobile-art {
  display: none;
}

.solution__more {
  margin: 9px 0 0 auto;
}

.cases {
  position: relative;
  padding-block: 100px 156px;
}

.cases::before,
.news::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20px 0 20px 20px;
  border-radius: 30px 0 0 30px;
  background: var(--background-gray);
}

.cases__layout {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  grid-template-rows: 142px 94px 1fr 60px;
  column-gap: 100px;
  margin-left: var(--page-gutter);
  min-height: 512px;
}

.cases__heading {
  grid-area: 1 / 1;
}

.cases__controls {
  grid-area: 2 / 1;
  display: flex;
  gap: 40px;
  padding-top: 50px;
}

.circle-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  flex: 0 0 44px;
  transition: background-color var(--ui-duration) ease;
}

.circle-arrow--previous img {
  transform: rotate(180deg);
}

.circle-arrow:disabled {
  opacity: .45;
  cursor: default;
}

.cases__track {
  grid-area: 1 / 2 / 5;
  display: flex;
  gap: 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 62px var(--page-gutter) 0 0;
  scroll-padding-right: var(--page-gutter);
}

.cases__track::-webkit-scrollbar {
  display: none;
}

/* 表示幅 = カード2.3枚 + 隙間2つ。右側の余白も見える範囲に含める。 */
.cases__track>li {
  flex: 0 0 calc((100% + var(--page-gutter) - 60px) / 2.3);
  scroll-snap-align: start;
}

.cases__more {
  grid-area: 4 / 1;
}

.cases__progress {
  display: none;
}

.content-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 10px;
  background: white;
  padding: 10px 10px 20px;
  height: 100%;
  transition: opacity var(--ui-duration) ease;
}

.content-card :is(h2, h3) {
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -.05em;
  transition: color var(--ui-duration) ease;
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: auto;
  margin-left: auto;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--text-primary);
  transition: background var(--ui-duration) ease;
}


.card-date,
.news__date {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -.05em;
}

.card-date {
  font-size: 12px;
  line-height: 14px;
}

.case-card {
  min-height: 450px;
}

.case-card__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 200;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
}

.case-card__body {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.case-card__client {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.05em;
  color: var(--text-secondary);
}

.projects {
  position: relative;
  padding-block: clamp(60px, calc(52.4938px + 1.8672vw), 78px) clamp(80px, calc(71.6598px + 2.0747vw), 100px);
}

.projects .section-title {
  margin-top: 54px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.project-card {
  min-height: 250px;
  gap: 10px;
}

.card-tag {
  align-self: flex-start;
  padding: 4px 8px 2px;
  border-radius: 18px;
  background: var(--text-primary);
  color: white;
  font-size: 12px;
  line-height: 22px;
}

.projects__more {
  position: absolute;
  right: 0;
  top: 164px;
}

.conversion {
  position: relative;
  isolation: isolate;
  padding-block: clamp(100px, calc(95.8299px + 1.0373vw), 110px);
  background: url("../images/top/cta-background.webp") center / cover no-repeat;
  color: white;
  text-align: center;
}

.conversion::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--brand-blue);
  mix-blend-mode: hard-light;
}

.conversion h2 {
  font-size: clamp(32px, calc(25.328px + 1.66vw), 48px);
  font-weight: 600;
  line-height: clamp(60px, calc(51.66px + 2.075vw), 80px);
}

.conversion .conversion-actions {
  margin-top: clamp(40px, calc(31.6598px + 2.0747vw), 60px);
}

.features {
  padding-block: clamp(80px, calc(71.6598px + 2.0747vw), 100px) clamp(60px, calc(43.3195px + 4.1494vw), 100px);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 43px;
  margin-top: 40px;
}

.feature-card {
  min-height: 450px;
}

.feature-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 340 / 200;
  flex-shrink: 0;
  border-radius: 10px;
}

.feature-card__image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  object-fit: cover;
}

.feature-card__media--post .feature-card__image {
  height: 100%;
  top: 0;
  object-fit: cover;
}

.feature-card__body {
  width: 100%;
  min-width: 0;
  padding-inline: 20px;
  margin-top: 20px;
}

.feature-card__body p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -.05em;
}

.feature-card .card-arrow {
  margin-top: auto;
}

.features__more {
  margin: 60px 0 0 auto;
}

.news {
  position: relative;
  padding-block: clamp(42px, calc(17.8133px + 6.0166vw), 100px) clamp(60px, calc(43.7365px + 4.0456vw), 99px);
}

.news::before {
  inset-block: 0;
}

.news .top-container {
  position: relative;
}

.news__list {
  margin-top: 60px;
}

.news__list a {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 93px;
  padding-block: 30px;
  border-bottom: 1px solid white;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -.05em;
}

.news__date {
  flex-shrink: 0;
}

/* 文字数に依存せず、PC / SP共通で基本はタイトル1行・本文3行まで表示する。 */
.content-card :is(h2, h3),
.news__title {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}

.card-description,
.case-card__client,
.feature-card__body p,
.news__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* 活動履歴・導入事例・資料はタイトルも3行まで表示する。 */
.project-card h3,
.case-card :is(h2, h3),
.download-card h3 {
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news__content {
  flex: 1;
  min-width: 0;
  width: 100%;
  transition: color var(--ui-duration) ease;
}

.news__more {
  position: absolute;
  right: 0;
  top: 72px;
}

@media (min-width: 541px) {
  .top-main .more-link {
    width: 294px;
    white-space: nowrap;
  }
}

@media (max-width: 540px) {
  .top-main .more-link {
    width: 100%;
  }
}

@media (hover: hover) {
  .top-main .button--white:is(:hover, :focus-visible) {
    background: var(--white-hover);
  }

  .top-main .button--white-outline:is(:hover, :focus-visible) {
    background: var(--outline-hover-white);
  }

  .content-card:is(:hover, :focus-visible) .card-arrow {
    background: var(--brand-blue);
  }

  .content-card:is(:hover, :focus-visible) :is(h2, h3) {
    color: var(--brand-blue);
  }

  .news__list a:is(:hover, :focus-visible) .news__content {
    color: var(--brand-blue);
  }

}

@media (max-width: 1024px) {

  /* 中間幅では背景シンボルを1024px時の768pxから541px時の402pxへ補間する。 */
  .hero {
    background-position: center;
    background-size: clamp(402px, calc(75.7764vw - 7.9503px), 768px) auto;
  }

  .issue__cards {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .issue-card h3 {
    padding-inline: 20px;
  }

  .issue-card__illustration {
    width: 180px;
    object-fit: contain;
    object-position: bottom right;
  }

  .issue-card--company .issue-card__illustration {
    width: 130px;
  }

  .issue-card li {
    font-size: 14px;
  }

  .process {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
  }

  .process-list {
    gap: 60px;
  }

  .process__visual {
    width: min(100%, 565px);
    margin-inline: auto;
    padding: 20px;
  }

  .process__content,
  .process:nth-child(odd) .process__content {
    width: min(100%, 565px);
    margin-inline: auto;
  }

  .process__content {
    padding: 20px 0;
  }

  .process h3 {
    line-height: 1.6;
    white-space: normal;
  }

  .process__description {
    line-height: 1.9;
  }

  .process:not(:last-child)::after {
    display: none;
  }

  .cases {
    padding-block: 80px;
  }

  .cases__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 30px;
    margin-inline: var(--page-gutter);
    min-height: 0;
  }

  .cases__heading,
  .cases__controls,
  .cases__track,
  .cases__more {
    grid-area: auto;
  }

  .cases__controls {
    padding-top: 0;
  }

  .cases__track {
    width: calc(100% + var(--page-gutter));
    padding-top: 0;
  }

  .cases__track>li {
    flex-basis: min(370px, calc(100vw - var(--page-gutter) * 2));
  }

  .projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

/* タブレットはPC同様に画像と文章を2列にし、固定幅を設けず使い切る。 */
@media (min-width: 541px) and (max-width: 1024px) {
  .process {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(20px, 2.93vw, 30px);
  }

  .process__visual {
    align-self: start;
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: clamp(12px, 1.9531vw, 20px);
    border-radius: clamp(20px, 3.125vw, 32px);
  }

  .process__content,
  .process:nth-child(odd) .process__content {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: 0;
  }

  .process h3 {
    margin-top: clamp(12px, 1.8555vw, 19px);
  }

  .process__description {
    max-width: none;
    margin-top: clamp(12px, 1.9531vw, 20px);
  }
}

@media (max-width: 540px) {
  .top-container {
    width: calc(100% - 40px);
  }

  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .section-eyebrow {
    font-size: 16px;
    line-height: 18px;
    gap: 10px;
  }

  .section-eyebrow::before {
    width: 26px;
    flex-basis: 26px;
    height: 8px;
  }

  .section-title {
    margin-top: clamp(32px, calc(28.6639px + 0.8299vw), 40px);
  }

  .top-intro::before {
    top: 352px;
    height: 522px;
    background-size: 522px;
  }

  .hero {
    min-height: 914px;
    background-position: center 235px;
    background-size: min(402px, 100%) auto;
  }

  .hero__inner {
    padding: 205px 20px 80px;
  }

  .hero__title {
    width: calc(100% + 18px);
    max-width: none;
    margin-left: -9px;
    filter: drop-shadow(0 0 1.5px rgb(24 48 92 / 25%));
  }

  .hero__lead {
    margin-top: 52px;
    line-height: 32px;
    max-width: 362px;
  }

  .conversion-actions {
    flex-direction: column;
  }

  .conversion-actions .button {
    width: 100%;
    font-weight: 500;
  }

  .hero .conversion-actions {
    margin-top: 112px;
  }

  .issue {
    border-radius: 10px;
  }

  .issue::after {
    bottom: -27px;
    width: 40px;
    height: 27px;
  }

  .issue__inner {
    padding-inline: 20px;
  }

  .issue__lead {
    line-height: 2;
  }

  .issue__cards {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 30px;
  }

  .issue-card {
    min-height: 256px;
  }

  .issue-card h3 {
    min-height: 40px;
    line-height: 40px;
    padding-inline: 19px;
    font-size: 16px;
  }

  .issue-card__illustration {
    width: 150px;
    height: 81px;
    top: -41px;
  }

  .issue-card--company .issue-card__illustration {
    width: 107px;
    height: 80px;
    top: -40px;
  }

  .issue-card ul {
    padding: 10px 9px;
  }

  .issue-card li {
    min-height: 58px;
    padding: 8px 20px;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0;
  }

  .solution {
    background-image: url("../images/top/solution-background-sp.webp?v=20261028-4");
    background-position: center top;
  }

  .solution::before {
    top: 600px;
    width: 1000px;
    max-width: none;
    height: 1000px;
    background-size: 1000px;
  }

  .solution__title {
    white-space: nowrap;
  }

  .solution__logo {
    width: calc(100% - 1px);
  }

  .process-list {
    gap: 56px;
  }

  .process {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
  }

  .process__visual {
    width: 100%;
    aspect-ratio: 362 / 203;
    padding: 0;
    border-radius: 20px;
    background: none;
    box-shadow: none;
  }

  .process__visual.process__visual--provided {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .process__visual--first {
    overflow: hidden;
    box-shadow: 0 2.55px 1.28px rgb(0 0 0 / 25%);
  }

  .process__visual--first img {
    height: 108.7%;
    object-fit: cover;
    object-position: top;
  }

  .process__visual--last img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .process__desktop-image {
    display: none;
  }

  .process__mobile-art {
    position: relative;
    display: block;
    height: 100%;
  }

  .process__mobile-art .process__search-input {
    position: absolute;
    width: 47.08%;
    height: 17.3%;
    left: 48.32%;
    top: 0;
    border-radius: 12.77px;
    box-shadow: 0 2.55px 2.55px rgb(0 0 0 / 25%);
  }

  .process__search-results {
    position: absolute;
    width: 100%;
    height: 78.62%;
    top: 21.38%;
    overflow: hidden;
    border-radius: 19.15px;
    box-shadow: 0 2.55px 2.55px rgb(0 0 0 / 25%);
  }

  .process__search-results img {
    width: 100.11%;
    height: 138.1%;
    object-fit: fill;
  }

  .process__report-menu {
    position: absolute;
    left: 4.07%;
    top: 5.66%;
    width: 22.83%;
    height: 88.36%;
    border-radius: 8.3px;
    overflow: hidden;
    box-shadow: 0 2.55px 2.55px rgb(0 0 0 / 25%);
  }

  .process__report-menu img {
    position: absolute;
    width: 121.71%;
    max-width: none;
    height: 110.99%;
    left: -10.54%;
    top: -3.65%;
  }

  .process__report-document {
    position: absolute;
    right: 0;
    top: 0;
    width: 70.98%;
    height: 99.68%;
    border-radius: 19.15px;
    overflow: hidden;
    box-shadow: 0 2.55px 2.55px rgb(0 0 0 / 25%);
  }

  .process__report-document img {
    position: absolute;
    width: 100%;
    height: 389.48%;
    top: -10.25%;
  }

  .process__content,
  .process:nth-child(odd) .process__content {
    width: 100%;
    padding: 0;
  }

  .process__number {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 13px;
  }

  .process h3 {
    margin-top: 24px;
    font-size: 20px;
    line-height: 30px;
  }

  .process__description {
    margin-top: 24px;
    font-size: 13px;
    line-height: 28px;
  }

  .solution__more {
    width: 100%;
    margin-top: 46px;
  }

  .cases {
    padding-block: 62px 60px;
  }

  .cases::before {
    inset: 20px 0 0;
    border-radius: 20px 0 0 20px;
  }

  .cases__layout {
    display: block;
    min-height: 0;
    margin-inline: 20px 0;
  }

  .cases__controls {
    display: none;
  }

  .cases__track {
    width: 100%;
    gap: 20px;
    padding: 30px 20px 0 0;
    scroll-padding-right: 20px;
  }

  .cases__track>li {
    flex-basis: calc(100vw - 40px);
  }

  .case-card {
    min-height: 441px;
  }

  .case-card__body {
    padding-inline: 20px;
  }

  .content-card :is(h2, h3) {
    font-size: 20px;
    line-height: 32px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: break-spaces;
    -webkit-line-clamp: 2;
  }

  .cases__progress {
    position: relative;
    display: block;
    height: 1px;
    background: white;
    margin-top: 30px;
  }

  .cases__progress span {
    position: absolute;
    top: -1px;
    width: 36.8%;
    height: 3px;
    background: var(--text-primary);
  }

  .cases__more {
    width: calc(100% - 20px);
    margin-top: 60px;
  }

  .projects .section-title {
    margin-top: 32px;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 30px;
  }

  .project-card {
    min-height: 245px;
    padding: 20px;
  }

  .content-card.project-card h3,
  .content-card.case-card :is(h2, h3),
  .content-card.download-card h3 {
    -webkit-line-clamp: 3;
  }

  .projects__more {
    position: static;
    width: 100%;
    margin-top: 60px;
  }

  .conversion h2 {
    font-size: clamp(25px, 7.96vw, 32px);
    line-height: 60px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .feature-card {
    min-height: 440px;
  }

  .features__grid>li:first-child .feature-card {
    min-height: 453px;
  }

  .features__more {
    width: 100%;
  }

  .news::before {
    inset: 0;
    border-radius: 20px 0 0 20px;
  }

  .news__list {
    margin-top: 30px;
  }

  .news__list a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 120px;
    padding-block: 20px;
    font-size: 13px;
    line-height: 28px;
  }

  .news__date {
    font-size: 12px;
    line-height: 13px;
  }

  .news__more {
    position: static;
    width: 100%;
    margin-top: 60px;
  }

  .news__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: break-spaces;
    -webkit-line-clamp: 2;
  }
}

/* ===== 下層共通：Figma PC 1366px / SP 402px ===== */
.subpage-main {
  --sub-title-size: clamp(32px, calc(25.3278px + 1.6598vw), 48px);
  --sub-title-leading: clamp(60px, calc(51.6598px + 2.0747vw), 80px);
  --sub-space: clamp(60px, calc(43.3195px + 4.1494vw), 100px);
  --sub-body-size: clamp(13px, calc(11.749px + .3112vw), 16px);
  --sub-body-leading: clamp(28px, calc(26.332px + .415vw), 32px);
}

.sub-container {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: calc(var(--site-max-width) - var(--page-gutter) * 2);
  margin-inline: auto;
}

.page-heading {
  position: relative;
  min-height: clamp(298px, calc(234.6141px + 15.7676vw), 450px);
  padding-top: clamp(140px, calc(116.6473px + 5.8091vw), 196px);
  padding-bottom: 60px;
  border-bottom: 3px solid transparent;
}

/* 元の下線と同じ位置・太さで、左から右へ描画する。 */
.page-heading::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -3px;
  height: 3px;
  background: var(--background-gray);
  transform: scaleX(1);
  transform-origin: left center;
  pointer-events: none;
}

html.is-page-loading:not(.is-page-content-ready) .page-heading::after {
  transform: scaleX(0);
}

html.is-page-loading:not(.is-page-content-ready) body.page-form-state .page-heading::after {
  transform: scaleX(1);
}

.page-heading--line-entering::after {
  animation: page-heading-line var(--reveal-duration) var(--reveal-easing) both;
}

@keyframes page-heading-line {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce),
print {
  .page-heading--line-entering::after {
    animation: none;
  }
}

@media print {
  html.is-page-loading .page-heading::after {
    transform: scaleX(1);
  }
}

.page-heading p {
  color: var(--text-secondary);
  font: 700 clamp(16px, calc(14.332px + .415vw), 20px)/1.2 "Archivo", sans-serif;
  letter-spacing: -.05em;
}

.page-heading h1 {
  margin-top: clamp(20px, calc(11.6598px + 2.0747vw), 40px);
  font-size: clamp(40px, calc(29.9917px + 2.4896vw), 64px);
  font-weight: 600;
  line-height: clamp(59px, calc(50.2427px + 2.1784vw), 80px);
}

.sub-lead {
  font-size: var(--sub-title-size);
  font-weight: 600;
  line-height: var(--sub-title-leading);
}

.sub-lead em {
  color: var(--brand-blue);
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: .135em;
  text-underline-offset: .14em;
}

.shared-cta {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  padding-block: 75px 65px;
  color: white;
  background: url("../images/common/cta-background.webp") center bottom / cover no-repeat;
}

.shared-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-blue);
  mix-blend-mode: hard-light;
}

.shared-cta h2,
.price-demo h2 {
  font-size: var(--sub-title-size);
  font-weight: 600;
  line-height: var(--sub-title-leading);
}

.shared-cta p,
.price-demo__content>p {
  margin-top: 20px;
  font-size: clamp(13px, calc(10.0809px + .7261vw), 20px);
  line-height: clamp(28px, calc(22.9959px + 1.2448vw), 40px);
}

.shared-cta .conversion-actions {
  justify-content: flex-start;
  margin-top: 40px;
}

@media (hover: hover) {
  .subpage-main .button--white:is(:hover, :focus-visible) {
    background-color: var(--white-hover);
  }

  .subpage-main .button--white-outline:is(:hover, :focus-visible) {
    background-color: var(--outline-hover-white);
  }
}

/* ===== 特徴：説明図と4つのプロセス ===== */
.value-overview {
  padding-top: var(--sub-space);
}

.value-diagram {
  display: grid;
  grid-template-columns: minmax(100px, 181px) 50px minmax(0, 500px) 50px minmax(100px, 181px);
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 350px;
  margin-top: clamp(30px, calc(17.4896px + 3.112vw), 60px);
  padding: 50px 60px;
  border-radius: 30px;
  background: var(--brand-blue);
}

.value-diagram__input {
  transform: translate(20px, 10px);
}

.value-diagram__output {
  transform: translateY(10px);
}

.value-diagram__input,
.value-diagram__output {
  text-align: center;
  color: white;
}

.value-diagram__input>p,
.value-diagram__output>p {
  margin-top: 17px;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
}

.value-diagram__dots {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  justify-content: center;
  gap: 15px 10px;
}

.value-diagram__rows {
  display: grid;
  gap: 10px;
}

.value-diagram__output-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.value-diagram__output-row span {
  flex: 1;
  height: 36px;
  background: repeating-linear-gradient(to bottom, #80a3f0 0 8px, transparent 8px 14px);
  border-radius: 2px;
}

.value-diagram__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 214px;
  padding: 20px;
  border-radius: 20px;
  background: white;
}

.value-diagram__brand img {
  width: 200px;
  height: auto;
}

.value-diagram__brand p {
  font-size: clamp(12px, 1.025vw, 14px);
  line-height: 32px;
  text-align: center;
  white-space: nowrap;
}

.value-diagram__arrow {
  margin-top: 0;
}

.value-processes {
  padding-top: var(--sub-space);
  padding-bottom: 160px;
}

.value-process {
  padding-top: 60px;
  border-top: 1px solid var(--background-gray);
}

.value-process+.value-process {
  margin-top: 100px;
}

.value-process__number {
  color: var(--brand-blue);
  font: 700 clamp(16px, calc(14.332px + .415vw), 20px)/20px "Archivo", sans-serif;
  letter-spacing: -.05em;
}

.value-process h2 {
  margin-top: clamp(20px, calc(7.2801px + 3.1642vw), 50.5px);
  font-size: clamp(20px, calc(14.9959px + 1.2448vw), 32px);
  font-weight: 600;
  line-height: clamp(32px, calc(23.6598px + 2.0747vw), 52px);
}

.value-process__description {
  margin-top: clamp(20px, calc(15.8299px + 1.0373vw), 30px);
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
  line-height: var(--sub-body-leading);
}

.value-process__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: clamp(20px, calc(11.6598px + 2.0747vw), 40px);
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 35px 34px 20px;
  border-radius: 20px;
  background: var(--background-gray);
}

.value-card__screen {
  display: block;
  width: 100%;
  max-width: 489px;
}

.value-card__screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.value-card figcaption {
  display: flex;
  align-items: center;
  gap: clamp(10px, calc(5.8299px + 1.0373vw), 20px);
  width: 100%;
  min-height: 80px;
  padding: 8px 20px;
  border-radius: 10px;
  background: white;
}

.value-card figcaption>img {
  flex: 0 0 auto;
  width: clamp(40px, calc(33.0409px + 1.7313vw), 56.69px);
  height: auto;
}

.value-card figcaption p {
  min-width: 0;
  font-size: clamp(12px, calc(10.332px + .415vw), 16px);
  font-weight: 500;
  line-height: clamp(20px, calc(16.6639px + .8299vw), 28px);
}

.value-card--sp {
  display: none;
}

/* ===== 料金：料金表 / 導入の流れ / FAQ ===== */
.pricing {
  padding-top: var(--sub-space);
  padding-bottom: var(--sub-space);
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(40px, calc(31.6598px + 2.0747vw), 60px);
}

.pricing-plan {
  min-width: 0;
  min-height: 552px;
  padding: 20px 30px 40px;
  font-size: var(--sub-body-size);
  line-height: 1.5;
  background: var(--background-gray);
}

.pricing-plan--first {
  padding-bottom: 20px;
  border-radius: 20px 0 0 20px;
  background: var(--brand-blue);
  color: white;
}

.pricing-plan--renewal {
  border-radius: 0 20px 20px 0;
}

.pricing-plan h3 {
  padding: 4px 20px;
  border-radius: 50px;
  background: white;
  color: var(--brand-blue);
  font-size: clamp(16px, calc(12.6639px + .8299vw), 24px);
  font-weight: 600;
  line-height: clamp(24px, calc(15.6598px + 2.0747vw), 44px);
  text-align: center;
}

.pricing-plan__fee {
  padding: 19px 30px;
  border-block: 1px solid currentColor;
}

.pricing-plan h3+.pricing-plan__fee {
  margin-top: 32px;
}

.pricing-plan--renewal .pricing-plan__fee {
  border-color: var(--brand-blue);
  min-height: 142px;
  padding-block: 24px;
}

.price-amount {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.price-amount strong {
  font-size: clamp(20px, calc(18.332px + .415vw), 24px);
  font-weight: 600;
}

.pricing-plan__fee .price-amount {
  margin-top: 10px;
}

.pricing-plan__plus {
  display: block;
  margin: 20px auto;
}

.pricing-plan__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 30px 0;
  margin-top: 20px;
}

.pricing-plan__total strong {
  font-size: clamp(40px, calc(29.9917px + 2.4896vw), 64px);
  line-height: 1.5;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin-top: 39px;
}

.pricing-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 227px;
  padding: 20px 29px;
  border: 1px solid var(--brand-blue);
  border-radius: 10px;
}

.pricing-option--training {
  background: white;
}

.pricing-option h4 {
  margin: 0 0 10px;
  padding: 3px 20px;
  border-radius: 13px;
  background: var(--brand-blue);
  color: white;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.pricing-option__note {
  color: var(--text-secondary);
  font-size: 13px;
}

.pricing-option .price-amount {
  margin-top: auto;
  gap: 8px;
}

.muted {
  color: var(--text-secondary);
}

.pricing-package {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 75px;
  margin-top: 20px;
  padding: 15px 40px 15px 48px;
  border-radius: 20px;
  background: var(--background-gray);
}

.pricing-package h3 {
  margin-right: auto;
  font-size: clamp(16px, calc(14.332px + .415vw), 20px);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-package dl {
  margin: 0;
  display: flex;
  flex-shrink: 0;
  gap: 40px;
}

.pricing-package dl>div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-package dl>div+div {
  padding-left: 29px;
  border-left: 1px solid #ccc;
}

.pricing-package dt {
  padding: 3px 20px;
  border-radius: 13px;
  background: var(--text-primary);
  color: white;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.pricing-package dd {
  margin: 0;
  font-size: var(--sub-body-size);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-package>p {
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
}

.pricing-notes {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
}

.price-steps {
  padding-top: 60px;
  padding-bottom: var(--sub-space);
  border-top: 1px solid var(--background-gray);
}

.price-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 28px;
  margin-top: 40px;
}

.price-steps .section-title {
  margin: 0;
}

.step-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding: 90px 40px 28px;
  border-radius: 30px;
  background: white;
}

.step-card__number {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--brand-blue);
  border-radius: 50%;
  color: var(--brand-blue);
  font: 700 20px/1 "Archivo", sans-serif;
}

.step-card h3 {
  font-size: clamp(20px, calc(18.332px + .415vw), 24px);
  font-weight: 600;
  line-height: 40px;
}

.step-card>p {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
  line-height: var(--sub-body-leading);
}

.step-card small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 24px;
  color: var(--text-secondary);
}

.step-card:nth-child(2)::after,
.step-card:nth-child(4)::after,
.step-card:nth-child(5)::after {
  content: "";
  position: absolute;
  top: 137px;
  right: -23px;
  width: 20px;
  height: 20px;
  background: url("../images/price/step-arrow.svg") center / contain no-repeat;
  transform: rotate(90deg);
}

.price-demo {
  background: var(--brand-blue);
  color: white;
}

.price-demo__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--site-max-width);
  margin-inline: auto;
}

.price-demo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 768px;
  padding: 80px var(--page-gutter);
  padding-right: clamp(40px, 9.7365vw, 133px);
}

.price-demo__content .button {
  margin-top: 40px;
  width: 300px;
  max-width: 100%;
}

.price-demo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-faq {
  padding-top: var(--sub-space);
  padding-bottom: 160px;
}

.faq-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.faq-item {
  border-radius: 10px;
  background: var(--background-gray);
}

.faq-item.is-animating {
  overflow: hidden;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  column-gap: 40px;
  min-height: 100px;
  padding: 30px 40px;
  list-style: none;
  cursor: pointer;
}

.faq-item[open] summary {
  min-height: 95px;
  padding-bottom: 25px;
}

.faq-item.is-closing summary {
  min-height: 100px;
  padding-bottom: 30px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item h3 {
  font-size: clamp(16px, calc(12.6639px + .8299vw), 24px);
  font-weight: 600;
  line-height: 40px;
}

.faq-item__q {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--brand-blue);
  font: 700 20px/1 "Archivo", sans-serif;
}

.faq-item__toggle {
  display: grid;
  transition: opacity var(--ui-duration) ease;
}

.faq-item__toggle img {
  grid-area: 1 / 1;
  width: 40px;
  height: 40px;
}

.faq-item__minus,
.faq-item[open] .faq-item__plus {
  visibility: hidden;
}

.faq-item[open] .faq-item__minus {
  visibility: visible;
}

.faq-item.is-closing .faq-item__plus {
  visibility: visible;
}

.faq-item.is-closing .faq-item__minus {
  visibility: hidden;
}

.faq-item__answer {
  padding: 0 40px 30px;
  font-size: var(--sub-body-size);
  line-height: 32px;
}

/* ===== 機能一覧 / 機能詳細 ===== */
.feature-heading__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.feature-heading .feature-heading__description {
  margin-top: 6px;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(16px, calc(12.6639px + .8299vw), 24px);
  line-height: clamp(32px, calc(26.9959px + 1.2448vw), 44px);
  letter-spacing: normal;
  text-align: right;
}

.feature-catalog {
  padding-top: 60px;
  padding-bottom: clamp(120px, calc(103.3195px + 4.1494vw), 160px);
}

.feature-catalog__count {
  padding-bottom: 39px;
  border-bottom: 1px solid var(--background-gray);
  font-size: clamp(16px, calc(14.332px + .415vw), 20px);
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -.05em;
  text-align: right;
}

.feature-catalog .feature-card[aria-disabled="true"] {
  cursor: default;
  opacity: 1;
}

.features__grid>li {
  scroll-margin-top: 30px;
}

.feature-detail {
  padding-top: clamp(140px, calc(131.6598px + 2.0747vw), 160px);
  padding-bottom: clamp(120px, calc(103.3195px + 4.1494vw), 160px);
}

.feature-breadcrumb {
  margin-left: var(--page-gutter);
}

.feature-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(12px, calc(10.332px + .415vw), 16px);
  line-height: 1.5;
}

.feature-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-breadcrumb li+li {
  color: var(--text-secondary);
}

.feature-breadcrumb li+li::before {
  content: "";
  width: clamp(4px, calc(2.332px + .415vw), 8px);
  height: clamp(4px, calc(2.332px + .415vw), 8px);
  background: var(--background-gray);
}

.feature-breadcrumb a {
  transition: opacity var(--ui-duration) ease;
}

.feature-back {
  transition: background-color var(--ui-duration) ease;
}

.feature-detail__heading {
  position: relative;
  margin: 60px var(--page-gutter) 60px;
  padding-left: 60px;
}

.feature-detail__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 30px;
  background: var(--brand-blue);
}

.feature-detail__heading h1 {
  font-size: clamp(40px, calc(29.9917px + 2.4896vw), 64px);
  font-weight: 600;
  line-height: 80px;
}

.feature-detail__heading>p {
  width: 100%;
  max-width: none;
  margin-top: clamp(20px, calc(3.3195px + 4.1494vw), 60px);
  font-size: clamp(16px, calc(14.332px + .415vw), 20px);
  line-height: clamp(32px, calc(28.6639px + .8299vw), 40px);
}

.feature-detail__sections {
  margin-left: var(--page-gutter);
  padding-inline: 60px var(--page-gutter);
  border-radius: 30px 0 0 30px;
  background: white;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 450fr) minmax(0, 565fr);
  gap: clamp(40px, 6.6618vw, 91px);
  padding-block: 60px;
}

.feature-section+.feature-section {
  border-top: 1px solid var(--background-gray);
}

.feature-section__number {
  color: var(--brand-blue);
  font: 700 clamp(16px, calc(14.332px + .415vw), 20px)/22px "Archivo", sans-serif;
  letter-spacing: -.05em;
}

.feature-section h2 {
  margin-top: clamp(20px, calc(8.1109px + 2.9575vw), 48.51px);
  font-size: clamp(20px, calc(14.9959px + 1.2448vw), 32px);
  line-height: clamp(30px, calc(20.8257px + 2.2822vw), 52px);
  font-weight: 600;
}

.feature-section__description {
  margin-top: clamp(20px, calc(15.6214px + 1.0892vw), 30.49px);
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
  line-height: var(--sub-body-leading);
}

.feature-section__image {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  aspect-ratio: 565 / 350;
  padding: 35px 38.5px 37px;
  border-radius: 20px;
  background: var(--background-gray);
}

.feature-section__image img {
  width: 100%;
  height: auto;
}

.feature-section__photo {
  align-self: start;
  aspect-ratio: auto;
}

.feature-section__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.feature-section--text-only {
  display: block;
  grid-template-columns: none;
}

.feature-section--text-only .feature-section__body {
  width: 100%;
  max-width: none;
}

.feature-detail__back {
  margin: 60px var(--page-gutter) 0;
}

.feature-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 246px;
  min-height: 60px;
  padding: 8px 20px 6px 10px;
  border-radius: 10px;
  background: var(--text-primary);
  color: white;
  font-size: 16px;
  line-height: 24px;
}

.feature-back__icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
}

.feature-back__icon img {
  transform: rotate(180deg);
}

@media (hover: hover) {
  .feature-breadcrumb a:is(:hover, :focus-visible) {
    opacity: .5;
  }
}

@media (max-width: 1024px) {
  .feature-heading {
    min-height: 436px;
    padding-bottom: 60px;
  }

  .feature-heading__inner {
    display: block;
  }

  .feature-heading__inner>div>p {
    line-height: 17px;
  }

  .feature-heading h1 {
    margin-top: 20px;
    line-height: 60px;
  }

  .feature-heading .feature-heading__description {
    margin-top: 40px;
    font-size: clamp(16px, calc(10.218px + 1.0688vw), 21.162px);
    line-height: clamp(32px, calc(23.328px + 1.603vw), 39.743px);
    text-align: left;
  }

  .feature-heading .pc-only {
    display: none;
  }

  .feature-detail__heading {
    padding-left: 30px;
  }

  .feature-breadcrumb {
    margin-left: var(--page-gutter);
  }

  .feature-detail__sections {
    padding-left: 30px;
  }

  .feature-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .feature-section__image {
    width: 100%;
    max-width: 565px;
    padding: 20px;
  }

  .feature-card {
    min-height: clamp(350px, calc(18.6335vw + 249.2px), 440px);
  }
}

@media (max-width: 540px) {
  .feature-catalog__count {
    padding-bottom: 29px;
    line-height: 24px;
    text-align: left;
  }

  .feature-catalog .features__grid {
    margin-top: 30px;
  }

  .feature-detail {
    padding-top: 140px;
  }

  .feature-breadcrumb {
    margin-left: 20px;
  }

  .feature-detail__heading {
    margin: 40px 40px 64px 0;
    padding-left: 20px;
  }

  .feature-detail__heading::before {
    width: 4px;
    border-radius: 10px;
  }

  .feature-detail__heading h1 {
    font-size: min(40px, 9.95vw);
  }

  .feature-detail__heading>p {
    font-size: 16px;
    line-height: 32px;
  }

  .feature-detail__sections {
    margin-left: 0;
    padding-inline: 20px;
  }

  .feature-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 40px;
  }

  .feature-section h2 {
    margin-top: 20px;
    font-size: 20px;
    line-height: 30px;
  }

  .feature-section__description {
    margin-top: 20px;
    font-size: 13px;
    line-height: 28px;
  }

  .feature-section__image {
    aspect-ratio: auto;
    min-height: 218px;
    padding: 20px;
  }

  .feature-section__image img {
    width: min(100%, 313px);
  }

  .feature-back {
    width: 100%;
  }

  .feature-detail__back {
    margin-inline: 20px;
  }
}

@media (hover: hover) {
  .faq-item summary:hover .faq-item__toggle {
    opacity: .5;
  }
}

@media (max-width: 1024px) {
  .value-diagram {
    grid-template-columns: minmax(80px, 1fr) 30px minmax(0, 2.4fr) 30px minmax(80px, 1fr);
    gap: 12px;
    padding-inline: 25px;
  }

  .value-diagram__dots {
    grid-template-columns: repeat(3, minmax(0, 30px));
    gap: 10px;
  }

  .value-diagram__dots img,
  .value-diagram__output-row img {
    width: 30px;
    height: auto;
  }

  .value-diagram__output-row {
    gap: 8px;
  }

  .value-diagram__arrow img {
    width: 100%;
    height: auto;
  }

  .value-diagram__brand {
    padding-inline: 10px;
  }

  .value-diagram__brand p {
    white-space: normal;
    line-height: 24px;
  }

  .value-card {
    padding: 25px 20px 20px;
  }

  .value-card figcaption {
    padding-inline: 10px;
  }

  .pricing-plan {
    padding-inline: 20px;
  }

  .pricing-plan__fee {
    padding-inline: 0;
  }

  .pricing-plan__total {
    padding-inline: 0;
  }

  .pricing-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-option {
    min-height: 0;
    padding: 16px;
  }

  .pricing-option h4 {
    margin-bottom: 0;
  }

  .pricing-option .price-amount {
    margin-top: 0;
  }

  .pricing-package {
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
  }

  .pricing-package dl {
    gap: 20px;
  }

  .pricing-package dl>div+div {
    padding-left: 20px;
  }

  .pricing-package>p {
    width: 100%;
  }

  .price-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-steps .section-title {
    grid-column: 1 / -1;
  }

  .price-steps .section-title br {
    display: none;
  }

  .step-card {
    padding: 76px 20px 30px;
  }

  .step-card:nth-child(5)::after {
    content: none;
  }

  .price-demo__content {
    padding: 60px var(--page-gutter);
    min-height: 600px;
  }

  .price-demo h2 {
    font-size: clamp(26px, 3.5156vw, 36px);
    line-height: 1.7;
  }

  .faq-item summary {
    column-gap: 20px;
    padding-inline: 25px;
  }

  .faq-item__answer {
    padding-inline: 25px;
  }
}

@media (min-width: 541px) and (max-width: 1024px) {
  .value-diagram {
    --value-diagram-brand-width: clamp(106px, calc(57.35vw - 204.21px), 383px);
    --value-diagram-arrow-width: clamp(20px, calc(6.42vw - 14.7px), 51px);
    grid-template-columns: minmax(80px, 1fr) var(--value-diagram-arrow-width) var(--value-diagram-brand-width) var(--value-diagram-arrow-width) minmax(80px, 1fr);
  }

  .value-diagram__input {
    transform: translateY(10px);
  }

  .value-diagram__output>p {
    font-size: clamp(14px, calc(11.76px + .414vw), 16px);
  }

  .value-diagram__brand {
    width: 100%;
    padding-inline: clamp(10px, calc(2.07vw - 1.2px), 20px);
  }

  .value-diagram__brand img {
    width: min(249px, 24.32vw);
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .sub-container {
    width: calc(100% - 40px);
  }

  .sub-lead {
    font-size: min(32px, 7.96vw);
  }

  .shared-cta {
    min-height: 560px;
    padding-block: 92px;
    background-position: 81.25% center;
  }

  .shared-cta h2 {
    font-size: min(32px, 7.96vw);
    line-height: 60px;
  }

  .shared-cta p {
    font-size: 13px;
    line-height: 28px;
  }

  .value-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 800px;
    padding: 20px;
    margin-top: 30px;
  }

  .value-diagram__input,
  .value-diagram__output {
    transform: none;
  }

  .value-diagram__dots.pc-only,
  .value-diagram__rows.pc-only,
  .value-diagram__brand .pc-only {
    display: none;
  }

  .value-diagram__input>img,
  .value-diagram__output>img {
    display: block;
    margin-inline: auto;
  }

  .value-diagram__input>p,
  .value-diagram__output>p {
    font-size: min(16px, 3.98vw);
  }

  .value-diagram__input>p {
    margin-top: 17px;
  }

  .value-diagram__output>p {
    margin-top: 25px;
  }

  .value-diagram__brand {
    flex-shrink: 0;
    width: 100%;
    min-height: 180px;
    border-radius: 16.815px;
  }

  .value-diagram__brand img {
    width: 209.342px;
    max-width: 90%;
    margin-left: -13.46px;
  }

  .value-diagram__arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 30px;
    margin: 22px 0 10px;
  }

  .value-diagram__arrow img {
    width: 31px;
    height: auto;
    transform: rotate(90deg);
  }

  .value-diagram__brand+.value-diagram__arrow {
    margin-block: 23px 20px;
  }

  .value-processes {
    padding-top: 46px;
    padding-bottom: 120px;
  }

  .value-process+.value-process {
    margin-top: 60px;
  }

  .value-process:first-child+.value-process {
    margin-top: 80px;
  }

  .value-process h2 {
    font-size: 20px;
    line-height: 32px;
    margin-top: 20px;
  }

  .value-process__description {
    font-size: 13px;
    line-height: 28px;
    margin-top: 20px;
  }

  .value-process__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .value-card {
    padding: 20px;
    gap: 10px;
  }

  .value-card figcaption {
    min-height: 0;
    padding: 8px 10px;
  }

  .value-card figcaption>img {
    width: 40px;
  }

  .value-card figcaption p {
    font-size: 12px;
    line-height: 20px;
  }

  .value-card--sp {
    display: flex;
  }

  .value-card--pc {
    display: none;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .pricing-plan {
    min-height: 0;
    padding: 20px;
    font-size: 13px;
  }

  .pricing-plan--first {
    padding-bottom: 20px;
    border-radius: 20px 20px 0 0;
  }

  .pricing-plan--renewal {
    border-radius: 0 0 20px 20px;
  }

  .pricing-plan h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-plan h3+.pricing-plan__fee {
    margin-top: 20px;
  }

  .pricing-plan__fee,
  .pricing-plan--renewal .pricing-plan__fee {
    padding: 10px 0;
    min-height: 0;
  }

  .price-amount strong {
    font-size: 20px;
  }

  .pricing-plan__plus {
    width: 26px;
    height: 26px;
    margin-block: 20px;
  }

  .pricing-plan__total {
    margin-top: 20px;
    padding: 0;
  }

  .pricing-plan__total strong {
    font-size: 40px;
  }

  .pricing-options {
    margin-top: 20px;
    gap: 20px;
  }

  .pricing-option {
    padding: 10px;
  }

  .pricing-option h4 {
    font-size: 12px;
    padding: 3px 10px;
  }

  .pricing-option__note {
    font-size: 12px;
    line-height: 18px;
  }

  .pricing-package {
    display: block;
    padding: 20px;
  }

  .pricing-package h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-package dl {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .pricing-package dl>div {
    gap: 20px;
  }

  .pricing-package dl>div+div {
    padding: 0;
    border: 0;
  }

  .pricing-package dt {
    width: 106px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .pricing-package dd,
  .pricing-package>p {
    font-size: 13px;
  }

  .pricing-package>p {
    margin-top: 20px;
    line-height: 20px;
  }

  .pricing-notes {
    margin-top: 20px;
    gap: 10px;
  }

  .price-steps {
    padding-bottom: 80px;
  }

  .price-steps .section-eyebrow,
  .price-faq .section-eyebrow {
    gap: 10px;
    line-height: 22px;
  }

  .price-steps__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 28px;
  }

  .price-steps .section-title {
    margin-bottom: -10px;
    white-space: nowrap;
  }

  .step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 20px;
  }

  .step-card__number {
    position: static;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .step-card h3 {
    margin-top: 20px;
    font-size: 20px;
    line-height: 40px;
  }

  .step-card>p {
    font-size: 13px;
    line-height: 28px;
  }

  .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    inset: auto auto -30px calc(50% - 10px);
    width: 20px;
    height: 20px;
    background: url("../images/price/step-arrow.svg") center / contain no-repeat;
    transform: rotate(180deg);
  }

  .price-demo__inner {
    display: flex;
    flex-direction: column-reverse;
  }

  .price-demo__image {
    height: auto;
    aspect-ratio: 402 / 376;
    object-fit: cover;
  }

  .price-demo__content {
    min-height: 376px;
    padding: 40px 20px;
  }

  .price-demo h2 {
    font-size: min(32px, 7.96vw);
    line-height: 60px;
  }

  .price-demo__content>p {
    font-size: 13px;
    line-height: 28px;
  }

  .price-demo__content .button {
    width: 100%;
    margin-top: 40px;
    font-weight: 500;
  }

  .price-faq {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .price-faq .section-title {
    margin-top: 28px;
  }

  .faq-item summary {
    grid-template-columns: 32px 1fr 32px;
    gap: 10px 0;
    min-height: 0;
    padding: 20px 20px 0;
  }

  .faq-item[open] summary {
    min-height: 0;
    padding-bottom: 0;
  }

  .faq-item.is-closing summary {
    min-height: 0;
    padding-bottom: 20px;
  }

  .faq-item:not([open]) summary {
    padding-bottom: 20px;
  }

  .faq-item__q {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .faq-item h3 {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 16px;
    line-height: 28px;
  }

  .faq-item__toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .faq-item__toggle img {
    width: 32px;
    height: 32px;
  }

  .faq-item__answer {
    padding: 10px 20px 20px;
    font-size: 13px;
    line-height: 24px;
  }
}

/* ===== ワイド画面：1680pxで1倍 → 1920pxで1.3倍。以降は固定 ===== */
@media (min-width: 1680px) {

  /* 文字の基準1pxを1〜1.3pxへ補間。各ルールの数値は1680px時点のサイズ。 */
  :root {
    --wide-font-unit: clamp(1px, calc(0.125vw - 1.1px), 1.3px);
  }

  body {
    font-size: calc(16 * var(--wide-font-unit));
  }

  .subpage-main {
    --sub-title-size: calc(48 * var(--wide-font-unit));
    --sub-title-leading: calc(80 * var(--wide-font-unit));
    --sub-body-size: calc(16 * var(--wide-font-unit));
    --sub-body-leading: calc(32 * var(--wide-font-unit));
  }

  .button,
  .site-nav a,
  .site-header__actions .button,
  .footer-nav a,
  .more-link,
  .issue-card li,
  .process__number,
  .process__description,
  .case-card__client,
  .feature-card__body p,
  .news__list a,
  .value-diagram__input>p,
  .value-diagram__output>p,
  .value-card figcaption p,
  .feature-breadcrumb ol,
  .feature-back {
    font-size: calc(16 * var(--wide-font-unit));
  }

  .site-footer__legal a,
  .site-footer__copyright,
  .card-date,
  .card-tag,
  .pricing-notes,
  .step-card small {
    font-size: calc(12 * var(--wide-font-unit));
  }

  .section-eyebrow,
  .issue__lead,
  .issue-card h3,
  .content-card :is(h2, h3),
  .page-heading p,
  .shared-cta p,
  .price-demo__content>p,
  .value-process__number,
  .pricing-package h3,
  .step-card__number,
  .faq-item__q,
  .feature-catalog__count,
  .feature-detail__heading>p,
  .feature-section__number {
    font-size: calc(20 * var(--wide-font-unit));
  }

  .section-title,
  .issue__title,
  .solution__title,
  .conversion h2 {
    font-size: calc(48 * var(--wide-font-unit));
  }

  .hero__lead,
  .pricing-plan h3,
  .price-amount strong,
  .step-card h3,
  .faq-item h3,
  .feature-heading .feature-heading__description {
    font-size: calc(24 * var(--wide-font-unit));
  }

  .process h3,
  .value-process h2,
  .feature-section h2 {
    font-size: calc(32 * var(--wide-font-unit));
  }

  .page-heading h1,
  .pricing-plan__total strong,
  .feature-detail__heading h1 {
    font-size: calc(64 * var(--wide-font-unit));
  }

  .value-diagram__brand p {
    font-size: calc(14 * var(--wide-font-unit));
  }

  .pricing-option h4,
  .pricing-option__note,
  .pricing-package dt {
    font-size: calc(13 * var(--wide-font-unit));
  }

  .button,
  .site-nav a,
  .footer-nav a,
  .more-link,
  .issue-card li,
  .case-card__client,
  .step-card small,
  .feature-back {
    line-height: calc(24 * var(--wide-font-unit));
  }

  .site-footer__legal a,
  .card-tag,
  .pricing-notes {
    line-height: calc(18 * var(--wide-font-unit));
  }

  .section-eyebrow,
  .feature-section__number {
    line-height: calc(22 * var(--wide-font-unit));
  }

  .section-title,
  .issue__title,
  .solution__title,
  .conversion h2,
  .page-heading h1,
  .feature-detail__heading h1 {
    line-height: calc(80 * var(--wide-font-unit));
  }

  .hero__lead,
  .issue-card h3,
  .pricing-plan h3,
  .feature-heading .feature-heading__description {
    line-height: calc(44 * var(--wide-font-unit));
  }

  .process__number {
    line-height: calc(17 * var(--wide-font-unit));
  }

  .process h3,
  .value-process h2,
  .feature-section h2 {
    line-height: calc(52 * var(--wide-font-unit));
  }

  .process__description,
  .content-card :is(h2, h3),
  .news__list a,
  .value-diagram__brand p {
    line-height: calc(32 * var(--wide-font-unit));
  }

  .card-date {
    line-height: calc(14 * var(--wide-font-unit));
  }

  .feature-card__body p,
  .value-diagram__input>p,
  .value-diagram__output>p,
  .value-card figcaption p,
  .feature-catalog__count {
    line-height: calc(28 * var(--wide-font-unit));
  }

  .shared-cta p,
  .price-demo__content>p,
  .step-card h3,
  .faq-item h3,
  .feature-detail__heading>p {
    line-height: calc(40 * var(--wide-font-unit));
  }

  .faq-item__answer {
    line-height: calc(32 * var(--wide-font-unit));
  }

  .value-process__number,
  .pricing-option h4,
  .pricing-package dt {
    line-height: calc(20 * var(--wide-font-unit));
  }

  .footer-nav ul {
    grid-template-rows: repeat(5, minmax(calc(24 * var(--wide-font-unit)), auto));
  }

  .cases__layout {
    grid-template-columns: calc(262 * var(--wide-font-unit)) minmax(0, 1fr);
    grid-template-rows: minmax(calc(142 * var(--wide-font-unit)), auto) calc(94 * var(--wide-font-unit)) 1fr 60px;
  }

  .conversion-actions .button,
  .more-link,
  .feature-back {
    min-width: max-content;
  }

  .value-diagram {
    grid-template-columns: minmax(100px, calc(181 * var(--wide-font-unit))) 50px minmax(0, 500px) 50px minmax(100px, calc(181 * var(--wide-font-unit)));
  }

  .value-diagram__rows {
    max-width: 181px;
    margin-inline: auto;
  }

  .value-diagram__input>p,
  .value-diagram__output>p,
  .value-diagram__brand p {
    white-space: nowrap;
  }
}

/* 大画面のコンテンツ枠と、片側角丸背景の幅制限。 */
@media (min-width: 1920px) {
  .cases__layout {
    max-width: calc(var(--site-max-width) - var(--page-gutter));
    margin-left: calc((100% - var(--site-max-width)) / 2 + var(--page-gutter));
  }

  /* 詳細テンプレート全体で同じ外枠を使い、見出し・背景・戻る導線の左右を揃える。 */
  .feature-breadcrumb,
  .feature-detail__heading,
  .feature-detail__sections,
  .feature-detail__back {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: var(--site-max-width);
    margin-inline: auto;
  }

  .feature-breadcrumb {
    padding-inline: 0;
  }

  .feature-detail__heading,
  .feature-detail__sections {
    padding-inline: 60px;
  }

  .cases::before,
  .news::before {
    left: max(20px, calc((100% - var(--site-max-width)) / 2));
    right: max(0px, calc((100% - var(--site-max-width)) / 2));
    border-radius: 30px;
  }

  .feature-detail__sections {
    border-radius: 30px;
  }
}

/* ===== ワイド画面の余白：文字と同じ補間区間で広げ、1920pxで固定 ===== */
@media (min-width: 1680px) {
  :root {
    --wide-process-gap: clamp(20px, calc(8.3333333333vw - 120px), 40px);
    --header-gap: calc(40 * var(--wide-font-unit));
    --nav-gap: calc(20 * var(--wide-font-unit));
  }

  .subpage-main {
    --sub-space: calc(100 * var(--wide-font-unit));
  }

  .site-header__actions,
  .site-footer__actions,
  .conversion-actions {
    gap: calc(20 * var(--wide-font-unit));
  }

  .site-header__actions .button {
    padding: calc(10 * var(--wide-font-unit)) calc(20 * var(--wide-font-unit)) calc(8 * var(--wide-font-unit));
  }

  .button {
    padding: calc(10 * var(--wide-font-unit)) calc(20 * var(--wide-font-unit)) calc(8 * var(--wide-font-unit));
  }

  .footer-nav ul {
    row-gap: calc(10 * var(--wide-font-unit));
  }

  .site-footer__bottom {
    margin-top: calc(60 * var(--wide-font-unit));
    row-gap: calc(29 * var(--wide-font-unit));
  }

  .section-title,
  .issue__title,
  .issue__lead,
  .page-heading h1 {
    margin-top: calc(40 * var(--wide-font-unit));
  }

  .hero__lead {
    max-width: calc(760 * var(--wide-font-unit));
    margin-top: calc(38 * var(--wide-font-unit));
  }

  .issue__cards {
    gap: calc(36 * var(--wide-font-unit));
    margin-top: calc(80 * var(--wide-font-unit));
  }

  .issue-card ul {
    gap: calc(10 * var(--wide-font-unit));
    padding: calc(19 * var(--wide-font-unit));
  }

  .issue-card li {
    padding-block: calc(5 * var(--wide-font-unit));
  }

  .solution__logo {
    margin-bottom: calc(82 * var(--wide-font-unit));
  }

  .process-list {
    gap: var(--wide-process-gap);
  }

  .process {
    gap: calc(36 * var(--wide-font-unit));
  }

  .process__content {
    padding: calc(39 * var(--wide-font-unit)) calc(22 * var(--wide-font-unit)) calc(20 * var(--wide-font-unit));
  }

  .process:nth-child(odd) .process__content {
    width: min(100%, calc(444 * var(--wide-font-unit)));
  }

  .process h3 {
    margin-top: calc(19 * var(--wide-font-unit));
  }

  .process__description {
    max-width: calc(429 * var(--wide-font-unit));
    margin-top: calc(20 * var(--wide-font-unit));
  }

  .process:not(:last-child)::after {
    width: calc(65 * var(--wide-font-unit));
    height: calc(61 * var(--wide-font-unit));
    left: calc(50% - 64 * var(--wide-font-unit));
    bottom: calc(20px - var(--wide-process-gap));
  }

  .process:nth-child(2)::after {
    left: calc(50% + 64 * var(--wide-font-unit));
  }

  .solution__more {
    margin-top: calc(9 * var(--wide-font-unit));
  }

  .cases__layout {
    grid-template-rows: minmax(calc(142 * var(--wide-font-unit)), auto) calc(94 * var(--wide-font-unit)) 1fr auto;
  }

  .cases__controls {
    padding-top: calc(50 * var(--wide-font-unit));
  }

  .content-card {
    padding: calc(10 * var(--wide-font-unit)) calc(10 * var(--wide-font-unit)) calc(20 * var(--wide-font-unit));
    row-gap: calc(20 * var(--wide-font-unit) - 20px);
  }

  .case-card__body {
    gap: calc(10 * var(--wide-font-unit));
    margin-top: calc(20 * var(--wide-font-unit));
  }

  .project-card {
    gap: calc(10 * var(--wide-font-unit));
  }

  .feature-card__body {
    padding-inline: calc(20 * var(--wide-font-unit));
    margin-top: calc(20 * var(--wide-font-unit));
  }

  .feature-card__body p {
    margin-top: calc(10 * var(--wide-font-unit));
  }

  .projects__grid {
    gap: calc(28 * var(--wide-font-unit));
    margin-top: calc(30 * var(--wide-font-unit));
  }

  .features__grid {
    gap: calc(40 * var(--wide-font-unit)) calc(43 * var(--wide-font-unit));
    margin-top: calc(40 * var(--wide-font-unit));
  }

  .news__list {
    margin-top: calc(60 * var(--wide-font-unit));
  }

  .news__list a {
    padding-block: calc(30 * var(--wide-font-unit));
  }

  .conversion {
    padding-block: calc(110 * var(--wide-font-unit));
  }

  .shared-cta {
    padding-block: calc(75 * var(--wide-font-unit)) calc(65 * var(--wide-font-unit));
  }

  .conversion .conversion-actions {
    margin-top: calc(60 * var(--wide-font-unit));
  }

  .shared-cta p,
  .price-demo__content>p {
    margin-top: calc(20 * var(--wide-font-unit));
  }

  .shared-cta .conversion-actions,
  .price-demo__content .button {
    margin-top: calc(40 * var(--wide-font-unit));
  }

  .value-process {
    padding-top: calc(60 * var(--wide-font-unit));
  }

  .value-process+.value-process {
    margin-top: calc(100 * var(--wide-font-unit));
  }

  .value-process h2 {
    margin-top: calc(50.5 * var(--wide-font-unit));
  }

  .value-process__description,
  .feature-section__description {
    margin-top: calc(30 * var(--wide-font-unit));
  }

  .value-process__cards {
    gap: calc(36 * var(--wide-font-unit));
    margin-top: calc(40 * var(--wide-font-unit));
  }

  .value-card {
    gap: calc(20 * var(--wide-font-unit));
  }

  .value-card figcaption {
    gap: calc(20 * var(--wide-font-unit));
    padding-block: calc(8 * var(--wide-font-unit));
  }

  .pricing-plan {
    padding: calc(20 * var(--wide-font-unit)) calc(30 * var(--wide-font-unit)) calc(40 * var(--wide-font-unit));
  }

  .pricing-plan--first {
    padding-bottom: calc(20 * var(--wide-font-unit));
  }

  .pricing-plan__fee {
    padding-block: calc(19 * var(--wide-font-unit));
  }

  .pricing-plan--renewal .pricing-plan__fee {
    padding-block: calc(24 * var(--wide-font-unit));
  }

  .pricing-plan h3+.pricing-plan__fee {
    margin-top: calc(32 * var(--wide-font-unit));
  }

  .pricing-options {
    gap: calc(25 * var(--wide-font-unit));
    margin-top: calc(39 * var(--wide-font-unit));
  }

  .pricing-option {
    padding-block: calc(20 * var(--wide-font-unit));
    gap: calc(10 * var(--wide-font-unit));
  }

  .pricing-package {
    margin-top: calc(20 * var(--wide-font-unit));
    padding-block: calc(15 * var(--wide-font-unit));
  }

  .pricing-notes {
    gap: calc(16 * var(--wide-font-unit));
    margin-top: calc(40 * var(--wide-font-unit));
  }

  .price-steps__grid {
    row-gap: calc(30 * var(--wide-font-unit));
    margin-top: calc(40 * var(--wide-font-unit));
  }

  .price-steps .section-title {
    margin-top: 0;
  }

  .step-card {
    padding-bottom: calc(28 * var(--wide-font-unit));
  }

  .step-card>p {
    margin-top: calc(20 * var(--wide-font-unit));
  }

  .step-card small {
    margin-top: calc(10 * var(--wide-font-unit));
  }

  .faq-list {
    gap: calc(20 * var(--wide-font-unit));
    margin-top: calc(30 * var(--wide-font-unit));
  }

  .faq-item summary {
    padding-block: calc(30 * var(--wide-font-unit));
  }

  .faq-item[open] summary {
    padding-bottom: calc(25 * var(--wide-font-unit));
  }

  .faq-item.is-closing summary {
    padding-bottom: calc(30 * var(--wide-font-unit));
  }

  .faq-item__answer {
    padding-bottom: calc(30 * var(--wide-font-unit));
  }

  .feature-section {
    padding-block: calc(60 * var(--wide-font-unit));
  }

  .feature-section h2 {
    margin-top: calc(48.51 * var(--wide-font-unit));
  }
}

/* ===== タブレット：541pxでSPの余白につなぎ、背景の内側は20〜80px ===== */
@media (min-width: 541px) and (max-width: 1024px) {
  :root {
    --panel-gutter: clamp(20px, calc(12.4223602484vw - 47.2049689441px), 80px);
    --panel-offset: clamp(0px, calc(4.1407867495vw - 22.4016563147px), 20px);
    --tablet-arrow-size: clamp(40px, calc(5.1759834369vw + 11.9979296066px), 65px);
  }

  /* 矢印は行間に収め、上揃えの画像・文章のどちらにも重ねない。 */
  .process-list {
    gap: calc(var(--tablet-arrow-size) * 61 / 65 + 20px);
  }

  .process:not(:last-child)::after {
    display: block;
    width: var(--tablet-arrow-size);
    height: calc(var(--tablet-arrow-size) * 61 / 65);
    top: calc(100% + 10px);
    bottom: auto;
    left: calc(50% - var(--tablet-arrow-size));
  }

  .process:nth-child(2)::after {
    left: 50%;
  }

  .cases::before,
  .news::before {
    left: var(--panel-offset);
    border-radius: clamp(20px, calc(2.0703933747vw + 8.7991718427px), 30px) 0 0 clamp(20px, calc(2.0703933747vw + 8.7991718427px), 30px);
  }

  .cases__layout {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-inline: calc(var(--panel-offset) + var(--panel-gutter)) var(--panel-gutter);
  }

  .cases__heading {
    grid-area: 1 / 1;
  }

  .cases__controls {
    grid-area: 1 / 2;
    align-self: end;
    gap: clamp(16px, 3.90625vw, 40px);
    padding-bottom: calc((clamp(60px, calc(51.66px + 2.075vw), 80px) - 44px) / 2);
  }

  /* スライドだけ右の余白を越えて画面端まで表示する。 */
  .cases__track {
    grid-area: 2 / 1 / 3 / -1;
    width: calc(100% + var(--panel-gutter));
    padding-right: var(--panel-gutter);
    scroll-padding-right: var(--panel-gutter);
  }

  .cases__track>li {
    flex-basis: min(370px, 100%);
  }

  /* 各セクションの案内ボタンは本文・一覧の後へ。操作矢印は見出し横に残す。 */
  .solution__more,
  .projects__more,
  .features__more,
  .news__more {
    position: static;
    inset: auto;
    margin: 60px 0 0 auto;
  }

  .cases__more {
    grid-column: 1 / -1;
    margin: 30px 0 0 auto;
  }

  .news .top-container {
    width: auto;
    margin-inline: calc(var(--panel-offset) + var(--panel-gutter)) var(--panel-gutter);
  }

  .feature-detail__sections {
    margin-left: var(--page-gutter);
    padding-inline: var(--panel-gutter);
  }

  .feature-detail__heading {
    margin-inline: var(--page-gutter);
    padding-left: 30px;
  }

  .feature-breadcrumb {
    margin-left: var(--page-gutter);
  }

  .feature-detail__back {
    margin-inline: calc(var(--panel-offset) + var(--panel-gutter)) var(--panel-gutter);
  }
}

/* ===== 一覧・記事・お問い合わせ：既存の余白と大画面倍率を共有 ===== */
.content-main {
  --content-unit: var(--wide-font-unit, 1px);
  --content-gap: calc(40 * var(--content-unit));
  --article-space: clamp(40px, calc(31.6598px + 2.0747vw), 60px);
  --article-title-size: clamp(24px, calc(17.3278px + 1.6598vw), 40px);
  --article-title-leading: clamp(44px, calc(35.6598px + 2.0747vw), 64px);
  --article-heading-size: clamp(20px, calc(14.9959px + 1.2448vw), 32px);
  --article-heading-leading: clamp(36px, calc(29.3278px + 1.6598vw), 52px);
  --contact-heading-size: clamp(20px, calc(18.332px + .415vw), 24px);
}

.catalog,
.support-content {
  padding-block: var(--sub-space) 160px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--background-gray);
}

.catalog-count {
  margin-left: auto;
  font-size: calc(20 * var(--content-unit));
  line-height: 1.4;
  font-weight: 600;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--content-gap) calc(28 * var(--content-unit));
}

.catalog-grid>li {
  min-width: 0;
}

.catalog-grid,
.article-breadcrumb ol,
.trial-flow,
.download-points ul {
  list-style: none;
}

.catalog-grid>li[hidden] {
  display: none;
}

.catalog-empty {
  padding-block: 80px;
  color: var(--text-secondary);
  font-size: calc(16 * var(--content-unit));
  line-height: 1.75;
  text-align: center;
}

.catalog-empty[hidden] {
  display: none;
}

.catalog--cases .catalog-toolbar {
  margin-bottom: 60px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-filters button {
  padding: 4px 8px;
  border-radius: 13px;
  color: var(--text-secondary);
  background: var(--background-gray);
  font-size: calc(16 * var(--content-unit));
  line-height: 1.5;
  transition: opacity var(--ui-duration) ease, color var(--ui-duration) ease, background-color var(--ui-duration) ease;
}

.catalog-filters button[aria-pressed="true"] {
  color: white;
  background: var(--text-primary);
}

.project-card__body {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(10 * var(--content-unit));
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 8px;
}

.project-card__tags .card-tag {
  flex: 0 0 auto;
}

.content-card__action {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: calc(20 * var(--content-unit));
  margin-top: auto;
  padding-top: 20px;
  font-size: calc(16 * var(--content-unit));
  font-weight: 500;
  line-height: 1.5;
}

.content-card__action .card-arrow {
  margin: 0;
}

.download-card,
.manual-card {
  min-height: 450px;
}

.manual-card {
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.manual-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin-top: 20px;
}

.manual-card .card-description {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: calc(16 * var(--content-unit));
  line-height: 1.5;
  letter-spacing: -.05em;
}

.manual-card .card-date {
  margin-top: auto;
  padding-top: 20px;
}

.manual-card__icon {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 20px;
  box-sizing: content-box;
  flex-shrink: 0;
  color: var(--text-primary);
  transition: color var(--ui-duration) ease;
}

@media (hover: hover) {
  .manual-card:hover .manual-card__icon {
    color: var(--brand-blue);
  }
}

.news-catalog {
  padding-block: var(--sub-space) 160px;
}

.news-catalog .news__list {
  margin-top: 0;
  list-style: none;
}

.news-catalog .news__list a {
  border: 0;
}

/* 背景パネルと見出しの幅を同じルールで扱う。背景のみ右端まで延ばす。 */
.article-detail {
  padding-top: clamp(140px, calc(131.6598px + 2.0747vw), 160px);
}

.article-frame {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: var(--site-max-width);
  margin-inline: auto;
}

.article-breadcrumb {
  padding-left: 60px;
  margin-bottom: 60px;
}

.article-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(12px, calc(10.332px + .415vw), 16px);
  line-height: 1.5;
}

.article-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.article-breadcrumb li:last-child {
  min-width: 0;
  flex-shrink: 1;
  color: var(--text-secondary);
}

.article-breadcrumb li+li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--background-gray);
}

.article-breadcrumb li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-breadcrumb a {
  transition: color var(--ui-duration) ease;
}

.article-panel {
  margin-left: var(--page-gutter);
  padding: 60px var(--page-gutter) 60px 60px;
  border-radius: 30px 0 0 30px;
  background: white;
}

.article-title {
  padding-bottom: var(--article-space);
  border-bottom: 1px solid var(--background-gray);
}

.article-meta,
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.article-meta .card-date {
  font-size: calc(16 * var(--content-unit));
  line-height: 1.5;
}

.article-tags .card-tag,
.article-meta .card-tag {
  padding: 4px 20px 2px;
  font-size: calc(13 * var(--content-unit));
  line-height: 1.4;
}

.article-title h1,
.case-heading h1,
.download-overview h1 {
  font-size: var(--article-title-size);
  line-height: var(--article-title-leading);
  font-weight: 600;
}

.article-title h1 {
  margin-top: var(--content-gap);
}

.article-prose {
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
  line-height: var(--sub-body-leading);
  overflow-wrap: anywhere;
}

.article-prose__section h2 {
  font-size: var(--article-heading-size);
  line-height: var(--article-heading-leading);
  font-weight: 600;
}

.article-prose__section .article-prose {
  margin-top: 30px;
}

.article-prose__section+.article-prose__section {
  margin-top: var(--article-space);
  padding-top: var(--article-space);
  border-top: 1px solid var(--background-gray);
}

.article-photo {
  width: 100%;
  align-self: start;
  aspect-ratio: 565 / 350;
  border-radius: 20px;
  overflow: hidden;
}

.article-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-section-photo {
  width: 100%;
  aspect-ratio: auto;
}

.case-section-photo img {
  display: block;
  height: auto;
  object-fit: initial;
}

.feature-section.case-content-section h2 {
  margin-top: 0;
}

.case-content-section .feature-section__description:first-child {
  margin-top: 0;
}

.case-content-section:last-child {
  padding-bottom: 0;
}

.case-content-section .feature-section__description p+p,
.case-content-section .feature-section__description :is(ul, ol) {
  margin-top: 1em;
}

.case-content-section .feature-section__description :is(ul, ol) {
  padding-left: 1.5em;
}

.project-section:last-child {
  padding-bottom: 0;
}

.project-section .article-photo {
  aspect-ratio: auto;
}

.project-section .article-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.project-section--text-only {
  display: block !important;
  grid-template-columns: none !important;
}

.project-section--text-only .feature-section__body {
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1;
}

.project-section .feature-section__description {
  font-weight: 400;
}

.project-section .feature-section__description p+p,
.project-section .feature-section__description :is(ul, ol) {
  margin-top: 1em;
}

.project-section .feature-section__description :is(ul, ol) {
  padding-left: 1.5em;
}

.news-article-body>p a,
.case-content-section .feature-section__description a,
.page-feature-detail .feature-section__description a,
.project-section .feature-section__description a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
  transition: color var(--ui-duration) ease;
}

.news-article-body>p a:focus-visible,
.case-content-section .feature-section__description a:focus-visible,
.page-feature-detail .feature-section__description a:focus-visible,
.project-section .feature-section__description a:focus-visible {
  color: var(--brand-blue);
}

@media (hover: hover) {
  .news-article-body>p a:hover,
  .case-content-section .feature-section__description a:hover,
  .page-feature-detail .feature-section__description a:hover,
  .project-section .feature-section__description a:hover {
    color: var(--brand-blue);
  }
}

.article-back {
  margin-top: 60px;
  padding-bottom: 160px;
}

.article-back .feature-back {
  width: fit-content;
  min-width: 278px;
}

.article-back--border {
  border-top: 1px solid var(--background-gray);
  padding-top: 60px;
}

.not-found-content {
  padding-block: var(--sub-space) 160px;
}

.not-found-content__message {
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
  line-height: var(--sub-body-leading);
}

.not-found-content__back {
  width: fit-content;
  min-width: 278px;
  margin-top: 60px;
}

.case-detail .article-breadcrumb {
  margin-bottom: 50px;
}

.case-cover {
  padding-left: 60px;
}

.case-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1106 / 350;
  object-fit: cover;
  border-radius: 20px;
}

.case-heading {
  position: relative;
  margin-block: 60px;
  padding-left: 60px;
}

.case-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 30px;
  background: var(--brand-blue);
}

.case-heading__client {
  margin-top: 40px;
  font-size: calc(20 * var(--content-unit));
  line-height: 2;
  font-weight: 500;
}

.case-heading h1 {
  margin-top: 20px;
}

.related-content {
  padding-top: var(--sub-space);
}

.related-content .catalog-grid {
  margin-top: 40px;
}

.news-article-body {
  padding-top: var(--article-space);
}

.news-article-body>p+p {
  margin-top: 20px;
}

.news-article-image {
  width: min(100%, 600px);
  margin: 60px auto 0;
  overflow: hidden;
  aspect-ratio: auto;
  border-radius: 20px;
}

.news-article-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}

/* 3ページ共通フォーム。送信連携は仕様確定後に接続。 */
.contact-heading {
  padding-bottom: 60px;
}

.page-heading__layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.page-heading .contact-heading__lead {
  font: 600 clamp(16px, calc(12.6639px + .8299vw), 24px)/1.8333 "IBM Plex Sans JP", sans-serif;
  color: var(--text-primary);
  text-align: right;
  letter-spacing: 0;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 306fr) minmax(0, 800fr);
  align-items: start;
  gap: 60px;
  max-width: var(--site-max-width);
  margin: var(--sub-space) auto 0;
  padding: 0 var(--page-gutter) 160px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: calc(30 * var(--content-unit));
  padding-block: 30px;
  border-block: 1px solid var(--brand-blue);
}

.contact-aside h2,
.support-contact__card h3 {
  color: var(--brand-blue);
  font-size: var(--contact-heading-size);
  line-height: 1.8333;
  font-weight: 600;
}

.contact-info {
  min-width: 0;
}

.contact-info__label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: calc(13 * var(--content-unit));
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -.05em;
  color: var(--text-secondary);
}

.contact-info__label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--brand-red);
}

.contact-info__value {
  margin-top: 15px;
  font-size: calc(20 * var(--content-unit));
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-info__value a {
  transition: color var(--ui-duration) ease;
}

.contact-info__value address {
  font-style: normal;
  font-size: calc(16 * var(--content-unit));
  font-weight: 500;
  line-height: 1.75;
}

.contact-info__note {
  color: var(--text-secondary);
  font-size: calc(13 * var(--content-unit));
  line-height: 1.5;
}

.inquiry-area {
  min-width: 0;
}

.inquiry-area__title {
  font-size: var(--contact-heading-size);
  font-weight: 600;
  line-height: 1.8333;
  margin-bottom: 20px;
}

.form-panel {
  background: white;
  border-radius: 30px 0 0 30px;
  padding: 60px var(--page-gutter) 60px 60px;
  margin-right: calc(-1 * var(--page-gutter));
}

.inquiry-form {
  min-width: 0;
}

.form-fields {
  display: grid;
  gap: calc(20 * var(--content-unit));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--sub-body-size);
  line-height: 32px;
  font-weight: 600;
}

.required-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-sizing: border-box;
  height: 26px;
  padding: 2px 8px 0;
  border: 1px solid var(--brand-red);
  border-radius: 13px;
  color: var(--brand-red);
  font-size: calc(12 * var(--content-unit));
  line-height: 1;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #abb2b9;
  border-radius: 6px;
  padding: 9px 20px;
  background: white;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 400;
  font-size: var(--sub-body-size);
  line-height: 32px;
  letter-spacing: -.05em;
}

.form-field textarea {
  min-height: 192px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #d9d9d9;
  opacity: 1;
}

.form-field:not(.is-error) input:not(:placeholder-shown):not(:focus),
.form-field:not(.is-error) textarea:not(:placeholder-shown):not(:focus) {
  border: 0;
  border-bottom: 1px solid #abb2b9;
  border-radius: 0;
  background: transparent;
}

/* ブラウザーの自動入力でも、入力欄をパネルと同じ白背景に保つ。 */
.form-field input:is(:autofill, :-webkit-autofill),
.form-field textarea:is(:autofill, :-webkit-autofill) {
  box-shadow: 0 0 0 1000px white inset;
  -webkit-text-fill-color: var(--text-primary);
  caret-color: var(--text-primary);
}

.form-error {
  display: none;
  color: var(--brand-red);
  font-size: calc(12 * var(--content-unit));
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.05em;
}

.is-error>.form-error {
  display: block;
}

.form-field.is-error input,
.form-field.is-error textarea {
  border-color: var(--brand-red);
}

.form-field input,
.form-field textarea {
  scroll-margin-top: calc(var(--header-height) + 60px);
  transition: border-color var(--ui-duration) ease;
}

.form-consent-field {
  margin-block: 60px;
  text-align: center;
}

.form-consent {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  max-width: 100%;
  text-align: left;
  font-size: var(--sub-body-size);
  line-height: 2;
  letter-spacing: -.05em;
  cursor: pointer;
}

/* 行ボックスではなく、IBM Plex Sans JPの字面の中心に光学調整する。 */
.form-consent input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: translateY(-.1em);
  flex: 0 0 20px;
  border: 1px solid #abb2b9;
  border-radius: 4px;
  background: white center / 16px 16px no-repeat;
  cursor: pointer;
  scroll-margin-top: calc(var(--header-height) + 20px);
  transition: background-color var(--ui-duration) ease, border-color var(--ui-duration) ease;
}

.form-consent input:checked {
  background-color: #0047e1;
  border-color: #0047e1;
  background-image: url('../images/common/checkbox-check.svg');
}

.form-consent a {
  text-decoration: none;
  transition: color var(--ui-duration) ease;
}

.form-consent a:is(:hover, :focus-visible) {
  color: var(--brand-blue);
  opacity: 1;
}

.form-consent-field.is-error input {
  border-color: var(--brand-red);
}

.form-consent-field .form-error {
  margin-top: 10px;
  text-align: center;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: fit-content;
  min-width: 278px;
  min-height: 60px;
  padding: 8px 10px 6px 20px;
  border-radius: 10px;
  background: var(--text-primary);
  color: white;
  text-align: left;
  font-size: calc(16 * var(--content-unit));
  line-height: 1.5;
  transition: background-color var(--ui-duration) ease;
}

.action-button__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: white;
}

.form-submit {
  width: 100%;
  min-width: 0;
}

.form-status {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: var(--sub-body-size);
  line-height: 2;
}

/* お問い合わせの確認・完了・エラー。既存フォームのサイズ・余白を継承。 */
#contact-form,
.inquiry-layout--confirm #download-form {
  /* html側の固定ヘッダー余白から10px進め、ヒーロー下線を画面外へ送る。 */
  scroll-margin-top: -10px;
}

.inquiry-layout.inquiry-layout--confirm {
  display: block;
}

.inquiry-layout--confirm .inquiry-area {
  width: min(100%, calc(800 * var(--content-unit)));
  margin-inline: auto;
}

.inquiry-layout--confirm .form-panel {
  margin-inline: 0;
  padding-inline: clamp(20px, 4.4vw, 60px);
  border-radius: 30px;
}

.contact-copy,
.contact-notice {
  font-size: var(--sub-body-size);
  font-weight: 400;
  line-height: 2;
  overflow-wrap: anywhere;
}

.contact-copy+.contact-copy {
  margin-top: 20px;
}

.contact-notice {
  margin-bottom: calc(30 * var(--content-unit));
  padding: 15px 20px;
  border-left: 3px solid var(--brand-blue);
  background: var(--background);
}

.contact-confirm {
  margin-block: calc(30 * var(--content-unit));
}

.contact-confirm>div {
  min-width: 0;
  padding-bottom: calc(20 * var(--content-unit));
  border-bottom: 1px solid var(--background-gray);
}

.contact-confirm dd {
  margin: 10px 0 0;
  font-size: var(--sub-body-size);
  font-weight: 500;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: grid;
  gap: calc(40 * var(--content-unit));
  margin-top: calc(30 * var(--content-unit));
}

.contact-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: calc(16 * var(--content-unit));
  font-weight: 500;
  line-height: normal;
  letter-spacing: -.05em;
  text-align: left;
  transition: color var(--ui-duration) ease;
}

.contact-back__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--text-primary);
  transition: background-color var(--ui-duration) ease;
}

.contact-back__icon img {
  width: 32px;
  height: 32px;
  transform: scaleX(-1);
}

.contact-back:focus-visible {
  color: var(--brand-blue);
}

.contact-back:focus-visible .contact-back__icon {
  background: var(--brand-blue);
}

@media (hover: hover) {
  .contact-back:hover {
    color: var(--brand-blue);
  }

  .contact-back:hover .contact-back__icon {
    background: var(--brand-blue);
  }
}

.contact-actions .contact-back {
  margin-top: 0;
}

/* 修正ボタンは文字を中央に置き、左の矢印分を右側の余白で揃える。 */
.contact-actions .contact-back::after {
  content: "";
  flex: 0 0 32px;
}

.form-panel>.contact-back {
  margin-top: calc(30 * var(--content-unit));
}

.contact-complete-back {
  width: 100%;
  min-width: 0;
  margin: calc(40 * var(--content-unit)) auto 0;
}

.contact-result-actions {
  margin-top: calc(40 * var(--content-unit));
}

.contact-actions[aria-busy="true"] {
  cursor: progress;
}

@media (max-width: 540px) {
  .button,
  .more-link,
  .feature-back,
  .action-button,
  .contact-back {
    line-height: 1;
  }

  .action-button {
    gap: 12px;
  }

  .action-button>span:first-child,
  .contact-back>span:last-child {
    white-space: nowrap;
  }

  .contact-back {
    gap: 12px;
  }

  .contact-notice {
    padding: 12px 15px;
  }
}

.trial-description {
  font-size: var(--sub-body-size);
  line-height: var(--sub-body-leading);
}

.trial-flow {
  display: grid;
  gap: 28px;
  margin-top: 20px;
}

.trial-flow li {
  position: relative;
  padding: 10px;
  border-radius: 10px;
  background: white;
}

.trial-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: calc(50% - 10px);
  top: calc(100% + 4px);
  background: url('../images/common/trial-arrow.svg') center top / 17.3205px 15px no-repeat;
  transform: rotate(180deg);
}

.trial-flow p {
  color: var(--brand-blue);
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: calc(13 * var(--content-unit));
  font-weight: 500;
  line-height: normal;
}

.trial-flow span {
  display: block;
  margin-top: 10px;
  font-size: calc(16 * var(--content-unit));
  font-weight: 600;
  line-height: normal;
}

.manual-heading {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--background-gray);
  font-size: calc(20 * var(--content-unit));
  line-height: 1.4;
}

.support-contact {
  margin-top: var(--sub-space);
  padding-top: 60px;
  border-top: 1px solid var(--background-gray);
}

.support-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 40px;
}

.support-contact__card {
  display: flex;
  flex-direction: column;
  gap: calc(30 * var(--content-unit));
  min-width: 0;
  padding: 30px 40px;
  border: 1px solid var(--brand-blue);
  border-radius: 20px;
  background: white;
}

.support-contact>.action-button {
  margin-top: 60px;
}

.download-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 38px;
  max-width: var(--site-max-width);
  padding-inline: var(--page-gutter);
  margin: 0 auto;
  padding-top: 135px;
}

.download-overview__category {
  margin-block: 20px;
  font-size: calc(20 * var(--content-unit));
  font-weight: 500;
  line-height: 2;
}

.download-overview>.card-date {
  font-size: calc(16 * var(--content-unit));
  line-height: 1.5;
}

.download-overview .article-photo {
  margin-top: 30px;
  border-radius: 10px;
}

.download-form {
  margin-top: 97px;
  padding: 40px var(--page-gutter) 40px 40px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.download-jump {
  display: none;
}

.download-points {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--background-gray);
}

.download-points h2 {
  font-size: clamp(16px, calc(12.6639px + .8299vw), 24px);
  font-weight: 600;
  line-height: 32px;
}

.download-points ul {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.download-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--sub-body-size);
  line-height: 28px;
}

.download-points li img {
  flex: 0 0 24px;
}

.page-download-detail .related-content {
  margin-top: var(--sub-space);
  border-top: 1px solid var(--background-gray);
  padding-top: 90px;
}

@media (hover: hover) {

  .article-breadcrumb a:hover,
  .contact-info__value a:hover {
    color: var(--brand-blue-hover);
  }
}

@media (min-width: 1680px) {
  .content-main {
    --article-title-size: calc(40 * var(--content-unit));
    --article-title-leading: calc(64 * var(--content-unit));
    --article-heading-size: calc(32 * var(--content-unit));
    --article-heading-leading: calc(52 * var(--content-unit));
    --contact-heading-size: calc(24 * var(--content-unit));
    --article-space: calc(60 * var(--content-unit));
  }

  .page-heading .contact-heading__lead,
  .download-points h2 {
    font-size: calc(24 * var(--content-unit));
  }

  .article-breadcrumb ol {
    font-size: calc(16 * var(--content-unit));
  }

  .article-panel,
  .form-panel {
    padding-block: var(--article-space);
  }

  .form-field input,
  .form-field textarea,
  .form-field label {
    line-height: calc(32 * var(--content-unit));
  }

  .form-consent-field {
    margin-block: var(--article-space);
  }

  .form-field input,
  .form-field textarea {
    padding-block: calc(9 * var(--content-unit));
  }

  .article-title h1,
  .related-content .catalog-grid,
  .support-contact__grid,
  .download-points ul {
    margin-top: var(--content-gap);
  }

  .contact-info__label {
    line-height: calc(20 * var(--content-unit));
  }

  .download-points li {
    line-height: calc(28 * var(--content-unit));
  }

  .download-points li img {
    margin-top: calc(4 * var(--content-unit) - 4px);
  }
}

@media (min-width: 1920px) {
  .article-panel {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: 60px;
    border-radius: 30px;
  }

  .form-panel {
    border-radius: 30px;
  }

  .inquiry-layout,
  .download-detail {
    padding-inline: 0;
    width: calc(100% - var(--page-gutter) * 2);
  }

  .form-panel {
    margin-right: 0;
    padding-right: 60px;
  }

  .download-form {
    padding-right: 40px;
  }

  .case-cover {
    padding-right: 60px;
  }
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .catalog-count {
    font-size: 16px;
  }

  .article-breadcrumb {
    padding-left: var(--panel-gutter);
  }

  .article-panel {
    padding-inline: var(--panel-gutter);
  }

  .case-cover,
  .case-heading {
    padding-left: 30px;
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .page-heading__layout {
    flex-direction: column;
    gap: 40px;
  }

  .page-heading .contact-heading__lead {
    text-align: left;
  }

  .contact-heading .pc-line {
    display: none;
  }

  .form-panel {
    padding-inline: var(--panel-gutter);
  }

  .contact-aside {
    gap: 20px;
  }

  .support-contact__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-contact>.action-button,
  .article-back .feature-back {
    margin-left: auto;
  }

  .download-detail {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .download-form {
    margin-top: 0;
  }

  .download-jump {
    display: flex;
    width: 100%;
    margin-top: 20px;
  }

  .download-jump img {
    transform: rotate(90deg);
  }
}

@media (max-width: 540px) {

  .catalog,
  .support-content {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .catalog-toolbar {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 0;
    border: 0;
    margin-bottom: 40px;
  }

  .catalog-count {
    margin-left: 0;
  }

  .catalog-filters {
    gap: 10px;
  }

  .catalog--cases .catalog-toolbar {
    margin-bottom: 40px;
  }

  .catalog-grid .case-card__body,
  .manual-card__body {
    padding-inline: 20px;
  }

  .catalog-grid .case-card {
    min-height: 440px;
  }

  .catalog-grid .project-card {
    min-height: 250px;
  }

  .news-catalog {
    padding-block: 60px 120px;
  }

  .news-catalog .news__list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-height: 0;
    padding-block: 0;
    font-size: 13px;
    line-height: 28px;
  }

  .news-catalog .news__list li+li {
    margin-top: 40px;
  }

  .article-breadcrumb {
    padding-inline: 0;
    margin-bottom: 40px;
  }

  .article-breadcrumb .breadcrumb-home {
    display: none;
  }

  .article-breadcrumb li+li::before {
    width: 4px;
    height: 4px;
    flex-basis: 4px;
  }

  .article-breadcrumb .breadcrumb-home+li::before {
    display: none;
  }

  .article-panel {
    margin-left: 0;
    padding: 40px 20px;
  }

  .article-title h1 {
    margin-top: 20px;
  }

  .article-meta .card-date {
    font-size: 12px;
  }

  .article-tags .card-tag,
  .article-meta .card-tag {
    padding-inline: 10px;
    font-size: 12px;
  }

  .project-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 40px;
  }

  .project-section .feature-section__description {
    font-weight: 500;
  }

  .project-section h2 {
    line-height: 1.5;
  }

  .article-back {
    padding-bottom: 120px;
  }

  .article-back .feature-back {
    width: 100%;
    min-width: 0;
  }

  .not-found-content {
    padding-block: 60px 120px;
  }

  .not-found-content__back {
    width: 100%;
    min-width: 0;
    margin-top: 40px;
  }

  .case-detail .article-breadcrumb {
    margin-bottom: 40px;
  }

  .case-cover {
    padding-inline: 0;
  }

  .case-cover img {
    aspect-ratio: 362 / 350;
  }

  .case-heading {
    margin-block: 30px 60px;
    padding-left: 0;
  }

  .case-heading::before {
    display: none;
  }

  .case-heading__client {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  .article-prose__section .article-prose {
    margin-top: 20px;
  }

  .article-prose__section h2 {
    font-size: 20px;
    line-height: 1.5;
  }

  .related-content {
    padding-top: 60px;
  }

  .related-content .catalog-grid {
    margin-top: 30px;
  }

  .news-article-image {
    margin-top: 40px;
    border-radius: 10px;
  }

  .inquiry-layout {
    margin-top: 60px;
    padding-bottom: 120px;
  }

  #contact-form,
  .inquiry-layout--confirm #download-form {
    /* フォーム遷移後も、固定ヘッダーと白いパネルの間に余白を残す。 */
    scroll-margin-top: 24px;
  }

  .form-panel {
    margin-inline: -20px;
    padding: 40px 20px;
  }

  .inquiry-area__title {
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 30px;
  }

  .form-consent {
    align-items: flex-start;
    font-size: 13px;
  }

  .form-consent input {
    margin-top: calc(1em - 10px);
  }

  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }

  .form-field input::placeholder,
  .form-field textarea::placeholder {
    font-size: 13px;
  }

  .action-button {
    width: 100%;
    min-width: 0;
  }

  .support-contact {
    margin-top: 80px;
    padding-top: 60px;
  }

  .manual-heading {
    font-size: 13px;
    border: 0;
    padding-bottom: 0;
    margin-bottom: 60px;
  }

  .manual-card .card-description {
    font-size: 16px;
    line-height: 28px;
  }

  .support-contact__card {
    padding: 30px;
    gap: 20px;
  }

  .support-contact__grid {
    margin-top: 30px;
  }

  .download-detail {
    padding-top: 140px;
  }

  .download-overview>.card-date {
    font-size: 12px;
  }

  .download-overview__category {
    font-size: 16px;
    line-height: 24px;
  }

  .download-points ul {
    margin-top: 30px;
  }

  .download-points li {
    line-height: 28px;
  }

  .page-download-detail .related-content {
    border: 0;
    margin-top: 0;
    padding-top: 60px;
  }
}

/* 白い丸内の矢印は、通常の黒から青へクロスフェードする。 */
.more-link__arrow,
.feature-back__icon,
.action-button__icon,
.contact-back__icon {
  position: relative;
  margin-top: -1px;
}

.more-link:not(.more-link--light) .more-link__arrow::after,
.feature-back__icon::after,
.action-button__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/common/arrow-blue.svg') center / 32px 32px no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ui-duration) ease;
}

.more-link:not(.more-link--light) .more-link__arrow img,
.feature-back__icon img,
.action-button__icon img {
  transition: opacity var(--ui-duration) ease;
}

.feature-back__icon::after {
  transform: rotate(180deg);
}

.download-jump .action-button__icon::after {
  transform: rotate(90deg);
}

@media (hover: hover) {

  .more-link:not(.more-link--light):is(:hover, :focus-visible) .more-link__arrow::after,
  .feature-back:is(:hover, :focus-visible) .feature-back__icon::after,
  .action-button:not(:disabled):is(:hover, :focus-visible) .action-button__icon::after {
    opacity: 1;
  }

  .more-link:not(.more-link--light):is(:hover, :focus-visible) .more-link__arrow img,
  .feature-back:is(:hover, :focus-visible) .feature-back__icon img,
  .action-button:not(:disabled):is(:hover, :focus-visible) .action-button__icon img {
    opacity: 0;
  }

  .button--primary:is(:hover, :focus-visible) {
    background-color: var(--brand-blue-hover);
  }

  .button--outline:is(:hover, :focus-visible) {
    background-color: var(--outline-hover-blue);
  }

  .more-link:is(:hover, :focus-visible),
  .feature-back:is(:hover, :focus-visible),
  .action-button:not(:disabled):is(:hover, :focus-visible),
  .circle-arrow:not(:disabled):is(:hover, :focus-visible) {
    background-color: var(--brand-blue-hover);
    opacity: 1;
  }

  .more-link--light:is(:hover, :focus-visible),
  .manual-card:is(:hover, :focus-visible) {
    opacity: 1;
  }

  .more-link--light:is(:hover, :focus-visible) {
    background-color: var(--white-hover);
  }

  .more-link--light:is(:hover, :focus-visible) .more-link__arrow {
    background-color: var(--brand-blue-hover);
  }


  .catalog-filters button[aria-pressed="false"]:is(:hover, :focus-visible) {
    background-color: var(--brand-blue-hover);
    color: var(--white);
  }
}

/* 資料請求完了: 長いURLもパネル内で折り返す。 */
.document-download {
  --document-download-background: #f8f8f8;
  margin-block: calc(24 * var(--content-unit));
  padding: calc(20 * var(--content-unit));
  border-left: 2px solid var(--text-primary);
  background: var(--document-download-background);
  overflow-wrap: anywhere;
}

.document-download__title {
  font-size: calc(13 * var(--content-unit));
  font-weight: 400;
  line-height: 2;
}

.document-download-url {
  margin-top: calc(8 * var(--content-unit));
  font-size: calc(20 * var(--content-unit));
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.document-download-url a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--ui-duration) ease;
}

@media (hover: hover) {
  .document-download-url a:hover {
    opacity: 1;
    color: var(--brand-blue-hover);
  }
}

/* ===== 確定デザインの追加調整 ===== */
.process__visual.process__visual--provided {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 565 / 318;
  padding: 0;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.process__visual--provided img {
  display: block;
  position: absolute;
  max-width: none;
  height: auto;
}

.process:nth-child(1) .process__visual--provided img {
  width: 101.416%;
  left: -.708%;
  top: -1.572%;
}

.process:nth-child(2) .process__visual--provided img {
  width: 101.416%;
  left: -.708%;
  top: -1.258%;
}

.process:nth-child(3) .process__visual--provided img {
  width: 100.708%;
  left: -.354%;
  top: -1.101%;
}

.process:nth-child(4) .process__visual--provided img {
  width: 101.416%;
  left: -.708%;
  top: -1.258%;
}

.page-value .value-card__screen--revised {
  max-width: none;
  aspect-ratio: 496 / 295;
}

.page-value .value-card__screen--revised>picture {
  display: contents;
}

.page-value .value-card__screen--revised>picture>img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.pricing-consultation {
  padding: 56px 40px;
  border-radius: var(--pricing-consultation-radius);
  background: var(--background-gray);
}

.pricing-consultation h2 {
  font-size: 24px;
  line-height: 40px;
  font-weight: 600;
}

.pricing-consultation .button {
  width: 300px;
  max-width: 100%;
  margin-top: 40px;
}

.site-nav__login {
  display: none;
}

.site-header__login {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding-left: var(--site-header-login-gap);
  border-left: 1px solid currentColor;
  font-size: 16px;
  white-space: nowrap;
}

.footer-nav .footer-nav__login-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-nav__external-icon {
  flex: 0 0 12px;
  color: currentColor;
  transition: color var(--ui-duration) ease;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

@media (min-width: 1366px) {
  .page-value .value-diagram {
    --value-diagram-content-left: calc(50% - 539.5px);
    display: block;
    position: relative;
    height: 350px;
    min-height: 350px;
    padding: 0;
  }

  .page-value .value-diagram__input,
  .page-value .value-diagram__output {
    position: absolute;
    top: 68px;
    width: 280px;
    transform: none;
  }

  .page-value .value-diagram__input {
    left: var(--value-diagram-content-left);
  }

  .page-value .value-diagram__output {
    left: calc(var(--value-diagram-content-left) + 799px);
  }

  .page-value .value-diagram__dots,
  .page-value .value-diagram__rows {
    display: none;
  }

  .page-value .value-diagram__input>img.sp-only,
  .page-value .value-diagram__output>img.sp-only {
    display: block;
    margin-inline: auto;
  }

  .page-value .value-diagram__input>p,
  .page-value .value-diagram__output>p {
    font-size: 16px;
    line-height: 28px;
  }

  .page-value .value-diagram__input>p {
    margin-top: 17px;
  }

  .page-value .value-diagram__output>p {
    margin-top: 25px;
  }

  .page-value .value-diagram__arrow {
    display: block;
    position: absolute;
    top: 172.136px;
    left: calc(var(--value-diagram-content-left) + 255px);
    width: 51px;
    height: 14.728px;
    margin: 0;
  }

  .page-value .value-diagram__arrow img {
    display: block;
    width: 51px;
    height: auto;
  }

  .page-value .value-diagram__brand+.value-diagram__arrow {
    left: calc(var(--value-diagram-content-left) + 774px);
  }

  .page-value .value-diagram__brand {
    position: absolute;
    top: 72.5px;
    left: calc(var(--value-diagram-content-left) + 348px);
    width: 383px;
    min-height: 214px;
    padding: 20px;
  }

  .page-value .value-diagram__brand img {
    width: 249px;
    max-width: none;
    transform: translateX(-8px);
  }
}

@media (min-width: 541px) and (max-width: 1365px) {
  .page-value .value-diagram__dots,
  .page-value .value-diagram__rows {
    display: none;
  }

  .page-value .value-diagram__input>img.sp-only,
  .page-value .value-diagram__output>img.sp-only {
    display: block;
    width: 100%;
    max-width: 184px;
    height: auto;
    margin-inline: auto;
  }
}

@media (min-width: 1025px) and (max-width: 1365px) {
  .page-value .value-diagram {
    grid-template-columns: minmax(100px, 1fr) 51px 383px 51px minmax(100px, 1fr);
    gap: 12px;
    padding-inline: 25px;
  }

  .page-value .value-diagram__input {
    transform: translateY(10px);
  }

  .page-value .value-diagram__arrow img {
    width: 100%;
    height: auto;
  }

  .page-value .value-diagram__brand {
    width: 383px;
    min-height: 214px;
    padding-inline: 20px;
  }

  .page-value .value-diagram__brand img {
    width: 249px;
    max-width: 100%;
  }
}

@media (hover: hover) {
  .site-header__login:hover .text-link__base,
  .footer-nav__login-link:hover .footer-nav__external-icon {
    color: var(--brand-blue-hover);
  }

  .page-top .site-header:not(.is-scrolled):not(.is-menu-open) .site-header__login:hover .text-link__base {
    color: var(--white-hover);
    opacity: .5;
  }
}

@media (min-width: 1025px) and (max-width: 1450px) {
  .site-header__inner {
    gap: 20px;
    padding-inline: 30px;
  }

  .site-header__panel {
    gap: 12px;
  }

  .site-nav__list {
    gap: 12px;
  }

  .site-header__actions {
    gap: 12px;
  }

  .site-header__actions .button {
    padding-inline: 14px;
  }

  .site-header__login {
    font-size: 14px;
    padding-left: 12px;
  }
}

@media (max-width: 1100px) and (min-width: 1025px) {
  .site-header__inner {
    gap: 12px;
    padding-inline: 20px;
  }

  .site-header__logo {
    flex-basis: 130px;
    width: 130px;
  }

  .site-nav__list {
    gap: 8px;
  }

  .site-header__actions .button {
    padding-inline: 10px;
  }
}

@media (max-width: 1024px) {
  .site-header__login {
    display: none;
  }

  .site-nav__login {
    display: block;
    padding-top: 30px;
    border-top: 1px solid var(--background-gray);
  }

  .site-nav a:is(:hover, :focus-visible) .text-link__base {
    color: var(--brand-blue);
    opacity: 1;
  }

  .site-nav a:is(:hover, :focus-visible) .site-nav__arrow {
    background-color: var(--brand-blue);
  }

  .site-nav a:is(:hover, :focus-visible) .site-nav__arrow img {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 540px) {
  .pricing-consultation {
    padding: 32px 20px;
  }

  .pricing-consultation h2 {
    font-size: 20px;
    line-height: 40px;
  }

}

@media (min-width: 1680px) {
  .pricing-consultation {
    padding: calc(56 * var(--wide-font-unit)) calc(40 * var(--wide-font-unit));
  }

  .pricing-consultation h2 {
    font-size: calc(24 * var(--wide-font-unit));
    line-height: calc(40 * var(--wide-font-unit));
  }

  .site-header__login {
    font-size: calc(16 * var(--wide-font-unit));
  }
}
