/* =====================================================================
 * AI レセプションの LP の見た目。AIリザーブ の LP (apps/lp/src/styles/lp.css) を写したもの
 * (構成・余白・部品の形はそのまま。色だけを青にする)。直すときは AIリザーブ の側とそろえる。
 *
 * 配色: 白ベース・青はアクセントだけ
 *   アクセント --ac #017d4b (線・アイコン・数字) / 文字やボタンの塗りは --ac-d #006a3f (白文字とのコントラスト 6.7:1)
 * 日本語は BIZ UDPゴシック。クラスはすべて lp- で始める
 * ===================================================================== */

:root {
  --ac: #017d4b;
  --ac-d: #006a3f;
  --ac-dd: #00552f;
  --ac-l: #ebf8f1;
  --ac-100: #d5f0e2;
  /* アクセントの影・にじみ（ボタンの影・ヒーローとお知らせの背景）と、暗いフッターの上の明るいアクセント */
  --ac-shadow: rgba(1, 125, 75, 0.28);
  --ac-glow: rgba(10, 150, 91, 0.1);
  --ac-glow-2: rgba(10, 150, 91, 0.12);
  --ac-on-dk: #6cc79a;
  /* ブログのアイキャッチ・表の見出しの地 */
  --blog-bg: #f4faf7;
  --tx: #1a211e;
  --tx2: #4e5a54;
  --tx3: #66726c;
  --bd: #dce2df;
  --bg2: #f4f6f5;
  --dk: #1a211e;
  /* 差し色の黄色 (IVRy と同じ #F9C81C)。文字の色には使わない (白地で 1.6:1)。マーカー・下線・小さなラベル・番号の地・飾りに使い、上の文字は濃い色にする */
  --sub: #f9c81c;
  --sub-l: #fef7d6;
  --soon: #b45309;
  --soon-l: #fffbeb;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(26, 33, 30, 0.06);
  --header-h: 80px;
  --font: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

body.lp {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--tx);
  background: #fff;
  overflow-x: clip;
  /* 日本語は文節の切れ目で折り返す（対応していないブラウザでは通常の折り返し） */
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
}

.lp :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.lp :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.lp :where(h1, h2, h3, h4) {
  font-weight: 700;
}

.lp :where(img, video) {
  max-width: 100%;
  height: auto;
}

.lp :where(a) {
  color: inherit;
  text-decoration: none;
}

.lp :where(a, button, summary, video):focus-visible {
  outline: 3px solid var(--ac);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ac-d);
  color: #fff;
  font-weight: 700;
}

.lp-skip:focus {
  top: 12px;
}

.lp-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-container--narrow {
  max-width: 1040px;
}

/* ---------- アイコン ---------- */
.lp-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.lp-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ac-l);
  color: var(--ac-d);
  font-size: 28px;
}

.lp-icon-circle--white {
  background: #fff;
}

/* ---------- ボタン・チップ ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn--primary {
  background: var(--ac-d);
  color: #fff;
  box-shadow: 0 8px 20px var(--ac-shadow);
}

.lp-btn--primary:hover {
  background: var(--ac-dd);
}

.lp-btn--secondary {
  background: #fff;
  color: var(--tx);
  border-color: var(--tx);
}

.lp-btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.lp-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border: 1.5px solid var(--ac);
  border-radius: 999px;
  background: #fff;
  color: var(--ac-d);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.lp-chip--soon {
  border-color: #f59e0b;
  background: var(--soon-l);
  color: var(--soon);
}

.lp-chip--xs {
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 11px;
  vertical-align: 2px;
}

/* ---------- セクション共通 ---------- */
.lp-section {
  padding: 96px 0;
  scroll-margin-top: var(--header-h);
}

.lp-heading {
  margin-bottom: 48px;
  text-align: center;
}

.lp-heading__en {
  display: block;
  color: var(--ac-d);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.lp-heading__title {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1.4;
}

.lp-heading__bar {
  display: block;
  width: 48px;
  height: 4px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--ac) 0 62%, var(--sub) 62% 100%);
}

.lp-heading__lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--tx2);
  font-size: 16px;
}

.lp-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
}

.lp-check-list {
  display: grid;
  gap: 8px;
}

.lp-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}

.lp-check-list .lp-icon {
  color: var(--ac);
  font-size: 20px;
  stroke-width: 2.5;
}

.lp-check-list--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* スクロールで表示（Layout のスクリプトが、画面の外にある要素だけ .is-pending にする） */
.lp-reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.lp-reveal.is-pending.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal.is-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-btn {
    transition: none;
  }

  .lp-btn:hover {
    transform: none;
  }
}

/* =====================================================================
 * 端末の枠（ノート PC・スマホ・タブレット）
 * ===================================================================== */
.lp-device {
  position: relative;
  margin: 0;
}

.lp-device__screen {
  overflow: hidden;
  background: #fff;
}

.lp-device__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 8%;
  background: repeating-linear-gradient(135deg, transparent 0 14px, var(--ac-glow) 14px 28px), var(--ac-l);
  container-type: inline-size;
}

