:root {
  --bg: #ffffff;        /* 背景白 */
  --text: #333333;      /* 基本文字色 濃いグレー */
  --muted: #666666;     /* 補助文字色 */
  --brand: #2b6cb0;     /* アクセントブルー */
  --brand-2: #38a169;   /* アクセントグリーン */
  --card: #f9f9f9;      /* カード背景 */
  --maxw: 1120px;
}

/* 全体 */
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 32px, var(--maxw));
  margin-inline: auto;
}

/* ヘッダー */
header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.nav-links a {
  color: var(--text);
}

.nav-links a:hover {
  color: var(--brand);
}

/* ロゴ位置調整 */
.brand {
  display: flex;
  align-items: center;  /* 縦中央揃え */
  gap: 8px;             /* ロゴと文字の間 */
}

.brand img {
  height: 32px;         /* ロゴサイズ調整 */
  display: block;       /* 行間の余白を消す */
}

/* セクション */
.section-title {
  font-size: 24px;
  margin: 20px 0;
  color: var(--brand);
}

/* カード */
.card {
  background: var(--card);
  padding: 16px;
  border-radius: 8px;
  margin: 12px 0;
  border: 1px solid #eee;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--brand); /* デフォルトは青 */
  color: #fff;              /* 白文字に固定 */
  font-weight: 600;
}

.btn:hover {
  background: #1a4e80;
}

/* お問い合わせ専用ボタン */
.btn-contact {
  background: var(--brand-2); /* グリーン */
  color: #fff;                /* 白文字固定 */
}

.btn-contact:hover {
  background: #2f855a;
}

/* ===================== */
/* トップバナー用        */
/* ===================== */
.hero-banner {
  position: relative;
  text-align: center;   /* 中央揃え */
  color: #fff;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;            
  left: 50%;           
  transform: translate(-50%, -50%); /* 完全中央 */
  width: 90%;          
}

.hero-text h1 {
  font-size: 2.2rem;   
  line-height: 1.4;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* ===================== */
/* スマホ表示（768px以下） */
/* ===================== */
@media (max-width: 768px) {
  /* バナーのテキスト縮小 */
  .hero-text h1 {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  /* ナビゲーションを縦積みに */
  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  /* 見出しサイズを調整 */
  .section-title {
    font-size: 20px;
  }

  /* ボタンを少し小さめに */
  .btn, .btn-contact {
    padding: 8px 14px;
    font-size: 14px;
  }
}

