:root {
  --green: #53a06f;
  --green-soft: #f2f9f5;
  --green-dark: #14513f;
  --yellow: #ffde59;
  --text: #163126;
  --basic: #0081cc;
  --main: #00bf63;
  --main-soft: #d9f4cd;
  --accent: #ffa51f;
  --accent-soft: #ffebcd;
  --accent-dark: #ff751f;
  --header-height: 60rem;
}

html {
  font-size: min(calc(100vw / 1440), 1px);
  scroll-behavior: smooth;
}

/* PC：右端に出る細い縦ギャップ（viewport幅と実スクロール域のズレ等）対策 */
@media (min-width: 768px) {
  html {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
  }

  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: #ffffff;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.js-reveal {
  opacity: 0;
  transform: translateY(28rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lp {
  width: 1440rem;
  margin: 0 auto;
}

.section {
  background: #ffffff;
  padding: 60rem 0;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-height) + 16rem);
}

.section--green {
  background: var(--green-soft);
}

.section-title {
  position: relative;
  margin: 0;
  font-size: 32rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
}

.section-title__logo-inline {
  display: inline-block;
  width: auto;
  height: 30rem;
  vertical-align: -0.08em;
}

.section-title__accent {
  color: var(--green-dark);
}

.section-title--lined::after {
  content: "";
  display: block;
  width: 52rem;
  height: 3rem;
  margin: 14rem auto 0;
  background: var(--green-dark);
}

.section-text {
  width: 980rem;
  margin: 40rem auto;
  font-size: 18rem;
  line-height: 1.8;
  text-align: center;
}

.intro__title-kicker {
  position: relative;
  display: inline-block;
  font-size: 0.82em;
  letter-spacing: 0.03em;
}

.intro__title-rays {
  position: absolute;
  right: -30rem;
  top: -2rem;
  width: 32rem;
  height: 26rem;
  pointer-events: none;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
}

.intro__title-rays span {
  position: absolute;
  /* 1. 位置指定を端っこ（例えば左下）基準にする */
  left: 7rem; 
  top: 14rem; 
  width: 3rem; 
  height: 10rem; 
  border-radius: 999px;
  background: var(--accent-dark);
  /* 2. 【重要】変形の基準を棒の「下端（根元）」にする */
  transform-origin: center bottom;
  /* 3. 棒を少し外側に配置し、下端を基準に回転させる */
  transform: translateX(-50%) rotate(var(--ray-angle)) translateY(-15rem);
}

.intro__title-rays span:nth-child(1) {
  --ray-angle: -30deg;
}

.intro__title-rays span:nth-child(2) {
  --ray-angle: 0deg;
}

.intro__title-rays span:nth-child(3) {
  --ray-angle: 30deg;
}

.sp-br {
  display: none;
}

.pc-br {
  display: block;
}

.hero {
  position: relative;
  width: 100%;
  height: 500rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

@media (min-width: 768px) {
  /* FV.svg 内の左右白帯が露出しやすいので、PCは少しだけ拡大して端まで「絵」が届くように見せる */
  .hero__bg {
    background: url("../img/FV.webp") center 20% / 108% auto no-repeat;
    background-color: #ffffff;
  }

  .hero__content {
    position: relative;
    align-items: flex-end;
    padding: 0 160rem 0;
  }

  /* コピー全体をFV下端に固定（下げる指示は bottom: 0 で担保） */
  .hero__copy {
    position: absolute;
    bottom: 0;
    left: 160rem;
    width: fit-content;
    height: auto;
  }

  .hero__lead {
    margin-top: 30;
  }

  .hero__button {
    flex-shrink: 0;
    margin-left: auto;
    margin-bottom: 40rem;
  }

  /* ベネフィット背景：直角台形（上辺を左へ、下辺はその2倍左へ延長） */
  .hero__benefits {
    --trap-extend-top: 55rem;
    --trap-extend-bottom: calc(var(--trap-extend-top) * 3);
    position: relative;
    z-index: 0;
    align-self: flex-start;
    min-width: 500rem;
    margin-bottom: 0;
    padding: 20rem 36rem 22rem 48rem;
    background: transparent;
    overflow: visible;
    clip-path: none;
  }

  .hero__benefits::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc(-1 * var(--trap-extend-bottom));
    width: calc(100% + var(--trap-extend-bottom));
    background: rgba(22, 49, 38, 0.3);
    clip-path: polygon(
      var(--trap-extend-bottom) 0,
      100% 0,
      100% 100%,
      0 100%
    );
    -webkit-clip-path: polygon(
      var(--trap-extend-bottom) 0,
      100% 0,
      100% 100%,
      0 100%
    );
  }
}

@media (max-width: 767px) {
  .hero__bg {
    background: url("../img/FV_mobile.webp") center center / cover no-repeat;
  }
}


/* 背景（.hero__bg）と同じ表示枠の上にテキスト層を重ねる */
.hero__shell {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 1440rem;
  max-width: 100%;
  margin-inline: auto;
  height: 100%;
  pointer-events: none;
}

.hero__shell a,
.hero__shell button {
  pointer-events: auto;
}

.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 10rem 24rem rgba(0, 0, 0, 0.08);
}


/* -------------------------------- */
/* ヘッダー */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  /* FV（.hero__content）と同じ左右余白で、ロゴの左位置をタイトル基準線に寄せる */
  padding: 10rem 160rem;
}

.site-header__logo {
  display: inline-block;
  line-height: 0;
}

.site-header__toggle {
  display: none;
}

.systena-logo {
  width: 150rem;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24rem;
  font-size: 16rem;
  font-weight: 600;
  color: var(--text);
}

.site-header__nav a:not(.site-header__cta):hover {
  color: var(--green);
}

.site-header__cta {
  padding: 8rem 28rem;
  border: 2rem solid var(--green);
  border-radius: 999rem;
  color: var(--text);
  font-size: 16rem;
  font-weight: 800;
}

