/* ================================
  コンテナ・セクション共通
================================ */
body {
  font-size: 16px;
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  /* 例 */
}


.hfk-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.l-section {
  padding: 2rem 0;
}

.c-heading.-lg {
  text-align: center;
}

.c-heading.-lg span {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #005bac;
  /* メインカラーに合わせて変更可 */
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.c-heading.-lg span::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: #f15a24;
  /* アクセントカラー */
  margin: 8px auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(241, 90, 36, 0.5);
}

/* ================================
  冒頭リード文
================================ */
.c-lead {
  border-left: 5px solid #f15a24;
  /* 左側に強調線 */
  background: #fff8f5;
  /* 少し色味ある背景 */
  padding: 1.5rem 2rem;
  border-radius: 6px;
  font-size: 1.2rem;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}


/* ================================
  中部・東海地方で公演をお考えの方へ
================================ */
.c-districtList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* 常に縦並び */
  gap: 2rem;
}

.c-districtList__item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s ease;
}

.c-districtList__item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.c-districtList__name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #005bac;
}

.c-districtList__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  flex-grow: 1;
}

/* ================================
  ギャラリー（横3列）
================================ */
.c-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* PCは3列 */
  gap: 16px;
  margin-top: 1rem;
}

.c-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.c-gallery img:hover {
  transform: scale(1.05);
}

/* ================================
  ギャラリー（縦2列）
================================ */
@media (max-width: 768px) {
  .c-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 👇 超狭い画面では1列に */
@media (max-width: 480px) {
  .c-gallery {
    grid-template-columns: 1fr;
  }
}

/* ================================
  ギャラリーアイテム調整
================================ */
.c-districtGallery__item {
  display: block;
  /* flex は不要 */
  text-align: center;
}


/* ================================
  テーブル（施設概要など）
================================ */
.c-table {
  width: 100%;
  border-collapse: collapse;
}

.c-table th,
.c-table td {
  border: 1px solid #ccc;
  padding: 0.8rem;
  text-align: left;
}

@media (max-width: 768px) {

  .c-table,
  .c-table thead,
  .c-table tbody,
  .c-table th,
  .c-table td,
  .c-table tr {
    display: block;
    width: 100%;
  }


  .c-table th {
    display: none;
  }

  .c-table td {
    padding-left: 0.8rem;
    box-sizing: border-box;
  }



  .c-table td[data-label]::before {
    content: attr(data-label);
    font-weight: bold;
    margin-bottom: 0.3rem;
    display: block;
  }
}


/* ================================
  タイムライン（例）
================================ */
.c-timeline li {
  border-left: 3px solid #005bac;
  margin-left: 1rem;
  padding-left: 1rem;
  position: relative;
}

.c-timeline li::before {
  content: '';
  position: absolute;
  left: -0.65rem;
  top: 0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #005bac;
  border-radius: 50%;
}

/* ================================
  挨拶セクション（代表者など）
================================ */
.c-greeting {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.c-greeting__img img {
  border-radius: 50%;
  max-width: 150px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.c-greeting__text {
  flex: 1;
}

.c-greeting__name {
  margin-top: 1rem;
  font-weight: bold;
}

/* ================================
  その他調整
================================ */
.p-pickupBanners {
  margin-bottom: 0;
}

.c-pageTitle {
  text-align: center;
}



/* ================================
  オルガンについて
================================ */
.organ-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.organ-gallery-item {
  flex: 0 1 300px;
  /* 画像1枚あたりの横幅 */
  max-width: 100%;
  text-align: center;
}

.organ-gallery-item img {
  width: 100%;
  height: 200px;
  /* 高さを統一 */
  object-fit: cover;
  /* トリミング表示 */
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.organ-gallery-item img:hover {
  transform: scale(1.02);
}

@media screen and (max-width: 768px) {
  .organ-gallery {
    flex-direction: column;
    align-items: center;
  }

  .organ-gallery-item {
    flex: 1 1 100%;
  }

  .organ-gallery-item img {
    width: 100%;
    height: auto;
    /* スマホでは自然表示 */
    object-fit: contain;
  }
}

/* ================================
  オルガン演奏会スライダー
================================ */
.concert-slider-section {
  margin: 4rem 0;
  background: #f4f4f4;
  padding: 2rem;
}

.concert-slide {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 1rem;
}

.concert-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.concert-info {
  margin-top: 0.8rem;
}

.concert-title {
  font-size: 1rem;
  margin: 0.4rem 0;
}

.concert-date {
  font-size: 0.85rem;
  color: #777;
}

/* Swiper navigation arrows */
.swiper-button-prev,
.swiper-button-next {
  color: #333;
}


.concert-list-section {
  padding: 3rem 1rem;
  background-color: #f8f8f8;
}

.concert-list-container {
  max-width: 960px;
  margin: 0 auto;
}

.concert-list-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #005bac;
  margin-bottom: 1.5rem;
  text-align: center;
}

.concert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.concert-list-item {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
}

.concert-list-item a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.concert-list-item a:hover {
  background-color: #eef6ff;
}

.concert-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.3rem;
}

.concert-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #005bac;
}

/* ================================
  投稿ページ用
================================ */
.stylish-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  margin-bottom: 3rem;
  border-left: 6px solid #0073aa;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #005bac;
  margin: 2rem 0 1rem;
  border-left: 5px solid #f15a24;
  padding-left: 0.75rem;
}

