*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lp-body {
  margin: 0;
  color: #222;
  font-family: sans-serif;
  line-height: 1.7;
  background: #fff;
}

body.lp-body.is-menu-open {
  overflow: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

/* =========================
   LP Header
========================= */
.lp-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.lp-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 12px 12px;
}

.lp-header__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-header__logo-wrap {
  min-width: 0;
  flex: 1;
}

.lp-header__logo {
  display: inline-flex;
  align-items: center;
}

.lp-header__logo-img {
  height: 42px;
  width: auto;
}

.lp-header__top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* PCだけ表示する電話 */
.lp-header__tel {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 0 4px;
  color: #2f6f3e;
  white-space: nowrap;
}

.lp-header__tel-label {
  font-size: 11px;
  line-height: 1.3;
  color: #666;
  font-weight: 600;
}

.lp-header__tel-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.lp-header__tel-icon {
  font-size: 28px;
}

.lp-header__tel-number {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* スマホの相談ボタン列 */
.lp-header__contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.lp-header__cta {
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lp-header__cta-icon {
  font-size: 17px;
  line-height: 1;
}

.lp-header__cta-text {
  display: inline-block;
  line-height: 1.2;
}

.lp-header__line-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-header__cta--line {
  background: #2db400;
}

.lp-header__cta--mail {
  background: #2f6f3e;
}

/* メニューボタン */
.lp-menu-toggle {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;

  background: #F29C2B;
  color: #fff;

  border: none;
  font-weight: 700;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lp-menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.lp-menu-toggle__icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.lp-menu-toggle__text {
  font-size: 14px;
  font-weight: 700;
}

/* =========================
   Overlay / Slide Menu
========================= */
.lp-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.45);
}

.lp-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(92vw, 420px);
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.lp-menu-panel.is-open {
  transform: translateX(0);
}

.lp-menu-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #ebebeb;
}

.lp-menu-panel__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.lp-menu-close {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lp-menu-close__icon {
  font-size: 24px;
  line-height: 1;
}

.lp-menu-close__text {
  font-size: 14px;
  font-weight: 700;
}

/* スマホメニュー上部CTA */
.lp-menu-panel__cta-group {
  padding: 16px;
  display: grid;
  gap: 12px;
  border-bottom: 1px solid #ebebeb;
}

.lp-menu-panel__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.lp-menu-panel__cta-icon {
  font-size: 20px;
  line-height: 1;
}

.lp-menu-panel__line-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-menu-panel__cta--tel {
  background: #fff;
  border: 2px solid #2f6f3e;
  color: #2f6f3e;
}

.lp-menu-panel__cta--line {
  background: #2db400;
  color: #fff;
}

.lp-menu-panel__cta--mail {
  background: #2f6f3e;
  color: #fff;
}

/* メニュー項目 */
.lp-menu-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.lp-header-menu {
  list-style: none;
}

.lp-header-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.lp-header-menu li a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 18px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.lp-header-menu li a::before {
  content: "▶";
  margin-right: 10px;
  font-size: 12px;
  color: #2f6f3e;
}

/* =========================
   KV
========================= */
.lp-kv {
  position: relative;
  overflow: hidden;
}

.lp-kv__media {
  position: relative;
}

.lp-kv__img {
  width: 100%;
  object-fit: cover;
}

.lp-kv__img--pc {
  display: none;
}

.lp-kv__img--sp {
  display: block;
  min-height: 520px;
}

.lp-kv__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.18),
      rgba(0, 0, 0, 0.42));
}

.lp-kv__content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 42px;
  color: #fff;
}

.lp-kv__small {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.lp-kv__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 13em;
}

.lp-kv__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.9;
  max-width: 38em;
}

/* =========================
   Content
========================= */
.lp-main {
  min-height: 100vh;
}

.lp-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 72px;
}

/* =========================
   Footer
========================= */
.lp-footer {
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
  padding: 32px 16px;
}

.lp-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-footer__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-footer__logo {
  display: inline-flex;
  align-items: center;
}

.lp-footer__logo img {
  max-height: 40px;
  width: auto;
}

.lp-footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lp-footer-menu li {
  border-bottom: 1px solid #ececec;
}

.lp-footer-menu li:first-child {
  border-top: 1px solid #ececec;
}

.lp-footer-menu li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.7;
}

.lp-footer__bottom {
  margin-top: 24px;
}

.lp-footer__copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

/* =========================
   PC
========================= */
@media (min-width: 768px) {
  .lp-header {
    position: sticky;
    top: 0;
  }

  .lp-header__inner {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .lp-header__top {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
    background: transparent;
    border-bottom: none;
    padding: 0;
    gap: 18px;
    flex: 1;
  }

  .lp-header__logo-img {
    height: 70px;
  }

  .lp-header__top-actions {
    gap: 12px;
  }

  .lp-header__tel {
    display: flex;
  }

  .lp-header__contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
  }

  .lp-header__cta {
    min-height: 46px;
    font-size: 15px;
    padding: 0 16px;
  }

  .lp-header__cta-icon {
    font-size: 17px;
  }

  .lp-header__line-logo {
    width: 20px;
    height: 20px;
  }

  .lp-menu-toggle {
    display: none;
  }

  .lp-menu-overlay {
    display: none !important;
  }

  .lp-menu-panel {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    transition: none;
    background: transparent;
    box-shadow: none;
    display: block;
    margin-left: 8px;
  }

  .lp-menu-panel__header,
  .lp-menu-panel__cta-group {
    display: none;
  }

  .lp-menu-panel__body {
    overflow: visible;
    padding: 0;
  }

  .lp-header-menu {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .lp-header-menu li {
    border: none;
  }

  .lp-header-menu li a {
    min-height: auto;
    padding: 0;
    font-size: 15px;
    white-space: nowrap;
  }

  .lp-header-menu li a::before {
    content: none;
  }

  .lp-kv__img--pc {
    display: block;
    min-height: 640px;
  }

  .lp-kv__img--sp {
    display: none;
  }

  .lp-kv__content {
    padding: 56px 24px 70px;
  }

  .lp-kv__small {
    font-size: 15px;
  }

  .lp-kv__title {
    font-size: 54px;
    line-height: 1.22;
  }

  .lp-kv__text {
    font-size: 18px;
  }

  .lp-content {
    padding: 56px 24px 96px;
  }

  .lp-footer {
    padding: 40px 24px;
  }

  .lp-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
  }

  .lp-footer-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .lp-footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px 28px;
    justify-content: flex-end;
  }

  .lp-footer-menu li,
  .lp-footer-menu li:first-child {
    border: none;
  }

  .lp-footer-menu li a {
    padding: 0;
  }

  .lp-footer__bottom {
    margin-top: 28px;
  }
}