.site-header__cta:hover {
  background: var(--green);
  color: #ffffff;
}

.site-header-wrap.is-open .site-header__toggle span {
  background: transparent;
}

.site-header-wrap.is-open .site-header__toggle span::before {
  transform: translateY(0) rotate(45deg);
}

.site-header-wrap.is-open .site-header__toggle span::after {
  transform: translateY(0) rotate(-45deg);
}

/* -------------------------------- */
/* ファーストビュー（.hero の固定高さ内で下端揃え＋下余白） */
.hero__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40rem;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 160rem 40rem;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 30rem;
  color: #000000;
  overflow: visible;
}

.hero__lead {
  margin: 0;
  margin-top: 40rem;
  font-size: 24rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-shadow: 2rem 3rem 2rem rgba(255, 255, 255, 0.8);
}

.hero__brand {
  position: relative;
  width: fit-content;
}

.hero__brand-circles {
  display: flex;
  align-items: center;
  gap: 7rem;
}

.hero__brand-circle {
  width: 125rem;
  height: 125rem;
  border-radius: 50%;
  background: rgba(232, 255, 245, 0.4);
}

.hero__brand-logo {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 535rem;
  height: auto;
  transform: translate(-50%, -50%);
}

.hero__benefits {
  margin: 0;
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  padding: 15rem 20rem;
  background: transparent;
  list-style: none;
  font-size: 22rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.hero__benefits li {
  line-height: 1.8;
}

.hero__benefits li + li {
  margin-top: 6rem;
}

.hero__benefits strong {
  display: inline-block;
  color: var(--yellow);
  font-size: 36rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: -4rem;
  text-shadow: 0 5rem 5rem rgba(0, 0, 0, 0.5);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300rem;
  height: 70rem;
  transform: translateY(-20rem);
  border-radius: 999rem;
  border: 2rem solid var(--green);
  background: #ffffff;
  color: var(--text);
  font-size: 22rem;
  font-weight: 700;
  box-shadow: 0 10rem 30rem rgba(0, 0, 0, 0.3);
}

.hero__button:hover {
  background: var(--green);
  color: #ffffff;
  border: 2rem solid #ffffff;
}


/* -------------------------------- */
/* SaaS管理には「てなみる」！ */
.intro__tag {
  position: relative;
  width: 300rem;
  margin: 30rem auto 0;
  padding: 10rem;
  border-radius: 999rem;
  background: var(--green);
  color: #ffffff;
  font-size: 24rem;
  font-weight: 500;
  text-align: center;
}

.intro__tag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12rem;
  width: 0;
  height: 0;
  border-left: 12rem solid transparent;
  border-right: 12rem solid transparent;
  border-top: 14rem solid var(--green);
  transform: translateX(-50%);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
  margin: 40rem auto 0;
  width: 1100rem;
  padding: 40rem 50rem;
  border-radius: 0;
  background: #edf5f0;
}

.case-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 230rem;
  height: 230rem;
  margin: 0 auto;
  padding: 12rem;
  border: 2rem solid var(--green);
  border-radius: 0;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 0 10rem rgba(0, 0, 0, 0.2);
}

.case-card img {
  width: 155rem;
  height: 155rem;
  object-fit: contain;
}

.case-card__title {
  margin: 15rem;
  font-size: 24rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.case-card__text {
  margin: 0;
  font-size: 15rem;
  line-height: 1.45;
}

/* -------------------------------- */
/* 「てなみる」なら */
.overview {
  background: #ffffff;
}

/* セクション上の余白を少し詰める */
.overview.section {
  padding-top: 35rem;
}

.overview__media {
  width: 750rem;
  height: auto;
  margin: 20rem auto 0;
  background: #b3b3b3;
  position: relative;
  overflow: visible;
}

.overview__figure {
  position: relative;
  z-index: 10;
  width: 100%;
  box-shadow: 10rem 10rem 10rem rgba(0, 0, 0, 0.2);
}

/* PC：画像上ピンは非表示（モバイルのみ） */
.overview__pins {
  display: none;
}

.overview__media .overview__figure .overview__image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 拡大キャプチャ：枠内にフローティング表示（背景のメイン画像は見える） */
.overview__preview-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28rem 36rem 28rem 28rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
}

/* プレビュー表示中：キャプチャを吹き出し本体より手前に（線・丸は .overview__leads がさらに上） */
.overview__media.is-preview-active .overview__figure {
  position: relative;
  z-index: 20;
}

.overview__media.is-preview-active .overview__preview-stack {
  opacity: 1;
}

.overview__preview-stack .overview__preview {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 90%;
  display: block;
  object-fit: contain;
  border-radius: 10rem;
  box-shadow: 14rem 22rem 48rem rgba(0, 0, 0, 0.28);
}

/* 吹き出し位置に合わせてカード位置をずらす */
/* 1 コスト削減…：背景のサマリ4枚（赤枠）に重ねる */
.overview__media.is-preview--lt .overview__preview-stack {
  display: block;
  padding: 0;
}

.overview__media.is-preview--lt .overview__preview-stack .overview__preview {
  position: absolute;
  left: 67%;
  top: 5%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  max-width: 130%;
  max-height: auto;
  object-fit: contain;
}

/* 2 タスクの自動ナビゲート：アクションリスト付近 */
.overview__media.is-preview--rt .overview__preview-stack {
  display: block;
  padding: 0;
}

.overview__media.is-preview--rt .overview__preview-stack .overview__preview {
  position: absolute;
  left: 32%;
  top: 24%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  max-width: 130%;
  max-height: 55%;
  object-fit: contain;
}

.overview__media.is-preview--lb .overview__preview-stack {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 14rem 18rem 10rem;
}

.overview__media.is-preview--lb .overview__preview-stack .overview__preview {
  max-width: 90%;
  max-height: 96%;
  transform: translateX(14rem);
}

