@charset "UTF-8";
/* ==========================================================
   下層ページ共通スタイル（機能・料金・導入事例・FAQ・補助金・選び方）
   LP（style.min.css）は読み込まず、このファイルだけで表示する。
   命名：l- レイアウト / c- 部品 / p- ページ内のまとまり / u- 補助
   ========================================================== */

:root {
  --color-text: #2b3437;
  --color-muted: #5d6b70;
  --color-line: #dbe6ea;
  --color-bg: #ffffff;
  --color-tint: #f2f8fb;
  --color-primary: #1f7fc4;      /* リンク・見出しのアクセント（白地でコントラスト4.5以上） */
  --color-brand-from: #59adf1;   /* LPのグラデーション */
  --color-brand-to: #a5ded4;
  --color-cta: #f4614a;
  --color-cta-hover: #e04a33;
  --radius: 10px;
  --header-h: 64px;
  --inner: 1040px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-brand-from); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.45; text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- l-header ---------- */
.l-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.l-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1200px; height: var(--header-h); margin: 0 auto; padding: 0 20px;
}
.l-header__logo img { display: block; width: 150px; height: auto; }
.l-header__nav { display: flex; align-items: center; gap: 24px; }
.l-header__list { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.l-header__list a { color: var(--color-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.l-header__list a:hover,
.l-header__list a[aria-current="page"] { color: var(--color-primary); text-decoration: underline; }
.l-header__toggle { display: none; }

@media (max-width: 960px) {
  .l-header__toggle {
    display: block; position: relative; width: 44px; height: 44px;
    border: 0; background: none; cursor: pointer;
  }
  .l-header__toggleBar,
  .l-header__toggleBar::before,
  .l-header__toggleBar::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--color-text);
    transition: transform 0.2s, opacity 0.2s;
  }
  .l-header__toggleBar { top: 21px; }
  .l-header__toggleBar::before,
  .l-header__toggleBar::after { content: ""; left: 0; }
  .l-header__toggleBar::before { top: -8px; }
  .l-header__toggleBar::after { top: 8px; }
  .is-nav-open .l-header__toggleBar { background: transparent; }
  .is-nav-open .l-header__toggleBar::before { transform: translateY(8px) rotate(45deg); }
  .is-nav-open .l-header__toggleBar::after { transform: translateY(-8px) rotate(-45deg); }

  .l-header__nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 20px 24px; background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  .is-nav-open .l-header__nav { display: flex; }
  .l-header__list { flex-direction: column; gap: 0; }
  .l-header__list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--color-line); font-size: 15px; }
}

