/* トップページと、同じデザインのページで共通に使うCSS
   （index.html・aq-guide.html など）
   ページだけで使う部分は、各ページの <style> に書く */

/* 色はここでまとめて決める */
:root {
  --bg: #15191c;         /* ページの地の色（濃いグレー） */
  --bg-2: #1d2327;       /* 一段明るい面 */
  --line: #2c3439;       /* 区切り線 */
  --text: #eef1f2;
  --text-sub: #a9b2b6;
  --accent: #5fb3c4;     /* 見出しの色（海の青緑） */
  --brand: #e74c3c;      /* aquatic pro の赤 */
  --bar: #3a4247;        /* バー型ボタンの色 */
  --bar-hover: #4b555b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* ───────── ヘッダー ───────── */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { width: 40px; height: auto; }
.logo span {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.45rem;
  color: var(--brand);
  font-weight: 500;
}
.site-nav {
  display: flex;
  gap: 26px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}
.site-nav a { text-decoration: none; opacity: 0.85; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; color: var(--accent); }

/* ───────── ヒーロー（ページ最上部の大きな写真・映像） ───────── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero.is-sub { height: 74vh; min-height: 460px; }   /* トップ以外のページは少し低め */
.hero video, .hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,25,28,0.95) 0%, rgba(21,25,28,0.25) 45%, rgba(21,25,28,0.45) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
}
.hero-lead {
  margin: 14px 0 28px;
  color: var(--text-sub);
  font-size: 1rem;
}
.hero-lead strong { color: var(--text); font-weight: 500; font-size: 1.25rem; }

/* ───────── バー型ボタン ───────── */
.bar-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-width: 280px;
  padding: 14px 22px;
  background: var(--bar);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  font-weight: 400;
  transition: background 0.2s;
}
.bar-button::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.bar-button:hover { background: var(--bar-hover); }
.bar-button.is-accent { background: var(--accent); color: #0d2a31; font-weight: 500; }
.bar-button.is-accent:hover { background: #77c3d2; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ───────── 交互に並ぶ写真と文章 ───────── */
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.split.is-reverse { grid-template-columns: 1fr 1.15fr; }
.split.is-reverse .split-photo { order: 2; }
.split-photo { position: relative; height: 100%; min-height: 420px; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-text { padding: 70px 56px; }
.section-title {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.section-en {
  margin: 0 0 22px;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--text-sub);
}
.split-text p { margin: 0 0 18px; }
.nowrap { white-space: nowrap; }   /* 見出しの途中で改行させたくない部分に使う */

/* 小さめの補足（ジオの紹介など） */
.side-note {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-sub);
}
.side-note a { color: var(--accent); }

/* ───────── フッター ───────── */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #7d878c;
}
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* ───────── スマホ ───────── */
@media (max-width: 800px) {
  .site-header { padding: 14px 16px; }
  .site-nav { display: none; }
  .hero { height: 82vh; }
  .hero.is-sub { height: 70vh; }
  .hero-inner { flex-direction: column; align-items: flex-start; padding: 0 16px 40px; }
  .hero h1 { letter-spacing: 0.06em; }
  .bar-button { min-width: 0; width: 100%; }
  .split, .split.is-reverse { grid-template-columns: minmax(0, 1fr); }
  .split.is-reverse .split-photo { order: 0; }
  .split-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .split-text { padding: 36px 16px 20px; }
  .section-title { font-size: 1.45rem; letter-spacing: 0.08em; }
  footer { padding: 30px 16px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; }
}
