/* 広告LP（テスト代行） page-lp-test.php 用
   配色・ボタン・見出しは、サービスサイトのトップ（css/top-page.css）に合わせている */
.tlp {
  --tlp-blue: #338df4;
  --tlp-blue-dark: #2670b7;
  --tlp-navy: #13305e;
  --tlp-blue-soft: #eaf3fe;
  --tlp-orange: #ff6b35;
  --tlp-orange-dark: #d9541f;
  --tlp-yellow: #ffe066;
  --tlp-text: #1f2937;
  --tlp-body: #374151;
  --tlp-muted: #374151;
  --tlp-line: #e3e8ef;
  --tlp-bg: #f5f8fc;
  --tlp-radius: 16px;
  --tlp-shadow: 0 6px 24px rgba(19, 48, 94, .08);
  --tlp-shadow-lg: 0 14px 40px rgba(19, 48, 94, .14);
  color: var(--tlp-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  /* SWELLの本文枠（l-container）から出して、背景を画面幅いっぱいに広げる */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}
html:has(.tlp) { overflow-x: hidden; }
#content:has(.tlp) { padding-top: 0; margin-top: 0; }

/* LPでは他ページへの導線を出さない（パンくず・グローバルナビ・フッターのサイトマップ） */
body:has(.tlp) .p-breadcrumb,
body:has(.tlp) .l-header__gnav,
body:has(.tlp) .l-fixHeader__gnav,
body:has(.tlp) .l-header__menuBtn,
body:has(.tlp) .l-header__customBtn,
body:has(.tlp) .l-footer__widgetArea { display: none !important; }
body:has(.tlp) .header-cta-wrap { margin-left: auto; }

.tlp *, .tlp *::before, .tlp *::after { box-sizing: border-box; }
.tlp h1, .tlp h2, .tlp h3 { color: var(--tlp-text); margin: 0; letter-spacing: .02em; }
/* :where で優先度を0にして、各部品の余白指定が勝つようにする */
.tlp :where(p, ul, ol) { margin: 0; padding: 0; }
.tlp :where(li) { list-style: none; }
.tlp img { display: block; max-width: 100%; height: auto; }
.tlp a { text-decoration: none !important; }
.tlp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.tlp-wrap--narrow { max-width: 800px; }
.tlp-sec { padding: 96px 0; }
.tlp-mark { background: linear-gradient(transparent 62%, var(--tlp-yellow) 62%); }

/* 見出し */
.tlp-head { text-align: center; margin-bottom: 48px; }
.tlp-eyebrow {
  display: inline-block; margin-bottom: 14px !important;
  padding: 4px 18px; border-radius: 999px;
  background: var(--tlp-blue-soft); color: var(--tlp-blue);
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.tlp-h2 { font-size: 34px; font-weight: 800; line-height: 1.45; }
.tlp-sub { margin-top: 14px !important; color: var(--tlp-muted); }

/* ボタン（トップページと同じ、上に小さな補足が付く丸いボタン） */
.tlp-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 320px; padding: 18px 40px; border-radius: 999px;
  font-weight: 700; line-height: 1.4; transition: transform .2s, box-shadow .2s;
}
.tlp-btn:hover { transform: translateY(-2px); opacity: 1; }
.tlp-btn__sub { font-size: 12px; font-weight: 500; opacity: .95; }
.tlp-btn__main { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.tlp-btn__main .fa-arrow-right { font-size: 15px; }
.tlp-btn--main {
  background: linear-gradient(135deg, #ff8a50 0%, var(--tlp-orange) 55%, #f25a22 100%);
  color: #fff !important;
  box-shadow: 0 5px 0 var(--tlp-orange-dark), 0 12px 24px rgba(255, 107, 53, .3);
}
.tlp-btn--main:hover { box-shadow: 0 7px 0 var(--tlp-orange-dark), 0 16px 28px rgba(255, 107, 53, .35); }
.tlp-btn--line {
  background: #fff; color: var(--tlp-blue) !important;
  border: 2px solid var(--tlp-blue);
  box-shadow: 0 8px 20px rgba(51, 141, 244, .15);
}
.tlp-btn--line .tlp-btn__sub { color: var(--tlp-muted); }

/* ファーストビュー */
.tlp-fv {
  position: relative; padding: 64px 0 88px;
  background:
    radial-gradient(circle at 85% 15%, rgba(51, 141, 244, .16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 224, 102, .18), transparent 40%),
    linear-gradient(180deg, #f3f8ff 0%, #e7f0fc 100%);
}
.tlp-fv__inner {
  max-width: 1120px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.tlp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--tlp-navy); color: var(--tlp-navy);
  font-size: 14px; font-weight: 700;
}
.tlp-fv__title { margin-top: 20px !important; font-size: 50px; font-weight: 900; line-height: 1.32; color: var(--tlp-navy) !important; }
.tlp-fv__em { color: var(--tlp-blue); font-size: 1.12em; }
.tlp-fv__desc { margin-top: 22px !important; font-size: 17px; }
.tlp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px !important; }
.tlp-facts li {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 8px; border-radius: 12px; background: #fff;
  border: 1px solid var(--tlp-line); box-shadow: var(--tlp-shadow);
}
.tlp-facts__num { font-size: 30px; font-weight: 900; line-height: 1.2; color: var(--tlp-blue); font-family: "Montserrat", "Hiragino Sans", sans-serif; }
.tlp-facts__num small { font-size: 13px; margin-left: 2px; }
.tlp-facts__num--text { font-size: 22px; padding: 4px 0; }
.tlp-facts__label { font-size: 15px; font-weight: 700; color: var(--tlp-text); }
.tlp-fv__cta { display: flex; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.tlp-fv__cta .tlp-btn { min-width: 0; padding: 18px 40px; }
.tlp-telbox { display: flex; align-items: center; gap: 12px; color: var(--tlp-navy) !important; line-height: 1.35; }
.tlp-telbox > i {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tlp-navy); color: #fff; font-size: 18px;
}
.tlp-telbox span { display: flex; flex-direction: column; }
.tlp-telbox strong { font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.tlp-telbox small { font-size: 14px; color: var(--tlp-body); }
.tlp-fv__photo { position: relative; }
.tlp-fv__photo > img:first-child { border-radius: 20px; box-shadow: var(--tlp-shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.tlp-fv__award { position: absolute; right: -14px; bottom: -28px; width: 120px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .2)); }

/* 受賞 */
.tlp-award { padding: 56px 0 0; background: #fff; }
.tlp-award__box {
  display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: center;
  max-width: 960px; margin: 0 auto; padding: 32px 44px; border-radius: 20px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff4dc 100%);
  border: 1.5px solid #e9c46a; box-shadow: var(--tlp-shadow);
}
.tlp-award__logo { width: 100%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .15)); }
.tlp-award .tlp-eyebrow { background: #fff; color: #b7791f; border: 1px solid #e9c46a; }
.tlp-award__title { font-size: 24px; font-weight: 800; line-height: 1.55; color: var(--tlp-navy) !important; }
.tlp-award__desc { margin-top: 12px !important; font-size: 16px; color: var(--tlp-body); }
.tlp-award__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--tlp-blue) !important; }

