@charset "UTF-8";
/* ==========================================================================
   LP（page-lp.php 専用）
   --------------------------------------------------------------------------
   ブレイクポイント（Figma: container/width/lg=1024, md=768 を基準）
     PC      : 1024px 以上（デザイン基準 1440px）
     Tablet  : 768px 〜 1023px   → @media (max-width: 1023px)
     SP      : 767px 以下         → @media (max-width: 767px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens（Figma Variables 準拠）
   -------------------------------------------------------------------------- */
:root {
  /* color / base */
  --lp-color-primary: #0b6cd9;
  --lp-color-secondary: #05be51;
  --lp-color-white: #ffffff;

  /* color / text */
  --lp-color-text: #053266;
  --lp-color-text-secondary: #4c6684;
  --lp-color-text-inverse: #ffffff;

  /* color / background */
  --lp-bg-default: #ffffff;
  --lp-bg-secondary: #d2f0fe;
  --lp-bg-tertiary: #f4fbfd;
  --lp-bg-accent: #fee761;

  /* color / border */
  --lp-border-default: #d7d7d7;
  --lp-border-secondary: #bedfee;

  /* font / family */
  --lp-font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --lp-font-en: "Inter", var(--lp-font-ja);

  /* font / weight */
  --lp-fw-regular: 400;
  --lp-fw-medium: 500;
  --lp-fw-bold: 700;

  /* font / size（PC値。Tablet/SPはセクション側で調整） */
  --lp-fs-12: 12px;
  --lp-fs-14: 14px;
  --lp-fs-16: 16px;
  --lp-fs-18: 18px;
  --lp-fs-20: 20px;
  --lp-fs-24: 24px;
  --lp-fs-32: 32px;
  --lp-fs-40: 40px;

  /* line-height */
  --lp-lh-base: 1.5;

  /* spacing */
  --lp-space-40: 40px;
  --lp-space-64: 64px;
  --lp-space-96: 96px;
  --lp-space-160: 160px;

  /* container */
  --lp-container: 1024px;
  --lp-container-md: 768px;
  --lp-gutter: 80px;

  /* shadow */
  --lp-shadow-card: 0 2px 8px 0 var(--lp-bg-secondary);
}

@media (max-width: 1023px) {
  :root {
    --lp-gutter: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --lp-gutter: 16px;
  }
}

