:root {
  --ink: #17202b;
  --muted: #5d6672;
  --line: #dce3e7;
  --teal: #078a7a;
  --teal-dark: #05685d;
  --teal-soft: #e8f5f2;
  --coral: #e85f4d;
  --blue: #2563d8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 32, 43, 0.12);
  font-family: Inter, "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 78px;
  padding: 14px clamp(22px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 800; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 8px; color: var(--white); background: var(--teal); font-size: 25px; line-height: 1; font-weight: 850; }
.site-header nav, footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 14px; font-weight: 650; }
.site-header nav a, footer nav a { border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible, footer nav a:hover, footer nav a:focus-visible { color: var(--teal); border-color: var(--teal); }

.hero {
  min-height: 580px;
  height: min(760px, calc(100svh - 132px));
  padding: clamp(42px, 6vw, 82px) clamp(22px, 4vw, 64px) 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  overflow: hidden;
}

.hero-copy { max-width: 920px; }
.hero h1 { margin: 0; font-size: clamp(40px, 3.9vw, 64px); line-height: 1.3; letter-spacing: 0; font-weight: 850; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-copy > p { margin: 30px 0 34px; max-width: 590px; font-size: clamp(17px, 1.7vw, 23px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 54px; padding: 13px 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--teal); border-radius: 6px; font-weight: 750; }
.button.primary { color: var(--white); background: var(--teal); }
.button.primary:hover, .button.primary:focus-visible { background: var(--teal-dark); }
.button.secondary { color: var(--teal); background: var(--white); }

.phone-stage { align-self: stretch; display: grid; place-items: end center; }
.phone-frame { width: clamp(286px, 24vw, 370px); max-width: 100%; aspect-ratio: 9 / 19.5; padding: 12px; position: relative; overflow: hidden; border: 9px solid #11151a; border-radius: 46px; background: #11151a; box-shadow: var(--shadow); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; background: #0f172a; }
.phone-camera { width: 16px; height: 16px; position: absolute; top: 19px; left: 50%; z-index: 2; transform: translateX(-50%); border: 4px solid #20252c; border-radius: 50%; background: #050608; }

.travel-strip { min-height: 118px; padding: 24px clamp(22px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-block: 1px solid var(--line); }
.travel-strip strong { max-width: 410px; font-size: clamp(18px, 2vw, 28px); line-height: 1.4; }
.travel-strip span { color: var(--muted); font-weight: 700; }

.section { padding: clamp(74px, 9vw, 136px) clamp(22px, 5vw, 80px); }
.section h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.3; letter-spacing: 0; }
.section-heading { max-width: 1380px; margin: 0 auto 56px; }

.features { max-width: 1600px; margin: 0 auto; }
.feature-layout { display: grid; grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.feature-list article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-list article:first-child { border-top: 1px solid var(--line); }
.feature-list article > span { color: var(--teal); font-size: 13px; font-weight: 800; }
.feature-list h3 { margin: 0; color: var(--teal-dark); font-size: 23px; }
.feature-list p { margin: 4px 0 0; color: var(--muted); }
.product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.screen-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 12px 32px rgba(23, 32, 43, 0.09); }
.screen-shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; background: #0f172a; }
.screen-shot figcaption { min-height: 70px; padding: 14px 16px; color: var(--muted); font-size: 12px; }
.alarm-shot { transform: translateY(44px); }

.steps { border-block: 1px solid var(--line); }
.steps h2 { text-align: center; margin-bottom: 48px; font-size: clamp(30px, 3vw, 46px); }
.steps ol { max-width: 1400px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.steps li { min-height: 170px; padding: 8px clamp(24px, 4vw, 58px); display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-content: center; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li > span { color: var(--teal); font-size: 58px; line-height: 1; font-weight: 500; }
.steps h3 { margin: 0; font-size: 18px; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.reliability { display: grid; grid-template-columns: minmax(280px, 0.55fr) minmax(620px, 1.45fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.reliability-copy p { margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.flow { min-height: 320px; padding: clamp(28px, 4vw, 54px); display: grid; grid-template-columns: repeat(7, auto); align-items: center; gap: clamp(10px, 2vw, 28px); border: 1px solid var(--teal); border-radius: 6px; }
.flow div { width: 140px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow b { width: 34px; height: 34px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal); }
.flow strong { font-size: 14px; }
.flow span { margin-top: 8px; color: var(--muted); font-size: 11px; }
.flow i { color: var(--teal); font-size: 28px; font-style: normal; }

.privacy { display: grid; grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); align-items: center; border-top: 1px solid var(--line); }
.privacy-mark { min-height: 230px; display: grid; place-items: center; border-right: 1px solid var(--line); }
.privacy-mark span { width: 116px; height: 160px; display: grid; place-items: center; color: var(--white); font-size: 34px; background: var(--teal); clip-path: polygon(50% 0, 92% 20%, 92% 62%, 50% 100%, 8% 62%, 8% 20%); }
.privacy p { max-width: 760px; color: var(--muted); font-size: 17px; }
.privacy a { color: var(--blue); font-weight: 750; border-bottom: 1px solid currentColor; }

footer { min-height: 150px; padding: 30px clamp(22px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 20px; }
.footer-brand span { color: var(--muted); font-size: 12px; }

.legal-page { min-height: 100svh; }
.legal-main { width: min(900px, calc(100% - 44px)); margin: 0 auto; padding: clamp(52px, 8vw, 110px) 0; }
.legal-main h1 { margin: 0 0 22px; font-size: clamp(38px, 5vw, 64px); line-height: 1.2; }
.legal-main .updated { margin-bottom: 52px; color: var(--muted); }
.legal-main section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-main h2 { margin: 0 0 12px; font-size: 22px; }
.legal-main h3 { margin: 22px 0 8px; font-size: 16px; }
.legal-main p, .legal-main li { color: #46505c; }
.legal-main a { color: var(--blue); text-decoration: underline; }
.legal-main code { font-family: "Cascadia Mono", Consolas, monospace; font-size: 0.92em; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .hero h1 { font-size: clamp(32px, 3.7vw, 40px); }
  .feature-layout, .reliability { grid-template-columns: 1fr; }
  .feature-list { max-width: 720px; }
  .product-pair { width: min(700px, 100%); margin: 0 auto; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow i { display: none; }
  .flow div { width: auto; }
}

@media (max-width: 820px) {
  .site-header { min-height: 66px; padding: 10px 16px; align-items: flex-start; flex-direction: column; gap: 8px; position: static; }
  .brand { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; font-size: 21px; }
  .site-header nav { width: 100%; gap: 18px; overflow-x: auto; white-space: nowrap; font-size: 12px; }
  .hero { min-height: 560px; height: clamp(560px, calc(100svh - 152px), 700px); padding: 42px 20px 0; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 22px; text-align: left; }
  .hero h1 { font-size: clamp(30px, 8vw, 48px); }
  .hero h1 span { white-space: normal; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-height: 50px; padding: 12px 10px; font-size: 13px; }
  .phone-stage { width: 100%; height: 100%; min-height: 0; max-height: none; overflow: hidden; place-items: start center; }
  .phone-frame { width: 230px; transform: translateY(4px); }
  .travel-strip { min-height: 104px; overflow-x: auto; justify-content: flex-start; white-space: nowrap; }
  .travel-strip strong { min-width: 260px; font-size: 17px; white-space: normal; }
  .section { padding: 76px 20px; }
  .section h2 { font-size: 36px; }
  .feature-layout { gap: 42px; }
  .product-pair { gap: 10px; }
  .screen-shot figcaption { min-height: 88px; padding: 10px; }
  .alarm-shot { transform: translateY(24px); }
  .steps ol { grid-template-columns: 1fr; }
  .steps li { min-height: 140px; padding: 24px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .flow { min-height: auto; padding: 24px; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .privacy { grid-template-columns: 1fr; }
  .privacy-mark { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { align-items: flex-start; flex-direction: column; }
  footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
}

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