:root {
  --main: #1f5fe0;
  --navy: #0a2a66;
  --bg: #f5f8fe;
  --line: #d9e4f5;
  --sub: #3a465d;
  --ink: #1b2a41;
  --ph: #7f96be;
  --w: 1306px;
  --r: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 1.1s;
  --dur-s: 0.5s;
}

@media screen and (min-width: 1024px) {
    .content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin: 0 auto;
        width: 100% !important;
        max-width: 1920px !important;
        gap: 30px;
    }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* レイアウト・共通セクション */
.inner {
  width: min(var(--w), 100% - 48px);
  margin-inline: auto;
}

.sec {
  padding: 88px 0;
}

.sec--bg {
  background: var(--bg);
}

.sec > .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ボタンパーツ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 64px;
  padding: 0 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  transition: opacity var(--dur-s) var(--ease);
}

.btn:hover {
  opacity: 0.88;
}

.btn--w {
  background: #fff;
  color: var(--main);
  box-shadow: 0 8px 24px rgba(10, 42, 102, 0.25);
}

.btn--p {
  background: var(--main);
  color: #fff;
}

.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 3px;
}

.btn--pill {
  min-width: 420px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(31, 95, 224, 0.3);
}

/* CTA矢印アニメーション */
.arrow-down {
  position: relative;
  top: -3px;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  animation: arrow-bounce 1.6s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

/* FV (メインビジュアル) */
.fv {
  position: relative;
  overflow: hidden;
  height: 720px;
  background: url("../../img/oem-lp/main_2.webp") center 90% / cover no-repeat, #eaf2ff;
  color: var(--ink);
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.45) 40%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

.fv .inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.fv-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.tag {
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(31, 95, 224, 0.1);
  color: var(--main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.fv h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

.fv-sub {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--ink);
  max-width: 560px;
}

.chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chips li {
  padding: 8px 18px;
  border: 1px solid rgba(31, 95, 224, 0.7);
  background: rgba(255, 255, 255, 1);
  color: var(--main);
  border-radius: 99px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

/* 見出しスタイル */
.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--main);
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--main);
}

.eyebrow--w {
  color: #fff;
}

.eyebrow--w::before,
.eyebrow--w::after {
  background: #fff;
}

.head h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.lead {
  max-width: 900px;
  font-size: 16px;
  color: var(--sub);
  line-height: 1.8;
}

/* 無料CTAパーツ */
.free-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.free-cta__t {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--main);
}

.free-cta__t::before,
.free-cta__t::after {
  content: "";
  width: 2px;
  height: 30px;
  border-radius: 2px;
  background: var(--main);
  transform: rotate(-30deg);
}

.free-cta__t::after {
  transform: rotate(30deg);
}

.free-cta--w .free-cta__t {
  color: #fff;
}

.free-cta--w .free-cta__t::before,
.free-cta--w .free-cta__t::after {
  background: #fff;
}

/* お悩みセクション */
#problem {
  position: relative;
  z-index: 1;
}

#problem::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 32px 44px 0;
  border-color: var(--bg) transparent transparent;
}

.mutter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px 40px;
  margin-bottom: -3px;
}

.mutter li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  aspect-ratio: 800 / 550;
  padding: 0 34px;
  background: url("../../img/oem-lp/bubble-think-dots_2.svg") center / 100% 100% no-repeat;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.mutter li::before,
.mutter li::after {
  content: "";
  position: absolute;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 50%;
}

.mutter li::before {
  bottom: -14px;
  width: 18px;
  height: 12px;
}

.mutter li::after {
  bottom: -31px;
  width: 11px;
  height: 8px;
}

.mutter li:nth-child(1)::before { left: 62%; }
.mutter li:nth-child(1)::after { left: 73%; }
.mutter li:nth-child(2)::before { left: 49%; }
.mutter li:nth-child(2)::after { left: 46%; }
.mutter li:nth-child(3)::before { left: 38%; }
.mutter li:nth-child(3)::after { left: 27%; }

.mutter li:nth-child(1) { transform: translateY(4px); }
.mutter li:nth-child(2) { transform: translateY(-12px); }
.mutter li:nth-child(3) { transform: translateY(8px); }

.bubbles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  width: 100%;
}

.bubble-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.bubble {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  width: 100%;
  min-height: 64px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(10, 42, 102, 0.08);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  text-align: center;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.avatar {
  display: block;
  width: 165px;
  height: 130px;
  object-fit: contain;
  object-position: center top;
}

/* グリッド・カードレイアウト */
.grid {
  display: grid;
  gap: 24px;
  width: 100%;
}

.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-b {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  align-items: center;
}

.card-b h3 {
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  text-align: center;
}

.card-b p {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.75;
}

.key {
  color: var(--main);
}

/* カテゴリーカード */
.cat p {
  padding: 20px 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* カスタムオーダー (紺背景) */
.sec--solid {
  background: var(--navy);
  color: #fff;
}

.custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.custom .eyebrow {
  margin-bottom: -10px;
}

.custom h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.custom-p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
}

/* サポートセクション */
.cans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
}

