@charset "UTF-8";
/* =========================================================
   QNAP設定・設置サービス LP
   PC：Figma（1440px幅・メイン1200px）に準拠。1920pxでもメイン幅は1200pxで固定
   小さめPC：〜1199px / タブレット：〜1023px / SP：〜767px / 小型SP：〜374px
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  --green: #63b478;        /* gr02 */
  --green-text: #1e9f3f;   /* 色gr */
  --green-deep: #176736;
  --green-num: #76c28d;
  --bg-mint: #f0f6eb;
  --bg-mint2: #edf6ed;
  --line: #ccdace;
  --gray-border: #e5e7eb;
  --ink: #111827;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-zen: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-en: "Manrope", "Noto Sans JP", sans-serif;
  --gutter: 40px;
  --section-py: 64px;
}

/* ---------- リセット ----------
   共通ヘッダー・フッターに影響させないため、LP本体（.qnap）と追従バナーの中だけに適用する。
   :where() で詳細度を要素セレクタと同じに保ち、後続のクラス指定が優先されるようにしている */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
:where(.qnap, .float-banner) {
  font-family: var(--font-jp);
  font-size: 16px; /* 共通CSSの html { font-size: 81% } を打ち消す */
  font-weight: 400;
  letter-spacing: normal;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
:where(.qnap, .float-banner) h1,
:where(.qnap, .float-banner) h2,
:where(.qnap, .float-banner) h3,
:where(.qnap, .float-banner) p,
:where(.qnap, .float-banner) ul,
:where(.qnap, .float-banner) ol,
:where(.qnap, .float-banner) dl,
:where(.qnap, .float-banner) dd { margin: 0; padding: 0; }
:where(.qnap, .float-banner) ul,
:where(.qnap, .float-banner) ol { list-style: none; }
:where(.qnap, .float-banner) img { display: block; max-width: 100%; height: auto; }
:where(.qnap, .float-banner) a { color: inherit; text-decoration: none; }

/* ---------- ユーティリティ ---------- */
.qnap .u-pc { display: inline; }
.qnap .u-sp { display: none; }
.qnap .u-ib { display: inline-block; }
/* 見出しは文節単位で改行（対応ブラウザのみ） */
:where(.qnap) h1,
:where(.qnap) h2,
:where(.qnap) h3 { word-break: auto-phrase; }

/* ---------- レイアウト ---------- */
.l-container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* ページ内リンクの着地位置を固定ヘッダー（SP 56px / PC 90px）の分だけ下げる */
.qnap [id] { scroll-margin-top: 56px; }
@media (min-width: 980px) {
  .qnap [id] { scroll-margin-top: 90px; }
}

/* ---------- 共通パーツ ---------- */
/* ピル型ラベル */
.c-label {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.c-label--white { background: #fff; color: var(--green); }

/* セクション見出し・リード */
.c-heading {
  font-size: 30px;
  font-weight: 700;
  line-height: 32px;
}
.c-lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 26px;
}

/* ボタン */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  transition: opacity 0.2s;
}
.c-btn--primary {
  padding: 14px 32px;
  background: var(--green);
  color: #fff;
}
.c-btn--outline {
  padding: 14px 32px;
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green);
}

/* =========================================================
   02. ファーストビュー
   ========================================================= */
.fv { padding-block: var(--section-py); }
.fv__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fv__body {
  flex: 1 1 auto;
  max-width: 633.59px;
  min-width: 0;
}
.fv__label { margin-bottom: 20px; }
.fv__title {
  margin-bottom: 24px;
  font-size: 36px;
  font-weight: 900;
  line-height: 45px;
  letter-spacing: -0.9px;
}
.fv__lead {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 26px;
}
.fv__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.fv__check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.fv__check-mark { color: var(--green-text); font-weight: 700; }
.fv__visual {
  flex: 0 1 560px;
  min-width: 0;
}
.fv__visual img {
  width: 100%;
  aspect-ratio: 560 / 360;
  object-fit: cover;
  border-radius: 10px;
}

/* =========================================================
   03. よくある課題
   ========================================================= */
