/* 全体のフォントと色設定 */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ヘッダー */
header {
  background-color: #f8f8f8;
  padding: 20px 24px;
  text-align: center;
}

/* 各セクションの余白（レスポンシブ対応） */
section {
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 40px;
}

@media (min-width: 950px) {
  section {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1128px) {
  section {
    padding-left: 80px;
    padding-right: 80px;
  }
}

/* 画像ギャラリー */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}


/* 見出しスタイル */
section h2,
section h3 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

/* リスト設定 */
ul {
  list-style: disc;
  padding-left: 20px;
}

ul li {
  margin-bottom: 6px;
}

/* フッター */
footer {
  background-color: #f8f8f8;
  text-align: center;
  padding: 16px;
  font-size: 0.9em;
  color: #555;
}

/* 表示切り替えボタン */
.show-more-button {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  border-radius: 4px;
}

.more-content {
  display: none;
}

/* 初期状態（省略表示） */
.more-content.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  /* 表示する行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 展開時 */
.more-content.expanded {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 10;
  padding: 10px 16px;
  text-align: right;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.modal-body {
  padding: 0px 25px;
}

.close {
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

/* 共通スタイル */
.facility-reserve iframe {
  width: 100%;
  height: 1500px;
  border: none;
  overflow: auto;
  max-width: 100%;
}

/* スマホ用（画面幅が768px以下） */
@media screen and (max-width: 768px) {
  .facility-reserve iframe {
    height: 2200px; /* スマホ用に高さを拡大 */
  }
}


/*階層*/
.breadcrumb {
  font-size: 13px;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  margin-right: 8px;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: #888;
}

.breadcrumb li:last-child::after {
  content: "";
}
/*階層*/