.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;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

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

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

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

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

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

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

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #fd7f23;
}

.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: #f8f8f8;
}

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

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

.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;
  }

  #p-slider .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;
  }
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 50.00%;
  height: 0;
  overflow: hidden;
}

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


/* CATEGORYセクションのコンテナに内側の余白を追加（もし必要であれば） */
.c-section__container {
    padding: 0 10px; /* PCでの適切な余白に調整 */
}

/* カテゴリー一覧のリストのスタイルを調整 */
.c-section__container > ul { /* <{$category}>が出力するul要素の例 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-section__container > ul > li { /* <{$category}>が出力するli要素の例 */
    margin-bottom: 10px;
    border-bottom: 1px solid #eee; /* 区切り線 */
}

.c-section__container > ul > li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #333;
    transition: opacity .2s;
}

.c-section__container > ul > li a:hover {
    opacity: .66;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCで3列 */
  gap: 10px;
  justify-items: center;
  align-items: center;
}

.category-grid img {
  width: 100%;
  height: auto;
  max-width: 500px; /* お好みで変更可 */
  transition: transform 0.2s;
}

.category-grid a:hover img {
  transform: scale(1.05);
}

/* スマホ表示（768px以下）は2列に変更 */
@media screen and (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================
   上部バナー
========================= */

.main-banner {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;
}

/* 画像共通 */

.main-banner img {

    width: 100%;

    display: block;
}

/* PC画像 */

.pc-image {

    display: block !important;
}

/* スマホ画像 */

.sp-image {

    display: none !important;
}

/* =========================
   スマホ
========================= */

@media screen and (max-width: 768px) {

    .main-banner {

        padding: 0 10px;
    }

    .pc-image {

        display: none !important;
    }

    .sp-image {

        display: block !important;
    }

}


/* =========================
   スライダー全体
========================= */
.slider-container{
    width:100%;
    max-width:1300px;
    margin:0 auto;
    padding:20px 0;
    box-sizing:border-box;
    overflow:hidden;
    transition:opacity .3s ease;
}

@media screen and (min-width:768px) and (max-width:1024px){
    .slider-container{
        max-width:92%;
    }
}

/* =========================
   bxSlider本体
========================= */
.bx-wrapper{
    margin:0 auto !important;
    border:none !important;
    box-shadow:none !important;
    background:transparent !important;
}

#slider{
    margin:0;
    padding:0;
}

/* ★ flex削除が超重要 */
#slider li{
    list-style:none;
    overflow:hidden;
    border-radius:10px;
    background:#eee;
    position:relative;
}

#slider li a{
    display:block;
    width:100%;
    height:100%;
    pointer-events:auto;
}

#slider img{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    display:block;

    /* iPhoneタップ対策 */
    pointer-events:none;
    -webkit-user-drag:none;
}

/* =========================
   矢印ボタン
========================= */
.bx-wrapper .bx-controls-direction a{

    background:rgba(255,255,255,.92) !important;

    width:42px !important;
    height:42px !important;

    border-radius:50%;
    border:1px solid #ddd;

    position:absolute;
    top:50%;
    margin-top:-21px !important;

    z-index:9999 !important;

    text-indent:-9999px;
    overflow:hidden;

    cursor:pointer;
}

/* 左 */
.bx-wrapper .bx-prev{
    left:10px !important;
}

/* 右 */
.bx-wrapper .bx-next{
    right:10px !important;
}

.bx-wrapper .bx-prev:after,
.bx-wrapper .bx-next:after{

    content:"";
    position:absolute;

    top:50%;
    left:50%;

    width:10px;
    height:10px;

    border-top:2px solid #333;
    border-left:2px solid #333;
}

/* ← */
.bx-wrapper .bx-prev:after{
    transform:translate(-35%,-50%) rotate(-45deg);
}

/* → */
.bx-wrapper .bx-next:after{
    transform:translate(-65%,-50%) rotate(135deg);
}

/* =========================
   ページャー
========================= */
.bx-pager{
    text-align:center;
    padding-top:15px !important;
}

.bx-pager.bx-default-pager a{

    width:10px;
    height:10px;

    margin:0 4px !important;

    border-radius:50%;

    background:#ccc !important;
}

.bx-pager.bx-default-pager a.active{
    background:#333 !important;
}

/* =========================
   スマホ
========================= */
@media screen and (max-width:767px){

    .slider-container{
        padding:0 10px;
    }

    .bx-wrapper .bx-controls-direction a{

        width:34px !important;
        height:34px !important;

        margin-top:-17px !important;
    }
}

/* スマホ・タブレットでは矢印非表示 */
@media screen and (max-width: 1024px){

    .bx-wrapper .bx-controls-direction{
        display:none !important;
    }

}



/* =========================
   共通（全体の幅と余白）
========================= */

.youtube-wrap,
.map-wrap,
.banner-grid {
  width: 100%;
  max-width: 1000px;   
  margin: 0 auto 15px;
}

/* =========================
   YouTube
========================= */

.youtube-wrap iframe {
  width: 100%;
  height: 430px;
  display: block;
  border: 0;
}

/* =========================
   GoogleMap
========================= */

.map-wrap iframe {
  width: 100%;
  height: 320px;
  display: block;
  border: 0;
}

/* =========================
   新バナーグリッド（PC・iPad時の設定：1行に2個）
========================= */

.banner-grid {
  display: flex;
  flex-wrap: wrap;             /* 折り返しを許可 */
  gap: 15px;                   /* バナー同士の縦横のすき間 */
}

/* 各バナー（横幅を50%からgapの半分を引いたサイズに自動計算） */
.banner-item {
  flex: 0 0 calc(50% - 7.5px);
  display: block;
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   スマホ表示（画面幅 768px 以下：1行に1個）
========================= */

@media screen and (max-width: 768px) {

  /* バナー全体を中央寄せ */
  .banner-grid {
    width: 92%;
    gap: 12px;                 /* スマホ時の縦のすき間 */
    justify-content: center;
  }

  /* スマホ時は1行に1個（横幅100%）にする */
  .banner-item {
    flex: 0 0 100%;
  }

  /* YouTubeとマップのスマホ対応 */
  .youtube-wrap,
  .map-wrap {
    width: 92%;
  }

  .youtube-wrap iframe,
  .map-wrap iframe {
    height: 220px;
  }
}

/* =========================
   iPad余白調整（画面幅 769px &#12316; 1024px）
========================= */

@media screen and (min-width: 769px) and (max-width: 1024px) {

  .youtube-wrap,
  .map-wrap,
  .banner-grid {
    width: 95%;
    max-width: 1000px;
  }

}