/* =================================================================
   lp-shared.css  ―  LP共通スタイル
   ─────────────────────────────────────────────────────────────────
   このファイルは a-assi-hp と lp-4 の両方で共通して使われる
   ヘッダー・サービスセクションのスタイルをまとめたものです。
   lp-4 側はシンボリックリンクで参照しています。
   このファイルを編集すれば、両プロジェクトに同時に反映されます。
   ─────────────────────────────────────────────────────────────────
   共通化対象：
     .lp-services-section / .lp-services-section-inner / .lp-services-panel
     .lp-services-brand / .lp-services-brand-logo
     .lp-services-grid / .lp-service-card
     .lp-header / .lp-header-brand / .lp-header-logo
     .lp-header-nav / .lp-header-cta / .lp-header-menu-btn
     .lp-site-menu / .cta-card / .cta-section
     .site-footer.lp-service-footer
   共通化しないもの（各プロジェクトの styles.css に残す）：
     .lp-site-menu（実装が全く異なる場合は上書き）
================================================================= */

/* =================================================================
   ベーススタイル（メディアクエリより必ず前に記述すること）
================================================================= */

/* ── サービスセクション ── */

.lp-services-section {
  padding: 72px 0 52px;
  background: #ffffff;
}

.lp-services-brand {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 14px;
  padding-top: 6px;
  height: 100%;
}

.lp-services-brand-logo {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

.lp-services-panel {
  display: grid;
  gap: 19px;
  min-width: 0;
  height: 100%;
}

.lp-services-section-inner {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.58fr);
  gap: 48px;
  align-items: stretch;
}

.lp-services-company,
.lp-services-address {
  margin: 0;
  color: var(--ink);
}

.lp-services-company {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

.lp-services-address {
  font-size: 0.96rem;
  line-height: 1.9;
}

.lp-services-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(198, 210, 226, 0.95);
  overflow: hidden;
}

.lp-service-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lp-service-card:hover {
  background: #f9fbff;
}

.lp-service-card:nth-child(odd) {
  border-right: 1px solid rgba(198, 210, 226, 0.95);
}

.lp-service-card:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(198, 210, 226, 0.95);
}

.lp-service-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 28px;
  object-fit: contain;
}

/* ── ヘッダー ── */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
  padding: 0 max(28px, calc((100vw - 1440px) / 2 + 28px));
  background: #ffffff;
  border-bottom: 1px solid rgba(216, 226, 245, 0.7);
}

.lp-header-brand {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 0;
}

.lp-header-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(52vw, 480px);
  object-fit: contain;
}

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

.lp-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.lp-header-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.lp-header-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink, #1a2035);
  cursor: pointer;
}

.lp-header-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.lp-header.is-menu-open .lp-header-menu-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.lp-header.is-menu-open .lp-header-menu-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 3px;
  margin: 0;
}

.lp-header.is-menu-open .lp-header-menu-btn span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lp-header.is-menu-open .lp-header-menu-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lp-header.is-menu-open {
  border-bottom-color: transparent;
}

/* CTA カード（モバイルメニュー内） */
.lp-header ~ .lp-site-menu .cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 72px;
  flex: 0 0 auto;
  width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.lp-header ~ .lp-site-menu .cta-card-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
}

.lp-header ~ .lp-site-menu .cta-card strong {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
}

.lp-header ~ .lp-site-menu .cta-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2px;
  text-align: center;
}

.lp-header ~ .lp-site-menu .cta-card-image {
  position: absolute;
  left: calc(-16px - 3mm);
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: auto;
  pointer-events: none;
}

.lp-header ~ .lp-site-menu .cta-card-download {
  padding-left: 18px;
  padding-right: 18px;
}

.lp-header ~ .lp-site-menu .cta-card-download .cta-card-text {
  padding-left: 19px;
  padding-right: 19px;
}

.lp-header ~ .lp-site-menu .cta-card-primary {
  color: #15203a;
  background: linear-gradient(135deg, #e9ff63 0%, #e0fb58 100%);
}

.lp-header ~ .lp-site-menu .cta-card-secondary {
  color: #23324d;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(15, 23, 40, 0.08);
}

/* モバイルメニュー（lp-site-menu）*/
.lp-header ~ .lp-site-menu {
  position: fixed;
  inset: auto 0 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  --lp-menu-drag-offset: 0px;
  --lp-menu-drag-expand: 0px;
  transform: translateY(calc(-8px + var(--lp-menu-drag-offset)));
  transform-origin: top center;
  background: #ffffff;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 18px 46px rgba(12, 16, 32, 0.08);
  transition:
    height 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height, transform;
}

.lp-header ~ .lp-site-menu.is-open {
  height: calc(var(--lp-menu-open-height, calc(100svh - 50px)) + var(--lp-menu-drag-expand));
  min-height: 0;
  max-height: calc((100svh - 50px) * 1.2);
  pointer-events: auto;
  transform: translateY(var(--lp-menu-drag-offset));
  border-top: 1px solid rgba(216, 226, 245, 0.95);
}

.lp-header ~ .lp-site-menu.is-dragging {
  transition: none;
}

.lp-header ~ .lp-site-menu .lp-site-menu-inner {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 0;
  padding: calc(20px + 0.5mm) 18px 0;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-8px) scaleY(0.98);
  transform-origin: top center;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}

