/* ============================================================
   Docco — 収納管理アプリ  Landing Page
   Built on the Natural Beige design system (tokens via ../styles.css).
   3-color text rule:  eyebrow #8a7050 · heading #4c2217 · accent #c2929a
   ============================================================ */

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

:root {
  --lp-accent: #c2929a;          /* sakura-600 */
  --lp-accent-soft: #d6a7ac;     /* sakura-500 */
  --lp-eyebrow: #8a7050;         /* kraft-700  */
  --lp-ink: #4c2217;             /* espresso-800 */
  --lp-body: #6e4b3a;            /* espresso-600 */
  --lp-muted: #8a6a55;           /* espresso-500 */
  --lp-max: 1160px;
  --lp-pad: clamp(20px, 5vw, 80px);
  --sakura-fill: #e6c2c4;
  --sakura-line: #d6a7ac;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-jp-gothic);
  color: var(--lp-body);
  background: linear-gradient(178deg, #faf5ec 0%, #f6eee2 46%, #f1ece2 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
  line-height: var(--jp-line);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--lp-max); margin-inline: auto; padding-inline: var(--lp-pad); }

/* ---- shared type ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.18em; color: var(--lp-eyebrow);
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 38px; height: 3px; border-radius: 2px; background: var(--lp-eyebrow); }
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--font-jp-mincho); color: var(--lp-ink); font-weight: 700; margin: 0; }
.accent { color: var(--lp-accent); }

.h-sec {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.4; letter-spacing: 0.01em; text-wrap: balance;
}
.lead {
  font-family: var(--font-jp-gothic); color: var(--lp-body);
  font-size: clamp(16px, 1.9vw, 20px); line-height: 1.95; margin: 22px 0 0;
  text-wrap: pretty; font-weight: 400;
}

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-jp-gothic); font-weight: 700; font-size: 17px;
  padding: 17px 34px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--dur-quick) var(--ease-soft), filter var(--dur-quick) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
  white-space: nowrap;
}
.btn-primary { background: var(--lp-accent); color: #fff; box-shadow: 0 12px 28px rgba(194,146,154,0.4); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(0.97); box-shadow: 0 16px 34px rgba(194,146,154,0.5); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { background: #fff; color: var(--lp-ink); border-color: rgba(110,75,58,0.18); box-shadow: var(--shadow-tile); }
.btn-ghost:hover { transform: translateY(-2px); }

/* store badge buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--lp-ink); color: #fff; border-radius: 16px; padding: 12px 22px;
  transition: transform var(--dur-quick) var(--ease-soft), filter var(--dur-base) var(--ease-soft);
  box-shadow: var(--shadow-card);
  width: 190px;
  justify-content: center;
}
.store-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .sb-top { font-size: 11px; opacity: 0.78; letter-spacing: 0.04em; line-height: 1.2; margin-right: 4px; display: inline-block; }
.store-btn .sb-main { font-size: 19px; font-weight: 700; line-height: 1.15; font-family: var(--font-sans); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  background: rgba(250,245,236,0.72);
  border-bottom: 1px solid rgba(110,75,58,0.08);
  transition: box-shadow var(--dur-base) var(--ease-soft);
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(74,42,28,0.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: var(--shadow-tile); }
.brand .b-name { display: block; font-family: var(--font-jp-gothic); font-weight: 700; font-size: 20px; color: var(--lp-ink); line-height: 1.1; }
.brand .b-sub { display: block; white-space: nowrap; font-size: 12px; color: var(--lp-muted); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--lp-body); transition: color var(--dur-quick); white-space: nowrap; }
.nav-links a:hover { color: var(--lp-accent); }
.nav-cta { padding: 11px 24px; font-size: 15px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--lp-ink); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.28; letter-spacing: 0.01em; text-wrap: balance; }
.hero .lead { font-size: clamp(17px, 2vw, 21px); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--lp-muted); font-weight: 500; }
.hero-trust svg { width: 17px; height: 17px; color: var(--lp-accent); }

.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.hero-glow { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(214,167,172,0.28), transparent 64%); top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 0; }
.hero-photo {
  position: absolute; right: -2%; bottom: 2%; width: 44%; aspect-ratio: 3/4; z-index: 1;
  border-radius: 28px; overflow: hidden; border: 7px solid #fff; box-shadow: var(--shadow-raised);
  transform: rotate(4deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ---- phone frame (shared) ---- */