/* こんなときに */
.tlp-worry { background: #fff; }
.tlp-worry__body { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 920px; margin: 0 auto; }
.tlp-worry__photo img { border-radius: var(--tlp-radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--tlp-shadow); }
.tlp-worry__list { display: grid; gap: 14px; }
.tlp-worry__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; border-radius: 12px;
  background: var(--tlp-bg); border-left: 4px solid var(--tlp-blue);
  font-size: 17px; font-weight: 700; color: var(--tlp-text);
}
.tlp-worry__list i { color: var(--tlp-blue); font-size: 20px; flex-shrink: 0; }
.tlp-worry__answer { margin-top: 48px; text-align: center; }
.tlp-worry__answer > i { display: block; color: var(--tlp-blue); font-size: 28px; }
.tlp-worry__answer p {
  margin-top: 16px !important; display: inline-block;
  padding: 24px 40px; border-radius: var(--tlp-radius);
  background: linear-gradient(135deg, var(--tlp-navy), #1d4f9c);
  color: #fff; font-size: 20px; font-weight: 700; line-height: 1.7;
  box-shadow: var(--tlp-shadow-lg);
}
.tlp-worry__answer strong { color: var(--tlp-yellow); }
.tlp-worry__answer .tlp-mark { background: linear-gradient(transparent 70%, rgba(255, 224, 102, .55) 70%); }

/* できること */
.tlp-scope { background: var(--tlp-bg); }
.tlp-scope__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tlp-scope__item {
  padding: 32px 24px; border-radius: var(--tlp-radius); background: #fff;
  box-shadow: var(--tlp-shadow); border: 1px solid var(--tlp-line);
  transition: transform .2s, box-shadow .2s;
}
.tlp-scope__item:hover { transform: translateY(-4px); box-shadow: var(--tlp-shadow-lg); }
.tlp-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tlp-blue-soft); color: var(--tlp-blue); font-size: 24px; margin-bottom: 18px;
}
.tlp-scope__item h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.tlp-scope__item p { font-size: 14.5px; line-height: 1.75; }
.tlp-scope__note {
  margin: 36px auto 0 !important; max-width: 760px;
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 16px 24px; border-radius: 999px; background: #fff; border: 1px dashed var(--tlp-blue);
  font-weight: 700; color: var(--tlp-text); font-size: 15px;
}
.tlp-scope__note i { color: var(--tlp-blue); }