.lp-header ~ .lp-site-menu.is-open .lp-site-menu-inner {
  transform: translateY(0) scaleY(1);
}

.lp-header ~ .lp-site-menu .lp-site-menu-group {
  display: grid;
  gap: 0;
  min-width: 0;
  width: 90%;
  margin-inline: auto;
  padding-bottom: 1cm;
  border-top: 0;
}

.lp-header ~ .lp-site-menu .lp-site-menu-group-label {
  padding: 19px 0 12px;
  color: #1a2035;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.lp-header ~ .lp-site-menu .lp-site-menu-subitems {
  display: grid;
  min-width: 0;
}

.lp-header ~ .lp-site-menu .lp-site-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 16px 0;
  border-top: 1px solid rgba(216, 226, 245, 0.7);
  color: #1a2035;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
  width: 100%;
}

.lp-header ~ .lp-site-menu .lp-site-menu-link.lp-site-menu-link-child {
  min-height: 42px;
  padding-left: 10px;
  border-top: 0;
  font-size: 14px;
}

.lp-header ~ .lp-site-menu .lp-site-menu-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lp-header ~ .lp-site-menu .lp-site-menu-arrow {
  display: inline-grid;
  position: relative;
  place-items: center;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--blue, #245de8);
}

.lp-header ~ .lp-site-menu .lp-site-menu-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lp-header ~ .lp-site-menu .lp-site-menu-arrow circle {
  fill: none;
  stroke: #d7dce5;
  stroke-width: 1.6;
}

.lp-header ~ .lp-site-menu .lp-site-menu-arrow > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
  -webkit-text-stroke: 0.35px currentColor;
  text-shadow:
    0.28px 0 0 currentColor,
    -0.28px 0 0 currentColor,
    0 0.22px 0 currentColor,
    0 -0.22px 0 currentColor;
  transform: translateY(-1px) scaleX(0.75) scaleY(1.08);
}

.lp-header ~ .lp-site-menu .lp-site-menu-cta-stack {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding: 1cm 0 22px;
  border-top: 1px solid rgba(216, 226, 245, 0.7);
  min-width: 0;
  --lp-menu-cta-width: 310px;
}

.lp-header ~ .lp-site-menu .lp-site-menu-cta-stack .cta-card {
  width: min(100%, var(--lp-menu-cta-width));
  max-width: min(100%, var(--lp-menu-cta-width));
}

.lp-header ~ .lp-site-menu .lp-site-menu-grip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 2cm;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.lp-header ~ .lp-site-menu .lp-site-menu-grip:active {
  cursor: grabbing;
}

.lp-header ~ .lp-site-menu .lp-site-menu-grip::before {
  content: "";
  width: 1.5cm;
  height: 3px;
  border-radius: 999px;
  background: #d4d8e0;
}

/* ── CTAコンポーネント ── */

:root {
  --color-primary: #1769f0;
  --cta-width: 340px;
  --cta-material-image-width: 66px;
  --cta-material-image-offset: calc(-22px - 3mm);
  --cta-material-image-width-mobile: 56px;
  --cta-material-image-offset-mobile: calc(-16px - 3mm);
}

.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 72px;
  flex: 0 0 auto;
  width: auto;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: none;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cta-card-kicker {
  font-size: 0.74rem;
  font-weight: 700;
}

.cta-card strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.cta-card-download {
  position: relative;
  justify-content: center;
  align-items: center;
  padding-left: 22px;
  padding-right: 22px;
  text-align: center;
  overflow: visible;
}

.cta-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2px;
  text-align: center;
}

.cta-card-image {
  position: absolute;
  left: var(--cta-material-image-offset);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: var(--cta-material-image-width);
  height: auto;
  pointer-events: none;
}

