/* ホーム専用スタイル (index.html) */
:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* brand (text logo) */
.brand { display: inline-flex; align-items: baseline; gap: 8px; font-size: 17px; font-weight: 800; letter-spacing: .04em; color: var(--text); line-height: 1; white-space: nowrap; }
.brand small { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.brand-footer { font-size: 15px; }
.nav-dark .brand { color: #fff; } .nav-dark .brand small { color: rgba(255,255,255,.6); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav img.logo { height: 30px; width: auto; }
.logo-footer { height: 26px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px auto; transition: .2s; }

/* hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: .02em; line-height: 1.7; color: #3a3a3c; }
.hero p { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .stats { display: flex; justify-content: center; gap: 56px; margin-top: 32px; flex-wrap: wrap; }
.hero .stats div { text-align: center; }
.hero .stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hero .stats b small { font-size: 18px; margin-left: 2px; }
.hero .stats span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.hero-icons { display: flex; justify-content: center; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
.hero-icons img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }

/* featured apps */
.feature { padding: 80px 0; border-top: 1px solid var(--line); }
.feature .grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature:nth-of-type(even) .grid > .text { order: 2; }
.feature .icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.12); margin-bottom: 24px; }
.feature .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.feature h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.feature h2 small { display: block; font-size: 16px; font-weight: 600; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.feature p { margin-top: 20px; color: #3a3a3c; font-size: 16px; }
.feature .badges { margin-top: 28px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.feature .badges img { height: 48px; }
.feature .badges .play img { height: 48px; margin: -0; }
.shots { display: flex; gap: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.shots img { width: 33.3333%; flex: 0 0 33.3333%; }

/* all apps */
.all { padding: 96px 0; background: var(--bg2); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin-top: 8px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 28px 16px; }
.app-tile { text-align: center; font-size: 12px; color: var(--muted); transition: transform .2s; }
.app-tile img { width: 76px; height: 76px; margin: 0 auto 10px; border-radius: 18px; box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.app-tile:hover { transform: translateY(-4px); color: var(--text); }
.app-tile span { display: block; line-height: 1.3; }

/* company */
.company { padding: 96px 0; }
.company table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; font-size: 15px; }
.company th, .company td { padding: 18px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company th { width: 28%; color: var(--muted); font-weight: 600; }
.company .addr-en { color: var(--muted); font-size: 13px; }

/* contact */
.contact { padding: 96px 0; background: var(--bg2); }
.contact .box { max-width: 640px; margin: 0 auto; text-align: center; }
.mail-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 28px; border-radius: 999px; background: var(--text); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .02em; transition: opacity .2s; }
.mail-link:hover { opacity: .8; }
.mail-link svg { width: 20px; height: 20px; }
.contact .hint { margin-top: 14px; font-size: 13px; color: var(--muted); }
.notice { margin-top: 28px; font-size: 12px; color: var(--muted); }

/* footer */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--text); font-size: 13px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a:hover { color: var(--text); }
.site-footer .copy { margin-top: 48px; text-align: center; font-size: 12px; }
.site-footer .copy small { display: block; margin-top: 6px; color: #aeaeb2; }

@media (max-width: 800px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; }
  .burger { display: block; }
  .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 17px; }
  .hero h1 br { display: none; }
  .hero p { font-size: 16px; }
  .hero .stats { gap: 20px 32px; }
  .hero .stats b { font-size: 28px; }
  .feature .grid { grid-template-columns: 1fr; gap: 40px; }
  .feature:nth-of-type(even) .grid > .text { order: 0; }
  .shots { border-radius: 12px; }
  .company th { width: 24%; }
  .app-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 22px 10px; }
  .app-tile img { width: 68px; height: 68px; }
  .mail-link { font-size: 16px; padding: 12px 22px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
