:root {
  --font-rounded: "Rounded Mplus 1c", "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, sans-serif;
  --bg-sky: #E3F6F9;
  --bg-sky-deep: #D4F0F5;
  --store-teal: #00B5AD;
  --accent-pink: #FF007F;
  --banner-pink: #FFB7D8;
  --banner-purple: #D8D4F2;
  --banner-blue: #8CE0FF;
  --text-black: #0F172A;
  --panel-border: #E2E8F0;
  --ui-shadow: 0 12px 32px rgba(0, 60, 80, 0.12);
}

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

body {
  font-family: var(--font-rounded);
  font-weight: 700;
  background-color: var(--bg-sky);
  color: var(--text-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.pink {
  color: var(--accent-pink);
}

/* 猫画像（1.png）の共通スタイル */
.cat-img {
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ナビゲーションヘッダー */
.lp-header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(227, 246, 249, 0.88);
  backdrop-filter: blur(8px);
}
.lp-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trial-pill {
  background: #ffffff;
  border: 2px solid var(--store-teal);
  color: #0F172A;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-pink);
  color: #fff;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 0, 127, 0.38);
}

/* セクション共通見出し */
.headline-xl {
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.headline-sub {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 28px;
}

/* ==========================================
   SECTION 1: ファーストビュー（画像1の世界観）
   ========================================== */
.sec-hero {
  padding: 32px 0 80px;
}
.hero-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.hero-price-badge {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 20px;
  box-shadow: var(--ui-shadow);
  border: 2px solid var(--accent-pink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.hero-price-badge .free-tag {
  background: var(--accent-pink);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.hero-composition {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: center;
  position: relative;
}

/* ストア画面モックアップ */
.store-window {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ui-shadow);
  position: relative;
}
.store-header {
  background: var(--store-teal);
  height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
}
.store-nav {
  display: flex;
  gap: 20px;
}
.store-nav span:first-child {
  text-decoration: underline;
}
.store-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ビスケット背景キャンバス */
.biscuit-canvas {
  background: linear-gradient(135deg, #FFDF78 0%, #FFC845 100%);
  min-height: 410px;
  position: relative;
  padding: 48px 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.biscuit {
  position: absolute;
  border-radius: 28px;
  pointer-events: none;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.08), 0 6px 14px rgba(180, 110, 0, 0.15);
}
.biscuit.b-pink {
  width: 82px; height: 96px;
  background: #FF9AA2;
  border-radius: 45% 45% 40% 40%;
}
.biscuit.b-green {
  width: 78px; height: 78px;
  background: #88D8B0;
  border-radius: 35%;
  transform: rotate(18deg);
}
.biscuit.b-blue {
  width: 96px; height: 64px;
  background: #7EC8E3;
  border-radius: 50px 50px 20px 20px;
  transform: rotate(-15deg);
}
.biscuit.b-wheat {
  width: 76px; height: 92px;
  background: #F3B562;
  border-radius: 40%;
  transform: rotate(25deg);
}

/* ストア内の白ボックス */
.store-msg-card {
  background: #ffffff;
  padding: 34px 36px;
  max-width: 430px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.store-msg-card h2 {
  font-size: 1.65rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.store-msg-card p {
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.7;
}

/* バナー本体コンポーネント */
.fb-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 12px;
  position: absolute;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}
.fb-item .fb-close {
  position: absolute;
  top: 6px;
  right: 9px;
  font-size: 11px;
  opacity: 0.6;
  cursor: pointer;
  line-height: 1;
}

/* 青い手書き風矢印 */
.blue-arrow-svg {
  position: absolute;
  right: 285px;
  bottom: 42px;
  width: 90px;
  height: 70px;
  z-index: 30;
  pointer-events: none;
}

/* ==========================================
   Shopify白設定パネル共通（画像1 & 画像4のUI）
   ========================================== */
.ui-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: var(--ui-shadow);
  font-weight: 500;
  font-size: 0.78rem;
  color: #374151;
}
.ui-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}
.ui-sec-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: #111827;
  margin: 12px 0 10px;
}
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.ui-input, .ui-select {
  width: 62%;
  padding: 6px 8px;
  border: 1px solid #CBD5E1;
  border-radius: 5px;
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 0.75rem;
  color: #1E293B;
  background: #fff;
}
.ui-color-input {
  width: 62%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid #CBD5E1;
  border-radius: 5px;
}
.ui-color-input input[type="color"] {
  width: 18px;
  height: 18px;
  border: none;
  background: none;
  cursor: pointer;
}
.ui-slider-group {
  width: 62%;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ui-slider-group input[type="range"] {
  flex: 1;
  accent-color: #1E293B;
  cursor: pointer;
}
.ui-val-box {
  border: 1px solid #CBD5E1;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 0.72rem;
  min-width: 44px;
  text-align: center;
  background: #fff;
}
.cat-thumb-preview {
  width: 62%;
  height: 68px;
  background: linear-gradient(180deg, #F8FAFC 0%, #CBD5E1 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}
.cat-thumb-preview span {
  position: absolute;
  bottom: 4px;
  left: 7px;
  font-size: 0.68rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ==========================================
   SECTION 2: 好きな場所に、好きな色で！（画像2の世界観）
   ========================================== */
.sec-positions {
  padding: 72px 0;
}
.overlap-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

/* ==========================================
   SECTION 3: アイデア次第で可能性は無限大（画像3の世界観）
   ========================================== */
.sec-ideas {
  padding: 72px 0;
  text-align: center;
}
.ideas-row {
  display: grid;
  grid-template-columns: 280px 280px 1fr;
  gap: 28px;
  align-items: center;
  max-width: 980px;
  margin: 40px auto;
}
.idea-tile {
  background: linear-gradient(135deg, #FFDF78 0%, #FFC845 100%);
  border-radius: 18px;
  padding: 28px 20px 0;
  box-shadow: var(--ui-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  height: 290px;
  position: relative;
}
.idea-inner-card {
  background: #ffffff;
  border-radius: 14px 14px 0 0;
  padding: 22px 16px 18px;
  position: relative;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.idea-transparent-card {
  padding: 20px 16px 18px;
  position: relative;
}
.idea-caption-bar {
  background: #F8FAFC;
  padding: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  border-top: 1px solid #F1F5F9;
}
.lucky-red-banner {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 36px;
  box-shadow: var(--ui-shadow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lucky-red-banner span {
  color: #FF0000;
  font-size: 1.75rem;
  font-weight: 700;
}
.ideas-Copy {
  font-size: 1.55rem;
  line-height: 1.6;
  margin: 36px 0 20px;
}
.ideas-note {
  font-size: 1.05rem;
  color: #1E293B;
}

/* ==========================================
   SECTION 4: 3カラム設定UI＆ページ選択（画像4の世界観）
   ========================================== */
.sec-settings {
  padding: 72px 0;
}
.three-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

.dark-dropdown-menu {
  background: rgba(45, 50, 56, 0.96);
  color: #fff;
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  font-size: 0.78rem;
}
.dark-dropdown-item {
  padding: 7px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dark-dropdown-item.active {
  background: rgba(255,255,255,0.14);
}

.page-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.shopify-toggle {
  width: 38px;
  height: 20px;
  background: #2C2E33;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.shopify-toggle::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 4px;
  right: 4px;
  transition: all 0.2s;
}
.shopify-toggle.is-off {
  background: #8C9196;
}
.shopify-toggle.is-off::after {
  right: auto;
  left: 4px;
}

.handle-feature-banner {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: var(--ui-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  border: 2px solid var(--store-teal);
}

/* ==========================================
   SECTION 5: 料金プラン（14日間無料・月額$5・年額$50）
   ========================================== */
.sec-pricing {
  padding: 72px 0;
  text-align: center;
}
.trial-banner-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: var(--ui-shadow);
  margin-bottom: 36px;
  border: 2px solid var(--accent-pink);
  font-size: 1.2rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: var(--ui-shadow);
  position: relative;
  border: 3px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-card.recommended {
  border-color: var(--accent-pink);
}
.save-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-pink);
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}
.plan-name {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.price-num {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 8px;
}
.price-num small {
  font-size: 1.1rem;
  color: #475569;
}
.plan-sub {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 24px;
}
.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

/* フッターCTA */
.sec-footer-cta {
  padding: 40px 0 96px;
  text-align: center;
}
.cta-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 56px 32px;
  box-shadow: var(--ui-shadow);
}

/* 画面右下に常時追従する実物デモバナー */
.live-floating-demo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-composition,
  .overlap-showcase,
  .ideas-row,
  .three-panels-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .blue-arrow-svg,
  .trial-pill {
    display: none;
  }
  .headline-xl {
    font-size: 2.2rem;
  }
}
