/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Layout ===== */
.container {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7ed 0%, #fffbf7 55%, #fff 100%);
  padding: 168px 0 120px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 42% at 50% 30%, rgba(252, 142, 48, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 36% at 14% 8%, rgba(245, 71, 64, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 36% at 86% 12%, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.app-icon {
  line-height: 1;
}

.app-icon img {
  width: 120px;
  height: 120px;
  border-radius: 27.5%;
  box-shadow:
    0 2px 6px rgba(154, 52, 18, 0.14),
    0 18px 40px -8px rgba(234, 88, 12, 0.38);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.hero-subtitle {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -8px;
}

.hero-copy {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
  color: #475569;
  line-height: 1.8;
}

/* ストアボタン */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 28px;
  row-gap: 16px;
  scroll-margin-top: 96px;
}

/* ストアバッジは英語の固定表記。RTL でも 2 行のラベルが反転しないよう向きを固定する */
.btn-store {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  color: #fff;
  padding: 13px 28px 13px 22px;
  border-radius: 16px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.15s;
  min-width: 210px;
}

.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  opacity: 0.92;
}

.btn-store:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.store-icon {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.store-label {
  display: flex;
  flex-direction: column;
  text-align: start;
  gap: 1px;
}

.store-sub {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.72;
  letter-spacing: 0.04em;
  line-height: 1;
}

.store-main {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0em;
  line-height: 1;
}

/* Coming Soon バッジ */
.hero-badge {
  display: inline-block;
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  margin-top: 8px;
}

/* ===== Use Cases ===== */
.usecases {
  padding: 80px 0;
  background: #fff;
}

.usecase-list {
  list-style: none;
  max-width: 680px;
  margin-inline: auto;
  border-top: 1px solid #e2e8f0;
}

.usecase-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  padding-inline: 20px 8px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  transition: padding-inline-start 0.25s ease;
}

.usecase-item::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.usecase-item:hover {
  padding-inline-start: 28px;
}

.usecase-item:hover::before {
  transform: scaleY(1);
}

.usecase-emoji {
  font-size: 1.6rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 14px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.usecase-item:hover .usecase-emoji {
  background: #eff6ff;
  transform: scale(1.06);
}

.usecase-text {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* ===== Section common ===== */
.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.section-sub {
  text-align: center;
  color: #64748b;
  margin-top: 12px;
  font-size: 1rem;
  max-width: 480px;
  margin-inline: auto;
}

/* ===== Features ===== */
.features {
  padding: 100px 0 120px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(249, 115, 22, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 70%, rgba(251, 191, 36, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.features > .container {
  position: relative;
  z-index: 1;
}

.feature-pairs {
  display: flex;
  flex-direction: column;
  gap: 112px;
  margin-top: 72px;
}

.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* 偶数行は画像を右に */
.feature-pair:nth-child(even) .feature-pair-visual {
  order: 2;
}

.feature-pair:nth-child(even) .feature-pair-content {
  order: 1;
}

.feature-pair-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.feature-pair-visual::before {
  content: '';
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

.feature-pair:nth-child(2) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, transparent 65%);
}

.feature-pair:nth-child(3) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(244, 114, 94, 0.16) 0%, transparent 65%);
}

.feature-pair:nth-child(4) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16) 0%, transparent 65%);
}

.feature-pair:nth-child(5) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, transparent 65%);
}

.feature-pair:nth-child(6) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(244, 114, 94, 0.16) 0%, transparent 65%);
}

.feature-pair:nth-child(7) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16) 0%, transparent 65%);
}

.feature-pair:nth-child(8) .feature-pair-visual::before {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, transparent 65%);
}

.screenshot-frame {
  width: 240px;
  /* 角丸・枠線はコンテナ側に付け、overflow:hidden で画像をクリップする。
     img へ border + border-radius を直接付けると Safari が画像本体を
     角丸でクリップせず、四隅のグレーがはみ出すバグがあるため。 */
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 4px solid #000;
  border-radius: 36px;
  box-shadow:
    0 4px 10px -4px rgba(15, 23, 42, 0.12),
    0 24px 48px -16px rgba(15, 23, 42, 0.22);
}

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

/* 画像が読み込めない場合のプレースホルダー */
.screenshot-frame.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
}

.screenshot-frame.placeholder::after {
  content: '📱';
  font-size: 48px;
  opacity: 0.4;
}

.feature-pair-content {
  max-width: 420px;
}

.feature-pair-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.feature-pair-content p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.85;
}

.feature-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #c2410c;
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.feature-points {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-points li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
}

