
/* モーダルの基本的なスタイル */
.modal {
  display: none; /* 初期状態では非表示 */
  position: fixed; /* 画面に固定 */
  z-index: 10; /* 最前面に表示 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7); /* 背景を暗くする */
  overflow-y: scroll;
}

/* モーダルコンテンツのスタイル */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 画面中央付近に配置 */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* 幅の調整 */
  max-width: 800px; /* 最大幅の設定 */
}

/* 閉じるボタンのスタイル */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* *** 画像とテキストを横に並べる部分 *** */
.content-container {
  display: flex; /* Flexboxを有効にする */
  align-items: center; /* 垂直方向の中央揃え (必要に応じて変更) */
  gap: 20px; /* 画像とテキストの間の余白 */
}

.image-section {
  flex: 1; /* 親要素内での幅の比率を調整 */
}

.image-section img {
  width: 100%; /* 画像をコンテナの幅に合わせる */
  height: auto;
  display: block;
}

.image-section_02 {
  flex: 1; /* 親要素内での幅の比率を調整 */
}

.image-section_02 img {
  width: 110%; /* 画像をコンテナの幅に合わせる */
  height: auto;
  display: block;
}

.text-section {
  flex: 2; /* 画像より広い幅にする例 */
  padding-left: 2em;
}

.text-section h3{
  margin-top: 2em;
}

.text-section p span{
  color: #e6a117 !important;
  font-size: 110%;
}

.text-section_02 {
  flex: 2; /* 画像より広い幅にする例 */
  padding-left: 1.2em;
}

.text-section_02 h3{
  margin-top: 2em;
}

.text-section_02 p span{
  color: #e6a117 !important;
  font-size: 110%;
}

.videobn_top .itemThumb img{
  width: 56%;
  margin-bottom: 1em;
}

.videobn_top{
  display: flex;
  justify-content: center;

}

/* スマートフォンなど画面が狭い場合のレスポンシブ対応 */
@media (max-width: 600px) {
  .content-container {
    flex-direction: column; /* 画面が狭い場合は縦積みに変更 */
  }
  .modal-content {
    width: 90%;
    margin: 20% auto;
  }
  .videobn_top .itemThumb img{
  width: 80%;
    margin-top: 0;
}
.main_content02 nav{
    margin-bottom: 1em;
}


.image-section_02 img {
  width: 102%; /* 画像をコンテナの幅に合わせる */
  height: auto;
  display: block;
}
}