.cta-card-primary {
  color: #15203a;
  background: linear-gradient(135deg, #e9ff63 0%, #e0fb58 100%);
}

.cta-card-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(234, 242, 255, 0.34);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.cta-card-secondary {
  color: #23324d;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 40, 0.08);
}

.cta-card:hover {
  transform: translateY(-1px);
}

.cta-card-primary:hover::after {
  opacity: 1;
}

.cta-card-secondary:hover {
  background: #eaf2ff;
  border-color: rgba(23, 105, 240, 0.18);
}

.cta-section {
  background: #ffffff;
  padding: 84px 0 108px;
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 34px;
  padding: 56px 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(135deg, #0e58cc 0%, #1769f0 48%, #3b86fb 100%);
  box-shadow: 0 28px 60px rgba(23, 105, 240, 0.3);
}

.cta-section .cta-panel {
  width: min(calc(100% - 40px), 1160px);
  margin: 0 auto;
}

.cta-copy,
.cta-copy p,
.cta-copy .eyebrow,
.cta-box small {
  color: #ffffff;
}

.cta-copy .eyebrow {
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.cta-section .cta-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.16;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(7, 18, 37, 0.24);
  backdrop-filter: blur(18px);
  will-change: backdrop-filter;
}

.cta-box h3,
.cta-box p {
  color: #ffffff;
}

.cta-box .cta-card {
  width: min(100%, var(--cta-width));
  margin-top: 18px;
}

/* ── フッター ── */

.site-footer.lp-service-footer {
  padding: 56px 0 0;
  color: var(--ink);
  background: #ffffff;
}

.site-footer.lp-service-footer .lp-footer-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px 96px;
  align-items: start;
  width: min(calc(100% - 40px), 1160px);
  margin: 0 auto;
}

.site-footer.lp-service-footer .lp-footer-brand {
  display: grid;
  justify-items: start;
}

.site-footer.lp-service-footer .lp-footer-logo {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

.site-footer.lp-service-footer .lp-footer-company {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.site-footer.lp-service-footer .lp-footer-address {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}

.site-footer.lp-service-footer .lp-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px max(20px, calc((100vw - min(calc(100vw - 40px), 1160px)) / 2)) 20px;
  background: #e5e7eb;
}

.site-footer.lp-service-footer .lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.site-footer.lp-service-footer .lp-footer-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-footer.lp-service-footer .lp-footer-links a:hover {
  color: var(--blue);
}

.site-footer.lp-service-footer .lp-footer-copy {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* =================================================================
   レスポンシブ
================================================================= */

/* ----- モバイル・タブレット共通 (〜 1279px) ----- */
@media (min-width: 768px) and (max-width: 1279px) {
  .cta-box {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    will-change: auto;
  }

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

  .lp-services-brand {
    display: none;
  }

  .lp-services-panel {
    width: 320px;
    padding: 24px 25px;
    border-radius: 10px;
    background: #f1f4f9;
    box-sizing: border-box;
  }

  .lp-services-section-inner {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .lp-services-title {
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .lp-services-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 0;
    overflow: visible;
  }

  .lp-service-card {
    min-height: 60px;
    padding: 10px 14px;
    border: 1px solid rgba(184, 199, 218, 0.95);
    border-radius: 6px;
  }

  .lp-service-card:nth-child(odd),
  .lp-service-card:nth-child(-n + 2) {
    border: 1px solid rgba(184, 199, 218, 0.95);
  }

  .lp-service-card img {
    max-height: 26px;
  }
}

@media (max-width: 767px) {
  .cta-box {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    will-change: auto;
  }

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

  .lp-services-brand {
    display: none;
  }

  .lp-services-panel {
    width: 320px;
    padding: 24px 25px;
    border-radius: 10px;
    background: #f1f4f9;
    box-sizing: border-box;
  }

  .lp-services-section-inner {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .lp-services-title {
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .lp-services-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 0;
    overflow: visible;
  }

  .lp-service-card {
    min-height: 60px;
    padding: 10px 14px;
    border: 1px solid rgba(184, 199, 218, 0.95);
    border-radius: 6px;
  }

  .lp-service-card:nth-child(odd),
  .lp-service-card:nth-child(-n + 2) {
    border: 1px solid rgba(184, 199, 218, 0.95);
  }

  .lp-service-card img {
    max-height: 26px;
  }
}

/* ── タブレット以上 (768px〜) ── */
@media (min-width: 768px) and (max-width: 1279px) {
  .cta-card strong {
    font-size: 1.08rem;
  }

  .cta-box .cta-card-kicker {
    font-weight: 600;
  }

  .cta-box .cta-card strong {
    font-weight: 600;
  }
}

@media (min-width: 1280px) {
  .cta-card strong {
    font-size: 1.08rem;
  }

  .cta-box .cta-card-kicker {
    font-weight: 600;
  }

  .cta-box .cta-card strong {
    font-weight: 600;
  }
}

/* ── タブレット (768px〜1279px) ── */
@media (min-width: 768px) and (max-width: 1279px) {
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    text-align: center;
  }

  .cta-section .cta-copy h2 {
    font-size: clamp(1.62rem, 2.97vw, 2.43rem);
  }

  .cta-copy .eyebrow {
    text-align: center;
    margin-left: 0;
  }

  .cta-box {
    padding: 24px;
  }
}

/* ----- モバイル (〜 767px) ----- */
@media (max-width: 767px) {
  .lp-header {
    height: 54px;
    padding-inline: 16px;
  }

  .lp-header-logo {
    height: 28px;
    max-width: 52vw;
  }

  .lp-header-nav {
    display: none;
  }

  .lp-header-menu-btn {
    display: flex;
  }

  .lp-header-menu-btn span {
    width: 30px;
    height: 3px;
  }

  :root {
    --mobile-cta-width: 310px;
    --mobile-cta-height: 90px;
    --mobile-cta-extra-image-shift: 38px;
  }

  .cta-label-desktop {
    display: none;
  }

  .cta-label-mobile {
    display: inline;
  }

  .cta-section {
    padding-top: 68px;
    padding-bottom: 96px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    padding: 20px 16px;
  }

  .cta-copy {
    width: 100%;
    text-align: center;
  }

  .cta-copy h2 {
    font-size: clamp(1.62rem, 2.97vw, 2.43rem);
    text-align: center;
  }

  .cta-copy .eyebrow {
    margin-left: 0;
    text-align: center;
  }

  .cta-card {
    width: 100%;
    min-height: var(--mobile-cta-height);
    padding: 16px 18px;
    border-radius: 24px;
  }

  .cta-card-download {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cta-card-image {
    left: var(--cta-material-image-offset-mobile);
    width: var(--cta-material-image-width-mobile);
  }

  .cta-card-mobile-match {
    width: var(--mobile-cta-width) !important;
    max-width: var(--mobile-cta-width) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 999px !important;
    min-height: 72px !important;
    padding: 14px 18px !important;
  }

  .cta-card-mobile-match.cta-card-download {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .cta-card-mobile-match .cta-card-text {
    padding-left: calc(var(--mobile-cta-extra-image-shift) / 2) !important;
    padding-right: calc(var(--mobile-cta-extra-image-shift) / 2) !important;
  }

  .cta-card-mobile-match.cta-card-download .cta-card-kicker,
  .cta-card-mobile-match.cta-card-download strong {
    white-space: nowrap;
  }

  .cta-card-mobile-match .cta-card-image {
    left: var(--cta-material-image-offset-mobile) !important;
    width: var(--cta-material-image-width-mobile) !important;
  }

  .cta-box {
    padding: 20px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    align-items: center;
  }

  .cta-box > * {
    min-width: 0;
  }

  .cta-box .cta-card {
    width: 100%;
    max-width: 100%;
  }

  .cta-box .cta-card-mobile-match {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cta-box .cta-card-mobile-match.cta-card-download .cta-card-kicker,
  .cta-box .cta-card-mobile-match.cta-card-download strong {
    white-space: normal;
  }

  .cta-box .cta-card-secondary {
    display: flex;
  }

  /* ── Downloadセクション共通（モバイルのみ） ── */
  .cta-box-download-shared {
    gap: 14px;
    padding: 24px 0.5cm 26px;
    background: rgba(18, 62, 160, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    align-items: stretch;
  }

  .cta-box-download-shared h3 {
    display: none;
  }

  .cta-box-download-shared .cta-card-download-primary-shared,
  .cta-box-download-shared .cta-card-download-secondary-shared {
    width: min(320px, 100%) !important;
    max-width: min(320px, 100%) !important;
    min-height: 0;
    margin: 0 auto;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    align-items: stretch;
    gap: 8px;
  }

  .cta-box-download-shared .cta-card-download-primary-shared::after {
    display: none;
  }

  .cta-box-download-shared .cta-card-download-primary-shared + .cta-card-download-secondary-shared {
    margin-top: 6px;
  }

  .cta-box-download-shared .cta-card-download-primary-shared .cta-card-image {
    display: none;
  }

  .cta-box-download-shared .cta-card-download-primary-shared .cta-card-text,
  .cta-box-download-shared .cta-card-download-secondary-shared .cta-card-text {
    width: 100%;
    gap: 8px;
    align-items: stretch;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cta-box-download-shared .cta-card-download-primary-shared .cta-card-kicker,
  .cta-box-download-shared .cta-card-download-secondary-shared .cta-card-kicker {
    display: block;
    width: calc(100% - 4mm);
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .cta-box-download-shared .cta-card-download-primary-shared strong,
  .cta-box-download-shared .cta-card-download-secondary-shared strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--color-primary);
    font-size: 1rem !important;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .site-footer.lp-service-footer .lp-footer-block {
    display: block;
  }

  .site-footer.lp-service-footer .lp-footer-brand {
    justify-items: center;
    text-align: center;
  }

  .site-footer.lp-service-footer .lp-footer-logo {
    display: block;
    height: 40px;
    margin: 0 auto 12px;
  }

  .site-footer.lp-service-footer .lp-footer-company {
    margin-top: 0;
    font-size: 15px;
    text-align: center;
  }

  .site-footer.lp-service-footer .lp-footer-address {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }

  .site-footer.lp-service-footer .lp-footer-bottom {
    gap: 14px;
    margin-top: 24px;
  }

  .site-footer.lp-service-footer .lp-footer-links {
    gap: 14px 22px;
  }

  .site-footer.lp-service-footer .lp-footer-links a {
    font-size: 11px;
    white-space: nowrap;
  }

  .site-footer.lp-service-footer .lp-footer-copy {
    font-size: 11px;
  }

  .lp-header ~ .lp-site-menu .lp-site-menu-cta-stack {
    justify-items: center;
  }
}

/* ----- タブレット (768px 〜 1279px) ----- */
@media (min-width: 768px) and (max-width: 1279px) {
  .lp-header {
    height: 68px;
    padding-inline: 20px;
  }

  .lp-header-logo {
    height: 28px;
    max-width: 48vw;
  }

  .lp-header-nav {
    display: none;
  }

  .lp-header-menu-btn {
    display: flex;
  }

  .lp-header-menu-btn span {
    width: 30px;
    height: 3px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    text-align: center;
  }

  .cta-copy .eyebrow {
    text-align: center;
  }

  .site-footer.lp-service-footer .lp-footer-block {
    display: block;
  }

  .site-footer.lp-service-footer .lp-footer-brand {
    justify-items: center;
    text-align: center;
  }

  .site-footer.lp-service-footer .lp-footer-logo {
    display: block;
    height: 34px;
    margin: 0 auto;
  }

  .site-footer.lp-service-footer .lp-footer-company,
  .site-footer.lp-service-footer .lp-footer-address {
    text-align: center;
  }

  .site-footer.lp-service-footer .lp-footer-bottom {
    margin-top: 24px;
  }

  .lp-header ~ .lp-site-menu .lp-site-menu-cta-stack {
    justify-items: center;
  }
}

/* ----- タブレット以上 (768px〜) ----- */
@media (min-width: 768px) and (max-width: 1279px) {
  .cta-card strong {
    font-size: 1.08rem;
  }

  .cta-box .cta-card-kicker {
    font-weight: 600;
  }

  .cta-box .cta-card strong {
    font-weight: 600;
  }
}

@media (min-width: 1280px) {
  .cta-card strong {
    font-size: 1.08rem;
  }

  .cta-box .cta-card-kicker {
    font-weight: 600;
  }

  .cta-box .cta-card strong {
    font-weight: 600;
  }
}

/* ----- PC (1280px〜) ----- */
@media (min-width: 1280px) {
  .lp-services-section-inner {
    width: min(calc(100% - 40px), 1160px);
    grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.56fr);
    gap: 48px;
  }

  .lp-services-grid {
    border: 2px solid rgba(198, 210, 226, 0.82);
  }

  .lp-service-card {
    min-height: 82px;
    padding: 12px 14px;
    border-radius: 0;
  }

  .lp-service-card:nth-child(odd) {
    border-right-width: 2px;
  }

  .lp-service-card:nth-child(-n + 2) {
    border-bottom-width: 2px;
  }

  .lp-service-card img {
    max-height: 26px;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  }

  .site-footer.lp-service-footer .lp-footer-block {
    display: none;
  }
}

/* ----- モーション低減 ----- */
@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    animation: none;
  }

  html.is-page-leaving body {
    opacity: 1;
    transition: none;
  }

  .hero-title-char {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-logo-image,
  .hero-photo-image {
    animation: none;
    transform: none;
  }

  .hero-layer,
  .motion-panel {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .form-panel,
  .completion-loader::after {
    animation: none;
  }

  .hero-layer-photo {
    opacity: 0;
  }
}