/* --------------------------------------------------------------------------
   Reset（LP内のみ）
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

/* layzr による遅延読み込み前（src 未設定）の枠線を出さない */
img:not([src]) {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body.lp {
  font-family: var(--lp-font-ja);
  font-size: var(--lp-fs-16);
  font-weight: var(--lp-fw-regular);
  line-height: var(--lp-lh-base);
  color: var(--lp-color-text);
  background: var(--lp-bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: normal; /* 文字詰め（palt）はしない */
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.lp-container {
  width: 100%;
  max-width: calc(var(--lp-container) + var(--lp-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--lp-gutter);
}

/* 幅狭コンテナ（Figma: container/width/md = 768） */
.lp-container--md {
  max-width: calc(var(--lp-container-md) + var(--lp-gutter) * 2);
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.lp-en {
  font-family: var(--lp-font-en);
}

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

/* 表示切り替え */
.lp-only-sp {
  display: none;
}

@media (max-width: 767px) {
  .lp-only-pc {
    display: none;
  }
  .lp-only-sp {
    display: revert;
  }
}

.lp-icon {
  display: block;
  flex-shrink: 0;
}

/* ==========================================================================
   Button（電話 / LINE）
   ========================================================================== */
.lp-btn {
  --u: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(280 * var(--u));
  height: calc(64 * var(--u));
  padding: 0 calc(24 * var(--u)) 0 calc(32 * var(--u));
  border-radius: 999px;
  font-size: calc(20 * var(--u));
  font-weight: var(--lp-fw-bold);
  line-height: 1.2; /* Figma: auto */
  transition: opacity 0.3s;
}

.lp-btn__icon {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
}

.lp-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
}

.lp-btn__arrow .lp-icon {
  width: auto;
  height: calc(12 * var(--u));
}

.lp-btn--tel {
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-secondary);
}

.lp-btn--line {
  color: var(--lp-color-secondary);
  background: var(--lp-color-white);
  border: 2px solid var(--lp-color-secondary);
}

@media (hover: hover) {
  .lp-btn:hover {
    opacity: 0.8;
  }
}

/* ==========================================================================
   Hero（ファーストビュー）
   PC/Tablet: デザイン(1440px)基準の寸法を --u で比例縮小（最小0.75）
   ========================================================================== */
.lp-hero {
  --u: clamp(0.75px, calc(100vw / 1440), 1px);
  /* cqw = .lp-hero の幅（写真内に置いた料金バッジからも hero 基準で計算するため） */
  --hero-left: max(var(--lp-gutter), calc((100cqw - 1200 * var(--u)) / 2));
  position: relative;
  container-type: inline-size;
  background: var(--lp-bg-tertiary);
}

.lp-hero__inner {
  min-height: calc(720 * var(--u));
  padding: calc(104.5 * var(--u)) var(--lp-gutter) calc(103.5 * var(--u)) var(--hero-left);
}

/* 写真より前面に（料金バッジの配置基準は .lp-hero のまま） */
.lp-hero__badges,
.lp-hero__copy,
.lp-hero__buttons,
.lp-hero__tel {
  position: relative;
  z-index: 2;
}

/* バッジ */
.lp-hero__badges {
  display: flex;
  align-items: flex-end;
  gap: calc(8 * var(--u));
}

/* No.1 とほかの2バッジの間だけ16pxあける（完全無料相談・遺品整理士協会認定は8px） */
.lp-hero__badge--free {
  margin-left: calc(8 * var(--u));
}

.lp-hero__badge {
  width: calc(144 * var(--u));
}

.lp-hero__badge--wide {
  width: calc(245 * var(--u));
}

.lp-hero__badge img {
  width: 100%;
}

/* 見出し・リード */
.lp-hero__copy {
  margin-top: calc(24 * var(--u));
  filter: drop-shadow(0 0 calc(8 * var(--u)) #fff);
}

.lp-hero__title {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--u));
  line-height: 1.2;
  white-space: nowrap;
}

.lp-hero__title-line {
  display: block;
}

.lp-hero__title-s {
  font-size: calc(48 * var(--u));
  font-weight: var(--lp-fw-bold);
  color: var(--lp-color-text);
}

.lp-hero__title-l {
  font-size: calc(56 * var(--u));
  font-weight: 900;
  color: var(--lp-color-primary);
}

.lp-hero__lead {
  margin-top: calc(16 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: var(--lp-fw-bold);
  line-height: 1.2; /* Figma: auto */
}

/* 写真 */
.lp-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 77.43%; /* 1115 / 1440 */
  height: 100%;
}

.lp-hero__photo-img {
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38.16%); /* 425.5 / 1115 */
  mask-image: linear-gradient(to right, transparent 0, #000 38.16%);
}

.lp-hero__photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 50%;
}

/* CTA */
.lp-hero__cta {
  margin-top: calc(32 * var(--u));
}

.lp-hero__buttons {
  display: flex;
  gap: calc(8 * var(--u));
}

.lp-hero__buttons .lp-btn {
  --u: inherit;
}

.lp-hero__tel {
  display: flex;
  align-items: center;
  gap: calc(24 * var(--u));
  margin-top: calc(16 * var(--u));
}

.lp-hero__tel-number {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-family: var(--lp-font-en);
  font-size: calc(32 * var(--u));
  font-weight: var(--lp-fw-bold);
  line-height: 1.2;
  white-space: nowrap;
}

.lp-hero__tel-number .lp-icon {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
}

.lp-hero__tel-hours {
  font-size: calc(16 * var(--u));
  font-weight: var(--lp-fw-bold);
  line-height: 1.2; /* Figma: auto */
  white-space: nowrap;
}

/* 料金バッジ */
.lp-hero__price {
  position: absolute;
  right: calc(var(--hero-left) - 38.3 * var(--u));
  bottom: calc(-9 * var(--u));
  z-index: 3;
  width: calc(372.3 * var(--u));
}

.lp-hero__price img {
  width: 100%;
}

/* 波 */
.lp-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(83 * var(--u));
  background: url("../img/hero/hero-wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

@media (min-width: 1441px) {
  .lp-hero__photo {
    width: calc(1115px + (100% - 1440px) / 2);
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  /* 人物4人が収まる幅を確保（元画像の横22%〜を表示：540u × 1.549 × 0.78 ≒ 870u） */
  .lp-hero__photo {
    width: max(62%, calc(870 * var(--u)));
  }

  .lp-hero__photo-img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%);
    mask-image: linear-gradient(to right, transparent 0, #000 20%);
  }

  /* 新しい写真は人物3名が中央寄りに配置されているため、全員が収まる位置に調整 */
  .lp-hero__photo-img img {
    object-position: 30% 50%;
  }

  /* 写真と重なる範囲が広いため白フチを強める */
  .lp-hero__copy,
  .lp-hero__tel {
    filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #fff);
  }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .lp-hero {
    padding-bottom: 16px;
  }

  .lp-hero__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px var(--lp-gutter) 0;
    text-align: center;
  }

  /* No.1 リボンが完全無料相談・遺品整理士協会認定の下に少し重なるレイアウト */
  .lp-hero__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    justify-items: center;
    max-width: 280px;
    margin-inline: auto;
  }

  .lp-hero__badge {
    width: 100%;
    max-width: 148px;
  }

  .lp-hero__badge--free {
    grid-column: 1;
    grid-row: 1;
    margin-left: 0;
    z-index: 1;
  }

  .lp-hero__badge:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
  }

  .lp-hero__badge--wide {
    grid-column: 1 / 3;
    grid-row: 2;
    max-width: none;
    width: 75%;
    margin-top: -14px;
    z-index: 0;
  }

  .lp-hero__copy {
    margin-top: 12px;
    filter: none;
  }

  .lp-hero__title {
    gap: 4px;
  }

  .lp-hero__title-s {
    font-size: min(6.2vw, 35px);
  }

  .lp-hero__title-l {
    font-size: min(7.2vw, 40px);
  }

  .lp-hero__lead {
    margin-top: 8px;
    font-size: clamp(13px, 4.2vw, 20px);
  }

  .lp-hero__photo {
    position: relative;
    width: auto;
    height: auto;
    margin: 8px calc(var(--lp-gutter) * -1) 0;
  }

  /* 上端は背景色へグラデーションでなじませる */
  .lp-hero__photo-img {
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  }

  /* 人物3名が中央に収まるよう左右を均等にトリミング（人物は元画像の横31〜73%あたりに配置） */
  .lp-hero__photo-img img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-position: 56% 50%;
  }

  /* 波：写真の下端に配置 */
  .lp-hero__photo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 1;
    height: 32px;
    background: url("../img/hero/hero-wave.svg") center / 100% 100% no-repeat;
  }

  .lp-hero__cta {
    width: 100%;
    max-width: 480px;
    margin: 20px auto 0;
  }

  .lp-hero__buttons {
    flex-direction: column;
    gap: 8px;
  }

  .lp-hero__buttons .lp-btn {
    --u: 1px;
    width: 100%;
    height: 56px;
    padding: 0 20px 0 24px;
    font-size: 18px;
  }

  .lp-hero__tel {
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
  }

  .lp-hero__tel-number {
    gap: 6px;
    font-size: min(8.5vw, 36px);
  }

  .lp-hero__tel-number .lp-icon {
    width: 0.9em;
    height: 0.9em;
  }

  .lp-hero__tel-hours {
    font-size: min(4vw, 16px);
  }

  /* 料金バッジ：写真の右下 */
  .lp-hero__price {
    right: 8px;
    bottom: 10px;
    width: 58%;
    max-width: 280px;
  }

  .lp-hero__wave {
    display: none;
  }
}

