@charset "UTF-8";

/* ////////////////////////////////////////////////////////////////////
jinji-hyouka（人事評価制度ページ専用）
ヒーロー・2カラム・セクション見出し・CTAは service.css の型をそのまま使う。
ここには、このページだけの部品（お悩みカード・5ステップ・料金・オプション）を書く。
色は base.css の変数（--color-main など）だけを使う。
//////////////////////////////////////////////////////////////////// */


/* ==================================================
なぜ、経営理念から始めるのか（3つの言葉）
================================================== */

.jh-values {
  margin: 0 0 20px;
  padding: 18px 22px;

  list-style: none;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 12px;
}

.jh-values li {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 12px;

  padding: 8px 0;

  font-size: 1rem;
  line-height: 1.8;
}

.jh-values li + li {
  border-top: 1px solid var(--color-line);
}

.jh-values dt,
.jh-values-term {
  color: var(--color-main);
  font-weight: 700;
}


/* ==================================================
お悩みカード（フリップカード）
================================================== */

.jh-worry-lead {
  margin: -32px 0 48px;

  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

.jh-worry-group + .jh-worry-group {
  margin-top: 64px;
}

.jh-worry-title {
  position: relative;

  margin: 0 0 24px;
  padding-left: 16px;

  color: var(--color-text);

  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;

  border-left: 4px solid var(--color-main);
}

.jh-worry-title small {
  margin-left: .75em;

  color: var(--color-main);

  font-size: .875rem;
  font-weight: 700;
}

.jh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* 最初は3枚だけ見せる（PC） */
.jh-cards:not(.is-open) .jh-card:nth-child(n+4) {
  display: none;
}

.jh-cards.is-open .jh-card:nth-child(n+4) {
  animation: jh-reveal .35s ease both;
}

@keyframes jh-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.jh-card {
  position: relative;

  /* 一言の答え＋説明が一番長いカードでも収まる高さ（幅ごとに実測して決めた） */
  height: 430px;

  perspective: 1200px;
}

.jh-card-inner {
  position: relative;

  display: block;

  width: 100%;
  height: 100%;
  padding: 0;

  color: inherit;
  font: inherit;
  text-align: left;

  background: none;
  border: 0;

  cursor: pointer;

  transition: transform .6s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}

.jh-card.is-flipped .jh-card-inner {
  transform: rotateY(180deg);
}

.jh-card-inner:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
  border-radius: 16px;
}

