:root {
  --red: #e60012;
  --red-deep: #c40010;
  --ink: #1a1a1a;
  --muted: #5c6470;
  --line: #f0d4dc;
  --paper: rgba(255, 255, 255, .78);
  --sky: #ffd6e8;
  --blush: #ffe8f1;
  --mist: rgba(255, 240, 246, .85);
  --pink-a: #ffe0ec;
  --pink-b: #ffc9dc;
  --pink-c: #fff0f6;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --display: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  background:
    radial-gradient(1200px 600px at 10% -5%, #ffd0e4 0%, transparent 55%),
    radial-gradient(900px 500px at 95% 20%, #ffc2d9 0%, transparent 50%),
    radial-gradient(800px 480px at 50% 100%, #ffe4ef 0%, transparent 55%),
    linear-gradient(165deg, var(--pink-a) 0%, var(--pink-c) 38%, var(--pink-b) 72%, #ffd8e8 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 236, 244, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 100, 140, .12);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.logo-mark.sm { width: 28px; height: 28px; font-size: 14px; }

.logo-text { font-size: 16px; }

.nav-desktop {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav-desktop a { opacity: .78; }
.nav-desktop a:hover { opacity: 1; color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(230,0,18,.28);
}

.btn-primary:hover { background: var(--red-deep); }

.btn-outline {
  border: 1.5px solid var(--red);
  color: var(--red);
  background: #fff;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 36px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 12% 18%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(105deg, #ffd2e4 0%, #ffe8f2 42%, #ffc8dc 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.25;
  letter-spacing: .01em;
  font-weight: 700;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  max-width: 34em;
}

.cta-label {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
}

.cta-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  height: 460px;
}

.polaroid {
  position: absolute;
  width: min(250px, 58%);
  background: #fff;
  padding: 12px 12px 36px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(30,40,60,.18);
  overflow: hidden;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}

.polaroid.p1 {
  right: 8%;
  top: 8%;
  transform: rotate(6deg);
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}

.polaroid.p2 {
  left: 4%;
  top: 18%;
  transform: rotate(-8deg);
  z-index: 2;
  width: min(220px, 50%);
  animation: floaty 7.5s ease-in-out infinite reverse;
}

.polaroid.p3 {
  right: 18%;
  bottom: 0;
  transform: rotate(2deg);
  z-index: 1;
  width: min(200px, 46%);
  opacity: .95;
  animation: floaty 8s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.stats-bar {
  background: linear-gradient(90deg, rgba(255, 200, 220, .55), rgba(255, 230, 240, .7), rgba(255, 190, 215, .55));
  text-align: center;
  padding: 18px 16px;
  font-size: 14px;
  color: #5a3a48;
}

.stats-bar strong {
  font-size: 1.15em;
  color: var(--ink);
  font-weight: 700;
}

.intro-block,
.features,
.works,
.howto,
.scenes,
.faq,
.final-cta {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--paper);
  border-radius: 36px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(40,60,90,.08);
  border: 1px solid rgba(0,0,0,.04);
}

.panel-media {
  position: relative;
}

.panel-media > img:first-child {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.panel-float {
  position: absolute;
  width: 42%;
  right: -8%;
  bottom: -10%;
  border-radius: 14px;
  border: 6px solid #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  aspect-ratio: 3/4;
  object-fit: cover;
  animation: floaty 5.5s ease-in-out infinite;
}

.panel-copy h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
}

.panel-copy p {
  margin: 0 0 24px;
  color: var(--muted);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.section-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
}

.section-head { margin-bottom: 8px; }

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: -12px 0 36px;
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article {
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255, 236, 244, .75));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(40,60,90,.1);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(230,0,18,.08);
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.works {
  padding-top: 24px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.work-card {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(30,40,60,.14);
}

.work-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.work-card figcaption {
  padding: 10px 12px 12px;
  font-size: 12px;
  color: var(--muted);
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-inline: auto;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--mist);
  border-radius: 18px;
  padding: 20px 22px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.steps h3 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.scene-list {
  display: grid;
  gap: 18px;
}

.scene {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding-right: 22px;
}

.scene img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.scene h3 { margin: 0 0 8px; font-size: 18px; }
.scene p { margin: 0; color: var(--muted); font-size: 14px; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding-bottom: 80px;
}

.final-inner {
  text-align: center;
  border-radius: 32px;
  padding: 56px 24px;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(120deg, #ffd0e4, #ffeaf3 45%, #ffc4db);
}

.final-inner h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.35;
}

.final-inner p {
  margin: 0 0 24px;
  color: var(--muted);
}

.site-footer {
  background: #111827;
  color: #cbd5e1;
  padding: 40px 16px 48px;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-inner p { margin: 0 0 6px; font-size: 13px; }
.copy { opacity: .65; margin-top: 16px !important; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hero-inner,
  .panel,
  .feature-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { height: 380px; order: -1; }
  .panel-float { right: 4%; bottom: -6%; }
  .scene { grid-template-columns: 140px 1fr; padding-right: 14px; }
  .scene img { height: 120px; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 56px; }
  .btn-primary { width: 100%; font-size: 14px; padding: 0 16px; }
  .hero { padding-top: 28px; }
  .hero-visual { height: 320px; }
  .polaroid.p3 { display: none; }
  .intro-block,
  .features,
  .works,
  .howto,
  .scenes,
  .faq,
  .final-cta { padding: 44px 0; }
  .panel { padding: 20px; border-radius: 24px; }
  .scene { grid-template-columns: 1fr; padding: 0; }
  .scene img { height: 180px; }
  .scene > div { padding: 0 16px 16px; }
}