/* ==========================================================================
   Section title（共通）
   --left  : 英字ラベル右に線（TROUBLE）
   --center: 英字ラベル両側に線（REASON 等）
   ========================================================================== */
.lp-sec-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-sec-title__en {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--lp-font-en);
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  letter-spacing: 0.3em;
  color: var(--lp-color-primary);
}

.lp-sec-title__en::before,
.lp-sec-title__en::after {
  content: "";
  flex-shrink: 0;
  height: 2px;
  background: var(--lp-color-primary);
}

.lp-sec-title__ja {
  font-size: 40px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-text);
}

.lp-sec-title__ja .is-accent {
  color: var(--lp-color-primary);
}

.lp-sec-title--left {
  align-items: flex-start;
}

.lp-sec-title--left .lp-sec-title__en::before {
  display: none;
}

.lp-sec-title--left .lp-sec-title__en::after {
  width: 64px;
}

.lp-sec-title--center {
  align-items: center;
  text-align: center;
}

.lp-sec-title--center .lp-sec-title__en::before,
.lp-sec-title--center .lp-sec-title__en::after {
  width: 40px;
}

@media (max-width: 767px) {
  .lp-sec-title {
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .lp-sec-title__en {
    gap: 16px;
    font-size: 14px;
  }

  .lp-sec-title__en::before,
  .lp-sec-title__en::after {
    width: 32px;
  }

  .lp-sec-title--left .lp-sec-title__en::before {
    display: block;
    width: 40px;
  }

  .lp-sec-title--left .lp-sec-title__en::after,
  .lp-trouble .lp-sec-title__en::before {
    width: 40px;
  }

  .lp-sec-title__ja {
    font-size: clamp(20px, 6.4vw, 32px);
  }
}

/* ==========================================================================
   Trouble（お悩み）
   ========================================================================== */
.lp-trouble {
  position: relative;
  padding: 96px 0 160px;
  background-color: var(--lp-bg-tertiary);
  background-image:
    linear-gradient(180deg, #f4fbfd 0%, rgba(244, 251, 253, 0) 17.291%),
    linear-gradient(90deg, #f4fbfd 29.306%, rgba(244, 251, 253, 0) 53.75%),
    url("../img/trouble/trouble-bg.jpg");
  background-image:
    linear-gradient(180deg, #f4fbfd 0%, rgba(244, 251, 253, 0) 17.291%),
    linear-gradient(90deg, #f4fbfd 29.306%, rgba(244, 251, 253, 0) 53.75%),
    image-set(url("../img/trouble/trouble-bg.webp") type("image/webp"), url("../img/trouble/trouble-bg.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 波 */
.lp-trouble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 83px;
  background: url("../img/trouble/trouble-wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.lp-trouble__photo {
  display: none;
}

.lp-trouble__list {
  width: 483px;
  max-width: 100%;
  margin-top: 32px;
  padding: 8px 16px;
  background: var(--lp-color-white);
  border-radius: 8px;
  box-shadow: 0 4px 16px 0 var(--lp-bg-secondary);
}

.lp-trouble__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  font-size: 18px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
}

.lp-trouble__item + .lp-trouble__item {
  border-top: 1px solid var(--lp-border-secondary);
}

.lp-trouble__item .lp-icon {
  width: 32px;
  height: 32px;
  color: var(--lp-color-primary);
}

/* 締めのコピー（Figma: 4.38° 傾け） */
.lp-trouble__closing {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  /* 回転後の外接矩形がリストから32px（32 + 281 × sin4.38° ≒ 53.5） */
  margin-top: 53.5px;
  padding-bottom: 18px;
  font-size: 24px;
  font-weight: var(--lp-fw-bold);
  line-height: 1;
  color: var(--lp-color-primary);
  transform: rotate(-4.38deg);
  transform-origin: left top;
}

.lp-trouble__closing::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 281px;
  height: 2px;
  background: linear-gradient(90deg, rgba(11, 108, 217, 0) 0%, #0b6cd9 25%, #0b6cd9 75%, rgba(11, 108, 217, 0) 100%);
}

.lp-trouble__closing-line {
  display: block;
  white-space: nowrap;
}

.lp-trouble__closing-num {
  font-family: var(--lp-font-en);
  font-size: 40px;
  font-weight: var(--lp-fw-medium);
}

/* ---------- Tablet / SP：縦積み（見出し → 写真 → カード → 締め） ---------- */
@media (max-width: 1023px) {
  .lp-trouble {
    padding: 64px 0 96px;
    background-image: none;
  }

  .lp-trouble .lp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lp-trouble .lp-sec-title {
    align-items: center;
    text-align: center;
  }

  /* 中央揃え時は英字ラベルの両側に線 */
  .lp-trouble .lp-sec-title__en::before {
    display: block;
    width: 64px;
  }

  .lp-trouble__photo {
    position: relative;
    display: block;
    align-self: stretch;
    margin: 24px calc(var(--lp-gutter) * -1) 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 76%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 76%, transparent 100%);
  }

  /* 夫婦（元画像の横44〜98%）を中央に */
  .lp-trouble__photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 100% 30%;
  }

  .lp-trouble__list {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    margin-top: -200px;
  }

  .lp-trouble__closing {
    align-items: center;
    margin-top: 48px;
    transform-origin: center;
  }

  .lp-trouble__closing::after {
    left: 50%;
    width: 110%;
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .lp-trouble {
    padding: 32px 0 72px;
  }

  .lp-trouble::after {
    height: 32px;
  }

  .lp-trouble__photo {
    margin-top: 16px;
  }

  .lp-trouble__list {
    margin-top: -40%;
    padding: 4px 8px;
  }

  .lp-trouble__item {
    padding: 12px 0;
    font-size: clamp(13px, 4vw, 16px);
  }

  .lp-trouble__item .lp-icon {
    width: 24px;
    height: 24px;
  }

  .lp-trouble__closing {
    margin-top: 40px;
    padding-bottom: 14px;
    font-size: 20px;
  }

  .lp-trouble__closing-num {
    font-size: 32px;
  }
}

@media (max-width: 599px) {
  .lp-trouble__photo img {
    aspect-ratio: 11 / 10;
    object-position: 96% 30%;
  }
}

/* ==========================================================================
   Reason（選ばれる理由）
   ========================================================================== */
.lp-reason {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--lp-bg-tertiary) 0%, var(--lp-bg-default) 100%);
}

.lp-reason__slider {
  margin-top: 32px;
}

.lp-reason__list {
  display: flex;
  gap: 16px;
}

.lp-reason__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--lp-color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 var(--lp-bg-secondary);
}

.lp-reason__img img {
  width: 100%;
  aspect-ratio: 330.7 / 240;
  object-fit: cover;
}

.lp-reason__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.lp-reason__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
}

.lp-reason__title::after {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--lp-color-primary);
}

.lp-reason__text {
  font-size: 14px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
}

/* スライダーのドット（SP のみ表示） */
.lp-slider-dots {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.lp-slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lp-border-secondary);
  transition: background-color 0.3s;
}