.jh-face {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;

  padding: 26px 24px;

  border-radius: 16px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 表 */
.jh-face-front {
  background: rgba(103, 142, 124, 0.08);
}

.jh-q {
  color: var(--color-main);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.jh-q-text {
  color: var(--color-text);

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}

.jh-tap {
  color: var(--color-main);

  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* 裏 */
.jh-face-back {
  justify-content: flex-start;

  background: var(--color-brighter);
  border: 1px solid var(--color-bright);

  transform: rotateY(180deg);

  /* 文字を大きく設定しているスマホなどで入りきらないときは、カードの中だけスクロールして読めるようにする（普段は何も変わらない） */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* 裏面は Q.（質問）→ A.（一言の答え）→ 説明の順に上から並べ、「タップして戻す」だけ下に置く */
.jh-face-back .jh-tap {
  margin-top: auto;
}

/* Q. 質問（太字・黒・14文字以内） */
.jh-a-q {
  color: var(--color-text);

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

/* A. 一言の答え（太字・濃い緑・14文字以内） */
.jh-a-lead {
  margin-bottom: 2px;

  color: var(--color-dark);

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.jh-a {
  color: var(--color-text);

  font-size: .9375rem;
  line-height: 1.85;
}

/* もっと見るボタン */
.jh-more {
  margin-top: 28px;

  text-align: center;
}

.jh-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;

  min-width: 17rem;
  padding: .875rem 2rem;

  color: var(--color-main);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;

  background: var(--color-white);

  border: 2px solid var(--color-main);
  border-radius: 999px;

  cursor: pointer;

  transition: background .2s, color .2s;
}

.jh-more-btn:hover {
  color: var(--color-white);
  background: var(--color-main);
}

.jh-more-btn .jh-chev {
  display: inline-block;
  transition: transform .3s ease;
}

.jh-more-btn[aria-expanded="true"] .jh-chev {
  transform: rotate(180deg);
}

.jh-more-btn[aria-expanded="true"] .jh-more-open,
.jh-more-btn:not([aria-expanded="true"]) .jh-more-close {
  display: none;
}

.jh-n-sp {
  display: none;
}


/* ==================================================
導入の流れ（5ステップ）
================================================== */

.jh-steps-lead {
  margin: -32px 0 56px;

  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

.jh-flow {
  --dot: 64px;

  max-width: 860px;
  margin: 0 auto;
}

.jh-steps {
  position: relative;

  margin: 0;
  padding: 0;

  list-style: none;
}

/* 丸と丸の間は矢印（矢の先が次の丸に刺さる）。STEP 5 の矢印は完成のチェックに刺さる */
.jh-step::before {
  content: "";

  position: absolute;
  top: calc(var(--dot) + 4px);
  bottom: 12px;
  left: calc(var(--dot) / 2 - 2px);

  width: 4px;

  background: var(--color-bright);

  border-radius: 2px;
}

.jh-step::after {
  content: "";

  position: absolute;
  bottom: 1px;
  left: calc(var(--dot) / 2 - 9px);

  width: 0;
  height: 0;

  border-top: 14px solid var(--color-bright);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
}

.jh-step {
  position: relative;

  display: grid;
  grid-template-columns: var(--dot) minmax(0, 1fr);
  gap: 28px;

  padding-bottom: 44px;
}

.jh-dot {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: var(--dot);
  height: var(--dot);

  color: var(--color-main);
  text-align: center;
  line-height: 1;

  background: var(--color-white);

  border: 3px solid var(--color-main);
  border-radius: 50%;
}

.jh-dot small {
  display: block;

  margin-bottom: 3px;

  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.jh-dot b {
  font-size: 1.5rem;
}

.jh-step-body {
  min-width: 0;
  padding-top: 6px;
}

.jh-label {
  display: inline-block;

  margin-bottom: 10px;
  padding: 4px 12px;

  color: var(--color-dark);

  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;

  background: var(--color-brighter);

  border-radius: 999px;
}

.jh-step-title {
  margin: 0 0 12px;

  color: var(--color-text);

  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
}

.jh-step-text {
  margin: 0;

  font-size: 1rem;
  line-height: 2;
}

/* 完成 */
.jh-finish {
  position: relative;

  display: grid;
  grid-template-columns: var(--dot) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

/* 完成の丸から下は点線 */
.jh-finish::after {
  content: "";

  position: absolute;
  top: var(--dot);
  bottom: 0;
  left: calc(var(--dot) / 2 - 2px);

  width: 4px;

  background: repeating-linear-gradient(to bottom, var(--color-bright) 0 8px, transparent 8px 14px);
}

.jh-finish-mark {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: var(--dot);
  height: var(--dot);

  color: var(--color-white);
  font-size: 1.75rem;
  font-weight: 700;

  background: var(--color-main);

  border-radius: 50%;
}

.jh-finish-body {
  min-width: 0;
  padding-top: 16px;
}

.jh-finish-text {
  margin: 0;

  color: var(--color-main);

  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 料金 */
.jh-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 24px;

  margin-top: 20px;
  padding: 24px 28px;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 16px;
}

.jh-price-label {
  font-size: 1.0625rem;
  font-weight: 700;
}

.jh-price-value {
  color: var(--color-main);

  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.jh-price-value small {
  margin-left: 2px;

  font-size: 1rem;
}

.jh-price-period {
  color: var(--color-main);

  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
}

.jh-price-note {
  grid-column: 1 / -1;

  margin-top: 8px;

  font-size: .875rem;
  line-height: 1.8;
}

/* オプションへの点線 */
.jh-option-link {
  width: 4px;
  height: 48px;
  margin-left: calc(var(--dot) / 2 - 2px);

  background: repeating-linear-gradient(to bottom, var(--color-bright) 0 8px, transparent 8px 14px);
}

/* オプション */
.jh-option {
  padding: 36px;

  border: 2px dashed var(--color-bright);
  border-radius: 16px;
}

.jh-option-title {
  margin: 0 0 12px;

  color: var(--color-text);

  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.jh-option-lead {
  margin: 0 0 28px;

  font-size: 1rem;
  line-height: 2;
}

.jh-option-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.jh-option-item {
  min-width: 0;
  padding: 24px 22px;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 14px;
}

.jh-option-item-title {
  margin: 0 0 10px;

  color: var(--color-main);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.jh-option-item p {
  margin: 0;

  font-size: .9375rem;
  line-height: 1.8;
}

.jh-option-note {
  margin: 24px 0 0;

  font-size: .9375rem;
  line-height: 1.8;
}


/* ==================================================
人事評価制度の動画（将来的にPCでは3本横並び、スマホでは縦並びにする想定）
================================================== */

.jh-video-lead {
  margin: -32px 0 40px;

  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

.jh-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;

  max-width: 1040px;
  margin: 0 auto;
}

.jh-video-card-title {
  margin: 0 0 12px;

  color: var(--color-text);

  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.jh-video-wrap {
  position: relative;

  aspect-ratio: 16 / 9;

  background: #000;

  border-radius: 14px;

  overflow: hidden;
}

.jh-video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ####################################################################
responsive
#################################################################### */

/* ==================================================
1180px以下：3列のままカードの幅が狭くなるので、高さを足す
================================================== */

@media screen and (max-width: 1180px) {
  /* カードが狭くなる幅では、裏面のQ./A.を1行に収めるため文字を少し小さく */
  .jh-a-q,
  .jh-a-lead {
    font-size: 1rem;
  }



  .jh-card {
    height: 470px;
  }
}

/* ==================================================
1000px以下：カードは2列・最初は2枚
================================================== */

@media screen and (max-width: 1000px) {
  .jh-a-q,
  .jh-a-lead {
    font-size: 1.125rem;
  }



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

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

  .jh-cards:not(.is-open) .jh-card:nth-child(3) {
    display: none;
  }

  .jh-cards.is-open .jh-card:nth-child(3) {
    animation: jh-reveal .35s ease both;
  }

  .jh-more-btn .jh-n-pc { display: none; }
  .jh-more-btn .jh-n-sp { display: inline; }

  .jh-card {
    height: 445px;
  }

  .jh-option-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ==================================================
777px以下：カードは1列
================================================== */

@media screen and (max-width: 777px) {

  .jh-values {
    padding: 14px 16px;
  }

  .jh-values li {
    grid-template-columns: 1fr;
    gap: 2px;

    font-size: .9375rem;
  }

  .jh-worry-lead,
  .jh-steps-lead,
  .jh-video-lead {
    margin: -18px 0 36px;

    font-size: .9375rem;
    line-height: 1.9;
    text-align: left;
  }

  .jh-video-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jh-video-wrap {
    border-radius: 12px;
  }

  .jh-worry-group + .jh-worry-group {
    margin-top: 48px;
  }

  .jh-worry-title {
    font-size: 1.1875rem;
  }

  .jh-worry-title small {
    display: block;
    margin: 4px 0 0;
  }

  .jh-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jh-card {
    height: 403px;
  }

  .jh-face {
    padding: 22px 20px;
  }

  .jh-q-text,
  .jh-a-q,
  .jh-a-lead {
    font-size: 1.125rem;
  }

  .jh-more-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .jh-flow {
    --dot: 50px;
  }

  .jh-step,
  .jh-finish {
    gap: 16px;
  }

  .jh-step {
    padding-bottom: 36px;
  }

  .jh-dot b {
    font-size: 1.25rem;
  }

  .jh-dot small {
    font-size: .5625rem;
  }

  .jh-step-body {
    padding-top: 2px;
  }

  .jh-step-title {
    font-size: 1.1875rem;
  }

  .jh-step-text {
    font-size: .9375rem;
    line-height: 1.9;
  }

  .jh-finish-body {
    padding-top: 12px;
  }

  .jh-finish-text {
    font-size: 1.125rem;
  }

  .jh-price {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .jh-price-value,
  .jh-price-period {
    text-align: left;
  }

  .jh-price-value {
    font-size: 1.75rem;
  }

  .jh-option {
    padding: 24px 18px;
  }

  .jh-option-title {
    font-size: 1.25rem;
  }

  .jh-option-lead {
    font-size: .9375rem;
    line-height: 1.9;
  }
}


/* ==================================================
359px以下（小さいスマホ）：カードの高さを足す
================================================== */

/* 幅360〜374px（Androidに多い幅）は、文字の折り返しが増えるので高さを残す */
@media screen and (max-width: 374px) {
  .jh-card {
    height: 430px;
  }
}

@media screen and (max-width: 359px) {
  .jh-a-q,
  .jh-a-lead {
    font-size: 1rem;
  }



  .jh-card {
    height: 460px;
  }
}


/* 動きを減らす設定の人には、回転アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  .jh-card-inner {
    transition: none;
  }

  .jh-cards.is-open .jh-card {
    animation: none !important;
  }
}


/* ####################################################################
2026-11-10 料金改定で追加した部品
（6ステップ＋説明会／お届けするもの／料金／3年で育てる／伴走支援／オプション表／
  安心導入パック／冊子2冊／代表より／CTA見出し）
#################################################################### */

/* 本文幅をそろえる入れ物 */
.jh-narrow {
  max-width: 860px;
  margin: 0 auto;
}

/* 長めのリード（左揃え） */
.jh-lead {
  max-width: 860px;
  margin: -32px auto 56px;

  font-size: 1rem;
  line-height: 2;
}

.jh-lead p {
  margin: 0;
}

.jh-lead p + p {
  margin-top: .75em;
}

/* 小見出し（ボックスの中） */
.jh-sub-title {
  margin: 0 0 12px;

  color: var(--color-main);

  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

/* チェック付きリスト */
.jh-check {
  margin: 0;
  padding: 0;

  list-style: none;
}

.jh-check li {
  position: relative;

  padding-left: 1.6em;

  font-size: 1rem;
  line-height: 1.9;
}

.jh-check li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  color: var(--color-main);
  font-weight: 700;
}

/* 黒丸リスト */
.jh-dot-list {
  margin: 0 0 20px;
  padding: 0;

  list-style: none;
}

.jh-dot-list li {
  position: relative;

  padding-left: 1.2em;

  font-size: .9375rem;
  line-height: 1.9;
}

.jh-dot-list li::before {
  content: "";

  position: absolute;
  top: .8em;
  left: .2em;

  width: 6px;
  height: 6px;

  background: var(--color-main);

  border-radius: 50%;
}

.jh-em {
  color: var(--color-main);
  font-weight: 700;
}

.jh-nowrap {
  white-space: nowrap;
}

.jh-text-link {
  color: var(--color-main);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==================================================
【1】説明会（番号なしのお団子）
6つの「つくる」と見た目を分けるため、薄い緑の面に載せ、丸は塗りつぶし（番号なし）
================================================== */

.jh-share {
  --dot: 48px;

  padding: 30px 32px 6px;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 16px;
}

.jh-share-title {
  margin: 0 0 22px;

  color: var(--color-main);

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

.jh-share-list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.jh-share-item {
  position: relative;

  display: grid;
  grid-template-columns: var(--dot) minmax(0, 1fr);
  gap: 24px;

  padding-bottom: 26px;
}

/* 従業員説明会 → 評価者説明会 を線でつなぐ */
.jh-share-item:not(:last-child)::before {
  content: "";

  position: absolute;
  top: var(--dot);
  bottom: 0;
  left: calc(var(--dot) / 2 - 2px);

  width: 4px;

  background: var(--color-bright);
}

.jh-share-mark {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: var(--dot);
  height: var(--dot);

  background: var(--color-main);

  border-radius: 50%;
}

.jh-share-mark::after {
  content: "";

  width: 30%;
  height: 30%;

  background: var(--color-white);

  border-radius: 50%;
}

.jh-share .jh-step-body {
  padding-top: 8px;
}

.jh-share .jh-step-title {
  margin-bottom: 6px;
  font-size: 1.25rem;
}


/* ==================================================
【2】お届けするもの
================================================== */

.jh-deliver {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;

  list-style: none;
}

.jh-deliver-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 22px;

  padding: 22px 0;

  border-top: 1px solid var(--color-line);
}

.jh-deliver-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.jh-deliver-num {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  color: var(--color-main);

  font-size: 1.25rem;
  font-weight: 700;

  border: 2px solid var(--color-main);
  border-radius: 50%;
}

.jh-deliver-title {
  margin: 0 0 4px;

  color: var(--color-text);

  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.6;
}

.jh-deliver-text {
  margin: 0;

  font-size: 1rem;
  line-height: 1.9;
}

/* 画面イメージ（画像は後日） */
.jh-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  max-width: 860px;
  margin: 40px auto 0;
}

.jh-figure {
  margin: 0;
}

.jh-figure img {
  display: block;

  width: 100%;
  height: auto;

  border: 1px solid var(--color-line);
  border-radius: 12px;
}


/* ==================================================
【3】導入プロジェクトの料金（.jh-price を流用）
================================================== */

.jh-narrow > .jh-price {
  margin-top: 0;
  padding: 32px 36px;
}

.jh-price-pre {
  margin-right: .3em;

  font-size: 1.0625rem;
}

.jh-price-includes {
  grid-column: 1 / -1;

  margin-top: 16px;
  padding-top: 20px;

  border-top: 1px solid var(--color-line);
}


/* ==================================================
【4】小さく始めて、3年かけて育てる
================================================== */

.jh-grow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 48px;

  max-width: 860px;
  margin: 0 auto;
}

.jh-grow-text p {
  margin: 0;

  font-size: 1rem;
  line-height: 2;
}

.jh-grow-text p + p {
  margin-top: 1em;
}

/* 1年目→3年目と積み上がる図（飾り） */
.jh-grow-figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;

  padding: 24px 16px 18px;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 16px;
}

.jh-grow-col {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 6px;
}

.jh-grow-block {
  display: block;

  width: 58px;
  height: 26px;

  background: var(--color-bright);

  border-radius: 6px;
}

.jh-grow-block.is-new {
  background: var(--color-main);
}

.jh-grow-year {
  margin-top: 4px;

  color: var(--color-main);

  font-size: .875rem;
  font-weight: 700;
}


/* ==================================================
【5】伴走支援（.jh-option を流用）
================================================== */

.jh-option-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;

  margin: 0 0 24px;
  padding-bottom: 20px;

  border-bottom: 1px solid var(--color-line);
}

.jh-option-price-label {
  font-size: 1.25rem;
  font-weight: 700;
}


/* ==================================================
【6】オプション（表は css/price.css の price-table をそのまま使う）
内容の列が長いので、列幅と内容の揃えだけこのページで調整する
================================================== */

.price-table-3col.jh-option-table th:nth-child(1),
.price-table-3col.jh-option-table td:nth-child(1) {
  width: 24%;
}

.price-table-3col.jh-option-table th:nth-child(2),
.price-table-3col.jh-option-table td:nth-child(2) {
  width: 50%;
}

.price-table-3col.jh-option-table th:nth-child(3),
.price-table-3col.jh-option-table td:nth-child(3) {
  width: 26%;
}

.jh-option-table tbody td:nth-child(2) {
  text-align: left;
}


/* ==================================================
【7】評価制度 安心導入パック（ページでいちばん目立つ箱）
================================================== */

.jh-pack {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 52px 44px;

  background: var(--color-white);

  border: 3px solid var(--color-main);
  border-radius: 20px;

  box-shadow: 0 14px 36px rgba(103, 142, 124, 0.22);
}

.jh-pack-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 14px;
}

.jh-pack-labels .jh-label {
  margin: 0;
  font-size: .875rem;
}

.jh-label--solid {
  color: var(--color-white);
  background: var(--color-main);
}

.jh-pack-title {
  margin: 0 0 10px;

  color: var(--color-dark);

  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.jh-pack-sub {
  margin: 0 0 24px;

  color: var(--color-main);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
}

.jh-pack-text {
  margin: 0 0 32px;
}

.jh-pack-text p {
  margin: 0;

  font-size: 1rem;
  line-height: 2;
}

.jh-pack-text p + p {
  margin-top: .75em;
}

.jh-pack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.jh-pack-includes {
  padding: 24px 26px;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 14px;
}

.jh-pack-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;

  padding: 24px 26px;

  background: var(--color-brighter);

  border-radius: 14px;
}

.jh-pack-compare {
  display: flex;
  flex-direction: column;

  margin: 0;

  font-size: .875rem;
  line-height: 1.7;
}

.jh-pack-compare-value {
  font-size: 1.125rem;
  font-weight: 700;
}

.jh-pack-monitor {
  display: flex;
  flex-direction: column;

  margin: 0;
  padding-top: 14px;

  border-top: 1px solid var(--color-bright);
}

.jh-pack-monitor-label {
  color: var(--color-dark);

  font-size: 1rem;
  font-weight: 700;
}

.jh-pack-monitor-value {
  color: var(--color-dark);

  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.jh-pack-monitor-value small {
  margin-left: 2px;
  font-size: 1rem;
}

.jh-pack-terms {
  margin-top: 32px;
  padding-top: 28px;

  border-top: 1px solid var(--color-line);
}

.jh-pack-terms > p {
  margin: 0 0 12px;

  font-size: .9375rem;
  line-height: 1.9;
}

.jh-pack-dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;

  margin: 0;
  padding: 16px 20px;

  font-size: 1rem;
  line-height: 1.7;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 12px;
}

.jh-pack-dl dt {
  color: var(--color-main);
  font-weight: 700;
}

.jh-pack-dl dd {
  margin: 0;
  font-weight: 700;
}


/* ==================================================
【8】冊子2冊
================================================== */

.jh-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;

  max-width: 900px;
  margin: 0 auto;
}

.jh-book {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 22px;

  padding: 24px;

  background: rgba(103, 142, 124, 0.08);

  border-radius: 16px;
}

.jh-book-cover {
  display: block;
}

.jh-book-cover img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 3px;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);

  transition: transform .2s;
}

.jh-book-cover:hover img {
  transform: translateY(-3px);
}

.jh-book-title {
  margin: 0 0 4px;

  color: var(--color-text);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

.jh-book-pages {
  display: block;

  margin-bottom: 16px;

  color: var(--color-main);

  font-size: .875rem;
  font-weight: 700;
}

.jh-book-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 7.5em;
  padding: .55rem 1.1rem;

  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;

  border: 2px solid var(--color-main);
  border-radius: 999px;

  transition: background .2s, color .2s;
}

.jh-btn--fill {
  color: var(--color-white);
  background: var(--color-main);
}

.jh-btn--fill:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.jh-btn--line {
  color: var(--color-main);
  background: var(--color-white);
}

.jh-btn--line:hover {
  color: var(--color-white);
  background: var(--color-main);
}


/* 冊子の中身（見本の見開き） */
.jh-samples {
  max-width: 900px;
  margin: 56px auto 0;
}

.jh-samples-title {
  margin: 0 0 24px;

  color: var(--color-main);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.jh-sample {
  margin: 0;
}

.jh-sample + .jh-sample {
  margin-top: 40px;
}

.jh-sample a {
  display: block;
}

.jh-sample img {
  display: block;

  width: 100%;
  height: auto;

  border: 1px solid var(--color-line);
  border-radius: 6px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  transition: transform .2s;
}

.jh-sample a:hover img {
  transform: translateY(-3px);
}

.jh-sample figcaption {
  margin-top: 12px;

  color: var(--color-text);

  font-size: .9375rem;
  line-height: 1.6;
  text-align: center;
}

.jh-samples-note {
  margin: 20px 0 0;

  font-size: .875rem;
  text-align: center;
}

@media screen and (max-width: 777px) {
  .jh-samples {
    margin-top: 40px;
  }

  .jh-samples-title {
    font-size: 1rem;
  }

  .jh-sample + .jh-sample {
    margin-top: 28px;
  }

  .jh-sample figcaption {
    font-size: .875rem;
  }

  .jh-samples-note.jh-sp {
    display: block !important;
  }
}


/* パソコンは見開き版、スマホは単ページ版（777px で切り替え） */
.jh-sp {
  display: none !important;
}

@media screen and (max-width: 777px) {
  .jh-pc {
    display: none !important;
  }

  .jh-book-cover.jh-sp {
    display: block !important;
  }

  .jh-book-btns.jh-sp {
    display: flex !important;
  }
}


/* ==================================================
【9】代表より（写真左・文章右。ほかより余白を広めに）
================================================== */

.jh-message-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.jh-message {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  gap: 64px;

  max-width: 980px;
  margin: 40px auto;
}

.jh-message-photo img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 16px;
}

.jh-message-title {
  margin: 0 0 32px;

  color: var(--color-text);

  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.jh-message-body p {
  margin: 0 0 1.4em;

  font-size: 1rem;
  line-height: 2.1;
}

.jh-message-body .jh-message-sign {
  margin: 40px 0 0;

  line-height: 1.9;
  text-align: right;
}

.jh-message-name {
  margin-left: .2em;

  font-size: 1.25rem;
  font-weight: 700;
}


/* ご挨拶動画（代表よりのあと） */
.jh-greeting {
  max-width: 720px;
  margin: 24px auto 40px;
}

.jh-greeting-title {
  margin: 0 0 16px;

  color: var(--color-main);

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.jh-greeting-more {
  margin: 16px 0 0;

  font-size: .9375rem;
  text-align: center;
}

@media screen and (max-width: 777px) {
  .jh-greeting {
    margin: 8px auto 24px;
  }

  .jh-greeting-title {
    font-size: 1rem;
  }
}


/* ==================================================
CTAの見出し
================================================== */

.jh-cta-title {
  margin: 0 0 18px;

  color: inherit;

  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

/* 見出しがあるCTAでは、本文を通常の大きさに戻す（service.css の .section-cta-text は大きい太字のため） */
.jh-cta-title + .section-cta-text {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 2;
}


/* ==================================================
2026-11-10 追加分：1000px以下
================================================== */

@media screen and (max-width: 1000px) {
  .jh-books {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .jh-message {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
  }
}


/* ==================================================
2026-11-10 追加分：777px以下（スマホ）
================================================== */

@media screen and (max-width: 777px) {
  .jh-lead {
    margin: -18px 0 36px;

    font-size: .9375rem;
    line-height: 1.9;
  }

  .jh-share {
    --dot: 40px;

    padding: 22px 18px 4px;
  }

  .jh-share-item {
    gap: 14px;
  }

  .jh-share .jh-step-body {
    padding-top: 4px;
  }

  .jh-share .jh-step-title {
    font-size: 1.125rem;
  }

  .jh-share-title {
    font-size: 1.125rem;
  }

  .jh-deliver-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;

    padding: 18px 0;
  }

  .jh-deliver-num {
    width: 40px;
    height: 40px;

    font-size: 1.0625rem;
  }

  .jh-deliver-title {
    font-size: 1.0625rem;
  }

  .jh-deliver-text {
    font-size: .9375rem;
  }

  .jh-figures {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jh-narrow > .jh-price {
    padding: 22px 20px;
  }

  .jh-grow {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jh-grow-text p {
    font-size: .9375rem;
    line-height: 1.9;
  }

  .jh-option-price-label {
    font-size: 1.125rem;
  }

  /* オプション表（スマホ）：内容の列を広めに */
  .price-table-3col.jh-option-table th:nth-child(1),
  .price-table-3col.jh-option-table td:nth-child(1) {
    width: 30%;
  }

  .price-table-3col.jh-option-table th:nth-child(2),
  .price-table-3col.jh-option-table td:nth-child(2) {
    width: 40%;
  }

  .price-table-3col.jh-option-table th:nth-child(3),
  .price-table-3col.jh-option-table td:nth-child(3) {
    width: 30%;
  }

  .jh-pack {
    padding: 28px 20px 26px;

    border-radius: 16px;
  }

  .jh-pack-title {
    font-size: 1.5rem;
  }

  .jh-pack-sub {
    font-size: 1rem;
  }

  .jh-pack-text p {
    font-size: .9375rem;
    line-height: 1.9;
  }

  .jh-pack-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .jh-pack-includes,
  .jh-pack-price {
    padding: 20px;
  }

  .jh-pack-monitor-value {
    font-size: 2.125rem;
  }

  .jh-pack-dl {
    grid-template-columns: 1fr;
    gap: 0;

    padding: 14px 16px;
  }

  .jh-pack-dl dd + dt {
    margin-top: 8px;
  }

  .jh-book {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;

    padding: 18px;
  }

  .jh-book-title {
    font-size: 1rem;
  }

  .jh-btn {
    min-width: 0;
    padding: .5rem .9rem;

    font-size: .875rem;
  }

  .jh-message-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .jh-message {
    grid-template-columns: 1fr;
    gap: 28px;

    margin: 24px auto;
  }

  .jh-message-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .jh-message-title {
    margin-bottom: 24px;

    font-size: 1.375rem;
  }

  .jh-message-body p {
    font-size: .9375rem;
    line-height: 2;
  }

  .jh-cta-title {
    font-size: 1.375rem;
  }

  .jh-cta-title + .section-cta-text {
    font-size: .9375rem;
    line-height: 1.9;
  }
}

/* ==========================================================
   2026-11-11 理念セクション → お悩みセクションの間だけ詰める
   （service.css の .section-2col-t-i 下余白 ＋ .section-service 上余白 が重なって広すぎたため）
   ========================================================== */
.section-2col-t-i + .section-service {
  padding-top: 40px;   /* 元 100px */
}
@media (max-width: 1000px) {
  .section-2col-t-i + .section-service {
    padding-top: 36px; /* 元 80px */
  }
}
@media (max-width: 777px) {
  .section-2col-t-i + .section-service {
    padding-top: 24px; /* 元 64px */
  }
}

/* ==========================================================
   2026-11-11 お届けするもの：画面イメージ3枚
   （1枚目は横いっぱい、2・3枚目は横並び。スマホは縦1列）
   ========================================================== */
.jh-figures {
  max-width: 1000px;
}
.jh-figure--wide {
  grid-column: 1 / -1;
}
.jh-figure img {
  padding: 10px;
  background: #fff;
  box-sizing: border-box;
}
.jh-figure-cap {
  margin-top: 10px;
  font-size: .875rem;
  line-height: 1.6;
  text-align: center;
}
.jh-figures-note {
  max-width: 1000px;
  margin: 14px auto 0;
  font-size: .8125rem;
  text-align: right;
  opacity: .75;
}
@media (max-width: 777px) {
  .jh-figure-cap { font-size: .8125rem; }
  .jh-figures-note { text-align: left; }
}

/* ==========================================================
   2026-11-11 お届けするもの：紹介動画（画像3枚の上）
   ========================================================== */
.jh-demo {
  max-width: 1000px;
  margin: 40px auto 0;
}
.jh-demo-lead {
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.8;
}
.jh-demo-frame {
  position: relative;
}
.jh-demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff;
}
.jh-demo-replay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.jh-demo-replay:hover {
  background: var(--color-dark);
}
.jh-demo-replay[hidden] {
  display: none;
}
@media (max-width: 777px) {
  .jh-demo { margin-top: 28px; }
  .jh-demo-lead { text-align: left; font-size: .9375rem; }
  .jh-demo-replay { right: 8px; bottom: 8px; padding: 6px 12px; font-size: .75rem; }
}
/* 再生ボタンは動画の外（右下の下）に置く。動画内のロゴと重ならないように */
.jh-demo-replay,
.jh-demo-replay:hover {
  position: static;
  display: block;
  margin: 10px 0 0 auto;
}
@media (max-width: 777px) {
  .jh-demo-replay { margin-top: 8px; }
}

/* 2026-11-11 自動再生できないときの中央の再生マーク */
.jh-demo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 50%;
  background: rgba(103, 142, 124, .92);
  color: #fff;
  font-size: 30px;
  line-height: 84px;
  text-align: center;
  padding-left: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.jh-demo-play:hover { background: var(--color-dark); }
.jh-demo-play[hidden] { display: none; }
@media (max-width: 777px) {
  .jh-demo-play { width: 64px; height: 64px; line-height: 64px; font-size: 22px; }
}

/* ==========================================================
   2026-11-11 こんな悩み：質問を選ぶと答えが出る形式
   PC：左に質問（2列×3行）、右に回答欄／スマホ：押した質問の下に答え
   ========================================================== */
.jh-qa {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
.jh-qa-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jh-qa-item.is-extra { display: none; }
.jh-qa.is-open .jh-qa-item.is-extra { display: block; }
.jh-qa-q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #f3f5f4;
  color: var(--color-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.jh-qa-q:hover { background: var(--color-brighter); }
.jh-qa-q[aria-expanded="true"] {
  background: var(--color-brighter);
  border-color: var(--color-main);
}
.jh-qa-num {
  flex-shrink: 0;
  color: var(--color-main);
  font-weight: 700;
}
.jh-qa-text {
  font-weight: 700;
  line-height: 1.5;
}
.jh-qa-list { gap: 10px 12px; }
.jh-qa-a { display: none; }          /* PCでは右の回答欄に表示する */
.jh-qa-panel {
  align-self: stretch;           /* 質問リストと同じ高さにそろえる */
  padding: 26px 26px 28px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--color-main);
  box-shadow: 0 6px 20px rgba(86, 118, 103, .12);
}
.jh-qa-panel-q {
  margin-bottom: 12px;
  color: var(--color-main);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.6;
}
.jh-qa-a-lead {
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}
.jh-qa-a-mark {
  margin-right: 6px;
  color: var(--color-main);
}
.jh-qa-a-body {
  font-size: .9375rem;
  line-height: 1.9;
}
.jh-qa-more {
  display: none;                /* PCは12問すべて表示するので不要 */
  margin-top: 24px;
  text-align: center;
}
.jh-qa-more-btn {
  min-width: 270px;
  padding: 14px 32px;
  border: 2px solid var(--color-main);
  border-radius: 999px;
  background: #fff;
  color: var(--color-main);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.jh-qa-more-btn:hover { background: var(--color-brighter); }
.jh-qa-more-close,
.jh-qa-more-btn[aria-expanded="true"] .jh-qa-more-open { display: none; }
.jh-qa-more-btn[aria-expanded="true"] .jh-qa-more-close { display: inline; }

@media (max-width: 1000px) {
  .jh-qa { grid-template-columns: 1fr 1fr; }
  .jh-qa-list { grid-template-columns: 1fr; }
}
@media (max-width: 777px) {
  .jh-qa { display: block; }
  .jh-qa-panel { display: none; }
  .jh-qa-list { grid-template-columns: 1fr; gap: 10px; }
  .jh-qa-item.is-extra { display: block; }
  .jh-qa-item.is-extra-sp { display: none; }
  .jh-qa.is-open .jh-qa-item.is-extra-sp { display: block; }
  .jh-qa-q { min-height: 0; padding: 16px 18px; }
  .jh-qa-a:not([hidden]) {
    display: block;
    margin-top: 8px;
    padding: 18px 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid var(--color-main);
  }
  .jh-qa-a-lead { font-size: 1rem; }
  .jh-qa-more { display: block; }
  .jh-qa-more-btn { min-width: 0; width: 100%; }
}
/* PC幅では質問を1行に収める（12問を2列×6段で表示） */
@media (min-width: 1001px) {
  .jh-qa-q { padding: 13px 16px; gap: 10px; }
  .jh-qa-text { font-size: .9375rem; }
}

/* ==========================================================
   2026-11-11 こんな悩み：色分け（制度＝緑／人＝冊子のベージュ）と列並び
   PC：左列 Q1〜6（制度）、右列 Q7〜12（人）
   ========================================================== */
.jh-qa-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: -8px 0 24px;
  font-size: .875rem;
}
.jh-qa-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.jh-qa-chip {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.jh-qa-chip--sys { background: #E6ECE9; border: 1px solid #B3C7BE; }
.jh-qa-chip--ppl { background: #EADDC7; border: 1px solid #D9C4A3; }

.jh-qa-item--ppl .jh-qa-q { background: #F8EADB; }
.jh-qa-item--ppl .jh-qa-q:hover { background: #F2DFC8; }
.jh-qa-item--ppl .jh-qa-num { color: #B06A28; }
.jh-qa-item--ppl .jh-qa-q[aria-expanded="true"] {
  background: #F2DFC8;
  border-color: #E7994B;
}
.jh-qa-panel.is-ppl { border-color: #E7994B; box-shadow: 0 6px 20px rgba(231, 153, 75, .15); }
.jh-qa-panel.is-ppl .jh-qa-panel-q,
.jh-qa-panel.is-ppl .jh-qa-a-mark { color: #B06A28; }

@media (min-width: 1001px) {
  .jh-qa-list {
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
  }
}
@media (max-width: 777px) {
  .jh-qa-legend { justify-content: flex-start; margin: -4px 0 18px; font-size: .8125rem; }
  .jh-qa-item--ppl .jh-qa-a:not([hidden]) { border-color: #E7994B; }
  .jh-qa-item--ppl .jh-qa-a .jh-qa-a-mark { color: #B06A28; }
}
/* 2026-11-11 左列（制度）の背景を色見本と同じ薄い緑にそろえる */
.jh-qa-item--sys .jh-qa-q { background: #E6ECE9; }
.jh-qa-item--sys .jh-qa-q:hover { background: #DCE6E1; }
.jh-qa-item--sys .jh-qa-q[aria-expanded="true"] { background: #DCE6E1; border-color: var(--color-main); }

/* ==========================================================
   2026-11-11 紹介動画：進み具合バー（押す・ドラッグで位置を移動）
   ========================================================== */
.jh-demo-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.jh-demo-bar {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #E6ECE9;
  cursor: pointer;
  touch-action: none;
}
.jh-demo-bar::before {              /* 押しやすいように当たり判定を上下に広げる */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  bottom: -12px;
}
.jh-demo-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  background: var(--color-main);
}
.jh-demo-bar-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-main);
  transform: translateY(-50%) scale(.85);
  transition: transform .15s;
  box-sizing: border-box;
}
.jh-demo-bar:hover .jh-demo-bar-knob,
.jh-demo-bar.is-dragging .jh-demo-bar-knob,
.jh-demo-bar:focus-visible .jh-demo-bar-knob { transform: translateY(-50%) scale(1.15); }
.jh-demo-bar:focus-visible { outline: 2px solid var(--color-main); outline-offset: 6px; }
.jh-demo-time {
  flex-shrink: 0;
  color: var(--color-main);
  font-size: .8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 777px) {
  .jh-demo-progress { gap: 10px; margin-top: 10px; }
  .jh-demo-time { font-size: .75rem; }
}
/* 再生マークは動画の中央に（下に進み具合バーが入った分だけ上にずらす） */
.jh-demo-play { top: calc(50% - 16px); }

/* ==========================================================
   2026-11-11 紹介動画：一時停止／再生ボタン（バーの左端）
   ========================================================== */
.jh-demo-video { cursor: pointer; }
.jh-demo-toggle {
  flex-shrink: 0;
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-main);
  cursor: pointer;
}
.jh-demo-toggle:hover { background: var(--color-dark); }
.jh-demo-toggle:focus-visible { outline: 2px solid var(--color-main); outline-offset: 3px; }
.jh-demo-icon-play {               /* ▶ */
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -3px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
.jh-demo-icon-pause {              /* ❚❚ */
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 12px;
  margin: -6px 0 0 -5px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  box-sizing: border-box;
}
.jh-demo-toggle.is-playing .jh-demo-icon-play { display: none; }
.jh-demo-toggle.is-playing .jh-demo-icon-pause { display: block; }
@media (max-width: 777px) {
  .jh-demo-toggle { width: 32px; height: 32px; }
}


/* ==================================================
2026-11-11：冊子2冊のセクションの上下余白を、ほかのセクションとそろえる
================================================== */
#booklets {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media screen and (max-width: 777px) {
  #booklets {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* 冊子の直前のCTA（安心導入パックのあと）だけ、下の余白を詰める */
.section-cta:has(+ #booklets) {
  padding-bottom: 40px;
}

@media screen and (max-width: 777px) {
  .section-cta:has(+ #booklets) {
    padding-bottom: 24px;
  }
}


/* ==================================================
2026-11-11：CTAの下に公式LINE（パソコンはQR、スマホはボタン）
================================================== */
.jh-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  max-width: 600px;
  margin: 32px auto 0;
  padding-top: 28px;

  border-top: 1px solid rgba(86, 118, 103, 0.25);

  text-align: left;
}

.jh-line-qr {
  flex: 0 0 auto;

  width: 112px;
  height: 112px;

  background: #fff;
  border-radius: 8px;
}

.jh-line-title {
  margin: 0 0 6px;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.jh-line-text {
  margin: 0;

  font-size: .875rem;
  line-height: 1.8;
}

.jh-line-btn {
  align-items: center;
  justify-content: center;

  margin-top: 14px;
  padding: .7rem 1.6rem;

  background: #06C755;
  border-radius: 999px;

  color: #fff !important;

  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}

.jh-line-btn:hover {
  opacity: .85;
}

@media screen and (max-width: 777px) {
  .jh-line {
    display: block;

    margin-top: 24px;
    padding-top: 22px;

    text-align: center;
  }

  .jh-line-btn.jh-sp {
    display: inline-flex !important;
  }
}
