/* Theme */
:root {
  --blue: #0d5ea6;
  --blue2: #083b69;
  --sky: #eaf5ff;
  --white: #fff;
  --coral: #f19a7a;
  --ink: #12202d;
  --muted: #617182;
  --line: #dce7f0;
  --max: 1180px;
  --r: 28px;
}

/* Base and shared layout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",Meiryo,sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 34px),var(--max));
  margin: auto;
}

.section {
  padding: 108px 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--blue);
  text-transform: uppercase;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px,7vw,92px);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(34px,5vw,64px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

h3 {
  line-height: 1.3;
}

.muted {
  color: var(--muted);
}

/* Scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--coral);
  width: 0;
  z-index: 100;
}

/* Header and navigation */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: .3s;
}

header.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.head {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand small {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  transition: .25s;
}

.nav-cta:hover,.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13,94,166,.24);
}

.btn.light {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  background: linear-gradient(135deg,#fff 0%,#fff 58%,var(--sky) 58%,var(--sky) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.price-badge {
  display: flex;
  gap: 34px;
  align-items: end;
  margin-top: 34px;
}

.price-badge strong {
  font-size: 52px;
  line-height: 1;
  color: var(--blue);
}

.price-badge small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.device {
  position: relative;
}

.browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 35px 90px rgba(8,59,105,.18);
  overflow: hidden;
  transform: rotate(1.5deg);
  transition: .25s;
}

.browser:hover {
  transform: rotate(0) translateY(-5px);
}

.browser-top {
  height: 42px;
  background: #f6f9fc;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
}

.browser-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9c9d7;
}

.mock {
  padding: 42px;
  background: linear-gradient(160deg,#fff 0 55%,#dbeeff 55%);
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue2);
}

.mock h3 {
  font-size: 46px;
  margin: 70px 0 22px;
  letter-spacing: -.04em;
}

.mock p {
  max-width: 420px;
  color: var(--muted);
}

.mock-card {
  margin-top: 36px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(8,59,105,.12);
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 20px;
  align-items: center;
}

.mock-pic {
  height: 110px;
  border-radius: 16px;
  background: linear-gradient(135deg,var(--coral),#ffd9cb);
}

.float {
  position: absolute;
  border-radius: 20px;
  padding: 14px 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8,59,105,.15);
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}

.f1 {
  right: -20px;
  top: 9%;
}

.f2 {
  left: -26px;
  bottom: 7%;
  animation-delay: 1s;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }

}

/* Service */
.intro {
  background: var(--blue2);
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.intro p {
  color: #d7e8f7;
  font-size: 18px;
}

.intro-title {
  font-size: clamp(22px,2.4vw,34px);
  line-height: 1.45;
  margin: 0 0 28px;
  color: #fff;
  letter-spacing: -.02em;
}

.number {
  font-size: 13px;
  letter-spacing: .15em;
  color: #9ec7e9;
}

/* Pricing */
.pricing {
  background: #fff;
}

.price-hero {
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 20px 60px rgba(8,59,105,.08);
}

.price-main {
  padding: 48px;
  background: var(--blue);
  color: #fff;
}

.price-main .big {
  font-size: 84px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.price-main .big small {
  font-size: 28px;
}

.price-main p {
  color: #d8eafe;
}

.price-side {
  padding: 48px;
  background: #fff;
}

.price-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.price-side li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-side li:before {
  content: '✓';
  color: var(--blue);
  font-weight: 900;
}

.notice {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--sky);
  color: var(--blue2);
  font-weight: 800;
}

/* Section cards */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 48px;
}

.section-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: .25s;
}

.section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(8,59,105,.1);
}

.section-card b {
  font-size: 12px;
  color: var(--blue);
  letter-spacing: .12em;
}

.section-card h3 {
  margin-top: 42px;
}

/* Included features */
.included {
  background: var(--sky);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 40px;
}

.included-item {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #d8e8f5;
}

.included-item strong {
  display: block;
  margin-bottom: 6px;
}

.included-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Options */
.options-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.options {
  border-top: 1px solid var(--line);
}

.option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.option strong {
  font-size: 17px;
}

.option p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.option .amount {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  white-space: nowrap;
}

