/**
 * LP ドキュメント枠（`page-document.php` 経由の全 LP ページ）。
 * ブレークポイントは `lp-layout-config.php` の KAYOU_LP_BP と同期すること（現状: min-width 900px / max-width 899px）。
 */

html {
  box-sizing: border-box;
  background-color: #ebecef;
}

html *,
html *::before,
html *::after {
  box-sizing: inherit;
}

@media (min-width: 900px) {
  html {
    height: 100%;
    font-size: 75%;
    overflow: hidden;
  }
}

@media (max-width: 899px) {
  html {
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  leading-trim: both;
  text-edge: cap;
}

@media (min-width: 900px) {
  body {
    height: 100%;
    overflow: hidden;
  }
}

@media (max-width: 899px) {
  body {
    overflow-x: hidden;
  }
}

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

@media (min-width: 900px) {
  .lp-shell {
    display: grid;
    /* grid-template-columns: 438px minmax(0, 1fr) 438px; */
    grid-template-columns: 360fr 562fr 360fr;
    height: 100vh;
    height: 100dvh;
    max-width: 1280px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 899px) {
  .lp-shell {
    display: block;
  }
}

@media (min-width: 900px) {
  .lp-sidebar {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
}

.lp-center {
  background-color: #ebecef;
}

@media (min-width: 900px) {
  .lp-center {
    min-height: 0;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 899px) {
  .lp-center {
    overflow: visible;
  }
}

.lp-main {
  min-height: 0;
  width: 100%;
  max-width: 562px;
  margin-inline: auto;
}

/* 中央カラム共通・横インナー */
.lp-inner {
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
  padding-inline: 2.4rem;
}

/* LP 中央カラム・セクション共通（旧 main-lp/section-shared.php） */
.lp-section-head__en {
  color: #fff;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  font-weight: 275;
  line-height: 1;
}

.lp-section-head__ja {
  color: #4a535f;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

/* NEW PRODUCT カード（フッター PRODUCT LIST などと共用） */
.lp-new-product__list {
  margin: 5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.lp-new-product__item {
  margin: 0;
}

.lp-new-product__card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.lp-new-product__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.lp-new-product__logo {
  display: block;
  height: auto;
  max-width: 100%;
}

.lp-new-product__item--orvo .lp-new-product__logo {
  width: 12.7rem;
}

.lp-new-product__item--fleura .lp-new-product__logo {
  width: 9.8rem;
}

.lp-new-product__photo {
  display: block;
  width: 100%;
}

.lp-new-product__badge,
.lp-key-features__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4a535f;
  padding: 0.2rem 1.2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