/* 料金 */
.tlp-price { background: #fff; }
.tlp-price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.tlp-plan {
  text-align: center; padding: 36px 20px 32px; border-radius: var(--tlp-radius);
  background: #fff; border: 1px solid var(--tlp-line); box-shadow: var(--tlp-shadow);
  position: relative; overflow: hidden;
}
.tlp-plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--tlp-blue), #6fb1ff); }
.tlp-plan__name { font-size: 18px; font-weight: 800; color: var(--tlp-navy); }
.tlp-plan__price { margin-top: 10px !important; font-size: 18px; font-weight: 700; color: var(--tlp-text); }
.tlp-plan__price strong { font-size: 64px; line-height: 1.1; color: var(--tlp-blue); font-family: "Montserrat", "Hiragino Sans", sans-serif; margin-right: 2px; }
.tlp-plan__hours {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px !important;
  padding: 5px 16px; border-radius: 999px; background: var(--tlp-blue-soft);
  color: var(--tlp-blue-dark); font-size: 14px; font-weight: 700;
}
.tlp-price__note {
  max-width: 960px; margin: 32px auto 0; padding: 20px 28px; border-radius: 12px;
  background: var(--tlp-bg); font-size: 14px; color: var(--tlp-body);
}
.tlp-price__note p::before { content: "※"; color: var(--tlp-blue); margin-right: 4px; }

/* 途中のCTA */
.tlp-cta {
  padding: 64px 0; text-align: center;
  background: linear-gradient(135deg, #e9f2fe 0%, #d9e8fb 100%);
}
.tlp-cta__title { font-size: 24px; font-weight: 800; line-height: 1.6; color: var(--tlp-navy) !important; }
.tlp-cta__btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* 事例 */
.tlp-cases { background: var(--tlp-bg); }
.tlp-cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tlp-case {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--tlp-radius); background: #fff; color: var(--tlp-body) !important;
  box-shadow: var(--tlp-shadow); transition: transform .2s, box-shadow .2s;
}
.tlp-case:hover { transform: translateY(-4px); box-shadow: var(--tlp-shadow-lg); opacity: 1; }
.tlp-case__img { overflow: hidden; aspect-ratio: 16 / 9; }
.tlp-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tlp-case:hover .tlp-case__img img { transform: scale(1.04); }
.tlp-case__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tlp-case__label {
  align-self: flex-start; padding: 2px 12px; border-radius: 999px;
  background: var(--tlp-blue-soft); color: var(--tlp-blue); font-size: 12px; font-weight: 700;
}
.tlp-case h3 { margin-top: 12px !important; font-size: 17px; font-weight: 800; line-height: 1.55; }
.tlp-case__body > p:not(.tlp-case__label) { margin-top: 10px !important; font-size: 14px; line-height: 1.75; flex: 1; }
.tlp-case__more { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--tlp-blue); display: inline-flex; align-items: center; gap: 6px; }

