/* ============================
   基本フォント
============================ */
.fo1 {
  font-family: "ＭＳ Ｐゴシック","Osaka";
  font-size: 10pt;
  line-height: 150%;
  color:#000;
}

.fob {
  font-family: "ＭＳ Ｐゴシック","Osaka";
  font-size: 13pt;
  font-weight:bold;
  line-height:120%;
  color:#000066;
}

BLOCKQUOTE {
  font-family:"ＭＳ Ｐゴシック","Osaka";
  font-size:10pt;
  line-height:150%;
  white-space:nowrap;
}

/* ============================
   スマホ最適化（統合版）
============================ */
@media screen and (max-width: 900px) {

  /* ▼ 2カラムを縦並びに強制 */
  .main-grid {
    display: flex;
    flex-direction: column !important;
    width: 100%;
  }

  /* ▼ content を必ず上に */
  .content {
    order: 1 !important;
    width: 100% !important;
  }

  /* ▼ sidebar を必ず下に */
  .sidebar {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
}

/* ============================
   ヘッダー
============================ */
.site-header {
  width:100%;
  height:300px; /* ← ここで高さを自由に調整できる */
  background:url("../header.png") no-repeat center center;
  background-size:cover;
}


/* ▼ ロゴ画像 */
 .logo img {
  width:100%;
  height:180px;        /* ← 高さを固定する（auto ではダメ） */
  object-fit:cover;    /* ← 画像を縦方向にトリミングして収める */
  display:block;
} 

/* ============================
   メニュー（統合版）
============================ */
nav.global-nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  padding:12px 0;
  background:#000044;
}

nav.global-nav a {
  display:inline-block;
  padding:8px 16px;
  background:transparent;
  color:#fff;
  border:1px solid #ffffff55;
  border-radius:4px;
  font-size:16px;
  font-weight:500;
  text-decoration:none;
  transition:0.25s;
  text-shadow:0 0 4px rgba(0,0,0,0.6);
}

nav.global-nav a:hover {
  background:#fff;
  color:#000066;
  border-color:#fff;
}

/* ============================
   2カラムレイアウト（PC用）
============================ */
.main-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  margin-top: 12px;
}

.sidebar {
  flex: 0 0 260px;
  max-width: 260px;
}

.content {
  flex: 1 1 0;
  min-width: 0;
}

/* ============================
   フッター
============================ */
footer.site-footer {
  background:url("../header2.png") no-repeat center center;
  background-size:cover;
  color:#fff;
  padding:30px 16px;
  border-radius:6px;
  margin-top:30px;
  text-align:center;
  font-size:14px;
  line-height:1.8;
  position:relative;
  z-index:10;
}

footer .footer-nav a {
  color:#99ccff;
  text-decoration:underline;
  margin:0 8px;
}