.lp-slider-dots button[aria-current="true"] {
  background: var(--lp-color-primary);
}

/* ---------- Tablet：縦1列・写真左／テキスト右 ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-reason__list {
    flex-direction: column;
  }

  .lp-reason__card {
    flex-direction: row;
  }

  /* 写真はテキストの高さに合わせて切り抜く（高さに影響させない） */
  .lp-reason__img {
    position: relative;
    flex: 0 0 40%;
  }

  .lp-reason__img img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .lp-reason__body {
    flex: 1;
    justify-content: center;
    padding: 24px;
  }
}

/* ---------- SP：スライダー ---------- */
@media (max-width: 767px) {
  .lp-reason {
    padding: 56px 0 28px;
  }

  .lp-reason__slider {
    margin-top: 24px;
  }

  .lp-reason__list {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    margin-inline: calc(var(--lp-gutter) * -1);
    padding: 4px var(--lp-gutter) 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--lp-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .lp-reason__list::-webkit-scrollbar {
    display: none;
  }

  .lp-reason__card {
    flex: 0 0 min(86%, 320px);
    scroll-snap-align: start;
  }

  .lp-reason__img img {
    aspect-ratio: 330.7 / 240;
  }

  /* 見出しの最長行（14文字）がカード幅に収まるサイズ */
  .lp-reason__title {
    gap: 12px;
    font-size: clamp(14px, 4.4vw, 17px);
  }

  .lp-reason .lp-slider-dots {
    display: flex;
  }
}

/* ==========================================================================
   CTA（電話・LINEボタン＋電話番号 / 中央揃えの共通パーツ）
   ========================================================================== */
.lp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.lp-cta__tel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-cta__tel-number {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--lp-font-en);
  font-size: 32px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.2;
  white-space: nowrap;
}

.lp-cta__tel-number .lp-icon {
  width: 32px;
  height: 32px;
}

.lp-cta__tel-hours {
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.2; /* Figma: auto */
  white-space: nowrap;
}

@media (max-width: 767px) {
  .lp-cta {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    gap: 20px;
  }

  .lp-cta__buttons {
    flex-direction: column;
    align-self: stretch;
  }

  .lp-cta__buttons .lp-btn {
    width: 100%;
    height: 56px;
    padding: 0 20px 0 24px;
    font-size: 18px;
  }

  .lp-cta__tel {
    flex-direction: column;
    gap: 4px;
  }

  .lp-cta__tel-number {
    gap: 6px;
    font-size: min(8.5vw, 36px);
  }

  .lp-cta__tel-number .lp-icon {
    width: 0.9em;
    height: 0.9em;
  }

  .lp-cta__tel-hours {
    font-size: min(4vw, 16px);
  }
}

/* ==========================================================================
   Campaign（初回限定キャンペーン）
   ========================================================================== */
.lp-campaign {
  padding: 40px 0;
  background: var(--lp-bg-default);
}

.lp-campaign__banner {
  position: relative;
  margin-top: 32px;
  padding: 30px 22px; /* Figma: 32/24（線は内側2px） */
  overflow: hidden;
  background: var(--lp-bg-tertiary);
  border: 2px solid var(--lp-border-secondary);
  border-radius: 16px;
  box-shadow: 0 2px 11px 0 var(--lp-bg-secondary);
}

/* 右側の写真 ＋ 左へのフェード */
.lp-campaign__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 41.5%; /* 425 / 1024 */
  height: 100%;
}

.lp-campaign__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.lp-campaign__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f4fbfd 57.861%, rgba(244, 251, 253, 0) 74.658%);
  pointer-events: none;
}

.lp-campaign__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.lp-campaign__medal {
  flex-shrink: 0;
  width: 172px;
}

.lp-campaign__lead {
  font-size: 40px;
  font-weight: var(--lp-fw-bold);
  line-height: 1;
}