.can {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(10, 42, 102, 0.08);
}

.can:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 78px;
  right: -28px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--main);
  border-right: 3px solid var(--main);
  transform: rotate(45deg);
}

.can-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 24px;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
}

.can-en {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--main);
}

.can-head h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.can > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.can-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 32px;
}

.can-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}

.can-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(31, 95, 224, 0.12);
}

.can-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 5px;
  height: 10px;
  border-right: 2.5px solid var(--main);
  border-bottom: 2.5px solid var(--main);
  transform: rotate(45deg);
}

/* オンライン相談 */
.online {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 72px 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

/* 流れ (フロー) */
.flow {
  --gap: 44px;
  --bx: 76px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: min(1000px, 100%);
}

.flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 8px 20px rgba(10, 42, 102, 0.05);
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: var(--bx);
  top: 100%;
  height: calc(var(--gap) - 9px);
  border-left: 3px dotted rgba(31, 95, 224, 0.55);
  transform: translateX(-1.5px);
}

.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: var(--bx);
  top: calc(100% + var(--gap) - 9px);
  border-style: solid;
  border-width: 9px 6px 0;
  border-color: var(--main) transparent transparent;
  transform: translateX(-6px);
}

.badge {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 88px;
  height: 72px;
  border-radius: 12px;
  background: var(--main);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.badge small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.flow p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--sub);
  line-height: 1.7;
}

/* FAQ (アコーディオン) */
.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(1100px, 100%);
}

.faq details {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--dur-s) var(--ease);
}

.faq details[open] {
  border-color: var(--main);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.q,
.a {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.q {
  background: var(--main);
  color: #fff;
}

.a {
  background: #fff;
  border: 1px solid var(--main);
  color: var(--main);
}

.faq summary span {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

.ic {
  flex: none;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}

.ic::before,
.ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--main);
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}

.ic::after {
  transform: rotate(90deg);
}

details[open] .ic {
  background: var(--main);
  border-color: var(--main);
}

details[open] .ic::before,
details[open] .ic::after {
  background: #fff;
}

details[open] .ic::after {
  transform: rotate(0);
}

.ans {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: 12px;
}

.ans p {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.75;
}

details[open] .ans {
  animation: fade var(--dur-s) var(--ease);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 問い合わせフォーム */
.form-card {
  width: 100%;
  max-width: 1080px;
  min-height: 1400px; /* iframeと同じ高さを事前に確保 */
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(10, 42, 102, 0.08);
}

.form-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* アニメーション用クラス */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* レスポンシブ対応 (1200px以下 / 768px以下) */
@media (max-width: 1200px) {
  .fv h1 {
    font-size: 34px;
  }

  .g4, .g5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bubbles {
    grid-template-columns: repeat(2, 1fr);
  }

  .cans {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 32px;
  }

  .can:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .sec {
    padding: 64px 0;
  }

  .sec > .inner {
    gap: 40px;
  }

  .pc {
    display: none;
  }

  .fv {
    height: auto;
    padding: 56px 0;
    background-position: 72% center;
  }

  .fv::before {
    background: rgba(255, 255, 255, 0.8);
  }

  .fv h1 {
    font-size: 28px;
  }

  .fv-copy .btn {
    width: 100%;
  }

  .head h2,
  .custom h2 {
    font-size: 22px;
  }

  .lead {
    font-size: 15px;
  }

  .g4, .sol {
    grid-template-columns: 1fr;
  }

  .g5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mutter {
    flex-direction: column;
    align-items: center;
    gap: 44px;
  }

  .mutter li:nth-child(n) {
    transform: none;
  }

  .mutter li {
    width: 210px;
    font-size: 15px;
  }

  .mutter li:nth-child(n)::before {
    left: calc(50% - 9px);
  }

  .mutter li:nth-child(n)::after {
    left: calc(50% - 5px);
  }

  .bubbles {
    grid-template-columns: 1fr;
  }

  .bubble {
    padding: 28px 20px;
    font-size: 16px;
  }

  .btn {
    padding: 0 24px;
    font-size: 16px;
    width: 100%;
  }

  .btn--pill {
    min-width: 0;
  }

  .reason .card-b h3 {
    font-size: 20px;
  }

  .online {
    padding: 48px 24px;
  }

  .flow {
    --gap: 32px;
    --bx: 60px;
  }

  .flow li {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .badge {
    width: 72px;
    height: 64px;
    font-size: 24px;
  }

  .faq details {
    padding: 20px;
  }

  .faq summary span {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .arrow-down {
    animation: none;
  }
}

.lp_breadcrumb {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}


.breadcrumb {
    width: 100%;
    overflow-x: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 5px;
}