/* =========================
   Reset / Base
   ========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

:root {
  --sab: env(safe-area-inset-bottom, 0px);

  --cta-grad: linear-gradient(180deg, #ffb347 0%, #ff8a00 100%);
  --sticky-grad: linear-gradient(180deg, #ff6b6b 0%, #e60023 100%);
  --cta-text: #fff;

  --footer-bg: #1d1d1d;

  --lp-max-width: 750px;

  --header-blue: #2f6fd6;
  --header-bg: #ffffff;
  --page-bg-pc: #d8d3cb;
  --page-bg-sp: #ffffff;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Meiryo", sans-serif;
  color: #222;
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--page-bg-pc);
  min-height: 100vh;
  padding-bottom: 96px;
}

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

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

ul {
  list-style: none;
}

strong {
  font-weight: 800;
}

/* =========================
   LP Wrapper
   ========================= */
.wrapper {
  width: min(100%, var(--lp-max-width));
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  position: relative;
}

/* =========================
   Header
   ========================= */
.tsj-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: var(--header-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.tsj-header__inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--header-bg);
}

.tsj-header__logo {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
}

.tsj-header__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

.tsj-header__tel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0 12px;
  background: #fff;
  color: var(--header-blue) !important;
  -webkit-text-fill-color: var(--header-blue) !important;
  font-weight: 700;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.tsj-header__tel:hover,
.tsj-header__tel:active,
.tsj-header__tel:visited {
  color: var(--header-blue) !important;
  -webkit-text-fill-color: var(--header-blue) !important;
  text-decoration: none !important;
}

.tsj-header__tel:hover {
  opacity: 0.9;
}

.tsj-header__tel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}

.tsj-header__tel-number {
  display: none;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================
   LP Layout
   ========================= */
.lp.lp-gazo {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.lp-section {
  width: 100%;
}

.lp-image-wrap {
  width: 100%;
  background: #fff;
  text-align: center;
}

.lp-image {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* =========================
   CTA Block
   ========================= */
.cta-block {
  width: 100%;
  padding: 20px 16px 28px;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.cta-block--last {
  background: #fff7e8;
}

.cta-lead {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: #333;
}

.cta-sub {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 9999px;
  background: var(--cta-grad);
  color: var(--cta-text) !important;
  -webkit-text-fill-color: var(--cta-text) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255, 138, 0, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover,
.cta-button:active,
.cta-button:visited {
  color: var(--cta-text) !important;
  -webkit-text-fill-color: var(--cta-text) !important;
  text-decoration: none;
}

.cta-button:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

/* =========================
   Form Section
   ========================= */
#form {
  scroll-margin-top: calc(72px + 16px + var(--sab));
}

.section--10 {
  padding: 40px 16px 56px;
  background: transparent;
}

.section--10 .b--wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.section--10 .b--contents {
  max-width: 750px;
  margin: 0 auto;
}

/* =========================
   Sticky CTA
   ========================= */
.sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(100%, var(--lp-max-width));
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 14px calc(6px + var(--sab));
  z-index: 9999;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 9999px;
  background: var(--sticky-grad);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(230, 0, 35, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sticky-cta a:hover,
.sticky-cta a:active,
.sticky-cta a:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}

.sticky-cta a:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.sticky-cta a:active {
  transform: translateY(0);
}

.sticky-cta-note {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
  color: #777;
  font-weight: 600;
}

/* =========================
   Footer
   ========================= */
.footer {
  position: relative;
  width: min(100%, var(--lp-max-width));
  margin: 0 auto;
  background: var(--footer-bg);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: none;
}

.footer .footer-inner,
.footer address {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  max-width: none !important;
}

.footer .footer-inner {
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 12px 110px !important;
}

.footer address {
  display: block;
  margin: 0;
  font-style: normal;
  line-height: 1.15 !important;
}

.footer-company,
.footer-copy {
  display: block;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #fff !important;
}

.footer-company {
  margin: 0 0 2px 0 !important;
}

.footer-company a:link,
.footer-company a:visited,
.footer-company a:hover,
.footer-company a:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}

/* =========================
   SP
   ========================= */
@media (max-width: 767px) {
  body {
    padding-bottom: 88px;
    background: var(--page-bg-sp);
  }

  .wrapper {
    width: 100%;
    max-width: 100%;
  }

  .tsj-header__logo {
    padding: 8px 10px;
  }

  .tsj-header__logo img {
    height: 42px;
  }

  .tsj-header__tel {
    min-width: 64px;
    padding: 0 12px;
    background: var(--header-blue);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  .tsj-header__tel:hover,
  .tsj-header__tel:active,
  .tsj-header__tel:visited {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  .tsj-header__tel-icon {
    font-size: 26px;
  }

  .cta-block {
    padding: 16px 14px 22px;
  }

  .cta-lead {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .cta-sub {
    font-size: 11px;
  }

  .cta-button {
    min-height: 52px;
    font-size: 16px;
    padding: 13px 16px;
  }

  .section--10 {
    padding: 32px 12px 48px;
  }

  .sticky-cta {
    width: 100%;
    padding: 8px 10px calc(6px + var(--sab));
  }

  .sticky-cta a {
    min-height: 50px;
    font-size: 15px;
    border-radius: 9999px;
  }

  .sticky-cta-note {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .footer .footer-inner {
    padding: 18px 10px 102px !important;
  }

  .footer-company,
  .footer-copy {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .tsj-header__logo img {
    height: 38px;
  }

  .tsj-header__tel {
    min-width: 58px;
    padding: 0 10px;
  }

  .tsj-header__tel-icon {
    font-size: 24px;
  }

  .footer .footer-inner {
    padding: 16px 10px 98px !important;
  }
}

/* =========================
   PC
   ========================= */
@media (min-width: 768px) {
  body {
    padding-bottom: 96px;
    background: var(--page-bg-pc);
  }

  .wrapper {
    width: min(100%, var(--lp-max-width));
    max-width: var(--lp-max-width);
    margin: 0 auto;
  }

  .tsj-header__logo {
    padding: 8px 12px;
  }

  .tsj-header__logo img {
    height: 44px;
  }

  .tsj-header__tel {
    min-width: 176px;
    padding: 0 14px;
    gap: 6px;
    background: #fff;
    color: var(--header-blue) !important;
    -webkit-text-fill-color: var(--header-blue) !important;
  }

  .tsj-header__tel:hover,
  .tsj-header__tel:active,
  .tsj-header__tel:visited {
    color: var(--header-blue) !important;
    -webkit-text-fill-color: var(--header-blue) !important;
  }

  .tsj-header__tel-icon {
    font-size: 18px;
  }

  .tsj-header__tel-number {
    display: inline;
    font-size: 18px;
    letter-spacing: 0.01em;
  }

  .section--10 {
    padding: 40px 16px 56px;
  }

  .sticky-cta {
    width: min(100%, var(--lp-max-width));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0;
    padding: 8px 14px calc(6px + var(--sab));
  }

  .sticky-cta a {
    min-height: 56px;
    font-size: 17px;
    border-radius: 9999px;
  }

  .sticky-cta-note {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.35;
  }

  .footer {
    width: min(100%, var(--lp-max-width));
  }

  .footer .footer-inner {
    padding: 20px 12px 110px !important;
  }
}