/* ================================================================
   RESET & BASE（LP コンテンツのみ。header/footer は対象外）
================================================================ */
:where(#lp, #lp *),
:where(#lp *::before, #lp *::after) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* common.css の要素セレクタ（0,0,1）を上書き */
#lp h1, #lp h2, #lp h3, #lp h4, #lp ul, #lp li {
  margin: 0;
  padding: 0;
  text-indent: 0;
}
#lp p {
  text-indent: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F6F4EF;
}

#lp {
  font-family: 'Noto Serif JP', Georgia, serif;
  color: #2E2E2E;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 53px; /* SP: ヘッダー高さ分オフセット */
}
@media (min-width: 769px) {
  #lp {
    padding-top: 148px; /* PC: ヘッダー高さ分オフセット */
  }
}

/* ================================================================
   スクロールオフセット — 固定ヘッダー分を補正
   SP: 53px (header)
   PC: 148px (header)
================================================================ */
section[id],
nav[id] {
  scroll-margin-top: 53px;
}
@media (min-width: 769px) {
  section[id],
  nav[id] {
    scroll-margin-top: 148px;
  }
}

/* ================================================================
   REVEAL ANIMATION
================================================================ */
.reveal {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.in-view {
  opacity: 1;
}
.reveal.d1 { transition-delay: 0.2s; }
.reveal.d2 { transition-delay: 0.4s; }
.reveal.d3 { transition-delay: 0.6s; }
.reveal.d4 { transition-delay: 0.8s; }

/* ================================================================
   SHARED COMPONENTS
================================================================ */
.scene-tag {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  letter-spacing: 0.28em;
  font-weight: 300;
  color: #666666;
  margin-bottom: 36px;
}

.hline {
  width: 48px;
  height: 1px;
  background-color: rgba(46, 46, 46, 0.2);
  margin-bottom: 44px;
}

.vline {
  width: 1px;
  height: 72px;
  background-color: rgba(46, 46, 46, 0.2);
  margin: 0 auto;
}

.body-text {
  font-size: clamp(16px, 1.75vw, 19px);
  font-weight: 300;
  line-height: 2.4;
  letter-spacing: 0.08em;
  color: #2E2E2E;
}
.body-text p + p {
  margin-top: 28px;
}

/* ================================================================
   CTA BUTTON VARIANTS
================================================================ */

/* アウトラインボタン（ライト背景用） */
.cta-btn {
  display: inline-block;
  padding: 24px 56px;
  background-color: transparent;
  color: #2E2E2E;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
  border: 1px solid #2E2E2E;
  transition: background-color 0.6s ease, color 0.6s ease;
}
.cta-btn:hover {
  background-color: #2E2E2E;
  color: #F6F4EF;
}

/* フィルドボタン（ライト背景用） */
.cta-btn--dark {
  background-color: #2E2E2E;
  color: #F6F4EF;
  border-color: #2E2E2E;
}
.cta-btn--dark:hover {
  background-color: transparent;
  color: #2E2E2E;
}

/* 白アウトラインボタン（ダーク背景専用） */
.cta-btn--white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}
.cta-btn--white:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: #ffffff;
}

/* CTA ラッパー */
.cta-wrap {
  margin-top: 64px;
}

/* CTA 注記 */
.cta-note {
  display: block;
  margin-top: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 300;
}
.cta-note--light { color: rgba(255, 255, 255, 0.38); }
.cta-note--dark  { color: #bbbbbb; }

/* ================================================================
   STICKY CTA BAR
================================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background-color: rgba(246, 244, 239, 0.96);
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding: 16px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.sticky-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(46, 46, 46, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar-btn {
  display: inline-block;
  flex-shrink: 0;
  padding: 14px 36px;
  background-color: transparent;
  color: #2E2E2E;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
  border: 1px solid #2E2E2E;
  white-space: nowrap;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.sticky-bar-btn:hover {
  background-color: #2E2E2E;
  color: #F6F4EF;
}

/* ================================================================
   SCENE 1: ファーストビュー
================================================================ */
.s1-hero {
  position: relative;
}

.s1-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 22, 18, 0.58) 0%,
    rgba(15, 22, 18, 0.18) 38%,
    rgba(15, 22, 18, 0) 62%
  );
  z-index: 1;
  pointer-events: none;
}

.s1-img {
  width: 100%;
  height: 90vh;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.s1-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 72px 72px;
  text-align: left;
  z-index: 2;
}

.s1-copy-panel {
  width: 100%;
  max-width: 560px;
}

.s1-copy .scene-tag {
  color: rgba(255, 255, 255, 0.52);
}

.s1-h1 {
  font-size: clamp(26px, 4.2vw, 51px);
  font-weight: 200;
  letter-spacing: 0.14em;
  line-height: 1.85;
  color: #ffffff;
  text-align: left;
  text-indent: 0;
  padding: 0;
  margin: 0;
}

.s1-subcopy {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 200;
  letter-spacing: 0.12em;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 20px;
  max-width: 480px;
}

.s1-sub {
  display: block;
  margin-top: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.38);
}

.s1-cta-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ================================================================
   EMPATHY — 新生活