.issue {
  padding-block: var(--section-py);
  background: var(--bg-mint);
}
.issue__lead { margin-top: 32px; }
.issue__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.issue__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.issue__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding-bottom: 20px;
}
.issue__tag {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.issue__title {
  color: var(--green-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

/* イラスト（Figmaのパーツ配置をそのまま％で再現） */
.ill {
  position: relative;
  flex-shrink: 0;
  max-width: 100%;
}
.ill--01 { width: 181.814px; aspect-ratio: 181.814 / 200; }
.ill--02 { width: 270px; aspect-ratio: 270 / 204; overflow: hidden; }
.ill--03 { width: 246px; aspect-ratio: 246 / 204; overflow: hidden; }
.ill__part { position: absolute; display: block; }
.ill__in { position: absolute; inset: 0; display: block; }
.ill__in img { width: 100%; height: 100%; max-width: none; }

/* 解決バナー */
.issue__solution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 32px;
  border-radius: 4px;
  background: var(--green);
}
.issue__solution-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.4px;
}
.issue__solution-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
}
.issue__solution-btn {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 4px;
  background: #fff;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  transition: opacity 0.2s;
}

/* =========================================================
   04. 選ばれる理由
   ========================================================= */
.merit { padding-block: var(--section-py); }
.merit__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.merit__item {
  display: flex;
  align-items: flex-start;
  min-height: 142px;
  padding: 28px 28px 26px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: rgba(118, 194, 141, 0.1);
}
.merit__num {
  flex-shrink: 0;
  color: var(--green-num);
  font-size: 30px;
  font-weight: 900;
  line-height: 30px;
}
.merit__body {
  flex: 1;
  min-width: 0;
  padding-left: 20px;
}
.merit__title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}
.merit__text { font-size: 16px; line-height: 26px; }

/* =========================================================
   05. 対応サービス範囲（ハンドブック）
   ========================================================= */
