@charset "UTF-8";
/* ==========================================================
   Nexum コーポレートサイト TOPページ
   Figma「トップ PC版」を基に作成
========================================================== */

:root {
  --orange: #F2A03D;
  --orange-deep: #EE8C35;
  --orange-light: #F6B95C;
  --navy: #2E4E8F;
  --navy-deep: #24407A;
  --blue: #3D6BB3;
  --text: #333333;
  --cream: #FBF3E7;
  --blue-bg: #EAF1FA;
  --white: #ffffff;
  --line-green: #06C755;
  --font-en: "Montserrat", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* LP調整：FV資料ダウンロードボタン／背景の切り替え */
body.page-template-page-video .lp-hero__cta .btn-dl,
body.page-template-page-ads .lp-hero__cta .btn-dl {
  border: 2px solid var(--button-blue);
  background: linear-gradient(100deg, #155b9f 0%, #2d82d8 100%);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(39, 71, 112, .34), 0 8px 18px rgba(25, 67, 113, .14);
  transition: background-color .18s ease, background-image .18s ease, color .18s ease, box-shadow .18s ease;
}

body.page-template-page-video .lp-hero__cta .btn-dl .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl .circle-arrow {
  background: #fff;
  color: var(--button-blue);
}

body.page-template-page-video .lp-hero__cta .btn-dl:hover,
body.page-template-page-video .lp-hero__cta .btn-dl:focus-visible,
body.page-template-page-ads .lp-hero__cta .btn-dl:hover,
body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible {
  background: #fff;
  color: var(--button-blue);
  box-shadow: 3px 4px 0 rgba(39, 71, 112, .24), 0 8px 18px rgba(25, 67, 113, .12);
}

body.page-template-page-video .lp-hero__cta .btn-dl:hover .circle-arrow,
body.page-template-page-video .lp-hero__cta .btn-dl:focus-visible .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl:hover .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible .circle-arrow {
  background: var(--button-blue);
  color: #fff;
}

body.page-template-page-video .lp-cta .btn-square--orange,
body.page-template-page-ads .lp-cta .btn-square--orange {
  border: 2px solid #fff;
  outline: 2px solid var(--button-orange);
  outline-offset: 2px;
  background: linear-gradient(100deg, #ff9d1c 0%, #f5c13e 100%);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(87, 76, 43, .26), 0 7px 14px rgba(110, 82, 22, .15);
}

body.page-template-page-video .lp-cta .btn-square--line,
body.page-template-page-ads .lp-cta .btn-square--line {
  border: 2px solid #fff;
  outline: 2px solid #00bf55;
  outline-offset: 2px;
  background: #00c853;
  color: #fff;
  box-shadow: 3px 4px 0 rgba(18, 92, 53, .24), 0 7px 14px rgba(0, 108, 54, .14);
}

@media (max-width: 768px) {
  /* 人物を広告主さま枠へ近づけ、枠下の空白を圧縮 */
  body.page-template-page-video .lp-worry::before {
    background-position: center -28px;
  }

  /* 長文は白地のまま、次の「1本だけ」カードから背景を見せる */
  body.page-template-page-video .lp-solution .num-feature:last-child .num-feature__body {
    position: relative;
    z-index: 2;
    background: #fff;
  }
}

/* 動画カルーセル：移動するトラックと固定する表示窓を分離 */
body.page-template-page-ads .video-carousel__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

body.page-template-page-ads .video-carousel__track {
  width: 100%;
  min-width: 0;
  overflow: visible !important;
}

body.page-template-page-ads .video-thumb {
  min-width: 0;
}

@media (max-width: 768px) {
  body.page-template-page-ads .video-carousel__viewport {
    width: calc(100% + 22px);
    height: 277px;
    overflow: hidden;
  }

  body.page-template-page-ads .video-carousel__track {
    width: max-content;
    min-width: 0;
    height: 277px;
  }
}

/* TOP CTA：支給されたCTA素材を通常時に使用し、ホバー時だけ配色を反転 */
.top-contact-layout__action {
  top: 61.5%;
  height: auto;
  overflow: visible;
  border-radius: 0;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.top-contact-layout__button-image {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .15s ease;
}

.top-contact-layout__hover-label {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 14px;
  background: #fff;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.top-contact-layout__hover-label svg {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.top-contact-layout__action:hover .top-contact-layout__button-image,
.top-contact-layout__action:focus-visible .top-contact-layout__button-image {
  opacity: 0;
}

.top-contact-layout__action:hover .top-contact-layout__hover-label,
.top-contact-layout__action:focus-visible .top-contact-layout__hover-label {
  display: flex;
}

.top-contact-layout__action--form:hover,
.top-contact-layout__action--form:focus-visible {
  color: #ef951c;
  background: #fff;
  border: 2px solid #ef951c;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(185, 126, 38, .18);
}

.top-contact-layout__action--line:hover,
.top-contact-layout__action--line:focus-visible {
  color: #00aa46;
  background: #fff;
  border: 2px solid #00aa46;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(0, 170, 70, .18);
}

/* TOPのSPカードも同じ支給CTA素材へ差し替え */
.contact--top-assets .contact-cta-asset__button {
  top: 61.2%;
  left: 14.5%;
  width: 71%;
  height: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transition: transform .2s ease;
}

.contact--top-assets .contact-cta-asset__button::after {
  display: none;
}

.contact--top-assets .contact-cta-asset__button-image {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .15s ease;
}

.contact--top-assets .contact-cta-asset__hover-label {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 11px;
  background: #fff;
  font-size: clamp(12px, 3.7vw, 16px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.contact--top-assets .contact-cta-asset__hover-label svg {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.contact--top-assets .contact-cta-asset:hover .contact-cta-asset__button-image,
.contact--top-assets .contact-cta-asset:focus-visible .contact-cta-asset__button-image {
  opacity: 0;
}

.contact--top-assets .contact-cta-asset:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset:focus-visible .contact-cta-asset__hover-label {
  display: flex;
}

.contact--top-assets .contact-cta-asset--form:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset--form:focus-visible .contact-cta-asset__hover-label {
  color: #ef951c;
}

.contact--top-assets .contact-cta-asset--line:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset--line:focus-visible .contact-cta-asset__hover-label {
  color: #00aa46;
}

/* TOP Contact：PCではPC用の人物イラストだけを表示 */
@media (min-width: 769px) {
  .contact--top-assets .contact__grid--top-mobile,
  .contact--top-assets .contact-cta-asset__team,
  .contact--top-assets .top-contact-team-mobile {
    display: none !important;
  }
}

/* TOPお問い合わせカード：ボタンはそのまま、カード内テキストだけを縮小 */
.contact--top-assets .top-contact-layout__card-content h3,
.contact--top-assets .contact-cta-asset__content h3 {
  font-size: clamp(20px, 4.6cqw, 44px) !important;
}

.contact--top-assets .top-contact-layout__card-content > p:not(.top-contact-layout__card-note),
.contact--top-assets .contact-cta-asset__content > p:not(.contact-cta-asset__note) {
  font-size: clamp(12px, 2.15cqw, 22px) !important;
  line-height: 1.55 !important;
}

.contact--top-assets .top-contact-layout__card-content .top-contact-layout__card-note,
.contact--top-assets .contact-cta-asset__content .contact-cta-asset__note {
  top: 54.8% !important;
  font-size: clamp(13px, 2.1cqw, 21px) !important;
  line-height: 1.4 !important;
}

.contact--top-assets .contact-card-slash {
  color: #00aa46;
}

@media (max-width: 768px) {
  .contact--top-assets .contact-cta-asset__content h3 {
    font-size: clamp(21px, 5.6vw, 35px) !important;
  }

  .contact--top-assets .contact-cta-asset__content > p:not(.contact-cta-asset__note) {
    font-size: clamp(13px, 3.35vw, 17px) !important;
    line-height: 1.45 !important;
  }

  .contact--top-assets .contact-cta-asset__content .contact-cta-asset__note {
    font-size: clamp(13px, 3.3vw, 17px) !important;
    line-height: 1.4 !important;
  }

  /* About / Case / Vlog：ボタン下に余白を確保し、背景も一緒に伸ばす */
  .about,
  .case,
  .vlog {
    padding-bottom: 36px !important;
  }
}

/* LINE CTAのホバーは支給素材をそのまま表示 */
.contact--top-assets .contact-cta-asset::after {
  display: none !important;
}

.top-contact-layout__button-hover-image,
.contact--top-assets .contact-cta-asset__button-hover-image {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.top-contact-layout__action--line:hover .top-contact-layout__button-image,
.top-contact-layout__action--line:focus-visible .top-contact-layout__button-image,
.contact--top-assets .contact-cta-asset--line:hover .contact-cta-asset__button-image,
.contact--top-assets .contact-cta-asset--line:focus-visible .contact-cta-asset__button-image {
  opacity: 0;
}

.top-contact-layout__action--line:hover .top-contact-layout__button-hover-image,
.top-contact-layout__action--line:focus-visible .top-contact-layout__button-hover-image,
.contact--top-assets .contact-cta-asset--line:hover .contact-cta-asset__button-hover-image,
.contact--top-assets .contact-cta-asset--line:focus-visible .contact-cta-asset__button-hover-image {
  display: block;
}

.top-contact-layout__action--line:hover .top-contact-layout__hover-label,
.top-contact-layout__action--line:focus-visible .top-contact-layout__hover-label,
.contact--top-assets .contact-cta-asset--line:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset--line:focus-visible .contact-cta-asset__hover-label {
  display: none;
}

.top-contact-layout__action--form:hover .top-contact-layout__button-image,
.top-contact-layout__action--form:focus-visible .top-contact-layout__button-image,
.contact--top-assets .contact-cta-asset--form:hover .contact-cta-asset__button-image,
.contact--top-assets .contact-cta-asset--form:focus-visible .contact-cta-asset__button-image {
  opacity: 0;
}

.top-contact-layout__action--form:hover .top-contact-layout__button-hover-image,
.top-contact-layout__action--form:focus-visible .top-contact-layout__button-hover-image,
.contact--top-assets .contact-cta-asset--form:hover .contact-cta-asset__button-hover-image,
.contact--top-assets .contact-cta-asset--form:focus-visible .contact-cta-asset__button-hover-image {
  display: block;
}

.top-contact-layout__action--form:hover .top-contact-layout__hover-label,
.top-contact-layout__action--form:focus-visible .top-contact-layout__hover-label,
.contact--top-assets .contact-cta-asset--form:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset--form:focus-visible .contact-cta-asset__hover-label {
  display: none;
}

/* SPのホバー判定はカード全体ではなく、CTAボタン本体だけに限定 */
.contact--top-assets .contact-cta-asset:not(:has(.contact-cta-asset__button:hover)) .contact-cta-asset__button-image {
  opacity: 1 !important;
}

.contact--top-assets .contact-cta-asset:not(:has(.contact-cta-asset__button:hover)) .contact-cta-asset__button-hover-image,
.contact--top-assets .contact-cta-asset:not(:has(.contact-cta-asset__button:hover)) .contact-cta-asset__hover-label {
  display: none !important;
}

.contact--top-assets .contact-cta-asset__button--form:hover .contact-cta-asset__button-image,
.contact--top-assets .contact-cta-asset__button--line:hover .contact-cta-asset__button-image {
  opacity: 0 !important;
}

.contact--top-assets .contact-cta-asset__button--form:hover .contact-cta-asset__button-hover-image,
.contact--top-assets .contact-cta-asset__button--line:hover .contact-cta-asset__button-hover-image {
  display: block !important;
}

.contact--top-assets .contact-cta-asset__button--form:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset__button--line:hover .contact-cta-asset__hover-label {
  display: none !important;
}

/* CTAの背面要素を無効化し、ボタン素材だけを表示 */
.contact--top-assets .contact-cta-asset::after,
.contact--top-assets .contact-cta-asset__button::before,
.contact--top-assets .contact-cta-asset__button::after {
  display: none !important;
  content: none !important;
}

.contact--top-assets .contact-cta-asset__button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* LINEは反転前後で同じ領域に固定 */
.top-contact-layout__action--line,
.top-contact-layout__action--line:hover,
.top-contact-layout__action--line:focus-visible,
.contact--top-assets .contact-cta-asset__button--line,
.contact--top-assets .contact-cta-asset__button--line:hover,
.contact--top-assets .contact-cta-asset__button--line:focus-visible {
  transform: none !important;
}

.top-contact-layout__action--line .top-contact-layout__button-hover-image,
.contact--top-assets .contact-cta-asset__button--line .contact-cta-asset__button-hover-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* CTA共通：PC/SPとも、反転はボタン本体にカーソルが乗った時だけ行う */
.contact-cta-asset__button {
  display: block;
  height: auto;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transform: none !important;
  transition: none;
}

.contact-cta-asset__button::before,
.contact-cta-asset__button::after {
  display: none !important;
  content: none !important;
}

.contact-cta-asset__button-image {
  display: block;
  width: 100%;
  height: auto;
}

.contact-cta-asset__button-hover-image {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* カード上のホバーでは状態を変えない */
.contact-cta-asset:hover .contact-cta-asset__button-image,
.contact-cta-asset:focus-visible .contact-cta-asset__button-image {
  opacity: 1 !important;
}

.contact-cta-asset:hover .contact-cta-asset__button-hover-image,
.contact-cta-asset:focus-visible .contact-cta-asset__button-hover-image,
.contact-cta-asset:hover .contact-cta-asset__hover-label,
.contact-cta-asset:focus-visible .contact-cta-asset__hover-label {
  display: none !important;
}

/* ボタン本体上だけ反転 */
.contact-cta-asset__button:hover .contact-cta-asset__button-image,
.contact-cta-asset__button:focus-visible .contact-cta-asset__button-image {
  opacity: 0 !important;
}

.contact-cta-asset__button:hover .contact-cta-asset__button-hover-image,
.contact-cta-asset__button:focus-visible .contact-cta-asset__button-hover-image {
  display: block !important;
}

.contact-cta-asset__button:hover .contact-cta-asset__hover-label,
.contact-cta-asset__button:focus-visible .contact-cta-asset__hover-label {
  display: none !important;
}

/* TOPのCTAカード：支給された空カード背景に内容をコードで重ねる */
.contact--top-assets .top-contact-layout__canvas {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: auto !important;
}

.contact--top-assets .top-contact-layout__card {
  position: relative;
  min-width: 0;
  aspect-ratio: 1032 / 780;
  container-type: inline-size;
  overflow: visible;
  line-height: normal;
}

.contact--top-assets .contact-cta-asset {
  container-type: inline-size;
}

.contact--top-assets .top-contact-layout__card-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.contact--top-assets .top-contact-layout__card-content,
.contact--top-assets .contact-cta-asset__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  color: #3f3f3f;
  pointer-events: none;
}

.contact--top-assets .top-contact-layout__card-content h3,
.contact--top-assets .contact-cta-asset__content h3 {
  position: absolute;
  top: 14.8%;
  left: 13.2%;
  width: 73.6%;
  margin: 0;
  font-size: clamp(22px, 5cqw, 48px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.contact--top-assets .top-contact-layout__card-rule,
.contact--top-assets .contact-cta-asset__rule {
  position: absolute;
  top: 31.9%;
  left: 13.2%;
  width: 73.6%;
  height: 2px;
  background: #d9d9d9;
}

.contact--top-assets .top-contact-layout__card-content > p,
.contact--top-assets .contact-cta-asset__content > p {
  position: absolute;
  top: 39.4%;
  left: 13.2%;
  width: 73.6%;
  margin: 0;
  font-size: clamp(14px, 2.7cqw, 26px);
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

.contact--top-assets .top-contact-layout__card-content .top-contact-layout__card-note,
.contact--top-assets .contact-cta-asset__content .contact-cta-asset__note {
  top: 55.2%;
  text-align: center;
  font-weight: 400;
}

.contact--top-assets .top-contact-layout__card .top-contact-layout__action {
  position: absolute !important;
  top: 63.3% !important;
  left: 17.1% !important;
  width: 65.8% !important;
  height: auto !important;
  z-index: 3;
}

.contact--top-assets .top-contact-layout__card .top-contact-layout__action--line {
  top: 63.3% !important;
  left: 17.1% !important;
  width: 65.8% !important;
}

.contact--top-assets .top-contact-layout__card .top-contact-layout__button-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .contact--top-assets .contact-cta-asset__content h3 {
    font-size: clamp(24px, 6.15vw, 38px);
  }

  .contact--top-assets .contact-cta-asset__content > p {
    font-size: clamp(15px, 4.1vw, 21px);
    line-height: 1.7;
  }

  .contact--top-assets .contact-cta-asset__button {
    top: 63.3% !important;
    left: 17.1% !important;
    width: 65.8% !important;
  }
}

/* TOP PC：元カード画像に含まれる旧ボタンを隠し、支給素材を同じ位置へ重ねる */
.top-contact-layout__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 2080 / 780;
  line-height: 0;
}

.top-contact-layout__cards {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.top-contact-layout__old-button-cover {
  position: absolute;
  z-index: 1;
  display: block;
  background: #fff;
  pointer-events: none;
}

.top-contact-layout__old-button-cover--form {
  top: 59%;
  left: 6.5%;
  width: 36.5%;
  height: 26%;
  border-radius: 24px;
}

.top-contact-layout__old-button-cover--line {
  top: 58%;
  left: 56%;
  width: 38%;
  height: 27%;
  border-radius: 24px;
}

.top-contact-layout__action {
  top: 63.3%;
  height: auto;
}

.top-contact-layout__action--form {
  left: 8.45%;
  width: 32.7%;
}

.top-contact-layout__action--line {
  top: 62.05%;
  left: 57.9%;
  width: 34.6%;
}

/* お悩みの3項目：各枠の上下中央に本文を配置 */
@media (max-width: 768px) {
  body.page-template-page-ads .voice-box__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.page-template-page-ads .voice-box__copy {
    display: block;
  }
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-ja);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.pc-only { display: block; }
a.pc-only, span.pc-only { display: inline-flex; }
.sp-only { display: none; }
.center { text-align: center; }

/* ---------- 共通パーツ ---------- */
.heading { display: block; position: relative; margin-bottom: 28px; }
.heading__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: .04em;
  color: #3A3A3A;
  line-height: 1.1;
  margin-right: 16px;
  display: inline-block;
}
.heading__ja { font-size: 14px; font-weight: 700; color: #3A3A3A; }
.heading__sub { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.heading__bar {
  display: block;
  width: 56px; height: 5px;
  margin-top: 12px;
  background: linear-gradient(to right, var(--orange) 0 60%, var(--navy) 60% 100%);
  border-radius: 3px;
}
.heading--center { text-align: center; }
.heading--center .heading__bar { margin-left: auto; margin-right: auto; }
.heading--center .heading__en { margin-right: 0; }

/* 丸矢印 */
.circle-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); color: var(--orange-deep);
  flex-shrink: 0;
}
.circle-arrow svg { width: 10px; height: 10px; }
.circle-arrow--navy { color: var(--navy); }
.circle-arrow--white { background: var(--white); color: var(--navy); }
.circle-arrow--line { background: transparent; border: 2px solid var(--orange); color: var(--orange); width: 26px; height: 26px; }

/* メインボタン（オレンジ） */
.btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 180px; justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  background: linear-gradient(102deg, #F6B95C 0%, #F0A23C 52%, #E98A2F 100%);
  color: var(--white); font-weight: 700; font-size: 15px;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px rgba(255,255,255,.36), 0 5px 13px rgba(202, 118, 30, .32);
  transition: transform .25s, box-shadow .25s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(238, 140, 53, .45); }
.btn-main--navy {
  background: linear-gradient(102deg, #4069B7 0%, #284E9A 55%, #1D3E7D 100%);
  box-shadow: 0 4px 12px rgba(36, 64, 122, .35);
}
.btn-main--navy:hover { box-shadow: 0 8px 18px rgba(36, 64, 122, .45); }

/* テキストリンク（詳しくみる） */
.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange);
  transition: opacity .25s;
}
.link-more:hover { opacity: .7; }
.link-more .circle-arrow { background: var(--orange); color: var(--white); }
.link-more .circle-arrow--navy { background: var(--navy); color: var(--white); }
.link-more--navy { border-bottom-color: var(--navy); }

/* 装飾: ドットパターン */
.dots {
  position: absolute;
  width: 120px; height: 180px;
  background-image: radial-gradient(rgba(242, 160, 61, .45) 3px, transparent 3px);
  background-size: 18px 18px;
  pointer-events: none;
}
/* 装飾: 斜めダッシュ */
.dash { position: absolute; width: 46px; height: 14px; pointer-events: none; }
.dash::before, .dash::after {
  content: ""; position: absolute; height: 3px; border-radius: 2px;
  transform: rotate(-25deg);
}
.dash--orange::before { width: 26px; left: 0; top: 8px; background: var(--orange); }
.dash--orange::after { width: 14px; left: 30px; top: 2px; background: var(--orange); }
.dash--blue::before { width: 26px; left: 0; top: 8px; background: var(--blue); }
.dash--blue::after { width: 14px; left: 30px; top: 2px; background: var(--blue); }

/* 波形 */
.wave { line-height: 0; }
.wave svg { width: 100%; height: 80px; display: block; }

/* 画像プレースホルダー（素材差し替え用） */
.img-placeholder { width: 100%; height: 100%; background: #D9D9D9; }
.ph-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv__photo { width: 400px; max-width: 100%; display: block; }
.about-img { width: 100%; max-width: 470px; display: block; margin: 0 auto; }
.lp-hero__img { width: 100%; display: block; }
.lp-hero__img--phone { width: 260px; margin: 0 auto; }
.contact-illust-img { width: 260px; display: block; }
.mv--photo {
  background:
    linear-gradient(105deg, rgba(246,174,75,.92) 0%, rgba(242,160,61,.88) 45%, rgba(233,138,47,.93) 100%),
    url("../media/top-fv-background.webp") center / cover no-repeat;
}
.flow-card__ico--img { width: 46px; height: 46px; object-fit: contain; }
img.video-thumb--img,
video.video-thumb--video {
  display: block;
  object-fit: cover;
  padding: 0;
}
.contact__illust .contact-illust-img { margin: 8px 0 0; }
.img-placeholder--photo1 { background: linear-gradient(135deg, #C9D8C5, #E4EDE2 60%, #F2F5F0); }
.img-placeholder--photo2 { background: linear-gradient(135deg, #B9C4CE, #DDE4EA 60%, #EEF2F5); }

/* ==========================================================
   ヘッダー
========================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
}
.header__logo { display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 150px; height: auto; display: block; }
.footer .brand-logo { width: 150px; }
.brand-logo--white { filter: brightness(0) invert(1); }
.logo-mark { width: 34px; height: 34px; }
.logo-text {
  font-family: var(--font-en); font-weight: 600; font-size: 24px;
  color: #3A3A3A; letter-spacing: .02em;
}
.logo-text--white { color: var(--white); }

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; align-items: center; gap: 28px; }
.gnav__list > li { position: relative; }
.gnav__list > li > a {
  font-size: 14px; font-weight: 500; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .25s;
}
.gnav__list > li > a:hover { color: var(--orange-deep); }
.gnav__caret {
  width: 8px; height: 8px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
}
.gnav__child {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  padding: 8px 0; min-width: 180px;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.has-child:hover .gnav__child { opacity: 1; visibility: visible; }
.gnav__child a {
  display: block; padding: 10px 20px; font-size: 13px; font-weight: 500;
}
.gnav__child a:hover { background: var(--cream); color: var(--orange-deep); }

.btn-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px;
  background: linear-gradient(102deg, #F6B95C 0%, #F0A23C 52%, #E98A2F 100%);
  color: var(--white); font-size: 14px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px rgba(255,255,255,.36), 0 5px 13px rgba(202,118,30,.28);
  transition: transform .25s, box-shadow .25s;
}
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(238,140,53,.4); }
.ico-mail { width: 16px; height: 16px; }

.menu-toggle { display: none; }

/* ==========================================================
   メインビジュアル
========================================================== */
.mv {
  position: relative; overflow: hidden;
  margin-top: 72px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 214, 150, .55), transparent 55%),
    linear-gradient(105deg, #F6AE4B 0%, #F2A03D 45%, #E98A2F 100%);
}
.mv__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 80%, rgba(255,255,255,.14), transparent 32%),
    radial-gradient(circle at 88% 15%, rgba(255,255,255,.12), transparent 30%);
}
.mv__dots--right {
  position: absolute; right: 40px; bottom: 60px;
  width: 110px; height: 160px;
  background-image: radial-gradient(rgba(255,255,255,.5) 3px, transparent 3px);
  background-size: 18px 18px;
}
.mv__inner {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: 72px 24px 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.mv__text { color: var(--white); max-width: 560px; }
.mv__title { line-height: 1.35; margin-bottom: 24px; }
.mv__line1 {
  display: block; font-size: 52px; font-weight: 900; letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(160, 90, 10, .25);
}
.mv__line1 em { font-style: normal; font-size: 68px; }
.mv__line2 {
  display: flex; align-items: center; gap: 12px;
  font-size: 40px; font-weight: 900; margin-top: 10px;
  text-shadow: 0 2px 12px rgba(160, 90, 10, .25);
}
.mv__badge {
  display: inline-block;
  background: var(--white); color: var(--navy);
  padding: 2px 16px; border-radius: 4px;
  font-size: 38px; font-weight: 900; text-shadow: none;
  box-shadow: 0 4px 14px rgba(160, 90, 10, .25);
}
.mv__badge strong { font-family: var(--font-en); font-weight: 700; }
.mv__lead { font-size: 15px; font-weight: 500; margin-bottom: 32px; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--navy);
  font-weight: 700; font-size: 16px;
  padding: 16px 34px; border-radius: 999px;
  border: 3px solid rgba(61, 107, 179, .55);
  box-shadow: 0 0 0 3px var(--white), 0 8px 20px rgba(160, 90, 10, .3);
  transition: transform .25s, box-shadow .25s;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--white), 0 12px 26px rgba(160, 90, 10, .4); }
.btn-dl .circle-arrow { background: var(--navy); color: var(--white); }

.mv__visual { flex-shrink: 0; }
.phone-mock {
  width: 250px; height: 500px;
  background: #1C1C1E; border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(120, 60, 0, .35);
  transform: rotate(8deg);
}
.phone-mock__screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  background: linear-gradient(160deg, #E8B24A, #C77E2E 55%, #8A5A22);
  display: flex; align-items: center; justify-content: center;
}
.phone-mock__note {
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700;
  text-align: center; letter-spacing: .1em;
}

/* ==========================================================
   About
========================================================== */
.about { position: relative; padding: 96px 0 0; overflow: hidden; }
.about__dash1 { left: 8%; top: 64px; }
.about__dash2 { right: 6%; bottom: 140px; }
.about__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 40px;
  display: flex; align-items: center; gap: 60px;
}
.about__illust { flex: 1; }
.blob {
  background: radial-gradient(circle at 40% 35%, #F7E8D2, #F4E3C8);
  border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
  aspect-ratio: 10 / 8;
  display: flex; align-items: center; justify-content: center;
  max-width: 440px;
}
.illust-desk { width: 70%; }
.about__body { flex: 1; }
.about__text { margin-bottom: 32px; }

/* ==========================================================
   Service
========================================================== */
.service { position: relative; background: var(--cream); padding: 88px 0 96px; overflow: hidden; }
.dots--left { left: -20px; top: 120px; }
.service__dash1 { right: 8%; top: 180px; }
.service__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; }
.service__lead { text-align: center; margin: 0 0 48px; }

.service-card {
  display: flex; align-items: stretch; gap: 0;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 8px 28px rgba(160, 120, 60, .12);
  overflow: hidden;
  margin-bottom: 40px;
}
.service-card__img { flex: 0 0 44%; min-height: 260px; padding: 16px; }
.service-card__img .img-placeholder { border-radius: 10px; }
.service-card__body { flex: 1; padding: 36px 40px; display: flex; flex-direction: column; }
.service-card__title {
  font-size: 24px; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: baseline; gap: 14px;
}
.service-card__num {
  font-family: var(--font-en); font-weight: 700; font-size: 34px;
  color: var(--orange-deep);
}
.service-card--reverse { flex-direction: row-reverse; }
.service-card--reverse .service-card__num { color: var(--navy); }
.service-card__text { font-size: 14.5px; margin-bottom: 20px; }
.service-card__body .link-more { align-self: flex-end; margin-top: auto; }

/* ==========================================================
   Case / Vlog 共通カード
========================================================== */
.case { position: relative; padding: 88px 0 0; overflow: hidden; }
.dots--case { right: -10px; top: 90px; height: 220px; }
.case__dash1 { right: 12%; top: 96px; }
.case__inner, .vlog__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 44px;
}
.card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(60, 60, 80, .1);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(60, 60, 80, .16); }
.card__img { aspect-ratio: 16 / 10; }
.card__body { padding: 16px 18px 20px; }
.card__tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; color: var(--orange-deep);
  border: 1.5px solid var(--orange); border-radius: 999px;
  padding: 2px 12px; margin-bottom: 10px;
}
.card__title { font-size: 14px; font-weight: 700; line-height: 1.6; }

.case .center { padding-bottom: 72px; }

/* ==========================================================
   News
========================================================== */
.news { position: relative; background: var(--blue-bg); padding: 80px 0 88px; overflow: hidden; }
.news__dash1 { left: 7%; top: 70px; }
.news__dash2 { right: 6%; bottom: 70px; }
.news__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 60px; align-items: flex-start;
}
.news__head { flex: 0 0 240px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.news__head .heading { white-space: nowrap; }
.news__list { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.news__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center; column-gap: 20px; row-gap: 4px;
  background: var(--white); border-radius: 10px;
  padding: 14px 22px 16px;
  box-shadow: 0 4px 14px rgba(46, 78, 143, .08);
  transition: transform .25s, box-shadow .25s;
}
.news__item .circle-arrow--line { grid-column: 2; grid-row: 1 / span 2; }
.news__item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46, 78, 143, .14); }
.news__date { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--orange-deep); grid-column: 1; grid-row: 1; }
.news__title {
  font-size: 14px; font-weight: 500; grid-column: 1; grid-row: 2;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}

/* ==========================================================
   Vlog
========================================================== */
.vlog { position: relative; padding: 88px 0 0; overflow: hidden; }
.dots--vlog { right: -10px; top: 80px; height: 220px; }
.vlog .center { padding-bottom: 72px; }

/* ==========================================================
   Contact
========================================================== */
.contact { position: relative; background: var(--cream); padding: 88px 0 64px; overflow: hidden; }
.contact__dash1 { left: 8%; top: 260px; }
.contact__dash2 { right: 8%; top: 160px; }
.contact__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 880px; margin: 0 auto;
}
.contact-card {
  background: var(--white); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(160, 120, 60, .12);
  padding: 32px 36px 40px;
  text-align: center;
  display: flex; flex-direction: column;
}
.contact-card__title {
  font-size: 20px; font-weight: 700;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid #DDD;
}
.contact-card__text { font-size: 14px; text-align: left; margin-bottom: 18px; }
.contact-card__note { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.btn-square {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: 8px;
  color: var(--white); font-weight: 700; font-size: 15px;
  margin-top: auto;
  transition: transform .25s, box-shadow .25s, opacity .25s;
}
.btn-square:hover { transform: translateY(-2px); }
.btn-square--orange {
  background: linear-gradient(102deg, #F6B95C 0%, #F0A23C 52%, #E98A2F 100%);
  border: 2px solid #E28A2F;
  box-shadow: inset 0 1px rgba(255,255,255,.32), 0 4px 12px rgba(238, 140, 53, .35);
}
.btn-square--line {
  background: linear-gradient(100deg, #35CC6E, #1DB954);
  border: 2px solid #1AA64B;
  box-shadow: 0 4px 12px rgba(29, 185, 84, .35);
}
.ico-line { width: 20px; height: 20px; }
.contact__illust { margin-top: 8px; }
.illust-people { width: 260px; }

/* ==========================================================
   下層ページ共通（ヒーロー・パンくず）
========================================================== */
.page-hero {
  position: relative; margin-top: 72px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 214, 150, .5), transparent 55%),
    linear-gradient(105deg, #F6AE4B 0%, #F2A03D 45%, #E98A2F 100%);
  color: var(--white);
  overflow: hidden;
}
.page-hero__line { position: absolute; pointer-events: none; object-fit: contain; }
.page-hero__line--orange { width: 108px; right: 13%; top: 20px; opacity: .86; }
.page-hero__line--blue { width: 46px; left: 9%; bottom: 26px; opacity: .86; }
.page-hero__inner { max-width: 1080px; margin: 0 auto; padding: 72px 24px 64px; }
.page-hero__title {
  font-family: var(--font-en); font-weight: 700; font-size: 56px;
  letter-spacing: .04em; line-height: 1.2;
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 20px;
}
.page-hero__sep { width: 36px; height: 2px; background: var(--white); display: inline-block; }
.page-hero__ja { font-family: var(--font-ja); font-size: 15px; font-weight: 700; }
.page-hero__lead { font-size: 14px; font-weight: 700; }

.breadcrumb { background: var(--white); }
.breadcrumb__inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
  font-size: 12px; color: #888;
  display: flex; align-items: center; gap: 10px;
}
.breadcrumb__inner a { color: #555; }
.breadcrumb__inner a:hover { text-decoration: underline; }

/* 見出し（日本語大見出し用） */
.heading__en--ja { font-family: var(--font-ja); font-size: 32px; font-weight: 700; letter-spacing: .06em; }

/* ==========================================================
   Nexumについて（Mission / Vision / Value）
========================================================== */
.mvv { position: relative; padding: 72px 0 88px; overflow: hidden; background: #FCFCFC; }
.mvv__stripe {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 42%, rgba(0,0,0,.025) 42%, rgba(0,0,0,.025) 58%, transparent 58%),
    linear-gradient(115deg, transparent 70%, rgba(0,0,0,.02) 70%, rgba(0,0,0,.02) 88%, transparent 88%);
}
.mvv__inner { max-width: 980px; margin: 0 auto; padding: 0 24px; position: relative; }
.mvv__list { display: flex; flex-direction: column; gap: 28px; margin-top: 44px; }
.mvv-card {
  display: flex; align-items: center; gap: 36px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(60, 60, 80, .1);
  padding: 36px 44px;
}
.mvv-card__label { flex: 0 0 200px; }
.mvv-card__en {
  display: block;
  font-family: var(--font-en); font-weight: 700; font-size: 36px;
  color: #3A3A3A; line-height: 1.2;
}
.mvv-card__ja { color: var(--orange-deep); font-size: 12px; font-weight: 700; }
.mvv-card__body { border-left: 1px solid #DDD; padding-left: 36px; }
.mvv-card__copy { font-size: 22px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.mvv-card__copy em { font-style: normal; color: var(--navy); }
.mvv-card__text { font-size: 13.5px; color: #555; }

/* ==========================================================
   代表メッセージ
========================================================== */
.message { background: var(--blue-bg); padding: 80px 0 96px; overflow: hidden; }
.message__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.message__grid {
  display: flex; align-items: flex-start; gap: 0;
  margin-top: 48px;
}
.message__photo {
  flex: 0 0 42%; aspect-ratio: 1 / 1; max-width: 420px;
  border-radius: 8px; overflow: hidden;
  margin-top: 32px;
}
.message__card {
  flex: 1;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(46, 78, 143, .12);
  padding: 44px 48px;
  margin-left: -40px;
  position: relative;
}
.message__title { font-size: 24px; font-weight: 700; line-height: 1.7; margin-bottom: 20px; }
.message__title mark {
  background: var(--navy); color: var(--white);
  padding: 2px 10px;
}
.message__text { font-size: 14px; margin-bottom: 24px; }
.message__sign { display: flex; align-items: baseline; gap: 16px; font-size: 13px; color: #666; }
.message__sign strong { font-size: 16px; color: var(--text); }

/* ==========================================================
   会社概要（テーブル）
========================================================== */
.company { position: relative; padding: 88px 0 96px; overflow: hidden; }
.dots--company { left: -20px; bottom: 120px; height: 200px; }
.company__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 60px; align-items: flex-start;
}
.company__inner .heading { flex: 0 0 220px; }
.company__table { flex: 1; }
.company__row {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 22px 8px;
  border-bottom: 1px solid #DDD;
}
.company__row:first-child { border-top: 1px solid #DDD; }
.company__row dt { font-size: 13px; color: #888; font-weight: 500; }
.company__row dd { font-size: 14px; }
.company__row dd strong { font-weight: 700; }
.company__row dd .mt { display: inline-block; margin-top: 12px; }

/* ==========================================================
   お問い合わせ（下層・フォーム）
========================================================== */
.contact-page { background: var(--cream); padding: 88px 0 96px; overflow: hidden; }
.contact-page__inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 56px; align-items: flex-start;
}
.contact-page__info { flex: 0 0 360px; }
.contact-page__lead { font-size: 14px; margin: 20px 0 28px; }
.line-card {
  background: var(--white); border-radius: 12px;
  box-shadow: 0 6px 20px rgba(160, 120, 60, .12);
  padding: 28px 32px;
  text-align: center;
}
.line-card .btn-square--line { width: 100%; }
.line-card__note { font-size: 13px; font-weight: 700; margin-top: 14px; }
.line-card__note u { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contact-page__illust { margin-top: 40px; text-align: center; }

.contact-form {
  flex: 1;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(160, 120, 60, .12);
  padding: 40px 44px 48px;
}
.form-group { margin-bottom: 22px; border: none; }
.form-label {
  display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px;
}
.req {
  display: inline-block; vertical-align: 2px;
  background: var(--orange-deep); color: var(--white);
  font-size: 10px; font-weight: 700;
  border-radius: 3px; padding: 1px 7px; margin-left: 6px;
}
.form-checks { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.form-checks label { font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; }
.form-checks input[type="checkbox"],
.form-group--agree input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--orange-deep);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #F5F5F5;
  border: 1px solid #E3E3E3; border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px; font-family: var(--font-ja);
  color: var(--text);
}
.contact-form ::placeholder { color: #AAA; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--orange-light); background: var(--white);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid #888; border-bottom: 2px solid #888;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { appearance: none; -webkit-appearance: none; }
.form-group--agree {
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; margin-top: 28px;
}
.form-group--agree label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.form-policy-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-submit { text-align: center; margin-top: 28px; }
.btn-main--submit { min-width: 240px; border: none; cursor: pointer; font-family: var(--font-ja); font-size: 15px; }

/* ==========================================================
   LP（広告運用代行 / ショート動画制作）
========================================================== */
/* --- LPヒーロー --- */
.lp-hero {
  position: relative; overflow: hidden;
  margin-top: 72px;
  background: #FAEFDF;
}
.lp-hero__shape { position: absolute; z-index: 0; width: 720px; right: -60px; bottom: -180px; opacity: .95; pointer-events: none; }
.lp-hero__line { position: absolute; z-index: 1; pointer-events: none; object-fit: contain; }
.lp-hero__line--orange { width: 108px; left: 5%; top: 52px; }
.lp-hero__line--blue { width: 48px; right: 5%; top: 46px; }
.lp-hero__blob { position: absolute; border-radius: 50%; filter: blur(0); pointer-events: none; }
.lp-hero__blob--orange {
  width: 640px; height: 560px; right: 8%; top: 40px;
  background: radial-gradient(circle, #F6AE4B, #F2A03D);
  border-radius: 47% 53% 60% 40% / 55% 45% 55% 45%;
  opacity: .9;
}
.lp-hero__blob--blue {
  width: 380px; height: 340px; right: -60px; bottom: -120px;
  background: #3D6BB3;
  border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
}
.lp-hero__inner {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: 64px 24px 72px;
  display: flex; align-items: center; gap: 24px;
}
.lp-hero__text { flex: 1 1 55%; }
.lp-hero__title {
  font-size: 40px; font-weight: 900; line-height: 1.55;
  color: #3A3A3A; margin-bottom: 16px;
}
.lp-hero__title mark {
  background: none; color: var(--navy);
  border: 3px solid var(--navy); border-radius: 4px;
  padding: 0 10px; display: inline-block; line-height: 1.4;
}
.lp-hero__lead { font-size: 16px; font-weight: 700; margin-bottom: 28px; }
.lp-hero__badges { display: flex; gap: 20px; margin-bottom: 36px; }
.badge-circle {
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(160, 120, 60, .18);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 12.5px; font-weight: 700; line-height: 1.6;
  position: relative;
}
.badge-circle::before, .badge-circle::after {
  content: "\301C"; color: var(--orange); font-weight: 700;
  position: absolute; top: 22px; font-size: 14px;
}
.badge-circle::before { left: 26px; transform: rotate(-40deg); }
.badge-circle::after { right: 26px; transform: rotate(40deg) scaleX(-1); }
.badge-circle em { font-style: normal; color: var(--orange-deep); }
.lp-hero__cta { display: flex; gap: 18px; flex-wrap: wrap; }
.btn-cta { min-width: 230px; padding: 15px 30px; font-size: 15px; border: 3px solid var(--white); box-shadow: 0 8px 18px rgba(160, 90, 10, .3); }

.lp-hero__visual { flex: 1 1 45%; position: relative; min-height: 380px; z-index: 2; }
.lp-hero__visual--phone { display: grid; place-items: center; min-height: 520px; }
.lp-hero__phone-frame { position: relative; z-index: 2; width: min(100%, 320px); height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.24)); pointer-events: none; }
.lp-hero__phone-video { position: absolute; z-index: 1; width: 71%; height: 76%; top: 12%; left: 14.5%; object-fit: cover; border-radius: 14% 14% 12% 12%; background: #111; }
.mock-laptop {
  width: 92%; aspect-ratio: 16/10.5;
  background: #C9CDD3; border-radius: 12px; padding: 10px 10px 22px;
  box-shadow: 0 18px 36px rgba(120, 60, 0, .25);
}
.mock-laptop__screen {
  width: 100%; height: 100%;
  background: #F4F7FB; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #98A4B5; font-size: 13px; font-weight: 700; text-align: center;
}
.mock-phone {
  position: absolute; right: 0; bottom: -24px;
  width: 120px; height: 240px;
  background: #1C1C1E; border-radius: 22px; padding: 7px;
  box-shadow: 0 14px 28px rgba(120, 60, 0, .3);
  transform: rotate(6deg);
}
.mock-phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #D8B27C, #9A6E3C);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); font-size: 11px; font-weight: 700;
}

/* --- Nexumとは --- */
.lp-intro { background: #FAEFDF; padding: 8px 0 72px; overflow: hidden; }
.lp-intro__inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.lp-intro__card {
  background: rgba(255,255,255,.92); border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(160, 120, 60, .1);
  margin-bottom: 40px;
}
.lp-intro__title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 18px;
}
.lp-intro__logo { display: block; width: 206px; height: auto; }
.lp-intro__title .logo-mark { width: 42px; height: 42px; }
.lp-intro__title .logo-text { font-size: 40px; }
.lp-intro__toha { font-size: 24px; font-weight: 700; margin-left: 4px; }
.lp-intro__text { font-size: 15px; font-weight: 500; line-height: 2.1; }
.lp-intro__text mark { background: var(--orange); color: var(--white); font-weight: 700; padding: 1px 8px; }

.video-carousel { display: flex; align-items: center; gap: 18px; }
.video-carousel__track {
  flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.video-thumb {
  aspect-ratio: 9/16; border-radius: 14px;
  background: linear-gradient(160deg, #CBD2DB, #9AA5B1);
  box-shadow: 0 8px 20px rgba(60,60,80,.18);
  display: flex; align-items: flex-end; justify-content: center;
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700;
  padding-bottom: 18px;
}
.video-thumb--movie { width: 100%; height: auto; display: block; object-fit: cover; padding: 0; background: #111; }
.video-thumb--movie::-webkit-media-controls-panel { opacity: .9; }
.video-carousel__arrow {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); border: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(60,60,80,.2);
  display: flex; align-items: center; justify-content: center;
  color: #555;
}
.video-carousel__arrow svg { width: 14px; height: 14px; }

/* --- お悩み --- */
.lp-worry { background: var(--blue-bg); padding: 72px 0 0; position: relative; }
.lp-worry__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px 64px; }
.lp-worry__heading { text-align: center; margin-bottom: 40px; }
.lp-worry__tag {
  display: inline-block;
  background: var(--white); border-radius: 999px;
  font-size: 13px; font-weight: 700;
  padding: 4px 18px; margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(46,78,143,.12);
}
.lp-worry__title { display: block; font-size: 30px; font-weight: 900; }
.lp-worry__title em { font-style: normal; color: var(--navy); }
.worry-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  max-width: 1000px; margin: 0 auto;
}
.worry-card {
  position: relative;
  background: var(--white); border-radius: 10px;
  box-shadow: 0 6px 18px rgba(46,78,143,.1);
  padding: 40px 24px 28px;
  text-align: center;
  font-size: 15px; font-weight: 700; line-height: 1.9;
}
.worry-card em { font-style: normal; color: var(--navy); }
.worry-card__check {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-deep); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.worry-card__check svg { width: 14px; height: 14px; }
.lp-worry__arrow {
  width: 0; height: 0; margin: 0 auto;
  border-left: 44px solid transparent;
  border-right: 44px solid transparent;
  border-top: 30px solid var(--blue-bg);
  transform: translateY(100%);
  position: absolute; left: 50%; bottom: 0; margin-left: -44px;
}

/* --- 解決（強み） --- */
.lp-solution { background: var(--white); padding: 88px 0; overflow: hidden; }
.lp-solution__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.lp-solution__title {
  text-align: center; font-size: 30px; font-weight: 900; line-height: 1.9;
  margin-bottom: 56px;
}
.lp-solution__brand { display: inline-flex; align-items: center; gap: 6px; vertical-align: -6px; }
.lp-solution__brand .logo-mark { width: 36px; height: 36px; }
.lp-solution__brand .logo-text { font-size: 34px; }
.lp-solution__title mark { background: var(--orange); color: var(--white); padding: 2px 12px; }
.lp-solution__title u {
  text-decoration: none;
  background: linear-gradient(transparent 62%, #F8DCB2 62%);
  padding: 0 4px;
}
.feature-card {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 56px;
}
.feature-card__body {
  flex: 0 0 46%;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(60,60,80,.12);
  padding: 40px 36px;
  position: relative; z-index: 1;
  margin-right: -32px;
}
.feature-card--reverse { flex-direction: row-reverse; }
.feature-card--reverse .feature-card__body { margin-right: 0; margin-left: -32px; }
.feature-card__img { flex: 1; aspect-ratio: 16/9.5; border-radius: 12px; overflow: hidden; }
.feature-card__img .img-placeholder { height: 100%; }
.feature-card__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 22px; font-weight: 700; line-height: 1.6;
  margin-bottom: 16px;
}
.feature-card__num { font-family: var(--font-en); font-weight: 700; font-size: 34px; color: var(--orange-deep); line-height: 1.1; }
.feature-card__title mark { background: var(--orange); color: var(--white); padding: 1px 10px; display: inline-block; margin-top: 4px; }
.feature-card__text { font-size: 14px; }

/* --- 不安の声 --- */
.lp-voice {
  background:
    linear-gradient(135deg, rgba(0,0,0,.02) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.02) 50%, rgba(0,0,0,.02) 75%, transparent 75%),
    #FAFAFA;
  background-size: 90px 90px;
  padding: 80px 0;
}
.lp-voice__inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; text-align: center; }
.voice-box {
  background: var(--white);
  border: 2px solid var(--navy); border-radius: 6px;
  padding: 10px 40px;
}
.voice-box__item {
  font-size: 16px; font-weight: 700; padding: 20px 0;
  border-bottom: 2px dotted #CCC;
  position: relative;
}
.voice-box__item:last-child { border-bottom: none; }
.voice-box__item em { font-style: normal; color: var(--navy); }
.voice-box__item::before, .voice-box__item::after {
  font-family: serif; color: #9AA4B5; font-size: 20px; font-weight: 700;
}
.voice-box__item::before { content: "\201C"; margin-right: 10px; }
.voice-box__item::after { content: "\201D"; margin-left: 10px; }
.lp-voice__down { margin: 26px auto 30px; width: 34px; }
.lp-voice__answer { font-size: 32px; font-weight: 900; margin-bottom: 40px; }
.lp-voice__answer em { font-style: normal; color: var(--navy); }
.lp-voice__row { display: flex; align-items: center; justify-content: center; gap: 56px; }
.merit-circles { display: flex; gap: 40px; }
.merit-circle {
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 700;
}
.merit-circle__ico { width: 38px; height: 38px; }

/* --- 中間CTA --- */
.lp-cta { background: var(--cream); padding: 72px 0 80px; }
.lp-cta__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.lp-cta__title {
  text-align: center; font-size: 26px; font-weight: 900;
  margin-bottom: 40px;
  display: table; margin-left: auto; margin-right: auto;
  background: linear-gradient(transparent 62%, #F8DCB2 62%);
  padding: 0 8px;
}
.contact-card__sub { font-size: 13px; font-weight: 700; margin-top: 12px; }
.contact-card__sub u { text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* --- 実績紹介 --- */
.lp-case { background: var(--white); padding: 88px 0; }
.lp-case__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.case-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(60,60,80,.12);
}
.case-card__img { position: relative; aspect-ratio: 16/9; }
.case-card__img .img-placeholder { height: 100%; }
.case-card__label {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--navy-deep); color: var(--white);
  font-family: var(--font-en); font-weight: 600; font-size: 13px;
  padding: 4px 12px; border-radius: 3px;
}
.case-card__body { padding: 20px 22px 26px; }
.case-card__title {
  font-size: 19px; font-weight: 700;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid #DDD;
  position: relative;
}
.case-card__title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 46px; height: 3px; background: var(--orange);
}
.case-card__title small { font-size: 12px; font-weight: 500; color: #666; }
.case-card__industry { font-size: 13px; margin-bottom: 14px; }
.case-card__results { display: flex; flex-direction: column; gap: 10px; }
.result-line {
  background: #F5F5F5; border-radius: 6px;
  padding: 14px 16px;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 12px;
}
.result-tag {
  border: 2px solid var(--orange); color: var(--text);
  font-family: var(--font-en); font-weight: 600; font-size: 12px;
  padding: 2px 10px; background: var(--white);
}
.result-line em { font-style: normal; color: var(--orange-deep); font-size: 26px; font-family: var(--font-en); font-weight: 700; line-height: 1; }

/* --- サービス料金 --- */
.lp-price { background: var(--blue-bg); padding: 88px 0; overflow: hidden; }
.lp-price__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.price-initial {
  background: var(--white);
  border: 2px solid var(--navy); border-radius: 10px;
  padding: 32px 40px;
  display: grid; grid-template-columns: 320px 1fr; gap: 8px 40px;
  margin: 48px 0 44px;
}
.price-initial__label h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.price-initial__price {
  background: #F5F5F5; border-radius: 6px;
  text-align: center; padding: 14px;
  font-size: 20px; font-weight: 700; color: var(--navy);
}
.price-initial__price em { font-style: normal; font-family: var(--font-en); font-size: 34px; }
.price-initial__list { display: flex; flex-direction: column; }
.price-initial__list li {
  font-size: 14.5px; font-weight: 700;
  padding: 12px 0 12px 34px;
  border-bottom: 2px dotted #CCC;
  position: relative;
}
.price-initial__list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy-deep);
}
.price-initial__list li::after {
  content: ""; position: absolute; left: 6px; top: 50%;
  width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(-45deg);
}
.price-initial__note { grid-column: 2; font-size: 12px; color: #666; margin-top: 8px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card {
  position: relative;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(46,78,143,.12);
  padding: 44px 22px 30px;
  text-align: center;
}
.price-card__tag {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--navy-deep); color: var(--white);
  font-size: 15px; font-weight: 700;
  border-radius: 999px; padding: 6px 30px;
  white-space: nowrap;
}
.price-card__ico { width: 52px; margin: 6px auto 14px; }
.price-card__media {
  background: #F5F5F5; border-radius: 6px;
  font-size: 11.5px; padding: 8px 10px; margin-bottom: 12px;
}
.price-card__price { font-size: 18px; font-weight: 700; color: var(--navy); }
.price-card__price em { font-style: normal; font-family: var(--font-en); font-size: 34px; }
.price-card__price small { font-size: 13px; margin-right: 4px; }
.price-card__note { font-size: 11px; color: #666; margin-top: 8px; }

/* --- 制作の流れ --- */
.lp-flow { background: var(--cream); padding: 88px 0; }
.lp-flow__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.flow-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 40px 42px; margin-top: 48px;
  counter-reset: none;
}
.flow-card {
  position: relative;
  width: 210px;
  background: var(--white); border-radius: 10px;
  box-shadow: 0 6px 18px rgba(160,120,60,.12);
  padding: 34px 14px 24px;
  text-align: center;
}
.flow-card:not(:nth-child(4)):not(:last-child)::after {
  content: ""; position: absolute; right: -28px; top: 50%;
  width: 12px; height: 12px;
  border-top: 3px solid #999; border-right: 3px solid #999;
  transform: translateY(-50%) rotate(45deg);
}
.flow-card__step {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-family: var(--font-en); font-weight: 700; font-size: 13px;
  border-radius: 999px; padding: 3px 20px;
}
.flow-card__ico { width: 42px; height: 42px; margin: 0 auto 12px; display: block; }
.flow-card__label { font-size: 14px; font-weight: 700; line-height: 1.6; }

/* --- FAQ --- */
.lp-faq { background: var(--white); padding: 88px 0; }
.lp-faq__inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.faq-list { display: flex; flex-direction: column; gap: 22px; margin-top: 48px; }
.faq-item { background: #F5F5F5; border-radius: 10px; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 60px 22px 26px;
  font-size: 15.5px; font-weight: 700;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy-deep); color: var(--white);
  font-family: var(--font-en); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.faq-toggle { position: absolute; right: 26px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; background: var(--navy); border-radius: 2px;
}
.faq-toggle::before { left: 0; top: 8px; width: 18px; height: 3px; }
.faq-toggle::after { left: 8px; top: 0; width: 3px; height: 18px; transition: transform .25s; }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }
.faq-a {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 26px 26px;
  margin: 0 26px 0;
  border-top: 1px solid #DDD;
  font-size: 14px;
  padding-left: 0; padding-right: 0;
}
.faq-a__mark {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); color: var(--text);
  font-family: var(--font-en); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.faq-a p { padding-top: 6px; }

/* --- ショート動画LP 固有 --- */
.fukidashi {
  display: inline-block; position: relative;
  background: var(--white); border: 1.5px solid #3A3A3A; border-radius: 999px;
  font-size: 15px; font-weight: 700;
  padding: 8px 24px; margin-bottom: 14px;
}
.fukidashi::after {
  content: ""; position: absolute; left: 40px; bottom: -7px;
  width: 12px; height: 12px;
  background: var(--white);
  border-right: 1.5px solid #3A3A3A; border-bottom: 1.5px solid #3A3A3A;
  transform: rotate(45deg);
}
.lp-hero__sub { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.lp-hero__sub::first-line { letter-spacing: .02em; }
.lp-hero__title--video { font-size: 44px; line-height: 1.4; }
.lp-hero__nara { font-size: 30px; }
.lp-hero__brand { font-family: var(--font-en); font-weight: 700; font-size: 84px; line-height: 1.1; letter-spacing: .01em; }
.lp-hero__brand rt { font-family: var(--font-ja); font-size: 15px; font-weight: 700; color: var(--navy); }
.mock-phone--big {
  position: static; transform: rotate(0);
  width: 250px; height: 500px; border-radius: 38px; padding: 11px;
  margin: 0 auto;
}
.mock-phone--big .mock-phone__screen { border-radius: 28px; font-size: 13px; }

.genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.genre-item__label {
  font-size: 19px; font-weight: 700;
  border-bottom: 3px solid var(--orange);
  display: inline-block; padding: 0 6px 6px 2px; margin-bottom: 14px;
}
.genre-item .video-thumb { width: 100%; }

.worry2-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 1000px; margin: 0 auto;
}
.worry2-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(46,78,143,.1);
}
.worry2-card__head {
  background: #55606E; color: var(--white);
  text-align: center; font-size: 17px; font-weight: 700;
  padding: 12px;
}
.worry2-card__list { padding: 10px 26px 18px; }
.worry2-card__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; font-weight: 700; line-height: 1.8;
  padding: 14px 0;
  border-bottom: 2px dotted #CCC;
}
.worry2-card__list li:last-child { border-bottom: none; }
.worry2-card__list em { font-style: normal; color: var(--navy); }
.worry2-check { position: static; transform: none; width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }

