:root {
  --paper: #faf9f6;
  --ink: #1d1e1c;
  --muted: #64655f;
  --line: #deded6;
  --accent: #b92e50;
  --soft: #f1f0eb;
  --radius: 18px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
a {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.shell {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  text-decoration: none;
  min-height: 44px;
}
.brand img {
  border-radius: 10px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.contact-link {
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 4px;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: 0;
  border-radius: 99px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  width: 44px;
  min-height: 38px;
  transition:
    background 0.18s,
    color 0.18s;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.hero-visual {
  display: block;
}
.hero-visual img {
  width: 100%;
  height: auto;
}
.hero-copy {
  position: absolute;
  top: 7%;
  left: 4.5%;
  width: 47%;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(28px, 3.2vw, 43px);
  line-height: 1.55;
  letter-spacing: -0.04em;
  margin: 0;
  white-space: pre-line;
  font-weight: 800;
}
.hero-description {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.95;
  margin: 20px 0 24px;
  color: #484944;
}
.store-link {
  display: inline-block;
  border-radius: 9px;
  transition: opacity 0.18s;
}
.store-link:hover {
  opacity: 0.78;
}
.store-badge {
  width: 168px;
  height: 56px;
  object-fit: contain;
}
.micro {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 14px 0 0;
}
.hero-copy .micro {
  color: #4f504b;
  max-width: 340px;
}
.section {
  padding-top: 96px;
}
.section-intro h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.55;
  margin: 0;
}
.section-intro > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 14px 0 0;
}
.services {
  padding-top: 46px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.services .section-intro {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
}
.services .eyebrow {
  margin: 0;
}
.services h2 {
  font-size: 20px;
}
.service-options {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 36px;
  margin-top: 28px;
}
.service-option h3 {
  font-size: 17px;
  margin: 0 0 10px;
  font-weight: 600;
}
.service-option p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.service-option + .service-option {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
.service-names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.services > .micro {
  margin-top: 24px;
}
.steps {
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.steps li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.step-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.step-top svg {
  width: 32px;
  height: 32px;
  color: var(--ink);
}
h3 {
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.steps p,
.use-grid p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
}
.demo {
  margin-top: 56px;
  padding: 36px;
  background: var(--soft);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 40px;
}
.demo h3 {
  font-size: 26px;
  font-weight: 700;
}
.demo-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 300px;
}
.video-container {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  background: #181918;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  gap: 4px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
}
.carousel-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.carousel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  color: var(--ink);
  transition: background 0.18s;
}
.carousel-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-controls button:not(:disabled):hover {
  background: var(--line);
}
/* ネイティブスクロールでスワイプ・キーボード操作を共通化。画像の再生成は行わない。 */
.gallery {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 38px;
  padding: 2px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: #aaa99f transparent;
}
.gallery figure {
  flex: 0 0 calc((100% - 84px) / 4);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 750/1624;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.gallery figcaption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  padding: 18px 2px 0;
}
.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 36px;
}
.use-grid article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.small-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}
.use-grid h3 {
  font-size: 22px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.plan h3 {
  font-size: 24px;
  margin: 0;
}
.plan .small-label {
  color: var(--accent);
}
.plan ul,
.notes ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.plan li,
.notes li {
  font-size: 14px;
  line-height: 1.9;
  padding-left: 20px;
  position: relative;
  margin: 12px 0 0;
  color: var(--muted);
}
.plan li::before,
.notes li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "—";
  color: #92948a;
}
.unlock {
  background: var(--soft);
}
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 32px;
}
.notes h3 {
  font-size: 17px;
}
.notes ul {
  margin-top: 12px;
}
.final-cta {
  margin-top: 96px;
  padding: 64px 28px;
  text-align: center;
  border-radius: var(--radius);
  background: #efeee8;
}
.final-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.6;
  letter-spacing: -0.04em;
  margin: 0;
}
.final-cta > p:not(.eyebrow):not(.micro) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 16px 0 26px;
}
.support {
  padding-block: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.support h2 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}