.lp-campaign__off {
  display: flex;
  align-items: baseline;
  font-family: var(--lp-font-en);
  font-weight: var(--lp-fw-bold);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.lp-campaign__off-num,
.lp-campaign__off-txt {
  font-size: 128px;
}

.lp-campaign__off-pct {
  font-size: 80px;
}

.lp-campaign__off-txt {
  color: var(--lp-color-primary);
}

.lp-campaign__note {
  font-size: 16px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
}

.lp-campaign__cta {
  margin-top: 32px;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-campaign__medal {
    width: clamp(120px, 15vw, 150px);
    margin-right: 8px;
  }

  .lp-campaign__lead {
    font-size: clamp(28px, 3.6vw, 34px);
  }

  .lp-campaign__off-num,
  .lp-campaign__off-txt {
    font-size: clamp(88px, 11vw, 108px);
  }

  .lp-campaign__off-pct {
    font-size: clamp(55px, 6.9vw, 68px);
  }

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

  .lp-campaign__note .lp-only-sp {
    display: revert;
  }

  /* 文字と写真が重ならないよう写真を右端に寄せる */
  .lp-campaign__bg {
    width: 34%;
  }

  .lp-campaign__banner::after {
    background: linear-gradient(90deg, #f4fbfd 66%, rgba(244, 251, 253, 0) 86%);
  }
}

/* ---------- SP：縦積み・中央揃え ---------- */
@media (max-width: 767px) {
  .lp-campaign {
    padding: 28px 0;
  }

  .lp-campaign__banner {
    margin-top: 24px;
    padding: 22px 14px;
  }

  /* 写真はバナー下側にうっすら */
  .lp-campaign__bg {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 60%;
  }

  .lp-campaign__bg img {
    object-position: center 60%;
  }

  .lp-campaign__banner::after {
    background: linear-gradient(180deg, #f4fbfd 40%, rgba(244, 251, 253, 0.6) 100%);
  }

  .lp-campaign__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .lp-campaign__medal {
    width: 96px;
  }

  .lp-campaign__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

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

  .lp-campaign__off-num,
  .lp-campaign__off-txt {
    font-size: min(19vw, 72px);
  }

  .lp-campaign__off-pct {
    font-size: min(12vw, 45px);
  }

  .lp-campaign__note {
    margin-top: 4px;
    font-size: clamp(12px, 3.7vw, 14px);
  }

  .lp-campaign__cta {
    margin-top: 24px;
  }
}

/* ==========================================================================
   Service（サービス紹介）
   ========================================================================== */
.lp-service {
  position: relative;
  padding: 40px 0 160px;
  background: var(--lp-bg-default);
}

.lp-service::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 83px;
  background: url("../img/service/service-wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.lp-service__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.lp-service__lead {
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
  text-align: center;
}

.lp-service__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.lp-service__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: var(--lp-color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 var(--lp-bg-secondary);
}

.lp-service__img img {
  width: 100%;
  aspect-ratio: 298.7 / 120;
  object-fit: cover;
  border-radius: 8px;
}

.lp-service__name {
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
}

/* カード幅が狭い時だけ「・」の後で改行 */
.lp-service__br {
  display: none;
}

@media (max-width: 900px) {
  .lp-service__br {
    display: inline;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-service__name {
    font-size: 16px;
  }
}

/* ---------- SP：2列 ---------- */
@media (max-width: 767px) {
  .lp-service {
    padding: 28px 0 64px;
  }

  .lp-service::after {
    height: 32px;
  }

  .lp-service__lead {
    font-size: 16px;
  }

  .lp-service__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .lp-service__card {
    gap: 8px;
    padding: 8px 8px 12px;
    border-radius: 12px;
  }

  .lp-service__img img {
    border-radius: 6px;
  }

  .lp-service__name {
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.4;
  }
}

/* ==========================================================================
   Price（料金の目安）
   ========================================================================== */
.lp-price {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--lp-bg-tertiary) 0%, var(--lp-bg-default) 100%);
}

.lp-price__tabs {
  margin-top: 32px;
}

.lp-price__tablist {
  display: flex;
  padding: 4px;
  background: var(--lp-color-white);
  border: 1px solid var(--lp-border-default);
  border-radius: 999px;
}

.lp-price__tab {
  flex: 1;
  min-width: 0;
  padding: 16px 8px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}

.lp-price__tab[aria-selected="false"] {
  opacity: 0.5;
}

.lp-price__tab[aria-selected="true"] {
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-primary);
}

@media (hover: hover) {
  .lp-price__tab[aria-selected="false"]:hover {
    opacity: 1;
  }
}

.lp-price__panel {
  margin-top: 8px;
}

.lp-price__table {
  width: 100%;
  overflow: hidden;
  background: var(--lp-color-white);
  border: 1px solid var(--lp-border-default);
  border-collapse: separate;
  border-radius: 8px;
  table-layout: fixed;
  text-align: center;
}

.lp-price__table th {
  padding: 16px 8px;
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-primary);
}

.lp-price__table th:nth-child(1) { width: 22.22%; } /* 227.1 / 1022 */
.lp-price__table th:nth-child(2) { width: 33.34%; } /* 340.7 / 1022 */

.lp-price__table td {
  height: 64px;
  padding: 8px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  vertical-align: middle;
}

.lp-price__table tr + tr td {
  border-top: 1px solid var(--lp-border-default);
}

.lp-price__plan {
  font-family: var(--lp-font-en);
  font-size: 18px;
}

.lp-price__time {
  font-size: 18px;
}

.lp-price__yen {
  color: var(--lp-color-primary);
  white-space: nowrap;
}

.lp-price__num {
  font-family: var(--lp-font-en);
  font-size: 32px;
}

.lp-price__unit {
  font-size: 18px;
}

.lp-price__note {
  margin-top: 32px;
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  text-align: center;
}

/* LINE見積りバナー */
.lp-line-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 16px 24px;
  background: rgba(5, 155, 82, 0.04);
  border: 1px solid var(--lp-color-secondary);
  border-radius: 16px;
}

.lp-line-banner__icon {
  width: 80px;
  height: 80px;
  color: var(--lp-color-secondary);
}

.lp-line-banner__title {
  display: flex;
  align-items: baseline;
  font-size: 24px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.2;
  white-space: nowrap;
}

.lp-line-banner__em {
  color: var(--lp-color-secondary);
}

.lp-line-banner__em--l {
  font-family: var(--lp-font-en);
  font-size: 40px;
}

.lp-line-banner__desc {
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
}

.lp-btn--line-fill {
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-secondary);
  border: 2px solid var(--lp-color-secondary);
}

.lp-line-banner__btn {
  flex-shrink: 0;
}

.lp-line-banner__phone {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 204px;
}

