/* ブルーアワー街歩き — スプリットヒーロー / #0a0c10（都市夜景ライトログと同一トーン） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0c10;
  --bg2: #12151c;
  --line: rgba(0, 212, 255, 0.12);
  --text: #f2f5f8;
  --muted: #8b95a5;
  --cyan: #2ee7ff;
  --cyan2: #4a7dff;
  --glow: 0 0 28px rgba(46, 231, 255, 0.35), 0 0 60px rgba(74, 125, 255, 0.15);
  --radius-pic: 26px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #9ff6ff; }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--cyan2);
  color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-hd {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-hd__row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6b5cff 0%, var(--cyan) 55%, var(--cyan2) 100%);
  box-shadow: var(--glow);
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}
.site-nav__a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav__a:hover { color: var(--cyan); border-bottom-color: rgba(46, 231, 255, 0.4); }
.site-nav__a.is-on { color: var(--cyan); border-bottom-color: var(--cyan); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg2);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease);
}

.hero-split {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.5rem 3rem;
  align-items: center;
}
.hero-split__tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-split__tag span { color: var(--cyan); }
.hero-split__h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}
.hero-split__lead {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36em;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan2) 100%);
  box-shadow: var(--glow);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn--ghost:hover { border-color: rgba(46, 231, 255, 0.35); color: var(--cyan); }

.hero-visual { position: relative; }
.hero-visual__frame {
  border-radius: var(--radius-pic);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(46, 231, 255, 0.08);
}
.hero-visual__frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-visual__cap {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: var(--bg2);
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}
.hero-visual__cap strong { color: var(--text); font-weight: 600; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}
.wrap--wide { max-width: 900px; }

.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
}
.page-hero__img {
  border-radius: var(--radius-pic);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.page-hero__img img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.prose h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #dbe2ea;
}
.prose p { margin-bottom: 1rem; color: #c5cdd8; }
.prose ul { margin: 0.5rem 0 1rem 1.25rem; color: #c5cdd8; }
.prose li { margin-bottom: 0.4rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46, 231, 255, 0.25); }
.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.card__body { padding: 1rem 1.1rem 1.25rem; }
.card__body h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.card__body p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.site-ft {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(18, 21, 28, 0.95);
  color: var(--cyan);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  z-index: 400;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: scale(1.06); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

a.email-box {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg2);
  border-radius: 16px;
  border: 1px solid var(--line);
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  word-break: break-all;
  color: var(--cyan);
}
a.email-box:hover { color: #9ff6ff; }

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }
  .hero-visual { order: -1; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(10, 12, 16, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__a { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
  .site-hd__row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