/* ---------- c-breadcrumb ---------- */
.c-breadcrumb { max-width: var(--inner); margin: 0 auto; padding: 14px 20px 0; font-size: 13px; color: var(--color-muted); }
.c-breadcrumb__list { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.c-breadcrumb__list li + li::before { content: "›"; margin-right: 4px; }

/* ---------- c-btn ---------- */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 32px; border-radius: 999px;
  font-weight: 700; text-decoration: none; text-align: center; line-height: 1.4;
  transition: background-color 0.2s, color 0.2s;
}
.c-btn--cta { background: var(--color-cta); color: #fff; }
.c-btn--cta:hover { background: var(--color-cta-hover); }
.c-btn--ghost { border: 2px solid #fff; color: #fff; }
.c-btn--ghost:hover { background: #fff; color: var(--color-primary); }
.c-btn--sm { min-height: 40px; padding: 8px 20px; font-size: 14px; }

/* ---------- p-hero ---------- */
.p-hero { padding: 40px 20px 48px; }
.p-hero__inner { max-width: var(--inner); margin: 0 auto; }
.p-hero__eyebrow { margin-bottom: 8px; color: var(--color-primary); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.p-hero__title { font-size: clamp(26px, 4vw, 36px); }
.p-hero__lead { max-width: 44em; margin-top: 20px; font-size: 17px; }
.p-hero__note { margin-top: 12px; color: var(--color-muted); font-size: 13px; }

.p-hero--split .p-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.p-hero__body { min-width: 0; }
.p-hero__img { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(31, 127, 196, 0.12); }
.p-hero__badge { display: flex; flex-direction: column; align-items: center; gap: 8px; justify-self: center; font-size: 14px; font-weight: 700; }
.p-hero__badge img { width: 240px; }

@media (max-width: 760px) {
  .p-hero { padding: 28px 20px 36px; }
  .p-hero--split .p-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .p-hero__lead { font-size: 16px; }
  .p-hero__badge img { width: 180px; }
}

/* ---------- p-section ---------- */
.p-section { padding: 56px 20px; }
.p-section--tint { background: var(--color-tint); }
.p-section__inner { max-width: var(--inner); margin: 0 auto; }
.p-section__title {
  margin-bottom: 24px; padding-left: 14px;
  border-left: 5px solid var(--color-brand-from);
  font-size: clamp(21px, 3vw, 26px);
}
.p-section__lead { max-width: 44em; }
.p-note { margin-top: 16px; color: var(--color-muted); font-size: 14px; }
.p-next { margin-top: 24px; font-weight: 700; }

@media (max-width: 760px) {
  .p-section { padding: 40px 20px; }
}

/* リスト類 */
.p-list,
.p-checks,
.p-related { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.p-list li { position: relative; padding-left: 1.2em; }
.p-list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand-from); }
.p-checks li {
  position: relative; padding: 14px 16px 14px 48px;
  border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff;
}
.p-checks li::before {
  content: ""; position: absolute; left: 18px; top: 1.3em;
  width: 14px; height: 8px; border-left: 3px solid var(--color-cta); border-bottom: 3px solid var(--color-cta);
  transform: rotate(-45deg);
}
.p-related a { display: block; padding: 14px 16px; border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; font-weight: 700; }
.p-related a:hover { border-color: var(--color-primary); }

.p-steps { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: step; }
.p-steps li {
  counter-increment: step; position: relative;
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--color-line); font-weight: 700;
}
.p-steps li::before { content: counter(step) ". "; color: var(--color-primary); }
.p-steps li + li::after { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--color-muted); }
@media (max-width: 760px) { .p-steps li + li::after { content: none; } }

/* 説明つきのポイント */
.p-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.p-points__item { padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--color-line); }
.p-points dt { margin-bottom: 8px; font-weight: 700; font-size: 17px; }
.p-points dd { margin: 0; }
@media (max-width: 760px) { .p-points { grid-template-columns: 1fr; } }

