/* ============================================
   La Vie LP — Figma faithful (node 376:681)
   ============================================ */

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

.sp-br { display: none; }

body {
  background: #fff5f5;
  font-family: 'Noto Sans JP', sans-serif;
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* ========================================
   CANVAS  1440px fixed design
   ======================================== */
.canvas {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

/* ========================================
   HERO  (height: 1081px)
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 1130px;
  background: #fff5f5;
  overflow: hidden;
}

/* --- 装飾ボックス --- */
.deco {
  position: absolute;
  border-radius: 10px;
  background: #ffeded;
}

/* --- 写真フレーム --- */
.photo {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  background: #eedede;
}

/* PCで画面幅に合わせて中央基準で追従（inline styleを上書き） */
.photo--main   { left: max(0px, calc(50% - 580px)) !important; }
.photo--dogs   { left: max(0px, calc(50% - 685px)) !important; }
.photo--person { left: calc(50% + 351px) !important; }
.hero-iphone   { left: calc(50% - 461px) !important; }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- 背景円 --- */
.hero-circle {
  position: absolute;
  width: 741px;
  height: 741px;
  left: 50%;
  top: 79px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 245, 245, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- iPhoneモックアップ --- */
.hero-iphone {
  position: absolute;
  left: 259px;
  top: 341px;
  width: 191px;
  height: 393px;
  object-fit: contain;
}

/* --- メインキャッチコピー --- */
.hero-headline {
  position: absolute;
  left: calc(50% + 40px);
  top: 141px;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #ef7074;
  letter-spacing: 16px;
  line-height: 1.6;
  white-space: nowrap;
}

/* --- サブテキスト＋中央ロゴ --- */
.hero-center {
  position: absolute;
  left: 50%;
  top: 351px;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.hero-sub1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #6d675c;
  letter-spacing: 6px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.hero-sub2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #6d675c;
  letter-spacing: 6px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-logo-center {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(-16px);
}

/* --- 説明文 --- */
.hero-desc {
  position: absolute;
  left: 50%;
  top: 510px;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #6d675c;
  letter-spacing: 2.7px;
  line-height: 2.1;
  white-space: nowrap;
}


/* --- ナビゲーションピル ---
   centered, top:728px, h:56px
   ---------------------------------------- */
.nav {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 50px;
  height: 68px;
  padding: 10px 40px;
  background: #ffffff;
  border-radius: 40px;
  filter: drop-shadow(0px 0px 7px rgba(0, 0, 0, 0.07));
  white-space: nowrap;
  z-index: 5;
}

/* logo.svg: 225×39px → height:28px (nav scale) */
.nav-logo-img {
  height: 22px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #6d675c;
  letter-spacing: 2.4px;
  line-height: 2.1;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fb898c; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social__link {
  color: #6d675c;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-social__link:hover { color: #fb898c; }

/* スクロール固定：ナビが画面上端に達したら fixed に切り替え */
.nav--fixed {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* ========================================
   ABOUT  白丸角カード (page top: 906px)
   ======================================== */
.about {
  position: relative;
  width: 100%;
  min-height: 920px;
  background: #ffffff;
  border-radius: 100px 100px 0 0;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.07);
  margin-top: 0;
  z-index: 1;
  padding-bottom: 100px;
}

/* セクションラベル — left:255 / top:139 within .about
   Figmaの小ドット(8×8px)はCSS ::before で再現
   ---------------------------------------- */
.about-label {
  position: absolute;
  top: 119px;
  left: max(24px, calc(50% - 465px));
  display: flex;
  align-items: center;
  gap: 21px;  /* dot(8px) + gap(21px) = total left offset 29px (12.29% of 236px) */
  height: 33px;
}

.about-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb898c;
  flex-shrink: 0;
}

.about-label span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #6d675c;
  letter-spacing: 4.4px;
  line-height: 1.49;
  white-space: nowrap;
}

/* 本文 — left:253 / top:207 / width:560px (画像left:843まで余裕を持たせて) */
.about-text {
  position: absolute;
  top: 187px;
  left: max(24px, calc(50% - 467px));
  width: 480px;
}

.about-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #6d675c;
  letter-spacing: 3px;
  line-height: 2.2;
  white-space: pre-wrap;
}

/* 犬イラスト — left:334 / top:640 / 733×233 / opacity:0.6 */
.about-illust {
  position: absolute;
  top: 620px;
  left: max(24px, calc(50% - 386px));
  width: 733px;
  height: 233px;
  opacity: 0.6;
}
.about-illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* グレー画像プレースホルダー — left:843 / top:139 / 430×501 */
.about-img {
  position: absolute;
  top: 119px;
  left: calc(50% + 123px);
  width: auto;
  height: 500px;
}

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

/* ハンバーガーボタン：デスクトップでは非表示 */
.nav-hamburger { display: none; }
/* nav-body：デスクトップでは透過してflex子要素として振る舞う */
.nav-body { display: contents; }
/* 写真ラッパー：デスクトップでは透過（子要素はheroに対して絶対配置のまま） */
.hero-photos-wrap { display: contents; }

/* ========================================
   SHARED: section-label（about・howto共通）
   ======================================== */
.section-label {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb898c;
  flex-shrink: 0;
}
.section-label span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #6d675c;
  letter-spacing: 4.4px;
  line-height: 1.49;
  white-space: nowrap;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  overflow: hidden;
  padding: 40px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: gallery-scroll 70s linear infinite;
  will-change: transform;
}


.gallery-img {
  height: 220px;
  width: auto;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* 14枚(7×2)の半分 = 7枚分だけ左へ移動→シームレスにループ */
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  background: #fff5f5;
  padding: 100px 0 80px;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-inner .section-label {
  margin-bottom: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 52px 60px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 0 32px rgba(109, 103, 92, 0.08);
  margin-bottom: 24px;
}
.feature-row:last-child { margin-bottom: 0; }

.feature-row__text { flex: 1; }

.feature-row__num {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  color: #fb898c;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.feature-row__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #6d675c;
  letter-spacing: 5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-row__desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #6d675c;
  letter-spacing: 2px;
  line-height: 2.4;
}

.feature-row__note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(109, 103, 92, 0.6);
  letter-spacing: 1px;
  line-height: 1.8;
  margin-top: 16px;
}

.feature-row__img {
  flex: 0 0 350px;
  width: 350px;
}
.feature-row__img img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
}

/* ========================================
   HOWTO
   ======================================== */
.howto {
  background: #fff5f5;
  padding: 100px 255px 120px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 24px;
}

.step-card {
  flex: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 36px 48px;
  box-shadow: 0 0 24px rgba(109, 103, 92, 0.08);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb898c, #ef7074);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.step-emoji {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #6d675c;
  letter-spacing: 3px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #6d675c;
  letter-spacing: 2px;
  line-height: 2.2;
}

.step-arrow {
  font-size: 44px;
  color: #fb898c;
  opacity: 0.5;
  flex-shrink: 0;
  line-height: 1;
  align-self: center;
  margin-bottom: 44px; /* ステップナンバー円の中央付近に揃える */
}

/* ========================================
   CTA
   ======================================== */
.cta {
  background: linear-gradient(135deg, #ffc2d0 0%, #fb898c 55%, #e05a60 100%);
  padding: 100px 0 120px;
  text-align: center;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 60px;
}

.cta-limited {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.cta-badge {
  display: inline-block;
  background: #ffffff;
  color: #fb898c;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  padding: 8px 24px;
  border-radius: 20px;
  margin-bottom: 32px;
}

.cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: #ffffff;
  letter-spacing: 6px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.cta-title span {
  border-bottom: 3px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 4px;
}

.cta-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 3px;
  line-height: 2;
  margin-bottom: 52px;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #3d2b1f;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.appstore-btn:hover {
  background: #5a3f2e;
  transform: translateY(-3px);
}

.appstore-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.appstore-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.appstore-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  opacity: 0.75;
}

.appstore-main {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
}

.cta-note {
  display: inline-block;
  margin-top: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.8;
  text-align: left;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #6d675c;
  padding: 72px 0 52px;
}

.footer-inner {
  max-width: 930px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #ffffff; }

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

.footer-contact {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1.5px;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-contact:hover { color: #ffffff; }

.footer-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
}

/* ========================================
   RESPONSIVE  (≤ 768px)
   ======================================== */
@media (max-width: 768px) {

  /* --- GLOBAL --- */
  .canvas { width: 100%; overflow-x: hidden; }

  /* --- NAV --- */
  .nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    border-radius: 40px;
    height: auto;
    min-height: 52px;
    padding: 10px 24px;
    gap: 0;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
  }
  .nav--fixed {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-logo-img { height: 18px; }

  .nav-hamburger { display: none; }
  .nav-body {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin-left: auto;
    width: auto;
  }
  .nav-social { margin-left: auto; }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(109, 103, 92, 0.1);
    letter-spacing: 2px;
    display: block;
  }
  .nav-social { margin-top: 0; }

  /* --- HERO --- */
  .hero {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 88px;
  }
  .deco,
  .hero-circle { display: none; }

  .hero-headline {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 1;
    padding: 28px 16px 16px 32px;
    font-size: 30px;
    letter-spacing: 6px;
    white-space: normal;
    text-align: center;
  }

  .hero-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 3;
    padding: 20px 24px 16px;
  }

  .hero-sub1 { font-size: 14px; letter-spacing: 2.5px; }
  .hero-sub2 { font-size: 14px; letter-spacing: 2.5px; }
  .hero-logo-center { height: 28px; }

  .hero-desc {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 4;
    padding: 0 24px 20px;
    font-size: 13px;
    letter-spacing: 1.8px;
    line-height: 2.2;
    white-space: normal;
    text-align: center;
    display: block;
  }

  /* --- 写真コラージュ --- */
  .hero-photos-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 300px;
    order: 5;
  }

  .photo--main {
    position: absolute !important;
    left: 8% !important;
    top: 0px !important;
    width: 125px !important;
    height: auto !important;
    aspect-ratio: 256 / 353;
    margin: 0 !important;
  }

  .photo--dogs {
    display: block;
    position: absolute !important;
    left: 2% !important;
    bottom: 0 !important;
    top: auto !important;
    width: 80px !important;
    height: auto !important;
    aspect-ratio: 160 / 221;
  }

  .photo--person {
    display: block;
    position: absolute !important;
    right: -18px !important;
    left: auto !important;
    top: 70px !important;
    width: 35% !important;
    height: auto !important;
    aspect-ratio: 333 / 459;
  }

  .hero-iphone {
    display: block;
    position: absolute !important;
    left: 50% !important;
    top: 10px !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    height: 250px !important;
    z-index: 1;
  }

  .gallery {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    order: 6;
    padding: 24px 0;
  }
  .gallery-img { height: 120px; }

  /* --- セクション見出し共通 --- */
  .about-label span,
  .section-label span { font-size: 18px; letter-spacing: 3px; }

  /* --- ABOUT --- */
  .about {
    width: 100%;
    border-radius: 32px 32px 0 0;
    padding: 48px 24px 60px;
    min-height: auto;
  }
  .about-label,
  .about-text,
  .about-img,
  .about-illust {
    position: relative;
    top: auto;
    left: auto;
  }
  .about-label { margin-bottom: 24px; }
  .about-text { width: 100%; margin-bottom: 40px; }
  .about-text p {
    font-size: 14px;
    letter-spacing: 1.8px;
    line-height: 1.9;
    white-space: normal;
  }
  .about-text .about-spacer {
    line-height: 1.5;
    font-size: 12px;
  }
  .about-img {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }
  .about-img img { height: 320px; }
  .about-illust { width: 100%; height: auto; }

  /* --- FEATURES --- */
  .features { padding: 60px 20px; }
  .features-inner { padding: 0; }
  .features-inner .section-label { margin-bottom: 24px; }
  .about-label { margin-bottom: 12px; }
  .feature-row {
    flex-direction: column;
    gap: 32px;
    padding: 40px 24px;
  }
  .feature-row__img { width: 100%; flex: none; }
  .feature-row__img img { height: 260px; }
  .feature-row__title { font-size: 18px; margin-bottom: 12px; }
  .feature-row__desc { line-height: 1.9; }
  .feature-row__num { margin-bottom: 12px; font-size: 18px; }

  /* --- HOWTO --- */
  .howto { padding: 60px 20px 80px; }
  .steps { flex-direction: column; gap: 0; }
  .step-arrow {
    align-self: flex-start;
    transform: rotate(90deg);
    font-size: 32px;
    margin-bottom: 0;
    margin-left: 10px;
  }

  /* --- CTA --- */
  .cta { padding: 60px 24px 80px; }
  .cta-limited { font-size: 14px; font-weight: 700; }
  .cta-inner { padding: 0; }
  .cta-title { line-height: 1.3; }
  .sp-br { display: inline; }
  .cta-title { font-size: 36px; letter-spacing: 4px; }
  .cta-sub { font-size: 14px; letter-spacing: 2px; }

  /* --- FOOTER --- */
  .footer { padding: 48px 24px 40px; }
  .footer-inner { padding: 0; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
