@charset "UTF-8";
/* ==========================================================================
   淡路市立しづかホール - トップページスタイルシート
   ========================================================================== */

/* ==========================================================================
   ヒーローセクション (p-hero)
   ========================================================================== */
.p-hero {
  position: relative;
  width: 100%;
  height: calc(97vh - var(--header-height));
  min-height: 40rem;
  overflow: hidden;
  background: #efefef;
  flex-shrink: 0;
}

.p-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* ヒーロー下部の波形装飾 */
.p-hero__wave {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 144rem;
  pointer-events: none;
  z-index: 2;
}

.p-hero__wave img {
  display: block;
  width: 100%;
  height: auto;
}

/* ヒーローテキスト */
.p-hero__subtitle {
  position: absolute;
  left: 0;
  /* top: 690.5px in 800px hero → from bottom: ~109px */
  bottom: 7.9rem;
  z-index: 3;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: 0.0229em;
  color: #fff;
  line-height: 3.665rem;
  white-space: nowrap;
}

.p-hero__title {
  position: absolute;
  left: -0.1em;
  /* center at top: 763px in 800px → bottom edge ~28px below hero, overflow clips */
  bottom: -1.7rem;
  z-index: 3;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: max(90px, 7.43vw);
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* ==========================================================================
   ユーザーガイドセクション (p-user-guide)
   ========================================================================== */
.p-user-guide {
  position: relative;
  background: #A2D7D4;
  overflow: hidden;
  padding: 10rem 0 18rem;
  flex-shrink: 0;
}

.p-user-guide__inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.p-user-guide__wave-bg {
  position: absolute;
  bottom: -18.3rem;
  left: -7rem;
  width: 109.5rem;
  pointer-events: none;
  z-index: 0;
}

.p-user-guide__wave-bg img {
  width: 100%;
  height: auto;
}

/* ガイドカード */
.p-guide-card {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 2.2rem;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.p-guide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.25s;
  z-index: 2;
  pointer-events: none;
}

.p-guide-card:hover::before {
  background: rgba(255, 255, 255, 0.3);
}

.p-guide-card__image-wrap {
  width: 100%;
  height: 19.5rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.p-guide-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 楕円装飾 */
.p-guide-card__ellipse {
  position: absolute;
  bottom: -12.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 45.7rem;
  height: 17.6rem;
  pointer-events: none;
}

.p-guide-card__ellipse img {
  width: 100%;
  height: 100%;
}

.p-guide-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-end;
  justify-content: center;
  width: 26.4rem;
  flex-shrink: 0;
}

.p-guide-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: center;
  width: 100%;
}

.p-guide-card__heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.p-guide-card__icon {
  width: 2.6rem;
  height: auto;
  flex-shrink: 0;
}

.p-guide-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 2.6rem;
  color: #333;
  white-space: nowrap;
  line-height: 1;
}

.p-guide-card__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #333;
  line-height: 1.79;
  width: 100%;
  padding-bottom: 0.47rem;
}

.p-guide-card__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
}

.p-guide-card__link-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: #333;
  white-space: nowrap;
  line-height: 1;
}

.p-guide-card__link-icon {
  width: 2.8rem;
  height: 2.8rem;
}

/* ==========================================================================
   カレンダーセクション (p-calendar)
   ========================================================================== */
.p-calendar {
  position: relative;
  background: #fff;
  padding: 6rem 8rem 10rem;
  overflow: hidden;
}

.p-calendar__wave {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 3;
}

.p-calendar__wave img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 144rem;
  height: auto;
  display: block;
  pointer-events: none;
}

/* 楕円背景装飾 */
.p-calendar__ellipse-bg {
  position: absolute;
  left: -20.8rem;
  top: -6.4rem;
  width: 185.6rem;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.p-calendar__ellipse-bg img {
  width: 100%;
  height: auto;
}

.p-calendar__inner {
  position: relative;
  z-index: 2;
}

/* セクション見出し */
.p-calendar__head {
  margin-bottom: 4.8rem;
  width: 40.7rem;
}

/* カレンダー本体 */
.p-calendar__main {
  width: 100%;
  display: flex;
  justify-content: center;
}

.p-calendar__dummy-img {
  width: 100%;
  height: auto;
  display: block;
}

/* カレンダーヘッダー */
.p-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  height: 6.9rem;
  background: #A2D7D4;
}

