:root {
  --brand: #0088bf;
  --ink: #0f1a24;
  --ink-2: #132332;
  --accent: #f4b26b;
  --text: #f8fbff;
  --muted: #c6d4e2;
  --line: rgba(255,255,255,0.08);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0,0,0,0.25);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  background: radial-gradient(circle at 15% 20%, rgba(0,136,191,0.05), transparent 28%),
              radial-gradient(circle at 85% 0%, rgba(244,178,107,0.08), transparent 32%),
              linear-gradient(135deg, #f7fbff 0%, #f4f8fb 60%, #eef5fa 100%);
  color: var(--ink); line-height: 1.7; overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
header, section { padding: 80px 6vw; position: relative; }
.wrap { width: min(1140px, 100%); margin: 0 auto; }
nav {
  position: fixed; inset: 0 0 auto 0; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; background: rgba(15,26,36,0.6); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); z-index: 20;
}
.brand { font-weight: 700; letter-spacing: 0.08em; color: var(--brand); }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--accent); }
.cta {
  display: inline-flex; gap: 10px; align-items: center;
  background: linear-gradient(120deg, var(--brand), #00a2df);
  color: #041019; padding: 12px 18px; border-radius: 14px;
  font-weight: 700; box-shadow: 0 12px 30px rgba(0,136,191,0.25);
}
.hero {
  position: relative;
}
.hero-full {
  min-height: 100vh;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f8fb;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.hero-text {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 6vw;
  max-width: 960px;
}
.hero-text.left-bottom {
  justify-self: start;
  align-self: end;
  text-align: left;
  padding: 0 6vw 8vh;
}
.hero-text h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
}
.hero-text p {
  margin: 0;
  font-size: clamp(16px, 3.5vw, 20px);
  line-height: 1.6;
  color: #e8f3fb;
}
.pill {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18); color: var(--accent);
  letter-spacing: 0.08em; font-weight: 700; font-size: 12px;
}
.panel {
  background: rgba(19,35,50,0.85); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  color: var(--text);
}
.service-card {
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 260px;
  border: none;
  box-shadow: var(--shadow);
  color: #fff;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.service-card > * {
  position: relative;
  z-index: 2;
}
.service-card h3 { color: #fff; }
.service-card .muted { color: #dfe7ef; }
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 10%, rgba(0,136,191,0.12), transparent 40%);
}
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 12px; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
h3 { margin: 0 0 8px; }
.lead { color: var(--muted); }
.list { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.list li { margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.badge { color: var(--accent); font-weight: 700; letter-spacing: 0.04em; }
.footer {
  padding: 40px 6vw 60px; border-top: 1px solid var(--line);
  background: rgba(12,19,29,0.6); color: var(--muted);
}
.footer a { color: var(--muted); }
.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.card {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  background: rgba(255,255,255,0.02);
}
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.tile { border-radius: 14px; overflow: hidden; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .7s ease; }
.tile:hover img { transform: scale(1.04); filter: saturate(1.06) brightness(1.02); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(60px); transition: transform .9s cubic-bezier(0.22,1,0.36,1), opacity .9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Mobile */
@media (max-width: 768px) {
  nav { height: 58px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; background: rgba(15,26,36,0.95); padding: 12px 6vw; }
  .burger { display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; }
  .burger span { width: 24px; height: 2px; background: var(--text); }
  header, section { padding: 64px 6vw; }
}

/* Utility */
.stack { display: flex; gap: 12px; flex-wrap: wrap; }
.muted { color: var(--muted); }