.lp-device__placeholder-label {
  padding: 0.4em 0.9em;
  border: 1.5px dashed var(--ac);
  border-radius: 999px;
  background: #fff;
  color: var(--ac-d);
  font-size: clamp(10px, 5cqi, 15px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.lp-device__screen img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-device--laptop .lp-device__body {
  padding: 2.2%;
  border-radius: 18px 18px 0 0;
  background: #27302c;
  box-shadow: 0 24px 48px rgba(26, 33, 30, 0.16);
}

.lp-device--laptop .lp-device__screen {
  border-radius: 3px;
}

.lp-device__base {
  height: 16px;
  margin: 0 -5%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(#dce2df, #87928d);
}

.lp-device--phone .lp-device__body {
  padding: 5%;
  border-radius: 15% / 7%;
  background: #1a211e;
  box-shadow: 0 24px 48px rgba(26, 33, 30, 0.22);
}

.lp-device--phone .lp-device__screen {
  border-radius: 11% / 5%;
}

.lp-device--tablet .lp-device__body {
  padding: 3%;
  border-radius: 6% / 8.5%;
  background: #27302c;
  box-shadow: 0 24px 48px rgba(26, 33, 30, 0.18);
}

.lp-device--tablet .lp-device__screen {
  border-radius: 1.5% / 2.2%;
}

/* =====================================================================
 * ヘッダー
 * ===================================================================== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(26, 33, 30, 0.06);
}

@supports (backdrop-filter: blur(8px)) {
  .lp-header {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
  }
}

.lp-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
  white-space: nowrap;
}

.lp-logo__mark {
  display: inline-flex;
  color: var(--ac-d);
}

.lp-logo__name {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.lp-logo__vertical {
  padding: 2px 10px;
  border: 1.5px solid var(--ac);
  border-radius: 999px;
  color: var(--ac-d);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

.lp-header__tagline {
  color: var(--tx2);
  font-size: 12px;
  white-space: nowrap;
}

.lp-header__nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.lp-header__nav a {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.lp-header__nav a:hover {
  color: var(--ac-d);
}

.lp-header__actions {
  display: flex;
  gap: 8px;
}

.lp-header__menu {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--tx);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lp-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  background: rgba(26, 33, 30, 0.4);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s;
}

.lp-drawer.is-open {
  visibility: visible;
  opacity: 1;
  /* 開くときはすぐ見える状態にする（閉じるボタンにフォーカスを移せるように） */
  transition:
    opacity 0.25s ease,
    visibility 0s;
}

.lp-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(360px, 100%);
  padding: 72px 24px 32px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.lp-drawer.is-open .lp-drawer__panel {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp-drawer,
  .lp-drawer__panel {
    transition: none;
  }
}

.lp-drawer__close {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--tx);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lp-drawer a:not(.lp-btn) {
  padding: 14px 4px;
  border-bottom: 1px solid var(--bd);
  font-weight: 700;
}

.lp-drawer .lp-btn {
  margin-top: 12px;
}

/* =====================================================================
 * ヒーロー
 * ===================================================================== */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  background:
    radial-gradient(circle at 85% 30%, var(--ac-glow), transparent 45%), linear-gradient(180deg, #fff 0%, #fff 70%, var(--ac-l) 100%);
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.lp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.lp-hero__badges .lp-chip {
  padding: 6px 18px;
  font-size: 15px;
}

.lp-hero__title {
  margin-top: 24px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.lp-hero__title em {
  font-style: normal;
  color: var(--ac-d);
  /* 黄色のマーカー (下 4 割) */
  background: linear-gradient(transparent 64%, var(--sub) 64%);
  padding: 0 0.08em;
}

.lp-hero__lead {
  margin-top: 22px;
  color: var(--tx2);
  font-size: 17px;
  line-height: 1.9;
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.lp-hero__cta .lp-btn {
  min-height: 64px;
  min-width: 220px;
  font-size: 18px;
}

.lp-laurels {
  display: flex;
  gap: 4px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
/* 月桂冠（警備サインの LP と同じ画像）。文字の大きさは月桂冠の幅に比例させる（PC・スマホで同じ見え方に） */
.lp-laurel {
  position: relative;
  width: 150px;
  aspect-ratio: 180 / 186;
  background: url("/lp/laurel.png") center / contain no-repeat;
  container-type: inline-size;
}
/* 文字のまとまりを、輪の内側がいちばん広い高さ（上から 54%）に重ねる */
.lp-laurel__text {
  position: absolute;
  top: 54%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 5cqw;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}
.lp-laurel__text > span {
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.lp-laurel__label,
.lp-laurel__unit {
  font-size: 8.4cqw;
  font-weight: 700;
  color: var(--tx);
}
.lp-laurel__value {
  font-weight: 900;
  font-size: 23.3cqw;
  color: #b8860b;
}
.lp-laurel__value--text {
  font-size: 15cqw;
}
.lp-laurels__note {
  margin: 8px 0 0;
  color: var(--tx3);
  font-size: 11px;
  line-height: 1.6;
}
.lp-hero__note {
  margin-top: 14px;
  color: var(--tx3);
  font-size: 13px;
}

.lp-hero__visual {
  position: relative;
  padding: 44px 3% 60px 6%;
}

.lp-hero__main {
  width: 100%;
  max-width: 680px;
}

.lp-hero__sub {
  position: absolute;
  z-index: 1;
}

/* スマホは右下、タブレットは左下にかけて重ねる */
.lp-hero__sub--0 {
  right: -2%;
  bottom: 0;
  width: 21%;
}

.lp-hero__sub--1 {
  left: 0;
  bottom: 4px;
  width: 34%;
}

/* 吹き出し（角丸なし・白地 + 青緑の枠・しっぽ付き） */
.lp-bubble {
  position: absolute;
  z-index: 2;
  padding: 10px 18px;
  border: 2px solid var(--ac);
  background: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

/* しっぽは 2 枚の三角で描く。::before が枠の色（外側）、::after が白（内側）。
 * 白い三角は吹き出しの枠（2px）の上まで重ねて、枠としっぽの線を切れ目なくつなぐ */
.lp-bubble::before,
.lp-bubble::after {
  content: "";
  position: absolute;
  left: 28px;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
}

.lp-bubble::before {
  border-width: 10px;
}

.lp-bubble::after {
  margin-left: 1px;
  border-width: 9px;
}

.lp-bubble--down::before {
  top: calc(100% + 2px);
  border-bottom-width: 0;
  border-top-color: var(--ac);
}

.lp-bubble--down::after {
  top: 100%;
  border-bottom-width: 0;
  border-top-color: #fff;
}

.lp-bubble--up::before {
  bottom: calc(100% + 2px);
  border-top-width: 0;
  border-bottom-color: var(--ac);
}

.lp-bubble--up::after {
  bottom: 100%;
  border-top-width: 0;
  border-bottom-color: #fff;
}

.lp-hero__bubble-1 {
  top: 0;
  left: 2%;
}

.lp-hero__bubble-2 {
  right: 22%;
  bottom: -6px;
}

.lp-hero__bubble-2::before,
.lp-hero__bubble-2::after {
  left: auto;
  right: 28px;
}

.lp-hero__bubble-2::after {
  margin-left: 0;
  margin-right: 1px;
}

/* =====================================================================
 * お悩み
 * ===================================================================== */
.lp-concerns__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-concern {
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.lp-concern h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.lp-concern p {
  color: var(--tx2);
  font-size: 14px;
}

.lp-concerns__arrow {
  width: 56px;
  height: 28px;
  margin: 40px auto 24px;
  background: var(--ac);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.lp-solution-band {
  max-width: 840px;
  margin: 0 auto;
  padding: 24px;
  border: 2px solid var(--ac);
  background: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
}

/* =====================================================================
 * 解決（3 つのサービス）
 * ===================================================================== */
.lp-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lp-service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lp-service__ill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 20px;
  border-bottom: 1px solid var(--bd);
  background: var(--bg2);
}

.lp-service__ill img {
  max-height: 180px;
  width: auto;
  border: 1px solid var(--bd);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lp-service__big-icon {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--soon-l);
  color: var(--soon);
  font-size: 60px;
}

.lp-service__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 28px 28px;
}

.lp-service__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.lp-service__name .lp-chip {
  font-size: 15px;
}

.lp-service__sub {
  color: var(--tx2);
  font-size: 14px;
}

.lp-service__desc {
  font-size: 15px;
}

.lp-movie__play-icon .lp-icon {
  margin-left: 3px;
}

.lp-service--soon .lp-check-list .lp-icon {
  color: #d97706;
}

/* =====================================================================
 * 紹介動画
 * ===================================================================== */
.lp-movie {
  background: var(--bg2);
}

.lp-movie__player {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 48px rgba(26, 33, 30, 0.12);
  aspect-ratio: 16 / 9;
}

.lp-movie__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.lp-movie__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 10px;
  border-radius: 999px;
  background: rgba(26, 33, 30, 0.88);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(26, 33, 30, 0.3);
  transition: background-color 0.15s ease;
}

.lp-movie__play:hover {
  background: var(--ac-dd);
}

.lp-movie__play-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ac);
  font-size: 22px;
}

.lp-movie__player.is-full .lp-movie__play {
  display: none;
}

.lp-movie__meta {
  margin: -24px 0 24px;
  color: var(--tx3);
  font-size: 14px;
  text-align: center;
}

.lp-movie__transcript {
  margin-top: 24px;
  padding: 16px 24px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: #fff;
}

.lp-movie__transcript summary {
  font-weight: 700;
  cursor: pointer;
}

.lp-movie__transcript ol {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.lp-movie__transcript li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  color: var(--tx2);
  font-size: 15px;
}

.lp-movie__transcript time {
  color: var(--ac-d);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.lp-movie__transcript p {
  margin-top: 12px;
  color: var(--tx3);
  font-size: 13px;
}

/* =====================================================================
 * 3 つの特長
 * ===================================================================== */
.lp-points {
  display: grid;
  gap: 96px;
}

.lp-point {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.lp-point--reverse .lp-point__text {
  order: 2;
}

.lp-point__no {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-point__no small {
  color: var(--ac-d);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lp-point__no b {
  font-size: 64px;
  line-height: 1;
  color: var(--ac);
  background: linear-gradient(transparent 70%, var(--sub) 70%);
  padding: 0 0.06em;
}

.lp-point h3 {
  margin: 18px 0 16px;
  font-size: 32px;
  line-height: 1.45;
}

.lp-point p {
  margin-bottom: 24px;
  color: var(--tx2);
  font-size: 16px;
  line-height: 1.9;
}

.lp-point__visual {
  position: relative;
  /* ノート PC の台は本体より少し広いので、その分だけ内側に寄せる */
  padding: 0 4%;
}

/* 2 台のとき: タブレットの右下にスマホを重ねる */
.lp-point__visual--2 {
  padding: 0 0 8% 0;
}

.lp-point__visual--2 .lp-device--tablet {
  margin-left: 0;
}

.lp-point__visual--2 .lp-device--tablet {
  width: 84%;
}

.lp-point__visual--2 .lp-device--phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
}

/* =====================================================================
 * 準備中（AI 電話受付）
 * ===================================================================== */
.lp-soon {
  padding-top: 0;
}

.lp-soon__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  border: 2px dashed #f59e0b;
  border-radius: 24px;
  background: var(--soon-l);
}

.lp-soon__text h2 {
  margin: 16px 0 12px;
  font-size: 32px;
  line-height: 1.4;
}

.lp-soon__text p {
  color: var(--tx2);
}

.lp-soon__text .lp-soon__note {
  margin-top: 12px;
  color: var(--soon);
  font-weight: 700;
}

.lp-soon__steps {
  display: grid;
  gap: 12px;
}

.lp-soon__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  line-height: 1.5;
}

.lp-soon__steps .lp-icon-circle {
  width: 48px;
  height: 48px;
  background: var(--soon-l);
  color: var(--soon);
  font-size: 24px;
}

.lp-soon__step-no {
  flex: none;
  color: var(--soon);
  font-size: 22px;
}

/* =====================================================================
 * 主な機能
 * ===================================================================== */
.lp-functions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-function {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
}

.lp-function h3 {
  margin-bottom: 2px;
  font-size: 17px;
  line-height: 1.5;
}

.lp-function p {
  color: var(--tx2);
  font-size: 14px;
  line-height: 1.7;
}

/* =====================================================================
 * 料金
 * ===================================================================== */
.lp-price__lead {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--tx2);
}

.lp-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 左（基本の機能）と右（オプション）は、どちらも見出しの下からカードを並べ、カードの上をそろえる */
.lp-price-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.lp-price-free {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 12px;
  padding: 32px 28px;
  border: 2px solid var(--ac);
  border-radius: 24px;
  background: #fff;
}

.lp-price-free__name,
.lp-price-options__title {
  font-weight: 700;
  font-size: 16px;
}

.lp-price-free__value {
  justify-self: start;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: var(--ac-d);
  background: linear-gradient(transparent 66%, var(--sub) 66%);
  padding: 0 0.08em;
}

.lp-price-free ul {
  display: grid;
  gap: 6px;
  margin: 4px 0 12px;
  padding-left: 1.2em;
  color: var(--tx2);
  font-size: 15px;
}

.lp-price-options {
  display: grid;
  align-content: start;
  gap: 12px;
}

.lp-price-option {
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border: 1px solid var(--bd);
  border-radius: 16px;
  background: #fff;
}

.lp-price-option__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.lp-price-option__soon {
  padding: 1px 8px;
  border-radius: 999px;
  background: #ebefed;
  color: var(--tx2);
  font-weight: 500;
  font-size: 12px;
}

.lp-price-option__value {
  font-weight: 700;
  font-size: 24px;
  color: var(--ac-d);
}

.lp-price-option__note,
.lp-price-option__text {
  color: var(--tx2);
  font-size: 14px;
}

.lp-price__notes {
  max-width: 1000px;
  margin: 20px auto 0;
  padding-left: 1.2em;
  color: var(--tx2);
  font-size: 13px;
}

/* =====================================================================
 * 導入の流れ
 * ===================================================================== */
.lp-flow__list {
  --flow-gap: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
}

.lp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 44px 24px 32px;
  text-align: center;
}

.lp-step + .lp-step::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + var(--flow-gap) / 2 - 8px);
  width: 16px;
  height: 20px;
  background: var(--ac);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}

.lp-step > .lp-chip {
  position: absolute;
  top: 0;
  left: 20px;
  padding: 5px 16px;
  font-size: 15px;
  transform: translateY(-50%);
}

.lp-step .lp-icon-circle {
  width: 100px;
  height: 100px;
  font-size: 48px;
}

.lp-step h3 {
  margin-top: 8px;
  font-size: 20px;
}

.lp-step p {
  color: var(--tx2);
  font-size: 15px;
}

/* =====================================================================
 * FAQ
 * ===================================================================== */
.lp-faq__list {
  display: grid;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.lp-faq__item {
  padding: 22px 24px;
}

.lp-faq__row {
  display: flex;
  gap: 14px;
  align-items: first baseline;
}

.lp-faq__row + .lp-faq__row {
  margin-top: 14px;
}

.lp-faq__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.lp-faq__mark--q {
  background: var(--ac-d);
  color: #fff;
}

.lp-faq__mark--a {
  border: 1.5px solid var(--ac);
  color: var(--ac-d);
}

.lp-faq__q {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.lp-faq__a {
  color: var(--tx2);
  font-size: 15px;
}

/* =====================================================================
 * お問い合わせ
 * ===================================================================== */
.lp-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px 40px;
}

.lp-contact__text {
  font-weight: 700;
}

/* お問い合わせのページ（/contact）のフォーム */
.lp-contact-page {
  padding: 48px 0 96px;
  background: var(--bg2);
}

.lp-contact-page__inner {
  max-width: 760px;
}

.lp-contact-page__title {
  font-size: 32px;
  line-height: 1.4;
}

.lp-contact-page__lead {
  margin-top: 12px;
  color: var(--tx2);
}

.lp-contact-form,
.lp-contact-done {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding: 40px;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.lp-contact-form[hidden],
.lp-contact-done[hidden],
.lp-field__error[hidden],
.lp-contact-form__status[hidden] {
  display: none;
}

.lp-contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lp-field {
  display: grid;
  gap: 8px;
}

.lp-field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.lp-field__badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--ac-d);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.lp-field__badge--optional {
  background: var(--bd);
  color: var(--tx2);
}

.lp-field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #c4ccc8;
  border-radius: 10px;
  background: #fff;
  color: var(--tx);
  font: inherit;
  font-size: 16px;
}

.lp-field__input:focus {
  outline: 3px solid var(--ac-100);
  border-color: var(--ac-d);
}

.lp-field__input[aria-invalid="true"] {
  border-color: #dc2626;
}

.lp-field__select {
  appearance: none;
  padding-right: 40px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}

.lp-field__textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.7;
}

.lp-field__hint,
.lp-field__count {
  color: var(--tx3);
  font-size: 13px;
}

.lp-field__count {
  text-align: right;
}

.lp-field__count.is-over {
  color: #dc2626;
  font-weight: 700;
}

.lp-field__error {
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
}

.lp-field__check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.lp-field__check input {
  width: 20px;
  height: 20px;
  accent-color: var(--ac-d);
}

.lp-field__check a {
  color: var(--ac-d);
  text-decoration: underline;
}

.lp-contact-form__status {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 700;
}

.lp-contact-form__submit {
  justify-self: center;
  min-width: 240px;
}

.lp-contact-form__submit:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.lp-contact-done {
  justify-items: start;
}

.lp-contact-done:focus {
  outline: none;
}

.lp-contact-done__title {
  color: var(--ac-d);
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .lp-contact-page {
    padding: 32px 0 64px;
  }

  .lp-contact-page__title {
    font-size: 26px;
  }

  .lp-contact-form,
  .lp-contact-done {
    padding: 24px 20px;
  }

  .lp-contact-form__submit {
    justify-self: stretch;
  }
}

/* =====================================================================
 * CTA 帯・フッター
 * ===================================================================== */
.lp-cta {
  padding: 0 0 96px;
}

.lp-cta__band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 40px;
  align-items: center;
  padding: 40px 64px;
  border: 2px solid var(--ac);
  border-radius: 24px;
  background: radial-gradient(circle at 100% 0%, var(--ac-glow-2), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(249, 200, 28, 0.16), transparent 45%), #fff;
  box-shadow: var(--shadow);
}