.overview__media.is-preview--rb .overview__preview-stack {
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 24rem;
}

.overview__media.is-preview--rb .overview__preview-stack .overview__preview {
  transform: translateX(-22rem);
}

.overview__callouts {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .overview__callouts {
    position: relative;
    z-index: 5;
  }

  /* PC：コネクタは li から分離（.overview__leads）のため、疑似要素は出さない */
  .overview__callout::before,
  .overview__callout::after {
    content: none !important;
    display: none !important;
  }
}

/* 線＋丸（PCのみ .overview__lead に描画。吹き出し本体より上・キャプチャより上） */
.overview__leads {
  display: none;
}

@media (min-width: 768px) {
  .overview__leads {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
  }

  .overview__lead {
    position: absolute;
    width: 262rem;
    min-height: 128rem;
    pointer-events: none;
    transition: transform 0.15s ease-out;
  }

  .overview__lead::after,
  .overview__lead::before {
    content: "";
    position: absolute;
    top: var(--pin-y, 50%);
    transform: translateY(-50%);
  }

  .overview__lead::after {
    height: 2rem;
    background: #000;
    opacity: 0.75;
  }

  .overview__lead::before {
    width: 10rem;
    height: 10rem;
    border-radius: 999rem;
    background: #000;
  }

  .overview__lead--lt,
  .overview__lead--lb {
    left: -280rem;
  }

  .overview__lead--lt::after,
  .overview__lead--lb::after {
    left: 100%;
    width: var(--line-w, 70rem);
  }

  .overview__lead--lt::before,
  .overview__lead--lb::before {
    left: calc(100% + var(--line-w, 70rem) - 5rem);
  }

  .overview__lead--rt,
  .overview__lead--rb {
    right: -280rem;
  }

  .overview__lead--rt::after,
  .overview__lead--rb::after {
    right: 100%;
    width: var(--line-w, 70rem);
  }

  .overview__lead--rt::before,
  .overview__lead--rb::before {
    right: calc(100% + var(--line-w, 70rem) - 5rem);
  }

  /*コスト削減_線と丸*/
  .overview__lead--lt {
    top: 30rem;
    --pin-y: 40%;
    --line-w: 25rem;
  }

  /*タスクの自動ナビゲート_線と丸*/
  .overview__lead--rt {
    top: 70rem;
    --pin-y: 68%;
    --line-w: 35rem;
  }

  /*支払いの見える化_線と丸*/
  .overview__lead--lb {
    bottom: 35rem;
    top: auto;
    --pin-y: 38%;
    --line-w: 32rem;
  }

  /*投資バランスの最適化_線と丸*/
  .overview__lead--rb {
    bottom: 70rem;
    top: auto;
    --pin-y: 55%;
    --line-w: 65rem;
  }
}

.overview__callout {
  position: absolute;
  width: 262rem;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: var(--text);
}

.overview__callout-body {
  border-radius: 12rem;
  background: #eef4ef;
  box-shadow: 0 10rem 20rem rgba(0, 0, 0, 0.12);
  padding: 16rem 12rem;
}

.overview__callout-title {
  margin: 0;
  font-size: 16rem;
  font-weight: 800;
  line-height: 1.3;
}

.overview__callout-text {
  margin: 7rem 0 0;
  font-size: 12rem;
  line-height: 1.6;
}

/* 吹き出しカード位置（線は .overview__lead 側） */
.overview__callout--lt,
.overview__callout--lb {
  left: -280rem;
}

.overview__callout--rt,
.overview__callout--rb {
  right: -280rem;
}


.overview__callout--lt {
  top: 30rem;
  --pin-y: 45%;
  --line-w: 30rem;
}

.overview__callout--rt {
  top: 70rem;
  --pin-y: 75%;
  --line-w: 32rem;
}

.overview__callout--lb {
  top: 260rem;
  --pin-y: 38%;
  --line-w: 32rem;
}

.overview__callout--rb {
  top: 240rem;
  --pin-y: 55%;
  --line-w: 70rem;
}

/* 吹き出し：マウスホバー時のみボックスを拡大（線・丸は .overview__lead を :has で同期） */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .overview__callout {
    z-index: 1;
  }

  .overview__callout-body {
    transition:
      transform 0.15s ease-out 0s,
      box-shadow 0.15s ease-out 0s;
  }

  .overview__callout-title,
  .overview__callout-text {
    transition: font-size 0.15s ease-out;
  }

  .overview__lead::before,
  .overview__lead::after {
    transition:
      width 0.15s ease-out,
      height 0.15s ease-out,
      left 0.15s ease-out,
      right 0.15s ease-out;
  }

  .overview__callout--lt .overview__callout-body,
  .overview__callout--lb .overview__callout-body {
    transform-origin: 100% var(--pin-y);
  }

  .overview__callout--rt .overview__callout-body,
  .overview__callout--rb .overview__callout-body {
    transform-origin: 0% var(--pin-y);
  }

  .overview__callout:hover {
    z-index: 12;
  }

  .overview__callout:hover .overview__callout-body {
    transform: scale(1.18) translateY(-14rem);
    box-shadow: 0 22rem 48rem rgba(0, 0, 0, 0.22);
  }

  .overview__callout:hover .overview__callout-title {
    font-size: 17rem;
  }

  .overview__callout:hover .overview__callout-text {
    font-size: 13rem;
  }

  .overview__media:has(.overview__callout--lt:hover) .overview__lead--lt,
  .overview__media:has(.overview__callout--lb:hover) .overview__lead--lb {
    transform: scale(1.18) translateY(-14rem);
    transform-origin: 100% var(--pin-y);
  }

  .overview__media:has(.overview__callout--rt:hover) .overview__lead--rt,
  .overview__media:has(.overview__callout--rb:hover) .overview__lead--rb {
    transform: scale(1.18) translateY(-14rem);
    transform-origin: 0% var(--pin-y);
  }

  .overview__media:has(.overview__callout--lt:hover) .overview__lead--lt::before,
  .overview__media:has(.overview__callout--lb:hover) .overview__lead--lb::before,
  .overview__media:has(.overview__callout--rt:hover) .overview__lead--rt::before,
  .overview__media:has(.overview__callout--rb:hover) .overview__lead--rb::before {
    width: 8rem;
    height: 8rem;
  }

  .overview__media:has(.overview__callout--lt:hover) .overview__lead--lt::after,
  .overview__media:has(.overview__callout--lb:hover) .overview__lead--lb::after,
  .overview__media:has(.overview__callout--rt:hover) .overview__lead--rt::after,
  .overview__media:has(.overview__callout--rb:hover) .overview__lead--rb::after {
    height: 2rem;
  }

  .overview__media:has(.overview__callout--lt:hover) .overview__lead--lt::before,
  .overview__media:has(.overview__callout--lb:hover) .overview__lead--lb::before {
    left: calc(100% + var(--line-w, 70rem) - 6rem);
  }

  .overview__media:has(.overview__callout--rt:hover) .overview__lead--rt::before,
  .overview__media:has(.overview__callout--rb:hover) .overview__lead--rb::before {
    right: calc(100% + var(--line-w, 70rem) - 6rem);
  }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .overview__callout-body {
    transition: none;
  }

  .overview__lead {
    transition: none;
  }

  .overview__callout-title,
  .overview__callout-text,
  .overview__lead::before,
  .overview__lead::after {
    transition: none;
  }
}


