/* === 共通 === */
body {
	font-family: "IBM Plex Sans JP", sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 1px;
}

/* ===== 見出しデザイン（PCサイズ基準） ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  margin: 1.5em 0 0.75em;
  line-height: 1.4;
  color: #222; /* 落ち着いた濃いグレー */
}

/* h1：下線付き、太めのボーダー */
h1 {
  font-size: 26px;
  border-bottom: 2px solid #333;
  padding-bottom: 0.3em;
}

/* h2：左にライン */
h2 {
  font-size: 21px;
  border-left: 4px solid #555;
  padding-left: 0.6em;
}

/* h3：下にドットのボーダー */
h3 {
  font-size: 18px;
  border-bottom: 1px dotted #999;
  padding-bottom: 0.2em;
}

/* h4：シンプルに色と字間で差別化 */
h4 {
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #444;
}

/* ===== スマホサイズ（〜768px） ===== */
@media (max-width: 768px) {
	h1, h2, h3, h4 {
	  margin: 1em 0 0.5em;
	}
  h1 { font-size: 21px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  h4 { font-size: 14px; }
}

.btn.btn-primary {
  font-size: 14px;
  color: #FFF;
  background-color: #222222;
  border-radius: 4px;
  border: none; /* Bootstrapの既存borderを消す場合 */
  padding-left: 30px;
  padding-right: 30px;
}

.btn.btn-primary:hover {
  opacity: 0.7;
}

/* footer */
footer{
	margin-top: 100px;
}
@media (max-width: 768px) {
	footer{
		margin-top: 50px;
	}
}

/* navbar */

.navbar-brand{
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
	"wdth" 100;
}
.navbar-brand .logo-icon{
	margin-bottom: 9px;
}
 .copylight{
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings:
	"wdth" 100;
}

@media (max-width: 768px) {
	.navbar-brand{
		font-size: 17px;	
		margin-top: 4px;
	}
}

:root { --header-h: 64px; }

/* ヘッダーの高さを固定（PC/SPともに64px） */
.site-header { height: var(--header-h); }

/* メニュー本体：ヘッダー直下／全幅。中身は .container でセンタリング */
.menu-panel{
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 1040;                 /* navbar(1030)より上 */
  background-color: rgba(255,255,255,0.98);
  backdrop-filter: blur(2px);    /* お好みで */
  /* フェードは .fade で効く。さらに滑らかにしたいなら opacity を調整 */
}

/* トグルボタンをPCでも常に表示 */
.navbar-toggler{ display:block; }

/* ボタンの枠線・フォーカス影を消す（初期/activeとも） */
.no-border,
.no-border:focus,
.no-border:active {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Bootstrapのトグルアイコンが見えるように、ナビのテーマに合わせて */
.site-header .navbar-toggler .navbar-toggler-icon{
  /* navbar-light 用のデフォルトアイコンを使う想定。背景が濃い場合はフィルタ調整 */
  filter: invert(0); /* 背景が暗いなら 1 に */
}

/* 大きめメニューの見た目強化（任意） */
.menu-panel .nav-link{
  color: #222;
}
.menu-panel .nav-link:hover{
  color: #222;
  opacity: 0.7;
}

/* collapse の高さアニメを短縮（デフォ .35s → .15s） */
#navbarNav.collapsing {
  transition-duration: .15s;
}

/* フェードも短縮（デフォ .15s → .08s）*/
#navbarNav.fade {
  transition: opacity .08s linear;
}

.menu-backdrop{
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease;
  z-index: 1035;                 /* ヘッダー(1030)より上、メニュー(1040)より下 */
}
.menu-backdrop.show{
  opacity: 1;
  visibility: visible;
}

/* メニュー本体は既存どおり */
.menu-panel{ z-index: 1040; }

/* === TOP === */
/* 背景を画面横いっぱいに。高さはお好みで調整 */
.hero-visual{
	background-image: url('/wp-content/uploads/2025/08/bbs_main_image_bg-scaled.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 40vh; /* もっと高くしたい場合は 70vh や 100vh に */
	display: flex; /* flexbox化 */
	align-items: center; /* 縦中央 */
}
.hero-visual .text{
	font-size: 30px;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}
/* Bootstrapにない余白ユーティリティの補助（任意） */
@media (max-width: 768px){
	.py-md-7 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
	.hero-visual{
		background-position: left center; /* きっぱり左なら → left center */
	}
	.hero-visual .text{
		font-size: 20px;
	}
}

/* よくあるご質問 */
.qa-list-block{
	margin-top: 20px; 
}
.qa-list { 
	margin: 0; 
}
.qa-item {
	display: block;
	border-top: 1px solid #ddd;      /* ボーダーで区切り */
	border-radius: 0;            /* radiusなし */
	padding: 16px 20px;
	background: #fff;
	color: #222222;              /* リンク色 */
	text-decoration: none;       /* アンダーラインなし */
	transition: background-color .15s ease-in-out;
	cursor: pointer;             /* ブロッククリック */
}
.qa-item + .qa-item { margin-top: 12px; } /* 縦に並ぶ間隔 */
.qa-item:hover { background: #EFEFEF; }   /* ホバー時の背景 */
.qa-title { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.35; color: #222222; }
.qa-excerpt { margin: 0; color: #555; }
.qa-item:focus-visible { outline: 2px solid #bbb; outline-offset: 2px; }