CSS
/* ==========================================================
   共通レイアウト・全体デザイン
   ========================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

/* ヘッダー */
.site-header {
    background-color: #008080;
    color: #ffffff;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 1.5rem;
}

/* ヒーローセクション */
.page-hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background-color: #1a365d;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* 文字の視認性を高める暗めオーバーレイ */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.page-title {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.page-subtitle1 {
  font-size: 2.0rem;
  opacity: 0.9;
}

.page-subtitle2 {
  font-size: 1.5rem;
  opacity: 0.9;
}

/* メインコンテナ */
.container {
    max-width: 1200px;
    margin: 1rem auto; /* 上下に4remの余白を設定 */
    padding: 0 1rem;
}

/* ==========================================================
   グリッドレイアウト（1列・2列・3列の設定）
   ========================================================== */
.card-grid {
    display: grid;
    gap: 2rem; /* カード同士の左右・上下の間隔 */
    margin-top: 1rem;    /* グリッド自体の上の余白 */
    margin-bottom: 1rem; /* グリッド自体の下の余白 */
}

/* 最初に1つ目のグリッドが来るときの上の余白調整 */
.card-grid:first-child {
    margin-top: 0;
}

/* --- デフォルト（タブレット・PC等）：手動で指定した列数で配置 --- */

/* 【選択肢1】1列並び */
.grid-col-1 {
    grid-template-columns: 1fr;
}

/* 【選択肢2】2列並び */
.grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 【選択肢3】3列並び */
.grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* --- スマホ表示時（画面幅 768px 未満）のレスポンシブ設定 --- */
@media (max-width: 767px) {
    /* 2列・3列の指定があっても強制的に1列（縦並び）に変更 */
    .grid-col-2,
    .grid-col-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   カード外枠（デザイン統一）
   ========================================================== */
.product-card {
  background-color: #ffffff;
  border-radius: 8px;
  border-top: 2px solid #20b2aa; /* 上端のアクセントカラー */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 10px; /* カード全体に縁からの余白（10px）を設定 */
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 基本は縦並び */
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-title-bar {
    background-color: #f1f5f9;
    border-bottom: 1px solid #003366;
    
    /* ↓ 高さを直接指定する設定 */
    min-height: 40px;              /* 縦幅の最低を○○pxに固定（お好みの数値に変更） */
    display: flex;              /* テキストの上下中央揃え用 */
    align-items: center;        /* テキストを縦方向の中央に配置 */
    padding: 0 1rem;            /* 左右の余白のみ指定 */
    
    font-size: 1.25rem;
    font-weight: bold;
    color: #003366;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ==========================================================
   カード内部エリア（自由記述スペース）
   ========================================================== */
.card-body {
    padding: 1rem;
    flex: 1;
}

/* 画像保護 */
.card-body img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom; /* 下のスキマを防ぎつつ、中央揃えも有効にする設定 */
}

/* カード内部用ユーティリティ（配置調整） */
.align-center { text-align: center; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }

.img-left-shift {
    float: left;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    max-width: 45%;
}

.img-right-shift {
    float: right;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    max-width: 45%;
}

.img-center-shift {
    margin: 0 auto 1rem auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}



.btn-primary {
  display: inline-block;
  background-color: #2b6cb0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #2c5282;
}


/* フッター */
.site-footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
}



.card-action {
  clear: both;
  padding-top: 15px;
}