.p-calendar__header-left {
  display: flex;
  align-items: center;
  gap: 3.7rem;
}

.p-calendar__today-btn {
  border: 1px solid #000;
  border-radius: 5rem;
  padding: 1.2rem 2.8rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #000;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.p-calendar__today-btn:hover {
  background: #337D8A;
  border-color: #337D8A;
  color: #fff;
}

.p-calendar__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.p-calendar__nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

.p-calendar__nav-arrow img {
  width: 3.5rem;
  height: auto;
}

.p-calendar__month {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: #000;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  position: relative;
}

.p-calendar__header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.p-calendar__view-selector {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid #000;
  border-radius: 5rem;
  padding: 1.2rem 2.4rem;
}

.p-calendar__view-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #000;
  white-space: nowrap;
}

.p-calendar__view-icons {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.p-calendar__view-icon {
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
}

/* カレンダーグリッド */
.p-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  padding: 0 1.2rem 5rem;
  background: #A2D7D4;
}

.p-calendar__cell {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 8rem;
  height: 13.4rem;
  padding: 1.1rem 0.6rem 5.2rem;
  align-items: center;
  position: relative;
}

/* 角丸 */
.p-calendar__cell--tl {
  border-radius: 1.6rem 0 0 0;
}

.p-calendar__cell--tr {
  border-radius: 0 1.6rem 0 0;
}

.p-calendar__cell--bl {
  border-radius: 0 0 0 1.6rem;
}

.p-calendar__cell--br {
  border-radius: 0 0 1.6rem 0;
}

/* 空セル */
.p-calendar__cell--empty {
  background: #A2D7D4;
  pointer-events: none;
}

.p-calendar__cell-day {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #333;
  line-height: 1;
}

.p-calendar__cell-date {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #333;
  line-height: 1;
}

.p-calendar__cell-event {
  background: #337D8A;
  border-radius: 0.3rem;
  padding: 0.3rem 0.4rem;
  width: 100%;
  position: absolute;
  bottom: 0.5rem;
  left: 0.4rem;
  right: 0.4rem;
  width: calc(100% - 0.8rem);
}

.p-calendar__cell-event p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   ピックアップイベントセクション (p-pickup)
   ========================================================================== */
.p-pickup {
  position: relative;
  background: #f7f4f0;
  border-radius: 15rem 15rem 0 0;
  padding: 10rem 0 11.5rem;
}

.p-pickup__inner {
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
}

.p-pickup__head-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: -1.5rem;
}

.p-pickup__head {
  width: 40.7rem;
}

.p-pickup__controls {
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
  align-items: flex-end;
}

.p-pickup__arrows {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.p-pickup__arrow {
  background: none;
  border: none;
  cursor: pointer;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.p-pickup__arrow:hover {
  opacity: 0.7;
}

.p-pickup__arrow img {
  width: 4rem;
  height: 4rem;
}

/* カード一覧 */
.p-pickup__cards {
  display: flex;
  gap: 3.6rem;
  overflow-x: auto;
  width: 100rem;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.p-pickup__cards::-webkit-scrollbar {
  display: none;
}

/* イベントカード */
.p-event-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 27.2rem;
}

.p-event-card__thumb {
  position: relative;
  aspect-ratio: 210 / 297;
  border-radius: 0.6rem;
  border: 0.5px solid #7d7d7d;
  overflow: hidden;
}

.p-event-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-event-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.p-event-card__venue-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.p-event-card__venue-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.p-event-card__venue {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: #337D8A;
  white-space: nowrap;
  line-height: 1;
}

.p-event-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: #333;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-event-card__date {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #7d7d7d;
  line-height: 2rem;
  white-space: nowrap;
}

/* ==========================================================================
   お知らせセクション (p-news)
   ========================================================================== */
.p-news {
  background: #fff;
  padding: 10rem 0;
}

.p-news__inner {
  display: flex;
  gap: 7rem;
  align-items: flex-start;
}

/* 左カラム: タイトル + フィルター */
.p-news__sidebar {
  display: flex;
  flex-direction: column;
  gap: 4.3rem;
  flex-shrink: 0;
}

.p-news__filters {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.p-news__filter-btn {
  width: 10.5rem;
  text-align: center;
  border-radius: 4.4rem;
  padding: 0.7rem 0 0.8rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  border: 1px solid #337D8A;
  background: none;
  color: #333;
}

.p-news__filter-btn.is-active,
.p-news__filter-btn:hover {
  background: #337D8A;
  color: #fff;
  border-color: #337D8A;
}

/* 右カラム: ニュースリスト */
.p-news__list-wrap {
  flex: 1;
  width: 100%;
}

.p-news__list {
  background: #fff;
  border-radius: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  width: 100%;
}

.p-news__empty {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #7d7d7d;
  padding: 2rem 0;
}

/* ボタン群: p-news__inner の外に配置し常に下部固定 */
.p-news__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.6rem;
  margin-top: 3.3rem;
}

.p-news__item-wrap {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 2.6rem;
}

.p-news__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.p-news__item:hover {
  opacity: 0.8;
}

.p-news__item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.p-news__item-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.p-news__item-date {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.6rem;
  color: #7d7d7d;
  line-height: 1;
}

.p-news__item-tag {
  background: #337D8A;
  border-radius: 4.4rem;
  padding: 0.3rem 1.2rem 0.4rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.09em;
  white-space: nowrap;
  min-width: 8.4rem;
  text-align: center;
  line-height: 1;
}

.p-news__item-title-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: #333;
  line-height: 2.4rem;
}