.feature-points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f54740 0%, #fc8e30 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feature-premium-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 4px 11px;
  border-radius: 100px;
}

/* ===== Premium ===== */
/* 白いカードにブランドオレンジを差し色で使う（面をオレンジで塗らない） */
.premium {
  padding: 40px 0 120px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 42% at 24% 28%, rgba(252, 142, 48, 0.12), transparent 64%),
    radial-gradient(ellipse 50% 42% at 78% 76%, rgba(251, 191, 36, 0.12), transparent 64%);
  pointer-events: none;
  z-index: 0;
}

.premium > .container {
  position: relative;
  z-index: 1;
}

.premium-card {
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  padding: 56px 44px 48px;
  text-align: center;
  border: 1px solid #fed7aa;
  box-shadow:
    0 1px 2px rgba(154, 52, 18, 0.06),
    0 24px 60px -12px rgba(234, 88, 12, 0.22);
}

/* カード上端のアクセント（アプリアイコンと同じグラデーション） */
.premium-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #f54740, #fc8e30);
}

.premium-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.premium-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.premium-sub {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.premium-features {
  list-style: none;
  text-align: start;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.premium-feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.55;
}

.premium-feature::before {
  content: '✓';
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

.premium-pricing {
  margin-top: 36px;
  padding: 26px 20px 24px;
  border-radius: 20px;
  background: #fff7ed;
}

.premium-pricing-trial {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #f54740, #fc8e30);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.premium-pricing-after {
  font-size: 1rem;
  color: #334155;
  font-weight: 600;
}

.premium-pricing-after strong {
  white-space: nowrap;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.premium-pricing-monthly {
  margin-top: 10px;
  font-size: 0.98rem;
  color: #475569;
  font-weight: 500;
}

.premium-pricing-monthly strong {
  color: #c2410c;
  font-size: 1.05rem;
  font-weight: 750;
}

.premium-pricing-frequency {
  margin-top: 5px;
  font-size: 0.84rem;
  color: #64748b;
}

@media (max-width: 600px) {
  .premium {
    padding: 24px 0 80px;
  }

  .premium-card {
    padding: 36px 24px;
  }

  .premium-features {
    max-width: 100%;
  }
}

/* ===== Footer ===== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

/* 「© 2026 DayList」は数字とラテン文字だけで方向の手がかりが無く、
   RTL 段落に置くと © が右端へ回り込む。要素ごと LTR に固定して回避する。 */
.footer-copy {
  direction: ltr;
  font-size: 0.8rem;
  color: #475569;
}

/* ===== Lightbox ===== */
.screenshot-frame {
  cursor: zoom-in;
  transition: transform 0.28s ease;
  /* ホバーで transform する際も Safari が角丸クリップを維持できるよう
     コンポジットレイヤーへ昇格させておく */
  will-change: transform;
}

.screenshot-frame:hover {
  transform: translateY(-8px);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  padding: 24px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: min(320px, 85vw);
  max-height: 85vh;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.25s ease;
  object-fit: contain;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ===== Legal Pages ===== */
.legal-header {
  background: #0f172a;
  padding: 20px 0;
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-brand {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
}

.legal-brand:hover {
  opacity: 0.8;
}

.lang-select--dark {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
}

.lang-select--dark:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* 開いたときの選択肢は OS ネイティブ描画。ダーク背景ヘッダーでも読めるよう文字色を戻す */
.lang-select--dark option {
  color: #0f172a;
}

.legal-main {
  padding: 72px 0 96px;
  min-height: calc(100vh - 200px);
}

.legal-content {
  max-width: 680px;
  margin-inline: auto;
}

.legal-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.version-date {
  font-size: 0.75rem;
  font-weight: 400;
  color: #94a3b8;
  margin-inline-start: 8px;
}

.legal-content h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-content h3 {
  font-size: 0.93rem;
  font-weight: 600;
  color: #334155;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-inline-start: 1.5em;
  margin-bottom: 12px;
}

.legal-content li {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 4px;
}

.legal-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #1d4ed8;
}

/* ===== Site Nav（常時表示） ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 16px rgba(15, 23, 42, 0.05);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 24px;
  flex-wrap: nowrap;
}

.site-nav-brand {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav-brand:hover {
  opacity: 0.65;
}

.site-nav-brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 27.5%;
  vertical-align: middle;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.site-nav-links a {
  font-size: 0.8rem;
  color: #64748b;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s;
}

.site-nav-links a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

/* ===== Site Nav 右側アクション（言語トグル + ハンバーガー） ===== */
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ===== Language Select ===== */
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  /* 矢印はネイティブ描画を消して CSS で描く（--dark でも色が合うよう currentColor） */
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    right 12px top 50%,
    right 8px top 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  border: 1px solid rgba(15, 23, 42, 0.18);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 22px 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    color 0.15s,
    background-color 0.15s,
    border-color 0.15s;
  font-family: inherit;
}

.lang-select:hover {
  color: #0f172a;
  background-color: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.3);
}

/* ===== Hamburger Button ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.nav-hamburger.is-open .nav-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open .nav-hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open .nav-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Menu Overlay ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .nav-hamburger {
    display: flex;
  }

  .site-nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    padding: 8px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s ease,
      opacity 0.25s ease;
    z-index: 100;
  }

  .site-nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav-links a {
    font-size: 0.9rem;
    padding: 14px 24px;
    border-radius: 0;
    color: #0f172a;
  }

  .site-nav-links a:hover,
  .site-nav-links a:active {
    background: rgba(15, 23, 42, 0.05);
  }

  .nav-overlay {
    display: block;
  }

  .hero {
    padding: 120px 0 88px;
  }

  .usecases {
    padding: 56px 0;
  }

  .usecase-item {
    padding: 18px 8px 18px 16px;
  }

  .usecase-emoji {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .features {
    padding: 72px 0 88px;
  }

  .feature-pairs {
    gap: 80px;
    margin-top: 56px;
  }

  .feature-pair {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  /* モバイルでは常に画像を上に */
  .feature-pair:nth-child(even) .feature-pair-visual {
    order: 0;
  }

  .feature-pair:nth-child(even) .feature-pair-content {
    order: 0;
  }

  .feature-pair-content {
    max-width: 100%;
    margin-inline: auto;
  }

  .screenshot-frame {
    width: 200px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .footer-links span[aria-hidden='true'] {
    display: none;
  }

  .footer-links a {
    padding: 4px 8px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .feature-pair {
    gap: 48px;
  }

  .screenshot-frame {
    width: 220px;
  }

  .feature-pair-content {
    max-width: 360px;
  }
}

/* ===== Guide / 記事ページ ===== */
.article-main {
  padding: 104px 0 48px;
}

.article,
.guide-index {
  max-width: 720px;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.breadcrumb a {
  color: #64748b;
}

.breadcrumb a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.article-title {
  margin-top: 16px;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.article-date {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.article-heading {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.article-heading .article-title {
  margin-top: 0;
}

.article-heading-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff7ed;
}

@media (max-width: 600px) {
  .article-heading {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .article-heading-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }
}

.article-lead {
  margin-top: 20px;
  font-size: 1.02rem;
  color: #475569;
}

.article-body {
  margin-top: 8px;
}

.article-body p {
  margin: 16px 0;
  color: #334155;
}

.article-body h2 {
  margin: 44px 0 4px;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
}

.article-body ul {
  margin: 16px 0;
  padding-inline-start: 1.4em;
  color: #334155;
}

.article-body li {
  margin: 8px 0;
}

.article-body a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: #1d4ed8;
}

/* 記事内テーブル（結婚記念日一覧など） */
.article-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-table th,
.article-table td {
  padding: 10px 14px;
  text-align: start;
}

.article-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.article-table tbody tr + tr td {
  border-top: 1px solid #eef2f7;
}

.article-table td:first-child {
  white-space: nowrap;
  color: #64748b;
}

/* 記事内スクリーンショット（LPトップと同じ .screenshot-frame を流用） */
.article-figure {
  margin: 52px auto 56px;
  display: flex;
  justify-content: center;
}

/* 記事ページにはライトボックスがないため、LP用の zoom-in / hover 演出を打ち消す */
.article-figure .screenshot-frame {
  cursor: default;
  will-change: auto;
}

.article-figure .screenshot-frame:hover {
  transform: none;
}

/* 記事末尾の CTA */
.article-cta {
  margin-top: 56px;
  padding: 36px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #dbeafe;
  text-align: center;
}

.article-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 27.5%;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.article-cta-title {
  font-size: 1.08rem;
  font-weight: 800;
}

.article-cta-sub {
  margin: 8px 0 18px;
  font-size: 0.9rem;
  color: #64748b;
}

.article-backlink {
  margin-top: 32px;
  font-size: 0.88rem;
}

.article-backlink a {
  color: #64748b;
}

.article-backlink a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* 日本語の記事詳細。見出しは広く、本文は読みやすい行長に絞る。 */
.article-main--editorial {
  padding: 148px 0 96px;
}

.article-main--editorial .article {
  max-width: 760px;
}

.article-main--editorial .breadcrumb {
  line-height: 1.8;
}

.article-main--editorial .article-heading {
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 40px;
  margin-top: 56px;
}

.article-main--editorial .article-heading-image {
  order: 2;
}

.article-main--editorial .article-title {
  margin-top: 56px;
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.025em;
  color: #334155;
  overflow-wrap: anywhere;
}

.article-main--editorial .article-heading .article-title {
  margin-top: 0;
}

.article-main--editorial .article-date {
  margin-top: 28px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  letter-spacing: 0.04em;
}

.article-main--editorial .article-body {
  max-width: 680px;
  margin: 48px auto 0;
  line-height: 2;
}

.article-main--editorial .article-body p {
  margin: 24px 0;
}

.article-main--editorial .article-body .article-lead {
  margin: 0 0 48px;
  font-size: 1.0625rem;
  color: #475569;
}

.article-main--editorial .article-body h2 {
  margin: 64px 0 20px;
  font-size: 1.35rem;
  line-height: 1.7;
  color: #334155;
}

.article-main--editorial .article-body ul,
.article-main--editorial .article-body ol {
  margin: 24px 0;
  padding-inline-start: 1.5em;
  color: #334155;
}

.article-main--editorial .article-body li {
  margin: 12px 0;
  padding-inline-start: 0.2em;
}

.article-main--editorial .article-figure {
  margin-block: 64px;
}

.article-main--editorial .article-cta {
  margin-top: 80px;
  padding: 40px 28px;
  border-color: #e2e8f0;
  border-radius: 16px;
  background: #f9fafb;
}

.article-main--editorial .article-backlink {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 600px) {
  .article-main--editorial {
    padding: 112px 0 64px;
  }

  .article-main--editorial .article-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .article-main--editorial .article-heading-image {
    order: 0;
  }

  .article-main--editorial .article-title {
    margin-top: 32px;
    font-size: 1.65rem;
    line-height: 1.65;
  }

  .article-main--editorial .article-date {
    margin-top: 24px;
    padding-bottom: 32px;
  }

  .article-main--editorial .article-body {
    margin-top: 32px;
    line-height: 1.95;
  }

  .article-main--editorial .article-body p {
    margin-block: 20px;
  }

  .article-main--editorial .article-body .article-lead {
    margin-bottom: 36px;
    font-size: 1rem;
  }

  .article-main--editorial .article-body h2 {
    margin: 48px 0 16px;
    font-size: 1.2rem;
  }

  .article-main--editorial .article-cta {
    margin-top: 56px;
    padding: 32px 20px;
  }
}

/* ガイド記事一覧カード */
.guide-list {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.guide-card {
  display: block;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.guide-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.guide-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
}

.guide-card-desc {
  margin-top: 6px;
  font-size: 0.86rem;
  color: #64748b;
}

/* 記事一覧のイラスト付きカード（全言語共通） */
.guide-index--illustrated {
  max-width: 800px;
}

.guide-index--illustrated .guide-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 28px;
  margin-bottom: 40px;
}

.guide-card--illustrated {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  transition: background-color 0.18s ease;
}

.guide-card--illustrated:hover {
  background: #f9fafb;
  border-color: #e2e8f0;
  box-shadow: none;
  transform: none;
}

.guide-card--illustrated .guide-card-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff7ed;
}

.guide-card-copy {
  position: relative;
  min-width: 0;
  padding-right: 28px;
}

.guide-card--illustrated .guide-card-title {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #334155;
}

.guide-card--illustrated .guide-card-desc {
  margin-top: 6px;
  line-height: 1.75;
}

.guide-card-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}

.guide-card--illustrated:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .guide-index--illustrated .guide-list {
    margin-top: 20px;
  }

  .guide-card--illustrated {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px 0;
  }

  .guide-card--illustrated .guide-card-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }

  .guide-card-copy {
    padding-right: 0;
  }

  .guide-card-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-card--illustrated {
    transition: none;
  }

  .guide-card--illustrated:hover {
    transform: none;
  }
}

/* LP 内の読みものセクション */
.guides {
  padding: 80px 0;
  background: #fffaf5;
}

.guides .guide-list {
  max-width: 720px;
  margin-inline: auto;
}

/* LP内の「アプリの使い方 / ライフハック」入口 */
.guide-category-grid {
  max-width: 720px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-category-card {
  display: flex;
  min-height: 244px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #fff7ed);
  transition:
    border-color 0.18s,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.guide-category-card:hover {
  border-color: #fdba74;
  box-shadow: 0 12px 28px rgba(154, 52, 18, 0.12);
  transform: translateY(-2px);
}

.guide-category-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c2410c;
}

.guide-category-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #0f172a;
}

.guide-category-card p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
}

