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

/* ────────────────────────────
   リセット
──────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* ────────────────────────────
   デザイントークン変数
──────────────────────────── */
:root {
  --blue: #125bad;
  --blue-light-bg: #f5fbff;
  --blue-pale: #cce4ff;
  --text: #333;
  --white: #fff;
  --header-bg: rgba(255,255,255,0.6);
  --max-w: 1200px;
  --pad-x: 120px;
}

/* ────────────────────────────
   ヘッダー
──────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 75px;
  background: var(--header-bg);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(18,91,173,0.1);
}

.header-inner {
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 6px;
  color: var(--blue);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.header-logo:hover { opacity: 0.75; }

.nav-pc {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-pc a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-pc a:hover { opacity: 0.6; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 52px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn-contact::after { display: none !important; }
.btn-contact:hover { opacity: 0.8; }
.btn-contact svg { flex-shrink: 0; }

/* ヘッダー内CTAはやや控えめ（75px高さに収まるよう） */
.site-header .btn-contact,
header .btn-contact {
  font-size: 14px;
  padding: 11px 28px;
  gap: 7px;
}

/* PC: テキスト付きボタンを表示、アイコンのみを非表示 */
.btn-cta-pc { display: inline-flex; }

/* アイコンのみボタン: デフォルト非表示（PCではbtn-cta-pcを使う） */
.btn-contact-sp {
  display: none;
  align-self: stretch;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.br-sp { display: none; }

/* ────────────────────────────
   フッター
──────────────────────────── */
footer {
  background: #d3e9f8;
  color: rgba(18,91,173,0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  padding: 0 var(--pad-x);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(18,91,173,0.2);
  margin-bottom: 24px;
}

.footer-logo {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5px;
  color: var(--blue);
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-nav a {
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-nav a:hover { opacity: 0.6; }

.footer-copy {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ────────────────────────────
   レスポンシブ: タブレット
──────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
}

/* ────────────────────────────
   レスポンシブ: モバイル
──────────────────────────── */
@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  /* ヘッダー */
  header { height: 60px; }
  .header-inner { padding: 0 0 0 20px; }
  .header-logo { font-size: 15px; letter-spacing: 3px; white-space: nowrap; }
  .nav-pc { display: none; }
  .btn-cta-pc { display: none; }       /* テキスト付きボタンを非表示 */
  .btn-contact-sp { display: flex; align-self: stretch; align-items: center; padding: 0 18px; } /* アイコンのみ表示 */

  /* フッター */
  footer { padding: 40px 0 24px; }
  .footer-inner { padding: 0 20px; text-align: center; }
  .footer-top {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .footer-nav { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .footer-copy { text-align: center; }
}