.lp-line-banner__phone img {
  width: 100%;
}

/* バナー幅が1024px未満になる幅ではスマホ画像を出さない（ボタンと重なるため） */
@media (max-width: 1239px) {
  .lp-line-banner {
    justify-content: center;
  }

  .lp-line-banner__phone {
    display: none;
  }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-price__tab {
    font-size: 16px;
  }

  .lp-price__plan,
  .lp-price__time {
    font-size: 16px;
  }

  .lp-price__num {
    font-size: 28px;
  }

  .lp-price__unit {
    font-size: 16px;
  }

  .lp-line-banner {
    gap: 16px;
  }

  .lp-line-banner__icon {
    width: 56px;
    height: 56px;
  }

  .lp-line-banner__text {
    flex: 1;
    min-width: 0;
  }

  .lp-line-banner__title {
    font-size: clamp(16px, 2.1vw, 22px);
  }

  .lp-line-banner__em--l {
    font-size: 1.5em;
  }

  .lp-line-banner__desc {
    font-size: clamp(14px, 1.7vw, 16px);
  }

  .lp-line-banner__btn {
    gap: 8px;
    width: auto;
    height: 56px;
    padding: 0 20px;
    font-size: clamp(16px, 2vw, 18px);
    white-space: nowrap;
  }

  .lp-line-banner__btn .lp-btn__arrow {
    width: 16px;
  }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .lp-price {
    padding: 56px 0 28px;
  }

  .lp-price__tabs {
    margin-top: 24px;
  }

  .lp-price__tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border-radius: 16px;
  }

  .lp-price__tab {
    padding: 10px 4px;
    border-radius: 12px;
    font-size: clamp(12px, 3.8vw, 15px);
  }

  .lp-price__table th {
    padding: 10px 4px;
    font-size: clamp(13px, 2.4vw, 16px);
  }

  .lp-price__table th:nth-child(1) { width: 29%; }
  .lp-price__table th:nth-child(2) { width: 33%; }

  .lp-price__table td {
    height: 52px;
    padding: 6px 4px;
  }

  .lp-price__plan {
    padding-inline: 2px;
    font-size: clamp(12px, 2.2vw, 16px);
    white-space: nowrap;
  }

  .lp-price__time {
    font-size: clamp(11px, 3.5vw, 16px);
  }

  .lp-price__num {
    font-size: clamp(17px, 5.4vw, 28px);
  }

  .lp-price__unit {
    font-size: clamp(12px, 2.1vw, 16px);
  }

  .lp-price__note {
    margin-top: 16px;
    font-size: clamp(13px, 4vw, 16px);
  }

  .lp-line-banner {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding: 19px 15px;
  }

  .lp-line-banner__icon {
    position: absolute;
    top: 19px;
    left: 15px;
    width: 48px;
    height: 48px;
  }

  .lp-line-banner__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: stretch;
  }

  .lp-line-banner__title {
    min-height: 48px;
    padding-left: 56px;
    align-items: center;
    flex-wrap: wrap;
    font-size: clamp(15px, 4.6vw, 20px);
    line-height: 1.4;
    white-space: normal;
  }

  .lp-line-banner__title > * {
    white-space: nowrap;
  }

  .lp-line-banner__em--l {
    font-size: 1.5em;
    line-height: 1;
  }

  .lp-line-banner__desc {
    font-size: clamp(13px, 3.9vw, 15px);
  }

  .lp-line-banner__btn {
    position: relative;
    justify-content: center;
    width: 100%;
    height: 56px;
    padding: 0 20px 0 24px;
    font-size: 18px;
  }

  .lp-line-banner__btn .lp-btn__arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  .lp-line-banner__phone {
    display: none;
  }
}

/* ==========================================================================
   Case study（作業事例）
   ========================================================================== */
.lp-case {
  position: relative;
  padding: 40px 0 160px;
  background: var(--lp-bg-default);
}

.lp-case::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 83px;
  background: url("../img/service/service-wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.lp-case__slider {
  margin-top: 32px;
}

.lp-case__list {
  display: flex;
  gap: 16px;
}

.lp-case__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--lp-color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 var(--lp-bg-secondary);
}

.lp-case__name {
  padding: 16px;
  font-size: 18px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-primary);
}

.lp-case__work {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px 16px;
}

.lp-case__tag {
  padding: 4px 8px;
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  background: var(--lp-bg-secondary);
  border-radius: 999px;
}

.lp-case__info {
  font-size: 16px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
  color: var(--lp-color-text-secondary);
}

.lp-case__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px;
}

.lp-case__photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.lp-case__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lp-case__label {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 4px 8px;
  font-family: var(--lp-font-en);
  font-size: 12px;
  font-weight: var(--lp-fw-medium);
  line-height: 1;
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-text-secondary);
  border-radius: 8px;
}

.lp-case__photo--after .lp-case__label {
  background: var(--lp-color-primary);
}

.lp-case__review {
  padding: 16px;
}

.lp-case__review-head {
  padding: 8px;
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
  background: var(--lp-bg-secondary);
  border-radius: 4px 4px 0 0;
}

.lp-case__review-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: var(--lp-bg-tertiary);
  border-radius: 0 0 4px 4px;
}

.lp-case__stars {
  display: flex;
}

.lp-case__stars .lp-icon {
  width: 16px;
  height: 16px;
  color: var(--lp-border-default);
}

.lp-case__stars .lp-icon.is-on {
  color: #ffda00;
}

.lp-case__voice {
  font-size: 14px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
}