================================================================ */
.s-empathy {
  padding: 120px 56px 140px;
  text-align: center;
  border-top: 1px solid rgba(46, 46, 46, 0.08);
}

.s-empathy-inner {
  max-width: 560px;
  margin: 0 auto;
}

.s-empathy .hline {
  margin-left: auto;
  margin-right: auto;
}

.empathy-h2 {
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.9;
  margin-bottom: 52px;
}

.s-empathy .body-text {
  text-align: center;
}

/* ================================================================
   SOLUTION — 解決策 + 3特長
================================================================ */
.s-solution {
  background-color: #E5E1D6;
  padding: 140px 56px 160px;
  border-top: 1px solid rgba(46, 46, 46, 0.08);
}

.s-solution-inner {
  max-width: 740px;
  margin: 0 auto;
}

.solution-h2 {
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.9;
  margin-top: 44px;
  margin-bottom: 48px;
}

.product-img-wrap {
  margin-top: 64px;
  text-align: center;
}

.product-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 72px;
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding-top: 56px;
}

.feature-item {
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding-top: 28px;
}

.feature-num {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 300;
  color: rgba(46, 46, 46, 0.35);
  margin-bottom: 24px;
}

.feature-title {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: #2E2E2E;
  margin-bottom: 18px;
}

.feature-text {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: rgba(46, 46, 46, 0.7);
}

/* ================================================================
   FOR-WHOM — 用途から選ぶ
================================================================ */
.s-for-whom {
  padding: 140px 56px 160px;
  border-top: 1px solid rgba(46, 46, 46, 0.08);
}

.s-for-whom-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.for-whom-h2 {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.9;
  margin-top: 44px;
  margin-bottom: 64px;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding-top: 56px;
  margin-top: 44px;
}

.for-whom-card {
  border-left: 1px solid rgba(46, 46, 46, 0.15);
  padding-left: 28px;
}

.for-whom-card-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(46, 46, 46, 0.65);
  font-weight: 300;
  display: block;
  margin-bottom: 14px;
}

.for-whom-card-title {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: #2E2E2E;
  margin-bottom: 18px;
}

.for-whom-card-text {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: rgba(46, 46, 46, 0.7);
}

/* ================================================================
   色の思想（共通）
================================================================ */
.s-philosophy {
  padding: 140px 56px 160px;
  text-align: center;
  border-top: 1px solid rgba(46, 46, 46, 0.08);
}

.s-philosophy-inner {
  max-width: 520px;
  margin: 0 auto;
}

.s-philosophy .hline {
  margin-left: auto;
  margin-right: auto;
}

.philosophy-h2 {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 200;
  letter-spacing: 0.12em;
  line-height: 1.95;
  margin-bottom: 52px;
}

.s-philosophy .body-text {
  text-align: center;
}

.s-philosophy .body-text p + p {
  margin-top: 10px;
}

.s-philosophy .body-text p:last-child {
  margin-top: 36px;
}

.s-philosophy .cta-wrap {
  margin-top: 72px;
}


/* ================================================================
   クロージング CTA
================================================================ */
.s-closing {
  background-color: #2d3d35;
  padding: 140px 56px 160px;
  text-align: center;
}

.s-closing-eyebrow {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  letter-spacing: 0.22em;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 64px;
}

.s-closing-lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin: 0 auto 72px;
}

.s-closing-sub {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 56px;
}

/* ================================================================
   RESPONSIVE — Tablet 〜860px
================================================================ */
@media (max-width: 860px) {
  .s1-copy {
    padding: 0 40px 56px;
  }

  .s-empathy {
    padding: 80px 32px 100px;
  }

  .s-solution {
    padding: 80px 32px 100px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .s-for-whom {
    padding: 80px 32px 100px;
  }
  .for-whom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .s-philosophy {
    padding: 80px 32px 100px;
  }

  .s-closing {
    padding: 100px 32px 140px;
  }

  .sticky-bar {
    padding: 14px 32px;
  }
}

/* ================================================================
   RESPONSIVE — Mobile 〜560px
================================================================ */
@media (max-width: 560px) {
  .s1-img {
    height: 72vh;
    min-height: 440px;
  }
  .s1-copy {
    padding: 0 28px 44px;
  }
  .s1-h1 {
    letter-spacing: 0.05em;
  }
  .s1-subcopy {
    letter-spacing: 0.06em;
    max-width: 100%;
  }
  .s1-cta-wrap {
    margin-top: 32px;
    width: 100%;
  }
  .s1-cta-wrap .cta-btn {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: left;
  }

  .s-empathy {
    padding: 64px 24px 80px;
  }

  .s-solution {
    padding: 64px 24px 80px;
  }

  .s-for-whom {
    padding: 64px 24px 80px;
  }

  .s-philosophy {
    padding: 64px 24px 80px;
  }

  .s-closing {
    padding: 80px 24px 120px;
  }

  .cta-btn {
    display: block;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* スティッキーバーはモバイルでテキストを省略 */
  .sticky-bar {
    padding: 12px 24px;
  }
  .sticky-bar-text {
    display: none;
  }
  .sticky-bar-btn {
    width: 100%;
    text-align: center;
  }
}