/* -------------------------------- */
/* 特徴 */
.feature-grid {
  width: 1000rem;
  margin: 50rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60rem;
}

.feature-card {
  width: 100%;
  color: var(--text);
}

.feature-card__visual {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.feature-card__circle {
  width: 270rem;
  height: 270rem;
  border-radius: 50%;
  background: var(--main-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 38rem 22rem 20rem;
}

.feature-card__circle-title {
  margin: 10rem 0 0;
  color: var(--green-dark);
  font-size: 20rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.feature-card__circle-title-small {
  font-size: 0.88em;
}

.feature-card__icon {
  width: 150rem;
  height: auto;
  margin-top: 5rem;
  display: block;
}

.feature-card__number {
  position: absolute;
  top: 15rem;
  left: -40rem;
  margin: 0;
  color: var(--green-dark);
  font-size: 56rem;
  font-weight: 600;
  line-height: 1;
}

.feature-card__number span {
  display: inline-block;
  margin-right: -18rem;
  padding: 0 3rem;
  background: #ffffff;
  border-radius: 999rem;
  font-size: 12rem;
  font-weight: 700;
  vertical-align: top;
  transform: translateY(26rem);
}

.feature-card__title {
  margin: 18rem 0 0;
  font-size: 28rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--green-dark);
}

/* 説明文：ブロックはタイトルと同じ中央、文中は左揃え */
.feature-card__text {
  width: fit-content;
  max-width: 100%;
  margin: 14rem auto 0;
  font-size: 16rem;
  line-height: 1.8;
  text-align: left;
  color: var(--green-dark);
}

/* -------------------------------- */
/* 主要機能 */
.function-list {
  margin: 0 auto;
  width: 1000rem;
  display: grid;
  gap: 14rem;
}

.function-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30rem;
}

.function-item--reverse .function-item__text {
  order: 2;
}

.function-item--reverse .function-item__image {
  order: 1;
}

.function-item__number {
  margin: 0;
  font-size: 32rem;
  font-weight: 800;
  color: var(--green-dark);
}

.function-item h3 {
  margin: 4rem 0 0;
  display: inline-block;
  position: relative;
  z-index: 0;
  padding-bottom: 0;
  font-size: 32rem;
  font-weight: 700;
  color: var(--text);
}

.function-item h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  height: 12rem;
  background: var(--yellow);
  z-index: -1;
}

.function-item__lead {
  margin: 16rem 0 0;
  font-size: 20rem;
  font-weight: 700;
}

.function-item__text p:last-child {
  margin: 16rem 0 0;
  font-size: 16rem;
  line-height: 1.8;
}

.function-item__image {
  display: flex;
  justify-content: center;
}

.function-item__image img {
  width: 520rem;
  height: auto;
}

.function__note {
  margin: 40rem 0 8rem;
  font-size: 18rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
}

.function__cta-wrap {
  margin-top: 5rem;
  text-align: center;
}

/* -------------------------------- */
/* 連携可能アプリ */
.compare {
  overflow: hidden;
}

.compare__lead {
  width: 980rem;
  margin: 24rem auto 0;
  font-size: 18rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: var(--text);
}

.compare__brand {
  font-weight: 700;
}

.compare__brand-char {
  color: #14513f;
}

.compare__brand-char .section-title__logo-inline {
  width: auto !important;
  height: 20rem !important; /* 元の30remから【20rem】へ小さく変更（!importantで最優先化） */
  vertical-align: -0.15em !important; /* 画像を小さくしたことで上に浮くのを、文字のベースラインに合わせて微調整 */
}

.compare__brand-char.is-light {
  color: #14513f;
}

.compare-carousel {
  --compare-carousel-duration: 40s;
  margin: 40rem auto 0;
}

.compare-carousel__viewport {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.compare-carousel__track {
  display: flex;
  width: max-content;
  animation: compare-marquee-right var(--compare-carousel-duration) linear infinite;
  will-change: transform;
}

.compare-carousel__list {
  display: flex;
  flex: 0 0 auto;
  gap: 28rem;
  margin: 0;
  padding: 0 14rem;
  list-style: none;
}

.compare-app {
  flex: 0 0 auto;
  width: 140rem;
  text-align: center;
}

.compare-app__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120rem;
  height: 120rem;
  margin: 0 auto;
  padding: 14rem;
  border-radius: 16rem;
  background: #ffffff;
  box-shadow: 0 8rem 24rem rgba(0, 0, 0, 0.1);
}

