/* WondersPass 共通デザイン
   写真を大きく使い、紺 × 青 × 生成り色で落ち着いた雰囲気に。線は細く、余白は広く。
   パソコン・スマホ両対応。 */

:root {
  --navy: #0e1c33;
  --navy-2: #16294a;
  --paper: #f7f6f2;
  --white: #ffffff;
  --ink: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e2e2dc;
  --blue: #2f6fe4;
  --blue-deep: #2259c7;
  --blue-soft: #e8effc;
  --spark: transparent;
  --side: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px; line-height: 1.8; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - var(--side) * 2); margin: 0 auto; }
.ico { width: 24px; height: 24px; flex: 0 0 auto; stroke-width: 3; }

/* 見出し */
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: 12px; }
.h2 { margin: 0; font-size: clamp(26px, 3.8vw, 40px); font-weight: 900; color: var(--ink); line-height: 1.35; letter-spacing: .01em; }
.sub { margin: 14px 0 0; color: #4b5563; font-size: 15px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 6px; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; transition: background .15s, color .15s;
}
.btn .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-white:hover { border-color: var(--ink); }

/* ヘッダー（トップでは写真の上に重ねる） */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.site-header .logo img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .btn { height: 38px; padding: 0 16px; font-size: 13px; color: #fff; }
.site-nav .btn:hover { color: #fff; }
.menu-btn { display: none; border: 0; background: transparent; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; }
.menu-btn .ico { width: 26px; height: 26px; stroke-width: 2.4; }

.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(14, 28, 51, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer nav { position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 82vw); background: #fff; padding: 14px 24px; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.open nav { transform: none; }
.drawer .close { display: block; align-self: flex-end; margin: 0; }
.drawer nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 15px 2px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer nav a .ico { width: 16px; height: 16px; color: var(--muted); stroke-width: 2.2; }

/* ページ見出し（下層ページ） */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.page-head .wrap { position: relative; z-index: 1; padding: 64px 0 56px; }
.page-head .photo { position: absolute; inset: 0 0 0 45%; background: center / cover no-repeat; }
.page-head .photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(14,28,51,.6) 40%, rgba(14,28,51,.1) 100%); }
.page-head h1 { margin: 0; font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; line-height: 1.3; }
.page-head p { margin: 14px 0 0; color: #c9d2e3; font-size: 15px; }
.page-head .eyebrow { color: #7fa9ff; }

/* フッター（夕景の写真） */
.site-footer { position: relative; overflow: hidden; color: #fff; background: var(--navy) url("/assets/top/footer.jpg") center 40% / cover no-repeat; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,28,51,.35), rgba(14,28,51,.85)); }
.site-footer .wrap { position: relative; padding: 64px 0 36px; }
.site-footer .logo img { width: 170px; filter: invert(1); }
.site-footer .tagline { margin: 14px 0 0; font-size: 15px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.4); max-width: 520px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 36px; font-size: 13px; color: #d6dceb; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }

/* 仮置き画像 */
.ph { background: #ecebe6; color: #9a9a92; font-size: 12px; display: grid; place-items: center; text-align: center; }

@media (max-width: 760px) {
  :root { --side: 20px; }
  .site-header .bar { height: 58px; padding: 0 20px; }
  .site-header .logo img { width: 124px; }
  .site-nav { display: none; }
  .menu-btn { display: block; }
  .page-head .wrap { padding: 40px 0 36px; }
  .page-head .photo { inset: 0; opacity: .35; }
  .site-footer .wrap { padding: 48px 0 28px; }
}