.support p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #b8b9b0;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.18s;
}
.text-button:hover {
  background: var(--soft);
}
.contact-link:hover,
.site-footer a:hover {
  color: var(--accent);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 24px 36px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 12px;
  background: white;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 901px) {
  html[lang="en"] h1 {
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.18;
  }
  html[lang="en"] .hero-description {
    max-width: 390px;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 48px);
  }
  .hero-copy {
    top: 6%;
    left: 4%;
    width: 49%;
  }
  .hero-description {
    margin-block: 14px 18px;
    font-size: 13px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 10px;
  }
  .hero-copy .micro {
    font-size: 10px;
  }
  .gallery figure {
    flex-basis: calc((100% - 56px) / 3);
  }
}
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    position: static;
    width: 100%;
    padding: 36px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.5;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-visual img {
    width: 100%;
  }
  .hero-copy .micro {
    font-size: 11px;
    max-width: none;
  }
  .service-options {
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
  }
  .service-option + .service-option {
    padding-left: 24px;
  }
  .steps {
    gap: 24px;
  }
  .demo {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .demo-copy > p:not(.eyebrow) {
    max-width: none;
  }
  .use-grid,
  .notes-grid {
    gap: 32px;
  }
  .plan {
    padding: 24px;
  }
}
@media (max-width: 640px) {
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 18px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .header-actions {
    gap: 12px;
  }
  .contact-link {
    font-size: 11px;
  }
  .lang-switch {
    padding: 2px;
  }
  .lang-switch button {
    width: 36px;
    min-height: 40px;
    font-size: 11px;
  }
  .hero {
    width: 100%;
    border-radius: 0;
    background: transparent;
  }
  .hero-copy {
    padding: 28px 24px 30px;
  }
  .hero h1 {
    font-size: 29px;
    line-height: 1.6;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.9;
    margin: 18px 0 22px;
  }
  .hero-visual {
    margin-inline: 12px;
    border-radius: 14px;
    overflow: hidden;
  }
  .hero-copy .micro {
    font-size: 10px;
  }
  .section {
    padding-top: 64px;
  }
  .services {
    padding-top: 34px;
    padding-bottom: 30px;
  }
  .services .section-intro {
    gap: 10px;
  }
  .services .eyebrow {
    width: 100%;
    font-size: 10px;
  }
  .services h2 {
    font-size: 21px;
  }
  .service-options {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .service-option + .service-option {
    border-left: 0;
    padding-left: 0;
  }
  .service-option h3 {
    font-size: 15px;
  }
  .service-names {
    gap: 6px 15px;
  }
  .service-option p {
    font-size: 12px;
  }
  .services > .micro {
    font-size: 10px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .section-intro h2 {
    font-size: 24px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 0 16px;
    padding-top: 24px;
  }
  .step-top {
    grid-row: span 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    margin: 0;
  }
  .steps h3 {
    font-size: 19px;
    margin-bottom: 8px;
  }
  .steps p {
    font-size: 13px;
  }
  .demo {
    margin-top: 32px;
    padding: 24px 18px;
  }
  .demo h3 {
    font-size: 23px;
  }
  .demo-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .gallery {
    gap: 18px;
    margin-top: 26px;
  }
  .gallery figure {
    flex-basis: 72%;
  }
  .section-heading {
    display: block;
  }
  .carousel-controls {
    margin-top: 22px;
    justify-content: flex-end;
  }
  .gallery img {
    border-radius: 20px;
  }
  .use-grid,
  .plan-grid,
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 26px;
  }
  .use-grid h3 {
    font-size: 20px;
  }
  .plan {
    padding: 26px;
  }
  .plan h3 {
    font-size: 22px;
  }
  .final-cta {
    margin-top: 64px;
    padding: 44px 20px;
  }
  .final-cta h2 {
    font-size: 24px;
  }
  .support {
    display: block;
    padding-block: 32px;
  }
  .text-button {
    margin-top: 20px;
  }
  .site-footer {
    display: block;
    padding-bottom: 24px;
  }
  .site-footer div {
    gap: 20px;
  }
  html[lang="en"] .hero h1 {
    font-size: 35px;
    line-height: 1.25;
  }
  html[lang="en"] .section-intro h2 {
    font-size: 27px;
  }
}
@media (max-width: 359px) {
  .shell {
    width: calc(100% - 32px);
  }
  .contact-link {
    display: none;
  }
  .hero-copy {
    padding-inline: 20px;
  }
  .hero h1 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