/* 進め方 */
.tlp-flow { background: #fff; }
.tlp-flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.tlp-step { position: relative; border-radius: var(--tlp-radius); background: #fff; border: 1px solid var(--tlp-line); box-shadow: var(--tlp-shadow); }
.tlp-step:not(:last-child)::after {
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -21px; top: 38%; color: var(--tlp-blue); font-size: 16px;
}
.tlp-step__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--tlp-radius) var(--tlp-radius) 0 0; }
.tlp-step__img img { width: 100%; height: 100%; object-fit: cover; }
.tlp-step__body { padding: 18px 20px 24px; }
.tlp-step__num {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  background: var(--tlp-blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em;
}
.tlp-step h3 { margin-top: 10px !important; font-size: 18px; font-weight: 800; }
.tlp-step p { margin-top: 8px !important; font-size: 14px; line-height: 1.75; }

/* フォーム */
.tlp-form { background: linear-gradient(180deg, #f3f8ff 0%, #e7f0fc 100%); }
.tlp-form__box { padding: 40px 44px; border-radius: 20px; background: #fff; box-shadow: var(--tlp-shadow-lg); }
.tlp-form__note { margin-top: 12px !important; font-size: 13px; color: var(--tlp-body); text-align: center; }
.tlp-form__tel { margin-top: 32px; text-align: center; }
.tlp-form__tel p { font-weight: 700; color: var(--tlp-navy); }
.tlp-form__tel a { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 32px; font-weight: 900; color: var(--tlp-navy) !important; }
.tlp-form__tel a i { font-size: 24px; color: var(--tlp-blue); }
.tlp-form__tel small { display: block; font-size: 14px; color: var(--tlp-body); }
.tlp-company { margin-top: 28px !important; text-align: center; font-size: 14px; color: var(--tlp-body); }

/* スマホ用の追従ボタン */
.tlp-sticky { display: none; }
.pc-only { display: inline; }

@media (max-width: 1024px) {
  .tlp-scope__grid { grid-template-columns: repeat(2, 1fr); }
  .tlp-flow__list { grid-template-columns: repeat(2, 1fr); }
  .tlp-step::after { display: none; }
}

@media (max-width: 767px) {
  .tlp { font-size: 15px; padding-bottom: 72px; }
  .pc-only { display: none; }
  .tlp-sec { padding: 64px 0; }
  .tlp-head { margin-bottom: 32px; }
  .tlp-h2 { font-size: 25px; }
  .tlp-fv { padding: 32px 0 56px; }
  .tlp-fv__inner { grid-template-columns: 1fr; gap: 28px; }
  .tlp-fv__photo { order: -1; }
  .tlp-fv__award { width: 84px; right: -6px; bottom: -20px; }
  .tlp-badge { font-size: 12px; padding: 5px 14px; }
  .tlp-fv__title { font-size: 32px; margin-top: 14px !important; }
  .tlp-fv__desc { font-size: 15px; }
  .tlp-facts { gap: 8px; }
  .tlp-facts__num { font-size: 24px; }
  .tlp-facts__num--text { font-size: 17px; }
  .tlp-facts__label { font-size: 13px; }
  .tlp-fv__cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .tlp-fv__cta .tlp-btn, .tlp-btn { width: 100%; min-width: 0; }
  .tlp-btn__main { font-size: 18px; }
  .tlp-telbox { justify-content: center; }
  .tlp-award { padding-top: 40px; }
  .tlp-award__box { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; text-align: center; }
  .tlp-award__logo { width: 120px; margin: 0 auto; }
  .tlp-award__title { font-size: 18px; }
  .tlp-award__desc { font-size: 15px; text-align: left; }
  .tlp-worry__body { grid-template-columns: 1fr; gap: 24px; }
  .tlp-worry__photo { display: none; }
  .tlp-worry__list li { padding: 16px 18px; font-size: 15px; }
  .tlp-worry__answer p { padding: 20px; font-size: 16px; }
  .tlp-scope__grid { grid-template-columns: 1fr; gap: 14px; }
  .tlp-scope__item { padding: 22px 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .tlp-scope__item .tlp-icon { width: 48px; height: 48px; font-size: 20px; margin: 0; grid-row: span 2; }
  .tlp-scope__item h3 { margin-bottom: 4px; }
  .tlp-scope__note { border-radius: 12px; font-size: 14px; text-align: left; }
  .tlp-price__grid { grid-template-columns: 1fr; gap: 14px; }
  .tlp-plan { padding: 26px 20px 22px; }
  .tlp-plan__price strong { font-size: 52px; }
  .tlp-cta { padding: 48px 0; }
  .tlp-cta__title { font-size: 18px; }
  .tlp-cases__grid { grid-template-columns: 1fr; }
  .tlp-flow__list { grid-template-columns: 1fr; gap: 16px; }
  .tlp-step { display: grid; grid-template-columns: 110px 1fr; overflow: hidden; }
  .tlp-step__img { aspect-ratio: auto; height: 100%; border-radius: 0; }
  .tlp-step__body { padding: 14px 16px; }
  .tlp-form__box { padding: 24px 18px; }
  .tlp-form__tel a { font-size: 26px; }
  body:has(.tlp) .p-fixBtnWrap { bottom: 84px !important; }
  .tlp-sticky {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
  }
  .tlp-sticky a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: 999px; font-weight: 800; font-size: 16px;
  }
  .tlp-sticky__main { flex: 1; color: #fff !important; background: linear-gradient(135deg, #ff8a50, var(--tlp-orange)); box-shadow: 0 3px 0 var(--tlp-orange-dark); }
  .tlp-sticky__tel { width: 96px; color: var(--tlp-blue) !important; background: #fff; border: 2px solid var(--tlp-blue); }
}