.point-tags { display: flex; justify-content: center; gap: 28px; margin: -20px 0 56px; }
.point-tags li {
  background: var(--orange); color: var(--white);
  border: 2px solid var(--white); outline: 2px solid var(--orange);
  font-size: 17px; font-weight: 700;
  padding: 8px 0; width: 250px; text-align: center;
}

.num-feature { display: flex; align-items: center; gap: 48px; margin-bottom: 64px; position: relative; }
.num-feature--reverse { flex-direction: row-reverse; }
.num-feature__img { flex: 0 0 44%; aspect-ratio: 16/11; border-radius: 12px; overflow: hidden; }
.num-feature__img .img-placeholder { height: 100%; }
.num-feature__body { flex: 1; position: relative; padding-top: 26px; }
.num-feature__num {
  position: absolute; top: -28px; left: -6px;
  font-family: var(--font-en); font-weight: 700; font-size: 110px; line-height: 1;
  color: rgba(242, 160, 61, .18);
}
.num-feature__title { position: relative; font-size: 24px; font-weight: 700; line-height: 1.7; margin-bottom: 18px; }
.num-feature__title em { font-style: normal; color: var(--orange-deep); }
.num-feature__text { position: relative; font-size: 14px; background: linear-gradient(to right, rgba(250, 239, 223, .6), rgba(250,239,223,0)); padding: 14px 12px; }

