:root {
  --blue: #00a0e9;
  --blue-dark: #0078ad;
  --blue-deep: #00577e;
  --blue-pale: #e9f8ff;
  --orange: #f39800;
  --orange-dark: #8a4a00;
  --ink: #101820;
  --body: #4f5b62;
  --line: #d9e2e7;
  --paper: #fff;
  --soft: #f5f8fa;
  --shadow: 0 22px 60px rgba(8, 66, 94, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(217, 226, 231, .9);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(16px);
}
.brand img { width: 180px; height: auto; }
.header-link {
  padding: 8px 18px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}
.header-link:hover { color: #fff; background: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .95fr);
  align-items: center;
  gap: 70px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 86px 60px 92px;
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 52%;
  content: "";
  background: var(--blue-pale);
  border-radius: 0 0 0 110px;
}
.hero::after {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: 2%;
  top: 8%;
  border: 46px solid rgba(0, 160, 233, .08);
  border-radius: 50%;
  content: "";
}
.eyebrow, .step-label {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 3px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--orange);
  content: "";
}
h1 {
  margin: 0;
  font-size: clamp(2.45rem, 4.25vw, 4.4rem);
  line-height: 1.25;
  letter-spacing: -.055em;
}
h1 span { color: var(--blue-dark); }
.lead {
  max-width: 620px;
  margin: 28px 0 32px;
  color: var(--body);
  font-size: 1.05rem;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border-radius: 7px;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(0, 160, 233, .24);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.primary-link span { font-size: 1.25rem; }

.hero-visual {
  position: relative;
  min-height: 510px;
}
.phone {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  width: 248px;
  padding: 10px;
  transform: translateX(-50%) rotate(2deg);
  border: 2px solid #12212a;
  border-radius: 36px;
  background: #12212a;
  box-shadow: 0 30px 70px rgba(0, 65, 94, .22);
}
.phone-top { height: 17px; position: relative; }
.phone-top span { position: absolute; left: 50%; top: 1px; width: 62px; height: 7px; transform: translateX(-50%); border-radius: 8px; background: #263942; }
.phone-screen { overflow: hidden; min-height: 435px; padding: 13px; border-radius: 22px; background: #fff; }
.mini-brand { color: var(--blue-dark); font-size: .55rem; font-weight: 900; letter-spacing: .08em; }
.mini-company { margin: 10px 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 900; }
.mini-actions { display: flex; align-items: center; gap: 10px; padding: 11px; border: 2px solid var(--orange); border-radius: 8px; color: var(--orange-dark); }
.mini-actions b { font-size: .65rem; }
.mini-qr { display: grid; grid-template-columns: repeat(3, 5px); gap: 2px; width: 19px; }
.mini-qr span { width: 5px; height: 5px; background: var(--orange-dark); }
.mini-qr span:nth-child(2), .mini-qr span:nth-child(4) { opacity: .3; }
.mini-photo { overflow: hidden; margin-top: 14px; border-radius: 7px; }
.mini-title { margin: 8px 0 0; font-size: .67rem; font-weight: 800; line-height: 1.5; }
.person-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 120, 173, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 66, 94, .12);
}
.person-card p { margin: 0; font-size: .72rem; font-weight: 800; line-height: 1.45; white-space: nowrap; }
.person-card--left { left: 0; top: 70px; }
.person-card--right { right: 0; bottom: 58px; }
.avatar { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: .72rem; font-weight: 900; }
.avatar--blue { background: var(--blue); }
.avatar--orange { background: var(--orange); }
.flow-line { position: absolute; z-index: 1; border: 2px dashed rgba(0, 120, 173, .3); border-radius: 50%; }
.flow-line--one { top: 105px; left: 112px; width: 110px; height: 55px; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(18deg); }
.flow-line--two { right: 105px; bottom: 108px; width: 105px; height: 60px; border-right-color: transparent; border-top-color: transparent; transform: rotate(-8deg); }

.quick-value {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: -42px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.quick-value article { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 100px; padding: 18px; }
.quick-value article + article { border-left: 1px solid var(--line); }
.value-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-pale); }
.value-icon svg { width: 24px; fill: none; stroke: var(--blue-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quick-value b, .quick-value small { display: block; }
.quick-value b { font-size: 1rem; }
.quick-value small { color: var(--body); font-size: .78rem; }

.section { max-width: 1160px; margin: 0 auto; padding: 112px 40px; }
.section-heading { margin: 0 auto 44px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading h2, .followup-copy h2, .closing h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.3; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--body); }

.flow-section { padding-top: 130px; }
.scene-tabs { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 540px; margin: 0 auto 30px; padding: 5px; border-radius: 999px; background: #e7eef2; }
.scene-tab { border: 0; border-radius: 999px; padding: 13px 18px; color: var(--body); background: transparent; cursor: pointer; font-weight: 900; }
.scene-tab.is-active { color: #fff; background: var(--blue-dark); box-shadow: 0 6px 18px rgba(0, 95, 138, .2); }
.scene-panel { padding-top: 18px; }
.flow-grid { display: grid; grid-template-columns: 1fr 38px 1fr 38px 1fr; align-items: center; }
.flow-card { position: relative; min-height: 326px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.flow-card--accent { border: 2px solid var(--blue); transform: translateY(-7px); box-shadow: 0 18px 42px rgba(0, 120, 173, .12); }
.flow-card--story {
  overflow: hidden;
  min-height: 360px;
  padding: 0;
  background: #fff;
}
.flow-card--story .flow-card__photo {
  position: relative;
  min-height: 215px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 18px 16px;
  background-color: var(--blue-pale);
  background-image: linear-gradient(180deg, rgba(6, 26, 35, 0) 48%, rgba(6, 26, 35, .72) 100%), var(--flow-photo);
  background-position: center;
  background-size: cover;
}
.flow-card--story .flow-card__photo h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .8), 0 0 1px rgba(0, 0, 0, .9);
}
.flow-card--story .flow-card__copy {
  min-height: 143px;
  padding: 20px 24px 24px;
  background: #fff;
}
.flow-card--story .flow-card__copy p {
  margin: 0;
  color: var(--body);
  font-size: .92rem;
  line-height: 1.9;
  text-align: left;
}
.flow-number { position: absolute; top: 20px; left: 22px; color: var(--blue-dark); font-size: .82rem; font-weight: 900; }
.flow-icon { width: 100px; height: 100px; display: grid; place-items: center; margin: 18px auto 20px; border-radius: 50%; background: var(--blue-pale); }
.flow-icon svg { width: 58px; fill: none; stroke: var(--blue-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.flow-icon svg circle:not(:first-child) { fill: var(--blue-dark); stroke: none; }
.flow-card h3 { margin: 0 0 9px; text-align: center; font-size: 1.12rem; }
.flow-card p { margin: 0; color: var(--body); font-size: .9rem; }
.flow-arrow { color: var(--orange); text-align: center; font-size: 1.8rem; font-weight: 900; }
.talk-example { display: flex; align-items: center; gap: 24px; max-width: 870px; margin: 34px auto 0; padding: 18px 24px; border-radius: 10px; background: var(--soft); }
.talk-label { flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; color: var(--orange-dark); background: #fff1d8; font-size: .77rem; font-weight: 900; }
.talk-example p { margin: 0; font-weight: 800; }

.handoff-section { max-width: none; padding: 112px max(40px, calc((100vw - 1080px) / 2)); background: var(--soft); }
.handoff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.handoff-card { overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.handoff-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.handoff-top h3 { margin: 0; font-size: 1.25rem; }
.use-badge { padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--blue-dark); font-size: .72rem; font-weight: 900; }
.handoff-card--share .use-badge { background: var(--orange-dark); }
.qr-demo, .share-demo { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; gap: 36px; border-radius: 14px; background: var(--blue-pale); }
.qr-box { width: 112px; height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 12px; border-radius: 7px; background: #fff; box-shadow: 0 9px 24px rgba(0, 87, 126, .13); }
.qr-box i { display: block; background: var(--blue-deep); }
.qr-box i:nth-child(2), .qr-box i:nth-child(7), .qr-box i:nth-child(9) { opacity: .2; }
.scan-phone { width: 92px; height: 150px; display: grid; place-items: center; border: 7px solid #152631; border-radius: 17px; background: #fff; }
.scan-phone span { width: 55px; height: 55px; border: 2px dashed var(--orange); }
.scan-line { position: absolute; z-index: 2; top: 98px; left: 38%; width: 85px; border-top: 2px solid var(--orange); transform: rotate(-3deg); }
.handoff-card ol { margin: 25px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.handoff-card li { position: relative; margin-top: 9px; padding-left: 34px; color: var(--body); counter-increment: steps; }
.handoff-card li::before { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-dark); content: counter(steps); font-size: .72rem; font-weight: 900; }
.handoff-card--share li::before { background: var(--orange-dark); }
.small-note { margin: 16px 0 0; color: #69757c; font-size: .75rem; }
.share-demo { flex-wrap: wrap; align-content: center; padding: 25px; background: #fff6e7; }
.share-page { width: 128px; height: 110px; padding: 14px; border-radius: 9px; background: #fff; box-shadow: 0 9px 24px rgba(138, 74, 0, .12); }
.share-page span { display: block; width: 100%; height: 8px; margin-bottom: 7px; border-radius: 5px; background: #dce9ee; }
.share-page span:first-child { width: 45%; background: var(--blue); }
.share-page b { font-size: .75rem; }
.share-demo svg { width: 54px; fill: #fff; stroke: var(--orange-dark); stroke-width: 4; }
.share-demo svg circle { fill: #fff; }
.share-chips { flex: 0 0 100%; display: flex; justify-content: center; gap: 8px; }
.share-chips span { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--orange-dark); font-size: .68rem; font-weight: 800; }

.followup-section { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 90px; }
.mail-visual { position: relative; padding: 54px 35px; }
.mail-visual::before { position: absolute; inset: 0; transform: rotate(-4deg); border-radius: 36px 70px 42px 80px; background: var(--blue-pale); content: ""; }
.mail-card { position: relative; overflow: hidden; padding: 26px; border-radius: 17px; background: #fff; box-shadow: var(--shadow); }
.mail-header { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.mail-header span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--blue); font-weight: 900; }
.metric { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 22px 0 18px; }
.metric small { color: var(--body); }
.metric strong { color: var(--blue-dark); font-size: 2.8rem; line-height: 1; }
.metric strong span { font-size: .8rem; margin-left: 4px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-row span { padding: 11px; border-radius: 8px; background: var(--soft); color: var(--body); font-size: .75rem; }
.metric-row b { color: var(--ink); }
.followup-copy > p:not(.step-label) { margin: 22px 0; color: var(--body); }
.caution { padding: 18px 20px; border-left: 4px solid var(--orange); background: #fff7e8; }
.caution b { color: var(--orange-dark); }
.caution p { margin: 5px 0 0; color: var(--body); font-size: .82rem; }

.tips-section { padding-top: 60px; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tips-grid article { padding: 30px; border-top: 5px solid var(--blue); background: var(--soft); }
.tips-grid article:nth-child(2) { border-color: var(--orange); }
.tips-grid span { color: var(--blue-dark); font-size: .8rem; font-weight: 900; }
.tips-grid article:nth-child(2) span { color: var(--orange-dark); }
.tips-grid h3 { margin: 12px 0 10px; font-size: 1.08rem; }
.tips-grid p { margin: 0; color: var(--body); font-size: .88rem; }

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto 80px;
  padding: 55px 64px;
  border-radius: 26px;
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 20px 60px rgba(0, 87, 126, .2);
}
.closing p { margin: 0 0 10px; color: #bfeaff; }
.closing h2 { color: #fff; }
.closing a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 30px; padding: 16px 24px; border-radius: 7px; background: var(--orange); color: #fff; font-weight: 900; text-decoration: none; }

footer { padding: 48px 24px; border-top: 1px solid var(--line); color: var(--body); text-align: center; }
footer img { width: 185px; margin: 0 auto 18px; }
footer p { margin: 0 auto 18px; font-size: .82rem; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
footer nav a { color: var(--blue-dark); font-size: .82rem; }
footer small { display: block; color: #7c888e; font-size: .7rem; }

a:focus-visible, button:focus-visible { outline: 3px solid rgba(243, 152, 0, .6); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 68px 40px 98px; text-align: center; }
  .hero::before { inset: 43% 0 0; border-radius: 80px 0 0; }
  .hero-copy { max-width: 760px; margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-visual { width: min(560px, 100%); margin: 0 auto; }
  .flow-grid { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow { transform: rotate(90deg); line-height: 1; }
  .flow-card { min-height: 0; }
  .flow-card--accent { transform: none; }
  .followup-section { gap: 48px; }
}

@media (max-width: 720px) {
  .site-header { height: 60px; padding: 0 16px; }
  .brand img { width: 144px; }
  .header-link { padding: 6px 12px; font-size: .75rem; }
  .hero { min-height: auto; padding: 54px 20px 78px; }
  .hero::before { inset: 47% 0 0; border-radius: 50px 0 0; }
  .eyebrow { font-size: .72rem; }
  h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .lead { margin: 22px 0 26px; font-size: .94rem; text-align: left; }
  .hero-visual { min-height: 445px; }
  .phone { width: 215px; }
  .phone-screen { min-height: 375px; }
  .person-card--left { top: 42px; left: -4px; }
  .person-card--right { right: -4px; bottom: 30px; }
  .person-card p { font-size: .64rem; }
  .avatar { width: 34px; height: 34px; }
  .flow-line--one { top: 82px; left: 75px; }
  .flow-line--two { right: 67px; bottom: 75px; }
  .quick-value { grid-template-columns: 1fr; width: calc(100% - 32px); margin-top: -28px; }
  .quick-value article { justify-content: flex-start; min-height: 76px; padding: 14px 24px; }
  .quick-value article + article { border-left: 0; border-top: 1px solid var(--line); }
  .section, .handoff-section { padding: 82px 20px; }
  .flow-section { padding-top: 96px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .followup-copy h2, .closing h2 { font-size: 2rem; }
  .scene-tabs { width: 100%; }
  .flow-card { padding: 25px; }
  .talk-example { align-items: flex-start; flex-direction: column; gap: 9px; }
  .handoff-grid, .tips-grid { grid-template-columns: 1fr; }
  .handoff-card { padding: 24px; }
  .qr-demo, .share-demo { height: 185px; gap: 24px; }
  .qr-box { width: 92px; height: 92px; }
  .scan-phone { width: 78px; height: 132px; }
  .scan-line { left: 41%; width: 55px; }
  .share-page { width: 110px; }
  .followup-section { grid-template-columns: 1fr; gap: 40px; }
  .mail-visual { padding: 42px 16px; }
  .followup-copy { grid-row: 1; }
  .metric-row { grid-template-columns: 1fr; }
  .closing { flex-direction: column; align-items: flex-start; margin: 0 16px 60px; padding: 38px 28px; }
  .closing a { width: 100%; justify-content: space-between; }
}

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