.stylish-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.detail-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.detail-content {
  flex: 1;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.detail-row dt {
  font-weight: 600;
  min-width: 80px;
  color: #333;
}

.detail-row dd {
  margin: 0;
  flex: 1;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .stylish-layout {
    flex-direction: column;
  }

  .detail-image img {
    max-width: 100%;
  }
}


/* ================================
  投稿カテゴリページ用
================================ */
.category-header {
  text-align: center;
  margin-bottom: 2em;
}

.category-title {
  font-size: 2rem;
  font-weight: bold;
}

.category-description {
  color: #666;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}

.post-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
}

.post-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.post-info {
  padding: 1em;
}

.post-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.post-date {
  display: block;
  color: #999;
  font-size: 0.9rem;
  margin-top: 0.5em;
}


/* ================================
  自主事業レポート用ギャラリー
================================ */

.event-gallery-section {
  margin-top: 3rem;
}

.gallery-title {
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  /* お好みで調整可（例：150px、200px） */
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}



/* ================================
  関連記事用
================================ */

.related-posts {
  margin-top: 60px;
}

.related-posts .section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.2em;
  border-left: 5px solid #0073aa;
  /* SWELL風カラーに調整可 */
  padding-left: 12px;
}

.related-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.related-post-card {
  flex: 1 1 calc(25% - 24px);
  max-width: calc(25% - 24px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.related-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.related-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.related-info {
  padding: 16px;
  flex-grow: 1;
}

.related-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5em;
  color: #222;
  line-height: 1.4;
}

.related-posts .related-date--event {
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(90deg, #0b4e92, #0b65c5);
  font-weight: 700;
  padding: .4em .3em .4em .9em;
  display: flex;
  border-radius: 99999px;
}

.related-posts .related-date__label {
  margin-right: .3em;
}




/* モバイル対応 */
@media screen and (max-width: 1024px) {
  .related-post-card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media screen and (max-width: 600px) {
  .related-post-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .related-thumb img {
    height: 160px;
  }
}

/* ================================
  戻るボタン
================================ */

.back-to-list {
  text-align: right;
  margin-top: 2em;
}

.btn-back {
  background: #004080;
  color: #fff;
  padding: 0.5em 1.2em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn-back:hover {
  background: #0066cc;
}




/* ================================
  施設ガイド用
================================ */
.main-visual {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.main-visual img {
  width: 100%;
  height: 60vh;
  /* 表示高さ：画面の60% */
  object-fit: cover;
  /* はみ出さずにトリミング */
  display: block;
}

.stylish-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.stylish-layout.reverse {
  flex-direction: row-reverse;
}

.detail-image {
  flex: 0 1 320px;
}

.detail-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-content {
  flex: 1;
  min-width: 240px;
}

/*リンクボタン*/
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.section-nav__btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: linear-gradient(to right, #005bac, #0073aa);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.section-nav__btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.75s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
}

.section-nav__btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.section-nav__btn:hover {
  background: linear-gradient(to right, #0073aa, #005bac);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}




@media (max-width: 768px) {

  .stylish-layout,
  .stylish-layout.reverse {
    flex-direction: column;
  }

  .detail-image,
  .detail-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .main-visual img {
    height: 40vh;
    /* スマホではもう少し低く */
  }

  .section-nav {
    flex-direction: column;
    align-items: center;
  }

  .section-nav__btn {
    width: 90%;
    text-align: center;
  }
}

.cta-banner {
  background: linear-gradient(to right, #005bac, #0073aa);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 4rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cta-banner__title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-banner__text {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-banner__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  color: #005bac;
  background: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cta-banner__btn:hover {
  background: #f15a24;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .cta-banner__title {
    font-size: 1.3rem;
  }

  .cta-banner__btn {
    width: 100%;
    max-width: 280px;
  }
}


.event-swiper {
  width: 100%;
}

.event-swiper .swiper-slide a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.event-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.event-swiper .swiper-button-next,
.event-swiper .swiper-button-prev {
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}