.p-news__item-arrow {
  width: 0.5rem;
  height: 1rem;
  flex-shrink: 0;
}

.p-news__separator {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
}

.p-news__more {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  transition: opacity 0.2s;
}

.p-news__more:hover {
  opacity: 0.7;
}

.p-news__more-icon {
  width: 3rem;
  height: 3rem;
}

.p-news__more--facebook {
  font-size: 2rem;
}

.p-news__more-facebook-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Instagramセクション (p-instagram)
   ========================================================================== */
.p-instagram {
  background: #fff;
  padding: 0 22rem 10rem;
}

.p-instagram__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.2rem;
}

.p-instagram__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  color: #333;
}

.p-instagram__follow-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #337D8A;
  font-size: 1.6rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.p-instagram__follow-link:hover {
  opacity: 0.7;
}

.p-instagram__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.p-instagram__photo {
  aspect-ratio: 1;
  overflow: hidden;
}

.p-instagram__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-instagram__photo:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Instagram CTAバナー (p-cta)
   ========================================================================== */
.p-cta {
  background: #337D8A;
  padding: 3.5rem 22rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.p-cta__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.p-cta__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.4;
}

.p-cta__sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.p-cta__btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 5rem;
  padding: 1.4rem 3rem;
  text-decoration: none;
  color: #337D8A;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.p-cta__btn:hover {
  opacity: 0.85;
}

.p-cta__btn-icon {
  width: 2.4rem;
  height: 2.4rem;
}

/* ==========================================================================
   SP対応 (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* ヒーロー */
  .p-hero {
    min-height: 30rem;
  }

  .p-hero__subtitle {
    font-size: 3.8vw;
    bottom: 22vw;
    left: 0.8rem;
    white-space: nowrap;
    line-height: 1.6;
  }

  .p-hero__title {
    font-size: 12vw;
    bottom: -0.5rem;
    left: 0.5rem;
  }

  /* ユーザーガイド */
  .p-user-guide {
    padding: 5rem 0 10rem;
  }

  .p-user-guide__inner {
    flex-direction: column;
    gap: 2.4rem;
  }

  .p-guide-card__body {
    width: 82%;
  }

  /* カレンダーセクション */
  .p-calendar {
    padding: 5rem 0 6rem;
  }

  .p-calendar__head {
    width: 100%;
    margin-bottom: 3rem;
  }

  /* セクション間カーブ（wave） */
  .p-calendar__wave img {
    width: 100vw;
  }

  /* ピックアップイベント */
  .p-pickup {
    border-radius: 5rem 5rem 0 0;
    padding: 6rem 0 7rem;
  }

  .p-pickup__head {
    width: 100%;
  }

  .p-pickup__cards {
    width: 100%;
  }

  .p-event-card {
    width: 20rem;
  }

  .p-event-card__date {
    font-size: 1.2rem;
  }

  /* お知らせ */
  .p-news {
    padding: 5rem 0;
  }

  .p-news__inner {
    flex-direction: column;
    gap: 3.2rem;
  }

  .p-news__filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .p-news__filter-btn {
    width: 100%;
    padding: 0.7rem 0.8rem 0.8rem;
  }

  .p-news__item-title-text {
    font-size: 1.6rem;
  }
}