/* カード（機能一覧） */
.p-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.p-card__link {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding: 16px 16px 22px; border: 1px solid var(--color-line); border-radius: var(--radius);
  color: var(--color-text); text-decoration: none; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.p-card__link:hover { border-color: var(--color-primary); box-shadow: 0 6px 18px rgba(31, 127, 196, 0.12); }
.p-card__img { border-radius: 6px; }
.p-card__title { color: var(--color-primary); font-size: 20px; }
.p-card__title::after { content: " →"; }
.p-card__text { margin: 0; }
@media (max-width: 760px) { .p-cards { grid-template-columns: 1fr; } }

/* 表 */
.p-table { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; }
.p-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.p-table caption { padding: 12px 16px; text-align: left; font-size: 13px; color: var(--color-muted); }
.p-table th,
.p-table td { padding: 14px 16px; border-top: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.p-table thead th { background: var(--color-tint); font-size: 14px; }
.p-table tbody th { width: 12em; background: #fafcfd; white-space: nowrap; }
.p-table thead + tbody th { white-space: normal; }
@media (max-width: 760px) {
  .p-table table { font-size: 14px; }
  .p-table th,
  .p-table td { padding: 12px; }
  .p-table tbody th { width: 7em; white-space: normal; }
  /* 3列以上の表だけ横スクロールさせる */
  .p-table--wide table { min-width: 600px; }
}

/* 利用者の声 */
.p-voice { margin: 0; padding: 24px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--color-line); }
.p-voice__text { margin: 0; font-size: 17px; }
.p-voice__text p::before { content: "「"; }
.p-voice__text p::after { content: "」"; }
.p-voice__by { margin-top: 12px; color: var(--color-muted); font-size: 14px; }

.p-voices { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.p-voices__item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 24px; border: 1px solid var(--color-line); border-radius: var(--radius); }
.p-voices__img { width: 160px; border-radius: 8px; }
.p-voices__meta { display: flex; gap: 12px; margin-bottom: 4px; color: var(--color-muted); font-size: 14px; }
.p-voices__title { margin-bottom: 12px; font-size: 21px; }
.p-voices__link { margin-top: 12px; font-size: 14px; }
@media (max-width: 600px) {
  .p-voices__item { grid-template-columns: 1fr; gap: 16px; }
  .p-voices__img { width: 120px; }
}

/* 料金 */
.p-price {
  max-width: 560px; margin: 0 auto; padding: 36px 32px; text-align: center;
  border-radius: 16px; border: 2px solid var(--color-brand-from); background: #fff;
}
.p-price__name { font-weight: 700; color: var(--color-primary); }
.p-price__amount { margin: 8px 0 0; font-weight: 700; }
.p-price__amount strong { font-size: 56px; line-height: 1.1; margin: 0 4px; font-variant-numeric: tabular-nums; }
.p-price__unit { font-size: 18px; }
.p-price__tax { color: var(--color-muted); font-size: 14px; }
.p-price__list { display: grid; gap: 8px; margin: 20px 0 28px; padding: 20px 0 0; border-top: 1px solid var(--color-line); list-style: none; text-align: left; }
.p-price__list li { position: relative; padding-left: 1.5em; }
@media (max-width: 480px) {
  .p-price { padding: 28px 20px; }
  .p-price__amount strong { font-size: 44px; }
  .p-price__unit { font-size: 15px; }
}
.p-price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }

/* FAQ */
.p-faq { display: grid; gap: 12px; }
.p-faq__item { border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; }
.p-faq__item summary {
  position: relative; padding: 18px 52px 18px 52px; font-weight: 700; cursor: pointer; list-style: none;
}
.p-faq__item summary::-webkit-details-marker { display: none; }
.p-faq__item summary::before { content: "Q"; position: absolute; left: 20px; color: var(--color-primary); font-size: 18px; }
.p-faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--color-muted); }
.p-faq__item[open] summary::after { content: "−"; }
.p-faq__a { position: relative; padding: 0 24px 20px 52px; }
.p-faq__a::before { content: "A"; position: absolute; left: 20px; top: 0; color: var(--color-cta); font-weight: 700; font-size: 18px; }

/* 流れ・ガイド */
.p-flow,
.p-guide { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.p-flow li,
.p-guide li {
  counter-increment: flow; position: relative;
  padding: 20px 22px 20px 72px; border-radius: var(--radius); background: #fff; border: 1px solid var(--color-line);
}
.p-flow li::before,
.p-guide li::before {
  content: counter(flow); position: absolute; left: 20px; top: 20px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 700;
}
.p-flow h3,
.p-guide h3 { margin-bottom: 6px; font-size: 18px; }

/* ---------- c-cta ---------- */
.c-cta { padding: 56px 20px; background: linear-gradient(45deg, var(--color-brand-from), var(--color-brand-to)); color: #fff; text-align: center; }
.c-cta__inner { max-width: 760px; margin: 0 auto; }
.c-cta__title { font-size: clamp(22px, 3.4vw, 30px); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.c-cta__text { margin: 12px 0 24px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.c-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }

/* ---------- l-footer ---------- */
.l-footer { padding: 48px 20px 24px; background: #23353d; color: #d6e2e6; font-size: 14px; }
.l-footer a { color: #fff; }
.l-footer__inner { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }
.l-footer__brand img { width: 140px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.l-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.l-footer__nav a { text-decoration: none; }
.l-footer__nav a:hover { text-decoration: underline; }
.l-footer__company p { margin: 0 0 4px; }
.l-footer__copy { max-width: 1200px; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15); text-align: center; color: #9fb3ba; }
@media (max-width: 760px) {
  .l-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