.phone {
  position: relative; z-index: 2; width: var(--pw, 300px); aspect-ratio: 1080/2190;
  padding: 2%; border-radius: 11% / 5.4%;
  background: linear-gradient(155deg, #fffdf8, #efe6da);
  box-shadow: var(--shadow-device); border: 1px solid rgba(110,75,58,0.10);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 9.4% / 4.7%; display: block; }
.phone.tilt { transform: rotate(-3deg); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { border-block: 1px solid rgba(110,75,58,0.1); background: rgba(255,255,255,0.4); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding-block: 28px; }
.trust-item { display: flex; align-items: center; gap: 16px; justify-content: center; }
.trust-item svg { width: 30px; height: 30px; color: var(--lp-accent); flex: none; }
.trust-item b { font-family: var(--font-jp-gothic); color: var(--lp-ink); font-size: clamp(16px,1.8vw,19px); font-weight: 700; }
.trust-item small { display: block; font-size: 13px; color: var(--lp-muted); font-weight: 400; margin-top: 2px; }
@media (max-width: 760px) { .trust-strip .wrap { grid-template-columns: 1fr; gap: 16px; } .trust-item { justify-content: flex-start; } }

/* ============================================================
   FEATURES — bento grid
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: clamp(40px,5vw,64px); }
.card {
  background: #fff; border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(110,75,58,0.05);
  position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg,#f7ebe1,#f1d8d8); margin-bottom: 22px; }
.card .ic svg { width: 27px; height: 27px; color: var(--lp-accent); }
.card.feature-wide > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.card.feature-wide .ic {
  position: absolute;
  top: 28px;
  left: 36px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-accent);
}

.card.feature-wide h3 {
  margin-top: 0;
  padding-top: 0;
}

.card.feature-wide > div > h3 {
  margin-top: -8px;
}
.card h3 br + * { color: var(--lp-accent); }
/* グラデーション色分け：1行目と2行目で異なる色 */
.card.feature-wide h3 {
  background: linear-gradient(to bottom, var(--lp-ink) 50%, var(--lp-accent) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card p { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--lp-body); }
.card .num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: rgba(194,146,154,0.45); }
.card-photo { margin: 20px -28px -28px; aspect-ratio: 16/10; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; display: block; }
.card-photo.phone-shot { background: linear-gradient(160deg,#f7ede2,#f1e6da); }
.card-photo.phone-shot img { object-position: center top; }

.card.span3 { grid-column: span 3; }
.card.span2 { grid-column: span 2; }
.card.span6 { grid-column: span 6; }
.card.feature-wide { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; padding: 32px; }
.card.feature-wide .phone-wrap { display: flex; justify-content: center; }
.card.feature-wide .phone-wrap .phone { transform: scale(0.85); }
.card.tonal { background: linear-gradient(150deg,#f7ede4,#f3e3da); }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.span3, .card.span2, .card.span6, .card.feature-wide { grid-column: span 2; }
  .card.feature-wide { grid-template-columns: 1fr; }
  .card.feature-wide .phone-wrap { order: -1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .card.span3, .card.span2, .card.span6, .card.feature-wide { grid-column: span 1; } }

/* ---- tap indicator on image ---- */
.tap-indicator {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--lp-accent);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-jp-gothic);
  box-shadow: 0 4px 12px rgba(194, 146, 154, 0.4);
  z-index: 5;
}

/* ---- tap hint indicator ---- */
.tap-hint {
  position: absolute;
  bottom: 15%;
  right: -100px;
  width: 0;
  height: 0;
  z-index: 10;
  color: var(--lp-accent);
}

.tap-rings {
  position: absolute;
  width: 132px;
  height: 132px;
  left: -66px;
  top: -66px;
  color: inherit;
  stroke: currentColor;
}

.tap-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lp-accent);
  left: -22px;
  top: -22px;
  box-shadow: 0 8px 22px rgba(194, 146, 154, 0.53);
}

.tap-dot::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.95;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tap-label {
  position: absolute;
  top: -50px;
  left: 70px;
  white-space: nowrap;
  font-family: var(--font-jp-gothic);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  background: var(--lp-accent);
  border-radius: 999px;
  padding: 12px 24px;
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   BAND (alternating, for あんしん / 大容量 / steps)
   ============================================================ */
.band { position: relative; overflow: hidden; }
.band.cream { background: linear-gradient(160deg,#f7ede2,#f1e6da); }
.band.blush { background: linear-gradient(160deg,#f6e7e2,#efdcd6); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: center; }
.band-grid.flip .band-text { order: 2; }

.pillars { display: grid; gap: 16px; margin-top: 34px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,0.7); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-tile); }
.pillar .pic { width: 46px; height: 46px; border-radius: 13px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--shadow-tile); }
.pillar .pic svg { width: 24px; height: 24px; color: var(--lp-accent); }
.pillar b { font-family: var(--font-jp-gothic); color: var(--lp-ink); font-size: 18px; font-weight: 700; }
.pillar p { margin: 5px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--lp-body); }

.band-art { display: flex; justify-content: center; position: relative; }
.band-art .phone { --pw: clamp(240px, 32vw, 320px); }

@media (max-width: 860px) {
  .band-grid { grid-template-columns: 1fr; }
  .band-grid.flip .band-text { order: 0; }
  .band-art { order: -1; }
}

/* ---- big number ---- */
.bignum { display: flex; align-items: flex-end; gap: 18px; margin: 6px 0 0; }
.bignum .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 16vw, 200px); line-height: 0.84; color: var(--lp-ink); letter-spacing: -0.02em; }
.bignum .man { font-family: var(--font-jp-mincho); font-weight: 700; font-size: clamp(44px,7vw,86px); color: var(--lp-ink); }
.bignum .lab { font-family: var(--font-jp-gothic); font-weight: 700; font-size: clamp(22px,3vw,42px); color: var(--lp-accent); line-height: 1.25; }
.bignum .n:empty, .bignum .man:empty { display: none; }
:root:not([lang="ja"]):not([lang="zh-TW"]) .bignum .n { font-size: clamp(52px, 9vw, 96px); letter-spacing: -0.01em; }
.cap-note { font-size: 13px; color: var(--lp-muted); line-height: 1.7; margin-top: 30px; }

/* item cluster */
.cluster { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cluster .it { width: clamp(96px,13vw,150px); aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #fff; border: 5px solid #fff; box-shadow: var(--shadow-card); }
.cluster .it:nth-child(odd) { transform: rotate(-4deg); }
.cluster .it:nth-child(even) { transform: rotate(4deg) translateY(-8px); }
.cluster .it img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3.5vw,44px); margin-top: clamp(44px,6vw,72px); position: relative; }
.step { text-align: center; }
.step .step-no { width: 50px; height: 50px; border-radius: 50%; background: var(--lp-accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 auto 24px; box-shadow: 0 8px 20px rgba(194,146,154,0.4); }
.step .step-img { width: 100%; aspect-ratio: 1104/2454; border-radius: 24px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: var(--shadow-card); margin-bottom: 24px; }
.step .step-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.step h3 { font-size: clamp(20px,2.3vw,26px); margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--lp-body); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   RECOMMEND / SCENES
   ============================================================ */
.scenes { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: clamp(40px,5vw,60px); }
.scene { background: #fff; border-radius: var(--radius-xl); padding: 32px 34px; box-shadow: var(--shadow-card); display: flex; gap: 20px; align-items: flex-start; transition: transform var(--dur-base) var(--ease-soft); }
.scene:hover { transform: translateY(-3px); }
.scene .s-ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(150deg,#f7ebe1,#f1d8d8); display: grid; place-items: center; flex: none; }
.scene .s-ic svg { width: 25px; height: 25px; color: var(--lp-accent); }
.scene h3 { font-size: 21px; font-family: var(--font-jp-gothic); color: var(--lp-ink); margin-bottom: 8px; }
.scene p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--lp-body); }
@media (max-width: 700px) { .scenes { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING / CTA
   ============================================================ */
.price-cta { position: relative; overflow: hidden; }
.price-card {
  max-width: 720px; margin-inline: auto; text-align: center;
  background: #fff; border-radius: var(--radius-xl); padding: clamp(40px,6vw,72px);
  box-shadow: var(--shadow-raised); border: 1px solid rgba(110,75,58,0.06); position: relative; z-index: 2;
}
.price-tag { display: inline-flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.price-tag .yen { font-family: var(--font-jp-mincho); font-size: 34px; font-weight: 700; color: var(--lp-ink); align-self: center; }
.price-tag .amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(72px,12vw,128px); line-height: 0.9; color: var(--lp-ink); }
.price-tag .per { font-family: var(--font-jp-gothic); font-size: 20px; color: var(--lp-accent); font-weight: 700; }
.price-sub { font-size: 16px; color: var(--lp-body); margin: 0 0 6px; }
.price-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px 0 36px; }
.price-list span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--lp-body); font-weight: 500; }
.price-list svg { width: 18px; height: 18px; color: var(--lp-accent); }
.price-card .stores { justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: clamp(40px,5vw,56px) auto 0; }
.qa { border-bottom: 1px solid rgba(110,75,58,0.14); }
.qa summary {
  list-style: none; cursor: pointer; padding: 26px 8px 26px 0; display: flex; align-items: center; gap: 18px;
  font-family: var(--font-jp-gothic); font-weight: 700; font-size: clamp(16px,2vw,19px); color: var(--lp-ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; font-family: var(--font-display); color: var(--lp-accent); font-size: 22px; font-weight: 700; flex: none; width: 24px; }
.qa summary .chev { margin-left: auto; transition: transform var(--dur-base) var(--ease-soft); color: var(--lp-muted); flex: none; }
.qa[open] summary .chev { transform: rotate(180deg); }
.qa .a { padding: 0 8px 28px 42px; font-size: 15.5px; line-height: 1.9; color: var(--lp-body); }
.qa .a strong { color: var(--lp-ink); font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--lp-ink); color: #e9dcd3; padding-block: clamp(48px,6vw,72px); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer .f-brand { display: flex; align-items: center; gap: 14px; }
.footer .f-brand img { width: 46px; height: 46px; border-radius: 12px; }
.footer .f-brand .b-name { font-family: var(--font-jp-gothic); font-weight: 700; font-size: 21px; color: #fff; }
.footer .f-brand .b-sub { font-size: 12.5px; color: #c5ab9c; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; }
.footer nav a { color: #d8c4b8; transition: color var(--dur-quick); }
.footer nav a:hover { color: #fff; }
.footer .copy { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; margin-top: 8px; font-size: 12.5px; color: #b79a8b; }

/* ---- decorative petals ---- */
.petal { position: absolute; pointer-events: none; z-index: 0; opacity: 0.5; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
}
