#top_img {
  margin-top:20px;
}

#mid_box {
  width:1000px;
  margin:20px auto;
}


#idtitle {
	background-color:#1d95d4;
	color:#fff;
	font-size:14px;
	margin:0;
	padding:10px 0px 5px 15px;
	letter-spacing: 1px;
	width:680px;
	margin-left:30px;
}

#information_box {
  width:685px;
  height:140px;
  border:5px solid #1d95d4;
  float:left;
  margin-left:30px;
  overflow:scroll;
}



#otoiawase {
  float:right;
  margin-right:30px;
  margin-top:-20px;
  padding-top:0;
}

.message_box{
  position: relative;
  display: grid;
  grid-template-columns: 0px 1fr auto;
  grid-template-areas:
	"img title btn"
	"img text  text";
  gap: 12px 18px;
  align-items: start;
  padding: 12px 16px;
  border: 5px solid #d9d9d9;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  width:410px;
  height:110px;
  margin-left:30px;
  margin-bottom:30px;
  overflow: hidden;
  float:left;
  overflow:hidden;
}

/* 左の写真 */
.message_box .g_img{
  grid-area: img;
  width: 100%;
  height: 170px;
  object-fit: cover;
  /* border: 1px solid #d7d7d7; */
  /* ← CSSでは // は使えません。コメントはこの形式だけです。 */
  border-radius: 3px;
}

/* 見出し */
.message_box h2{

  font-size: 18px;
  line-height: 1;
  color: #fff;
  background: #555;
  white-space: nowrap;

  letter-spacing:2px;
  text-align: center;
  justify-self: start;
  width: max-content;
  position: relative;
  z-index: 1;
}

.message_box p{
  /* grid-area: text; ← 使わない（コメントアウト or 削除） */
  grid-column: 2 / 4;   /* 2列目（title側）から3列目（btn側）まで */
  grid-row: 1 / 3;      /* 1行目（titleの行）から2行目まで縦にまたぐ */

  align-self: start;
  margin: 50px 0 6px 0; /* タイトルのすぐ下に余白を作る（調整可） */
  padding-left: 10px;   /* h2の左寄せと揃える */
  line-height: 2;
  font-size: 14px;
  color: #222;
}


/* 右上のCLICKボタン */
.click_btn {
  display:none;
}

/* 本文（見出しの直下・左端を見出しと揃える） */
.message_box p{
  color:#000;
  padding:10px;
}


/* ========== スライダー全体 ========== */
#top_img {
  position: relative;
  width: 100%;
  max-width: 1000px;   /* 固定幅にしたいなら指定 */
  margin: 0 auto;
  overflow: hidden;
}

/* ========== スライダーの枠 ========== */
#top_img .slider {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

/* ========== スライド画像 ========== */
#top_img .slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 画像を枠いっぱいにフィットさせる */
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}

#top_img .slider img:first-child {
  opacity: 1;
}

/* ========== 矢印ボタン ========== */
#top_img .prev,
#top_img .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #036eb8;
  border:2px solid #036eb8;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* 左右の位置 */
#top_img .prev {
  left: 12px;
}
#top_img .next {
  right: 12px;
}

/* hover時のエフェクト */
#top_img .prev:hover,
#top_img .next:hover {
  background-color:#1f65ad;
  color:#fff;
}

/* キーボード操作用フォーカス */
#top_img .prev:focus-visible,
#top_img .next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ========== スマホ用調整 ========== */
@media (max-width: 767px) {
  #top_img .prev,
  #top_img .next {
	width: 64px;
	height: 64px;
	font-size: 32px;
  }
}

table,td {
	border:1px solid #fff;
	margin:0;
	font-size:14px;
	width:100%;

}

tr {
	margin:0;
	padding:0;
}

#privacy-modal-root .pp-agree-block { display:none; }
