:root {
  --fg: #1f2933;
  --muted: #52606d;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --bg-soft: #f5f7fa;
  --border: #e4e7eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  color: var(--fg);
  line-height: 1.7;
  background: #fff;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--fg); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 6px; }

nav { display: flex; align-items: center; gap: 20px; }
nav a.link { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
nav a.link:hover { color: var(--fg); }
.lang-select { font: inherit; font-size: 13px; color: var(--muted); background: transparent; border: 1px solid #d0d7de; border-radius: 6px; padding: 4px 6px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700;
  border-radius: 8px; padding: 10px 20px; transition: background .15s, transform .1s;
  font-size: 14px; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .85); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .15); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 8px; }

.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(15, 23, 42, .62), rgba(15, 23, 42, .62)), url("/img/hero.webp") center / cover no-repeat;
  padding: 120px 0 110px;
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.3; margin: 0 0 20px; font-weight: 700; }
.hero p { font-size: 18px; max-width: 680px; margin: 0 auto 36px; opacity: .92; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero .login-slot { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero .status { color: #fca5a5; font-size: 14px; min-height: 20px; margin: 4px 0 0; }

section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: 28px; text-align: center; margin: 0 0 12px; font-weight: 700; }
.lead { text-align: center; color: var(--muted); margin: 0 auto 48px; max-width: 680px; font-size: 16px; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); }
.card .icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.ai { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.ai ul { padding-left: 20px; color: var(--muted); line-height: 1.8; }
.ai li { margin-bottom: 8px; }
.feature-box {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px;
}
.feature-box h4 { margin: 0 0 12px; font-size: 16px; color: var(--fg); }
.feature-box p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.beta { text-align: center; }

footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 13px; background: #fff; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 760px) {
  nav a.link { display: none; }
  .grid { grid-template-columns: 1fr; }
  .ai { grid-template-columns: 1fr; }
  .hero { padding: 88px 0 80px; }
}
