/* ============================================================
   TimePro-NX 製品ページ（新デザイン）
   対象: line-up/timepro-nx/index-new.njk
   ・common.css（fs-* など）と併せて読み込む
   ・クラス接頭辞は tpnx-
   ・ブレークポイントは vg_cloud.css / clouza.css に合わせて 1060 / 900 / 767
   ・配色トークンは main.css の --color-* を使用
============================================================ */

.tpnx a {
  text-decoration: none;
}

:root {
  --tpnx-shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --tpnx-line: rgba(0, 0, 0, 0.15);
  --tpnx-gold-bg: rgba(178, 130, 71, 0.08);
}

.p-timepronx {
  letter-spacing: 0.05em;
}

.p-timepronx .c-download {
  background-color: #F9F5F1;
}

/* 共通：見出し（小見出し＋大見出し） */
.tpnx-ttl {
  text-align: center;
  font-weight: 700;
  color: var(--color-black);
}

.tpnx-ttl__sm {
  display: block;
  margin: 0 0 8px;
  line-height: 1.75;
}

.tpnx-ttl__lg {
  display: block;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

/* 共通：ボタン（main.css の .btn を Figma の寸法に調整） */
.tpnx .btn {
  min-width: 0;
  padding: 0 40px;
  font-weight: 700;
  white-space: nowrap;
}

.tpnx .btn--outline {
  border-width: 1px;
}

/* 共通：プラン記号（B / W） */
.tpnx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--color-navy);
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

/* ============================================================
   ヒーロー
============================================================ */
.tpnx-hero {
  background: var(--color-bg) url("/tis/assets/img/line-up/timepro-nx/tpnx-hero-bg.jpg") no-repeat right center / auto 100%;
}

.tpnx-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  max-width: 1280px;
  min-height: 550px;
  margin: 0 auto;
  padding-left: 40px;
}

.tpnx-hero__left {
  flex: 0 1 570px;
}