/* ---------- Tablet：縦積み・横長カード（写真左／情報・声 右） ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .lp-case {
    padding-bottom: 120px;
  }

  .lp-case__list {
    flex-direction: column;
  }

  .lp-case__card {
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    grid-template-areas:
      "name   name"
      "photos work"
      "photos review";
    grid-template-rows: auto auto 1fr;
  }

  .lp-case__name {
    grid-area: name;
    padding: 12px 24px;
  }

  .lp-case__photos {
    grid-area: photos;
    align-self: start;
    padding: 16px 0 16px 24px;
  }

  .lp-case__work {
    grid-area: work;
    padding: 16px 24px 0 16px;
  }

  .lp-case__review {
    grid-area: review;
    padding: 8px 24px 16px 16px;
  }
}

/* ---------- SP：スライダー ---------- */
@media (max-width: 767px) {
  .lp-case__list {
    gap: 16px;
    margin-inline: calc(var(--lp-gutter) * -1);
    padding: 4px var(--lp-gutter) 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--lp-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .lp-case__list::-webkit-scrollbar {
    display: none;
  }

  .lp-case__card {
    flex: 0 0 320px;
    scroll-snap-align: start;
  }

  .lp-case .lp-slider-dots {
    display: flex;
  }
}

@media (max-width: 767px) {
  .lp-case {
    padding: 28px 0 64px;
  }

  .lp-case::after {
    height: 32px;
  }

  .lp-case__slider {
    margin-top: 24px;
  }

  .lp-case__list {
    gap: 12px;
  }

  .lp-case__card {
    flex-basis: min(86%, 320px);
  }

  .lp-case__name {
    padding: 12px 16px;
    font-size: 17px;
  }

  .lp-case__info {
    font-size: clamp(13px, 3.9vw, 15px);
  }
}

/* ==========================================================================
   Flow（ご利用の流れ）
   ========================================================================== */
.lp-flow {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--lp-bg-tertiary) 0%, var(--lp-bg-default) 100%);
}

.lp-flow__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
  padding-left: 40px; /* 矢印24px + gap16px */
}

/* 左の縦矢印（Figma: 24 × 可変、先端13.83px） */
.lp-flow__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24px;
  background: linear-gradient(180deg, rgba(11, 108, 217, 0.1) 0%, rgba(11, 108, 217, 0.6) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13.83px), 50% 100%, 0 calc(100% - 13.83px));
}

.lp-flow__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding-left: 24px;
  overflow: hidden;
  background: var(--lp-color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 var(--lp-bg-secondary);
}

.lp-flow__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 88px;
}

.lp-flow__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 0;
}

.lp-flow__title {
  font-size: 20px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
}

.lp-flow__desc {
  font-size: 16px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
  color: var(--lp-color-text-secondary);
}

.lp-flow__photo {
  flex-shrink: 0;
  align-self: stretch;
  width: 160px;
}

.lp-flow__photo img {
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

/* ---------- Tablet（コンテンツ幅が768px未満になる幅） ---------- */
@media (min-width: 768px) and (max-width: 887px) {
  .lp-flow__icon {
    width: 72px;
  }

  .lp-flow__icon img {
    max-width: 72px;
    height: auto;
  }

  .lp-flow__title {
    font-size: 18px;
  }

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

  .lp-flow__photo {
    width: 136px;
  }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .lp-flow {
    padding: 56px 0 28px;
  }

  .lp-flow__list {
    margin-top: 24px;
    padding-left: 24px; /* 矢印12px + gap12px */
  }

  .lp-flow__list::before {
    width: 12px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 50% 100%, 0 calc(100% - 8px));
  }

  .lp-flow__item {
    gap: clamp(8px, 2.6vw, 12px);
    min-height: 0;
    padding: 12px 12px 12px 8px;
  }

  .lp-flow__icon {
    width: clamp(40px, 13vw, 56px);
  }

  .lp-flow__icon img {
    width: auto;
    max-width: 100%;
    max-height: 42px;
  }

  .lp-flow__text {
    padding: 0;
  }

  .lp-flow__title {
    font-size: clamp(14px, 4.4vw, 18px);
    line-height: 1.4;
  }

  .lp-flow__desc {
    font-size: clamp(12px, 3.6vw, 14px);
  }

  .lp-flow__photo {
    display: none;
  }
}

/* ==========================================================================
   FAQ（よくある質問）
   ========================================================================== */
.lp-faq {
  position: relative;
  padding: 40px 0 160px;
  background: var(--lp-bg-default);
}

.lp-faq::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 83px;
  background: url("../img/service/service-wave.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.lp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
}

.lp-faq__item {
  overflow: hidden;
  background: var(--lp-color-white);
  border: 1px solid var(--lp-border-secondary);
  border-radius: 8px;
}

.lp-faq__q,
.lp-faq__a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.lp-faq__q {
  min-height: 56px;
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-primary);
  cursor: pointer;
  list-style: none;
}

.lp-faq__q::-webkit-details-marker {
  display: none;
}

.lp-faq__q:focus-visible {
  outline: 3px solid var(--lp-bg-accent);
  outline-offset: -3px;
}

.lp-faq__a {
  overflow: hidden;
  background: var(--lp-bg-tertiary);
}

.lp-faq__mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--lp-font-en);
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1;
}

.lp-faq__q .lp-faq__mark {
  color: var(--lp-color-primary);
  background: var(--lp-color-white);
}

.lp-faq__a .lp-faq__mark {
  color: var(--lp-color-text-inverse);
  background: var(--lp-color-text);
}

.lp-faq__text {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
}

/* 開閉アイコン（＋ / －） */
.lp-faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.lp-faq__toggle::before,
.lp-faq__toggle::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s;
}

.lp-faq__toggle::after {
  transform: rotate(90deg);
}

.lp-faq__item[open] .lp-faq__toggle::after {
  transform: rotate(0deg);
}

