@charset "utf-8";
/* =================================
access
================================== */
.topic--access{
    margin-top: 5rem;
}

.access__address {
  display: flex;
  align-items: center; /* 縦の中央揃え */
  gap: 1rem; /* 画像とテキストの間に余白 */
  justify-content: center; /* 全体を中央寄せしたい場合 */
  margin-top: 2rem;
}

.access__address img {
  width: 2rem; /* アイコンのサイズ調整 */
  height: auto;
  display: block;
}

.access__address p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.4;
}

.postcode {
  font-weight: bold;
}

.access__map{
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

  .access__map-photo{
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

.access__map iframe {
    width: 100%;   /* 親要素に合わせて横幅自動 */
    height: 350px; /* デフォルトの高さ（スマホ） */
    border: 0;
}


.access__photo {
    margin-top: 2rem;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

.access__photo picture img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  text-align: center;
  margin: 0 auto;
}

.access-photo-texts {
  position: absolute;
  bottom: 1rem;   /* 画像下からの距離 */
  left: 4rem;     /* 画像左からの距離 */
  color: #fff;    /* 白文字（背景に合わせて変更） */
  background: rgba(0, 0, 0, 0.4); /* 半透明背景をつけると読みやすい */
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.br-tab{
  display: block;
}

.access__route-toho,
.access__route-car,
.access__route-bus{
    padding: 0 1rem;
}

  /* 徒歩・車・バスルート共通の親要素 */
.toho-route,
.car-route,
.bus-route {
    text-align: center; /* テキスト中央寄せ */
    padding: 0 1rem;    /* 左右に余白 */
}

.tohoTitle h3,
.carTitle h3,
.busTitle h3{
    justify-content: center;
    font-family: 'Noto Sans JP';
    font-size: 1.8rem;
    margin-top: 5rem;
}

.tohoImg img{
  border-radius: 8px;
}
.access__route-img{
    margin-top: 1rem;
    display: block;
    width: 100%;
    border-radius: 8px;
}

.case_car{
    margin-top: 5rem;
}

.font-weight700{
    font-weight: 700;
}

.access__directions {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* 画像の間の余白 */
}

.access__directions figure {
  position: relative;
  margin: 0;
}

.access__directions picture img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.access__route-img {
    display: flex;      /* 横並び */
    gap: 1rem;          /* 画像間の間隔 */
    flex-wrap: wrap;    /* スマホでは縦並びになる */
}

.route-photo {
    position: relative;
    width: 100%;        /* 必要に応じてPCでは50%などに調整 */
    max-width: 350px;   /* 画像サイズ制限 */
}

.route-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.route-photo figcaption {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
    border-radius: 4px;
}

.route-photo{
  margin: 0 auto;
}

/* access PC*/
@media (min-width: 1024px) {
 .access__map iframe {
    height: 479px; /* PCで大きく表示 */
    }

  /* 地図と写真を横並び */
  .access__map-photo {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-bottom: 3rem;
  }
  .access__map, .access__photo {
    flex: 1;
  }

  .tohoTitle,
  .carTitle,
  .busTitle{
    margin-bottom: 2rem;
    font-size: 2.2rem;
  }

  .access__route-toho{
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 0 7.5%;
    }

  .access__route-img{
      justify-content: center;
  }

  .toho-route,
  .car-route,
  .bus-route{
      background-color: #f5f5f5;
      padding-top: 1rem;
      padding-bottom: 1rem;
    }

  .access__route-text{
      text-align: center;
      margin-top: 1rem;
    }

  .access__route-img {
    gap: 2rem;
    justify-content: center;
    flex-wrap: nowrap; /* 横並び固定 */
  }

  .route-photo{
  width: 45%;       /* PCでは画像を左右で大きく表示 */
  max-width: none;  /* 元の350px制限を外す */
  }

  .bus-route {
  text-align: center; /* 親要素に中央寄せ */
  }

  .access__route-bus iframe {
  display: block;     /* iframeをブロック化 */
  margin: 0 auto;     /* 横中央に寄せる */
  width: 80%;
  }

  .access__route-bus p {
    margin-top: 0.5rem; /* iframeとテキストの間隔 */
  }

  .br-tab{
    display: none;
  }
}
/* 1024px */

/* access 768〜1023px */
@media (min-width: 768px) and (max-width: 1023px) {

  .access__map-photo{
    width: 80%;
    margin: 0 auto;
  }

  /* 徒歩・車・バスルート共通の親要素 */
  .toho-route,
  .car-route,
  .bus-route {
    text-align: center; /* テキスト中央寄せ */
    padding: 0 1rem;    /* 左右に余白 */
  }

   .br-tab {
    display: inline;
  }

  .tohoTitle,
  .carTitle,
  .busTitle{
    margin-bottom: 1rem;
    font-size: 2.2rem;
  }

  /* 徒歩ルート画像 */
  .access__tohoroute-img img,
  .tohoImg img {
    display: block;
    margin: 0 auto;
    height: 50%;
    width: 30%;
    border-radius: 0.5rem;
  }

  /* 車ルート画像 */
  .route-photo img {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    height: auto;
    border-radius: 0.5rem;
  }

  /* 車ルートのキャプション */
  .route-photo figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: #fff;
    left: 5rem;
  }

  /* 徒歩・車・バスの説明文 */
  .access__route-text p,
  .access__route-bus p {
    text-align: center;
    line-height: 1.8;
  }

  /* バスルートの地図 */
  .access__route-bus iframe {
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    width: 80%;
  }

  .br-tab{
    display: none;
  }
}
/* 768px〜1023px */


/* =================================
openinghours
================================== */
.topic--openinghours{
    margin-top: 10rem;
}

.calender_title{
    margin-top: 3rem;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    font-family: 'Noto Serif JP';
}

.eigyobi_calender img {
  width:  90%;
  height: auto;
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

.openinghours__content{
    padding-right:1rem ;
    padding-left: 1rem;
}

.eigyou-kyugyobi{
    margin-top: 2rem;
    text-align: center;
}

#calendar iframe {
  width: 100%;
  max-width: 800px;
  height: 600px;
}


/* openinghours 1024px */
@media (min-width: 1024px) {
  .openinghours__content{
    text-align: center;
  }

  .calender_title{
    margin-bottom: 3rem;
  }

  .eigyou-kyugyobi{
    margin-top: 5rem;
  }
  .kyugyoubi{
    margin-top: 1rem;
  }
}
/* 1024px */

/* openinghours 768〜1023px */
@media (min-width: 768px) and (max-width: 1023px) {
.eigyobi_calender img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

}
/* 768px〜1023px */