.tpnx-hero__tag {
  display: inline-block;
  margin: 0;
  padding: 3px 23px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-hero__ttl {
  margin: 19px 0 0;
}

.tpnx-hero__lead {
  display: block;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-hero__main {
  display: block;
  margin-top: 17px;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.tpnx-hero__logo {
  max-width: 536px;
  margin: 56px 0 0;
}

.tpnx-hero__logo img {
  display: block;
  width: 100%;
}

.tpnx-hero__img {
  flex: 0 0 48%;
  max-width: 594px;
  margin: 0;
}

.tpnx-hero__img img {
  display: block;
  width: 100%;
}

/* ============================================================
   こんなお悩みはございませんか？
============================================================ */
.tpnx-worry {
  padding: 96px 0;
}

.tpnx-worry__ttl {
  text-align: center;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.tpnx-worry__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 49px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-worry__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--color-gold);
  background: #fff;
  box-shadow: var(--tpnx-shadow);
  text-align: center;
}

.tpnx-worry__name {
  margin: 0;
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-worry__txt {
  margin-top: 8px;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-worry__img {
  margin: auto 0 0;
  padding-top: 24px;
}

.tpnx-worry__img img {
  display: block;
  width: 100%;
  height: auto;
}

.tpnx-worry__lead {
  margin-top: 64px;
  text-align: center;
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

/* ============================================================
   解説動画
============================================================ */
.tpnx-video {
  padding: 96px 0;
  background: var(--color-bg);
}

.tpnx-video__ttl {
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.tpnx-video__player {
  position: relative;
  max-width: 912px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.tpnx-video__player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tpnx-video__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.tpnx-video__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 110px;
  height: 110px;
  background: url("/tis/assets/img/common/icon/icon-play.svg") no-repeat center / 110px 110px;
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
}

@media (hover: hover) {
  .tpnx-video__player:hover .tpnx-video__btn {
    width: 130px;
    height: 130px;
    background-size: 130px 130px;
  }
}

/* ============================================================
   統合型システム（3つのボックス）
============================================================ */
.tpnx-integrated {
  padding: 96px 0 0;
}

.tpnx-box {
  padding: 48px 56px 80px;
  border: 1px solid var(--color-navy);
  background: #fff;
}

.tpnx-box+.tpnx-box {
  margin-top: 96px;
}

.tpnx-box__label {
  display: table;
  margin: 0 auto;
  padding: 3px 23px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-box__ttl {
  margin-top: 16px;
  text-align: center;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.tpnx-box__lead {
  margin-top: 32px;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-box__para {
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-box__para+.tpnx-box__para {
  margin-top: 28px;
}

.tpnx-box__fig {
  margin: 40px auto 0;
  max-width: 1000px;
}

.tpnx-box__fig img {
  display: block;
  width: 100%;
  height: auto;
}

/* 区切りブロック（罫線＋見出し） */
.tpnx-box__block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--tpnx-line);
}

.tpnx-box__block-ttl {
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

/* ライセンス3カード */
.tpnx-license {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-license__item {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 24px;
  background: var(--color-bg);
}

.tpnx-license__ttl {
  min-height: 105px;
  text-align: center;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-license__img {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.tpnx-license__img img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 導入前 → 導入後 */
.tpnx-reduce {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-reduce__item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
}

.tpnx-reduce__item+.tpnx-reduce__item {
  margin-top: 32px;
}

.tpnx-reduce__col {
  position: relative;
  padding-top: 16px;
}

.tpnx-reduce__tag {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 104px;
  height: 40px;
  background: var(--color-gray);
  color: var(--color-black);
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  transform: translateX(-50%);
}

.tpnx-reduce__col--after .tpnx-reduce__tag {
  background: var(--color-gold);
  color: #fff;
}

.tpnx-reduce__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 410px;
  padding: 40px 24px 24px;
  background: var(--color-bg);
  text-align: center;
}

.tpnx-reduce__col--after .tpnx-reduce__box {
  background: var(--tpnx-gold-bg);
}

.tpnx-reduce__ttl {
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-reduce__col--after .tpnx-reduce__ttl {
  color: var(--color-gold);
}

.tpnx-reduce__img {
  margin: 16px 0 0;
}

.tpnx-reduce__img img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tpnx-reduce__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
}

.tpnx-reduce__arrow img {
  display: block;
  width: 21px;
  height: auto;
}

/* システム組み合わせ例 */
.tpnx-combo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 80px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-combo__item {
  padding: 40px 40px 24px;
  background: var(--tpnx-gold-bg);
}

.tpnx-combo__img {
  margin: 0;
  text-align: center;
}

.tpnx-combo__img img {
  max-width: 100%;
  height: auto;
}

.tpnx-combo__ttl {
  margin-top: 24px;
  text-align: center;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-combo__list {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-combo__list li::marker {
  font-size: 1.3rem;
}

.tpnx-combo__etc {
  text-align: right;
  line-height: 1.75;
  color: var(--color-black);
}

/* テキスト＋画像の2カラム */
.tpnx-box__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 32px;
}

.tpnx-box__text {
  flex: 1 1 0;
}

.tpnx-box__text--narrow {
  flex: 0 0 433px;
}

.tpnx-box__side {
  flex: 0 0 400px;
  margin: 0;
}

.tpnx-box__side img {
  display: block;
  width: 100%;
  height: auto;
}

.tpnx-box__chart {
  max-width: 1080px;
  margin: 40px auto 0;
}

.tpnx-box__chart img {
  width: 100%;
  height: auto;
}

/* NXのチェック機能 */
.tpnx-check {
  display: flex;
  flex: 1 1 0;
  gap: 24px;
  padding: 24px;
  background: var(--tpnx-gold-bg);
}

.tpnx-check__main {
  flex: 1 1 0;
}

.tpnx-check__ttl {
  height: 40px;
  background: var(--color-gold);
  color: #fff;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
}

.tpnx-check__cols {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.tpnx-check__list {
  flex: 1 1 0;
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-check__list:first-child {
  flex: 0 0 214px;
}

.tpnx-check__list li::marker {
  font-size: 1.3rem;
}

.tpnx-check__img {
  flex: 0 0 200px;
  margin: 0;
}

.tpnx-check__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ＋αポイント */
.tpnx-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.tpnx-plus__mark {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.tpnx-plus__mark span:first-child {
  font-size: 2.4rem;
  line-height: 1;
}

.tpnx-plus__mark span:last-child {
  font-size: 1.4rem;
}

.tpnx-plus__ttl {
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-navi {
  margin-top: 32px;
  padding: 24px 40px;
  background: var(--color-bg);
}

.tpnx-navi__txt {
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-navi__img {
  margin: 24px auto 0;
  max-width: 756px;
}

.tpnx-navi__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   CTA
============================================================ */
.tpnx-cta {
  margin-top: 66px;
}

.tpnx-cta--2 {
  margin-top: 40px;
}

.tpnx-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  min-height: 448px;
  padding: 48px 5% 48px;
  border: 1px solid var(--color-navy);
  background: var(--color-bg) url("/tis/assets/img/line-up/timepro-nx/tpnx-cta-bg.jpg") no-repeat right center / cover;
}

.tpnx-cta__content {
  flex: 0 1 580px;
  text-align: center;
}

.tpnx-cta__lead {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.75;
}

.tpnx-cta__ttl {
  margin-top: 17px;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.tpnx-cta__logo {
  max-width: 536px;
  margin: 32px auto 0;
}

.tpnx-cta__logo img {
  display: block;
  width: 100%;
}

.tpnx-cta__btn {
  display: flex;
  justify-content: center;
  gap: 0 16px;
  margin-top: 48px;
}

.tpnx-cta__btn_sp {
  display: none;
}

.tpnx-cta__img {
  flex: 0 0 42%;
  max-width: 483px;
  margin: 0;
}

.tpnx-cta__img img {
  display: block;
  width: 100%;
}

/* ============================================================
   機能一覧（タブ）
============================================================ */
.tpnx-features {
  padding-top: 96px;
}

.tpnx-features .c-tab__wrap {
  margin-top: 40px;
}

.tpnx-tab__nav {
  border-bottom: 4px solid var(--color-gold);
}

.tpnx-tab {
  display: flex;
  gap: 0 16px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tpnx-tab__item {
  flex: 1 1 0;
}

.tpnx-tab__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 67px;
  margin: 0;
  border: 1px solid var(--color-gold);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tpnx-tab__link.is-active {
  background: var(--color-gold);
  color: #fff;
}

@media (hover: hover) {
  .tpnx-tab__link:not(.is-active):hover {
    background: var(--tpnx-gold-bg);
  }
}

/* .c-tab__content は JS が display を切り替える。背景・余白のみ上書き */
.tpnx-features .c-tab__content {
  padding: 40px 0 80px;
  background: var(--color-bg);
  box-shadow: none;
}

.tpnx-func {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 31px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpnx-func__item {
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  border: 1px solid var(--tpnx-line);
  background: #fff;
}

.tpnx-func__ttl {
  text-align: center;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-func__body {
  margin-top: 8px;
  min-height: 85px;
}

.tpnx-func__txt {
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-func__note {
  margin-top: 4px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-black);
}

.tpnx-func__img {
  margin: 24px 0 0;
  text-align: center;
}

.tpnx-func__img img {
  max-width: 100%;
  height: auto;
}

.tpnx-func__tags {
  list-style: disc;
  padding-left: 20px;
}

.tpnx-func__tags li::marker {
  color: var(--color-navy);
}

.tpnx-func__tags li + li {
  margin-top: 3px;
}

.tpnx-func__btn-wrap {
  margin-top: auto;
  padding-top: 24px;
}

.tpnx-func__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0;
  border: 1px solid var(--color-navy);
  background: var(--color-navy);
  color: #fff;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tpnx-func__btn::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background: url("/tis/assets/img/line-up/timepro-nx/tpnx-icon-zoom.svg") no-repeat center / contain;
}

.tpnx-func__btn--link::before {
  display: none;
}

@media (hover: hover) {
  .tpnx-func__btn:hover {
    background: #fff;
    color: var(--color-navy);
  }

  .tpnx-func__btn:hover::before {
    filter: invert(1);
  }
}

/* ============================================================
   サポート＆保守
============================================================ */
.tpnx-care {
  padding: 96px 0 80px;
}

.tpnx-care__h3 {
  margin-top: 40px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.tpnx-care__h3+.tpnx-care__txt {
  margin-top: 16px;
}

.tpnx-care__txt {
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-care__block+.tpnx-care__block {
  margin-top: 88px;
}

.tpnx-onestop {
  max-width: 1064px;
  margin: 32px auto 0;
}

.tpnx-onestop img {
  width: 100%;
  height: auto;
}

.tpnx-plan {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-plan__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-navy);
  background: #fff;
}

.tpnx-plan__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px 56px 17px;
  text-align: center;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-plan__item .tpnx-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.tpnx-plan__name {
  height: 46px;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
}

.tpnx-menu__ttl {
  margin-top: 40px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-menu__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 348px;
  padding: 24px 24px 60px;
  border: 1px solid var(--color-navy);
  background: #fff;
  box-shadow: var(--tpnx-shadow);
}

.tpnx-menu__name {
  text-align: center;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-navy);
}

.tpnx-menu__txt {
  margin-top: 8px;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-menu__icon {
  margin: auto 0 0;
  padding-top: 16px;
  text-align: center;
}

.tpnx-menu__icon img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.tpnx-menu__plan {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 0 5px;
}

/* ============================================================
   導入事例（lineup-case.njk の見出しを新デザインに調整）
============================================================ */
.tpnx-case {
  padding-bottom: 0;
}

.tpnx-case .c-title01 {
  margin-bottom: 40px;
}

.tpnx-case .c-title01__sm {
  order: -1;
  margin: 0 0 8px;
  color: var(--color-black);
  font-size: 2.4rem;
  line-height: 1.75;
}

.tpnx-case .c-title01__big {
  margin: 0;
  color: var(--color-black);
  font-size: 3.6rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   サポート内容
============================================================ */
.tpnx-support {
  padding: 96px 0;
}

.tpnx-support__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 31px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-support__item {
  padding: 32px 24px 24px;
  border: 1px solid var(--tpnx-line);
  background: #fff;
}

.tpnx-support__ttl {
  text-align: center;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-support__img {
  margin: 16px 0 0;
}

.tpnx-support__img img {
  display: block;
  width: 100%;
  height: auto;
}

.tpnx-support__bullets {
  margin: 16px 0 0;
  padding-left: 20px;
  list-style: disc;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-support__bullets li::marker {
  font-size: 1.3rem;
}

.tpnx-support__note {
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
}

.tpnx-support__icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.tpnx-support__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 109px;
  height: 109px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--color-bg);
}

.tpnx-support__circle img {
  width: 48px;
  height: 48px;
}

.tpnx-support__icons p {
  margin-top: 16px;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-support__btn {
  margin-top: 64px;
  text-align: center;
}

.tpnx-support__btn .btn {
  min-width: 248px;
}

/* ============================================================
   FAQ（faq.njk・[data-version="2"] .faq のスタイルを利用。差分のみ）
============================================================ */
.tpnx-faq {
  padding-top: 0;
}

.tpnx-faq .c-title01 {
  margin-bottom: 40px;
}

.tpnx-faq .c-title01__big {
  font-size: 3.6rem;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

[data-version="2"] .tpnx-faq .question {
  padding-top: 20px;
  padding-bottom: 20px;
}

[data-version="2"] .tpnx-faq .question .q-label,
[data-version="2"] .tpnx-faq .answer .a-label {
  font-size: 1.8rem;
}

[data-version="2"] .tpnx-faq .question .title {
  font-weight: 500;
  letter-spacing: 0.05em;
}

[data-version="2"] .tpnx-faq .answer .text {
  font-size: 1.6rem;
  line-height: 1.75;
}

/* ============================================================
   関連システム・製品
============================================================ */
.tpnx-related {
  padding: 96px 0;
}

.tpnx-related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.tpnx-related__link {
  display: block;
  height: 100%;
  border: 1px solid var(--color-gold);
  background: #fff;
}

@media (hover: hover) {
  .tpnx-related__link:hover {
    background: var(--color-bg);
  }
}

.tpnx-related__head {
  padding: 2px 16px;
  background: var(--color-gold);
  color: #fff;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.tpnx-related__body {
  position: relative;
  display: flex;
  gap: 0 32px;
  padding: 32px 32px 64px;
  box-sizing: border-box;
}

.tpnx-related__img {
  flex: 0 0 152px;
  margin: 0;
  padding-top: 12px;
}

.tpnx-related__img img {
  display: block;
  width: 100%;
  height: auto;
}

.tpnx-related__wr {
  flex: 1 1 0;
}

.tpnx-related__logo {
  max-width: 184px;
  margin: 0 0 12px;
}

.tpnx-related__logo img {
  display: block;
  width: 100%;
}

.tpnx-related__ttl {
  margin: 0;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-navy);
}

.tpnx-related__txt {
  margin-top: 12px;
  line-height: 1.75;
  color: var(--color-black);
}

.tpnx-related__special {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--color-navy);
  font-weight: 700;
}

.tpnx-related__chevron {
  position: absolute;
  right: 32px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gold);
  box-sizing: border-box;
}

.tpnx-related__chevron img {
  width: 32px;
  height: 32px;
  transform: rotate(-90deg);
}

/* ===================================================================
   メディアクエリ（画面幅ごとにひとまとめ）
=================================================================== */

@media (max-width: 1280px) {

  .tpnx-hero {
    background-size: 100% 100%;
  }

  .tpnx-hero__inner {
    padding-right: 40px;
  }

  .tpnx-hero__lead,
  .tpnx-cta__lead {
    font-size: clamp(1.6rem, 1.6vw, 2rem);
  }

  .tpnx-hero__main,
  .tpnx-cta__ttl {
    font-size: clamp(2.4rem, 3.1vw, 4rem);
  }

  .tpnx-cta__inner {
    background-size: 100% 100%;
  }
}

@media (max-width: 1060px) {

  /* ヒーロー・CTA は縦積み */
  .tpnx-hero__lead,
  .tpnx-cta__lead {
    font-size: 2rem;
  }

  .tpnx-hero__main,
  .tpnx-cta__ttl {
    font-size: 3.2rem;
  }

  /* ヒーロー */
  .tpnx-hero {
    background-image: none;
  }

  .tpnx-hero__inner {
    display: block;
    min-height: auto;
    padding: 40px 0 0;
  }

  .tpnx-hero__left {
    width: 95%;
    margin: 0 auto;
    text-align: center;
  }

  .tpnx-hero__ttl {
    margin-top: 16px;
  }

  .tpnx-hero__main {
    margin-top: 4px;
  }

  .tpnx-hero__logo {
    max-width: 293px;
    margin: 20px auto 0;
  }

  .tpnx-hero__img {
    max-width: 100%;
    margin: 22px auto 0;
    padding: 20px 0;
    background: url("/tis/assets/img/line-up/timepro-nx/tpnx-bg-sp.webp") no-repeat right center / cover;
  }

  .tpnx-hero__img img {
    width: 95%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* CTA */
  .tpnx-cta {
    margin-top: 48px;
  }

  .tpnx-cta--2 {
    margin-top: 32px;
  }

  .tpnx-cta__inner {
    display: block;
    min-height: 0;
    padding: 0;
    background-image: none;
  }

  .tpnx-cta__content {
    width: 95%;
    margin: 0 auto;
    padding-top: 30px;
  }

  .tpnx-cta__ttl {
    margin-top: 4px;
  }

  .tpnx-cta__logo {
    max-width: 293px;
    margin: 20px auto 0;
  }

  .tpnx-cta__btn {
    padding: 0 15px;
    margin-top: 20px;
    margin-bottom: 25px;
  }

  .tpnx-cta__btn_pc {
    display: none;
  }

  .tpnx-cta__btn_sp {
    display: flex;
  }

  .tpnx-cta__img {
    max-width: 100%;
    margin: 22px auto 0;
    padding: 30px 0;
    background: url("/tis/assets/img/line-up/timepro-nx/tpnx-bg-sp.webp") no-repeat right center / cover;
  }

  .tpnx-cta__img img {
    width: 95%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* ボックス内側の余白 */
  .tpnx-box {
    padding: 40px 32px 56px;
  }

  /* 統合システム */
  .tpnx-license {
    gap: 0 20px;
  }

  .tpnx-combo {
    gap: 0 32px;
  }

  .tpnx-box__row {
    flex-direction: column;
  }

  .tpnx-box__side,
  .tpnx-box__text--narrow {
    flex: none;
    width: 100%;
  }

  .tpnx-box__side {
    max-width: 400px;
  }

  .tpnx-check {
    width: 100%;
  }

  /* 機能一覧 */
  .tpnx-func {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* サービスメニュー */
  .tpnx-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* サポート内容 */
  .tpnx-support__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {

  /* 関連システム・製品 */
  .tpnx-related__list {
    grid-template-columns: 1fr;
  }

  /* 保守契約プラン */
  .tpnx-plan {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
}

@media (max-width: 767px) {

  /* 見出しの折り返し調整 */

  .tpnx-hero__lead, .tpnx-cta__lead {
    font-size: 1.3rem !important;
  }

  .tpnx-hero__main, .tpnx-cta__ttl {
    font-size: 2.4rem !important;
  }

  .tpnx-box__ttl {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    line-height: 1.6;
  }

  .tpnx-box__block-ttl {
    font-size: 1.8rem;
  }

  .tpnx-check__list:first-child {
    flex: none;
  }

  /* お悩み */
  .tpnx-worry {
    padding: 56px 0;
  }

  .tpnx-worry__list {
    grid-template-columns: 1fr;
    gap: 24px 0;
    margin-top: 32px;
  }

  .tpnx-worry__lead {
    margin-top: 40px;
  }

  /* 動画 */
  .tpnx-video {
    padding: 56px 0;
  }

  .tpnx-video__player {
    margin-top: 24px;
  }

  .tpnx-video__btn {
    width: 60px;
    height: 60px;
    background-size: 60px 60px;
  }

  /* 統合型システム */
  .tpnx-integrated {
    padding-top: 56px;
  }

  .tpnx-box {
    padding: 32px 20px 40px;
  }

  .tpnx-box+.tpnx-box {
    margin-top: 56px;
  }

  .tpnx-box__lead {
    margin-top: 24px;
  }

  .tpnx-box__fig {
    margin-top: 24px;
  }

  .tpnx-box__block {
    margin-top: 40px;
    padding-top: 32px;
  }

  .tpnx-license {
    grid-template-columns: 1fr;
    gap: 16px 0;
    margin-top: 24px;
  }

  .tpnx-license__item {
    min-height: 0;
    padding: 20px 16px;
  }

  .tpnx-license__ttl {
    min-height: 0;
  }

  .tpnx-license__img {
    margin-top: 16px;
  }

  .tpnx-reduce__item {
    grid-template-columns: 1fr;
  }

  .tpnx-reduce__item+.tpnx-reduce__item {
    margin-top: 40px;
  }

  .tpnx-reduce__box {
    min-height: 0;
    padding: 40px 16px 24px;
  }

  .tpnx-reduce__arrow {
    padding: 16px 0;
  }

  .tpnx-reduce__arrow img {
    transform: rotate(90deg);
  }

  .tpnx-combo {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .tpnx-combo__item {
    padding: 24px 16px 16px;
  }

  .tpnx-box__row {
    margin-top: 24px;
    gap: 24px;
  }

  .tpnx-box__chart {
    margin-top: 24px;
  }

  .tpnx-check {
    flex-direction: column;
    padding: 16px;
  }

  .tpnx-check__cols {
    flex-direction: column;
    gap: 0;
  }

  .tpnx-check__img {
    flex: none;
    max-width: 200px;
    margin: 0 auto;
  }

  .tpnx-plus {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    text-align: center;
  }

  .tpnx-navi {
    padding: 16px;
  }

  /* 機能一覧 */
  .tpnx-features {
    padding-top: 56px;
  }

  .tpnx-features .c-tab__wrap {
    margin-top: 24px;
  }

  .tpnx-tab__nav {
    overflow-x: auto;
  }

  .tpnx-tab {
    gap: 0 8px;
    padding: 0 20px;
    width: max-content;
    min-width: 100%;
  }

  .tpnx-tab__item {
    flex: 0 0 auto;
  }

  .tpnx-tab__link {
    height: 48px;
    padding: 0 20px;
    white-space: nowrap;
  }

  .tpnx-features .c-tab__content {
    padding: 24px 0 56px;
  }

  .tpnx-func {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .tpnx-func__item {
    padding: 24px 16px 16px;
  }

  .tpnx-func__body {
    min-height: 0;
  }

  /* サポート＆保守 */
  .tpnx-care {
    padding: 56px 0 48px;
  }

  .tpnx-care__h3 {
    margin-top: 32px;
  }

  .tpnx-care__block+.tpnx-care__block {
    margin-top: 56px;
  }

  .tpnx-onestop {
    margin-top: 20px;
  }

  .tpnx-plan__body {
    padding: 16px 52px 17px;
  }

  .tpnx-menu {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .tpnx-menu__item {
    min-height: 0;
    padding-bottom: 64px;
  }

  /* サポート内容 */
  .tpnx-support {
    padding: 56px 0;
  }

  .tpnx-support__list {
    grid-template-columns: 1fr;
    gap: 16px 0;
    margin-top: 24px;
  }

  .tpnx-support__item {
    padding: 24px 16px 20px;
  }

  .tpnx-support__circle {
    width: 84px;
    height: 84px;
  }

  .tpnx-support__circle img {
    width: 36px;
    height: 36px;
  }

  .tpnx-support__btn {
    margin-top: 40px;
  }

  /* FAQ */
  .tpnx-faq .c-title01 {
    margin-bottom: 24px;
  }

  /* 関連システム・製品 */
  .tpnx-related {
    padding: 56px 0;
  }

  .tpnx-related__list {
    margin-top: 24px;
  }

  .tpnx-related__body {
    display: block;
    padding: 24px 16px 64px;
  }

  .tpnx-related__img {
    max-width: 200px;
    margin: 0 auto 24px;
    padding-top: 0;
  }

  .tpnx-related__chevron {
    right: 16px;
  }
}