@media (hover: hover) {
  .lp-faq__q:hover {
    opacity: 0.9;
  }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .lp-faq {
    padding: 28px 0 64px;
  }

  .lp-faq::after {
    height: 32px;
  }

  .lp-faq__list {
    margin-top: 24px;
  }

  .lp-faq__q,
  .lp-faq__a {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .lp-faq__q {
    min-height: 0;
  }

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

  .lp-faq__text {
    padding-top: 2px;
    font-size: 15px;
  }

  /* 質問文は文節で折り返す（未対応ブラウザは通常の折り返し） */
  .lp-faq__q .lp-faq__text {
    word-break: auto-phrase;
  }

  .lp-faq__toggle {
    margin-top: 6px;
  }
}

/* ==========================================================================
   Company（会社概要）
   PC/Tablet: 左＝会社名＋情報、右＝写真 / SP: 会社名 → 写真 → 情報
   ========================================================================== */
.lp-company {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--lp-bg-tertiary) 0%, var(--lp-bg-default) 100%);
}

.lp-company__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "name photo"
    "info photo";
  column-gap: 32px;
  row-gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--lp-color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 var(--lp-bg-secondary);
}

.lp-company__name {
  grid-area: name;
  font-size: 24px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
}

.lp-company__info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-company__row {
  display: flex;
  gap: 8px;
  font-size: 16px;
  font-weight: var(--lp-fw-medium);
  line-height: 1.5;
}

.lp-company__row dt {
  flex-shrink: 0;
  width: 120px;
  color: var(--lp-color-text-secondary);
}

.lp-company__row dd {
  min-width: 0;
}

.lp-company__area {
  display: block;
  margin-top: 4px;
  color: var(--lp-color-primary);
}

.lp-company__photo {
  grid-area: photo;
  position: relative;
  min-height: 224px;
}

.lp-company__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  /* 住所（17文字）が1行に収まる幅を文字側に確保し、残りを写真に */
  .lp-company__card {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 24px;
  }

  /* 写真は Figma の比率（472:224）のまま・トリミングしない */
  .lp-company__photo {
    align-self: center;
    min-height: 0;
  }

  .lp-company__photo img {
    position: static;
    height: auto;
    aspect-ratio: 472 / 224;
  }

  .lp-company__row dt {
    width: 96px;
  }

  .lp-company__row dd {
    white-space: nowrap;
  }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .lp-company {
    padding: 56px 0 28px;
  }

  .lp-company__card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "name"
      "photo"
      "info";
    row-gap: 16px;
    margin-top: 24px;
    padding: 20px 16px;
  }

  .lp-company__name {
    font-size: 20px;
    text-align: center;
  }

  .lp-company__photo {
    min-height: 0;
  }

  .lp-company__photo img {
    position: static;
    height: auto;
    aspect-ratio: 472 / 224;
  }

  .lp-company__row {
    font-size: clamp(13px, 3.9vw, 15px);
  }

  .lp-company__row dt {
    width: clamp(84px, 26vw, 104px);
  }
}

/* ==========================================================================
   Contact（問い合わせCTA）
   ========================================================================== */
.lp-contact {
  padding: 40px 0 64px;
  background: var(--lp-bg-default);
}

.lp-contact__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.lp-contact__title {
  font-size: 32px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
  color: var(--lp-color-primary);
}

.lp-contact__lead {
  font-size: 16px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.5;
}

.lp-contact__cta {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .lp-contact {
    padding: 28px 0 56px;
  }

  .lp-contact__title {
    font-size: clamp(20px, 6.9vw, 26px);
    line-height: 1.4;
  }

  .lp-contact__cta {
    margin-top: 24px;
  }
}

/* ==========================================================================
   Fixed CTA（SP 追従）
   ========================================================================== */
.lp-fixed-cta {
  display: none;
}

@media (max-width: 767px) {
  body.lp.is-fixed-cta-show {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .lp-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 8px rgba(5, 50, 102, 0.12);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
  }

  .lp-fixed-cta.is-show {
    transform: translateY(0);
    visibility: visible;
  }

  .lp-fixed-cta__btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 52px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: var(--lp-fw-bold);
    line-height: 1.2; /* Figma: auto */
  }

  .lp-fixed-cta__btn .lp-icon {
    width: 24px;
    height: 24px;
  }

  .lp-fixed-cta__btn--tel {
    color: var(--lp-color-text-inverse);
    background: var(--lp-color-secondary);
  }

  .lp-fixed-cta__btn--line {
    color: var(--lp-color-secondary);
    background: var(--lp-color-white);
    border: 2px solid var(--lp-color-secondary);
  }
}

/* ===== footer ===== */
.lp-footer {
  padding: 64px 0;
  background: var(--lp-color-primary);
}

.lp-footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.lp-footer__logo img {
  display: block;
  width: 240px;
  height: 115px;
}

.lp-footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer__name {
  font-size: 20px;
  font-weight: var(--lp-fw-bold);
  line-height: 1.2; /* Figma: auto */
  color: var(--lp-color-text-inverse);
}

.lp-footer__addr {
  font-size: 14px;
  font-weight: var(--lp-fw-regular);
  line-height: 1.5;
  color: var(--lp-color-text-inverse);
}

.lp-footer__copyright {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #bedfee;
  font-size: 12px;
  font-weight: var(--lp-fw-regular);
  line-height: 1.5;
  text-align: center;
  color: var(--lp-color-text-inverse);
}

@media (max-width: 1023px) and (min-width: 768px) {
  .lp-footer {
    padding: 64px 0;
  }
}

@media (max-width: 767px) {
  .lp-footer {
    padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .lp-footer__top {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .lp-footer__logo img {
    width: 160px;
    height: auto;
  }

  .lp-footer__info {
    align-items: center;
  }

  .lp-footer__name {
    font-size: 18px;
  }

  .lp-footer__addr {
    font-size: clamp(12px, 3.8vw, 13px);
    white-space: nowrap;
  }

  .lp-footer__copyright {
    margin-top: 16px;
    padding-top: 16px;
  }
}

/* ==========================================================================
   セクション出現アニメーション（lp.js の initSectionReveal）
   セクション自体（背景・波の装飾）ではなく、直下のコンテンツラッパーのみ動かす
   ========================================================================== */
.lp-main > section > :first-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.lp-main > section.is-visible > :first-child {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp-main > section > :first-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