.guide-category-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c2410c;
}

.guides-more {
  margin-top: 28px;
  text-align: center;
}

.guides-more a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c2410c;
}

.guides-more a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .guide-category-grid {
    grid-template-columns: 1fr;
  }

  .guide-category-card {
    min-height: 0;
    padding: 24px;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0 100px;
  background: #fff;
}

.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s ease;
}

.faq-item:hover {
  border-color: #bfdbfe;
}

.faq-item summary {
  padding: 18px 48px 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 500;
  color: #64748b;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item-a {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .faq {
    padding: 64px 0 80px;
  }

  .faq-item summary {
    padding: 16px 44px 16px 18px;
    font-size: 0.94rem;
  }

  .faq-item-a {
    padding: 0 18px 16px;
  }
}

/* ===== Share landing (/s/<code>) ===== */
.share-main {
  background: #f9fafb;
  padding: 56px 0 88px;
  min-height: calc(100vh - 300px);
}

.share-card {
  width: min(100%, 520px);
  margin-inline: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.share-card .app-icon {
  margin: 0 auto 20px;
}

/* img は Reset で display: block のため text-align では中央に来ない。
   サイズも hero 用の 120px を上書きして控えめにする */
.share-card .app-icon img {
  width: 84px;
  height: 84px;
  margin: 0 auto;
}

.share-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.share-lead {
  margin-top: 12px;
  color: #475569;
  font-size: 0.96rem;
}

.share-code-box {
  margin-top: 28px;
  padding: 18px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.share-code-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.share-code {
  display: block;
  margin-top: 6px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0f172a;
  /* 8文字＋ハイフンが狭い端末でも折り返さないように */
  white-space: nowrap;
}

.btn-open-app {
  display: block;
  margin-top: 24px;
  padding: 16px 24px;
  background: #007aff;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.btn-open-app:hover {
  background: #0069d9;
}

.share-hint {
  margin-top: 14px;
  color: #64748b;
  font-size: 0.86rem;
}

.share-store {
  width: min(100%, 520px);
  margin: 32px auto 0;
  text-align: center;
}

.share-store-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.share-steps {
  margin: 16px auto 24px;
  padding-inline-start: 1.4em;
  max-width: 400px;
  text-align: start;
  color: #475569;
  font-size: 0.92rem;
}

.share-steps li + li {
  margin-top: 8px;
}

.share-store .btn-store {
  margin-inline: auto;
}

.share-expiry {
  margin-top: 24px;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .share-main {
    padding: 32px 0 64px;
  }

  .share-card {
    padding: 32px 20px 28px;
  }

  .share-title {
    font-size: 1.3rem;
  }

  .share-code {
    font-size: 1.5rem;
  }
}

/* ===== Security（安全性） ===== */
.security {
  padding: 24px 0 96px;
  background: #fff;
}

.security-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
}

.security-card {
  background: #fff;
  border: 1px solid #f3e7da;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(154, 52, 18, 0.05);
  text-align: start;
}

.security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff7ed;
}

.security-icon svg * {
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-icon .sb {
  fill: #fff;
  stroke: #334155;
}

.security-icon .sl {
  fill: none;
  stroke: #334155;
}

.security-icon .so {
  fill: none;
  stroke: #f97316;
}

.security-card h3 {
  margin-top: 18px;
  text-wrap: balance;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
}

.security-card p {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #64748b;
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .security {
    padding: 8px 0 72px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .security-card {
    padding: 22px 20px;
  }
}

/* ===== Devices（マルチデバイス対応） ===== */
.devices {
  padding: 96px 0 72px;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 55%, #fff 100%);
  overflow: hidden;
}

.devices-sub {
  max-width: 560px;
}

.device-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 0;
}

.device-chips li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 100px;
  padding: 6px 14px;
}

.devices-visual {
  margin-top: 48px;
}

/* 端末の並び順は画像そのものなので RTL でも反転させない */
.devices-visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .devices {
    padding: 72px 0 48px;
  }

  .devices-visual {
    margin-top: 32px;
    /* スマホ幅では端末が小さくなりすぎるので、左右を少しはみ出させて大きく見せる */
    margin-inline: -16px;
  }
}