/* 画面の写真が無い業種（site.media: false）は端末を出さず、1 列にする */
.lp-cta__band:not(:has(.lp-cta__device)) {
  grid-template-columns: minmax(0, 1fr);
}

.lp-cta__band h2 {
  font-size: 36px;
  line-height: 1.4;
}

.lp-cta__band p {
  margin-top: 10px;
  color: var(--tx2);
}

.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.lp-cta__actions .lp-btn {
  min-height: 64px;
  min-width: 240px;
  font-size: 18px;
}

.lp-cta__device {
  width: 170px;
  justify-self: center;
}

.lp-footer {
  padding: 56px 0 32px;
  background: var(--dk);
  color: #fff;
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 170px);
  gap: 32px 40px;
}

.lp-footer .lp-logo {
  color: #fff;
}

.lp-footer .lp-logo__mark {
  color: var(--ac);
}

.lp-footer .lp-logo__vertical {
  border-color: var(--ac-on-dk);
  color: var(--ac-on-dk);
}

.lp-footer__company {
  margin-top: 20px;
  color: #c4ccc8;
  font-size: 13px;
  line-height: 1.9;
}

.lp-footer__col h2 {
  margin-bottom: 14px;
  font-size: 14px;
}

.lp-footer__col ul {
  display: grid;
  gap: 10px;
}

