/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@500;700&display=swap');

:root {
  --ink: #222;
  --muted: #666;
  --brand: #0f4c81;   /* 深いブルー */
  --line: #eee;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* ベース */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.85;
  font-size: 16.5px;
}
h1, h2, h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  line-height: 1.4;
}
h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 3vw, 36px); margin-bottom: 20px; }
h3 { font-size: 20px; }

/* レイアウト */
.container {
  max-width: 1160px;
  margin: auto;
  padding: 0 20px;
}
section {
  padding: 120px 20px;
}
@media (max-width: 768px) {
  section { padding: 80px 20px; }
}

/* ヘッダー */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header .header-inner {
  max-width: 1160px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo img { height: 48px; }
header nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0; padding: 0;
}
header nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
header nav a:hover { color: var(--brand); }

/* ヒーロー */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("assets/hero.png") center/cover no-repeat;
}
.hero::after {
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
}
.hero .inner {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 900px;
}
.hero h1 {
  white-space: nowrap;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* ボタン */
.btn {
  display:inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  transition:.3s;
}
.btn:hover { background:#093253; }

/* ブロック/カード */
.block, .card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px;
}
.card h3 { margin-bottom:12px; }

/* ギャラリー */
.gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap: 12px;
}
.gallery img {
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px){
  .gallery{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 480px){
  .gallery{ grid-template-columns:1fr; }
}

/* フェードイン */
.reveal {
  opacity:0;
  transform:translateY(12px);
  animation:fadein .8s ease forwards;
}
@keyframes fadein { to{opacity:1; transform:none;} }

/* フッター */
footer {
  border-top:1px solid var(--line);
  padding:28px 20px;
  color: var(--muted);
  text-align:center;
  background:#fff;
}
