/* LP style shell for legal pages */
body.tpl-aircon-legal .header,
body.tpl-aircon-legal .sp-bottom-nav,
body.tpl-aircon-legal .sp-menu-drawer,
body.tpl-aircon-legal .page-top-btn,
body.tpl-aircon-legal .footer {
  display: none !important;
}

body.tpl-aircon-legal main {
  padding: 0 !important;
}

#lp-aircon-independence.lp-aircon--legal {
  min-height: 100vh;
  background: #f3f7fb;
  color: #102229;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

#lp-aircon-independence.lp-aircon--legal *,
#lp-aircon-independence.lp-aircon--legal *::before,
#lp-aircon-independence.lp-aircon--legal *::after {
  box-sizing: border-box;
}

#lp-aircon-independence.lp-aircon--legal .lp-container,
#lp-aircon-independence.lp-aircon--legal .legal-page__container {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0 16px;
}

#lp-aircon-independence.lp-aircon--legal .lp-local-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #d7e2dd;
  backdrop-filter: blur(8px);
}

#lp-aircon-independence.lp-aircon--legal .lp-local-header--overlay {
  position: sticky;
  top: 0;
  left: auto;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  backdrop-filter: blur(8px);
}

#lp-aircon-independence.lp-aircon--legal .lp-local-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}

#lp-aircon-independence.lp-aircon--legal .lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1.2;
}

#lp-aircon-independence.lp-aircon--legal .lp-brand .custom-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

#lp-aircon-independence.lp-aircon--legal .lp-brand__name {
  font-size: 16px;
  font-weight: 800;
  color: #102229;
  letter-spacing: 0.02em;
}

.legal-page {
  background: transparent;
  color: #102229;
}

.legal-page .legal-page__section {
  padding: 28px 0 36px;
}

.legal-page .legal-page__title-band {
  background: #326eaf;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(21, 63, 109, 0.2);
}

.legal-page .legal-page__title {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.3;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.legal-page p,
.legal-page li,
.legal-page dd,
.legal-page dt {
  font-size: 15px;
  line-height: 1.9;
}

.legal-page p {
  margin: 0;
}

.legal-page p + p,
.legal-page p + ul,
.legal-page ul + p,
.legal-page ul + ul,
.legal-page p + ol,
.legal-page ol + p,
.legal-page ol + ul,
.legal-page dl + p {
  margin-top: 10px;
}

.legal-page h2 {
  margin: 24px 0 10px;
  font-size: clamp(20px, 4.5vw, 25px);
  line-height: 1.45;
  font-weight: 800;
  color: #2a5e95;
}

.legal-page ul,
.legal-page ol {
  margin: 0;
  padding-left: 1.5em;
  display: grid;
  gap: 8px;
}

.legal-page ul ul,
.legal-page ol ul {
  margin-top: 8px;
}

.legal-page .legal-page__ordered {
  padding-left: 1.4em;
}

.legal-page .legal-page__table {
  margin: 10px 0 0;
  padding: 0 14px;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
  background: #ffffff;
}

.legal-page .legal-page__table-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 34, 41, 0.08);
}

.legal-page .legal-page__table-row:last-child {
  border-bottom: 0;
}

.legal-page .legal-page__table dt {
  flex: 0 0 130px;
  margin: 0;
  font-weight: 800;
  color: #15373b;
}

.legal-page .legal-page__table dd {
  flex: 1;
  margin: 0;
  font-weight: 500;
  color: #102229;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.legal-page .legal-page__back-wrap {
  margin-top: 30px;
  text-align: center;
}

.legal-page .legal-page__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 190px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #326eaf;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(21, 63, 109, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.legal-page .legal-page__back:hover {
  background: #285a93;
  transform: translateY(-1px);
}

#lp-aircon-independence.lp-aircon--legal .lp-footer-mini {
  background: #eaf3ff;
  border-top: 1px solid #d7e2ee;
  padding: 14px 0 16px;
}

#lp-aircon-independence.lp-aircon--legal .lp-footer-mini__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

#lp-aircon-independence.lp-aircon--legal .lp-footer-mini__links a {
  color: #214a67;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 74, 103, 0.35);
}

#lp-aircon-independence.lp-aircon--legal .lp-footer-mini__links a:hover {
  border-bottom-color: rgba(33, 74, 103, 0.75);
}

#lp-aircon-independence.lp-aircon--legal .lp-footer-mini__copy {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #4f636a;
  text-align: center;
}

body.tpl-aircon-legal .lp-fixed-cta,
body.tpl-aircon-legal .lp-footer-sentinel {
  display: none !important;
}

@media (max-width: 767px) {
  .legal-page .legal-page__section {
    padding: 24px 0 32px;
  }

  .legal-page p,
  .legal-page li,
  .legal-page dd,
  .legal-page dt {
    font-size: 14px;
    line-height: 1.85;
  }

  .legal-page .legal-page__title-band {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  .legal-page .legal-page__table {
    padding: 0 12px;
  }

  .legal-page .legal-page__table-row {
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
  }

  .legal-page .legal-page__table dt {
    flex-basis: auto;
  }
}