.compare-app__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-app__name {
  margin: 12rem 0 0;
  font-size: 14rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

@keyframes compare-marquee-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-carousel__track {
    animation: none;
    transform: none;
  }
}

/* 料金・比較表セクション直上の余白を少し詰める */
.compare.section {
  padding-bottom: 40rem;
}

#pricing.section {
  padding-top: 40rem;
}

.pricing-overview {
  width: 1000rem;
  margin: 40rem auto 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20rem;
}

.pricing-box {
  display: flex;
  flex-direction: column;
  background: var(--green-soft);
}

.pricing-box__head {
  margin: 0;
  padding: 12rem;
  background: var(--green);
  color: #ffffff;
  font-size: 24rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.pricing-box__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 190rem;
  padding: 16rem 20rem;
  color: var(--green-dark);
}

.pricing-box__sub {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32rem;
  min-height: 56rem;
}

.pricing-box__sub p {
  margin: 0;
  min-height: 3.1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 16rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--green);
}

.pricing-box__sub strong {
  display: block;
  font-size: 24rem;
  line-height: 1.1;
  text-decoration: underline;
}

.pricing-box__label {
  margin: 0;
  min-height: 56rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 24rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 2rem;
  color: var(--green);
}

.pricing-box__price {
  margin: auto 0 0;
  padding-top: 22rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16rem;
  line-height: 1;
}

.pricing-box__price--single {
  margin-top: auto;
  padding-top: 22rem;
}

.pricing-box__badge {
  width: 45rem;
  height: 60rem;
  border: 2rem solid var(--green-dark);
  border-radius: 14rem;
  font-size: 20rem;
  font-weight: 700;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-box__prefix {
  font-size: 24rem;
  font-weight: 700;
  transform: translateY(-6rem);
}

.pricing-box__amount {
  font-size: 62rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pricing-box__unit {
  font-size: 24rem;
  font-weight: 700;
  transform: translateY(-6rem);
}

.pricing__caption {
  width: 1000rem;
  margin: 10rem auto 0;
  font-size: 12rem;
  font-weight: 600;
  color: var(--green-dark);
}

.pricing-matrix-wrap {
  width: 1000rem;
  margin: 50rem auto 0;
  overflow: visible;
}

.pricing-matrix {
  --ours-header-extend: 14rem;
  width: 100%;
  border-collapse: separate;
  border-spacing: 2rem;
  table-layout: fixed;
  font-size: 24rem;
  color: var(--green-dark);
  background: #ffffff;
}

.pricing-matrix th,
.pricing-matrix td {
  border: 1rem solid #ffffff;
  padding: 12rem 8rem;
  text-align: center;
  vertical-align: middle;
  background: var(--green-soft);
}

.pricing-matrix thead th {
  background: var(--green);
  color: #ffffff;
  font-size: 24rem;
  font-weight: 700;
}

.pricing-matrix thead th:first-child {
  background: transparent;
  border-color: transparent;
}

/* 「当社」見出しの1マスのみ上方向に縦幅を広げる（A社・本文マスは不変） */
.pricing-matrix thead .is-ours {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: transparent;
  padding-top: 16rem;
  padding-bottom: 16rem;
  text-align: center;
}

.pricing-matrix thead .is-ours::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: calc(-1 * var(--ours-header-extend));
  bottom: 0;
  background: var(--accent);
}

/* th は table-cell のため transform が効かない → 文字だけ span で中央寄せ */
.pricing-matrix__ours-head {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1;
  transform: translateY(calc(var(--ours-header-extend) / -2));
}

.pricing-matrix tbody tr:nth-child(even) {
  background: transparent;
}

.pricing-matrix tbody th {
  background: var(--main-soft);
  font-size: 18rem;
  font-weight: 600;
}

.pricing-matrix td.is-ours {
  background: var(--accent-soft);
}

.matrix-mark {
  display: block;
  font-size: 24rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-matrix td.is-ours .matrix-mark {
  color: var(--accent-dark);
}

.matrix-note {
  display: block;
  margin-top: 4rem;
  font-size: 16rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent-dark);
}

.matrix-note--sub {
  color: var(--green-dark);
}

/* 比較表の最下部2行は高さを統一 */
.pricing-matrix tbody tr:nth-last-child(-n + 2) th,
.pricing-matrix tbody tr:nth-last-child(-n + 2) td {
  height: 82rem;
}

.pricing-banner {
  width: 1000rem;
  margin: 28rem auto 0;
  display: flex;
  align-items: center;
  gap: 16rem;
}

.pricing-banner__icon {
  width: 200rem;
  height: auto;
  flex-shrink: 0;
}

.pricing-banner__text {
  position: relative;
  margin: 0;
  flex: 1;
  min-height: 65rem;
  border-radius: 14rem;
  background: var(--green);
  color: #ffffff;
  font-size: 24rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8rem;
  padding: 10rem 20rem 10rem 34rem;
}

.pricing-banner__text::before {
  content: "";
  position: absolute;
  left: -10rem;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 8rem solid transparent;
  border-bottom: 8rem solid transparent;
  border-right: 12rem solid var(--green);
  transform: translateY(-50%);
}

.pricing-banner__brand {
  height: 2.2em;
  width: auto;
  vertical-align: middle;
  flex-shrink: 0;
}

.pricing__note {
  margin: 5rem 0 0;
  font-size: 20rem;
  line-height: 1.8;
  text-align: center;
}

.pricing__cta-wrap {
  margin-top: 20rem;
  text-align: center;
}

.button-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320rem;
  height: 50rem;
  font-size: 18rem;
  font-weight: 600;
  border-radius: 999rem;
}

.outline-button {
  border: 2rem solid var(--green);
  color: var(--text);
  background: #ffffff;
}

