@charset "UTF-8";
/* =========================================================
   サービス内容ページ（/service/）だけのスタイル
   共通の色・文字・ボタン・ヘッダー・フッターは style.css（トップと共通）を使う
   クラスはすべて hnh-service- で始める
   ========================================================= */

/* ---------- ヒーロー・パンくず ---------- */
.hnh-service-hero { padding-top: 84px; }

.hnh-service-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: calc(6 * var(--s)); }
.hnh-service-title { font-weight: 900; font-size: max(20px, calc(22 * var(--s))); line-height: 1.3; letter-spacing: .04em; }
.hnh-service-catch {
  margin-top: calc(12 * var(--s));
  font-weight: 900; font-size: calc(31 * var(--s)); line-height: 1.28; letter-spacing: .01em;
}
.hnh-service-hero__lead { margin-top: calc(12 * var(--s)); font-weight: 600; font-size: max(14px, calc(14.5 * var(--s))); line-height: 1.85; }

/* 絵：サイト＋マップ、レポート、人物を重ねる（同梱のトップ素材） */
.hnh-service-hero__art { position: relative; height: calc(250 * var(--s)); margin-top: calc(14 * var(--s)); }
.hnh-service-hero__blob { position: absolute; left: 4%; right: 4%; bottom: 2%; height: 56%; border-radius: 50%; background: var(--yellow); opacity: .95; }
.hnh-service-hero__layer { position: absolute; display: block; }
.hnh-service-hero__layer img { width: 100%; height: auto; filter: drop-shadow(0 14px 20px rgba(40, 70, 100, .16)); }
.hnh-service-hero__layer--site { width: 56%; left: 12%; top: 0; }
.hnh-service-hero__layer--report { width: 44%; right: 0; top: 10%; }
.hnh-service-hero__layer--people { width: 74%; left: 13%; bottom: 0; }
.hnh-service-hero__plus { position: absolute; line-height: 0; z-index: 2; }
.hnh-service-hero__plus--1 { right: 4%; top: -4%; font-size: calc(46 * var(--s)); }
.hnh-service-hero__plus--2 { right: -1%; top: 12%; font-size: calc(22 * var(--s)); }
.hh-js .hnh-service-hero__plus .hh-plus { animation: hh-bob 6s ease-in-out infinite; }
.hh-js .hnh-service-hero__plus--2 .hh-plus { animation-duration: 4.8s; animation-delay: -1.5s; }
.hnh-service-hero__cta { margin-top: calc(14 * var(--s)); }

/* ---------- 4つのページ内リンク ---------- */
.hnh-service-anchors ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(8 * var(--s)); margin-top: calc(16 * var(--s)); }
.hnh-service-anchor {
  display: flex; align-items: center; gap: calc(7 * var(--s)); min-height: 60px; height: 100%;
  padding: calc(8 * var(--s)) calc(8 * var(--s)) calc(8 * var(--s)) calc(12 * var(--s));
  border-radius: calc(16 * var(--s)); text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 6px 20px rgba(120, 100, 40, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hnh-service-anchor:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(40, 70, 100, .12); }
.hnh-service-anchor__num { font-style: italic; font-weight: 900; font-size: calc(24 * var(--s)); line-height: 1; letter-spacing: -.03em; flex: none; }
.hnh-service-anchor__text { flex: 1; min-width: 0; font-weight: 800; font-size: max(12.5px, calc(13 * var(--s))); line-height: 1.35; word-break: auto-phrase; }
.hnh-service-anchor__arrow { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blue-pale); color: var(--blue-deep); transition: transform .25s ease; }
.hnh-service-anchor__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hnh-service-anchor:hover .hnh-service-anchor__arrow { transform: translateY(2px); }
.hnh-service-num--blue { color: var(--blue); }
.hnh-service-num--yellow { color: #F5C800; }

/* ---------- 01〜04 の白いパネル ---------- */
.hnh-service-blocks { display: grid; gap: calc(28 * var(--s)); margin-top: calc(36 * var(--s)); }
.hnh-service-block { scroll-margin-top: 84px; }
.hnh-service-block__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  padding: calc(24 * var(--s)) calc(18 * var(--s)) calc(22 * var(--s));
  border-radius: calc(26 * var(--s));
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 30px rgba(120, 100, 40, .07);
}
.hnh-service-kicker { display: flex; align-items: baseline; gap: calc(10 * var(--s)); }
.hnh-service-num { font-style: italic; font-weight: 900; letter-spacing: -.04em; line-height: .9; font-size: calc(48 * var(--s)); }
.hnh-service-en { display: flex; align-items: center; gap: .7em; flex: 1; font-family: "Outfit", var(--font); font-weight: 700; letter-spacing: .08em; font-size: max(12px, calc(13 * var(--s))); color: var(--blue-deep); }
.hnh-service-en::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .25; }
.hnh-service-h2 { margin-top: calc(8 * var(--s)); }