/* Original website */
.original {
  background: var(--blue2);
  color: #fff;
}

.original-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}

.original-card .big {
  font-size: 56px;
  font-weight: 900;
}

.original-card p {
  color: #d7e8f7;
  margin-bottom: 0;
}

/* Production flow */
.flow {
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
  margin-top: 42px;
}

.flow-card {
  padding: 24px;
  border-radius: 22px;
  background: #f7fbff;
  border: 1px solid var(--line);
  min-height: 220px;
}

.flow-card b {
  color: var(--blue);
  font-size: 12px;
}

.flow-card h3 {
  margin-top: 42px;
}

.flow-card p {
  font-size: 14px;
  color: var(--muted);
}

.release {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 20px;
  background: #fff3ee;
  border: 1px solid #ffd9ca;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.release strong {
  font-size: 24px;
  color: #b45131;
}

/* FAQ */
.faq {
  background: var(--sky);
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin: 14px 0 4px;
}

/* Contact */
.service-title {
  display: flex;
  flex-direction: column;
  gap: .08em;
  line-height: .92;
  letter-spacing: -.055em;
}

.service-title>span {
  display: block;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: -.055em;
  margin-left: 0;
}

.final-section {
  height: 100svh;
  min-height: 720px;
  background: var(--blue);
  color: #fff;
  margin: 0;
  overflow: hidden;
}

.final-stage {
  position: relative;
  height: 100%;
  width: 100%;
  padding: clamp(54px,7vw,108px) clamp(28px,6.5vw,104px);
}

.final-en {
  font-size: clamp(58px,9.15vw,144px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.065em;
  max-width: 1240px;
}

.final-ja {
  position: absolute;
  left: clamp(28px,6.5vw,104px);
  bottom: clamp(105px,13vh,175px);
  font-size: clamp(24px,3vw,46px);
  line-height: 1.95;
  font-weight: 300;
  letter-spacing: .01em;
}

.final-btn {
  position: absolute;
  right: clamp(28px,6.5vw,104px);
  bottom: clamp(34px,5vh,58px);
  display: inline-flex;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  transition: .25s;
}

.final-btn:hover {
  background: #fff;
  color: var(--blue);
  transform: translateY(-2px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease,transform .8s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Responsive: tablet */
@media(max-width:900px) {
  nav {
    display: none;
  }

  .menu {
    display: block;
  }

  nav.open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,.intro-grid,.price-hero,.options-wrap,.original-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .sections-grid,.included-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .device {
    margin-top: 20px;
  }

  .f1 {
    right: 0;
  }

  .f2 {
    left: 0;
  }

}

/* Responsive: mobile */
@media(max-width:560px) {
  .final-section {
    min-height: 680px;
  }

  .final-stage {
    padding: 76px 24px 28px;
  }

  .final-en {
    font-size: 16.5vw;
    line-height: .93;
  }

  .final-ja {
    left: 24px;
    right: 24px;
    bottom: 128px;
    font-size: 24px;
    line-height: 1.8;
  }

  .final-btn {
    right: 24px;
    bottom: 28px;
  }

  .section {
    padding: 78px 0;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .sections-grid,.included-grid,.flow-grid {
    grid-template-columns: 1fr;
  }

  .price-main,.price-side {
    padding: 32px 24px;
  }

  .price-main .big {
    font-size: 64px;
  }

  .mock {
    padding: 25px;
  }

  .mock h3 {
    font-size: 34px;
    margin-top: 45px;
  }

  .price-badge strong {
    font-size: 44px;
  }

  .option {
    grid-template-columns: 1fr;
  }

  .release {
    display: block;
  }

}

/* Hero price */
.hero-price-text {
  display: inline-block;
  margin-top: .08em;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: -.045em;
}

/* Hero heading */
.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .06em;
}

.hero-heading>span {
  display: block;
  white-space: nowrap;
}

.hero-heading .hero-price-text {
  margin-top: .08em;
}

/* Responsive: hero heading */
@media(max-width:720px) {
  .hero-heading>span {
    white-space: normal;
  }

}

/* Styles moved from HTML attributes. */
.sections-heading {
  margin-top: 70px;
}

.original-eyebrow {
  color: #9fd0f4;
}

.release-note {
  margin: 4px 0 0;
}