.outline-button:hover {
  background: var(--green);
  color: #ffffff;
}


/* -------------------------------- */
/* フッター */
.footer {
  background: #000000;
  color: #ffffff;
  padding: 50rem 0;
}

.footer__inner {
  width: 800rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: grid;
  gap: 20rem;
  align-content: center;
}

.footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350rem;
  height: 60rem;
  border-radius: 999rem;
  border: 2rem solid #ffffff;
  font-size: 20rem;
  font-weight: 700;
  color: #ffffff;
}

.footer__button--blue {
  background: #5476f1;
}

.footer__button--blue:hover {
  background: #ffffff;
  color: #5476f1;
}

.footer__button--orange {
  background: var(--accent);
}

.footer__button--orange:hover {
  background: #ffffff;
  color: var(--accent);
}

.footer__company {
  text-align: center;
  font-size: 18rem;
  line-height: 1.8;
}

.footer__name {
  margin: 0;
  font-size: 32rem;
  font-weight: 700;
}

.footer__tel {
  margin: 0;
  font-size: 34rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer__tel-note {
  margin: 0;
  font-size: 16rem;
}




/* -------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-height: 40rem;
  }

  html {
    font-size: min(calc(100vw / 375), 1px);
  }

  .pc-br {
    display: none;
  }

  .sp-br {
    display: block;
  }

  .lp {
    width: 375rem;
  }

  .hero {
    height: 450rem;
  }


  /* -------------------------------- */
  /* ヘッダー */
  .site-header {
    position: relative;
    padding: 8rem 12rem;
  }

  .site-header__logo {
    display: inline-block;
  }

  .systena-logo {
    width: 88rem;
  }

  .site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42rem;
    height: 42rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
  }

  .site-header__toggle span,
  .site-header__toggle span::before,
  .site-header__toggle span::after {
    display: block;
    width: 24rem;
    height: 2rem;
    background: currentColor;
    border-radius: 999rem;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  }

  .site-header__toggle span {
    position: relative;
  }

  .site-header__toggle span::before,
  .site-header__toggle span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .site-header__toggle span::before {
    transform: translateY(-7rem);
  }

  .site-header__toggle span::after {
    transform: translateY(7rem);
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 8rem);
    right: 12rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 230rem;
    padding: 14rem 0;
    background: #ffffff;
    border: 1rem solid #dfe7e2;
    border-radius: 12rem;
    box-shadow: 0 10rem 20rem rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    font-size: 14rem;
    color: #243f33;
  }

  .site-header-wrap.is-open .site-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header__nav a {
    width: 100%;        /* 幅いっぱいに広げてタップ領域を確保 */
    text-align: center; /* 文字を中央揃えにする */
    padding: 10rem 0;   /* 左右のpaddingを無くし、上下の余白を少し広げて押しやすく */
    box-sizing: border-box;
  }

  .site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 14rem auto 4rem;
    width: 170rem !important; /* 「!important」を追加して最優先にする */
    height: 44rem;
    padding: 0 !important;
    border-color: var(--green);
    color: var(--green);
    font-size: 16rem;
    box-sizing: border-box;
  }

  .site-header__cta:hover {
    background: var(--green);
    color: #ffffff;
  }


  /* -------------------------------- */
  /* ファーストビュー */  
  .hero__content {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 26rem;
    padding: 80rem 20rem 30rem;
  }

  .hero__lead {
    font-size: 20rem;
    width: 100%;
    text-align: left;
    white-space: nowrap;
  }

  .hero__lead-comma-pc {
    display: none;
  }

  .hero__brand-circles {
    gap: 3rem;
  }

  .hero__brand-circle {
    width: 60rem;
    height: 60rem;
  }

  .hero__brand-logo {
    width: 250rem;
  }

  .hero__copy {
    gap: 14rem;
  }

  .hero__benefits {
    --trap-extend-left: 40rem;
    position: relative !important;
    z-index: 0 !important;
    padding: 15rem 25rem;
    background: rgba(22, 49, 38, 0.4) !important;
    font-size: 13rem;
    width: 100% !important;
    max-width: 345rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero__benefits li {
    line-height: 1.6;
  }

  .hero__benefits li + li {
    margin-top: 4rem;
  }

  .hero__benefits strong {
    font-size: 26rem;
    vertical-align: middle;
  }

  .hero__button {
    width: 220rem;
    height: 40rem;
    font-size: 16rem;
  }

  .hero__brand {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: fit-content !important;
  }

  .hero__brand-circles {
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .hero__brand-logo {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 250rem !important;
    height: auto !important;
  }


  /* -------------------------------- */
  /* セクション */
  .section {
    padding: 30rem 0;
  }

  .section-title {
    font-size: 24rem;
  }

  .section-title::after {
    width: 46rem;
    margin-top: 10rem;
  }

  .section-text {
    width: 343rem;
    margin-top: 18rem;
    margin-bottom: 10rem;
    font-size: 14rem;
  }

  .intro__title-kicker {
    font-size: 0.78em;
  }

  .intro__title-rays {
    right: -24rem;
    top: -2rem;
    width: 24rem;
    height: 20rem;
  }

  .intro__title-rays span {
    width: 2rem;
    height: 7rem;
    transform: translate(-50%, -50%) rotate(var(--ray-angle)) translateY(-6rem);
  }


  /* -------------------------------- */
  /* SaaS管理には「てなみる」！ */
  .intro__tag {
    width: 180rem;
    margin-top: 34rem;
    padding: 10rem 12rem;
    font-size: 16rem;
    font-weight: 600;
  }

  .intro__tag::after {
    bottom: -10rem;
    border-left-width: 8rem;
    border-right-width: 8rem;
    border-top-width: 10rem;
  }

  .case-grid {
    grid-template-columns: repeat(2, 170rem);
    justify-content: center;
    width: 343rem;
    margin-top: 24rem;
    gap: 14rem;
    padding: 18rem 0;
    border-radius: 18rem;
  }

  .case-card img {
    width: 110rem;
    height: 100rem;
  }

  .case-card {
    width: 170rem;
    height: 170rem;
    gap: 3rem;
    padding: 12rem 10rem 10rem;
    border-width: 2rem;
  }

  .case-card__title {
    font-size: 16rem;
  }

  .case-card__text {
    font-size: 11rem;
    font-weight: 400;
    line-height: 1.35;
  }


  /* -------------------------------- */
  /* 「てなみる」なら */
  .overview__media {
    width: 343rem;
    height: auto;
    margin-top: 28rem;
    background: transparent;
    display: flex;
    flex-direction: column;
  }

  .overview__figure {
    order: 1;
  }

  .overview__media .overview__figure .overview__image {
    height: auto;
  }

  .overview__preview-stack {
    padding: 14rem 12rem;
    z-index: 3;
  }

  .overview__preview-stack .overview__preview {
    max-width: 86%;
    max-height: 86%;
    border-radius: 8rem;
    box-shadow: 8rem 14rem 28rem rgba(0, 0, 0, 0.22);
  }

  .overview__media.is-preview--lt .overview__preview-stack .overview__preview,
  .overview__media.is-preview--rt .overview__preview-stack .overview__preview {
    max-width: 96%;
    max-height: 94%;
  }

  .overview__media.is-preview--lt .overview__preview-stack,
  .overview__media.is-preview--rt .overview__preview-stack {
    padding-left: 8rem;
    padding-right: 8rem;
  }

  .overview__media.is-preview--lb .overview__preview-stack {
    padding: 0 6rem 10rem;
  }

  .overview__media.is-preview--lb .overview__preview-stack .overview__preview {
    max-width: 94%;
    max-height: 92%;
    transform: translateX(10rem);
  }

  .overview__media.is-preview--rb .overview__preview-stack .overview__preview {
    transform: translateX(-10rem);
  }

  /* 画像上の番号バッジ（figure 内で画像に重ねる） */
  .overview__pins {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  .overview__pin {
    position: absolute;
    width: 26rem;
    height: 26rem;
    border-radius: 999rem;
    background: var(--green);
    border: 2rem solid var(--green);
    color: #ffffff;
    font-size: 13rem;
    font-weight: 800;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 4rem 10rem rgba(0, 0, 0, 0.2);
  }

  /* ①サマリ左上 ②リスト右寄り ③折れ線グラフ付近 ④ドーナツ右 */
  .overview__pin--1 {
    top: 2%;
    left: 10%;
  }

  .overview__pin--2 {
    top: 30%;
    left: 70%;
  }

  .overview__pin--3 {
    top: 54%;
    left: 24%;
  }

  .overview__pin--4 {
    top: 50%;
    left: 85%;
  }

  .overview__callouts {
    order: 2;
    margin-top: 14rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10rem;
  }

  .overview__callout {
    position: relative;
    width: auto;
    padding: 26rem 14rem 12rem 50rem;
    max-width: 100%;
  }

  .overview__callout-body {
    display: contents;
  }

  .overview__callout-title {
    font-size: 17rem;
  }

  .overview__callout-text {
    margin-top: 10rem;
    font-size: 13rem;
  }

  .overview__callout::after {
    display: none;
  }

  /* PC用の左右配置指定をモバイルでは解除して、枠内に縦積み */
  .overview__callout--lt,
  .overview__callout--lb,
  .overview__callout--rt,
  .overview__callout--rb {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .overview__callout::marker {
    content: "";
  }

  .overview__callout::before {
    content: attr(data-num);
    display: grid;
    place-items: center;
    position: absolute;
    width: 26rem;
    height: 26rem;
    border-radius: 999rem;
    background: var(--green);
    border: 2rem solid var(--green);
    color: #ffffff;
    font-size: 13rem;
    font-weight: 800;
    top: 40rem;
    left: 10rem;
    transform: none;
  }

  .feature-grid {
    display: grid;
    width: 100%;
    max-width: 500rem;
    margin-top: 24rem;
    grid-template-columns: 1fr;
    gap: 24rem;
  }

  .feature-card__visual {
    margin: 0 auto;
  }

  .feature-card__circle {
    width: 200rem;
    height: 200rem;
    padding: 30rem 16rem 14rem;
  }

  .feature-card__circle-title {
    font-size: 14rem;
  }

  .feature-card__icon {
    width: 110rem;
    margin-top: 5rem;
  }

  .feature-card__number {
    top: 8rem;
    left: -28rem;
    font-size: 40rem;
  }

  .feature-card__number span {
    margin-right: -15rem;
    padding: 0 2rem;
    background: #ffffff;
    border-radius: 0 !important;
    font-size: 10rem;
    transform: translateY(17rem);
  }

  .feature-card__title {
    margin-top: 12rem;
    font-size: 24rem;
    text-align: center;
  }

  .feature-card__text {
    width: fit-content;
    max-width: 100%;
    margin: 8rem auto 0;
    font-size: 13rem;
    text-align: left;
  }

  .function-list {
    width: 343rem;
    margin-top: 0rem;
    gap: 10rem;
  }

  .function-item {
    grid-template-columns: 1fr;
    gap: 10rem;
  }

  .function-item--reverse .function-item__text,
  .function-item--reverse .function-item__image {
    order: initial;
  }

  .function-item__number {
    font-size: 28rem;
  }

  .function-item h3 {
    font-size: 24rem;
    padding-bottom: 0;
  }

  .function-item h3::after {
    bottom: 1rem;
    height: 8rem;
  }

  .function-item__lead {
    margin-top: 10rem;
    font-size: 16rem;
  }

  .function-item__text p:last-child {
    margin-top: 10rem;
    font-size: 12rem;
    line-height: 1.7;
  }

  .function-item__image img {
    width: 280rem;
  }

  .function__note {
    margin-top: 30rem;
    font-size: 14rem;
  }

  .function__cta-wrap {
    margin-top: 3rem;
  }

  /* -------------------------------- */
  /* 主要機能 */
  .function-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 343rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  /* 2. 各機能アイテム（01-04）自体の幅とテキスト中央揃え設定 */
  .function-item {
    width: 100% !important;
    max-width: 343rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
  }

  /* 3. タイトル（下線の黄色ゲージ）を中央配置に調整 */
  .function-item h3 {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 4. 画像を包む枠も確実に中央へ */
  .function-item__image {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 14rem !important;
  }

  /* 5. 画像本体がはみ出さないようサイズを最適化 */
  .function-item__image img {
    width: 100% !important;
    max-width: 280rem !important;
    height: auto !important;
  }

  .function-list .function-item:nth-child(2) .function-item__image img,
  .function-list .function-item:nth-child(4) .function-item__image img {
    position: relative !important;
    left: 20rem !important; 
  }

  /* -------------------------------- */
  /* 連携可能アプリ */
  .compare__lead {
    width: 100%;
    margin-top: 16rem;
    font-size: 14rem;
    line-height: 1.7;
  }

  .compare-carousel {
    margin-top: 24rem;
  }

  .compare-carousel__list {
    gap: 16rem;
    padding: 0 8rem;
  }

  .compare-app {
    width: 100rem;
  }

  .compare-app__icon {
    width: 88rem;
    height: 88rem;
    padding: 10rem;
    border-radius: 12rem;
    box-shadow: 0 6rem 16rem rgba(0, 0, 0, 0.1);
  }

  .compare-app__name {
    margin-top: 8rem;
    font-size: 11rem;
  }

  .compare.section {
    padding-bottom: 24rem;
  }

  #pricing.section {
    padding-top: 24rem;
  }


  /* -------------------------------- */
  /* 料金プラン */
  .pricing-overview {
    width: 343rem;
    margin-top: 24rem;
    grid-template-columns: 1fr;
    gap: 14rem;
  }

  .pricing-box__head {
    padding: 10rem;
    font-size: 24rem;
  }

  .pricing-box__body {
    min-height: auto;
    padding: 5rem 14rem 10rem;
  }

  .pricing-box__sub {
    gap: 16rem;
    min-height: 44rem;
  }

  .pricing-box__sub p {
    min-height: 2.9em;
    font-size: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  .pricing-box__sub strong {
    font-size: 16rem;
  }

  .pricing-box__label {
    min-height: 44rem;
    font-size: 16rem;
    text-decoration-thickness: 1rem;
  }

  .pricing-box__price {
    font-size: 50rem;
    font-weight: 800;
    margin-top: auto;
    padding-top: 14rem;
    gap: 6rem;
  }

  .pricing-box__price--single {
    margin-top: auto;
    padding-top: 14rem;
  }

  .pricing-box__badge {
    width: 30rem;
    height: 46rem;
    border-width: 1.5rem;
    border-radius: 10rem;
    font-size: 16rem;
    transform: translateY(4rem);
  }

  .pricing-box__prefix {
    font-size: 16rem;
    transform: translateY(-2rem);
  }

  .pricing-box__amount {
    font-size: 50rem;
  }

  .pricing-box__unit {
    font-size: 16rem;
    transform: translateY(-2rem);
  }

  .pricing__caption {
    width: 343rem;
    font-size: 10rem;
    line-height: 1.5;
    display: block;
  }

  .pricing__caption span {
    display: inline;
  }

  .pricing-matrix-wrap {
    width: 343rem;
    margin-top: 32rem;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-matrix {
    --ours-header-extend: 10rem;
    min-width: 640rem;
    font-size: 13rem;
    border-spacing: 1rem;
  }

  .pricing-matrix th,
  .pricing-matrix td {
    padding: 8rem 6rem;
    border-width: 1rem;
  }

  .pricing-matrix thead th {
    font-size: 17rem;
  }

  .pricing-matrix thead .is-ours {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .pricing-matrix tbody th {
    font-size: 11rem;
  }

  .matrix-mark {
    font-size: 20rem;
  }

  .matrix-note {
    font-size: 10rem;
    margin-top: 2rem;
  }

  .pricing-matrix tbody tr:nth-last-child(-n + 2) th,
  .pricing-matrix tbody tr:nth-last-child(-n + 2) td {
    height: 56rem;
  }

  .pricing-banner {
    width: 343rem;
    margin-top: 18rem;
    align-items: center;
    gap: 5rem;
  }

  .pricing-banner__icon {
    width: 52rem;
  }

  .pricing-banner__text {
    min-height: 44rem;
    font-size: 9rem;
    border-radius: 10rem;
    padding: 8rem 8rem 8rem 16rem;
  }

  .pricing-banner__text::before {
    left: -7rem;
    top: 50%;
    border-top-width: 5rem;
    border-bottom-width: 5rem;
    border-right-width: 8rem;
    transform: translateY(-50%);
  }

  .pricing__note {
    margin-top: 20rem;
    font-size: 13rem;
  }

  .pricing-box {
    width: 88% !important; 
    max-width: 310rem !important; 
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .button-base {
    width: 220rem;
    height: 40rem;
    font-size: 12rem;
  }


  /* -------------------------------- */
  /* フッター */
  .footer {
    padding: 30rem 0;
  }

  .footer__inner {
    width: 343rem;
    flex-direction: column;
    align-items: center;
    gap: 26rem;
  }

  .footer__button {
    width: 250rem;
    height: 52rem;
    font-size: 14rem;
  }

  .footer__company {
    font-size: 14rem;
  }

  .footer__name {
    margin-bottom: 10rem;
    font-size: 26rem;
  }

  .footer__tel {
    margin-top: 8rem;
    font-size: 22rem;
  }
}