.service {
  padding-block: 48px;
  background: var(--bg-mint2);
}
.service__overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.service__pill {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.service__overview-arrow img { width: 24px; height: 24px; }

.hb {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.hb--option { gap: 20px; }
.hb__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 24px;
  background: #d9f2c6;
}
.hb__badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--green-deep);
  color: #fff;
  font-family: var(--font-en);
  font-size: 43px;
  font-weight: 800;
  line-height: 1;
}
.hb__badge img { width: 38px; height: 38px; }
.hb__intro {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hb__title {
  color: #193a2b;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.4;
}
.hb__title--option { font-size: 32px; }
.hb__place {
  color: #354a3f;
  font-size: 18px;
  line-height: 1.6;
}
.hb__sub {
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}
.hb__desc {
  color: #354a3f;
  font-size: 18px;
  line-height: 1.85;
}
.hb__row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 28px;
}
.hb__row + .hb__row,
.hb--option .hb__row:first-child { border-top: 1px solid var(--line); }
.hb__name {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 14px;
  width: 310px;
  color: #193a2b;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}
.hb__name img {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.hb__works {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hb__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hb__items li {
  display: flex;
  gap: 10px;
  color: #354a3f;
  font-size: 17px;
  line-height: 1.75;
}
.hb__items li::before {
  content: "・";
  flex-shrink: 0;
  color: #21683f;
  font-family: var(--font-zen);
}
.hb__note {
  color: #21683f;
  font-size: 15px;
  line-height: 1.75;
}
.service__transition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--green-deep);
  font-family: var(--font-zen);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.service__transition img { width: 28px; height: 28px; }

/* =========================================================
   06. 対応機種
   ========================================================= */
.product { padding-block: var(--section-py) 88px; }
.product__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.product__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 28px 48px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.product__card--note { padding-bottom: 28px; }
/* 画像枠は340×220（カード内側より少し広いFigma仕様を再現） */
.product__img {
  position: relative;
  width: calc(100% + 14px);
  max-width: 340px;
  aspect-ratio: 340 / 220;
  overflow: hidden;
}
.product__img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__img--set { overflow: visible; }
.product__enclosure {
  position: absolute;
  top: 8.515%;
  left: 0;
  width: 62.726%;
  height: 82.969%;
  overflow: hidden;
}
.product__enclosure img {
  position: absolute;
  top: -15.8%;
  left: -17.07%;
  width: 117.07%;
  height: 136.79%;
  max-width: none;
}
.product__img > .product__ups {
  position: absolute;
  top: 8.515%;
  left: 46.315%;
  width: 53.686%;
  height: 82.969%;
  object-fit: cover;
}
.product__name {
  margin-bottom: 18px;
  color: var(--green-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}
.product__text {
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.product__card--note .product__text { padding-bottom: 4px; }
.product__note {
  padding-bottom: 12px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.product__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.product__btn { min-height: 52px; padding-block: 0; }

/* =========================================================
   09. 高度な構築オプション
   ========================================================= */
.option {
  position: relative;
  padding-block: var(--section-py);
  background: var(--green);
  isolation: isolate;
}
.option::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/option-bg.jpg") center / cover no-repeat;
  opacity: 0.3;
}
.option .l-container { padding-top: 3px; }
.option__heading { color: #fff; }
.option__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.option__card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #374151;
  border-radius: 8px;
  background: rgba(31, 41, 55, 0.9);
  color: #fff;
}
.option__card--wide { grid-column: span 2; }
.option__num {
  margin-bottom: 4px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
}
.option__card--wide .option__num { margin-bottom: 0; }
.option__title {
  padding-bottom: 9px;
  border-bottom: 1px solid #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.option__title--tight { padding-bottom: 7px; }
.option__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding-top: 8px;
}
.option__items li,
.option__box-items li {
  display: flex;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
}
.option__items li::before,
.option__box-items li::before {
  content: "•";
  flex-shrink: 0;
  color: #6b7280;
}
.option__items--vs {
  gap: 6px;
  margin-top: 0;
  padding-block: 10px 20px;
}
.option__note {
  margin-top: 4px;
  padding-top: 8px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 16px;
}
.option__note--sm { padding-top: 4px; }
.option__foot {
  margin-top: 8px;
  padding-top: 1px;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  color: #9ca3af;
  font-size: 11px;
  line-height: 16.5px;
}
.option__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 4px;
  background: #fff;
}
.option__box-title {
  margin-bottom: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid #374151;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.option__box-items {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}
.option__box-items li {
  gap: 4px;
  color: #374151;
  font-size: 12px;
  line-height: 16px;
}
.option__box-note {
  padding-top: 4px;
  color: #9ca3af;
  font-size: 10px;
  line-height: 15px;
}

/* =========================================================
   導入構成ガイド
   ========================================================= */
.case {
  padding-block: var(--section-py);
  background: var(--bg-mint);
}
.c-label--wide {
  margin-bottom: 0;
  padding-inline: 14px;
  line-height: 14px;
  letter-spacing: 0;
}
.case__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.case__heading {
  color: #20332a;
  font-size: 34px;
  font-weight: 700;
  line-height: 48px;
}
.case__lead {
  color: #405148;
  font-size: 14px;
  line-height: 25px;
}
.case__card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
}
.case__summary {
  display: flex;
  align-items: center;
  gap: 28px;
}
.case__img {
  flex-shrink: 0;
  width: 320px;
}
.case__img img {
  width: 100%;
  aspect-ratio: 320 / 240;
  object-fit: cover;
  border-radius: 10px;
}
.case__img--r16 img { border-radius: 16px; }
.case__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.case__title-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.case__num {
  flex-shrink: 0;
  color: var(--green);
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 600;
  line-height: 72px;
}
.case__sub {
  margin-bottom: 8px;
  color: #347c48;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
}
.case__title {
  color: #20332a;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}
.case__text {
  color: #405148;
  font-size: 14px;
  line-height: 25px;
}
.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case__tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-mint);
  color: #347c48;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
}
.case__detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.case__col-title {
  margin-bottom: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #374151;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
}
.case__spec > div {
  display: flex;
  gap: 16px;
  padding-block: 8px 7px;
  border-bottom: 1px solid #d8e4d6;
}
.case__spec dt {
  flex-shrink: 0;
  width: 128px;
  color: #6d7c72;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
}
.case__spec dd {
  flex: 1;
  min-width: 0;
  color: #405148;
  font-size: 14px;
  line-height: 22px;
}
.case__spec small {
  display: block;
  margin-top: 4px;
  color: #6d7c72;
  font-size: 12px;
  line-height: 19px;
}
.case__estimate {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}
.case__estimate-title {
  color: #347c48;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
}
.case__estimate-text {
  color: #405148;
  font-size: 13px;
  line-height: 22px;
}

/* =========================================================
   導入フロー
   ========================================================= */
.flow { padding-block: var(--section-py); }
.flow__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.c-label--flow {
  margin-bottom: 0;
  padding: 7px 14px;
  font-family: var(--font-zen);
  line-height: 18px;
  letter-spacing: 0;
}
.flow__heading {
  color: #182b21;
  font-size: 30px;
  font-weight: 700;
  line-height: 50px;
}
.flow__lead {
  color: #405148;
  font-size: 14px;
  line-height: 25px;
}
.flow__table {
  margin-top: 32px;
  padding: 16px 32px;
  background: #f7faf5;
}
.flow__cols {
  display: flex;
  gap: 32px;
  padding-block: 12px;
  color: #617067;
  font-size: 12px;
  line-height: 16px;
}
.flow__col-step {
  width: 76px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.flow__col-name { width: 252px; }
.flow__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 88px;
  padding-block: 22px 21px;
  border-bottom: 1px solid #d7e4d6;
}
.flow__row:last-child { padding-bottom: 22px; border-bottom: 0; }
/* 番号同士をつなぐ縦線 */
.flow__row:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 70px;
  bottom: -22px;
  left: 37px;
  width: 2px;
  background: #d7e4d6;
}
.flow__num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-inline: 14px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: #fff;
  color: #287341;
  font-family: var(--font-zen);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}
