:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --card: #ffffff;
  --text: #1c1f26;
  --muted: #5b6270;
  --accent: #1f2a44;      /* ディープネイビー */
  --accent-soft: #eef1f6;
  --border: #e3e5ea;
  --maxw: 960px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(20, 24, 34, 0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.01em;
}

a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* ---------- header ---------- */
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
header.site a.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
header.site nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
}
header.site nav > a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
header.site nav > a:hover { color: var(--accent); }

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.5;
  margin: 0 0 20px;
  word-break: keep-all;
}
.hero .lead {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto;
  word-break: keep-all;
}

/* ---------- section ---------- */
.section { padding: 40px 0; }
.section-title {
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 32px;
}

.hero h1, .section-title, h1.page-title {
  word-break: keep-all;
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar-card .pillar-body {
  padding: 26px 24px 28px;
}
.pillar-card h3 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}
.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  word-break: keep-all;
}

/* ---------- image placeholder ---------- */
.img-placeholder {
  background: var(--bg-soft);
  border: 1px dashed #b7bcc6;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}
.pillar-card .img-placeholder {
  aspect-ratio: 16 / 9;
  border-left: none;
  border-right: none;
  border-top: none;
}
/* 画像差し替え時はプレースホルダdivを <img class="pillar-img" src="..." alt="..."> にする。
   比率の違う写真でも16:9にトリミングして揃う */
img.pillar-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
img.hero-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 36px auto 0;
}
.hero-visual.img-placeholder {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  margin: 36px auto 0;
  max-width: var(--maxw);
}

/* ---------- apps ---------- */
.app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.app-card img.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.app-card .app-info { flex: 1; }
.app-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.app-card p { margin: 0 0 10px; color: var(--muted); font-size: 0.92rem; }
.app-card a.app-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.store-badges-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- about table ---------- */
table.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
table.info-table th, table.info-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.info-table th {
  width: 9em;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
table.info-table td { font-size: 0.96rem; }

/* ---------- sub pages ---------- */
h1.page-title { font-size: 1.6rem; margin: 40px 0 8px; }
h2 { font-size: 1.15rem; margin-top: 1.8em; }
h3 { font-size: 1rem; }
.updated { color: var(--muted); font-size: 0.85rem; }

/* ---------- contact ---------- */
.contact-box {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 24px;
}
.contact-box .mail {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 36px 20px 48px;
  margin-top: 24px;
}
.foot-links { margin-bottom: 12px; }
.foot-links a { color: var(--muted); margin: 0 10px; }
.foot-addr { margin: 0 0 6px; }
.foot-copy { margin: 0 0 4px; }
.foot-copy a { color: var(--muted); text-decoration: underline; }
.copyright { margin: 8px 0 0; color: var(--muted); font-size: 0.78rem; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  header.site .inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero { padding: 48px 0 32px; text-align: left; }
  .hero h1 { font-size: 1.9rem; }
  .hero .lead { margin: 0; }
  .pillars { grid-template-columns: 1fr; }
  .app-card { flex-direction: column; align-items: flex-start; }
  table.info-table th, table.info-table td { display: block; width: 100%; }
  table.info-table th { padding-bottom: 4px; border-bottom: none; }
  table.info-table td { padding-top: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }
}
