.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}
/* 初期設定のコード隠す
#slider-wrapper .bx-controls-direction a {
  z-index: 100;
}

#slider-wrapper .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

#slider-wrapper .bx-wrapper img {
  margin: 10px auto;
}

#slider-wrapper .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#slider-wrapper .bx-caption span {
  padding: 1.5em;
}

#slider-wrapper .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#slider-wrapper .bx-pager a {
  background: #fff;
}

#slider-wrapper .bx-pager a:hover,
#slider-wrapper .bx-pager a.active {
  background: #0068B7;
}
 */

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #FFFFFF;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: #FFFFFF;
  background: #333;
}

.p-custom-banner__unit--text a {
  color: #FFFFFF;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }
  
 /*
  #slider-wrapper .bx-pager {
    bottom: 30px;
  } */

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}

.category-buttons-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 100%;
  margin-bottom: 60px; /* 下に100pxのマージンを設定 */
  margin-top: 60px; /* 下に100pxのマージンを設定 */
}

.category-button-unique { /* クラス名を変更 */
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  background-color: #f8f8f8;
  width: 200px;
  text-align: center;
}

.category-button-unique.active { /* クラス名を変更 */
  background-color: #333;
  color: #fff;
}

.category-button-unique:hover { /* クラス名を変更 */
  background-color: #696969;
  color: #fff;
  cursor: pointer;
}

/* スマートフォン向けのスタイル */
@media screen and (max-width: 600px) {
  .category-buttons-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 5%;
    margin-bottom: 50px; /* 下に50pxのマージンを追加 */
    margin-top: 50px; /* 下に50pxのマージンを追加 */
  }

  .category-button-unique { /* クラス名を変更 */
    width: auto;
  }
}


/* スライドショー全体を囲むコンテナ */
.slider-wrapper {
  width: 100%; /* 幅を親要素に合わせて100%に設定 */
}

/* スライドショーのメインコンテナ */
.swiper {
  width: 100%; /* 幅を親要素に合わせて100%に設定 */
  margin-top: 20px; /* 上部に20pxの余白を追加 */
  justify-content: space-between; /* スライド間の余白を均等に配置 */
}

/* スライド内の画像 */
.swiper-slide img {
  width: 100%; /* 画像の幅をスライドに合わせて100%に設定 */
  max-width: 800px; /* 画像の最大幅を500pxに制限 */
  height: auto; /* 高さを自動調整 */
  display: block; /* ブロック要素として表示 */
  margin: 0 5px; /* 左右に5pxの余白を追加 */
  padding: 5px; /* 内側に5pxの余白を追加 */
}

/* 前のスライドと次のスライドへのナビゲーションボタン */
.swiper-button-prev,
.swiper-button-next {
  color: white !important; /* ボタンの色を白に設定 */
  width: 100%; /* ボタンの幅を100%に設定 */
  height: auto; /* ボタンの高さを自動調整 */
  display: flex; /* フレックスボックスとして表示 */
  justify-content: center; /* ボタンを中央に配置 */
  align-items: center; /* ボタンを中央に配置 */
  top: 50%; /* 上から50%の位置に配置 */
  transform: translateY(-50%); /* 縦方向に中央揃え */
}

/* ナビゲーションボタンの疑似要素（アイコン） */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: white !important; /* アイコンの色を白に設定 */
}

/* スライドのアニメーション */
.swiper-slide {
  transition: opacity 0.3s ease; /* 透明度のアニメーションを0.3秒で実行 */
  grid-gap: 10px; /* スライド間のギャップを10pxに設定 */
}

/* スライドにマウスオーバーした時のスタイル */
.swiper-slide:hover {
  opacity: 0.7; /* 透明度を0.7に設定 */
}

/* スマートフォン向けのスタイル */
@media (max-width: 767px) {
  .swiper {
    justify-content: space-around; /* スマートフォンでは余白を調整 */
    margin-top: 10px; /* スマートフォンではmargin-topを調整 */
  }

  .swiper-slide img {
    max-width: 100%; /* スマートフォンでは画像の最大幅を調整 */
    margin: 0; /* スマートフォンでは画像の余白を調整 */
  }
  
/* ミサ編集ギャラリー */

.gallery-slideshow-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* アスペクト比 16:9 */
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.gallery-slide.active {
  opacity: 1;
}
  
