:root {
  --blue: #0059b8;
  --blue2: #0d7fe8;
  --navy: #082f68;
  --ink: #153553;
  --muted: #657b93;
  --line: #d6e7f5;
  --soft: #f3faff;
  --white: #fff;
  --shadow: 0 16px 44px rgba(18, 79, 130, 0.1);
  --radius: 28px;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8f0f7;
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img {
  width: 98px;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}
.global-nav a {
  padding: 28px 0 24px;
  border-bottom: 3px solid transparent;
}
.global-nav a.active {
  color: var(--blue2);
  border-color: var(--blue2);
}
.contact-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--navy);
}
.section-space {
  padding: 118px 0;
}
.section-soft {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8ff 100%);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue2);
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 13px;
}
.section-heading {
  max-width: 870px;
  margin-bottom: 54px;
}
.section-heading h2,
.tool-copy h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.section-heading p,
.tool-copy p,
.contact p {
  font-size: 18px;
  color: #4f6881;
}
.hero {
  padding-top: 72px;
  background:
    radial-gradient(circle at 80% 20%, #eaf7ff 0, transparent 34%),
    linear-gradient(180deg, #fff, #f6fbff);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 70px;
}
.hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.hero-lead {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin: 30px 0 16px;
}
.hero-text {
  font-size: 18px;
  color: #587088;
  max-width: 480px;
}
.hero-visual {
  min-width: 0;
}
.hero-visual img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(13, 63, 108, 0.16));
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.hero-features article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 130px;
  box-shadow: 0 8px 26px rgba(35, 89, 132, 0.06);
}
.hero-features span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e7f4ff;
  color: var(--blue2);
  font-weight: 900;
}
.hero-features h3 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}
.source-image-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.tablet-size-panel img {
  width: min(820px, 100%);
  margin: auto;
  object-fit: contain;
}
.asset-note {
  font-size: 13px;
  color: #7790a7;
  text-align: center;
  margin: 18px 0 0;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.store-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(28, 80, 125, 0.07);
}
.store-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
}
.store-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
}
.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.flow-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(23, 78, 120, 0.06);
}
.flow-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
}
.flow-card h3 {
  text-align: center;
  margin: 14px 0 2px;
  color: var(--navy);
  font-size: 17px;
}
.flow-arrow {
  font-size: 34px;
  color: var(--blue2);
  font-weight: 900;
}
.approved-design {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.approved-design img {
  width: 100%;
  height: auto;
}
.payment-start {
  max-width: 620px;
  margin: 0 auto 50px;
  position: relative;
}
.payment-start img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.branch-label {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  white-space: nowrap;
}
.payment-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 72px;
}
.payment-branch {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.payment-branch h3 {
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 12px;
}
.payment-branch p {
  font-size: 17px;
  color: #546d84;
}
.branch-num {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #e7f4ff;
  color: var(--blue2);
  border-radius: 50%;
  font-weight: 900;
}
.payment-branch.qr img {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.payment-complete {
  margin-top: 18px;
  background: #e8f7ef;
  color: #19794f;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-weight: 900;
}
.receipt-illustration {
  display: grid;
  place-items: center;
  margin-top: 34px;
}
.printer-body {
  width: 220px;
  height: 145px;
  background: linear-gradient(145deg, #1d252c, #0b1014);
  border-radius: 18px 18px 24px 24px;
  padding: 0 34px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}
.receipt {
  transform: translateY(-22px);
  background: #fff;
  border: 1px solid #ccc;
  padding: 16px 12px;
  text-align: center;
  color: #24384a;
  font-weight: 900;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.partner-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 84, 125, 0.06);
}
.partner-card strong {
  display: block;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}
.partner-card span {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
}
.partner-card .partner-name {
  color: #a35326;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.tool-copy p {
  max-width: 690px;
}
.tool-mockup {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.monitor {
  width: min(520px, 100%);
  margin: auto;
}
.monitor-screen {
  aspect-ratio: 16/10;
  background: #eff6fb;
  border: 14px solid #1b2229;
  border-radius: 16px;
  padding: 14px;
}
.toolbar {
  height: 38px;
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  color: #55728c;
}
.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.editor-grid span {
  aspect-ratio: 1.2;
  background: linear-gradient(135deg, #f4d7a4, #e8b85c);
  border-radius: 8px;
}
.monitor-stand {
  width: 110px;
  height: 36px;
  border-bottom: 18px solid #1b2229;
  margin: auto;
}
.cloud-grid {
  align-items: center;
}
.price-box {
  display: grid;
  gap: 7px;
  margin-top: 30px;
  padding: 24px 28px;
  background: #eef8ff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.price-box strong {
  font-size: 20px;
  color: var(--navy);
}
.price-box span {
  font-weight: 800;
}
.price-box small {
  color: #71879c;
}
.cloud-diagram {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: radial-gradient(circle, #edf8ff 0, #fff 65%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cloud {
  font-size: 92px;
  color: var(--blue2);
  filter: drop-shadow(0 10px 14px rgba(0, 112, 220, 0.15));
}
.cloud-line {
  width: 2px;
  height: 70px;
  background: var(--blue2);
}
.stores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stores span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 62px;
  border: 2px solid var(--blue2);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.contact {
  background: linear-gradient(135deg, #e7f5ff, #dff1ff);
}
.contact-inner {
  display: grid;
  gap: 38px;
}
.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(31, 94, 141, 0.08);
}
.contact-card small {
  display: block;
  color: var(--blue2);
  font-weight: 800;
  margin-bottom: 7px;
}
.contact-card strong {
  font-size: 20px;
  color: var(--navy);
}
.site-footer {
  padding: 30px 0;
  border-top: 1px solid #e7eff6;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-inner img {
  width: 84px;
}
.footer-inner p {
  font-size: 12px;
  color: #8395a6;
}
@media (max-width: 980px) {
  .hero-features .feature-break {
    display: none;
  }

  .global-nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .contact-btn {
    display: none;
  }
  .hero-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-text {
    margin-inline: auto;
  }
  .hero-features {
    grid-template-columns: 1fr 1fr;
  }
  .store-grid {
    grid-template-columns: 1fr 1fr;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-actions {
    grid-template-columns: 1fr;
  }
  .payment-branches {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }
  .section-space {
    padding: 82px 0;
  }
  .header-inner {
    height: 68px;
  }
  .brand img {
    width: 82px;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-grid {
    gap: 34px;
  }
  .hero-copy h1 {
    font-size: 52px;
  }
  .hero-lead {
    font-size: 23px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading h2,
  .tool-copy h2,
  .contact h2 {
    font-size: 34px;
  }
  .section-heading p,
  .tool-copy p {
    font-size: 16px;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .payment-branch {
    padding: 24px;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .approved-design {
    border-radius: 18px;
  }
  .source-image-panel {
    padding: 18px;
  }
  .tablet-size-panel img {
    width: 100%;
  }
  .stores {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .flow-card h3 {
    font-size: 16px;
  }
}
@media (max-width: 980px) {
  .global-nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 18px;
    box-shadow: var(--shadow);
  }
  .global-nav.open a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid #edf3f8;
  }
  .global-nav.open a:last-child {
    border-bottom: 0;
  }
}
/* Replaceable tablet placeholders for authoring-tool sections */
.replaceable-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  display: block;
  margin: auto;
}