.voice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.voice-card {
  background: var(--white); border: 2px solid var(--navy); border-radius: 8px;
  padding: 24px 14px; text-align: center;
  font-size: 15.5px; font-weight: 700; line-height: 1.8;
  position: relative;
}
.voice-card em { font-style: normal; color: var(--navy); font-size: 18px; }
.voice-card::before { content: "\201C"; position: absolute; left: 12px; top: 8px; font-family: serif; color: #9AA4B5; font-size: 22px; }
.voice-card::after { content: "\201D"; position: absolute; right: 12px; bottom: 2px; font-family: serif; color: #9AA4B5; font-size: 22px; }

.lp-price__lead { text-align: center; font-size: 14px; margin: -12px 0 48px; }
.price-grid--two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.price-card--plan .price-card__price { margin-bottom: 6px; }
.price-card__include { font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }
.check-orange {
  display: inline-block; width: 14px; height: 8px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg) translateY(-2px);
  margin-right: 8px;
}
.video-thumb--plan { width: 62%; margin: 0 auto; }
.result-line--wrap { align-items: flex-start; }
.result-down { line-height: 1.5; }
.result-down s { color: #888; font-weight: 500; }
.result-down small { font-size: 11px; color: #555; }

/* 比較表 */
.lp-compare { background: var(--white); padding: 88px 0; overflow: hidden; }
.lp-compare__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.lp-compare__lead { text-align: center; font-size: 14px; margin: -12px 0 44px; }
.compare-scroll { overflow-x: auto; }
.compare-table { border-collapse: separate; border-spacing: 3px 0; width: 100%; min-width: 760px; }
.compare-table thead th { padding: 0 0 14px; }
.compare-table thead th span {
  display: block; text-align: center; color: var(--white); font-weight: 700;
  position: relative;
}
.compare-table__nexum span {
  background: var(--orange); font-family: var(--font-en); font-size: 30px;
  padding: 14px 0;
}
.compare-table__nexum span::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-top: 11px solid var(--orange);
}
.compare-table__other span {
  background: #9AA0A8; font-size: 20px; padding: 8px 0; margin-top: 24px;
}
.compare-table__other span::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  border-left: 10px solid transparent; border-right: 10px solid transparent;
  border-top: 9px solid #9AA0A8;
}
.compare-table tbody th {
  background: var(--cream); font-size: 14px; font-weight: 700;
  width: 150px; padding: 28px 10px; text-align: center;
  border-bottom: 3px solid var(--white);
}
.compare-table tbody td {
  background: #F2F2F2; text-align: center; padding: 26px 20px;
  border-bottom: 3px solid var(--white);
  font-size: 13px; vertical-align: middle;
}
.compare-table tbody td.is-nexum { background: var(--white); border-left: 3px solid var(--orange); border-right: 3px solid var(--orange); }
.compare-table tbody tr:last-child td.is-nexum { border-bottom: 3px solid var(--orange); }
.compare-table tbody td strong { display: block; font-size: 15px; margin-bottom: 8px; }
.compare-table tbody td p { color: #555; }
.compare-table tbody td.is-nexum strong { color: var(--text); }
.compare-price { font-size: 20px !important; font-weight: 700; color: var(--text) !important; }
.compare-price em { font-style: normal; color: var(--orange-deep); font-size: 30px; font-family: var(--font-en); }
.mark { display: inline-block; width: 42px; height: 42px; position: relative; margin-bottom: 8px; }
.mark--maru { border: 4px solid #9AA0A8; border-radius: 50%; }
.mark--maru.mark--orange { border-color: var(--orange); }
.mark--niju { border: 4px solid #9AA0A8; border-radius: 50%; }
.mark--niju::after {
  content: ""; position: absolute; inset: 5px;
  border: 4px solid #9AA0A8; border-radius: 50%;
}
.mark--niju.mark--orange, .mark--niju.mark--orange::after { border-color: var(--orange); }
.mark--sankaku {
  width: 0; height: 0; border: none;
  border-left: 23px solid transparent; border-right: 23px solid transparent;
  border-bottom: 40px solid #B9Bec6;
  position: relative;
}
.mark--sankaku::after {
  content: ""; position: absolute; left: -15px; top: 9px;
  border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-bottom: 26px solid #F2F2F2;
}
.flow-card__label small { font-size: 11px; font-weight: 700; }
.flow-row--six .flow-card { width: 280px; }
.flow-row--six .flow-card:nth-child(3)::after { display: none; }
.flow-row--six .flow-card:nth-child(4)::after {
  content: ""; position: absolute; right: -28px; top: 50%;
  width: 12px; height: 12px;
  border-top: 3px solid #999; border-right: 3px solid #999;
  transform: translateY(-50%) rotate(45deg);
}

/* --- LPレスポンシブ --- */
@media (max-width: 1024px) {
  .lp-hero__title { font-size: 32px; }
  .feature-card__body { padding: 28px 26px; }
}

/* ==========================================================
   一覧ページ（事例・ニュース・ブログ）
========================================================== */
.archive { padding: 24px 0 88px; }
.archive__inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.filter-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin: 24px 0 44px;
}
.filter-tabs a {
  display: inline-block; padding: 5px 22px;
  border: 1.5px solid var(--orange); border-radius: 999px;
  color: var(--orange-deep); font-size: 13px; font-weight: 700;
  transition: background .2s, color .2s;
}
.filter-tabs a.is-active, .filter-tabs a:hover { background: var(--orange); color: var(--white); }
.card-grid--archive { margin-bottom: 48px; }
.card__company { font-size: 12px; color: #999; margin-top: 8px; }
.card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card__meta .card__tag { margin-bottom: 0; }
.card__date { font-family: var(--font-en); font-weight: 600; font-size: 12.5px; color: #999; }
.card__date--plain { display: block; margin-bottom: 8px; color: #999; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px;
  border: 1.5px solid var(--navy); color: var(--navy);
  font-family: var(--font-en); font-weight: 600; font-size: 14px;
  transition: background .2s, color .2s;
}
.pagination a.is-current, .pagination a:hover { background: var(--navy); color: var(--white); }
.pagination__dots { color: #888; }
.pagination__next svg { width: 12px; height: 12px; }

@media (max-width: 768px) {
  .article-layout { width: 100vw; }
  .archive { padding-bottom: 64px; }
  .filter-tabs { gap: 10px; justify-content: flex-start; }
  .filter-tabs a { padding: 4px 16px; font-size: 12px; }
}

/* About / Case / News / Vlog：指定書き出し背景 */
.page-hero--asset {
  isolation: isolate;
  background: #ff9d21;
}
.page-hero--asset::before,
.page-hero--asset::after {
  display: none;
}
.page-hero--asset .page-hero__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.page-hero--asset .page-hero__inner {
  z-index: 1;
}

/* ==========================================================
   フッター
========================================================== */
.footer {
  background: linear-gradient(100deg, #F0983A, #E9A94E);
  color: var(--white);
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 44px 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { display: flex; align-items: center; gap: 8px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__nav a { font-size: 13px; font-weight: 500; transition: opacity .25s; }
.footer__nav a:hover { opacity: .7; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.4);
  text-align: center; padding: 16px 24px 20px;
}
.footer__bottom small { font-size: 12px; }

/* ==========================================================
   レスポンシブ
========================================================== */
@media (max-width: 1024px) {
  .heading__en { font-size: 44px; }
  .mv__line1 { font-size: 40px; }
  .mv__line1 em { font-size: 52px; }
  .mv__line2 { font-size: 30px; }
  .mv__badge { font-size: 28px; }
  .phone-mock { width: 200px; height: 400px; }
}

@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: block; }

  /* ヘッダー（ハンバーガー） */
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 46px; height: 46px; padding: 12px;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    border: none; border-radius: 50%; cursor: pointer;
    box-shadow: 0 3px 8px rgba(238, 140, 53, .35);
  }
  .menu-toggle span {
    display: block; height: 2.5px; width: 100%;
    background: var(--white); border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .gnav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px;
    box-shadow: 0 12px 20px rgba(0,0,0,.1);
    transform: translateY(-130%);
    transition: transform .35s ease;
    z-index: 90;
  }
  .gnav.is-open { transform: translateY(0); }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__list > li > a { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid #EEE; }
  .gnav__child { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 16px; }
  .btn-contact { justify-content: center; margin-top: 16px; }

  /* MV */
  .mv__inner { flex-direction: column; padding: 48px 24px 64px; }
  .mv__text { display: contents; }
  .mv__title { order: 1; }
  .mv__lead { order: 2; margin-bottom: 8px; }
  .mv__visual { order: 3; }
  .mv .btn-dl { order: 4; }
  .mv__photo { max-width: 300px; margin: 0 auto; }
  .mv__line1 { font-size: 34px; }
  .mv__line1 em { font-size: 44px; }
  .mv__line2 { font-size: 24px; flex-wrap: wrap; }
  .mv__badge { font-size: 22px; }
  .phone-mock { width: 180px; height: 360px; transform: rotate(4deg); }

  /* About */
  .about { padding-top: 64px; }
  .about__inner { flex-direction: column-reverse; gap: 36px; }

  /* Service */
  .service { padding: 64px 0 72px; }
  .service-card, .service-card--reverse { flex-direction: column; }
  .service-card__img { min-height: 200px; }
  .service-card__body { padding: 24px; }
  .service-card__body .link-more { align-self: flex-end; }

  /* カードグリッド */
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .center .btn-main { width: 100%; max-width: 340px; }
  .btn-dl { width: 100%; justify-content: center; }
  .about__body .btn-main { display: flex; width: 100%; max-width: 340px; margin: 0 auto; }

  /* News */
  .news { padding: 64px 0 72px; }
  .news__inner { flex-direction: column; gap: 28px; }
  .news__head { flex: none; }
  .news__title { -webkit-line-clamp: 2; }
  .news .center { margin-top: 28px; }

  /* Contact */
  .contact { padding: 64px 0 48px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__illust { text-align: right; }
  .contact__illust .contact-illust-img { display: inline-block; }

  /* フッター */
  .footer__inner { flex-direction: column; align-items: center; gap: 28px; }
  .footer__logo .logo-mark { width: 40px; height: 40px; }
  .footer__nav { flex-direction: column; align-items: center; gap: 22px; }
  .footer__nav a { font-size: 14px; }

  /* 下層ページ */
  .page-hero__inner { padding: 48px 24px 44px; }
  .page-hero__title { font-size: 38px; gap: 12px; }
  .heading__en--ja { font-size: 26px; }

  .mvv { padding: 56px 0 64px; }
  .mvv-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 28px 24px; }
  .mvv-card__label { flex: none; display: flex; align-items: baseline; gap: 12px; }
  .mvv-card__en { font-size: 28px; }
  .mvv-card__body { border-left: none; border-top: 1px solid #DDD; padding-left: 0; padding-top: 16px; }
  .mvv-card__copy { font-size: 19px; }

  .message { padding: 56px 0 64px; }
  .message__grid { flex-direction: column; gap: 0; }
  .message__photo { flex: none; width: 100%; max-width: none; margin: 0; aspect-ratio: 1 / 1.1; border-radius: 8px 8px 0 0; }
  .message__card { margin-left: 0; margin-top: 0; padding: 28px 24px; border-radius: 0 0 8px 8px; }
  .message__title { font-size: 20px; }

  .company { padding: 56px 0 64px; }
  .company__inner { flex-direction: column; gap: 28px; }
  .company__inner .heading { flex: none; }
  .company__row { grid-template-columns: 96px 1fr; }

  .contact-page { padding: 56px 0 64px; }
  .contact-page__inner { flex-direction: column; gap: 36px; }
  .contact-page__info { flex: none; width: 100%; }
  .contact-form { padding: 28px 20px 36px; }

  /* LP */
  .lp-hero__inner { flex-direction: column; padding: 44px 24px 56px; }
  .lp-hero__title { font-size: 27px; }
  .lp-hero__title mark { border-width: 2px; padding: 0 6px; }
  .lp-hero__badges { gap: 12px; justify-content: center; }
  .badge-circle { width: 104px; height: 104px; font-size: 11px; }
  .badge-circle::before { left: 18px; top: 16px; }
  .badge-circle::after { right: 18px; top: 16px; }
  .lp-hero__cta { justify-content: center; }
  .lp-hero__visual { width: 100%; min-height: 0; padding-bottom: 40px; }
  .mock-phone { width: 96px; height: 192px; bottom: 0; }
  .lp-hero__blob--orange { width: 380px; height: 340px; right: -80px; top: auto; bottom: 0; }

  .lp-intro { padding-bottom: 56px; }
  .lp-intro__card { padding: 28px 20px; }
  .lp-intro__logo { width: 192px; }
  .lp-intro__title .logo-text { font-size: 30px; }
  .lp-intro__toha { font-size: 19px; }
  .lp-intro__text { font-size: 13.5px; text-align: left; }
  .lp-intro__text br { display: none; }
  .video-carousel { gap: 10px; }
  .video-carousel__track { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .video-carousel__arrow { width: 36px; height: 36px; }

  .lp-worry { padding-top: 56px; }
  .lp-worry__title { font-size: 22px; }
  .worry-grid { grid-template-columns: 1fr; gap: 30px; }

  .lp-solution { padding: 64px 0; }
  .lp-solution__title { font-size: 21px; }
  .lp-solution__brand .logo-text { font-size: 24px; }
  .lp-solution__brand .logo-mark { width: 26px; height: 26px; }
  .feature-card, .feature-card--reverse { flex-direction: column; margin-bottom: 44px; }
  .feature-card__body { flex: none; margin: 0 0 -24px !important; width: calc(100% - 24px); }
  .feature-card__img { width: 100%; }
  .feature-card__title { font-size: 19px; }

  .lp-voice { padding: 56px 0; }
  .voice-box { padding: 4px 18px; }
  .voice-box__item { font-size: 13.5px; text-align: left; }
  .lp-voice__answer { font-size: 24px; }
  .lp-voice__row { flex-direction: column; gap: 28px; }
  .merit-circles { gap: 14px; }
  .merit-circle { width: 104px; height: 104px; font-size: 12px; gap: 6px; }
  .merit-circle__ico { width: 26px; height: 26px; }

  .lp-cta { padding: 56px 0 64px; }
  .lp-cta__title { font-size: 20px; }

  .lp-case { padding: 64px 0; }
  .case-grid { grid-template-columns: 1fr; gap: 24px; }

  .lp-price { padding: 64px 0; }
  .price-initial { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .price-initial__note { grid-column: 1; }
  .price-grid { grid-template-columns: 1fr; gap: 40px; }

  .lp-flow { padding: 64px 0; }
  .flow-row { gap: 34px 20px; }
  .flow-card { width: calc(50% - 10px); }
  .flow-card:not(:nth-child(4)):not(:last-child)::after { display: none; }

  .lp-faq { padding: 64px 0; }
  .faq-item summary { padding: 18px 50px 18px 16px; font-size: 14px; gap: 10px; }
  .faq-a { margin: 0 16px; gap: 10px; }

  /* ショート動画LP */
  .lp-hero__title--video { font-size: 32px; }
  .lp-hero__nara { font-size: 22px; }
  .lp-hero__brand { font-size: 56px; }
  .fukidashi { font-size: 12.5px; padding: 7px 16px; }
  .lp-hero__sub { font-size: 14px; }
  .mock-phone--big { width: 190px; height: 380px; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .genre-item__label { font-size: 15px; }
  .worry2-grid { grid-template-columns: 1fr; gap: 24px; }
  .point-tags { flex-direction: column; align-items: center; gap: 12px; margin-top: 0; }
  .point-tags li { width: 260px; font-size: 15px; }
  .num-feature, .num-feature--reverse { flex-direction: column; gap: 20px; margin-bottom: 48px; }
  .num-feature__img { width: 100%; flex: none; }
  .num-feature__num { font-size: 72px; top: -14px; }
  .num-feature__title { font-size: 19px; }
  .voice-cards { grid-template-columns: 1fr; gap: 16px; }
  .price-grid--two { grid-template-columns: 1fr; }
  .lp-compare { padding: 64px 0; }
  .compare-table tbody th { width: 100px; padding: 20px 6px; font-size: 12px; }
}

/* ==========================================================
   WordPress 個別記事・お問い合わせページ 追加分
========================================================== */
.single { padding: 48px 0 88px; }
.single__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.single-article__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #E5E5E5; }
.single-article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.single-article__title { font-size: 26px; font-weight: 700; line-height: 1.6; }
.single-article__thumb { margin: 0 0 32px; border-radius: 10px; overflow: hidden; }
.single-article__thumb img { width: 100%; height: auto; display: block; }
.single-article__body { font-size: 15.5px; line-height: 2; }
.single-article__body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; padding-left: 14px; border-left: 5px solid var(--orange); }
.single-article__body h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.single-article__body p { margin-bottom: 20px; }
.single-article__body img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.single-article__body a { color: var(--orange-deep); text-decoration: underline; }
.single-article__body ul, .single-article__body ol { margin: 0 0 20px 1.5em; }
.single-article__body ul li { list-style: disc; }
.single-article__body ol li { list-style: decimal; }
.single__back { margin-top: 48px; }

.contact-form-wrap { flex: 1; }

/* お問い合わせフォーム上部のイラスト */
.contact-form-wrap--team {
  position: relative;
  padding-top: 72px;
}
.contact-form-wrap--team .contact-form__team {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 28px;
  display: block;
  width: min(320px, 54%);
  height: auto;
  pointer-events: none;
}
.contact-form-wrap--team .contact-form {
  padding-top: 124px;
}

/* LP内は固定高のフォームに重ねるため、イラストのみ上へ逃がす */
body.page-template-page-video .contact-form-wrap--team { padding-top: 0; }
body.page-template-page-video .contact-form-wrap--team .contact-form__team { top: -72px; }

@media (max-width: 768px) {
  .contact-form-wrap--team { padding-top: 56px; }
  .contact-form-wrap--team .contact-form__team {
    right: 18px;
    width: min(220px, 65%);
  }
  .contact-form-wrap--team .contact-form { padding-top: 104px; }
  body.page-template-page-video .contact-form-wrap--team { padding-top: 0; }
  body.page-template-page-video .contact-form-wrap--team .contact-form__team { top: -56px; }
}

@media (max-width: 768px) {
  .single { padding: 32px 0 64px; }
  .single-article__title { font-size: 21px; }

  .brand-logo { width: 128px; }
  .footer .brand-logo { width: 140px; }
  .page-hero__line--orange { width: 76px; right: -12px; top: 12px; }
  .page-hero__line--blue { width: 34px; left: 6%; bottom: 18px; }
  .lp-hero__shape { width: 430px; right: -150px; bottom: -40px; }
  .lp-hero__line--orange { width: 72px; left: -16px; top: 24px; }
  .lp-hero__line--blue { width: 35px; right: 4%; top: 20px; }
  .lp-hero__visual--phone { min-height: 400px; padding-bottom: 0; }
  .lp-hero__phone-frame { width: 230px; }
  .lp-hero__phone-video { width: 71%; height: 76%; top: 12%; left: 14.5%; }
}

/* ==========================================================
   Figma 再調整（共通レイアウト / PC）
========================================================== */
:root {
  --header-h: 88px;
  --site-width: 1280px;
  --content-width: 1040px;
  --cream: #fff5e6;
  --blue-bg: #eaf2fb;
}

html { scroll-padding-top: var(--header-h); }

.header {
  box-shadow: none;
  border-bottom: 1px solid rgba(45, 45, 45, .06);
}
.header__inner {
  max-width: var(--site-width);
  height: var(--header-h);
  padding: 0;
}
.brand-logo,
.footer .brand-logo { width: 174px; }
.gnav { gap: 34px; }
.gnav__list { gap: 34px; }
.gnav__list > li > a { font-size: 13px; font-weight: 600; }
.gnav__child { top: calc(100% + 9px); border-radius: 12px; padding: 10px 0; }
.gnav__child a { padding: 9px 18px; }
.btn-contact {
  min-width: 172px;
  justify-content: center;
  padding: 12px 22px;
  font-size: 13px;
}
@media (min-width: 769px) {
  .header__inner { position: relative; }
  .gnav { flex: 1; position: relative; justify-content: flex-end; }
  .gnav__list {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* TOP */
.mv {
  min-height: 650px;
  margin-top: var(--header-h);
  background:
    linear-gradient(90deg, rgba(235, 151, 42, .96) 0%, rgba(245, 169, 53, .91) 52%, rgba(244, 157, 37, .94) 100%),
    url("../media/top-fv-background.webp") center / cover no-repeat;
}
.mv__bg {
  background:
    linear-gradient(90deg, rgba(167, 88, 19, .12), transparent 46%),
    radial-gradient(circle at 84% 20%, rgba(255,255,255,.22), transparent 24%);
}
.mv__inner {
  max-width: var(--site-width);
  min-height: 650px;
  padding: 68px 48px 56px;
  align-items: center;
}
.mv__text { position: relative; z-index: 2; max-width: 590px; }
.mv__title { margin-bottom: 18px; }
.mv__line1 { font-size: 58px; line-height: 1.22; letter-spacing: .02em; }
.mv__line1 em { font-size: 70px; }
.mv__line2 { margin-top: 6px; font-size: 40px; line-height: 1.35; gap: 10px; }
.mv__badge { padding: 1px 13px 3px; font-size: 44px; border-radius: 3px; }
.mv__lead { font-size: 14px; line-height: 1.85; margin-bottom: 24px; }
.btn-dl { min-width: 246px; padding: 14px 26px; font-size: 14px; }
.mv__visual { position: absolute; right: 50px; bottom: 0; z-index: 1; }
.mv__photo { width: 490px; max-width: none; }
.mv__dots--right { right: 74px; bottom: 74px; z-index: 2; opacity: .8; }
.mv__line { position: absolute; z-index: 2; pointer-events: none; }
.mv__line--left { left: 40px; bottom: 48px; width: 130px; opacity: .78; transform: rotate(23deg); }

/* TOP の各ブロックはFigmaの 1,040px コンテナに揃える */
.about { padding-top: 76px; }
.about__inner { max-width: var(--content-width); padding-bottom: 32px; gap: 74px; }
.about__text { font-size: 13px; line-height: 1.9; }
.service { padding: 74px 0 78px; }
.service__inner,
.case__inner,
.vlog__inner,
.news__inner,
.contact__inner { max-width: var(--content-width); }
.service__lead { font-size: 13px; line-height: 1.9; margin-bottom: 34px; }
.service-card { border-radius: 14px; margin-bottom: 26px; box-shadow: 0 8px 24px rgba(156, 112, 49, .12); }
.service-card__img { flex-basis: 46%; min-height: 230px; padding: 12px; }
.service-card__body { padding: 28px 34px; }
.service-card__title { font-size: 21px; margin-bottom: 10px; }
.service-card__num { font-size: 28px; }
.service-card__text { font-size: 12px; line-height: 1.8; }
.case { padding-top: 72px; }
.card-grid { gap: 20px; margin-bottom: 30px; }
.card { border-radius: 10px; }
.card__body { padding: 13px 14px 16px; }
.card__title { font-size: 12px; }
.card__tag { font-size: 10px; padding: 1px 9px; margin-bottom: 6px; }
.news { padding: 70px 0 72px; }
.news__inner { gap: 72px; }
.news__head { flex-basis: 210px; }
.news__item { border-radius: 9px; padding: 11px 18px 12px; }
.news__date,
.news__title { font-size: 12px; }
.vlog { padding-top: 72px; }
.contact { padding: 70px 0 54px; }
.contact__grid { max-width: 820px; gap: 24px; }
.contact-card { border-radius: 12px; padding: 26px 28px 30px; }
.contact-card__title { font-size: 18px; }
.contact-card__text { font-size: 12px; }
.heading__en { font-size: 52px; }
.heading__sub,
.heading__ja { font-size: 12px; }
.heading__bar { width: 48px; height: 4px; margin-top: 9px; }

/* 下層ページ */
.page-hero,
.lp-hero { margin-top: var(--header-h); }
.page-hero__inner { max-width: var(--content-width); padding: 60px 0 54px; }
.page-hero__title { font-size: 48px; margin-bottom: 15px; }
.page-hero__lead { font-size: 13px; line-height: 1.9; }
.breadcrumb__inner { max-width: var(--content-width); padding-left: 0; padding-right: 0; }
.mvv__inner { max-width: 940px; }
.message__inner,
.company__inner,
.contact-page__inner { max-width: var(--content-width); }

/* LP ヒーロー */
.lp-hero { min-height: 680px; }
.lp-hero__shape {
  width: 760px;
  right: -58px;
  bottom: -10px;
  opacity: 1;
}
.lp-hero__blob { display: none; }
.lp-hero__line--orange { width: 88px; left: auto; right: 6%; top: 36px; }
.lp-hero__line--blue { width: 42px; right: 3%; top: 66px; }
.lp-hero__inner {
  max-width: var(--site-width);
  min-height: 680px;
  padding: 60px 10px 44px;
  gap: 10px;
}
.lp-hero__text { position: relative; z-index: 3; flex-basis: 54%; transform: translateY(-30px); }
.lp-hero__title { font-size: 39px; line-height: 1.45; margin-bottom: 10px; }
.lp-hero__lead { font-size: 14px; margin-bottom: 18px; }
.lp-hero__badges { gap: 14px; margin-bottom: 22px; }
.badge-circle { width: 112px; height: 112px; font-size: 11px; box-shadow: 0 5px 12px rgba(156, 112, 49, .18); }
.badge-circle::before,
.badge-circle::after { top: 18px; font-size: 12px; }
.badge-circle::before { left: 21px; }
.badge-circle::after { right: 21px; }
.btn-cta { min-width: 260px; padding: 13px 22px; font-size: 13px; border-width: 2px; }
.lp-hero__visual { flex-basis: 46%; min-height: 0; z-index: 2; }
.lp-hero__img { width: 650px; max-width: 116%; margin-left: -38px; margin-top: 34px; }
.lp-hero__visual--phone { min-height: 520px; }
.lp-hero__phone-frame { display: none; }
.lp-hero__phone-video {
  z-index: 3;
  width: 252px;
  height: 440px;
  top: 36px;
  left: calc(50% - 126px);
  border: 8px solid #171719;
  border-radius: 38px;
  box-shadow: 0 22px 34px rgba(24, 24, 24, .28);
  transform: rotate(14deg);
  transform-origin: center;
}
.lp-hero__title--video { font-size: 42px; }
.lp-hero__brand { font-size: 78px; }
.lp-hero--video .lp-hero__inner { padding-left: 140px; }

.lp-intro { padding: 0 0 62px; }
.lp-intro__inner,
.lp-worry__inner,
.lp-solution__inner,
.lp-voice__inner,
.lp-cta__inner,
.lp-case__inner,
.lp-price__inner,
.lp-flow__inner,
.lp-faq__inner { max-width: var(--content-width); }
.lp-intro__card { border-radius: 14px; padding: 28px 28px; margin-bottom: 28px; }
.lp-intro__title .logo-text { font-size: 35px; }
.lp-intro__text { font-size: 13px; line-height: 1.9; }
.video-carousel__track { gap: 16px; }
.video-thumb { border-radius: 10px; }

@media (max-width: 1100px) {
  .header__inner { padding: 0 28px; }
  .gnav,
  .gnav__list { gap: 20px; }
  .gnav__list > li > a { font-size: 12px; }
  .btn-contact { min-width: 150px; padding-left: 16px; padding-right: 16px; }
  .mv__visual { right: 14px; }
  .mv__photo { width: 440px; }
  .mv__inner,
  .lp-hero__inner { padding-left: 30px; padding-right: 30px; }
  .lp-hero--video .lp-hero__inner { padding-left: 80px; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .header__inner { height: var(--header-h); padding: 0 18px; }
  .brand-logo,
  .footer .brand-logo { width: 136px; }
  .gnav { top: var(--header-h); }
  .menu-toggle { width: 42px; height: 42px; }
  .mv { min-height: auto; }
  .mv__inner { min-height: 0; padding: 44px 22px 0; gap: 16px; }
  .mv__text { max-width: 100%; }
  .mv__line1 { font-size: 38px; }
  .mv__line1 em { font-size: 47px; }
  .mv__line2 { font-size: 26px; }
  .mv__badge { font-size: 28px; }
  .mv__lead { font-size: 12px; margin-bottom: 20px; }
  .btn-dl { min-width: 0; padding: 12px 22px; font-size: 13px; }
  .mv__visual { position: relative; right: auto; bottom: auto; width: 100%; text-align: center; }
  .mv__photo { width: min(300px, 82vw); margin: 0 auto; }
  .mv__dots--right { right: 14px; bottom: 20px; width: 72px; height: 110px; }
  .mv__line--left { left: -30px; bottom: 80px; width: 100px; }
  .about { padding-top: 58px; }
  .about__inner { gap: 32px; padding: 0 22px 20px; }
  .service,
  .case,
  .news,
  .vlog,
  .contact { padding-top: 58px; }
  .service__inner,
  .case__inner,
  .vlog__inner,
  .news__inner,
  .contact__inner,
  .page-hero__inner,
  .breadcrumb__inner { padding-left: 22px; padding-right: 22px; }
  .page-hero__inner { padding-top: 46px; padding-bottom: 40px; }
  .page-hero__title { font-size: 38px; }
  .heading__en { font-size: 42px; }
  .heading__en--ja { font-size: 24px; }
  .service-card__img { min-height: 190px; }
  .service-card__body { padding: 22px; }
  .news__inner { gap: 28px; }
  .contact__grid { gap: 18px; }
  .lp-hero { min-height: 0; }
  .lp-hero__shape { width: 510px; right: -170px; bottom: 32px; }
  .lp-hero__line--orange { width: 68px; right: 12px; top: 22px; }
  .lp-hero__line--blue { width: 30px; right: 6px; top: 54px; }
  .lp-hero__inner {
    min-height: 0;
    padding: 46px 22px 26px;
    gap: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .lp-hero__text { display: contents; transform: none; }
  .lp-hero__title { order: 3; font-size: 25px; letter-spacing: -.02em; }
  .lp-hero__lead { order: 4; }
  .lp-hero__visual { order: 5; }
  .lp-hero__badges { order: 6; }
  .lp-hero__cta { order: 7; }
  .fukidashi { order: 1; }
  .lp-hero__sub { order: 2; }
  .lp-hero__lead { font-size: 12px; }
  .lp-hero__badges { gap: 8px; margin-bottom: 18px; }
  .badge-circle { width: calc((100vw - 60px) / 3); height: calc((100vw - 60px) / 3); max-width: 108px; max-height: 108px; font-size: 10px; }
  .badge-circle::before { left: 16px; }
  .badge-circle::after { right: 16px; }
  .btn-cta { min-width: 0; width: 100%; }
  .lp-hero__visual { padding-bottom: 0; }
  .lp-hero__img { width: 112%; max-width: none; margin: 0 0 0 -6%; }
  .lp-hero__visual--phone { min-height: 390px; }
  .lp-hero__phone-frame { display: none; }
  .lp-hero__phone-video {
    width: 190px;
    height: 330px;
    top: 28px;
    left: calc(50% - 95px);
    border-width: 6px;
    border-radius: 30px;
  }
  .lp-hero__title--video { font-size: 31px; }
  .lp-hero__brand { font-size: 56px; }
  .lp-hero--video .lp-hero__inner { padding-left: 22px; }
  .lp-intro__inner,
  .lp-worry__inner,
  .lp-solution__inner,
  .lp-voice__inner,
  .lp-cta__inner,
  .lp-case__inner,
  .lp-price__inner,
  .lp-flow__inner,
  .lp-faq__inner { padding-left: 22px; padding-right: 22px; }
}

/* Contact form feedback */
.contact-form__notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.contact-form__notice--success {
  color: #17723e;
  background: #ecfaf1;
  border-color: #9fe1b6;
}

.contact-form__notice--error {
  color: #a84323;
  background: #fff0ec;
  border-color: #f2b8a8;
}

/* ==========================================================
   TOP FV：Figma 書き出し素材を基準にした実装
========================================================== */
.mv--asset {
  min-height: 0;
  margin-top: var(--header-h);
  background: #ff9b20;
}

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

.mv__asset-desktop {
  position: relative;
  width: 100%;
  line-height: 0;
}

.mv__asset-image {
  display: block;
  width: 100%;
  height: auto;
}

.mv__asset-cta {
  position: absolute;
  z-index: 2;
  left: 9.25%;
  top: 72.4%;
  width: 28.4%;
  height: 12.7%;
  border-radius: 999px;
}

.mv__asset-cta:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.mv__asset-mobile { display: none; }

@media (max-width: 768px) {
  .mv--asset { margin-top: var(--header-h); }
  .mv--asset .mv__asset-desktop { display: none; }
  .mv__asset-mobile {
    position: relative;
    display: block;
    min-height: 668px;
    overflow: hidden;
    background: #ff9b20 url("../media/top-fv-base.png") center / cover no-repeat;
    isolation: isolate;
  }
  .mv__asset-mobile::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(145deg, rgba(255, 163, 47, .93), rgba(255, 145, 24, .92));
  }
  .mv__asset-office {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 34% center;
    opacity: .38;
  }
  .mv__asset-mobile-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 668px;
    padding: 50px 22px 26px;
  }
  .mv__asset-copy { color: #fff; }
  .mv__asset-kicker {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .08em;
  }
  .mv__asset-copy h2 {
    margin: 0;
    font-size: clamp(34px, 10vw, 43px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .015em;
  }
  .mv__asset-brand {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.28;
  }
  .mv__asset-brand span {
    display: inline-block;
    padding: 1px 6px 2px;
    color: #1760ab;
    background: #fff;
  }
  .mv__asset-lead {
    margin: 14px 0 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
  }
  .mv__asset-phone {
    position: relative;
    z-index: 1;
    align-self: center;
    width: min(232px, 66vw);
    height: auto;
    margin: 8px -18px 10px auto;
    filter: drop-shadow(0 13px 15px rgba(112, 58, 11, .25));
    transform: rotate(8deg);
  }
  .mv__asset-copy .btn-dl {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 31px;
    left: 22px;
    justify-content: center;
    min-width: 0;
    padding: 13px 15px;
    font-size: 13px;
  }
  .mv__asset-wave {
    position: absolute;
    z-index: 0;
    right: -24%;
    bottom: -1px;
    width: 118%;
    height: auto;
    opacity: .92;
    pointer-events: none;
  }
}

/* ==========================================================
   TOP：Figma素材による線装飾・お問い合わせ・フッター
========================================================== */
.top-section-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.about,
.service,
.case,
.news,
.vlog,
.contact {
  isolation: isolate;
}

.about__inner,
.service__inner,
.case__inner,
.news__inner,
.vlog__inner,
.contact__inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .about { min-height: 40.42vw; }
  .service { min-height: 79.93vw; }
  .case { min-height: 55.35vw; }
  .news { min-height: 39.72vw; }
  .vlog { min-height: 49.17vw; }
  .contact { min-height: 54.24vw; }
}

.section-accent {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.section-accent--orange { width: 140px; }
.section-accent--blue { width: 112px; }

.about__inner,
.service__inner,
.case__inner,
.news__inner,
.contact__inner { z-index: 2; }

.about__accent1 { left: 7.2%; top: 64px; }
.about__accent2 { right: 5.7%; bottom: 118px; }
.service__accent1 { right: 7.5%; top: 164px; }
.case__accent1 { right: 11.2%; top: 84px; }
.news__accent1 { left: 40px; top: 38px; }
.news__accent2 { right: 5.6%; bottom: 62px; }

.contact {
  padding: 86px 0 0;
  background: #fbf3e7;
}

.contact__inner {
  max-width: 1000px;
  padding: 0;
}

.contact__accent1 { left: max(0px, calc(50% - 680px)); top: 219px; }
.contact__accent2 { right: max(24px, calc(50% - 610px)); top: 132px; }

.contact .heading { margin-bottom: 38px; }
.contact__grid {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  gap: 50px;
}

.contact__grid--assets {
  align-items: start;
}

.contact-cta-asset {
  display: block;
  line-height: 0;
  transition: transform .2s ease;
}

.contact-cta-asset img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-cta-asset:hover { transform: translateY(-4px); }
.contact-cta-asset:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.contact-card {
  min-height: 350px;
  padding: 50px 48px 52px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(150, 110, 50, .13);
}

.contact-card__title {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom-color: #d7d1ca;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: .02em;
}

.contact-card__text {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.contact-card__note {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.contact .btn-square {
  align-self: center;
  width: 340px;
  max-width: 100%;
  min-height: 70px;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .04em;
}

.contact .btn-square--orange {
  background: linear-gradient(100deg, #ffc85b 0%, #ffad27 50%, #ff981d 100%);
  box-shadow: 0 0 0 2px #f49a28, 0 6px 0 #d98223, 0 10px 18px rgba(223, 131, 31, .24);
}

.contact .btn-square--line {
  background: linear-gradient(100deg, #44d878 0%, #06bd50 100%);
  box-shadow: 0 0 0 2px #09b653, 0 6px 0 #078d40, 0 10px 18px rgba(8, 151, 68, .22);
}

.contact .btn-square:hover { transform: translateY(-2px); }
.contact .btn-square:active { transform: translateY(2px); box-shadow: 0 0 0 2px currentColor, 0 3px 0 rgba(0, 0, 0, .18); }
.contact .ico-mail,
.contact .ico-line { width: 21px; height: 21px; }

.contact__illust {
  position: relative;
  z-index: 3;
  width: 320px;
  margin: -28px 0 0 -180px;
}

.contact__illust .contact-illust-img {
  width: 320px;
  margin: 0;
}

.footer {
  background: linear-gradient(104deg, #ffb33b 0%, #ffa426 47%, #ff971c 100%);
}

.footer__inner {
  max-width: 1200px;
  min-height: 188px;
  padding: 58px 0 55px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
}

.footer .brand-logo { width: 208px; }
.footer__nav { margin-left: 207px; flex-wrap: nowrap; gap: 44px; }
.footer__nav a { font-size: 14px; font-weight: 700; white-space: nowrap; }

.footer__bottom {
  padding: 30px 24px 35px;
  border-top-color: rgba(255, 255, 255, .58);
}

.footer__bottom small { font-size: 12px; letter-spacing: .02em; }

@media (max-width: 1080px) {
  .contact__inner { padding-right: 24px; padding-left: 24px; }
  .contact__illust { margin-left: -80px; }
  .footer__inner { padding-right: 24px; padding-left: 24px; }
  .footer .brand-logo { width: 186px; }
  .footer__nav { margin-left: auto; gap: 18px; }
  .footer__nav a { font-size: 12px; }
}

@media (min-width: 1081px) and (max-width: 1399px) {
  .contact__illust { margin-left: -112px; }
}

@media (max-width: 768px) {
  .section-accent--orange { width: 84px; }
  .section-accent--blue { width: 68px; }
  .about__accent1 { left: -8px; top: 48px; }
  .about__accent2 { right: -13px; bottom: 76px; }
  .service__accent1 { right: -19px; top: 112px; }
  .case__accent1 { right: -9px; top: 60px; }
  .news__accent1 { left: -14px; top: 56px; }
  .news__accent2 { right: -18px; bottom: 45px; }

  .contact { padding: 58px 0 0; }
  .contact__inner { padding-right: 22px; padding-left: 22px; }
  .contact__accent1 { left: -14px; top: 212px; }
  .contact__accent2 { right: -16px; top: 120px; }
  .contact .heading { margin-bottom: 30px; }
  .contact__grid { gap: 18px; }
  .contact-cta-asset:hover { transform: none; }
  .contact-card { min-height: 0; padding: 27px 24px 30px; border-radius: 14px; }
  .contact-card__title { margin-bottom: 15px; padding-bottom: 13px; font-size: 18px; }
  .contact-card__text { font-size: 12px; }
  .contact .btn-square { width: 100%; min-height: 56px; font-size: 14px; }
  .contact__illust { width: 230px; margin: -6px 0 0 -8px; }
  .contact__illust .contact-illust-img { width: 230px; }

  .footer__inner {
    min-height: 0;
    padding: 44px 22px 34px;
    display: block;
  }
  .footer .brand-logo { width: 172px; }
  .footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin-top: 30px;
  }
  .footer__nav a { font-size: 13px; }
  .footer__bottom { padding: 18px 22px 20px; }
  .footer__bottom small { font-size: 10px; }
}

/* ==========================================================
   正解デザイン固定：TOP PC / SP
   書き出し画像（PC 1440px / SP 390px）に合わせるための最終値
========================================================== */
@media (min-width: 769px) {
  :root { --content-width: 1048px; }

  .header { border-bottom: 0; }
  .header .brand-logo { width: 200px; }
  .gnav__list { gap: 62px; }
  .btn-contact {
    min-width: 220px;
    min-height: 56px;
    padding: 14px 24px;
    font-size: 14px;
  }
  .mv__asset-desktop { width: 100vw; }

  .heading__en { font-size: 52px; }
  .heading__ja,
  .heading__sub { font-size: 14px; }
  .heading__bar { width: 56px; height: 5px; margin-top: 12px; }

  .btn-main {
    min-width: 240px;
    min-height: 56px;
    padding: 14px 30px;
  }

  .about { padding-top: 86px; }
  .about__inner {
    max-width: var(--content-width);
    gap: 40px;
    padding-bottom: 44px;
  }
  .about__illust { flex: 0 0 440px; }
  .about-img { max-width: 420px; }
  .about__text { font-size: 14px; line-height: 1.85; }

  .service { padding: 90px 0 120px; }
  .service__lead {
    font-size: 14px;
    margin-bottom: 44px;
  }
  .service-card {
    min-height: 328px;
    margin-bottom: 40px;
  }
  .service-card__img {
    flex-basis: 50%;
    min-height: 0;
    padding: 24px;
  }
  .service-card__body { padding: 58px 40px 48px; }
  .service-card__title {
    margin-bottom: 18px;
    font-size: 31px;
    line-height: 1.2;
  }
  .service-card__num { font-size: 40px; }
  .service-card__text {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.65;
  }
  .service-card__body .link-more {
    padding-bottom: 8px;
    font-size: 16px;
  }

  .case { padding-top: 108px; }
  .vlog { padding-top: 108px; }
  .card-grid {
    gap: 40px;
    margin-bottom: 56px;
  }
  .case .card__img { aspect-ratio: 3 / 2; }
  .case .card__body {
    min-height: 136px;
    padding: 18px 20px 20px;
  }
  .vlog .card__body {
    min-height: 88px;
    padding: 18px 20px;
  }
  .card__tag {
    margin-bottom: 10px;
    padding: 2px 12px;
    font-size: 12px;
  }
  .card__title { font-size: 14px; }
  .case .center,
  .vlog .center { padding-bottom: 110px; }

  .news { padding: 88px 0 96px; }
  .news__inner { gap: 100px; }
  .news__head { flex-basis: 240px; }
  .news__list { gap: 18px; }
  .news__item {
    min-height: 94px;
    padding: 15px 24px;
    border-radius: 14px;
  }
  .news__date,
  .news__title { font-size: 14px; }

  .contact { padding-top: 43px; }
}

@media (max-width: 768px) {
  :root { --header-h: 55px; }

  .header { border-bottom: 0; }
  .header__inner { height: var(--header-h); padding: 0 22px; }
  .brand-logo,
  .footer .brand-logo { width: 132px; }
  .menu-toggle { width: 40px; height: 40px; padding: 10px; }
  .gnav { top: var(--header-h); }

  .mv--asset { margin-top: var(--header-h); }
  .mv__asset-mobile {
    display: block;
    width: 100vw;
    min-height: 0;
    line-height: 0;
    overflow: hidden;
    background: none;
    isolation: auto;
  }
  .mv__asset-mobile::after { display: none; }
  .mv__asset-mobile-image {
    display: block;
    width: 100%;
    height: auto;
  }
  .mv__asset-mobile-cta {
    position: absolute;
    z-index: 2;
    top: 84.5%;
    left: 6.2%;
    width: 87.6%;
    height: 10.1%;
    border-radius: 999px;
  }
  .mv__asset-mobile-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }

  .heading__en { font-size: 32px; }
  .heading__ja,
  .heading__sub { font-size: 14px; }
  .heading__bar { width: 32px; height: 3px; margin-top: 8px; }

  .about { padding-top: 36px; }
  .about__inner {
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
  }
  .about__illust { width: 100%; }
  .about-img { width: 240px; max-width: 100%; }
  .about__body .heading { margin-bottom: 14px; }
  .about__text {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.7;
  }
  .about__body .btn-main {
    width: 280px;
    max-width: 100%;
    min-height: 56px;
    margin: 0 auto;
  }
  .about .wave svg { height: 32px; }

  .service {
    padding: 45px 0 40px;
  }
  .service__inner,
  .case__inner,
  .vlog__inner,
  .news__inner { padding-right: 24px; padding-left: 24px; }
  .service .heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
  }
  .service .heading__en { margin-right: 0; }
  .service__lead {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
  }
  .service-card,
  .service-card--reverse {
    flex-direction: column;
    margin-bottom: 18px;
    border-radius: 12px;
  }
  .service-card__img {
    flex: none;
    min-height: 0;
    height: 197px;
    padding: 16px 16px 0;
  }
  .service-card__img .ph-img { border-radius: 8px; }
  .service-card__body { padding: 12px 16px 12px; }
  .service-card__title {
    margin-bottom: 12px;
    font-size: 21px;
  }
  .service-card__num { font-size: 25px; }
  .service-card__text {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.55;
  }
  .service-card__body .link-more {
    padding-bottom: 5px;
    font-size: 14px;
  }

  .case { padding-top: 46px; }
  .vlog { padding-top: 40px; }
  .case .heading,
  .vlog .heading,
  .news .heading,
  .contact .heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
  }
  .case .heading__ja,
  .vlog .heading__ja,
  .news .heading__ja,
  .contact .heading__ja {
    order: -1;
    margin-bottom: 3px;
  }
  .case .heading__en,
  .vlog .heading__en,
  .news .heading__en,
  .contact .heading__en { margin-right: 0; }
  .card-grid {
    gap: 18px;
    margin-bottom: 24px;
  }
  .case .card__img,
  .vlog .card__img { aspect-ratio: 2.15 / 1; }
  .case .card__body {
    min-height: 116px;
    padding: 11px 16px;
  }
  .vlog .card__body {
    min-height: 84px;
    padding: 14px 16px;
  }
  .card__tag {
    margin-bottom: 7px;
    padding: 1px 10px;
    font-size: 11px;
  }
  .card__title {
    font-size: 14px;
    line-height: 1.6;
  }
  .case .center,
  .vlog .center { padding-bottom: 0; }
  .case .center .btn-main,
  .vlog .center .btn-main,
  .news .center .btn-main {
    width: 280px;
    max-width: 100%;
    min-height: 56px;
  }

  .news { padding: 38px 0 42px; }
  .news__inner {
    display: block;
  }
  .news__head { display: block; }
  .news .heading { margin-bottom: 21px; }
  .news__list { gap: 12px; }
  .news__item {
    min-height: 90px;
    padding: 10px 16px 11px;
    border-radius: 10px;
    column-gap: 12px;
  }
  .news__date { font-size: 12px; }
  .news__title { font-size: 13px; line-height: 1.55; }
  .news .center { margin-top: 24px; }

  .case .card-grid { margin-bottom: 27px; }
  .case .wave svg { height: 45px; }

  .vlog .card-grid {
    gap: 16px;
    margin-bottom: 25px;
  }
  .vlog .card__body { min-height: 92px; }
  .vlog .wave svg { height: 38px; }

  .case__accent1 {
    right: auto;
    left: 16px;
    top: 54px;
  }
  .dots--vlog {
    right: auto;
    left: -18px;
    top: 78px;
  }
  .news__accent1 { display: none; }
  .news__accent2 {
    top: 46px;
    right: -18px;
    bottom: auto;
  }

  .contact { padding-top: 58px; }
  .contact .heading { margin-bottom: 30px; }

  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 22px 26px;
  }
  .footer .brand-logo { width: 172px; }
  .footer__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 30px 0 0;
  }
  .footer__nav a { font-size: 14px; line-height: 1.5; }
  .footer__bottom { padding: 8px 22px 12px; }
  .footer__bottom small { font-size: 11px; }
}

/* ==========================================================
   正解デザイン固定：下層ページ / 会社概要
   書き出し画像（PC 1440px / SP 390px）を基準にした値
========================================================== */
@media (min-width: 769px) {
  /* 下層共通FV */
  .page-hero {
    height: 380px;
    margin-top: var(--header-h);
    background: #ff9d21;
  }
  .page-hero::before {
    position: absolute;
    right: -4%;
    bottom: -72px;
    left: -4%;
    z-index: 0;
    height: 176px;
    content: "";
    background: rgba(255, 188, 91, .5);
    clip-path: polygon(0 42%, 17% 65%, 39% 48%, 61% 24%, 79% 36%, 100% 64%, 100% 100%, 0 100%);
  }
  .page-hero::after {
    position: absolute;
    z-index: 0;
    top: 15px;
    right: 18px;
    width: 124px;
    height: 166px;
    content: "";
    opacity: .75;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .9) 2.5px, transparent 3px);
    background-size: 16px 16px;
  }
  .page-hero__line { display: none; }
  .page-hero__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    max-width: 1000px;
    height: 380px;
    padding: 94px 0 0;
  }
  .page-hero__title {
    gap: 20px;
    margin-bottom: 20px;
    font-size: 82px;
    letter-spacing: .01em;
  }
  .page-hero__sep { width: 28px; }
  .page-hero__ja { font-size: 20px; }
  .page-hero__lead { font-size: 18px; line-height: 1.55; }

  .breadcrumb__inner {
    box-sizing: border-box;
    max-width: 1000px;
    min-height: 64px;
    padding: 20px 0;
    font-size: 16px;
  }

  /* 会社概要 */
  .mvv__inner {
    max-width: 1000px;
    padding: 0;
  }
  .mvv__list { gap: 32px; }
  .mvv-card {
    box-sizing: border-box;
    min-height: 230px;
    padding: 45px 80px;
  }
  .mvv-card__label { flex-basis: 260px; }
  .mvv-card__en { font-size: 48px; }
  .mvv-card__ja { font-size: 16px; }
  .mvv-card__body { padding-left: 64px; }
  .mvv-card__copy { font-size: 28px; }
  .mvv-card__text { font-size: 16px; }

  .message { padding: 96px 0 88px; }
  .message__inner { max-width: 1000px; padding: 0; }
  .message__photo {
    flex: 0 0 480px;
    max-width: 480px;
  }
  .message__card {
    box-sizing: border-box;
    margin-left: -60px;
    padding: 48px 52px;
  }
  .message__title { font-size: 26px; }
  .message__text { font-size: 15px; }

  .company__inner,
  .contact-page__inner { max-width: 1000px; padding: 0; }

  .contact-page { padding: 88px 0 89px; }
  .contact-form {
    box-sizing: border-box;
    min-height: 1128px;
  }
}

@media (max-width: 768px) {
  /* 下層共通FV */
  .page-hero {
    height: 212px;
    margin-top: var(--header-h);
    background: #ff9d21;
  }
  .page-hero::before {
    position: absolute;
    right: -8%;
    bottom: -42px;
    left: -8%;
    z-index: 0;
    height: 90px;
    content: "";
    background: rgba(255, 188, 91, .52);
    clip-path: polygon(0 30%, 18% 65%, 45% 42%, 68% 67%, 100% 26%, 100% 100%, 0 100%);
  }
  .page-hero::after { display: none; }
  .page-hero__line { display: none; }
  .page-hero__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    height: 212px;
    padding: 45px 24px 0;
  }
  .page-hero__title {
    gap: 12px;
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 1.2;
  }
  .page-hero__sep { width: 24px; }
  .page-hero__ja { font-size: 15px; }
  .page-hero__lead { font-size: 14px; line-height: 1.55; }
  .breadcrumb__inner {
    min-height: 43px;
    padding: 10px 24px;
    font-size: 14px;
  }

  /* 会社概要：MVV */
  .heading__en--ja { font-size: 24px; }
  .heading__bar { margin-top: 6px; }
  .mvv { padding: 18px 0 47px; }
  .mvv__inner { padding: 0 24px; }
  .mvv__list {
    gap: 16px;
    margin-top: 20px;
  }
  .mvv-card {
    gap: 12px;
    padding: 24px;
  }
  .mvv-card__en { font-size: 28px; }
  .mvv-card__copy { font-size: 18px; }

  /* 会社概要：代表メッセージ */
  .message { padding: 27px 0 26px; }
  .message__inner { padding: 0 24px; }
  .message__grid { margin-top: 38px; }
  .message__photo {
    height: 300px;
    aspect-ratio: auto;
  }
  .message__card {
    min-height: 532px;
    padding: 24px 24px 18px;
  }
  .message__title {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.55;
  }
  .message__text {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* 会社概要：会社情報 */
  .company { padding: 28px 0 40px; }
  .company__inner {
    gap: 28px;
    padding: 0 24px;
  }
  .company__inner .heading {
    align-self: center;
    text-align: center;
  }
  .company__row {
    grid-template-columns: 80px 1fr;
    gap: 0;
    padding: 14px 0;
  }

  /* 会社概要：お問い合わせ */
  .contact-page__inner { gap: 16px; }
  .contact-page__info .heading {
    align-items: center;
    text-align: center;
  }
  .contact-page__illust { display: none; }
  .line-card { padding: 24px 32px; }
  .contact-form { padding: 28px 24px 18px; }

  body.page-template-page-about .footer { min-height: 432px; }
}

/* 会社概要：書き出し画像との最終寸法合わせ */
@media (min-width: 769px) {
  .breadcrumb__inner {
    min-height: 0;
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .mvv-card { padding-top: 40px; padding-bottom: 40px; }
  .message { padding-bottom: 90px; }
  .company { padding-bottom: 102px; }
  body.page-template-page-about .footer { min-height: 284px; }
}

@media (max-width: 768px) {
  .mvv { padding-bottom: 40px; }
  .mvv .heading { margin-bottom: 0; }
  .mvv__list {
    gap: 16px;
    margin-top: 12px;
  }
  .mvv-card {
    min-height: 214px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .message { padding-bottom: 25px; }
  .message__grid { margin-top: 33px; }

  .company__inner { gap: 0; }
  .company__inner .heading { margin-bottom: 15px; }
  .company__row { padding-top: 14.5px; padding-bottom: 14.5px; }

  .contact-page { padding: 28px 0 130px; }
  .contact-page__info .heading { margin-bottom: 0; }
  .contact-page__lead {
    margin: 20px 0 16px;
    line-height: 1.55;
  }
}

/* ==========================================================
   正解デザイン固定：事例・ニュース・ブログ一覧
========================================================== */
body.archive { padding: 0; }

section.archive {
  box-sizing: border-box;
  padding: 24px 0 88px;
}
section.archive .archive__inner {
  max-width: 1000px;
  padding: 0;
}
section.archive .card-grid--archive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0 0 56px;
}
section.archive .card {
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(60, 60, 80, .1);
}
section.archive .card > a { display: block; }
section.archive .card__img {
  height: 160px;
  aspect-ratio: auto;
}
section.archive .card__body { box-sizing: border-box; }
section.archive .card__tag {
  padding: 2px 10px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.25;
}
section.archive .card__title {
  font-size: 16px;
  line-height: 1.55;
}
section.archive .card__company {
  margin-top: 12px;
  font-size: 14px;
}
section.archive .card__date {
  font-size: 14px;
  line-height: 1.3;
}
section.archive .card__meta { margin-bottom: 9px; }
section.archive .card__meta .card__tag { margin-bottom: 0; }

section.archive .filter-tabs {
  min-height: 34px;
  margin: 0 0 54px;
  gap: 16px;
}
section.archive .filter-tabs a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 34px;
  padding: 0 22px;
  font-size: 14px;
}

section.archive .pagination {
  height: 40px;
  margin: 0;
}
section.archive .pagination a {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

section.archive--case .card__body { height: 158px; padding: 16px 20px; }
section.archive--news .card__body { height: 121px; padding: 16px 20px; }
section.archive--vlog .card__body { height: 117px; padding: 17px 20px; }
section.archive--vlog .card__date--plain { margin-bottom: 8px; }

@media (min-width: 769px) {
  section.archive--placeholder.archive--case { height: 1331px; padding-top: 25px; }
  section.archive--placeholder.archive--news { height: 1220px; padding-top: 25px; }
  section.archive--placeholder.archive--vlog { height: 1120px; padding-top: 25px; }
  section.archive--vlog .card-grid--archive { margin-top: 0; }

  body.post-type-archive-case .contact,
  body.page-template-page-news .contact,
  body.post-type-archive-vlog .contact {
    box-sizing: border-box;
    height: 782px;
  }
}

@media (max-width: 768px) {
  body.archive { padding: 0; }
  section.archive { padding-right: 24px; padding-left: 24px; }
  section.archive .archive__inner { max-width: none; }
  section.archive .card-grid--archive {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
  section.archive .card__img { height: 160px; }
  section.archive .card { border-radius: 12px; }
  section.archive .card__tag {
    padding: 2px 9px;
    margin-bottom: 8px;
    font-size: 13px;
  }
  section.archive .card__title { font-size: 16px; line-height: 1.5; }
  section.archive .card__company { margin-top: 9px; font-size: 13px; }
  section.archive .card__date { font-size: 14px; }
  section.archive .card__meta { margin-bottom: 8px; }
  section.archive .filter-tabs {
    justify-content: flex-start;
    min-height: 60px;
    margin: 0 0 26px;
    gap: 8px;
  }
  section.archive .filter-tabs a {
    height: 26px;
    padding: 0 10px;
    font-size: 13px;
  }
  section.archive .pagination { height: 40px; }
  section.archive .pagination a { width: 40px; height: 40px; }

  section.archive--case.archive--placeholder {
    height: 3010px;
    padding-top: 10px;
    padding-bottom: 35px;
  }
  section.archive--case .filter-tabs { margin-bottom: 20px; }
  section.archive--case .card-grid--archive { gap: 20px; margin-bottom: 28px; }
  section.archive--case .card__body { height: 134px; padding: 14px 16px; }

  body.page-template-page-news .page-hero,
  body.page-template-page-news .page-hero__inner { height: 188px; }
  section.archive--news.archive--placeholder {
    height: 2759px;
    padding-top: 13px;
    padding-bottom: 40px;
  }
  section.archive--news .filter-tabs { margin-bottom: 18px; }
  section.archive--news .card-grid--archive { gap: 16px; }
  section.archive--news .card__body { height: 110px; padding: 14px 16px; }

  section.archive--vlog.archive--placeholder {
    height: 2636px;
    padding-top: 10px;
    padding-bottom: 48px;
  }
  section.archive--vlog .card-grid--archive { gap: 16px; }
  section.archive--vlog .card__body { height: 106px; padding: 14px 16px; }

  body.post-type-archive-case .contact,
  body.page-template-page-news .contact,
  body.post-type-archive-vlog .contact {
    box-sizing: border-box;
    height: 781px;
  }
  body.post-type-archive-case .footer,
  body.page-template-page-news .footer,
  body.post-type-archive-vlog .footer { min-height: 432px; }
}

/* ==========================================================
   正解デザイン固定：LP（広告運用代行 / ショート動画制作）
   書き出し画像（PC 1440px / SP 390px）の各背景切替位置を基準に固定
========================================================== */
@media (min-width: 769px) {
  body.page-template-page-ads .lp-hero { box-sizing: border-box; height: 680px; min-height: 0; }
  body.page-template-page-ads .lp-intro { box-sizing: border-box; height: 775px; }
  body.page-template-page-ads .lp-worry { box-sizing: border-box; height: 644px; }
  body.page-template-page-ads .lp-solution { box-sizing: border-box; height: 1397px; }
  body.page-template-page-ads .lp-voice { box-sizing: border-box; height: 737px; }
  body.page-template-page-ads .lp-cta { box-sizing: border-box; height: 613px; }
  body.page-template-page-ads .lp-case { box-sizing: border-box; height: 755px; }
  body.page-template-page-ads .lp-price { box-sizing: border-box; height: 850px; }
  body.page-template-page-ads .lp-flow { box-sizing: border-box; height: 742px; }
  body.page-template-page-ads .lp-faq { box-sizing: border-box; height: 884px; }
  body.page-template-page-ads .contact-page { box-sizing: border-box; height: 1305px; }
  body.page-template-page-ads .footer { box-sizing: border-box; height: 284px; min-height: 0; }

  body.page-template-page-video .lp-hero { box-sizing: border-box; height: 680px; min-height: 0; }
  body.page-template-page-video .lp-intro { box-sizing: border-box; height: 869px; }
  body.page-template-page-video .lp-worry { box-sizing: border-box; height: 638px; }
  body.page-template-page-video .lp-solution { box-sizing: border-box; height: auto; padding-bottom: 44px; }
  body.page-template-page-video .lp-solution .num-feature:last-child { margin-bottom: 0; }
  body.page-template-page-video .lp-voice { box-sizing: border-box; height: 638px; }
  body.page-template-page-video .lp-cta { box-sizing: border-box; height: 614px; }
  body.page-template-page-video .lp-case { box-sizing: border-box; height: 791px; }
  body.page-template-page-video .lp-price { box-sizing: border-box; height: 969px; }
  body.page-template-page-video .lp-compare { box-sizing: border-box; height: 1086px; }
  body.page-template-page-video .lp-flow { box-sizing: border-box; height: 705px; }
  body.page-template-page-video .lp-faq { box-sizing: border-box; height: 1100px; }
  body.page-template-page-video .contact-page { box-sizing: border-box; height: 1305px; }
  body.page-template-page-video .footer { box-sizing: border-box; height: 284px; min-height: 0; }
}

@media (max-width: 768px) {
  body.page-template-page-ads .lp-hero { box-sizing: border-box; height: 767px; min-height: 0; }
  body.page-template-page-ads .lp-intro { box-sizing: border-box; height: 581px; }
  body.page-template-page-ads .lp-worry { box-sizing: border-box; height: 773px; }
  body.page-template-page-ads .lp-solution { box-sizing: border-box; height: 1378px; }
  body.page-template-page-ads .lp-voice { box-sizing: border-box; height: 580px; }
  body.page-template-page-ads .lp-cta { box-sizing: border-box; height: 790px; }
  body.page-template-page-ads .lp-case { box-sizing: border-box; height: 1202px; }
  body.page-template-page-ads .lp-price { box-sizing: border-box; height: 1085px; }
  body.page-template-page-ads .lp-flow { box-sizing: border-box; height: 1086px; }
  body.page-template-page-ads .lp-faq { box-sizing: border-box; height: 798px; }
  body.page-template-page-ads .contact-page { box-sizing: border-box; height: 1531px; }
  body.page-template-page-ads .footer { box-sizing: border-box; height: 432px; min-height: 0; }

  body.page-template-page-video .lp-hero { box-sizing: border-box; height: 822px; min-height: 0; }
  body.page-template-page-video .lp-intro { box-sizing: border-box; height: 1021px; }
  body.page-template-page-video .lp-worry { box-sizing: border-box; height: 773px; }
  body.page-template-page-video .lp-solution { box-sizing: border-box; height: auto; padding-bottom: 32px; }
  body.page-template-page-video .lp-voice { box-sizing: border-box; height: 514px; }
  body.page-template-page-video .lp-cta { box-sizing: border-box; height: 790px; }
  body.page-template-page-video .lp-case { box-sizing: border-box; height: 1379px; }
  body.page-template-page-video .lp-price { box-sizing: border-box; height: 1189px; }
  body.page-template-page-video .lp-compare { box-sizing: border-box; height: 764px; }
  body.page-template-page-video .lp-flow { box-sizing: border-box; height: 944px; }
  body.page-template-page-video .lp-faq { box-sizing: border-box; height: 934px; }
  body.page-template-page-video .contact-page { box-sizing: border-box; height: 1531px; }
  body.page-template-page-video .footer { box-sizing: border-box; height: 432px; min-height: 0; }
}

/* LP SP：広告運用代行の中身を正解デザインのカード密度へ合わせる */
@media (max-width: 768px) {
  body.page-template-page-ads .video-carousel {
    position: relative;
    display: block;
    height: 277px;
    overflow: visible;
  }
  body.page-template-page-ads .video-carousel__track {
    display: flex;
    width: calc(100% + 22px);
    height: 277px;
    gap: 16px;
    overflow: hidden;
  }
  body.page-template-page-ads .video-thumb {
    flex: 0 0 156px;
    width: 156px;
    height: 277px;
    aspect-ratio: auto;
  }
  body.page-template-page-ads .video-carousel__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }
  body.page-template-page-ads .video-carousel__arrow--prev { left: -22px; }
  body.page-template-page-ads .video-carousel__arrow--next { right: -22px; }

  body.page-template-page-ads .lp-solution__title { margin-bottom: 41px; }
  body.page-template-page-ads .feature-card,
  body.page-template-page-ads .feature-card--reverse { margin-bottom: 0; }
  body.page-template-page-ads .feature-card__body { padding-top: 16px; padding-bottom: 16px; }

  body.page-template-page-ads .lp-voice { padding-top: 48px; padding-bottom: 48px; }
  body.page-template-page-ads .voice-box__item { padding-top: 4px; padding-bottom: 4px; }
  body.page-template-page-ads .lp-voice__down { width: 24px; margin-top: 12px; margin-bottom: 14px; }
  body.page-template-page-ads .lp-voice__answer { margin-bottom: 20px; font-size: 22px; }
  body.page-template-page-ads .lp-voice__row { position: relative; display: block; }
  body.page-template-page-ads .lp-voice__illust {
    position: absolute;
    top: -96px;
    right: 0;
  }
  body.page-template-page-ads .merit-circles { justify-content: center; }

  body.page-template-page-ads .case-grid { gap: 16px; }
  body.page-template-page-ads .case-card__img { height: 160px; aspect-ratio: auto; }
  body.page-template-page-ads .case-card__body { padding: 12px 16px 14px; }
  body.page-template-page-ads .case-card__title { margin-bottom: 8px; padding-bottom: 6px; font-size: 17px; }
  body.page-template-page-ads .case-card__industry { margin-bottom: 8px; font-size: 12px; }
  body.page-template-page-ads .result-line { padding: 10px 12px; }
  body.page-template-page-ads .case-card__results { gap: 5px; }

  body.page-template-page-ads .lp-price { padding-top: 32px; padding-bottom: 32px; }
  body.page-template-page-ads .price-initial { margin: 28px 0 20px; padding: 14px 16px; gap: 10px; }
  body.page-template-page-ads .price-initial__label h3 { margin-bottom: 7px; }
  body.page-template-page-ads .price-initial__price { padding: 10px; }
  body.page-template-page-ads .price-initial__list li { padding-top: 8px; padding-bottom: 8px; }
  body.page-template-page-ads .price-initial__note { margin-top: 0; }
  body.page-template-page-ads .price-grid { gap: 16px; }
  body.page-template-page-ads .price-card { padding: 24px 16px 16px; }
  body.page-template-page-ads .price-card__ico { width: 42px; margin: 2px auto 8px; }
  body.page-template-page-ads .price-card__media { margin-bottom: 8px; padding: 6px 8px; }
  body.page-template-page-ads .price-card__note { margin-top: 4px; }

  /* ショート動画LPのFVは、正解デザインの端末ビジュアルをそのまま使用する */
  body.page-template-page-video .lp-hero__inner {
    display: block;
    height: 822px;
    min-height: 0;
    padding: 0;
  }
  body.page-template-page-video .lp-hero__text { display: block; position: static; }
  body.page-template-page-video .lp-hero__visual {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
    padding: 0;
  }
  body.page-template-page-video .lp-hero__phone-composite {
    position: absolute;
    z-index: 2;
    top: 235px;
    left: 50%;
    display: block;
    width: 190px;
    height: 360px;
    transform: translateX(-50%);
    line-height: 0;
  }
  body.page-template-page-video .lp-hero__phone-composite img { display: block; width: 100%; height: 100%; }
  body.page-template-page-video .fukidashi {
    position: absolute;
    z-index: 3;
    top: 40px;
    left: 34px;
    margin: 0;
  }
  body.page-template-page-video .lp-hero__sub {
    position: absolute;
    z-index: 3;
    top: 86px;
    left: 22px;
    margin: 0;
    font-size: 14px;
  }
  body.page-template-page-video .lp-hero__title--video {
    position: absolute;
    z-index: 3;
    top: 119px;
    left: 22px;
    margin: 0;
    font-size: 32px;
    line-height: 1.35;
  }
  body.page-template-page-video .lp-hero__brand { display: inline-block; margin-left: 54px; font-size: 64px; }
  body.page-template-page-video .lp-hero__badges {
    position: absolute;
    z-index: 3;
    top: 599px;
    right: 22px;
    left: 22px;
    justify-content: center;
    margin: 0;
  }
  body.page-template-page-video .lp-hero__cta {
    position: absolute;
    z-index: 3;
    top: 719px;
    right: 22px;
    left: 22px;
    display: block;
    margin: 0;
  }
  body.page-template-page-video .lp-hero__cta .btn-cta { width: 100%; }
}

@media (min-width: 769px) {
  body.page-template-page-video .lp-hero { background: #fbf0e1; }
  body.page-template-page-video .lp-hero__shape { display: none; }
  body.page-template-page-video .lp-hero--video .lp-hero__text { display: contents; transform: none; }
  body.page-template-page-video .fukidashi {
    position: absolute;
    z-index: 3;
    top: 69px;
    left: 148px;
    margin: 0;
    padding: 4px 29px;
  }
  body.page-template-page-video .lp-hero__sub {
    position: absolute;
    z-index: 3;
    top: 115px;
    left: 148px;
    margin: 0;
  }
  body.page-template-page-video .lp-hero__title--video {
    position: absolute;
    z-index: 3;
    top: 158px;
    left: 148px;
    margin: 0;
    font-size: 62px;
    line-height: 1.7;
  }
  body.page-template-page-video .lp-hero__brand { font-size: 116px; line-height: 1.1; }
  body.page-template-page-video .lp-hero__badges {
    position: absolute;
    z-index: 3;
    top: 375px;
    left: 148px;
    gap: 14px;
    margin: 0;
  }
  body.page-template-page-video .badge-circle { width: 150px; height: 150px; font-size: 14px; }
  body.page-template-page-video .badge-circle::before,
  body.page-template-page-video .badge-circle::after { top: 26px; font-size: 14px; }
  body.page-template-page-video .badge-circle::before { left: 27px; }
  body.page-template-page-video .badge-circle::after { right: 27px; }
  body.page-template-page-video .lp-hero__cta {
    position: absolute;
    z-index: 3;
    top: 565px;
    left: 148px;
    display: block;
    margin: 0;
  }
  body.page-template-page-video .lp-hero__cta .btn-cta {
    width: 360px;
    min-width: 0;
    height: 70px;
    padding: 0 30px;
    font-size: 18px;
  }
  body.page-template-page-video .lp-intro { padding-top: 46px; }
  body.page-template-page-video .lp-hero__visual { position: static; }
  body.page-template-page-video .lp-hero__phone-composite {
    position: absolute;
    z-index: 3;
    top: 42px;
    left: calc(50% + 163px);
    display: block;
    width: 330px;
    height: 620px;
    line-height: 0;
  }
  body.page-template-page-video .lp-hero__phone-composite img { display: block; width: 100%; height: 100%; }
}

/* LP SP：ショート動画制作の各カードを正解デザインの密度へ合わせる */
@media (max-width: 768px) {
  body.page-template-page-video .lp-hero { background: #fbf0e1; }
  body.page-template-page-video .lp-hero__badges { top: 599px; }
  body.page-template-page-video .lp-hero__cta { top: 719px; }

  body.page-template-page-video .lp-worry__heading { margin-bottom: 18px; }
  body.page-template-page-video .worry2-grid { gap: 20px; }
  body.page-template-page-video .worry2-card__head { padding: 10px; }
  body.page-template-page-video .worry2-card__list { padding: 8px 22px 12px; }
  body.page-template-page-video .worry2-card__list li { padding-top: 10px; padding-bottom: 10px; }

  body.page-template-page-video .lp-solution__title { margin-bottom: 32px; }
  body.page-template-page-video .point-tags {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 30px;
  }
  body.page-template-page-video .point-tags li {
    display: grid;
    flex: 1 1 0;
    width: auto;
    min-height: 66px;
    padding: 7px 2px;
    font-size: 14px;
    line-height: 1.35;
    place-items: center;
  }
  body.page-template-page-video .num-feature,
  body.page-template-page-video .num-feature--reverse { gap: 12px; margin-bottom: 20px; }
  body.page-template-page-video .num-feature__img { height: 185px; aspect-ratio: auto; }
  body.page-template-page-video .num-feature__body { padding-top: 12px; }
  body.page-template-page-video .num-feature__title { margin-bottom: 12px; font-size: 18px; line-height: 1.55; }
  body.page-template-page-video .num-feature__text { padding: 10px 8px; font-size: 13px; line-height: 1.55; }

  body.page-template-page-video .lp-voice { padding-top: 32px; padding-bottom: 32px; }
  body.page-template-page-video .voice-cards { gap: 8px; }
  body.page-template-page-video .voice-card { padding: 8px 12px; font-size: 13px; line-height: 1.45; }
  body.page-template-page-video .voice-card em { font-size: 15px; }
  body.page-template-page-video .lp-voice__down { width: 24px; margin-top: 12px; margin-bottom: 14px; }
  body.page-template-page-video .lp-voice__answer { margin-bottom: 16px; font-size: 22px; }
  body.page-template-page-video .lp-voice__row { position: relative; display: block; }
  body.page-template-page-video .lp-voice__illust { position: absolute; top: -96px; right: 0; }
  body.page-template-page-video .merit-circles { justify-content: center; }

  body.page-template-page-video .case-grid { gap: 16px; }
  body.page-template-page-video .case-card__img { height: 160px; aspect-ratio: auto; }
  body.page-template-page-video .case-card__body { padding: 12px 16px 14px; }
  body.page-template-page-video .case-card__title { margin-bottom: 8px; padding-bottom: 6px; font-size: 17px; }
  body.page-template-page-video .case-card__industry { margin-bottom: 8px; font-size: 12px; }
  body.page-template-page-video .result-line { padding: 10px 12px; }
  body.page-template-page-video .case-card__results { gap: 5px; }

  body.page-template-page-video .lp-price { padding-top: 32px; padding-bottom: 32px; }
  body.page-template-page-video .price-grid { gap: 12px; }
  body.page-template-page-video .price-card { padding: 30px 18px 12px; }

  body.page-template-page-video .lp-compare { padding-top: 48px; padding-bottom: 32px; }
  body.page-template-page-video .compare-table thead th { padding-bottom: 4px; }
  body.page-template-page-video .compare-table__nexum span { padding: 8px 0; font-size: 26px; line-height: 45px; }
  body.page-template-page-video .compare-table__other span { padding: 6px 0; font-size: 17px; line-height: 30px; }
  body.page-template-page-video .compare-table tbody th { padding: 12px 6px; }
  body.page-template-page-video .compare-table tbody td { padding: 7px 10px; font-size: 13px; }

  body.page-template-page-video .lp-flow { padding-top: 48px; padding-bottom: 32px; }
  body.page-template-page-video .flow-row { gap: 24px; margin-top: 32px; }
  body.page-template-page-video .flow-row--six .flow-card {
    box-sizing: border-box;
    width: 280px;
    height: 110px;
    padding: 24px 14px 14px;
  }
  body.page-template-page-video .flow-card__ico { width: 32px; height: 32px; margin-bottom: 6px; }
  body.page-template-page-video .flow-card__label { font-size: 13px; }

  body.page-template-page-video .lp-faq { padding-top: 48px; padding-bottom: 32px; }
  body.page-template-page-video .faq-list { gap: 14px; margin-top: 36px; }
  body.page-template-page-video .faq-item summary { padding-top: 16px; padding-bottom: 16px; }
}

/* お問い合わせ送信完了 */
.contact-complete {
  position: relative;
  box-sizing: border-box;
  height: 645px;
  margin-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
  background: #fff url('../media/thanks-bg-pc.png') center top / 100% 100% no-repeat;
}
.contact-complete::before,
.contact-complete::after {
  display: none;
}
.contact-complete__crumb-mask {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  background: #fff;
  pointer-events: none;
}
.contact-complete__crumb {
  display: flex;
  align-items: center;
  gap: 18px;
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 40px;
  color: #8f9bab;
  font-size: 16px;
  font-weight: 500;
}
.contact-complete__steps { display: inline-flex; gap: 3px; }
.contact-complete__steps i { width: 15px; height: 15px; border: 1px solid #9aa3ad; border-radius: 50%; }
.contact-complete__crumb-arrow { color: #4d535a; font-size: 28px; font-weight: 400; line-height: 1; }
.contact-complete__body { position: relative; z-index: 3; max-width: 760px; margin: 82px auto 0; text-align: center; }
.contact-complete__body h1 { margin: 0; color: #383838; font-family: var(--font-en); font-size: 56px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; }
.contact-complete__bar { display: block; width: 48px; height: 4px; margin: 22px auto 40px; background: linear-gradient(to right, var(--orange) 0 50%, var(--blue) 50% 100%); }
.contact-complete__lead { margin: 0; color: #363636; font-size: 18px; font-weight: 700; line-height: 1.5; }
.contact-complete__note { margin: 24px 0 0; color: #4a4a4a; font-size: 16px; line-height: 1.55; }
.contact-complete__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  box-sizing: border-box;
  width: 240px;
  height: 56px;
  margin-top: 58px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9c21, #f7c535);
  box-shadow: 0 7px 10px rgba(157, 109, 27, .25);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.contact-complete__back svg { width: 14px; height: 14px; }
body:has(.contact-complete) .footer { box-sizing: border-box; height: 284px; min-height: 0; }

@media (max-width: 768px) {
  .contact-complete {
    height: 495px;
    margin-top: var(--header-h);
    background-image: url('../media/thanks-bg-sp.png');
  }
  .contact-complete__crumb-mask {
    height: 58px;
  }
  .contact-complete__crumb {
    gap: 12px;
    top: 14px;
    left: 24px;
    font-size: 14px;
  }
  .contact-complete__steps { gap: 2px; }
  .contact-complete__steps i { width: 13px; height: 13px; }
  .contact-complete__crumb-arrow { font-size: 22px; }
  .contact-complete__body {
    max-width: none;
    margin: 39px 24px 0;
    text-align: center;
  }
  .contact-complete__body h1 { font-size: 34px; }
  .contact-complete__bar { width: 32px; height: 3px; margin: 14px auto 25px; }
  .contact-complete__lead {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
  }
  .contact-complete__lead br { display: none; }
  .contact-complete__note {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }
  .contact-complete__note br { display: none; }
  .contact-complete__back {
    width: 280px;
    max-width: 100%;
    height: 58px;
    margin-top: 40px;
    gap: 40px;
    font-size: 15px;
  }
  body:has(.contact-complete) .footer { height: 432px; min-height: 0; }
}

/* 正解デザイン固定：記事詳細 */
body.single { padding: 0; }
html:has(body.single-post),
body.single-post { overflow-x: hidden; }
.article-layout { margin-top: var(--header-h); background: #fff; }
.article-breadcrumb { margin: 0; background: #fff; }
.article-breadcrumb .breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  max-width: 1000px;
  height: 57px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  color: #9aa4b0;
  font-size: 14px;
  line-height: 1.45;
  white-space: nowrap;
}
.article-breadcrumb .breadcrumb__inner a { color: #444; }
.article-breadcrumb .breadcrumb__sep { color: #707780; font-size: 21px; font-weight: 400; }
.article-breadcrumb .breadcrumb__inner > span:last-child { overflow: hidden; color: #9aa4b0; text-overflow: ellipsis; }

.single--article { padding: 32px 0 0; }
.single--article .single__inner { max-width: 800px; padding: 0; }
.single--article .single-article__head { margin: 0; padding: 0; border: 0; }
.single--article .single-article__meta { gap: 16px; margin: 0 0 13px; color: #888; font-size: 16px; line-height: 24px; }
.single--article .single-article__meta .card__date { color: #888; font-size: inherit; }
.single--article .single-article__meta .card__tag {
  display: inline-flex; align-items: center; box-sizing: border-box; min-height: 25px; margin: 0; padding: 1px 11px;
  border: 1px solid #ff9d21; border-radius: 999px; color: #ff9617; font-size: 14px; font-weight: 500; line-height: 1.2;
}
.single--article .single-article__title { margin: 0 0 17px; color: #3b3b3b; font-size: 32px; font-weight: 700; letter-spacing: .03em; line-height: 1.4; }
.single-article__thumb--placeholder { display: block; box-sizing: border-box; width: 100%; height: 420px; margin: 0 0 19px; border-radius: 14px; background: #d9d9d9; }
.single-article__intro { margin: 0; color: #333; font-size: 16px; font-weight: 400; letter-spacing: .01em; line-height: 1.55; }
.article-toc { box-sizing: border-box; height: 306px; margin: 21px 0 0; padding: 34px 40px 22px; border: 1px solid #d9d9d9; }
.article-toc__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: #444; font-size: 22px; font-weight: 700; line-height: 1.25; }
.article-toc__title span { color: #ff9d21; font-size: 26px; line-height: 1; }
.article-toc ol { margin: 0; padding: 0; list-style: none; }
.article-toc li { border-bottom: 1px dashed #d6d6d6; }
.article-toc li:last-child { border-bottom: 0; }
.article-toc a { display: flex; align-items: center; gap: 12px; min-height: 43px; color: #454545; font-size: 15px; line-height: 1.25; }
.article-toc a:hover { color: #ff9d21; }
.article-toc b { display: inline-grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #ff9d21; color: #fff; font-family: var(--font-en); font-size: 14px; font-weight: 700; }
.single-article__sections { margin-top: 56px; }
.single-article__section { margin: 0; }
.single-article__section:not(:last-child) { height: 508px; }
.single-article__section h2 { display: flex; align-items: center; box-sizing: border-box; height: 52px; margin: 0 0 18px; padding: 0 24px; border-left: 4px solid #ff9d21; background: #f6f6f6; color: #3c3c3c; font-size: 24px; font-weight: 700; letter-spacing: .03em; line-height: 1.3; }
.single-article__section p { margin: 0; color: #333; font-size: 16px; letter-spacing: .01em; line-height: 1.55; }
.single__back-link { display: inline-flex; align-items: center; gap: 12px; color: #3e3e3e; font-size: 16px; font-weight: 700; }
.single__back-arrow { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f8ae2c; color: #fff; }
.single__back-arrow svg { width: 13px; height: 13px; }
.article-layout--demo { position: relative; height: 3427px; overflow: hidden; }
.article-layout--demo .single__back { position: absolute; top: 3304px; left: calc(50% - 400px); margin: 0; }
body.single-post .contact { box-sizing: border-box; height: 781px; }
body.single-post .footer { box-sizing: border-box; height: 284px; min-height: 0; }

@media (max-width: 768px) {
  .article-breadcrumb .breadcrumb__inner { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 12px; width: auto; height: 133px; margin: 0 24px; padding-top: 13px; font-size: 14px; white-space: normal; }
  .article-breadcrumb .breadcrumb__sep { font-size: 18px; line-height: 21px; }
  .article-breadcrumb .breadcrumb__inner > a, .article-breadcrumb .breadcrumb__inner > .breadcrumb__sep { height: 21px; line-height: 21px; }
  .article-breadcrumb .breadcrumb__inner > span:last-child { flex: 0 0 100%; margin-top: 8px; overflow: visible; line-height: 1.55; }
  .single--article { padding: 0; }
  .single--article .single__inner { width: calc(100vw - 48px); max-width: none; margin: 0 auto; padding: 0; }
  .single--article .single-article__meta { gap: 10px; margin-bottom: 10px; font-size: 16px; line-height: 24px; }
  .single--article .single-article__meta .card__tag { min-height: 24px; padding: 1px 9px; font-size: 13px; }
  .single--article .single-article__title { margin-bottom: 17px; font-size: 16px; letter-spacing: .03em; line-height: 1.5; }
  .single-article__thumb--placeholder { height: 180px; margin-bottom: 19px; border-radius: 12px; }
  .single-article__intro { font-size: 14px; line-height: 1.55; }
  .article-toc { height: 315px; margin-top: 16px; padding: 20px 16px 14px; }
  .article-toc__title { gap: 8px; margin-bottom: 12px; font-size: 20px; }
  .article-toc__title span { font-size: 23px; }
  .article-toc a { gap: 8px; min-height: 58px; font-size: 14px; line-height: 1.45; }
  .article-toc b { width: 24px; height: 24px; font-size: 13px; }
  .single-article__sections { margin-top: 16px; }
  .single-article__section:not(:last-child) { height: 890px; }
  .single-article__section h2 { height: 76px; margin-bottom: 16px; padding: 8px 12px; border-left-width: 4px; font-size: 16px; line-height: 1.45; }
  .single-article__section p { font-size: 14px; line-height: 1.55; }
  .single__back-link { gap: 8px; font-size: 14px; }
  .single__back-arrow { width: 28px; height: 28px; }
  .article-layout--demo { height: 4813px; }
  .article-layout--demo .single__back { top: 4741px; left: 24px; }
  body.single-post .contact { height: 781px; }
  body.single-post .footer { height: 432px; min-height: 0; }
}

/* 正解デザイン固定：グローバルメニュー */
@media (min-width: 769px) {
  .header .has-child::after {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 1;
    width: 220px;
    height: 8px;
    content: "";
    transform: translateX(-50%);
  }
  .header .has-child .gnav__child {
    top: calc(100% + 4px);
    left: 50%;
    z-index: 2;
    width: 220px;
    padding: 8px 0;
    transform: translateX(-50%);
    border-radius: 10px;
    transition: opacity .14s ease .04s, visibility 0s linear .18s;
  }
  .header .has-child:hover .gnav__child,
  .header .has-child.is-expanded .gnav__child,
  .header .has-child:focus-within .gnav__child { opacity: 1; visibility: visible; transition-delay: 0s, 0s; }
  .header .has-child .gnav__child a { padding: 8px 24px; font-size: 16px; line-height: 19px; }
}

@media (max-width: 768px) {
  body.menu-open { overflow: hidden; }
  .gnav {
    top: var(--header-h);
    bottom: 0;
    box-sizing: border-box;
    height: auto;
    gap: 0;
    padding: 24px 24px 38px;
    box-shadow: none;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .gnav::-webkit-scrollbar { display: none; }
  body.menu-open .header__inner { padding-right: 24px; padding-left: 24px; }
  .gnav__list { gap: 0; }
  .gnav__list > li > a {
    box-sizing: border-box;
    min-height: 64px;
    padding: 0;
    border-bottom: 1px dashed #d8d8d8;
    color: #444;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }
  .gnav__list > li:first-child > a { min-height: 60px; }
  .gnav__list > li.has-child > a { min-height: 66px; }
  .gnav__child { margin: 0; padding: 0; }
  .gnav__child a {
    position: relative;
    box-sizing: border-box;
    min-height: 34px;
    padding: 7px 0 7px 20px;
    color: #555;
    font-size: 16px;
    line-height: 20px;
  }
  .gnav__child a::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 2px;
    content: "";
    background: #ff9d21;
    transform: translateY(-50%);
  }
  .gnav .btn-contact {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin-top: 36px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 17px;
  }
}

/* SPメニュー：事業内容は閉じた状態を初期値にし、タップ時だけ展開 */
@media (max-width: 768px) {
  .gnav .has-child .gnav__child {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height .2s ease, opacity .16s ease, visibility 0s linear .2s;
  }

  .gnav .has-child.is-expanded .gnav__child {
    max-height: 100px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
}

/* ボタンコンポーネント：支給デザイン（通常 / ホバー） */
:root {
  --button-orange: #ffad25;
  --button-orange-dark: #ef951c;
  --button-blue: #1768ae;
  --button-blue-dark: #0d5c9f;
  --button-line: #06c755;
  --button-line-dark: #00aa46;
}

/* オレンジ：会社概要・お問い合わせ・送信 */
.btn-main,
.btn-contact,
.btn-square--orange {
  border: 2px solid var(--button-orange);
  background: linear-gradient(100deg, #ffad25 0%, #ffc63d 100%);
  box-shadow: 3px 4px 0 rgba(221, 150, 33, .48), 0 5px 12px rgba(185, 126, 38, .18);
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-main .circle-arrow {
  background: #fff;
  color: var(--button-orange-dark);
}

.btn-main:hover,
.btn-contact:hover,
.btn-square--orange:hover {
  border-color: var(--button-orange);
  background: #fff;
  color: var(--button-orange-dark);
  box-shadow: 0 4px 10px rgba(185, 126, 38, .22);
  transform: none;
}

.btn-main:hover .circle-arrow {
  background: var(--button-orange);
  color: #fff;
}

/* 青：もっとみる */
.btn-main--navy {
  border-color: var(--button-blue);
  background: linear-gradient(100deg, #1260a8 0%, #2678bf 100%);
  box-shadow: 3px 4px 0 rgba(18, 87, 155, .48), 0 5px 12px rgba(25, 79, 133, .18);
}

.btn-main--navy .circle-arrow {
  background: #fff;
  color: var(--button-blue);
}

.btn-main--navy:hover {
  border-color: var(--button-blue);
  background: #fff;
  color: var(--button-blue);
  box-shadow: 0 4px 10px rgba(25, 79, 133, .22);
}

.btn-main--navy:hover .circle-arrow {
  background: var(--button-blue);
  color: #fff;
}

/* 資料ダウンロード：白地＋青枠 */
.btn-dl,
.btn-dl.btn-cta {
  border: 2px solid var(--button-blue);
  background: #fff;
  color: var(--button-blue);
  box-shadow: 4px 5px 0 rgba(27, 95, 161, .65), 0 4px 10px rgba(25, 79, 133, .12);
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-dl .circle-arrow {
  background: var(--button-blue);
  color: #fff;
}

.btn-dl:hover,
.btn-dl.btn-cta:hover {
  border-color: var(--button-blue);
  background: var(--button-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(25, 79, 133, .22);
  transform: none;
}

.btn-dl:hover .circle-arrow {
  background: #fff;
  color: var(--button-blue);
}

/* 公式LINE */
.btn-square--line {
  border: 2px solid #fff;
  outline: 2px solid var(--button-line-dark);
  outline-offset: 2px;
  background: var(--button-line);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(0, 123, 51, .36), 0 5px 12px rgba(8, 123, 58, .18);
  transition: color .18s ease, background .18s ease, border-color .18s ease, outline-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-square--line:hover {
  border-color: var(--button-line);
  outline-color: transparent;
  background: #fff;
  color: var(--button-line-dark);
  box-shadow: 0 4px 10px rgba(8, 123, 58, .22);
  transform: none;
}

/* ヘッダー・カード内のボタンでも同じ見た目を維持 */
.header .btn-contact:hover { color: var(--button-orange-dark); }
.contact .btn-square--orange {
  border-color: var(--button-orange);
  background: linear-gradient(100deg, #ffad25 0%, #ffc63d 100%);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(221, 150, 33, .48), 0 5px 12px rgba(185, 126, 38, .18);
}
.contact .btn-square--line {
  border-color: #fff;
  outline: 2px solid var(--button-line-dark);
  outline-offset: 2px;
  background: var(--button-line);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(0, 123, 51, .36), 0 5px 12px rgba(8, 123, 58, .18);
}
.contact .btn-square--orange:hover {
  border-color: var(--button-orange);
  background: #fff;
  color: var(--button-orange-dark);
  box-shadow: 0 4px 10px rgba(185, 126, 38, .22);
  transform: none;
}
.contact .btn-square--line:hover {
  border-color: var(--button-line);
  outline-color: transparent;
  background: #fff;
  color: var(--button-line-dark);
  box-shadow: 0 4px 10px rgba(8, 123, 58, .22);
  transform: none;
}

@media (max-width: 768px) {
  .btn-main,
  .btn-contact,
  .btn-square--orange,
  .btn-square--line,
  .btn-dl,
  .btn-dl.btn-cta { box-shadow: 2px 3px 0 rgba(25, 79, 133, .24); }
  .btn-main,
  .btn-main--navy,
  .btn-dl.btn-cta { min-height: 52px; }
}

/* ==========================================================
   TOP FV：支給素材を個別レイヤーで構成
========================================================== */
.mv--layered {
  position: relative;
  isolation: isolate;
  height: clamp(580px, 48.611vw, 700px);
  min-height: 0;
  margin-top: var(--header-h);
  overflow: hidden;
  background: #ff9d21;
}

.mv__layered-base,
.mv__layered-office,
.mv__layered-light,
.mv__layered-dots,
.mv__layered-wave { pointer-events: none; }

.mv__layered-base,
.mv__layered-office {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__layered-base { object-position: center; }

.mv__layered-office {
  z-index: 1;
  object-position: left center;
  opacity: .24;
  mix-blend-mode: multiply;
}

.mv__layered-light {
  position: absolute;
  z-index: 2;
  top: -18%;
  right: -12%;
  width: 62%;
  height: 124%;
  background:
    radial-gradient(ellipse at 49% 41%, rgba(255, 248, 223, .72) 0 3%, rgba(255, 225, 167, .38) 20%, rgba(255, 191, 90, 0) 58%),
    linear-gradient(145deg, transparent 48%, rgba(255, 218, 145, .24) 48% 49.2%, transparent 49.2%);
}

.mv__layered-dots {
  position: absolute;
  z-index: 3;
  display: none;
  background-image: radial-gradient(circle, rgba(255, 245, 218, .6) 0 3px, transparent 3.5px);
  background-size: 20px 20px;
  opacity: .88;
}

.mv__layered-dots--left {
  top: 0;
  left: 0;
  width: 166px;
  height: 186px;
}

.mv__layered-dots--right {
  right: -2px;
  bottom: 44px;
  width: 166px;
  height: 190px;
}

.mv__layered-wave {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: auto;
  opacity: .86;
}

.mv__layered-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
}

.mv__layered-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  box-sizing: border-box;
  max-width: none;
  padding-top: clamp(74px, 7.3vw, 105px);
  padding-left: max(48px, calc((100% - 1200px) / 2 + 24px));
  color: #fff;
  pointer-events: auto;
}

.mv__layered-title {
  display: flex;
  flex-direction: column;
  width: min(58vw, 670px);
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: .035em;
  text-shadow: 0 2px 10px rgba(161, 86, 12, .2);
}

.mv__layered-kicker {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(50px, 4.58vw, 66px);
  line-height: 1.2;
}

.mv__layered-main {
  display: block;
  margin-bottom: 0;
  font-size: clamp(56px, 5.21vw, 75px);
  line-height: 1.17;
  letter-spacing: .025em;
  white-space: nowrap;
}

.mv__layered-main strong {
  position: relative;
  font: inherit;
}

.mv__layered-main strong::before {
  position: absolute;
  top: -.2em;
  left: .28em;
  width: .16em;
  height: .16em;
  content: "";
  border-radius: 50%;
  background: #1b75c4;
  box-shadow: .92em 0 #1b75c4;
}

.mv__layered-brand {
  display: block;
  margin-top: 34px;
  font-size: clamp(31px, 3.08vw, 44px);
  line-height: 1.23;
  letter-spacing: .015em;
  white-space: nowrap;
}

.mv__layered-brand em {
  display: inline-block;
  margin-left: 4px;
  padding: 0 12px 3px;
  background: #fff;
  color: #1766aa;
  font-family: var(--font-en);
  font-size: 1.23em;
  font-style: normal;
  letter-spacing: .015em;
  line-height: 1.02;
  text-shadow: none;
}

.mv__layered-lead {
  width: min(54vw, 620px);
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(129, 65, 9, .22);
}

.mv__layered-cta {
  box-sizing: border-box;
  width: clamp(284px, 27.78vw, 400px);
  min-width: 0;
  min-height: clamp(56px, 5.56vw, 80px);
  margin-top: 37px;
  padding: 12px 26px;
  font-size: clamp(14px, 1.39vw, 20px);
  line-height: 1.2;
}

.mv__layered-cta .circle-arrow {
  width: clamp(22px, 2.15vw, 31px);
  height: clamp(22px, 2.15vw, 31px);
}

.mv__layered-cta .circle-arrow svg {
  width: clamp(10px, .9vw, 13px);
  height: clamp(10px, .9vw, 13px);
}

.mv__layered-phone {
  position: absolute;
  z-index: 2;
  /* 支給の透明スマホ枠（1938×2460px）をFigmaの座標に配置 */
  top: clamp(62px, 6.74vw, 97px);
  right: clamp(83px, 12.01vw, 173px);
  width: clamp(320px, 29.24vw, 421px);
  aspect-ratio: 1938 / 2460;
  isolation: isolate;
}

.mv__layered-phone-frame,
.mv__layered-phone-mask,
.mv__layered-phone-video {
  position: absolute;
  display: block;
}

.mv__layered-phone-frame {
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 19px 18px rgba(91, 49, 13, .24));
}

.mv__layered-phone-mask {
  z-index: 2;
  inset: 0;
  overflow: hidden;
  /* スマホ画面の傾きに合わせた動画用マスク */
  clip-path: polygon(39.1% 6.9%, 76.7% 8.1%, 78.5% 10.2%, 52.6% 93.1%, 49.7% 95.1%, 5.9% 92.8%, 4.4% 90.7%, 35.4% 9.5%, 37.2% 7.5%);
}

.mv__layered-phone-video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transform-origin: center;
}

.mv__layered-phone::after {
  position: absolute;
  z-index: 3;
  top: 7.6%;
  left: 54.8%;
  width: 17%;
  height: 2.7%;
  content: "";
  border-radius: 999px;
  background: #050505;
  transform: rotate(3deg);
}

@media (max-width: 768px) {
  .mv--layered {
    height: clamp(610px, 175.64vw, 685px);
    margin-top: var(--header-h);
  }

  .mv__layered-base { object-position: center; }
  .mv__layered-office {
    object-position: 30% center;
    opacity: .33;
  }

  .mv__layered-light {
    top: 22%;
    right: -46%;
    width: 146%;
    height: 86%;
    background:
      radial-gradient(ellipse at 46% 34%, rgba(255, 245, 217, .6) 0 3%, rgba(255, 220, 151, .24) 25%, rgba(255, 179, 57, 0) 60%),
      linear-gradient(145deg, transparent 50%, rgba(255, 224, 160, .2) 50% 51.6%, transparent 51.6%);
  }

  .mv__layered-dots {
    display: block;
    background-size: 14px 14px;
  }
  .mv__layered-dots--left {
    top: auto;
    bottom: 112px;
    left: -8px;
    width: 84px;
    height: 105px;
  }
  .mv__layered-dots--right {
    top: 0;
    right: -7px;
    bottom: auto;
    width: 84px;
    height: 108px;
  }

  .mv__layered-wave {
    right: -43%;
    width: 162%;
    max-width: none;
    opacity: .88;
  }

  .mv__layered-copy {
    padding: 39px 16px 0;
  }

  .mv__layered-title {
    width: 100%;
    letter-spacing: .025em;
  }

  .mv__layered-kicker {
    margin-bottom: 1px;
    font-size: clamp(25px, 7.1vw, 28px);
  }

  .mv__layered-main {
    margin-bottom: 0;
    font-size: clamp(34px, 9.75vw, 38px);
    line-height: 1.18;
  }

  .mv__layered-main strong::before {
    top: -.23em;
    left: .25em;
  }

  .mv__layered-brand {
    margin-top: 9px;
    font-size: clamp(19px, 5.75vw, 22px);
    line-height: 1.24;
  }

  .mv__layered-brand em {
    margin-left: 4px;
    padding: 1px 5px 2px;
    font-size: 1.42em;
  }

  .mv__layered-lead {
    width: 100%;
    margin-top: 12px;
    font-size: clamp(12px, 3.52vw, 14px);
    font-weight: 500;
    line-height: 1.62;
  }

  .mv__layered-cta {
    position: absolute;
    right: 24px;
    bottom: 38px;
    left: 24px;
    width: auto;
    min-height: 64px;
    margin: 0;
    padding: 10px 18px;
    font-size: 16px;
  }

  .mv__layered-cta .circle-arrow {
    width: 28px;
    height: 28px;
  }

  .mv__layered-phone {
    top: 44.6%;
    right: 19.2%;
    width: min(54vw, 211px);
  }

  .mv__layered-phone-frame {
    filter: drop-shadow(0 12px 13px rgba(91, 49, 13, .24));
  }
}

/* ==========================================================
   ショート動画LP：Figma支給背景・素材
========================================================== */
.video-lp-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--header-h);
  background: #fbf1e4;
}
.video-lp-top__bg,
body.page-template-page-video .video-lp-section-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
body.page-template-page-video .video-lp-top .lp-hero,
body.page-template-page-video .video-lp-top .lp-intro {
  position: relative;
  z-index: 1;
  background: transparent;
}
body.page-template-page-video .video-lp-top .lp-hero { margin-top: 0; }
body.page-template-page-video .lp-hero__inner,
body.page-template-page-video .lp-intro__inner,
body.page-template-page-video .lp-voice__inner,
body.page-template-page-video .lp-case__inner,
body.page-template-page-video .lp-price__inner,
body.page-template-page-video .lp-compare__inner,
body.page-template-page-video .lp-flow__inner {
  position: relative;
  z-index: 1;
}
body.page-template-page-video .lp-voice,
body.page-template-page-video .lp-case,
body.page-template-page-video .lp-price,
body.page-template-page-video .lp-compare,
body.page-template-page-video .lp-flow {
  position: relative;
  isolation: isolate;
}
body.page-template-page-video .lp-voice { background: #fafafa; }
body.page-template-page-video .lp-case { background: #fff; }
body.page-template-page-video .lp-price { background: #e5eef8; }
body.page-template-page-video .lp-compare { background: #e5eef8; }
body.page-template-page-video .lp-flow { background: #fbf1e4; }

body.page-template-page-video .lp-hero__badges {
  display: block;
  width: 482px;
  line-height: 0;
}
body.page-template-page-video .lp-hero__badges img {
  display: block;
  width: 100%;
  height: auto;
}
body.page-template-page-video .lp-voice__merits {
  display: block;
  width: 592px;
  max-width: calc(100% - 186px);
  height: auto;
}

/* 全ページ：共通のセクション見出しをわずかにコンパクトに調整 */
@media (min-width: 769px) {
  .heading__en.heading__en--ja { font-size: 32px; }
}

@media (max-width: 768px) {
  .heading__en.heading__en--ja { font-size: 24px; }
}

@media (min-width: 769px) {
  body.page-template-page-video .lp-hero__title--video { font-size: 58px; }
  body.page-template-page-video .lp-hero__brand { font-size: 108px; }
}

@media (min-width: 769px) {
  /* 支給書き出しは1440px幅を基準にしているため、セクション高も一致させる */
  body.page-template-page-video .lp-voice { height: 608px; }
}

@media (max-width: 768px) {
  body.page-template-page-video .lp-hero__title--video { font-size: 30px; }
  body.page-template-page-video .lp-hero__brand { font-size: 60px; }

  body.page-template-page-video .lp-hero__badges {
    width: calc(100% - 44px);
    max-width: 346px;
  }
  body.page-template-page-video .lp-voice__merits {
    width: min(296px, 100%);
    max-width: none;
    margin: 0 auto;
  }
}

/* TOPお問い合わせ：カードは固定し、ボタン部分のみ反応させる */
.contact-cta-asset {
  position: relative;
  transform: none;
  transition: none;
}
.contact-cta-asset:hover { transform: none; }
.contact-cta-asset::after {
  position: absolute;
  z-index: 1;
  top: 60.4%;
  left: 14.5%;
  width: 71%;
  height: 24.8%;
  content: "";
  border-radius: 21px;
  background: #fff;
  pointer-events: none;
}
.contact-cta-asset__button {
  position: absolute;
  z-index: 2;
  top: 63.3%;
  left: 17.1%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  width: 65.8%;
  height: 19.3%;
  border: 2px solid #ffad25;
  border-radius: 15px;
  background: linear-gradient(100deg, #ffad25 0%, #ffc63d 100%);
  box-shadow: 3px 4px 0 rgba(221, 150, 33, .48), 0 5px 12px rgba(185, 126, 38, .18);
  color: #fff;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.contact-cta-asset__button::after {
  position: absolute;
  inset: 5px;
  content: "";
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 10px;
  pointer-events: none;
}
.contact-cta-asset__button svg { width: 1.25em; height: 1.25em; }
.contact-cta-asset__button--line {
  border-color: #00aa46;
  background: #06c755;
  box-shadow: 3px 4px 0 rgba(0, 123, 51, .36), 0 5px 12px rgba(8, 123, 58, .18);
}
.contact-cta-asset:hover .contact-cta-asset__button,
.contact-cta-asset:focus-visible .contact-cta-asset__button {
  transform: translateY(-4px);
  box-shadow: 0 7px 15px rgba(40, 40, 40, .22);
}
.contact-cta-asset:hover .contact-cta-asset__button--form,
.contact-cta-asset:focus-visible .contact-cta-asset__button--form {
  background: #fff;
  color: #ef951c;
}
.contact-cta-asset:hover .contact-cta-asset__button--line,
.contact-cta-asset:focus-visible .contact-cta-asset__button--line {
  background: #fff;
  color: #00aa46;
}

@media (max-width: 768px) {
  .contact-cta-asset__button {
    gap: 6px;
    border-radius: 11px;
    font-size: clamp(10px, 3.15vw, 13px);
  }
  .contact-cta-asset__button::after {
    inset: 3px;
    border-width: 1px;
    border-radius: 7px;
  }
  .contact-cta-asset:hover .contact-cta-asset__button,
  .contact-cta-asset:focus-visible .contact-cta-asset__button { transform: translateY(-2px); }
}

/* ==========================================================
   広告運用LP：Figma支給背景・素材
========================================================== */
.ads-lp-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--header-h);
  background: #fdebd2;
}
.ads-lp-top__bg,
body.page-template-page-ads .ads-lp-section-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
body.page-template-page-ads .ads-lp-top .lp-hero,
body.page-template-page-ads .ads-lp-top .lp-intro {
  position: relative;
  z-index: 1;
  background: transparent;
}
body.page-template-page-ads .ads-lp-top .lp-hero { margin-top: 0; }
body.page-template-page-ads .ads-lp-top .lp-hero__shape,
body.page-template-page-ads .ads-lp-top .lp-hero__line,
body.page-template-page-ads .ads-lp-top .lp-hero__blob { display: none; }
body.page-template-page-ads .lp-hero__badges--asset {
  display: block;
  width: 498px;
  line-height: 0;
}
body.page-template-page-ads .lp-hero__badges--asset img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-template-page-ads .lp-worry,
body.page-template-page-ads .lp-price,
body.page-template-page-ads .lp-flow,
body.page-template-page-ads .lp-faq {
  position: relative;
  isolation: isolate;
}
body.page-template-page-ads .lp-worry { z-index: 1; background: #e5eef8; overflow: visible; }
body.page-template-page-ads .lp-price { background: #e5eef8; }
body.page-template-page-ads .lp-flow { background: #fbf1e4; }
body.page-template-page-ads .lp-faq { background: #fff; }
body.page-template-page-ads .lp-worry__inner,
body.page-template-page-ads .lp-price__inner,
body.page-template-page-ads .lp-flow__inner,
body.page-template-page-ads .lp-faq__inner {
  position: relative;
  z-index: 1;
}
/* お悩み背景には下部の切り替え矢印まで含まれている */
body.page-template-page-ads .ads-lp-section-bg--worry {
  top: 0;
  bottom: auto;
  height: calc(100% + 40px);
}
body.page-template-page-ads .lp-worry__arrow { display: none; }

/* お悩み：ショート動画制作にも、広告運用と同じ人物・クエスチョン装飾を配置 */
body.page-template-page-video .lp-worry__inner {
  position: relative;
  z-index: 1;
}
body.page-template-page-video .lp-worry__question,
body.page-template-page-video .lp-worry__person {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}
body.page-template-page-video .lp-worry__question {
  top: 50px;
  right: max(32px, calc(50% - 670px));
  width: 75px;
}
body.page-template-page-video .lp-worry__person {
  bottom: 18px;
  left: max(32px, calc(50% - 670px));
  width: 150px;
}

body.page-template-page-ads .lp-voice__answer {
  margin-bottom: 36px;
  line-height: 0;
}
body.page-template-page-ads .lp-voice__answer-asset {
  display: block;
  width: 674px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
body.page-template-page-ads .lp-voice__row { gap: 48px; }
body.page-template-page-ads .lp-voice__illust img {
  display: block;
  width: 200px;
  height: auto;
}
body.page-template-page-ads .lp-voice__merits--ads {
  display: block;
  width: 592px;
  max-width: calc(100% - 248px);
  height: auto;
}

@media (max-width: 768px) {
  body.page-template-page-ads .lp-hero__badges--asset {
    width: min(100%, 346px);
    margin-right: auto;
    margin-left: auto;
  }
  body.page-template-page-ads .ads-lp-section-bg--worry { height: calc(100% + 30px); }
  body.page-template-page-video .lp-worry__question {
    top: 18px;
    right: 18px;
    width: 45px;
  }
body.page-template-page-video .lp-worry__person {
    bottom: 8px;
    left: 12px;
    width: 84px;
  }
  body.page-template-page-ads .lp-voice__answer { margin-bottom: 18px; }
  body.page-template-page-ads .lp-voice__answer-asset { width: min(337px, 100%); }
  body.page-template-page-ads .lp-voice__illust { top: -82px; }
  body.page-template-page-ads .lp-voice__illust img { width: 120px; }
  body.page-template-page-ads .lp-voice__merits--ads {
    width: min(296px, 100%);
    max-width: none;
    margin: 0 auto;
  }
}

/* 共通Contact：3人のイラストをお問い合わせフォーム左下の枠に重ねる */
.contact::after {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  display: block;
  width: 31%;
  height: 32%;
  content: "";
  background: #fbf3e7;
  pointer-events: none;
}

.contact__grid--assets .contact-cta-asset--form {
  overflow: visible;
}

.contact-cta-asset--form .contact-cta-asset__team {
  position: absolute;
  z-index: 1;
  bottom: -17%;
  left: -10%;
  display: block;
  width: 56%;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .contact::after {
    width: 34%;
    height: 28%;
  }

  .contact-cta-asset--form .contact-cta-asset__team {
    bottom: -20%;
    left: -11%;
    width: 63%;
  }
}

/* TOPのみ：支給カード・背景をそのまま使うContactレイアウト */
.contact--top-assets::after {
  display: none;
}

.contact--top-assets .contact__inner {
  max-width: 1000px;
}

.top-contact-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 148px;
  line-height: 0;
}

.top-contact-layout__cards {
  display: block;
  width: 100%;
  height: auto;
}

.top-contact-layout__action {
  position: absolute;
  z-index: 2;
  top: 62.5%;
  display: block;
  height: 19.5%;
  border-radius: 14px;
  transition: transform .2s ease;
}

.top-contact-layout__action--form {
  left: 8.3%;
  width: 32.5%;
}

.top-contact-layout__action--line {
  left: 58.0%;
  width: 33.0%;
}

.top-contact-layout__action:hover,
.top-contact-layout__action:focus-visible {
  transform: translateY(-3px);
}

.top-contact-layout__action:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.top-contact-team {
  position: absolute;
  z-index: 5;
  bottom: 68px;
  left: max(-173px, calc(550px - 50vw));
  display: block;
  width: 300px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.contact--top-assets .contact__grid--top-mobile {
  display: none;
}

.top-contact-team-mobile {
  display: none;
}

@media (max-width: 768px) {
  .contact--top-assets .top-contact-layout,
  .contact--top-assets .top-contact-team {
    display: none;
  }

  .contact--top-assets .contact__grid--top-mobile {
    display: grid;
    gap: 22px;
  }

  .contact--top-assets .contact-cta-asset__team {
    display: none;
  }

  .contact--top-assets .top-contact-team-mobile {
    position: relative;
    z-index: 3;
    display: block;
    width: min(232px, 43vw);
    height: auto;
    margin: 18px 0 0 auto;
    pointer-events: none;
    user-select: none;
  }
}

/* SP：支給された390px幅の背景書き出しを各セクションに使用 */
@media (max-width: 768px) {
  /* TOP FVは背景素材のみを差し替え、テキストとスマホはコードで重ねる */
  .mv--layered {
    height: clamp(610px, 175.13vw, 683px);
  }

  .mv__layered-base {
    content: url("../media/top-sp-fv-background.png");
    object-fit: fill;
  }

  .mv__layered-office,
  .mv__layered-light,
  .mv__layered-dots,
  .mv__layered-wave {
    display: none;
  }

  .about > .top-section-bg { content: url("../media/top-sp-about-background.png"); }
  .service > .top-section-bg { content: url("../media/top-sp-service-background.png"); }
  .case > .top-section-bg { content: url("../media/top-sp-case-background.png"); }
  .news > .top-section-bg { content: url("../media/top-sp-news-background.png"); }
  .vlog > .top-section-bg { content: url("../media/top-sp-vlog-background.png"); }
  .contact--top-assets > .top-section-bg { content: url("../media/top-sp-contact-background.png"); }

  /* SP用About背景には同じイラストが含まれるため、余白は残して重複だけ防ぐ */
  .about__illust { visibility: hidden; }

  /* SP用Contact背景には3人のイラストが含まれるため、配置用の余白だけ残す */
  .contact--top-assets .top-contact-team-mobile { visibility: hidden; }

  /* ショート動画LP：各セクションをSP専用の背景書き出しへ切り替え */
  .video-lp-top__bg {
    content: url("../media/video-lp-sp-fv-background.png");
    object-fit: fill;
  }

  body.page-template-page-video .lp-worry {
    height: 805px;
    background: #e5eef8 url("../media/video-lp-sp-worry-background.png") center / 100% 100% no-repeat;
  }

  body.page-template-page-video .lp-worry__question,
  body.page-template-page-video .lp-worry__person,
  body.page-template-page-video .lp-worry__arrow {
    display: none;
  }

  /* solution.pngは「解決」から「要望の声」までを一枚で含む */
  body.page-template-page-video .lp-solution {
    background: #fff url("../media/video-lp-sp-solution-background.png") center top / 100% 2299px no-repeat;
  }

  body.page-template-page-video .lp-voice {
    background: #fafafa url("../media/video-lp-sp-solution-background.png") center bottom / 100% 2299px no-repeat;
  }

  body.page-template-page-video .lp-voice .video-lp-section-bg { display: none; }
  body.page-template-page-video .lp-cta {
    background: #fbf1e4 url("../media/video-lp-sp-cta-background.png") center / 100% 100% no-repeat;
  }
  body.page-template-page-video .lp-case .video-lp-section-bg { content: url("../media/video-lp-sp-case-background.png"); }
  body.page-template-page-video .lp-price .video-lp-section-bg { content: url("../media/video-lp-sp-price-background.png"); }
  body.page-template-page-video .lp-compare .video-lp-section-bg { content: url("../media/video-lp-sp-comparison-background.png"); }
  body.page-template-page-video .lp-flow .video-lp-section-bg { content: url("../media/video-lp-sp-flow-background.png"); }
  body.page-template-page-video .lp-faq {
    background: #fff url("../media/video-lp-sp-faq-background.png") center / 100% 100% no-repeat;
  }
}

/* 広告運用代行LP：支給された390px幅のSP背景を使用 */
@media (max-width: 768px) {
  body.page-template-page-ads .ads-lp-top__bg {
    content: url("../media/ads-lp-sp-fv-background.png");
    object-fit: fill;
  }

  body.page-template-page-ads .lp-worry { height: 805px; }
  body.page-template-page-ads .ads-lp-section-bg--worry {
    content: url("../media/ads-lp-sp-worry-background.png");
    height: 100%;
  }

  /* solution.pngは「解決」から「不安の声」までを一枚で含む */
  body.page-template-page-ads .lp-solution {
    background: #fff url("../media/ads-lp-sp-solution-background.png") center top / 100% 1959px no-repeat;
  }

  body.page-template-page-ads .lp-voice {
    background: #fafafa url("../media/ads-lp-sp-solution-background.png") center bottom / 100% 1959px no-repeat;
  }

  body.page-template-page-ads .lp-case {
    background: #fff url("../media/ads-lp-sp-case-background.png") center / 100% 100% no-repeat;
  }
  body.page-template-page-ads .lp-price .ads-lp-section-bg { content: url("../media/ads-lp-sp-price-background.png"); }
  body.page-template-page-ads .lp-flow .ads-lp-section-bg { content: url("../media/ads-lp-sp-flow-background.png"); }
  body.page-template-page-ads .lp-faq .ads-lp-section-bg { content: url("../media/ads-lp-sp-faq-background.png"); }
}

/* ==========================================================
   ショート動画LP：SP版
   見出し・本文はHTML/CSSで表示。FVの実績バッジのみ支給画像を使用
========================================================== */
.video-sp-only { display: none; }
.video-pc-comma { display: inline; }
body.page-template-page-video .lp-nexum-logo {
  display: block;
  width: 168px;
  height: auto;
}

@media (max-width: 768px) {
  .video-sp-only { display: initial; }
  .video-pc-comma { display: none; }
  body.page-template-page-video .lp-nexum-logo { width: 158px; }
  body.page-template-page-video .lp-solution__brand {
    gap: 0;
    vertical-align: -11px;
  }

  /* 固定高のセクションでも背景を引き伸ばさず、縦横比を保つ */
  body.page-template-page-video .video-lp-top__bg,
  body.page-template-page-video .video-lp-section-bg {
    object-fit: cover;
  }
  body.page-template-page-video .lp-solution,
  body.page-template-page-video .lp-voice {
    background-size: 100% auto;
  }
  body.page-template-page-video .lp-cta,
  body.page-template-page-video .lp-faq {
    background-size: cover;
  }

  /* お悩み：人物・クエスチョン装飾だけを背景画像から使用し、下端の三角はコードで配置 */
  body.page-template-page-video .lp-worry {
    overflow: visible;
    isolation: isolate;
    z-index: 1;
    background: #e5eef8;
  }
  body.page-template-page-video .lp-worry::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 32px;
    background: url("../media/video-lp-sp-worry-decoration.png") center top / 390px auto no-repeat;
    pointer-events: none;
  }
  body.page-template-page-video .lp-worry::after {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: -32px;
    left: 50%;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-right: 40px solid transparent;
    border-top: 32px solid #e5eef8;
    border-left: 40px solid transparent;
    pointer-events: none;
  }
  body.page-template-page-video .lp-worry__inner {
    z-index: 1;
    padding-bottom: 0;
  }
  body.page-template-page-video .lp-worry__question,
  body.page-template-page-video .lp-worry__person,
  body.page-template-page-video .lp-worry__arrow {
    display: none;
  }
  body.page-template-page-video .lp-worry__tag {
    position: relative;
    margin-bottom: 14px;
  }
  body.page-template-page-video .lp-worry__tag::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 8px solid var(--white);
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
  }
  body.page-template-page-video .lp-worry__title {
    font-size: 23px;
    line-height: 1.4;
  }
  body.page-template-page-video .lp-worry {
    height: 773px;
    padding-top: 34px;
  }
  body.page-template-page-video .lp-worry__heading {
    margin-bottom: 12px;
  }
  body.page-template-page-video .worry2-grid { gap: 14px; }
  body.page-template-page-video .worry2-card__head { padding: 8px 10px; }
  body.page-template-page-video .worry2-card__list li {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  body.page-template-page-video .worry2-text {
    font-size: 12.5px;
    line-height: 1.45;
  }

  /* 既存のHTML見出し・料金カード・制作フローをSPでも使用 */
  body.page-template-page-video .lp-solution__title {
    line-height: 1.55;
    margin-bottom: 28px;
  }
  /* 解決から要望の声へ続く支給背景の切り替え位置をSP版に合わせる */
  body.page-template-page-video .lp-solution { height: auto; padding-bottom: 32px; }
  body.page-template-page-video .lp-voice { height: 514px; background-size: 100% auto; }
  body.page-template-page-video .lp-voice__answer {
    line-height: 1.35;
    margin-bottom: 14px;
  }
  body.page-template-page-video .lp-voice__illust { display: block; }
  body.page-template-page-video .lp-voice__illust img {
    display: block;
    width: 76px;
    height: auto;
  }
  body.page-template-page-video .merit-circles {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  body.page-template-page-video .merit-circle {
    width: 88px;
    height: 88px;
    gap: 4px;
    font-size: 12px;
  }
  body.page-template-page-video .merit-circle__ico { width: 28px; height: 28px; }
  body.page-template-page-video .lp-cta__title {
    display: table;
    padding: 0 8px;
    line-height: 1.45;
    margin-bottom: 28px;
    background: none;
  }
  body.page-template-page-video .lp-cta__title > span {
    display: inline;
    padding: 0 4px;
    background: linear-gradient(transparent 62%, #F8DCB2 62%);
  }
  /* 背景内の人物イラストにカードが重ならないよう、カード内の余白だけを詰める */
  body.page-template-page-video .lp-cta .contact__grid { gap: 16px; }
  body.page-template-page-video .lp-cta .contact-card { padding: 23px 24px 24px; }
  body.page-template-page-video .lp-cta .contact-card__title {
    margin-bottom: 11px;
    padding-bottom: 11px;
  }
  body.page-template-page-video .lp-cta .contact-card__text { margin-bottom: 14px; }
  body.page-template-page-video .lp-cta .contact-card__note { margin-bottom: 8px; }
  body.page-template-page-video .lp-cta .contact-card__sub { margin-top: 6px; }
  /* FV資料ダウンロードボタンは青地を通常表示 */
  body.page-template-page-video .lp-hero__cta .btn-dl {
    border-color: var(--button-blue);
    background: linear-gradient(100deg, #155b9f 0%, #2d82d8 100%);
    color: #fff;
  }

  /* 比較見出しはFigmaどおり二行で固定 */
  body.page-template-page-video .lp-compare .heading__en--ja {
    line-height: 1.35;
    letter-spacing: .02em;
  }

  /* 制作フローは横矢印を使わず、カード間に下向き矢印を表示 */
  body.page-template-page-video .flow-row--six .flow-card::after {
    content: none;
    display: none;
  }
  body.page-template-page-video .flow-row--six .flow-card:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    right: auto;
    bottom: -8px;
    left: 50%;
    top: auto;
    width: 10px;
    height: 10px;
    border-top: 0;
    border-right: 3px solid #777;
    border-bottom: 3px solid #777;
    border-left: 0;
    transform: translateX(-50%) rotate(45deg);
  }
  body.page-template-page-video .lp-price .price-grid {
    display: grid;
  }
  body.page-template-page-video .lp-flow .flow-row {
    display: flex;
  }
  body.page-template-page-video .lp-price__lead { margin-bottom: 24px; }
  body.page-template-page-video .lp-flow { padding-top: 38px; }
  body.page-template-page-video .lp-flow .heading { margin-bottom: 22px; }

  /* フォーム上の人物は文字を含まないイラスト素材を使用 */
  body.page-template-page-video .contact-form-wrap--team .contact-form__team {
    content: url("../media/undraw_engineering-team_13ax 1 (2).png");
    top: -42px;
    right: 18px;
    width: 180px;
  }
}

/* ==========================================================
   動画LP：SP正解デザインの声カード〜解決セクション
========================================================== */
@media (max-width: 768px) {
  /* お悩みカードの直下へ人物を寄せる。元画像の下端三角は覆い、コードの三角を使用。 */
  body.page-template-page-video .lp-worry::before {
    background:
      linear-gradient(to bottom, transparent 0 94%, #e5eef8 94% 100%),
      url("../media/video-lp-sp-worry-decoration.png") center -78px / 390px auto no-repeat;
  }

  /* 03の下の固定余白をなくし、次の背景セクションへつなげる。 */
  body.page-template-page-video .lp-solution .num-feature:last-child {
    margin-bottom: 0;
  }
  body.page-template-page-video .lp-solution .num-feature:last-child .num-feature__body {
    background: #fff;
  }

  /* 03の説明文はSPでも薄いオレンジのグラデーションを表示 */
  body.page-template-page-video .lp-solution .num-feature:last-child .num-feature__text {
    background: linear-gradient(to right, rgba(250, 239, 223, .6), rgba(250, 239, 223, 0));
  }

  /* 参考画像どおり、声カードは改行を固定せず自然な1行表示にする。 */
  body.page-template-page-video .lp-voice .voice-card br {
    display: none;
  }
  body.page-template-page-video .lp-voice .voice-card {
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.35;
  }
  body.page-template-page-video .lp-voice .voice-card em {
    font-size: 18px;
  }

  /* 声カード下のドット付き下矢印 */
  body.page-template-page-video .lp-voice__down {
    width: 34px;
    margin-top: 14px;
    margin-bottom: 14px;
  }

  /* Nexum＋人物を同じ行に置き、その下に解決メッセージを配置 */
  body.page-template-page-video .lp-voice__answer {
    margin-right: 10px;
    margin-left: 10px;
    text-align: left;
  }
  body.page-template-page-video .lp-voice__answer .lp-solution__brand {
    margin-left: 39px;
  }

  body.page-template-page-video .lp-voice__row {
    min-height: 104px;
  }
  body.page-template-page-video .lp-voice__illust {
    right: -8px;
  }
  body.page-template-page-video .merit-circles {
    gap: 12px;
  }
  body.page-template-page-video .merit-circle {
    width: 104px;
    height: 104px;
    gap: 7px;
    font-size: 17px;
  }
  body.page-template-page-video .merit-circle__ico {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================
   広告運用LP：SP差分修正（Figma 1048:9137 / 第1〜3項目）
   セクション境界・FV合成・お悩みカードを390px基準で固定
========================================================== */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  body.page-template-page-ads .lp-hero { height: 766px; }
  body.page-template-page-ads .lp-intro { height: 581px; }
  body.page-template-page-ads .lp-worry {
    height: 805px;
    padding: 40px 0 0;
  }
  body.page-template-page-ads .lp-solution {
    height: 1378px;
    margin-top: -32px;
    position: relative;
    z-index: 2;
  }
  body.page-template-page-ads .lp-cta { height: 789px; }
  body.page-template-page-ads .lp-case { height: 1203px; }
  body.page-template-page-ads .ads-lp-section-bg--worry { height: 100%; }

  /* FVのテキスト・バッジ・CTAをFigmaの絶対座標へ */
  body.page-template-page-ads .lp-hero__inner {
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0;
    display: block;
  }
  body.page-template-page-ads .lp-hero__text {
    display: block;
    position: static;
  }
  body.page-template-page-ads .lp-hero__title {
    position: absolute;
    z-index: 3;
    top: 50px;
    left: 20px;
    width: 350px;
    margin: 0;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -.03em;
  }
  body.page-template-page-ads .lp-hero__title mark {
    padding: 0 8px;
    border: 2px solid var(--navy);
    line-height: 32px;
  }
  body.page-template-page-ads .lp-hero__lead {
    position: absolute;
    z-index: 3;
    top: 138px;
    left: 20px;
    width: 330px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
  }
  body.page-template-page-ads .lp-hero__badges--asset {
    position: absolute;
    z-index: 3;
    top: 460px;
    left: 22px;
    width: 346px;
    margin: 0;
  }
  body.page-template-page-ads .lp-hero__cta {
    position: absolute;
    z-index: 3;
    top: 580px;
    left: 20px;
    width: 342px;
    display: grid;
    gap: 8px;
  }
  body.page-template-page-ads .lp-hero__cta .btn-cta {
    box-sizing: border-box;
    width: 342px;
    min-width: 0;
    height: 64px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    line-height: 1;
  }
  body.page-template-page-ads .lp-hero__cta .circle-arrow {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }
  body.page-template-page-ads .lp-hero__cta .btn-dl .circle-arrow {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  /* FVはFigmaの背景の上にラップトップ・スマホを重ねる */
  body.page-template-page-ads .lp-hero__visual {
    position: absolute;
    z-index: 2;
    top: 210px;
    left: 20px;
    width: 342px;
    height: 228px;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }
  body.page-template-page-ads .lp-hero__img { display: none; }
  body.page-template-page-ads .ads-fv__visual {
    position: absolute;
    inset: 0;
    display: block;
    width: 342px;
    height: 228px;
    overflow: visible;
  }
  body.page-template-page-ads .ads-fv__visual-base {
    position: absolute;
    inset: 0;
    display: block;
    width: 342px;
    height: 228px;
  }
  body.page-template-page-ads .ads-fv__laptop {
    position: absolute;
    z-index: 1;
    top: 36px;
    left: 0;
    display: block;
    width: 300px;
    height: 181px;
    object-fit: fill;
    transform: rotate(-2deg);
    transform-origin: 50% 50%;
  }
  body.page-template-page-ads .ads-fv__phone {
    position: absolute;
    z-index: 3;
    top: 32px;
    left: 182px;
    width: 160px;
    height: 202px;
  }
  body.page-template-page-ads .ads-fv__phone-screen {
    position: absolute;
    z-index: 1;
    top: 3.3px;
    left: 4.1px;
    width: 147.75px;
    height: 188.67px;
    overflow: hidden;
    background: #111;
    -webkit-mask: url("../media/ads-fv-phone-mask.svg") center / 100% 100% no-repeat;
    mask: url("../media/ads-fv-phone-mask.svg") center / 100% 100% no-repeat;
  }
  body.page-template-page-ads .ads-fv__phone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  body.page-template-page-ads .ads-fv__phone-frame {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    width: 160px;
    height: 202px;
    object-fit: fill;
  }

  /* お悩み：背景素材の人物・疑問符・下三角を使い、カードだけをコードで配置 */
  body.page-template-page-ads .lp-worry__inner {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  body.page-template-page-ads .lp-worry__heading {
    width: 174px;
    height: 103px;
    margin: 0 auto 34px;
    text-align: center;
  }
  body.page-template-page-ads .lp-worry__tag {
    position: relative;
    width: 102px;
    height: 31px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 16px;
    line-height: 1;
  }
  body.page-template-page-ads .lp-worry__tag::after {
    position: absolute;
    right: 50%;
    bottom: -8px;
    width: 0;
    height: 0;
    content: "";
    border-top: 9px solid #fff;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    transform: translateX(50%);
  }
  body.page-template-page-ads .lp-worry__title {
    display: block;
    width: 174px;
    margin: 0 auto;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -.04em;
  }
  body.page-template-page-ads .worry-grid {
    width: auto;
    max-width: none;
    margin: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 94px 94px 116px 94px;
    gap: 22px;
  }
  body.page-template-page-ads .worry-card {
    min-height: 0;
    box-sizing: border-box;
    padding: 19px 18px 10px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.page-template-page-ads .worry-card p {
    margin: 0;
    text-align: center;
  }
  body.page-template-page-ads .worry-card__check {
    top: -16px;
    width: 34px;
    height: 34px;
  }
}

@media (min-width: 769px) {
  body.page-template-page-ads .ads-fv__visual { display: none; }
}

/* ==========================================================
   広告運用LP：SP差分修正（Figma 1048:9137 / 第4〜6項目）
   解決・Nexumなら・中間CTAを390px基準で整列
========================================================== */
@media (max-width: 768px) {
  /* 解決：画像を上、白い説明カードを下に重ねる */
  body.page-template-page-ads .lp-solution {
    overflow: hidden;
    padding: 0;
  }
  body.page-template-page-ads .lp-solution__inner {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  body.page-template-page-ads .lp-solution__title {
    box-sizing: border-box;
    width: 342px;
    height: 208px;
    margin: 0 auto 20px;
    padding: 40px 0 0;
    font-size: 20px;
    line-height: 36px;
    letter-spacing: -.04em;
  }
  body.page-template-page-ads .lp-solution__brand {
    gap: 5px;
    vertical-align: -7px;
  }
  body.page-template-page-ads .lp-solution__brand .logo-mark {
    width: 32px;
    height: 32px;
  }
  body.page-template-page-ads .lp-solution__brand .logo-text {
    font-size: 31px;
  }
  body.page-template-page-ads .lp-solution__title mark {
    padding: 1px 7px;
  }

  body.page-template-page-ads .feature-card,
  body.page-template-page-ads .feature-card--reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 342px;
    height: 352px;
    margin: 0 auto 40px;
    gap: 0;
  }
  body.page-template-page-ads .feature-card__img {
    order: 1;
    flex: 0 0 180px;
    width: 342px;
    height: 180px;
    aspect-ratio: auto;
    border-radius: 12px;
    overflow: hidden;
  }
  body.page-template-page-ads .feature-card__img img,
  body.page-template-page-ads .feature-card__img .img-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  body.page-template-page-ads .feature-card__body {
    order: 2;
    flex: 0 0 192px;
    width: 342px;
    height: 192px;
    min-height: 0;
    margin: -20px 0 0 !important;
    padding: 22px 18px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(60, 60, 80, .12);
  }
  body.page-template-page-ads .feature-card:last-child {
    height: 326px;
  }
  body.page-template-page-ads .feature-card:last-child .feature-card__body {
    flex-basis: 166px;
    height: 166px;
  }
  body.page-template-page-ads .feature-card__title {
    gap: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
  }
  body.page-template-page-ads .feature-card__num {
    flex: 0 0 auto;
    font-size: 28px;
    line-height: 24px;
  }
  body.page-template-page-ads .feature-card__title mark {
    padding: 0 6px;
    margin-top: 2px;
  }
  body.page-template-page-ads .feature-card__text {
    font-size: 13px;
    line-height: 1.8;
  }

  /* 「不安の声」：カード、矢印、回答素材をFigmaの縦位置へ */
  body.page-template-page-ads .lp-voice {
    position: relative;
    height: 580px;
    padding: 0;
    overflow: hidden;
  }
  body.page-template-page-ads .lp-voice__inner {
    position: relative;
    width: 390px;
    height: 580px;
    max-width: none;
    padding: 0;
  }
  body.page-template-page-ads .voice-box {
    position: absolute;
    top: 42px;
    left: 24px;
    width: 342px;
    height: 234px;
    box-sizing: border-box;
    padding: 0 16px;
    border-width: 2px;
    border-radius: 8px;
  }
  body.page-template-page-ads .voice-box__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 77px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
  }
  body.page-template-page-ads .voice-box__item::before,
  body.page-template-page-ads .voice-box__item::after {
    flex: 0 0 auto;
    font-size: 18px;
  }
  body.page-template-page-ads .voice-box__item::before { margin-right: 7px; }
  body.page-template-page-ads .voice-box__item::after { margin-left: 7px; }
  body.page-template-page-ads .lp-voice__down {
    position: absolute;
    top: 286px;
    left: 183px;
    width: 24px;
    height: 36px;
    margin: 0;
  }
  body.page-template-page-ads .lp-voice__answer {
    position: absolute;
    top: 330px;
    left: 24px;
    width: 342px;
    height: 92px;
    margin: 0;
    line-height: 1;
    text-align: center;
  }
  body.page-template-page-ads .lp-voice__answer-brand {
    position: absolute;
    top: 0;
    left: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
    gap: 5px;
    width: max-content;
  }
  body.page-template-page-ads .lp-voice__answer-brand .logo-mark {
    width: 42px;
    height: 42px;
  }
  body.page-template-page-ads .lp-voice__answer-brand .logo-text {
    font-size: 39px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.04em;
  }
  body.page-template-page-ads .lp-voice__answer-copy {
    display: block;
    position: absolute;
    top: 53px;
    left: 0;
    width: 342px;
    margin: 0;
    font-size: 20px;
    line-height: 32px;
    font-weight: 900;
  }
  body.page-template-page-ads .lp-voice__row {
    position: static;
    display: block;
  }
  body.page-template-page-ads .lp-voice__illust {
    position: absolute;
    top: 322px;
    right: 24px;
    width: 84px;
    height: 67px;
  }
  body.page-template-page-ads .lp-voice__illust img {
    display: block;
    width: 84px;
    height: auto;
  }
  body.page-template-page-ads .lp-voice__merits--ads {
    position: absolute;
    top: 444px;
    left: 26px;
    width: 337px;
    max-width: none;
    height: auto;
    margin: 0;
  }

  /* 中間CTA：タイトル、2カード、人物をFigmaの配置に固定 */
  body.page-template-page-ads .lp-cta {
    position: relative;
    height: 789px;
    padding: 0;
    overflow: hidden;
    background: var(--cream) url("../media/top-sp-contact-background.png") center / 100% 100% no-repeat;
  }
  body.page-template-page-ads .lp-cta__inner {
    position: relative;
    width: 390px;
    height: 789px;
    max-width: none;
    padding: 0;
  }
  body.page-template-page-ads .lp-cta__title {
    position: absolute;
    top: 42px;
    left: 24px;
    width: 342px;
    height: 64px;
    box-sizing: border-box;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -.03em;
    background: none;
  }
  body.page-template-page-ads .lp-cta__title span {
    display: block;
    width: max-content;
    margin: 0 auto;
  }
  body.page-template-page-ads .lp-cta__title span:last-child {
    background: linear-gradient(transparent 58%, #f8dcb2 58%);
  }
  body.page-template-page-ads .lp-cta .contact__grid {
    position: absolute;
    top: 123px;
    left: 24px;
    width: 342px;
    max-width: none;
    display: grid;
    grid-template-columns: 342px;
    grid-template-rows: 244px 275px;
    gap: 16px;
    margin: 0;
  }
  body.page-template-page-ads .lp-cta .contact-card {
    position: relative;
    width: 342px;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(150, 110, 50, .13);
  }
  body.page-template-page-ads .lp-cta .contact-card__title {
    position: absolute;
    top: 27px;
    left: 24px;
    width: 294px;
    height: 35px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 0 11px;
    border-bottom: 1px solid #d7d1ca;
    font-size: 20px;
    line-height: 24px;
  }
  body.page-template-page-ads .lp-cta .contact-card__text {
    position: absolute;
    top: 79px;
    left: 24px;
    width: 294px;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
  }
  body.page-template-page-ads .lp-cta .btn-square {
    position: absolute;
    left: 25px;
    width: 292px;
    height: 64px;
    min-height: 64px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1;
  }
  body.page-template-page-ads .lp-cta .contact-card:first-child .btn-square {
    top: 158px;
  }
  body.page-template-page-ads .lp-cta .contact-card:nth-child(2) .contact-card__note {
    position: absolute;
    top: 132px;
    left: 24px;
    width: 294px;
    margin: 0;
    font-size: 13px;
    line-height: 20px;
  }
  body.page-template-page-ads .lp-cta .contact-card:nth-child(2) .btn-square {
    top: 160px;
  }
  body.page-template-page-ads .lp-cta .contact-card__sub {
    position: absolute;
    top: 231px;
    left: 24px;
    width: 294px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
  }
}
/* BATCH3 CASE */
@media (max-width: 768px) {
  body.page-template-page-ads .lp-case { position: relative; padding: 0; overflow: hidden; }
  body.page-template-page-ads .lp-case__inner { position: relative; width: 390px; height: 1203px; max-width: none; padding: 0; }
  body.page-template-page-ads .lp-case .heading { position: absolute; top: 40px; left: 24px; width: 342px; height: 52px; margin: 0; }
  body.page-template-page-ads .case-grid { position: absolute; top: 112px; left: 24px; width: 342px; height: 1051px; display: block; margin: 0; }
  body.page-template-page-ads .case-card { position: absolute; left: 0; width: 342px; box-sizing: border-box; margin: 0; }
  body.page-template-page-ads .case-card:nth-child(1) { top: 0; height: 317px; }
  body.page-template-page-ads .case-card:nth-child(2) { top: 333px; height: 385px; }
  body.page-template-page-ads .case-card:nth-child(3) { top: 735px; height: 317px; }
  body.page-template-page-ads .case-card__img { width: 342px; height: 160px; aspect-ratio: auto; }
  body.page-template-page-ads .case-card__body { box-sizing: border-box; padding: 12px 16px 14px; }
  body.page-template-page-ads .case-card:nth-child(1) .case-card__body,
  body.page-template-page-ads .case-card:nth-child(3) .case-card__body { height: 157px; }
  body.page-template-page-ads .case-card:nth-child(2) .case-card__body { height: 225px; }
  body.page-template-page-ads .case-card__title { margin-bottom: 9px; padding-bottom: 7px; font-size: 19px; line-height: 24px; }
  body.page-template-page-ads .case-card__industry { margin-bottom: 11px; font-size: 13px; line-height: 20px; }
  body.page-template-page-ads .case-card__results { gap: 9px; }
  body.page-template-page-ads .result-line { min-height: 59px; box-sizing: border-box; padding: 10px 16px; font-size: 14px; line-height: 22px; }
}
/* BATCH3 PRICE */
@media (max-width: 768px) {
  body.page-template-page-ads .lp-price { position: relative; height: 1085px; padding: 0; overflow: hidden; }
  body.page-template-page-ads .lp-price__inner { position: relative; width: 390px; height: 1085px; max-width: none; padding: 0; }
  body.page-template-page-ads .lp-price .heading { position: absolute; top: 32px; left: 24px; width: 342px; height: 52px; margin: 0; }
  body.page-template-page-ads .price-initial { position: absolute; top: 112px; left: 24px; width: 342px; height: 334px; box-sizing: border-box; display: block; margin: 0; padding: 20px 14px 12px; }
  body.page-template-page-ads .price-initial__label h3 { margin-bottom: 7px; font-size: 18px; line-height: 32px; }
  body.page-template-page-ads .price-initial__price { height: 81px; box-sizing: border-box; padding: 10px; }
  body.page-template-page-ads .price-initial__list { margin-top: 8px; }
  body.page-template-page-ads .price-initial__list li { height: 39px; box-sizing: border-box; padding: 6px 0 6px 30px; font-size: 14px; line-height: 26px; }
  body.page-template-page-ads .price-initial__list li::before { width: 20px; height: 20px; }
  body.page-template-page-ads .price-initial__list li::after { left: 5px; }
  body.page-template-page-ads .price-initial__note { margin-top: 8px; font-size: 12px; line-height: 22px; }
  body.page-template-page-ads .price-grid { position: absolute; top: 487px; left: 24px; width: 342px; height: 539px; display: block; margin: 0; }
  body.page-template-page-ads .price-card { position: absolute; left: 0; width: 342px; box-sizing: border-box; margin: 0; padding: 36px 16px 12px; }
  body.page-template-page-ads .price-card:nth-child(1) { top: 0; height: 150px; }
  body.page-template-page-ads .price-card:nth-child(2) { top: 182px; height: 168px; }
  body.page-template-page-ads .price-card:nth-child(3) { top: 382px; height: 178px; padding-bottom: 20px; }
  body.page-template-page-ads .price-card__tag { top: -16px; padding: 4px 30px; font-size: 15px; line-height: 27px; }
  body.page-template-page-ads .price-card__ico { width: 42px; height: 42px; margin: 2px auto 8px; }
  body.page-template-page-ads .price-card__price { font-size: 18px; line-height: 32px; }
  body.page-template-page-ads .price-card__price em { font-size: 34px; }
  body.page-template-page-ads .price-card__media { margin-bottom: 8px; padding: 6px 8px; font-size: 11.5px; line-height: 20px; }
  body.page-template-page-ads .price-card__note { margin-top: 6px; font-size: 11px; line-height: 18px; }
}
/* BATCH3 FLOW */
@media (max-width: 768px) {
  body.page-template-page-ads .lp-flow { position: relative; height: 1086px; padding: 0; overflow: hidden; }
  body.page-template-page-ads .lp-flow__inner { position: relative; width: 390px; height: 1086px; max-width: none; padding: 0; }
  body.page-template-page-ads .lp-flow .heading { position: absolute; top: 32px; left: 24px; width: 342px; height: 52px; margin: 0; }
  body.page-template-page-ads .flow-row { position: absolute; top: 112px; left: 24px; width: 342px; height: 935px; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 24px; margin: 0; }
  body.page-template-page-ads .flow-card { flex: 0 0 112px; width: 342px; height: 112px; box-sizing: border-box; padding: 0; display: flex; align-items: center; justify-content: center; gap: 12px; }
  body.page-template-page-ads .flow-card:nth-child(4) { height: 118px; flex-basis: 118px; }
  body.page-template-page-ads .flow-card__step { top: 16px; padding: 1px 18px; font-size: 13px; line-height: 23px; }
  body.page-template-page-ads .flow-card__ico { flex: 0 0 42px; width: 42px; height: 42px; margin: 16px 0 0; }
  body.page-template-page-ads .flow-card__label { max-width: 230px; margin-top: 16px; font-size: 16px; line-height: 24px; text-align: left; }
  body.page-template-page-ads .flow-card:not(:last-child)::after { content: ""; display: block; right: auto; left: 50%; top: calc(100% + 8px); width: 9px; height: 9px; border-top: 0; border-right: 3px solid #777; border-bottom: 3px solid #777; transform: translateX(-50%) rotate(45deg); }
}

/* BATCH4 FAQ / CONTACT / FOOTER */

/* ==========================================================
   LP共通：支給素材・トップページCTA仕様
========================================================== */
.video-merits-image {
  display: block;
  width: 592px;
  max-width: 100%;
  line-height: 0;
}
.video-merits-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-template-page-video .lp-cta .btn-square,
body.page-template-page-ads .lp-cta .btn-square {
  width: 340px;
  max-width: 100%;
  min-height: 70px;
  box-sizing: border-box;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .04em;
  transition: color .18s ease, background .18s ease, border-color .18s ease, outline-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.page-template-page-video .lp-cta .btn-square--orange,
body.page-template-page-ads .lp-cta .btn-square--orange {
  border-color: #fff;
  outline: 0;
  outline-offset: 0;
  background: linear-gradient(100deg, #ffc85b 0%, #ffad27 50%, #ff981d 100%);
  color: #fff;
  box-shadow: 0 0 0 2px #f49a28, 0 6px 0 #d98223, 0 10px 18px rgba(223, 131, 31, .24);
}
body.page-template-page-video .lp-cta .btn-square--line,
body.page-template-page-ads .lp-cta .btn-square--line {
  border-color: #fff;
  outline: 0;
  outline-offset: 0;
  background: linear-gradient(100deg, #44d878 0%, #06bd50 100%);
  color: #fff;
  box-shadow: 0 0 0 2px #09b653, 0 6px 0 #078d40, 0 10px 18px rgba(8, 151, 68, .22);
}
body.page-template-page-video .lp-cta .btn-square--orange:hover,
body.page-template-page-video .lp-cta .btn-square--orange:focus-visible,
body.page-template-page-ads .lp-cta .btn-square--orange:hover,
body.page-template-page-ads .lp-cta .btn-square--orange:focus-visible {
  border-color: #f49a28;
  background: #fff;
  color: #ef951c;
  box-shadow: 0 4px 10px rgba(185, 126, 38, .22);
  transform: translateY(-2px);
}
body.page-template-page-video .lp-cta .btn-square--line:hover,
body.page-template-page-video .lp-cta .btn-square--line:focus-visible,
body.page-template-page-ads .lp-cta .btn-square--line:hover,
body.page-template-page-ads .lp-cta .btn-square--line:focus-visible {
  border-color: #00bf55;
  background: #fff;
  color: #00aa46;
  box-shadow: 0 4px 10px rgba(8, 123, 58, .22);
  transform: translateY(-2px);
}

/* 料金カードの白背景をタイトル帯の背面まで連続させる */
body.page-template-page-video .lp-price .price-card--plan {
  z-index: 0;
  isolation: isolate;
  background: transparent;
  box-shadow: 0 8px 24px rgba(46, 78, 143, .12);
}
body.page-template-page-video .lp-price .price-card--plan::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -24px;
  left: 0;
  width: 100%;
  height: calc(100% + 24px);
  background: #fff;
  border-radius: 12px 12px 12px 12px;
}
body.page-template-page-video .lp-price .price-card--plan > * {
  position: relative;
  z-index: 1;
}
body.page-template-page-video .lp-price .price-card--plan > .price-card__tag {
  position: absolute;
  z-index: 2;
}

@media (max-width: 768px) {
  body.page-template-page-video .lp-price .price-grid--two {
    row-gap: 56px;
  }
  body.page-template-page-video .video-merits-image {
    width: 336px;
    margin: 0 auto;
  }
  body.page-template-page-ads .lp-cta .btn-square,
  body.page-template-page-video .lp-cta .btn-square {
    max-width: calc(100% - 16px);
  }
}

/* 動画LP：料金カード内のサムネイルを白背景から見切れないようにする */
@media (max-width: 768px) {
  body.page-template-page-video .lp-price {
    height: auto;
    min-height: 1189px;
    overflow: visible;
  }

  body.page-template-page-video .lp-price .price-card--plan::before {
    bottom: 0;
    height: auto;
  }

  body.page-template-page-video .video-thumb--plan {
    display: block;
    width: 62%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

@media (min-width: 769px) {
  body.page-template-page-video .video-thumb--plan {
    display: block;
    width: 62%;
    height: auto;
    object-fit: contain;
  }
}

/* 動画LP：SP版のファーストビュー文言を中央揃えにする（PC版は変更しない） */
@media (max-width: 768px) {
  body.page-template-page-video .lp-hero__sub {
    left: 0;
    width: 100%;
    text-align: center;
  }

  body.page-template-page-video .lp-hero__title--video {
    left: 0;
    width: 100%;
    text-align: center;
  }

  body.page-template-page-video .lp-hero__brand {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  /* FAQ：Figmaの390pxフレームに合わせ、見出しと5枚のカードを固定配置 */
  body.page-template-page-ads .lp-faq { position: relative; height: 798px; padding: 0; overflow: hidden; }
  body.page-template-page-ads .lp-faq__inner { position: relative; width: 390px; height: 798px; max-width: none; padding: 0; }
  body.page-template-page-ads .lp-faq .heading { position: absolute; top: 36px; left: 24px; width: 342px; height: 52px; margin: 0; }
  body.page-template-page-ads .lp-faq .faq-list { position: absolute; top: 112px; left: 24px; width: 342px; height: 646px; margin: 0; }
  body.page-template-page-ads .lp-faq .faq-item { position: absolute; left: 0; width: 342px; box-sizing: border-box; margin: 0; }
  body.page-template-page-ads .lp-faq .faq-item:nth-child(1) { top: 0; height: 180px; }
  body.page-template-page-ads .lp-faq .faq-item:nth-child(2) { top: 195px; height: 94px; }
  body.page-template-page-ads .lp-faq .faq-item:nth-child(3) { top: 305px; height: 94px; }
  body.page-template-page-ads .lp-faq .faq-item:nth-child(4) { top: 415px; height: 122px; }
  body.page-template-page-ads .lp-faq .faq-item:nth-child(5) { top: 552px; height: 94px; }
  body.page-template-page-ads .lp-faq .faq-item summary { box-sizing: border-box; min-height: 94px; height: 94px; padding: 19px 50px 19px 16px; font-size: 16px; line-height: 28px; gap: 10px; }
  body.page-template-page-ads .lp-faq .faq-item:first-child summary { height: 72px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
  body.page-template-page-ads .lp-faq .faq-q { flex: 0 0 34px; width: 34px; height: 34px; }
  body.page-template-page-ads .lp-faq .faq-toggle { flex: 0 0 18px; width: 18px; height: 18px; }
  body.page-template-page-ads .lp-faq .faq-item:first-child .faq-a { box-sizing: border-box; height: 108px; margin: 0 16px; padding: 10px 0 12px; }
  body.page-template-page-ads .lp-faq .faq-a p { width: 270px; font-size: 14px; line-height: 25.2px; }

  /* お問い合わせ：参照画像のカード開始位置に揃える */
  body.page-template-page-ads .contact-page__info .heading { transform: translateY(8px); }
  body.page-template-page-ads .contact-page .line-card { position: relative; top: -2px; }
  body.page-template-page-ads .contact-page .contact-form { position: relative; top: -1px; }

  /* フッター：ロゴ・ナビ・コピーライトの縦位置をSPデザインに揃える */
  body.page-template-page-ads .footer { position: relative; }
  body.page-template-page-ads .footer__inner { position: relative; height: 376px; }
  body.page-template-page-ads .footer__logo { position: absolute; top: 19px; left: 0; width: 100%; margin: 0; }
  body.page-template-page-ads .footer__nav { position: absolute; top: 95px; left: 0; width: 100%; margin: 0; }
body.page-template-page-ads .footer__bottom { position: absolute; top: 373px; left: 0; width: 100%; box-sizing: border-box; }
}

/* 広告運用代行：ヘッダーと同じロゴ素材、動画切り替え、フロー矢印 */
.lp-intro__logo { width: 206px; height: auto; object-fit: contain; }
.lp-intro__text br.lp-intro__break { display: block; }
.lp-solution__brand-logo { display: block; width: 150px; height: auto; object-fit: contain; }
.lp-solution__toha { display: inline-block; margin-left: 4px; }
.lp-voice__answer-logo { display: block; width: 206px; height: auto; object-fit: contain; }
.video-carousel__track { transition: transform .25s ease; will-change: transform; }
.video-carousel__arrow:disabled { opacity: .45; cursor: default; }

@media (min-width: 769px) {
  body.page-template-page-ads .video-carousel__track {
    display: flex;
    overflow: hidden;
    gap: 22px;
  }
  body.page-template-page-ads .video-thumb {
    flex: 0 0 calc((100% - 66px) / 4);
    width: auto;
  }
}

@media (max-width: 768px) {
  body.page-template-page-ads .lp-intro__title { gap: 8px; }
  body.page-template-page-ads .lp-intro__logo { width: 184px; }
  body.page-template-page-ads .lp-solution__brand-logo { width: 132px; }
  body.page-template-page-ads .lp-voice__answer-logo { width: 206px; }
  body.page-template-page-ads .lp-solution__toha { margin-left: 2px; }

  body.page-template-page-ads .video-carousel__track {
    display: flex;
    overflow: hidden;
    gap: 16px;
    transition: transform .25s ease;
  }
  body.page-template-page-ads .video-thumb {
    flex: 0 0 156px;
    width: 156px;
  }

  /* 3つの文章は1つずつ中央揃えにし、引用符を左右へ固定 */
  body.page-template-page-ads .voice-box__item {
    display: block;
    box-sizing: border-box;
    padding: 8px 22px;
    text-align: center;
  }
  body.page-template-page-ads .voice-box__item::before,
  body.page-template-page-ads .voice-box__item::after {
    position: absolute;
    top: 8px;
    margin: 0;
  }
  body.page-template-page-ads .voice-box__item::before { left: 2px; }
  body.page-template-page-ads .voice-box__item::after { right: 2px; }

  /* STEP4とSTEP5のカードの中央に矢印を固定 */
  body.page-template-page-ads .flow-card:nth-child(4)::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    right: auto;
    top: calc(100% + 8px);
    width: 9px;
    height: 9px;
    border: 0;
    border-right: 3px solid #777;
    border-bottom: 3px solid #777;
    transform: translateX(-50%) rotate(45deg);
  }
}

/* ==========================================================
   Figma 1048:9137：資料ダウンロードボタン／お悩みカード／素材寸法
   支給素材の390px基準に合わせた最終上書き
========================================================== */

/* プライバシーポリシー */
.privacy-page {
  padding: 72px 24px 120px;
  background: #fff;
}
.privacy-page__inner {
  max-width: 960px;
  margin: 0 auto;
  color: #3d3d3d;
  font-size: 16px;
  line-height: 2;
}
.privacy-page h2 {
  margin: 0 0 48px;
  color: var(--text, #3d3d3d);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
}
.privacy-page h2 span {
  display: block;
  margin-top: 8px;
  color: #888;
  font-family: Montserrat, sans-serif;
  font-size: .45em;
  font-weight: 600;
}
.privacy-page h3 {
  margin: 42px 0 12px;
  color: var(--text, #3d3d3d);
  font-size: 22px;
  line-height: 1.5;
}
.privacy-page p { margin: 0 0 18px; }
.privacy-page ol { margin: 0 0 18px; padding-left: 1.8em; }
.privacy-page ol ol { margin: 6px 0 0; }
@media (max-width: 768px) {
  .privacy-page { padding: 44px 20px 72px; }
  .privacy-page__inner { font-size: 14px; line-height: 1.85; }
  .privacy-page h2 { margin-bottom: 32px; font-size: 28px; }
  .privacy-page h3 { margin-top: 32px; font-size: 18px; }
}
body.page-template-page-video .lp-hero__cta .btn-dl,
body.page-template-page-ads .lp-hero__cta .btn-dl {
  width: 342px;
  height: 64px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 36px 0 51px;
  border: 2px solid var(--button-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--button-blue);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  box-shadow: 3px 4px 0 rgba(39, 71, 112, .34), 0 8px 18px rgba(25, 67, 113, .14);
}

body.page-template-page-video .lp-hero__cta .btn-dl .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl .circle-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: var(--button-blue);
  color: #fff;
}

body.page-template-page-video .lp-hero__cta .btn-dl:hover,
body.page-template-page-video .lp-hero__cta .btn-dl:focus-visible,
body.page-template-page-ads .lp-hero__cta .btn-dl:hover,
body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible {
  background: var(--button-blue);
  color: #fff;
}

body.page-template-page-video .lp-hero__cta .btn-dl:hover .circle-arrow,
body.page-template-page-video .lp-hero__cta .btn-dl:focus-visible .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl:hover .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible .circle-arrow {
  background: #fff;
  color: var(--button-blue);
}

/* 広告運用LPのFV：Figmaの左右配置と実測約27pxの文字・矢印間隔 */
body.page-template-page-ads .lp-hero__cta .btn-dl {
  padding-left: 51px;
  padding-right: 40px;
  justify-content: space-between;
  gap: 27px;
}

@media (max-width: 768px) {
  /* Figma：チェック円はカード上端に重なり、白いカード本体は16px下 */
  body.page-template-page-ads .worry-grid {
    grid-template-rows: 92px 92px 116px 92px;
    gap: 24px;
  }
  body.page-template-page-ads .worry-card {
    transform: translateY(16px);
  }
  body.page-template-page-ads .worry-card__check {
    width: 32px;
    height: 32px;
  }

  /* Figmaの動画カード：159×283、白枠6px、角丸24px */
  body.page-template-page-ads .video-thumb {
    flex-basis: 159px;
    width: 159px;
    height: 283px;
    aspect-ratio: auto;
    border: 6px solid #fff;
    border-radius: 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
  }
  body.page-template-page-ads .video-carousel__arrow {
    width: 40px;
    height: 40px;
  }

  /* Figma：SPのFVダウンロードボタンは白地／青文字／青い矢印円 */
  body.page-template-page-video .lp-hero__cta .btn-dl,
  body.page-template-page-ads .lp-hero__cta .btn-dl {
    width: 342px;
    height: 64px;
    padding: 0 36px 0 51px;
    justify-content: space-between;
    gap: 0;
    font-size: 16px;
    line-height: 24px;
  }

  body.page-template-page-ads .lp-hero__cta .btn-dl {
    padding-left: 51px;
    padding-right: 40px;
    justify-content: space-between;
    gap: 27px;
  }

  /* 広告運用LPのFV：通常時とhover／押下時の配色を反転 */
  body.page-template-page-ads .lp-hero__cta .btn-dl {
    background: var(--button-blue);
    color: #fff;
  }
  body.page-template-page-ads .lp-hero__cta .btn-dl .circle-arrow {
    background: #fff;
    color: var(--button-blue);
  }
  body.page-template-page-ads .lp-hero__cta .btn-dl:hover,
  body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible,
  body.page-template-page-ads .lp-hero__cta .btn-dl:active {
    background: #fff;
    color: var(--button-blue);
  }
  body.page-template-page-ads .lp-hero__cta .btn-dl:hover .circle-arrow,
  body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible .circle-arrow,
  body.page-template-page-ads .lp-hero__cta .btn-dl:active .circle-arrow {
    background: var(--button-blue);
    color: #fff;
  }

  /* Figma：広告運用LPのお悩み見出し */
  body.page-template-page-ads .lp-worry__tag {
    height: 41px;
    font-size: 15px;
    line-height: 22.5px;
    letter-spacing: .6px;
  }
}

/* ==========================================================
   ショート動画LP：SP 390pxフレーム基準の仕上げ
   FigmaのSPフレーム内に収め、制作フローはカード間の下矢印で接続
========================================================== */
@media (max-width: 768px) {
  body.page-template-page-video,
  body.page-template-page-ads {
    background: #eeeeee;
  }

  body.page-template-page-video .header,
  body.page-template-page-video main,
  body.page-template-page-video .footer,
  body.page-template-page-ads .header,
  body.page-template-page-ads main,
  body.page-template-page-ads .footer {
    width: 390px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  body.page-template-page-video main,
  body.page-template-page-ads main {
    overflow: hidden;
  }

  body.page-template-page-video .lp-flow {
    height: 944px;
    padding: 0;
    overflow: hidden;
  }

  body.page-template-page-video .lp-flow__inner {
    width: 390px;
    max-width: none;
    height: 944px;
    padding: 0;
  }

  body.page-template-page-video .lp-flow .heading {
    position: absolute;
    top: 32px;
    left: 24px;
    width: 342px;
    margin: 0;
  }

  body.page-template-page-video .lp-flow .flow-row.flow-row--six {
    position: absolute;
    top: 112px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 342px;
    height: auto;
    margin: 0;
    padding: 0;
  }

  body.page-template-page-video .lp-flow .flow-card,
  body.page-template-page-video .lp-flow .flow-row--six .flow-card {
    position: relative;
    flex: 0 0 112px;
    width: 342px;
    height: 112px;
    box-sizing: border-box;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  body.page-template-page-video .lp-flow .flow-card__step {
    top: 16px;
    padding: 1px 18px;
    font-size: 16px;
    line-height: 24px;
  }

  body.page-template-page-video .lp-flow .flow-card__ico {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 16px 0 0;
  }

  body.page-template-page-video .lp-flow .flow-card__label {
    max-width: 230px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }

  body.page-template-page-video .lp-flow .flow-card:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    right: auto;
    bottom: auto;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 0;
    border-right: 3px solid #777;
    border-bottom: 3px solid #777;
    border-left: 0;
    transform: translateX(-50%) rotate(45deg);
  }
}

/* 広告運用LPのFVボタン：通常時とhover／押下時の配色を反転（PC・SP共通） */
body.page-template-page-ads .lp-hero__cta .btn-dl {
  background: var(--button-blue);
  color: #fff;
}

body.page-template-page-ads .lp-hero__cta .btn-dl .circle-arrow {
  background: #fff;
  color: var(--button-blue);
}

body.page-template-page-ads .lp-hero__cta .btn-dl:hover,
body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible,
body.page-template-page-ads .lp-hero__cta .btn-dl:active {
  background: #fff;
  color: var(--button-blue);
}

body.page-template-page-ads .lp-hero__cta .btn-dl:hover .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl:focus-visible .circle-arrow,
body.page-template-page-ads .lp-hero__cta .btn-dl:active .circle-arrow {
  background: var(--button-blue);
  color: #fff;
}

/* 広告運用LP：指定素材・中央揃え・FAQの自然な開閉 */
body.page-template-page-ads .price-card__ico img {
  display: block;
  width: 100%;
  height: auto;
}

body.page-template-page-ads .lp-intro__text {
  text-align: center;
}

body.page-template-page-ads .contact-page__info .heading__bar {
  margin-right: auto;
  margin-left: auto;
}

/* ショート動画LP：比較セクションと「制作の流れ」の間に余白を追加 */
@media (max-width: 768px) {
  body.page-template-page-video .lp-compare {
    height: 804px;
  }
}

body.page-template-page-ads .lp-faq {
  height: auto;
  min-height: 884px;
  overflow: visible;
}

@media (max-width: 768px) {
  body.page-template-page-ads .footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.page-template-page-ads .contact-page__info .heading__bar {
    margin-right: auto;
    margin-left: auto;
  }

  /* FAQ：固定配置を解除し、Aが開いた分だけ次のQと背景を下へ送る */
  body.page-template-page-ads .lp-faq {
    height: auto !important;
    min-height: 798px;
    padding: 0 0 38px;
    overflow: visible;
  }
  body.page-template-page-ads .lp-faq__inner {
    height: auto !important;
    min-height: 798px;
    padding: 0;
  }
  body.page-template-page-ads .lp-faq .heading {
    position: relative;
    top: auto;
    left: auto;
    width: 342px;
    height: auto !important;
    min-height: 52px;
    margin: 0 auto;
    padding-top: 36px;
  }
  body.page-template-page-ads .lp-faq .faq-list {
    position: relative;
    top: auto;
    left: auto;
    width: 342px;
    height: auto !important;
    margin: 24px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  body.page-template-page-ads .lp-faq .faq-item,
  body.page-template-page-ads .lp-faq .faq-item:nth-child(1),
  body.page-template-page-ads .lp-faq .faq-item:nth-child(2),
  body.page-template-page-ads .lp-faq .faq-item:nth-child(3),
  body.page-template-page-ads .lp-faq .faq-item:nth-child(4),
  body.page-template-page-ads .lp-faq .faq-item:nth-child(5) {
    position: relative;
    top: auto !important;
    left: auto;
    width: 342px;
    height: auto !important;
    min-height: 94px;
    margin: 0;
    overflow: visible;
  }
  body.page-template-page-ads .lp-faq .faq-item summary,
  body.page-template-page-ads .lp-faq .faq-item:first-child summary {
    height: auto !important;
    min-height: 94px;
    box-sizing: border-box;
    padding: 19px 50px 19px 16px;
    font-size: 16px;
    line-height: 28px;
  }
  body.page-template-page-ads .lp-faq .faq-a,
  body.page-template-page-ads .lp-faq .faq-item:first-child .faq-a {
    height: auto !important;
    min-height: 108px;
    box-sizing: border-box;
    margin: 0 16px;
    padding: 10px 0 12px;
    gap: 10px;
  }
  body.page-template-page-ads .lp-faq .faq-a p {
    flex: 1 1 auto;
    width: auto;
    padding-top: 6px;
    font-size: 14px;
    line-height: 25.2px;
  }
}

/* 動画カルーセル：SPでも表示窓は固定し、トラックだけを移動 */
@media (max-width: 768px) {
  body.page-template-page-ads .video-carousel__viewport {
    width: calc(100% + 22px);
    height: 277px;
    overflow: hidden;
  }

  body.page-template-page-ads .video-carousel__track {
    width: max-content;
    min-width: 0;
    height: 277px;
    overflow: visible !important;
  }
}

/* 最終上書き：TOPのお問い合わせCTAを支給素材に統一 */
.top-contact-layout__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 2080 / 780;
  line-height: 0;
}

.top-contact-layout__canvas > .top-contact-layout__cards {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.top-contact-layout__old-button-cover {
  position: absolute;
  z-index: 1;
  display: block;
  background: #fff;
  pointer-events: none;
}

.top-contact-layout__old-button-cover--form {
  top: 59%;
  left: 6.5%;
  width: 36.5%;
  height: 26%;
  border-radius: 24px;
}

.top-contact-layout__old-button-cover--line {
  top: 61.5%;
  left: 56%;
  width: 38%;
  height: 23.5%;
  border-radius: 24px;
}

.top-contact-layout__action {
  top: 63.3%;
  height: auto;
  overflow: visible;
  border-radius: 0;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.top-contact-layout__action--form {
  left: 8.45%;
  width: 32.7%;
}

.top-contact-layout__action--line {
  top: 62.05%;
  left: 57.9%;
  width: 34.6%;
}

.top-contact-layout__button-image {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .15s ease;
}

.top-contact-layout__hover-label {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 14px;
  background: #fff;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.top-contact-layout__hover-label svg {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.top-contact-layout__action:hover .top-contact-layout__button-image,
.top-contact-layout__action:focus-visible .top-contact-layout__button-image {
  opacity: 0;
}

.top-contact-layout__action:hover .top-contact-layout__hover-label,
.top-contact-layout__action:focus-visible .top-contact-layout__hover-label {
  display: flex;
}

.top-contact-layout__action--form:hover,
.top-contact-layout__action--form:focus-visible {
  color: #ef951c;
  background: #fff;
  border: 2px solid #ef951c;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(185, 126, 38, .18);
}

.top-contact-layout__action--line:hover,
.top-contact-layout__action--line:focus-visible {
  color: #00aa46;
  background: #fff;
  border: 2px solid #00aa46;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(0, 170, 70, .18);
}

.contact--top-assets .contact-cta-asset__button {
  top: 61.2%;
  left: 14.5%;
  width: 71%;
  height: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.contact--top-assets .contact-cta-asset__button::after {
  display: none;
}

.contact--top-assets .contact-cta-asset__button-image {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .15s ease;
}

.contact--top-assets .contact-cta-asset__hover-label {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 11px;
  background: #fff;
  font-size: clamp(12px, 3.7vw, 16px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.contact--top-assets .contact-cta-asset__hover-label svg {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.contact--top-assets .contact-cta-asset:hover .contact-cta-asset__button-image,
.contact--top-assets .contact-cta-asset:focus-visible .contact-cta-asset__button-image {
  opacity: 0;
}

.contact--top-assets .contact-cta-asset:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset:focus-visible .contact-cta-asset__hover-label {
  display: flex;
}

.contact--top-assets .contact-cta-asset--form:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset--form:focus-visible .contact-cta-asset__hover-label {
  color: #ef951c;
}

.contact--top-assets .contact-cta-asset--line:hover .contact-cta-asset__hover-label,
.contact--top-assets .contact-cta-asset--line:focus-visible .contact-cta-asset__hover-label {
  color: #00aa46;
}
