.grecaptcha-badge { visibility: hidden; }
.shiyakusyobana {
	background-color: #effbff;
}
.shiyakusyocolor {
	padding: 20px 8px;
}
.shiyakusyobana1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 12px;
    padding-top: 20px;
   
}

.banaflex-item1 {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 210 / 50; /* 画像の比率を維持 */
    overflow: visible;
}

.banaflex-item1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.last-banner-container {
    position: relative; /* テキストを絶対配置するための基準 */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 210 / 50; /* 比率を維持 */
    overflow: visible; /* 子要素がはみ出すのを許可 */
}

.last-banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sagamihara-text {
    position: absolute; /* 画像の上に重ねて配置 */
    bottom: -20px; /* 画像の下に配置する距離 (調整してください) */
    left: 50%;
    transform: translateX(-50%); /* 水平方向中央揃え */
    text-align: center;
    font-family: 'Sans-serif';
    font-size: 0.8em; /* デフォルトのフォントサイズ */
    margin: 0;
    white-space: nowrap;
    /*background-color: rgba(255, 255, 255, 0.8); /* 背景色 (透明度あり) */
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 1;
}

/* 画面幅768px以上の場合は5つ横並び */
@media screen and (min-width: 768px) {
    .banaflex-item1 {
        flex: 1 1 calc(20% - 12px); /* 5つ並び */
    }
    .last-banner-container {
        flex: 1 1 calc(20% - 12px); /* 5つ並び */
    }
}

/* 767px以下の場合は3つ横並び */
@media screen and (max-width: 767px) {
    .banaflex-item1 {
        flex: 1 1 calc(33.333% - 12px); /* 3つ並び */
    }
    .last-banner-container {
        flex: 1 1 calc(33.333% - 12px); /* 3つ並び */
    }
    .sagamihara-text {
    position: absolute; /* 画像の上に重ねて配置 */
    bottom: -15px; /* 画像の下に配置する距離 (調整してください) */
    left: 50%;
    transform: translateX(-50%); /* 水平方向中央揃え */
    text-align: center;
    font-family: 'Sans-serif';
    font-size: 0.5em; /* デフォルトのフォントサイズ */
    margin: 0;
    white-space: nowrap;
    /*background-color: rgba(255, 255, 255, 0.8); /* 背景色 (透明度あり) */
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 1;
}
}

.external1 {
  padding: 56px 0px;
  text-align: center;
  background: #fff
}

@media(max-width: 767px) {
  .external1 {
    padding: 28px 30px 28px;
  }
}

@media(min-width: 768px)and (max-width: 1100px) {
  .external1 {
    padding: 32px 20px;
  }
}

.external1 h2 {
  margin: 0px;
  padding: 0px;
  font-size: 32px;
  color: #004f72
}

@media(max-width: 767px) {
  .external1 h2 {
    font-size: 22px;
  }
}

@media(min-width: 768px)and (max-width: 1100px) {
  .external1 h2 {
    font-size: 30px;
  }
}

.external1  a:hover {
  opacity: .8;
}

@media(max-width: 767px) {
	.external {
		padding-bottom: 20px !important;
	}
}

.terebi {
  text-align: center;
  margin: 20px 0;
}

.terebi img {
  width: 80%;          /* 画面幅の80%に縮小 */
  max-width: 560px;     /* 最大でも560pxまで */
  height: auto;         /* 高さは自動調整 */
  border-radius: 8px;   /* 角を少し丸くする（任意） */
}


.terebi-text {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.terebi-title {
	color: #185479;
	text-align: center;
  font-size: 1.5em;
  
}
.youtube-note {
  font-size: 0.9em;
  margin-top: 5px;
  color: #666;
}

.youtube-note a {
  text-decoration: underline;
  color: #0073aa; /* WordPressっぽい青 */
}

.youtube-note a:hover {
  color: #005177;
}

.terebiwaku {
	background-color: #f0f0f1 !important;
	padding: 10px 0;
	margin: 20px 14px;
}

@media screen and (max-width: 767px) {
  .terebi-title {
    font-size: 1.2em; /* 少し小さめに */
  }

  .terebi-text {
    font-size: 1em; /* 少し小さめに */
    word-break: break-word; /* 単語の途中でも改行可能に */
    white-space: normal; /* 折り返し可能に */
    padding: 0 10px;
  }

  .youtube-note {
    font-size: 0.8em;
    padding: 0 10px;
    word-break: break-word;
    white-space: normal;
  }

  .terebi img {
    width: 100%; /* 小さい画面では全幅表示 */
  }

  .terebiwaku {
    padding: 10px 5px;
    margin: 10px;
  }
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin: 0 auto; /* 中央寄せ */
  background-color: #000; /* 読み込み中の背景 */
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  top: 0;
  left: 0;
}
