@charset "utf-8";
/*
 Theme Name:Koji Child
 Template:koji
 Text Domain:koji-child
*/



/* Googleマップ レスポンシブ */
.gmap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%; /* PC基準の高さ */
  overflow: hidden;
  margin-bottom: 3em; /* ← 追加 */
}

/* スマホ時は縦を少し長くする */
@media (max-width: 768px) {
  .gmap {
	padding-bottom: 75%;
  }
}

.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}




/* デフォルトでbファイル192行目にあり*/
/*
.entry-content p {
  margin-bottom: 1.6em;
}
*/



/* 例外用ユーティリティ */
.entry-content p.space-05 { margin-bottom: 0.5em; }
.entry-content p.space-10 { margin-bottom: 1em; }
.entry-content p.space-15 { margin-bottom: 1.5em; }
.entry-content p.space-20 { margin-bottom: 2em; }
.entry-content p.space-30 { margin-bottom: 3em; }  /* メイン */




.image-box-b3 {
  border: 1px solid #dfdfdf;
  margin-bottom: 3em;
}

.image-box-b3 img {
  display: block;
  width: 100%;
  height: auto;
}
.image-box-b3 p {
  margin: 0;
  text-align: center;
  font-size: 0.9em;
  padding: 0.1em 0;
  line-height: 1.4;
}


.image-box-tb3 {
  border: 1px solid #dfdfdf;
  margin-top: 3em;
  margin-bottom: 3em;
}

.image-box-tb3 img {
  display: block;
  width: 100%;
  height: auto;
}
.image-box-tb3 p {
  margin: 0;
  text-align: center;
  font-size: 0.9em;
  padding: 0.1em 0;
  line-height: 1.4;
}





/*前後ナビゲーション　今風CSS */

/* 前後記事ナビゲーション部分 ------------------------------- */
.navigation {
	font-size: 1em;
	margin: 50px 0 24px;
	text-align: center;
}

/* コンテナ */
#prev_next {
	display: flex;
	width: 100%;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/* prev / next 共通 */
#prev_next a {
	flex: 1;
	padding: 30px 15px 20px;
	position: relative;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;      /* 横中央 */
}

/* 中央の縦線のみ */
#prev_next a:first-child {
	border-right: 1px solid #ccc;
}

/* 画像 */
#prev_next img {
	display: block;
	height: auto;
	width: 150px;   /* SP基準 */
}

/* タイトル */
#prev_next p {
	font-size: 90%;
	line-height: 1.6;
	margin-top: 12px;
	text-align: center;
}

/* ホバー */
#prev_next a:hover {
	background-color: rgba(238, 238, 238, 0.7);
}

/* タイトルラベル */
#prev_next #prev_title,
#prev_next #next_title {
	background: #fff;
	border: 1px solid #ccc;
	color: #464647;
	font-size: 90%;
	padding: 3px 8px;
	position: absolute;
	top: -0.9em;
}

#prev_next #prev_title {
	left: 15px;
}

#prev_next #next_title {
	right: 15px;
}

/* =========================
   PC表示
   ========================= */
@media (min-width: 769px) {
	
	/* 画像の高さ固定 */
	#prev_next img {
		height: 100px;
		width: auto;       /* ← 比率維持 */
	}
	
	/* 画像を同じラインで揃えるために固定高さの枠を作る */
	#prev_next a {
		min-height: 200px;   /* 必要なら微調整 */
		justify-content: flex-start;
	}
}