.flow__name {
  flex-shrink: 0;
  width: 252px;
  color: #182b21;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.flow__text {
  flex: 1;
  min-width: 0;
  color: #35473c;
  font-size: 15px;
  line-height: 27px;
}
.flow__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.flow__btn {
  min-height: 52px;
  padding-block: 0;
}

/* =========================================================
   13. FAQ
   ========================================================= */
.faq {
  padding-block: var(--section-py);
  background: var(--bg-mint);
}
.faq__lead { font-size: 14px; line-height: 20px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.faq__item {
  padding: 24px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}
.faq__q-mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
}
.faq__a {
  display: flex;
  gap: 7.14px;
  margin-top: 11.5px;
  padding-left: 36px;
  font-size: 14px;
  line-height: 22.75px;
}
.faq__a--gray { color: #374151; }
.faq__a-mark {
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 700;
}

/* =========================================================
   関連ページリンク
   ========================================================= */
.related-links {
  padding-block: 40px;
  background: #fff;
}
.related-links__heading {
  margin-bottom: 20px;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.related-links__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.related-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid #d7e4d6;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

/* =========================================================
   14. 最終CTA
   ========================================================= */
.cta {
  padding-block: var(--section-py);
  background: var(--green);
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Figmaではコンテナ内にさらに24pxの余白 */
  max-width: calc(1200px + var(--gutter) * 2);
  padding-inline: calc(var(--gutter) + 24px);
}
.cta__body {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 700px;
  padding-right: 16px;
  color: #fff;
}
.cta__body .c-label { margin-bottom: 7.3px; }
.cta__heading {
  margin-bottom: 7.3px;
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
}
.cta__text {
  padding-block: 8.7px 3.7px;
  margin-bottom: 7.3px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
/* Figmaでは1行。収まる幅のときだけ改行させない */
@media (min-width: 1240px) {
  .cta__text { white-space: nowrap; }
}
.cta__note { font-size: 14px; line-height: 20px; }
.cta__box {
  flex-shrink: 0;
  min-width: 360px;
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.cta__btn {
  display: block;
  padding: 14px 16px;
  border-radius: 4px;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  transition: opacity 0.2s;
}

/* =========================================================
   追従バナー
   ========================================================= */
.float-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90; /* 共通ヘッダー（z-index: 100）のメニューより下に置く */
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.float-banner[hidden] { display: none; }
/* 法人ページ共通の右下バナー（common_renewal2022.js が挿入）は、このLPでは追従バナーと重なるため出さない */
#id_floatingbanner1 { display: none !important; }
.float-banner__close {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: #6b7280;
  cursor: pointer;
}
.float-banner__close::before,
.float-banner__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.float-banner__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.float-banner__link { display: block; transition: opacity 0.2s; }

/* ホバー演出はマウス操作の端末のみ（タッチ端末でホバー状態が残らないように） */
@media (hover: hover) {
  .c-btn:hover,
  .issue__solution-btn:hover,
  .float-banner__link:hover { opacity: 0.8; }
  .cta__btn:hover { opacity: 0.7; }
  .related-links__item:hover {
    border-color: #176736;
    color: #176736;
  }
}

/* =========================================================
   小さめPC・タブレット横向き（〜1199px）
   ========================================================= */
@media (max-width: 1199px) {
  /* FV：ラベルが2行になっても角丸が崩れないように */
  .fv__label { border-radius: 14px; }

  /* 課題：3列のままカード見出しが収まるように */
  .issue__card { padding: 24px; }
  .issue__title { font-size: 17px; }

  .hb__name { width: 260px; }
  .case__heading { font-size: 30px; line-height: 1.4; }
}

/* =========================================================
   タブレット（〜1023px）
   ========================================================= */
@media (max-width: 1023px) {
  :root {
    --gutter: 32px;
    --section-py: 56px;
  }

  .c-heading { font-size: 26px; line-height: 1.4; }

  /* FV：縦積み（テキスト上・画像下） */
  .fv__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .fv__body, .fv__visual { flex: none; max-width: none; }
  .fv__visual img { aspect-ratio: 16 / 7; object-fit: cover; }
  .fv__title { font-size: 32px; line-height: 1.3; }

  /* 課題：横長レイアウト（見出し左・イラスト右）で縦に並べる */
  .issue__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .issue__card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .issue__head { flex: 1; min-width: 0; padding-bottom: 0; }
  .issue__title { font-size: 18px; }
  .ill--01 { width: 150px; }
  .ill--02 { width: 220px; }
  .ill--03 { width: 200px; }

  /* 選ばれる理由：番号と本文の間隔を縮める */
  .merit__list { gap: 16px; margin-top: 32px; }
  .merit__item { min-height: 0; padding: 24px; }
  .merit__body { padding-left: 16px; }

  /* ハンドブック */
  .hb__title { font-size: 28px; }
  .hb__title--option { font-size: 26px; }
  .hb__row { gap: 24px; padding: 24px; }
  .hb__name { width: 220px; gap: 12px; font-size: 18px; }
  .hb__items li { font-size: 16px; }

  /* 対応機種：3列を維持しつつ余白を詰める */
  .product__card,
  .product__card--note { padding: 20px 16px 28px; }
  .product__name { font-size: 18px; line-height: 1.4; }
  .product__text { font-size: 14px; }

  /* オプション：2列 */
  .option__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option__card--wide { grid-column: span 2; }

  /* 導入構成ガイド */
  .case__summary { align-items: flex-start; }
  .case__img { width: 240px; }
  .case__num { font-size: 52px; line-height: 60px; }
  .case__title { font-size: 22px; line-height: 1.4; }
  .case__detail { gap: 24px; }
  .case__spec dt { width: 104px; }
  .case__heading { font-size: 28px; line-height: 1.4; }

  /* フロー：説明が折り返しても縦線がずれないよう上揃え */
  .flow__heading { font-size: 26px; line-height: 1.4; }
  .flow__table { padding-inline: 24px; }
  .flow__cols, .flow__row { gap: 24px; }
  .flow__col-name, .flow__name { width: 180px; }
  .flow__row { align-items: flex-start; }
  .flow__name { padding-top: 9px; }
  .flow__text { padding-top: 10.5px; }

  /* CTA：縦積み */
  .cta__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .cta__body { max-width: none; padding-right: 0; }
  .cta__heading { font-size: 26px; line-height: 1.35; }
  .cta__box { min-width: 0; }
  .related-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 1024〜1199px：横並びのままCTA見出しが3行にならないよう調整 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .cta__heading { font-size: 26px; }
}

/* 導入構成ガイドの仕様表は900px以下で1列に */
@media (max-width: 900px) {
  .case__detail { grid-template-columns: minmax(0, 1fr); }
  .case__summary { flex-direction: column; align-items: stretch; }
  .case__img { width: 100%; max-width: 420px; }
}

/* =========================================================
   SP（〜767px）
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-py: 56px;
  }
  .qnap .u-pc { display: none; }
  .qnap .u-sp { display: inline; }

  .c-heading { font-size: 24px; line-height: 1.4; }
  .c-lead { margin-top: 16px; font-size: 15px; line-height: 1.8; }
  .c-btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    text-align: center;
  }

  /* FV：画像上・テキスト下。比率を抑えてCTAをファーストビューに収める */
  .fv { padding-top: 32px; }
  .fv__inner { flex-direction: column-reverse; gap: 24px; }
  .fv__visual img {
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
  }
  .fv__label { margin-bottom: 16px; line-height: 1.5; }
  .fv__title { margin-bottom: 16px; font-size: 26px; line-height: 1.35; letter-spacing: -0.5px; }
  .fv__lead { margin-bottom: 24px; font-size: 15px; line-height: 1.8; }
  .fv__btns { flex-direction: column; align-items: stretch; gap: 12px; }

  /* 課題：縦並び */
  .issue__lead { margin-top: 16px; }
  .issue__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
  .issue__card {
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 24px 20px;
  }
  .issue__head { padding-bottom: 8px; }
  .issue__title { font-size: 17px; }
  .ill--01 { width: 150px; }
  .ill--02 { width: 220px; }
  .ill--03 { width: 200px; }
  .issue__solution {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .issue__solution-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    line-height: 1.5;
  }
  .issue__solution-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding-block: 12px;
    text-align: center;
  }

  /* 選ばれる理由：番号を本文の上に配置（数字＋ライン） */
  .merit__list { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .merit__item {
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 20px;
  }
  .merit__num {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    font-size: 32px;
    line-height: 1;
  }
  .merit__num::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--green);
  }
  .merit__body { padding-left: 0; }
  .merit__title { margin-bottom: 8px; font-size: 20px; line-height: 1.4; }
  .merit__text { font-size: 15px; line-height: 1.8; }

  /* ハンドブック */
  .service { padding-block: 48px; }
  .service__overview { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
  .service__pill { padding: 10px 20px; font-size: 15px; white-space: normal; }
  .service__overview-arrow { margin-left: 24px; transform: rotate(90deg); }
  .hb { gap: 8px; margin-top: 24px; padding: 12px; border-radius: 16px; }
  .hb--option { gap: 16px; }
  .hb__head { gap: 14px; padding: 16px; border-radius: 12px; }
  .hb__badge { width: 56px; height: 56px; border-radius: 14px; font-size: 26px; }
  .hb__badge img { width: 26px; height: 26px; }
  .hb__title, .hb__title--option { font-size: 20px; }
  .hb__place { font-size: 14px; }
  .hb__sub { font-size: 13px; }
  .hb__desc { padding-inline: 8px; font-size: 15px; line-height: 1.8; }
  .hb__row { flex-direction: column; gap: 12px; padding: 20px 8px; }
  .hb__name { width: auto; gap: 10px; font-size: 18px; }
  .hb__name img { width: 24px; height: 24px; margin-top: 2px; }
  .hb__items li { font-size: 15px; line-height: 1.7; }
  .hb__note { font-size: 13px; }
  .service__transition { margin-top: 24px; font-size: 16px; }

  /* 対応機種：テキスト左・画像右の横長カードでスクロール量を抑える */
  .product { padding-bottom: 56px; }
  .product__list { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .product__card,
  .product__card--note {
    display: grid;
    grid-template-columns: 1fr min(38%, 140px);
    column-gap: 16px;
    align-items: center;
    padding: 16px 20px;
    text-align: left;
  }
  .product__img {
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 100%;
    max-width: none;
    aspect-ratio: 1;
    align-self: center;
  }
  .product__name {
    grid-column: 1;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.4;
  }
  .product__text,
  .product__note {
    grid-column: 1;
    padding-bottom: 0;
  }
  .product__text { font-size: 14px; }
  .product__btn-wrap { margin-top: 28px; }
  .product__btn { width: 100%; min-height: 48px; }

  /* オプション：1列 */
  .option__grid { grid-template-columns: 1fr; margin-top: 24px; gap: 10px; }
  .option__card--wide { grid-column: auto; }
  .option__heading { font-size: 22px; line-height: 1.4; }
  .option__box-items { flex-direction: column; row-gap: 6px; }

  /* 導入構成ガイド */
  .case__header { gap: 12px; }
  .case__heading { font-size: 24px; line-height: 1.4; }
  .case__card { gap: 24px; margin-top: 24px; padding: 20px; border-radius: 16px; }
  .case__summary { flex-direction: column; align-items: stretch; gap: 20px; }
  .case__img { width: 100%; max-width: none; }
  .case__title-row { gap: 12px; align-items: flex-start; }
  .case__num { font-size: 48px; line-height: 1; }
  .case__title { font-size: 18px; line-height: 1.45; }
  .case__detail { grid-template-columns: 1fr; }
  .case__spec > div { gap: 12px; }
  .case__spec dt { width: 106px; }
  .case__estimate { margin-top: 24px; padding: 20px; border-radius: 16px; }

  /* フロー：番号＋（工程名／内容）の2段 */
  .flow__heading { font-size: 24px; line-height: 1.4; }
  .flow__table { margin-top: 24px; padding: 8px 16px; }
  .flow__cols { display: none; }
  .flow__row {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    min-height: 0;
    padding-block: 18px;
  }
  .flow__num {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 17px;
  }
  .flow__row:not(:last-child)::after { top: 58px; bottom: -18px; left: 19px; }
  .flow__name { width: auto; padding-top: 5px; font-size: 17px; line-height: 1.5; }
  .flow__text { padding-top: 0; font-size: 14px; line-height: 1.7; }
  .flow__lead { font-size: 15px; line-height: 1.8; }
  .flow__btn { width: 100%; min-height: 48px; }

  /* FAQ */
  .faq__list { gap: 12px; margin-top: 24px; }
  .faq__item { padding: 16px; }
  .faq__q { gap: 10px; font-size: 15px; line-height: 1.6; }
  .faq__a { margin-top: 10px; padding-left: 0; font-size: 14px; line-height: 1.7; }
  .related-links { padding-block: 24px; }
  .related-links__heading { margin-bottom: 16px; font-size: 20px; }
  .related-links__list { grid-template-columns: 1fr; gap: 12px; }
  .related-links__item { min-height: 48px; font-size: 15px; }

  /* CTA */
  .cta__inner { padding-inline: var(--gutter); gap: 24px; }
  .cta__heading { font-size: 22px; line-height: 1.45; }
  .cta__text { padding-block: 4px 0; font-size: 15px; line-height: 1.8; white-space: normal; }
  .cta__note { font-size: 12px; }
  .cta__box { padding: 16px; }
  .cta__btn {
    min-height: 48px;
    font-size: 16px;
    white-space: normal;
  }

  /* 追従バナー */
  .float-banner { right: 12px; bottom: 12px; width: 250px; }
  .float-banner__close { width: 20px; height: 20px; }
  .float-banner__close::before,
  .float-banner__close::after { width: 12px; }
}

/* =========================================================
   小型スマホ（〜374px / iPhone SE など）
   ========================================================= */
@media (max-width: 374px) {
  :root { --gutter: 16px; }

  .fv__title { font-size: 24px; }
  .c-heading { font-size: 22px; }

  .issue__card { padding: 20px 16px; }
  .issue__title { font-size: 16px; }
  .ill--01 { width: 130px; }
  .ill--02 { width: 190px; }
  .ill--03 { width: 170px; }

  .merit__title { font-size: 18px; }
  .hb__title, .hb__title--option { font-size: 18px; }
  .hb__badge { width: 48px; height: 48px; border-radius: 12px; font-size: 22px; }

  .product__card,
  .product__card--note {
    grid-template-columns: 1fr min(36%, 112px);
    padding: 14px 16px;
  }
  .product__name { font-size: 16px; }

  .case__num { font-size: 40px; }
  .case__spec > div {
    flex-direction: column;
    gap: 4px;
  }
  .case__spec dt { width: auto; }

  .cta__heading { font-size: 20px; }
  .cta__btn { font-size: 15px; }
  .float-banner { width: min(250px, calc(100vw - 24px)); }
}
