/* ==========================================================================
   かこあこたいまー (KakoAko Timer) - ゆるポップ・フルーティー スタイルシート
   ========================================================================== */

:root {
  /* メイン背景・テキスト */
  --bg-primary: #FFFDF7;
  --bg-secondary: #FFF6E5;
  --bg-card: #FFFFFF;
  --text-main: #2D2721;
  --text-sub: #786C60;
  --text-light: #A89C90;

  /* キウイ（かこ）カラー */
  --kiwi-primary: #10B981;
  --kiwi-light: #E6F8F0;
  --kiwi-border: #6EE7B7;
  --kiwi-deep: #047857;

  /* バナナ（あこ）カラー */
  --banana-primary: #F59E0B;
  --banana-light: #FEF3C7;
  --banana-border: #FCD34D;
  --banana-deep: #B45309;

  /* アクセント */
  --strawberry: #F43F5E;
  --strawberry-light: #FFE4E6;
  --orange: #FB923C;
  --border-radius-pill: 9999px;
  --border-radius-lg: 28px;
  --border-radius-md: 20px;
  --border-radius-sm: 14px;

  /* シャドウ */
  --shadow-soft: 0 10px 30px rgba(180, 140, 100, 0.08);
  --shadow-hover: 0 16px 36px rgba(180, 140, 100, 0.16);
  --shadow-pop: 0 8px 0px rgba(220, 200, 170, 0.5);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* リセット＆ベース */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

/* 浮遊フルーツ装飾 */
.bg-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-item {
  position: absolute;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}

@keyframes floatFloat {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  33% {
    transform: translate(-12px, -24px) rotate(12deg);
  }
  66% {
    transform: translate(14px, -10px) rotate(-10deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.header {
  position: relative;
  z-index: 10;
  padding: 24px 0 16px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon-twin {
  display: flex;
  background: #FFF;
  padding: 4px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 0 #EADDC9;
  border: 2px solid #FFF;
}

.mini-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 12px;
}

.mini-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.badge-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.cta-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.cta-icon-img:hover {
  transform: scale(1.08) rotate(-4deg);
}

.kiwi-mini { background: var(--kiwi-light); }
.banana-mini { background: var(--banana-light); }

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: #FFF;
  padding: 3px 6px;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid #EADBCE;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  gap: 4px;
}

.lang-btn {
  color: var(--text-light);
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--kiwi-primary);
  color: #FFF;
  box-shadow: 0 2px 6px rgba(106, 176, 76, 0.25);
}

.lang-divider {
  color: #D8C7B5;
  font-size: 11px;
}

.badge-ios {
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid #EADBCE;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 5;
  padding: 40px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 12px rgba(220, 180, 130, 0.15), 0 2px 0 #E8D8C3;
  margin-bottom: 24px;
  border: 1.5px solid #F3E7D5;
}

.hero-catch {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.highlight-green {
  color: var(--kiwi-deep);
  background: linear-gradient(transparent 65%, var(--kiwi-light) 65%);
  padding: 0 4px;
}

.highlight-yellow {
  color: var(--banana-deep);
  background: linear-gradient(transparent 65%, var(--banana-light) 65%);
  padding: 0 4px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ツインタイマープレビュー */
.interactive-preview-area {
  max-width: 920px;
  margin: 0 auto;
}

.twin-mockup-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.timer-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft), var(--shadow-pop);
  border: 3px solid #FFF;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  text-align: left;
}

.timer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover), 0 12px 0px rgba(210, 190, 160, 0.4);
}

.kako-card {
  border-color: #E2F6ED;
}

.ako-card {
  border-color: #FEF3C7;
}

.timer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.twin-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
}

.tag-kako {
  background: var(--kiwi-light);
  color: var(--kiwi-deep);
}

.tag-ako {
  background: var(--banana-light);
  color: var(--banana-deep);
}

.mode-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.timer-screen-container {
  width: 100%;
  aspect-ratio: 1024 / 471;
  background: #18181B;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  position: relative;
}

.timer-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timer-card:hover .timer-screen-img {
  transform: scale(1.025);
}

.tag-icon-img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.timer-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1.5px dashed #F0E6D8;
}

.feature-tip {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.price-chip {
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
}

.free-chip {
  background: var(--kiwi-light);
  color: var(--kiwi-deep);
}

.standard-chip {
  background: var(--banana-light);
  color: var(--banana-deep);
}

/* デモ操作ボタン */
.demo-controller {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ctrl-btn {
  background: #FFF;
  border: 2px solid #EADCCB;
  color: var(--text-main);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 0 #E0D0BD;
  transition: all 0.15s ease;
}

.ctrl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #E0D0BD;
}

.ctrl-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #E0D0BD;
}

.btn-toggle {
  background: #FFFDF5;
  border-color: #F59E0B;
  color: var(--banana-deep);
  box-shadow: 0 4px 0 #D97706;
}

.btn-preroll {
  background: #F0FDF4;
  border-color: #10B981;
  color: var(--kiwi-deep);
  box-shadow: 0 4px 0 #059669;
}

