:root {
  --bg: #ffffff;
  --soft: #f6f7f8;
  --ink: #1f2933;
  --muted: #66707a;
  --line: #e7e9ec;
  --accent: #2f5d8a;
  --accent-ink: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
}
[hidden] { display: none !important; }
h1, h2, p, dd { word-break: auto-phrase; text-wrap: pretty; }
a { color: var(--accent); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.bar {
  max-width: 960px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
}
.logo {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: .03em;
  color: var(--ink); text-decoration: none;
}
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  font: inherit; font-size: 13px; line-height: 1; letter-spacing: 0;
  border: 0; border-radius: 999px; padding: 7px 12px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.hero {
  max-width: 960px; margin: 0 auto; padding: 32px 24px 0;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px;
}
.eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.hero h1 {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: clamp(32px, 5vw, 52px); line-height: 1.35; margin: 0 0 16px;
}
.lead { margin: 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 8px 0 16px; }
.hero-visual::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: var(--soft); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.phone {
  position: relative; width: 260px; aspect-ratio: 9 / 19.5;
  border-radius: 42px; padding: 9px; background: #1f2933;
  box-shadow: 0 24px 48px rgba(31, 41, 51, .18), 0 2px 6px rgba(31, 41, 51, .12);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #ddd; }
.screen picture, .screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 12px; background: #1f2933; }
.app-bar {
  position: absolute; top: 44px; left: 14px; right: 14px; padding: 8px 12px; border-radius: 12px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); text-align: center;
}
.app-btn {
  position: absolute; left: 22px; right: 22px; bottom: 26px; padding: 12px; border-radius: 999px;
  background: var(--accent); color: #fff; text-align: center; font-weight: 500; font-size: 15px;
  box-shadow: 0 6px 16px rgba(47, 93, 138, .35);
}
.float-icon {
  position: absolute; right: calc(50% - 190px); bottom: 70px; width: 76px; height: 76px;
  border-radius: 20px; background: #fff; box-shadow: 0 10px 24px rgba(31, 41, 51, .16);
}

.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.apps li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 12px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.apps .icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; }
.apps .icon svg { width: 40px; height: 40px; }
.apps .i1 { background: linear-gradient(135deg, #4f8cc9, #2f5d8a); }
.apps .i2 { background: linear-gradient(135deg, #f0a35e, #d9772b); }
.apps .i3 { background: linear-gradient(135deg, #5fae86, #3d7a5a); }
.apps .name { font-weight: 500; }
.chip { font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.simmer-note { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.simmer-note .steam { vertical-align: middle; margin: 0 6px 0 0; height: 20px; }
.simmer-note .steam i { height: 14px; }

.block { max-width: 720px; margin: 0 auto; padding: 72px 24px 0; }
.block h2 {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: 22px; margin: 0 0 20px; text-align: center;
}
.block h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--accent); margin: 10px auto 0; border-radius: 2px; }
.block > p { text-align: center; }

.steam { display: inline-flex; gap: 8px; height: 28px; margin-bottom: 4px; }
.steam i { width: 3px; height: 20px; border-radius: 3px; background: #b9c2cc; animation: steam 2.4s ease-in-out infinite; }
.steam i:nth-child(2) { animation-delay: .4s; }
.steam i:nth-child(3) { animation-delay: .8s; }
@keyframes steam { 0%,100% { transform: translateY(4px) scaleY(.7); opacity: .3; } 50% { transform: translateY(-4px) scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .steam i { animation: none; } }

.info { margin: 0; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); font-size: 14px; padding-top: 1px; }
.info dd { margin: 0; overflow-wrap: anywhere; }
.info a { color: var(--ink); text-decoration: none; }
.info a:hover { color: var(--accent); }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; padding: 12px 24px; border-radius: 999px; font-weight: 500; letter-spacing: .02em;
}
.button:hover { filter: brightness(1.1); }

.foot { margin-top: 88px; padding: 28px 24px 40px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 13px; }
.foot p { margin: 4px 0; }
.foot-nav { margin-bottom: 12px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.foot-nav a:hover { color: var(--accent); }
.sub { padding-top: 8px; }
.sub .block:first-child { padding-top: 32px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .apps { gap: 10px; }
  .apps li { padding: 18px 6px 16px; }
  .apps .icon { width: 56px; height: 56px; border-radius: 14px; }
  .apps .icon svg { width: 34px; height: 34px; }
  .apps .name { font-size: 13px; white-space: nowrap; }
}
@media (max-width: 560px) {
  .phone { width: 220px; border-radius: 36px; padding: 8px; }
  .screen { border-radius: 29px; }
  .hero-visual::before { width: 260px; height: 260px; }
  .float-icon { width: 60px; height: 60px; border-radius: 16px; right: calc(50% - 150px); bottom: 56px; }
  .app-btn { bottom: 20px; padding: 10px; font-size: 14px; }
  .app-bar { top: 40px; font-size: 13px; }
  .bar { padding: 14px 16px; }
  .logo { font-size: 19px; }
  .hero { padding: 16px 16px 0; }
  .block { padding: 56px 16px 0; }
  .info > div { grid-template-columns: 1fr; gap: 0; padding: 12px 4px; }
}

/* 404 */
.lost { max-width: 640px; margin: 0 auto; padding: 96px 24px 40px; text-align: center; }
.lost h1 { font-family: "Zen Maru Gothic", sans-serif; font-size: 28px; margin: 16px 0 8px; }
.lost p { color: var(--muted); }