.hnh-service-fig { position: relative; margin: calc(16 * var(--s)) calc(-8 * var(--s)) calc(10 * var(--s)); display: flex; justify-content: center; }
.hnh-service-fig__blob { /* パネルの内側に収める黄色の楕円（見切れさせない） */
  position: absolute; left: 6%; right: 6%; bottom: 4%; height: 46%; border-radius: 50%; background: var(--yellow); opacity: .9;
}
.hnh-service-fig--report .hnh-service-fig__blob, .hnh-service-fig--google-map .hnh-service-fig__blob { background: #FFE866; }
.hnh-service-float { position: relative; display: block; width: 100%; }
.hnh-service-float img { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(40, 70, 100, .16)); }
.hnh-service-fig--clinic-app .hnh-service-float { width: 82%; }
.hh-js .hnh-service-float { animation: hh-bob-sm 6s ease-in-out infinite; }
.hh-js .hnh-service-block--google-map .hnh-service-float { animation-delay: -1.5s; }
.hh-js .hnh-service-block--report .hnh-service-float { animation-delay: -3s; }
.hh-js .hnh-service-block--clinic-app .hnh-service-float { animation-delay: -4.5s; }

/* チェック項目（トップのお悩みリストと同じ形） */
.hnh-service-checks { display: grid; gap: calc(8 * var(--s)); }
.hnh-service-checks li {
  display: flex; align-items: center; gap: .65em;
  background: #F8F3E8; border-radius: 999px;
  padding: calc(8 * var(--s)) calc(14 * var(--s));
  font-weight: 800; font-size: max(14px, calc(14.5 * var(--s))); line-height: 1.45;
}
.hnh-service-note { margin-top: calc(10 * var(--s)); font-size: max(12px, calc(12.5 * var(--s))); font-weight: 600; color: var(--ink-2); }
.hnh-service-pill {
  margin-top: calc(10 * var(--s)); border-radius: calc(14 * var(--s)); padding: calc(10 * var(--s)) calc(14 * var(--s));
  font-weight: 800; font-size: max(13px, calc(13.5 * var(--s))); line-height: 1.55; text-align: center;
}
.hnh-service-pill--yellow { background: #FFF4B8; }
.hnh-service-pill--blue { background: var(--blue-pale); color: var(--blue-deep); font-size: max(15px, calc(16 * var(--s))); }
.hnh-service-lead { margin-top: calc(10 * var(--s)); font-weight: 600; font-size: max(14px, calc(15 * var(--s))); line-height: 1.8; }
.hnh-service-badge {
  display: block; text-align: center; border-radius: 999px; padding: calc(9 * var(--s)) 1em;
  background: var(--blue-pale); color: var(--blue-deep); border: 1.5px solid rgba(0, 120, 184, .35);
  font-weight: 900; font-size: max(14px, calc(15 * var(--s))); line-height: 1.4;
}
.hnh-service-block--report .hnh-service-note { text-align: center; }

/* SP：03は「見出し・説明→画像→バッジ→注記」 */
.hnh-service-block--report .hnh-service-block__panel { grid-template-areas: "head" "lead" "fig" "body"; }
.hnh-service-block--report .hnh-service-block__head { grid-area: head; }
.hnh-service-block--report .hnh-service-fig { grid-area: fig; }
.hnh-service-block--report .hnh-service-block__body { grid-area: body; display: contents; }
.hnh-service-block--report .hnh-service-lead { grid-area: lead; }
.hnh-service-block--report .hnh-service-badge { grid-area: body; align-self: start; }
.hnh-service-block--report .hnh-service-note { grid-area: body; align-self: end; margin-top: calc(56 * var(--s)); }

/* ---------- 追加サポート（トップの hh-support を使い、余白だけ調整） ---------- */
.hnh-service-support { margin-top: calc(48 * var(--s)); }
.hnh-service-support .hh-sup__icon img { width: calc(36 * var(--s)); }
@media (max-width: 1023px) {
  .hnh-service-support .hh-sup { grid-template-columns: calc(56 * var(--s)) minmax(0, 1fr); row-gap: calc(8 * var(--s)); align-items: start; padding: calc(14 * var(--s)) calc(14 * var(--s)); }
  .hnh-service-support .hh-sup__icon { height: calc(52 * var(--s)); grid-row: 1 / span 2; border-right: 0; padding-right: 0; } /* 縦棒は使わない */
  .hnh-service-support .hh-sup__title { white-space: normal; }
  .hnh-service-support .hh-sup__body { font-size: max(12.5px, calc(13 * var(--s))); margin-top: 2px; }
  .hnh-service-support .hh-sup__btn { grid-column: 2; justify-self: start; }
}

/* ---------- 料金への案内（黄色の帯） ---------- */
.hnh-service-plan { margin-top: calc(-24 * var(--s)); }
.hnh-service-plan__band {
  position: relative; overflow: clip; display: grid; justify-items: center; gap: calc(14 * var(--s)); text-align: center;
  padding: calc(26 * var(--s)) calc(18 * var(--s)) calc(24 * var(--s)); border-radius: calc(26 * var(--s));
  background: linear-gradient(120deg, #FFE233 0%, var(--yellow) 45%, #FFEB70 100%);
  box-shadow: 0 16px 36px rgba(200, 160, 0, .2);
}
.hnh-service-plan__plus { position: absolute; right: calc(14 * var(--s)); top: calc(10 * var(--s)); width: calc(64 * var(--s)); height: calc(50 * var(--s)); }
.hnh-service-plan__plus .hh-plus { position: absolute; fill: var(--white); }
.hnh-service-plan__plus .hh-plus:first-child { font-size: calc(40 * var(--s)); left: 0; top: 0; }
.hnh-service-plan__plus .hh-plus:last-child { font-size: calc(20 * var(--s)); right: 0; bottom: 0; }
.hh-js .hnh-service-plan__plus .hh-plus { animation: hh-bob 6s ease-in-out infinite; }
.hnh-service-plan__title { position: relative; font-weight: 900; font-size: max(21px, calc(23 * var(--s))); line-height: 1.35; padding-inline: calc(30 * var(--s)); }
.hnh-service-plan__btn { position: relative; width: 100%; border-width: 0; box-shadow: 0 8px 18px rgba(150, 120, 0, .18); }

/* ---------- 資料ダウンロード ---------- */
.hnh-service-dl { padding: calc(48 * var(--s)) 0 calc(20 * var(--s)); scroll-margin-top: 84px; }
.hnh-service-dl__panel {
  display: grid; gap: calc(16 * var(--s));
  padding: calc(24 * var(--s)) calc(18 * var(--s)); border-radius: calc(26 * var(--s));
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 30px rgba(120, 100, 40, .07);
}
.hnh-service-dl__covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(10 * var(--s)); order: 2; }
.hnh-service-dl__text { display: contents; }
.hnh-service-dl__text > .hh-label, .hnh-service-dl__title, .hnh-service-dl__body { order: 1; }
.hnh-service-dl__btns { order: 3; display: grid; gap: calc(10 * var(--s)); }
.hnh-service-dl__btns .hh-btn { width: 100%; }
.hnh-service-dl__body { font-weight: 600; font-size: max(14px, calc(14.5 * var(--s))); margin-top: calc(-6 * var(--s)); }
.hnh-service-cover { text-align: center; }
.hnh-service-cover__img { overflow: visible; }
.hnh-service-cover__img img { width: 128%; max-width: none; margin: -14%; } /* 表紙PNGの透明な余白を見込んで拡大（比率はそのまま） */
.hnh-service-cover--1 .hnh-service-cover__img img { transform: rotate(-4deg); }
.hnh-service-cover--2 .hnh-service-cover__img img { transform: rotate(3deg); }
.hnh-service-cover__title { margin-top: calc(6 * var(--s)); font-weight: 800; font-size: max(13px, calc(13.5 * var(--s))); line-height: 1.4; }

/* ---------- 登場の動き（トップと同じ軽いもの。本文は最初から読める） ---------- */
@media (prefers-reduced-motion: reduce) {
  .hh-js .hnh-service-float, .hh-js .hnh-service-hero__plus .hh-plus, .hh-js .hnh-service-plan__plus .hh-plus { animation: none !important; }
  .hnh-service-anchor, .hnh-service-anchor__arrow { transition: none; }
}

/* =========================================================
   PC（1024px〜）：1680px基準
   ========================================================= */
@media (min-width: 1024px) {
  .hnh-service-hero { padding-top: calc(130 * var(--p)); }
  .hnh-service-hero__grid { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); column-gap: calc(40 * var(--p)); align-items: start; margin-top: calc(10 * var(--p)); }
  .hnh-service-title { font-size: max(22px, calc(40 * var(--p))); margin-top: calc(4 * var(--p)); }
  .hnh-service-catch { margin-top: calc(26 * var(--p)); font-size: max(30px, calc(76 * var(--p))); line-height: 1.24; white-space: nowrap; }
  .hnh-service-hero__lead { margin-top: calc(24 * var(--p)); font-size: max(14px, calc(24 * var(--p))); }
  .hnh-service-hero__art { height: calc(560 * var(--p)); margin: 0; }
  .hnh-service-hero__blob { left: 0; right: 2%; bottom: 4%; height: 62%; }
  .hnh-service-hero__layer--site { width: 56%; left: 6%; top: 2%; }
  .hnh-service-hero__layer--report { width: 46%; right: 2%; top: 18%; }
  .hnh-service-hero__layer--people { width: 70%; left: 16%; bottom: 0; }
  .hnh-service-hero__plus--1 { right: 6%; top: -2%; font-size: calc(90 * var(--p)); }
  .hnh-service-hero__plus--2 { right: 0; top: 10%; font-size: calc(44 * var(--p)); }

  .hnh-service-anchors ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(18 * var(--p)); margin-top: calc(30 * var(--p)); }
  .hnh-service-anchor { min-height: max(60px, calc(100 * var(--p))); padding: calc(16 * var(--p)) calc(18 * var(--p)) calc(16 * var(--p)) calc(28 * var(--p)); border-radius: calc(32 * var(--p)); gap: calc(16 * var(--p)); }
  .hnh-service-anchor__num { font-size: max(26px, calc(50 * var(--p))); }
  .hnh-service-anchor__text { font-size: max(13px, calc(22 * var(--p))); }
  .hnh-service-anchor__arrow { width: max(30px, calc(42 * var(--p))); height: max(30px, calc(42 * var(--p))); }

  .hnh-service-blocks { gap: calc(64 * var(--p)); margin-top: calc(100 * var(--p)); }
  .hnh-service-block { scroll-margin-top: calc(140 * var(--p)); }
  .hnh-service-block__panel {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: calc(50 * var(--p));
    padding: calc(56 * var(--p)) calc(64 * var(--p)); border-radius: calc(72 * var(--p)); min-height: calc(420 * var(--p)); align-items: start;
  }
  .hnh-service-block__head { grid-column: 1; grid-row: 1; }
  .hnh-service-block__body { grid-column: 1; grid-row: 2; margin-top: calc(26 * var(--p)); }
  .hnh-service-fig { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: calc(-80 * var(--p)) calc(-90 * var(--p)) calc(-60 * var(--p)) calc(-10 * var(--p)); }
  .hnh-service-float { width: 108%; max-width: none; }
  .is-reverse .hnh-service-block__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .is-reverse .hnh-service-block__head, .is-reverse .hnh-service-block__body { grid-column: 2; }
  .is-reverse .hnh-service-fig { grid-column: 1; margin: calc(-80 * var(--p)) calc(-10 * var(--p)) calc(-60 * var(--p)) calc(-70 * var(--p)); }
  .is-reverse .hnh-service-float { width: 104%; }
  .hnh-service-num { font-size: max(48px, calc(120 * var(--p))); }
  .hnh-service-en { font-size: max(12px, calc(19 * var(--p))); }
  .hnh-service-kicker { gap: calc(20 * var(--p)); }
  .hnh-service-h2 { margin-top: calc(14 * var(--p)); font-size: max(26px, calc(46 * var(--p))); }
  .hnh-service-checks { gap: calc(12 * var(--p)); }
  .hnh-service-checks li { font-size: max(14px, calc(25 * var(--p))); padding: calc(10 * var(--p)) calc(26 * var(--p)); }
  .hnh-service-note { font-size: max(12px, calc(18 * var(--p))); margin-top: calc(16 * var(--p)); }
  .hnh-service-pill { font-size: max(13px, calc(21 * var(--p))); padding: calc(14 * var(--p)) calc(26 * var(--p)); margin-top: calc(14 * var(--p)); border-radius: 999px; text-align: left; display: inline-block; }
  .hnh-service-pill--blue { font-size: max(14px, calc(24 * var(--p))); }
  .hnh-service-lead { font-size: max(14px, calc(26 * var(--p))); margin-top: calc(22 * var(--p)); }
  .hnh-service-badge { display: inline-block; font-size: max(13px, calc(23 * var(--p))); padding: calc(12 * var(--p)) calc(34 * var(--p)); }
  .hnh-service-fig__blob { left: 10%; right: 8%; bottom: 10%; height: 50%; }
  .hnh-service-fig--clinic-app .hnh-service-float { width: 96%; margin-left: 0; }

  /* 03 PC：左に見出し・説明・バッジ、右にレポート */
  .hnh-service-block--report .hnh-service-block__panel { grid-template-areas: none; grid-template-rows: auto auto auto 1fr; }
  .hnh-service-block--report .hnh-service-block__head { grid-area: auto; grid-column: 1; grid-row: 1; }
  .hnh-service-block--report .hnh-service-lead { grid-area: auto; grid-column: 1; grid-row: 2; }
  .hnh-service-block--report .hnh-service-badge { grid-area: auto; grid-column: 1; grid-row: 3; justify-self: start; margin-top: calc(26 * var(--p)); }
  .hnh-service-block--report .hnh-service-note { grid-area: auto; grid-column: 1; grid-row: 4; text-align: left; margin-top: calc(16 * var(--p)); }
  .hnh-service-block--report .hnh-service-fig { grid-area: auto; grid-column: 2; grid-row: 1 / span 4; }

  .hnh-service-support { margin-top: calc(140 * var(--p)); }
  .hnh-service-support .hh-sup__icon img { width: calc(96 * var(--p)); }
  .hnh-service-support .hh-sup { grid-template-rows: auto 1fr auto; }

  .hnh-service-plan { margin-top: calc(-90 * var(--p)); }
  .hnh-service-plan__band { grid-template-columns: auto minmax(0, 1fr) auto; justify-items: start; align-items: center; text-align: left; column-gap: calc(40 * var(--p)); padding: calc(46 * var(--p)) calc(70 * var(--p)) calc(46 * var(--p)) calc(170 * var(--p)); border-radius: calc(70 * var(--p)); }
  .hnh-service-plan__plus { left: calc(50 * var(--p)); right: auto; top: 50%; transform: translateY(-50%); width: calc(100 * var(--p)); height: calc(84 * var(--p)); }
  .hnh-service-plan__plus .hh-plus:first-child { font-size: calc(70 * var(--p)); }
  .hnh-service-plan__plus .hh-plus:last-child { font-size: calc(34 * var(--p)); }
  .hnh-service-plan__title { grid-column: 2; font-size: max(22px, calc(54 * var(--p))); padding-inline: 0; white-space: nowrap; }
  .hnh-service-plan__btn { grid-column: 3; width: auto; min-width: calc(440 * var(--p)); }

  .hnh-service-dl { padding: calc(130 * var(--p)) 0 0; scroll-margin-top: calc(60 * var(--p)); }
  .hnh-service-dl__panel { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); gap: calc(50 * var(--p)); align-items: center; padding: calc(70 * var(--p)) calc(90 * var(--p)); border-radius: calc(80 * var(--p)); }
  .hnh-service-dl__covers { order: 0; gap: calc(30 * var(--p)); padding: calc(30 * var(--p)) calc(10 * var(--p)); }
  .hnh-service-dl__text { display: block; }
  .hnh-service-dl__title { font-size: max(26px, calc(50 * var(--p))); }
  .hnh-service-dl__body { margin-top: calc(16 * var(--p)); font-size: max(14px, calc(25 * var(--p))); }
  .hnh-service-dl__btns { margin-top: calc(34 * var(--p)); gap: calc(16 * var(--p)); max-width: calc(620 * var(--p)); }
  .hnh-service-cover__title { font-size: max(13px, calc(22 * var(--p))); margin-top: calc(14 * var(--p)); }
}