/* ==========================================================================
   特徴・推しポイントセクション
   ========================================================================== */
.features-section {
  position: relative;
  z-index: 5;
  padding: 60px 0 80px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  margin: 40px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.sub-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--banana-deep);
  background: var(--banana-light);
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFF;
  border-radius: var(--border-radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft), 0 4px 0 rgba(220, 200, 170, 0.4);
  border: 2px solid #FFF;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover), 0 6px 0 rgba(220, 200, 170, 0.5);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-green { background: var(--kiwi-light); }
.icon-yellow { background: var(--banana-light); }
.icon-pink { background: var(--strawberry-light); }
.icon-orange { background: #FFEDD5; }

.card-icon {
  font-size: 28px;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 直感設定画面（2枚重ねスタックプレビュー） */
.settings-preview-wrap {
  margin: 44px auto 16px;
  max-width: 580px;
  text-align: center;
}

.settings-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 230px;
  margin: 0 auto;
}

.settings-stack-card {
  position: absolute;
  width: 76%;
  background: #18181B;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.settings-stack-card.stack-back {
  left: 6%;
  top: 0;
  transform: rotate(-2.5deg) scale(0.95);
  z-index: 1;
  filter: brightness(0.85);
}

.settings-stack-card.stack-front {
  right: 6%;
  bottom: 0;
  transform: rotate(2deg);
  z-index: 2;
}

.settings-stack:hover .stack-back {
  transform: translateX(-30px) rotate(-4.5deg) scale(0.98);
  filter: brightness(1);
  z-index: 3;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.settings-stack:hover .stack-front {
  transform: translateX(30px) rotate(3.5deg) scale(1.02);
  z-index: 2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

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

.stack-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.settings-caption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  padding: 5px 16px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
  .settings-stack {
    height: 180px;
  }
  .settings-stack-card {
    width: 82%;
  }
  .settings-stack:hover .stack-back {
    transform: translateX(-15px) rotate(-3deg) scale(0.98);
  }
  .settings-stack:hover .stack-front {
    transform: translateX(15px) rotate(2deg) scale(1.01);
  }
}

/* 動画編集者・クリエイター向け欄外ノート */
.features-creator-note {
  max-width: 780px;
  margin: 36px auto 0;
  background: #FFFDF2;
  border: 1.5px solid #FCD34D;
  border-radius: var(--border-radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.06);
}

.creator-note-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.creator-note-body strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--banana-deep);
  margin-bottom: 4px;
}

.creator-note-body p {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.65;
  margin: 0;
}

.creator-note-body p strong {
  display: inline;
  color: #D97706;
  font-weight: 800;
}

/* ==========================================================================
   ツインスタイル詳細セクション
   ========================================================================== */
.twins-detail-section {
  position: relative;
  z-index: 5;
  padding: 40px 0 60px;
}

.twins-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.twin-detail-box {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft), var(--shadow-pop);
  border: 2px solid transparent;
}

.kiwi-box {
  border-color: #D1FAE5;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.banana-box {
  border-color: #FEF3C7;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBEB 100%);
}

.twin-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.badge-fruit {
  font-size: 26px;
}

.badge-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.badge-type {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--border-radius-pill);
}

.kiwi-box .badge-type { background: var(--kiwi-light); color: var(--kiwi-deep); }
.banana-box .badge-type { background: var(--banana-light); color: var(--banana-deep); }

.twin-detail-box h5 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.twin-detail-box p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.7;
}

.twin-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twin-points li {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   フッターCTA
   ========================================================================== */
.footer-cta-section {
  position: relative;
  z-index: 5;
  padding: 40px 0 60px;
}

.cta-box {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft), var(--shadow-pop);
  border: 3px solid #FFF5E5;
}

.cta-decorations {
  font-size: 36px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta-box h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.store-badge-placeholder {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.store-pill {
  background: #18181B;
  color: #FFF;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: default;
  transition: transform 0.2s ease;
}

.store-pill:hover {
  transform: scale(1.02);
}

.apple-logo {
  font-size: 24px;
}

.store-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 10px;
  font-weight: 600;
  color: #A1A1AA;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-main {
  font-size: 18px;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

.platform-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
}

.micro-note {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.5;
}

.subtle-link {
  color: var(--text-sub);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.subtle-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   フッター
   ========================================================================== */
.footer {
  padding: 32px 0 48px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.disclaimer-note {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 4px;
  line-height: 1.5;
}

.copyright {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.brand-desc {
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 860px) {
  .hero-catch {
    font-size: 30px;
  }
  .twin-mockup-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .twins-banner {
    grid-template-columns: 1fr;
  }
  .big-digits {
    font-size: 44px;
  }
}

@media (max-width: 600px) {
  .hero-catch {
    font-size: 24px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .big-digits {
    font-size: 38px;
  }
  .pc-only {
    display: none;
  }
  .container {
    padding: 0 16px;
  }
}