.lp-footer__col a,
.lp-footer__link {
  color: #dce2df;
  font-size: 14px;
}

.lp-footer__link {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.lp-footer__col a:hover,
.lp-footer__link:hover {
  color: #fff;
  text-decoration: underline;
}

.lp-footer__copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #c4ccc8;
  font-size: 12px;
}

/* =====================================================================
 * レスポンシブ
 * ===================================================================== */
@media (max-width: 1180px) {
  .lp-header__nav,
  .lp-header__tagline {
    display: none;
  }

  .lp-header__actions {
    margin-left: auto;
  }

  .lp-header__menu {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .lp-hero__grid,
  .lp-point,
  .lp-soon__box,
  .lp-cta__band {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-hero__visual {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }

  .lp-point--reverse .lp-point__text {
    order: 0;
  }

  .lp-point__visual {
    max-width: 680px;
  }

  .lp-concerns__grid,
  .lp-functions__grid,
  .lp-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-cta__device {
    display: none;
  }

  .lp-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }

  body.lp {
    font-size: 15px;
  }

  .lp-section {
    padding: 56px 0;
  }

  .lp-heading {
    margin-bottom: 28px;
  }

  .lp-heading__title {
    font-size: 24px;
  }

  .lp-heading__lead {
    font-size: 14px;
  }

  .lp-header__inner {
    gap: 8px;
  }

  .lp-logo {
    gap: 6px;
  }

  .lp-logo__mark svg {
    width: 26px;
    height: 26px;
  }

  .lp-logo__name {
    font-size: 19px;
  }

  .lp-logo__vertical {
    padding: 1px 7px;
    font-size: 11px;
  }

  .lp-header__login {
    display: none;
  }

  .lp-header__actions .lp-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .lp-header__menu {
    padding: 6px;
  }

  .lp-hero {
    padding: 28px 0 48px;
  }

  .lp-hero__badges .lp-chip {
    padding: 3px 12px;
    font-size: 12px;
  }

  .lp-hero__title {
    margin-top: 16px;
    font-size: min(30px, 7.6vw);
  }

  .lp-hero__lead {
    font-size: 14px;
  }

  .lp-hero__cta {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .lp-hero__cta .lp-btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 16px;
  }

  .lp-hero__note {
    text-align: center;
  }

  .lp-hero__visual {
    padding: 40px 0 36px 4%;
  }

  .lp-bubble {
    padding: 6px 10px;
    font-size: 12px;
  }

  .lp-bubble::before,
  .lp-bubble::after {
    left: 18px;
  }

  .lp-bubble::before {
    border-width: 7px;
  }

  .lp-bubble::after {
    border-width: 6px;
  }

  .lp-bubble--down::before,
  .lp-bubble--down::after {
    border-bottom-width: 0;
  }

  .lp-bubble--up::before,
  .lp-bubble--up::after {
    border-top-width: 0;
  }

  .lp-hero__bubble-2::before,
  .lp-hero__bubble-2::after {
    left: auto;
    right: 18px;
  }

  .lp-concerns__grid,
  .lp-functions__grid,
  .lp-services__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .lp-concern {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px;
    box-shadow: none;
  }

  .lp-concern .lp-icon-circle {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .lp-concern h3 {
    margin: 0 0 4px;
    font-size: 16px;
  }

  .lp-concern p {
    font-size: 13px;
  }

  .lp-concerns__arrow {
    width: 36px;
    height: 20px;
    margin: 28px auto 16px;
  }

  .lp-solution-band {
    padding: 16px 12px;
    font-size: 19px;
  }

  .lp-service__ill {
    height: 180px;
  }

  .lp-service__ill img {
    max-height: 140px;
  }

  .lp-service__body {
    padding: 20px;
  }

  .lp-movie__play {
    padding: 6px 16px 6px 6px;
    font-size: 13px;
  }

  .lp-movie__play-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .lp-movie__transcript {
    padding: 14px 16px;
  }

  .lp-movie__transcript li {
    grid-template-columns: 44px minmax(0, 1fr);
    font-size: 13px;
  }

  .lp-points {
    gap: 56px;
  }

  .lp-point {
    gap: 24px;
  }

  .lp-point__no b {
    font-size: 48px;
  }

  .lp-point h3 {
    margin: 12px 0;
    font-size: 21px;
  }

  .lp-point p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .lp-check-list--2col {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-soon__box {
    gap: 24px;
    padding: 28px 20px;
  }

  .lp-soon__text h2 {
    font-size: 24px;
  }

  .lp-soon__text p {
    font-size: 14px;
  }

  .lp-soon__steps li {
    font-size: 14px;
  }

  .lp-function {
    gap: 14px;
    padding: 14px 16px;
  }

  .lp-function .lp-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .lp-function h3 {
    font-size: 16px;
  }

  .lp-function p {
    font-size: 13px;
  }

  .lp-price {
    grid-template-columns: 1fr;
  }

  .lp-price-free {
    padding: 28px 20px;
  }

  .lp-price-free__value {
    font-size: 38px;
  }

  .lp-flow__list {
    --flow-gap: 36px;
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    padding: 18px 16px;
    text-align: left;
  }

  .lp-step + .lp-step::before {
    top: auto;
    right: auto;
    bottom: calc(100% + var(--flow-gap) / 2 - 6px);
    left: 50%;
    width: 20px;
    height: 12px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
  }

  .lp-step > .lp-chip {
    position: static;
    grid-column: 2;
    justify-self: start;
    padding: 2px 12px;
    font-size: 11px;
    transform: none;
  }

  .lp-step .lp-icon-circle {
    grid-row: 1 / span 3;
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .lp-step h3 {
    margin: 0;
    font-size: 16px;
  }

  .lp-step p {
    font-size: 13px;
  }

  .lp-faq__item {
    padding: 16px;
  }

  .lp-faq__mark {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .lp-faq__q {
    font-size: 15px;
  }

  .lp-faq__a {
    font-size: 14px;
  }

  .lp-contact {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 24px 20px;
    text-align: center;
  }

  .lp-contact .lp-btn {
    width: 100%;
  }

  .lp-cta {
    padding-bottom: 56px;
  }

  .lp-cta__band {
    padding: 28px 20px;
    text-align: center;
  }

  .lp-cta__band h2 {
    font-size: 22px;
  }

  .lp-cta__band p {
    font-size: 14px;
  }

  .lp-cta__actions {
    flex-direction: column;
    gap: 12px;
  }

  .lp-cta__actions .lp-btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 16px;
  }

  .lp-footer {
    padding: 36px 0 28px;
  }

  .lp-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .lp-footer__company {
    font-size: 12px;
  }

  /* フッターのリンクは、指で押せる高さ（40px 以上）にする */
  .lp-footer__col ul {
    gap: 0;
  }

  .lp-footer__col a,
  .lp-footer__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .lp-container {
    padding: 0 16px;
  }

  .lp-logo__mark svg {
    width: 22px;
    height: 22px;
  }

  .lp-logo__name {
    font-size: 17px;
  }

  .lp-header__actions .lp-btn {
    padding: 0 10px;
  }

  .lp-header__menu {
    padding: 4px;
    font-size: 24px;
  }
}

/* プライバシーポリシー・利用規約 */
.lp-legal {
  padding: 48px 0 72px;
}
.lp-legal__inner {
  max-width: 820px;
}
.lp-legal h1 {
  font-size: 28px;
  margin: 0 0 16px;
}
.lp-legal h2 {
  font-size: 18px;
  margin: 32px 0 8px;
}
.lp-legal p,
.lp-legal li {
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.lp-legal ul,
.lp-legal ol {
  padding-left: 1.5em;
  margin: 8px 0;
}
.lp-legal ul {
  list-style: disc;
}
.lp-legal ol {
  list-style: decimal;
}
.lp-post__body li {
  margin: 4px 0;
}

.lp-legal li + li {
  margin-top: 4px;
}
.lp-legal__lead {
  color: var(--tx2);
}
.lp-legal__date {
  margin-top: 40px;
  color: var(--tx2);
  text-align: right;
}

/* ブログ。記事のカードは <x-post> で囲む（公開日前は Worker が外す） */
x-post {
  display: contents;
}
.lp-blog--page {
  padding: 48px 0 80px;
}
.lp-blog__title {
  font-size: 32px;
  margin: 0 0 8px;
}
.lp-blog__lead {
  color: var(--tx2);
  margin: 0 0 32px;
}
.lp-post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* トップは新しい 3 本だけ（公開日前の記事は Worker が先に外している） */
.lp-blog--top .lp-post-list > x-post:nth-of-type(n + 4) {
  display: none;
}
.lp-blog__more {
  margin: 32px 0 0;
  text-align: center;
}
.lp-post-card a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 0 0 16px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  color: var(--tx);
  text-decoration: none;
  overflow: hidden;
}
.lp-post-card__title {
  padding: 0 16px;
  font-weight: 700;
  line-height: 1.6;
}

.lp-post-card a:hover .lp-post-card__title {
  text-decoration: underline;
}
.lp-post-card__img {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  background: var(--blog-bg);
  overflow: hidden;
}
/* イラストの縦横の比が違っても、枠の高さはそろえる */
.lp-post-card__img img {
  position: absolute;
  inset: 16px 24px;
  width: calc(100% - 48px);
  height: calc(100% - 32px);
  object-fit: contain;
}
.lp-post-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 16px;
  color: var(--tx3);
  font-size: 13px;
}
.lp-post-card__cat {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--ac-d);
  color: var(--ac-d);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
/* 記事 */
.lp-post {
  padding: 32px 0 80px;
}
.lp-post__inner {
  max-width: 780px;
}
.lp-post__crumbs {
  font-size: 13px;
  color: var(--tx3);
}
.lp-post__crumbs a {
  color: inherit;
}
.lp-post__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0 8px;
  color: var(--tx3);
  font-size: 13px;
}
.lp-post__title {
  font-size: 30px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.lp-post__eyecatch {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 20px;
  border-radius: 12px;
  background: var(--blog-bg);
}
.lp-post__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.lp-post__body h2 {
  margin: 48px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--ac-d);
  font-size: 22px;
  line-height: 1.5;
}
.lp-post__body h3 {
  margin: 32px 0 12px;
  font-size: 18px;
}
.lp-post__body a {
  color: var(--ac-d);
}
.lp-post__body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.lp-post__body th,
.lp-post__body td {
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  vertical-align: top;
}
.lp-post__body th {
  background: var(--blog-bg);
  white-space: nowrap;
}
.lp-post__body ul,
.lp-post__body ol {
  margin: 12px 0;
  padding-left: 1.6em;
}
.lp-post__body ul {
  list-style: disc;
}
.lp-post__body ol {
  list-style: decimal;
}
.lp-post__body blockquote {
  margin: 20px 0;
  padding: 12px 16px;
  border-left: 4px solid #e6e6e6;
  color: var(--tx2);
}
.lp-post__related {
  margin-top: 56px;
}
.lp-post__related h2 {
  font-size: 20px;
  margin: 0 0 16px;
}
.lp-post__cta {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  text-align: center;
}
.lp-post__cta p {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .lp-post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .lp-post-list {
    grid-template-columns: 1fr;
  }
  .lp-post__title {
    font-size: 24px;
  }
  .lp-post__eyecatch {
    height: 150px;
    padding: 16px;
  }
  .lp-post__body h2 {
    font-size: 19px;
  }
}
/* 関連記事がすべて公開日前（Worker が外した）なら、見出しごと隠す */
.lp-post__related:not(:has(x-post)) {
  display: none;
}

/* =====================================================================
 * AIレセプト だけの足し (AIリザーブ には無い)
 * ===================================================================== */

/* 受付の方法は 2 つなので 2 列 (狭い画面は上の @media のとおり 1 列) */
@media (min-width: 961px) {
  .lp-services__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 動いている機能のアイコン (AIリザーブ の大きいアイコンは「準備中」の色) */
.lp-service__big-icon--ready {
  background: var(--ac-l);
  color: var(--ac);
}

/* ---------- 画面の写真と挿絵 (2026-10-12) ---------- */

/* セクションの地の色 (白と交互に。カードは白のまま) */
.lp-section--tint {
  background: var(--bg2);
}

.lp-section--green {
  background: linear-gradient(180deg, var(--ac-l) 0%, #fff 100%);
}

/* 挿絵 (unDraw) */
.lp-ill {
  display: block;
  height: auto;
  max-width: 100%;
}

.lp-concerns__ill {
  width: 260px;
  margin: -16px auto 40px;
}

.lp-faq__wrap {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.lp-faq__ill {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  width: 100%;
}

/* 写真の下の「サンプルのデータです」 */
.lp-sample-note {
  margin-top: 24px;
  color: var(--tx3);
  font-size: 13px;
  text-align: center;
}

.lp-hero__sample {
  margin-top: 8px;
  font-size: 12px;
  text-align: left;
}

/* 受付の方法: 画面の写真をタブレットの枠で */
.lp-service__ill--shot {
  height: auto;
  padding: 32px 40px 28px;
  background: linear-gradient(180deg, var(--ac-l), var(--bg2));
}

.lp-service__ill--shot .lp-device {
  width: 100%;
  max-width: 420px;
}

.lp-service__ill--shot .lp-device img {
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 受付の流れ */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}

.lp-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-steps__item + .lp-steps__item::before {
  content: "";
  position: absolute;
  top: 28%;
  left: -24px;
  width: 14px;
  height: 18px;
  background: var(--ac);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.lp-steps__visual {
  display: grid;
  place-items: center;
  /* タブレットの枠 (画面 + 縁) の縦横の比 */
  aspect-ratio: 1180 / 841;
}

.lp-steps__visual .lp-device {
  width: 100%;
}

.lp-steps__text {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
}

.lp-steps__no {
  grid-row: span 2;
  align-self: start;
  color: var(--ac);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(transparent 68%, var(--sub) 68%);
  padding: 0 0.06em;
}

.lp-steps__text h3 {
  font-size: 20px;
  line-height: 1.5;
}

.lp-steps__text p {
  margin-top: 6px;
  color: var(--tx2);
  font-size: 15px;
}

/* 画面のようす */
.lp-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: end;
}

.lp-screens__item--laptop {
  padding: 0 4%;
}

.lp-screens__label {
  margin-top: 16px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1024px) {
  .lp-screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-faq__wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .lp-faq__ill {
    position: static;
    width: 220px;
    margin: -16px auto 0;
  }
}

@media (max-width: 767px) {
  .lp-concerns__ill {
    width: 200px;
    margin: -8px auto 28px;
  }

  .lp-faq__ill {
    width: 180px;
  }

  .lp-service__ill--shot {
    padding: 20px 20px 18px;
  }

  .lp-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .lp-steps__item + .lp-steps__item::before {
    top: -30px;
    left: 50%;
    width: 20px;
    height: 12px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
  }

  .lp-steps__visual {
    aspect-ratio: auto;
  }

  .lp-screens {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .lp-hero__sample {
    text-align: center;
  }

}

/* ---------- 規約とポリシー (/privacy) ---------- */
.lp-legal {
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--bg2);
}
.lp-legal__inner {
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 48px 56px;
  line-height: 1.9;
  color: var(--tx2);
}
.lp-legal__kicker { color: var(--ac); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; }
.lp-legal__title { color: var(--tx); font-size: 32px; margin: 4px 0 8px; }
.lp-legal__dates { font-size: 13px; color: var(--tx3); margin-bottom: 24px; }
.lp-legal h2 { color: var(--tx); font-size: 19px; margin: 36px 0 12px; padding-top: 20px; border-top: 1px solid var(--bd); }
.lp-legal ul { padding-left: 1.4em; margin: 0 0 12px; }
.lp-legal li { margin: 4px 0; }
.lp-legal p { margin: 0 0 12px; }
.lp-legal dl { display: grid; grid-template-columns: 7em 1fr; gap: 8px 16px; margin: 0; }
.lp-legal dt { color: var(--tx); font-weight: 700; }
.lp-legal dd { margin: 0; }
.lp-legal a { color: var(--ac); }
.lp-legal__closing { margin-top: 32px; font-size: 14px; color: var(--tx3); }
@media (max-width: 767px) {
  .lp-legal { padding: calc(var(--header-h) + 24px) 0 48px; }
  .lp-legal__inner { padding: 28px 20px; border-radius: 12px; }
  .lp-legal__title { font-size: 26px; }
  .lp-legal dl { grid-template-columns: 1fr; }
}

/* ---------- お問い合わせのフォーム (/contact) ---------- */
.lp-form { margin-top: 28px; display: grid; gap: 22px; }
.lp-form__field { display: grid; gap: 6px; }
.lp-form__field > label { color: var(--tx); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.lp-form__chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; background: var(--bg2); color: var(--tx3); }
.lp-form__chip--req { background: #fdecec; color: #b42318; }
.lp-form input[type="text"],
.lp-form input[type="email"],
.lp-form input[type="tel"],
.lp-form select,
.lp-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--bd);
  border-radius: 10px;
  background: #fff;
  color: var(--tx);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.lp-form textarea { resize: vertical; min-height: 180px; }
.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px var(--ac-100); }
.lp-form input[aria-invalid="true"],
.lp-form select[aria-invalid="true"],
.lp-form textarea[aria-invalid="true"] { border-color: #d92d20; }
.lp-form__hint { margin: 0; font-size: 13px; color: var(--tx3); }
.lp-legal .lp-form__error { margin: 0; font-size: 14px; color: #b42318; font-weight: 700; }
.lp-form__alert { margin-top: 20px; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #b42318; font-weight: 700; }
.lp-form__check { display: flex; align-items: flex-start; gap: 10px; color: var(--tx); font-weight: 700; cursor: pointer; }
.lp-form__check input { width: 20px; height: 20px; margin: 5px 0 0; accent-color: var(--ac-d); flex: none; }
.lp-form__check .lp-form__chip { margin-left: 6px; vertical-align: 2px; }
.lp-form__actions { margin-top: 8px; }
.lp-legal .lp-form__actions .lp-btn { color: #fff; text-decoration: none; }
.lp-legal .lp-form__actions .lp-btn--secondary { color: var(--tx); }
.lp-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) {
  .lp-form__actions .lp-btn { width: 100%; }
}

/* 差し色の黄色: ヒーローのラベルと、受付の流れの番号 */
.lp-hero .lp-chip {
  border-color: var(--sub);
  background: var(--sub-l);
  color: var(--tx);
}

/* 受付の流れ 03: 担当者に届く通知の画面イメージ (チャットのメッセージ 1 件。特定のチャットの見た目は写さない) */
.lp-chat {
  position: relative;
  width: 100%;
  margin: 0;
  padding-top: 14px;
}

.lp-chat__label {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 1;
  padding: 3px 12px;
  border: 1.5px solid var(--sub);
  border-radius: 999px;
  background: var(--sub-l);
  color: var(--tx);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.lp-chat__window {
  overflow: hidden;
  border: 1px solid var(--bd);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(26, 33, 30, 0.12);
}

.lp-chat__bar {
  display: flex;
  align-items: center;
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--bd);
  background: var(--bg2);
}

.lp-chat__space {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx);
  font-size: 14px;
  font-weight: 700;
}

.lp-chat__space .lp-icon {
  color: var(--ac);
  font-size: 18px;
}

.lp-chat__msg {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px 20px;
}

.lp-chat__avatar {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--ac);
}

.lp-chat__avatar svg {
  display: block;
}

.lp-chat__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.4;
}

.lp-chat__sender {
  font-size: 14px;
  font-weight: 700;
}

.lp-chat__time {
  color: var(--tx3);
  font-size: 12px;
}

.lp-chat__text {
  margin-top: 4px;
  color: var(--tx);
  font-size: 14px;
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: anywhere;
}

.lp-chat__text strong {
  font-weight: 700;
}

/* 導入の流れ: STEP の番号は差し色の地、各 STEP に管理画面の写真 */
.lp-step > .lp-chip {
  border-color: var(--sub);
  background: var(--sub);
  color: var(--tx);
}

.lp-flow__list--shots .lp-step {
  gap: 10px;
  padding: 40px 20px 28px;
}

.lp-step__shot {
  width: 100%;
  margin-bottom: 14px;
}

.lp-step__shot .lp-device__body {
  box-shadow: 0 12px 24px rgba(26, 33, 30, 0.12);
}

.lp-flow__list--shots .lp-step h3 {
  margin-top: 0;
}

@media (max-width: 767px) {
  .lp-flow__list--shots .lp-step {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 16px 20px;
  }

  .lp-flow__list--shots .lp-step > .lp-chip {
    align-self: flex-start;
  }

  .lp-step__shot {
    margin: 4px 0 8px;
  }

  .lp-chat__msg {
    padding: 14px 14px 16px;
  }
}
