/* =========================================
   Main Visual / お知らせ
========================================= */

/* 共通
----------------------------------------- */
.top-intro {
  position: relative;
}

/* 左側の装飾 */
.top-intro::before {
  content: "";
  position: absolute;
  left: 0;

  width: clamp(220px, 30vw, 470px);
  aspect-ratio: 474 / 654;

  background: url("/images/bg01.png") no-repeat left center / contain;

  z-index: 0;
  pointer-events: none;
}

/* 閲覧支援時は装飾を非表示 */
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .top-intro::before,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-main-visual::after {
  display: none;
}

.top-main-visual,
.top-news {
  position: relative;
  z-index: 1;
}

/* =========================================
   Main Visual
========================================= */

.top-main-visual {
  position: relative;
  margin-bottom: clamp(50px, 6vw, 90px);
}

/* 写真枠 */
.top-main-visual__image {
  overflow: hidden;
}

/* 人物イラスト */
.top-main-visual::after {
  content: "";
  position: absolute;

  aspect-ratio: 238 / 201;

  background: url("/images/bg02_n.png") no-repeat center / contain;

  z-index: 2;
  pointer-events: none;
}

.top-main-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.TopCopy {
  text-align: center;
  font-size: 1.2em;
  color: #168eea;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin: 0 auto 110px;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}
/* 閲覧支援 */
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .TopCopy {
  color: var(--text);
}

/* PC
----------------------------------------- */
@media (min-width: 751px) {
  .top-intro::before {
    top: 37%;
    width: clamp(180px, 22vw, 320px);
  }

  .top-main-visual {
    margin-inline: clamp(30px, 4vw, 80px);
    margin-bottom: clamp(70px, 7vw, 110px);
    margin-bottom: 50px;
  }

  .top-main-visual__image {
    aspect-ratio: 16 / 6.5;
    border-radius: 0 0 3rem 3rem;
  }

  .top-main-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }

  .top-main-visual::after {
    right: clamp(30px, 4vw, 70px);
    bottom: -40px;

    width: clamp(160px, 13vw, 230px);
  }
}

/* SP
----------------------------------------- */
@media (max-width: 750px) {
  .top-intro::before {
    top: 200px;
    width: clamp(110px, 34vw, 145px);
  }
  .top-main-visual {
    width: 100%;
  }

  .top-main-visual__image {
    border-radius: 0 0 2rem 2rem;
  }

  .top-main-visual::after {
    right: 1rem;
    bottom: -40px;

    width: 120px;
  }
  .TopCopy {
    text-align: center;
    font-size: 1em;
    padding: 1em;
    text-align: justify;
    margin-bottom: 4em;
  }
}
/* =========================================
   Main Visual Slider TEST
========================================= */

.top-main-slider {
  position: relative;
  margin-bottom: clamp(50px, 6vw, 90px);
}

/* スライダー本体 */
.top-main-slider__swiper {
  overflow: hidden;
}

/* 画像 */
.top-main-slider__image {
  width: 100%;
}

.top-main-slider__image picture,
.top-main-slider__image img {
  display: block;
  width: 100%;
}

.top-main-slider__image img {
  height: auto;
}

/* -----------------------------------------
   人物イラスト
----------------------------------------- */
.top-main-slider::after {
  content: "";
  position: absolute;
  z-index: 2;

  aspect-ratio: 238 / 201;

  background: url("/images/bg02_n.png") no-repeat center / contain;

  pointer-events: none;
}

/* -----------------------------------------
   ページネーション
----------------------------------------- */
.top-main-slider__pagination.swiper-pagination {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 3;

  width: auto;
}

.top-main-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 6px !important;

  background-color: #fff;
  opacity: 0.6;
}

.top-main-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* =========================================
   Main Visual Slider PC
========================================= */

@media (min-width: 751px) {
  .top-main-slider {
    margin-inline: clamp(30px, 4vw, 80px);
    margin-bottom: 50px;
  }

  .top-main-slider__swiper {
    aspect-ratio: 16 / 6.5;
    border-radius: 0 0 3rem 3rem;
  }

  .top-main-slider__image,
  .top-main-slider__image picture {
    height: 100%;
  }

  .top-main-slider__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
  }

  .top-main-slider::after {
    right: clamp(30px, 4vw, 70px);
    bottom: -40px;

    width: clamp(160px, 13vw, 230px);
  }
}

/* =========================================
   Main Visual Slider SP
========================================= */

@media (max-width: 750px) {
  .top-main-slider {
    width: 100%;
  }

  .top-main-slider__swiper {
    border-radius: 0 0 2rem 2rem;
  }

  .top-main-slider::after {
    right: 1rem;
    bottom: -40px;

    width: 120px;
  }

  .top-main-slider__pagination.swiper-pagination {
    bottom: 15px;
  }
}

/* =========================================
   閲覧支援
========================================= */

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-main-slider::after {
  display: none;
}

/* =========================================
   セクションタイトル
========================================= */

.top-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 2rem;

  text-align: center;
}

.top-section-title h2 {
  margin: 0;

  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.top-section-title__en {
  margin-top: 0.15em;

  color: #00a089;

  font-family: "Caveat", cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;

  white-space: nowrap;
}

/* 閲覧支援 */
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-section-title__en {
  color: var(--text);
}
/* =========================================
   お知らせ 一覧
========================================= */

.top-news {
  padding-inline: clamp(1rem, 5vw, 5rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.top-news__list {
  width: min(100%, 900px);
  margin-inline: auto;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);

  padding: 1.25rem 0;

  border-bottom: 1px solid var(--border);

  color: var(--text);
  text-decoration: none;
}

.news-date {
  white-space: nowrap;
  font-weight: 700;
}

.news-title {
  min-width: 0;
  line-height: 1.7;
}

.news-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  padding-bottom: 0.2em;

  background-color: #000;
  color: #fff;

  font-size: 1.5rem;
  line-height: 1;

  flex-shrink: 0;
}
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .news-arrow {
  background-color: var(--text);
  color: var(--surface);
}
@media (min-width: 751px) {
  .top-news {
    display: grid;
    grid-template-columns: 200px minmax(0, 700px);
    justify-content: center;
    align-items: start;
    gap: clamp(50px, 6vw, 100px);
  }

  .top-news .top-section-title {
    align-items: flex-start;
    margin: 0;
    text-align: left;
  }

  .top-news__list {
    width: 100%;
    margin: 0;
  }
  .top-news .top-section-title h2 {
    display: flex;
    flex-direction: column;

    margin: 0;

    font-size: clamp(2rem, 2.4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: 0.05em;
  }

  .top-news .top-section-title h2 span {
    font-size: 0.72em;
    letter-spacing: 0.08em;
  }
}
@media (max-width: 750px) {
  .top-news {
    padding-inline: 1rem;
  }

  .news-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date arrow"
      "title arrow";

    gap: 0.25rem 0.75rem;
  }

  .news-date {
    grid-area: date;
    font-size: 0.875rem;
  }

  .news-title {
    grid-area: title;
    font-size: 0.9375rem;
  }
  .news-arrow {
    grid-area: arrow;
    align-self: center;
    width: 2rem;
    height: 2rem;

    font-size: 1.25rem;
  }
}

/* =========================================
   Event / Calendar 背景エリア
========================================= */

/* 共通
----------------------------------------- */
.top-event-area {
  position: relative;
  padding-block: clamp(80px, 10vw, 160px);
  background-color: var(--bg);
}

.top-event-area::before,
.top-event-area::after {
  content: "";
  position: absolute;
  left: 0;

  width: 100%;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  pointer-events: none;
}

.top-event-area::before {
  top: 0;
  height: clamp(80px, 10vw, 160px);
  background-image: url("/images/bg-event-top.png");
}

.top-event-area::after {
  bottom: 0;
  height: clamp(80px, 10vw, 160px);
  background-image: url("/images/bg-event-bottom.png");
}

/* 閲覧支援
----------------------------------------- */
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-event-area::before,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-event-area::after {
  display: none;
}

/* =========================================
   Event タイトル
========================================= */

/* 共通
----------------------------------------- */
.top-section-title--event {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 2.5rem;

  text-align: center;
}

.top-section-title--event .top-section-title__en {
  position: relative;

  margin: 0;

  color: #00a089;

  font-family: "Caveat", cursive;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1;
}

/* Event 左右の斜め線 */
.top-section-title--event .top-section-title__en::before,
.top-section-title--event .top-section-title__en::after {
  content: "";
  position: absolute;
  top: 55%;

  width: 1.5rem;
  height: 2px;

  background-color: currentColor;
}

.top-section-title--event .top-section-title__en::before {
  right: calc(100% + 0.75rem);
  transform: rotate(60deg);
}

.top-section-title--event .top-section-title__en::after {
  left: calc(100% + 0.75rem);
  transform: rotate(-60deg);
}

.top-section-title--event h2 {
  margin: 0.4rem 0 0;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* 人物イラスト */
.event-person {
  position: absolute;
  z-index: 1;

  display: block;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  pointer-events: none;
}

.event-person--left {
  background-image: url("/images/person02_n.png");
}

.event-person--right {
  background-image: url("/images/person03.png");
}

/* PC
----------------------------------------- */
@media (min-width: 751px) {
  .event-person--left {
    top: -200px;
    left: 15%;

    width: clamp(120px, 8vw, 220px);
    aspect-ratio: 91 / 90;
  }

  .event-person--right {
    top: -20px;
    right: 22%;

    width: clamp(80px, 8vw, 150px);
    aspect-ratio: 169 / 170;
  }
}

/* SP
----------------------------------------- */
@media (max-width: 750px) {
  .event-person--left {
    top: -100px;
    left: 4%;

    width: 90px;
    aspect-ratio: 91 / 90;
  }

  .event-person--right {
    top: -40px;
    right: 5%;

    width: 74px;
    aspect-ratio: 169 / 170;
  }
}

/* 閲覧支援
----------------------------------------- */
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-section-title--event
  .top-section-title__en {
  color: var(--text);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .event-person {
  display: none;
}

/* =========================================
   Event Card
========================================= */

.event-card {
  width: min(100%, 320px);
}

.event-card a {
  display: flex;
  flex-direction: column;
  height: 100%;

  color: var(--text);
  text-decoration: none;
}

/* 画像
----------------------------------------- */
.event-image {
  position: relative;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 1 / 1;
}

.event-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* 画像がない場合
----------------------------------------- */
.event-image .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  background-color: #aebdbf;
  color: var(--surface);

  font-size: 0.875rem;
}

/* カテゴリ
----------------------------------------- */
.event-category {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;

  min-width: 5em;
  padding: 0.35em 0.75em;

  background-color: #00a089;
  color: #fff;

  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .event-category {
  border: 1px solid var(--border);
  background-color: var(--text);
  color: var(--surface);
}
/* タイトル
----------------------------------------- */
.event-card h3 {
  display: -webkit-box;
  overflow: hidden;

  min-height: calc(1.55em * 3);
  margin: 0.8rem 0 0;

  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* 開催日
----------------------------------------- */
.event-meta {
  margin-top: auto;
  padding-top: 1rem;

  color: #006b80;

  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .event-meta {
  color: var(--text);
}

/* =========================================
   Event Slider
========================================= */

.event-slider {
  width: 100%;
  overflow: hidden;
}

.slider-dots.swiper-pagination {
  position: relative;
  inset: auto;

  margin-top: 30px;
  margin-bottom: 50px;
}

/* スライド数が足りない場合はSwiper側で非表示 */
.swiper-pagination-lock {
  display: none;
}

/* =========================================
   Calendar
========================================= */

/* 共通
----------------------------------------- */
.top-calendar {
  position: relative;

  padding-block: clamp(80px, 8vw, 130px) clamp(100px, 10vw, 160px);
}

/* 背景装飾 */
.top-calendar::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("/images/bg-calendar.png") no-repeat center top / 100% auto;

  pointer-events: none;
}

/* 見出し文言切り替え：PCを標準表示 */
.calendar-heading__sp {
  display: none;
}

/* =========================================
   Calendar Card
========================================= */

.calendar-area {
  position: relative;
  z-index: 1;

  width: min(calc(100% - 60px), 1600px);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 70px);

  background-color: var(--surface);
  border-radius: 30px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.06);
}

/* =========================================
   Calendar Title
========================================= */
.calendar-area .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 35px;

  text-align: center;
}

.calendar-area .section-title h2 {
  margin: 0;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.calendar-area .section-title span {
  order: -1;

  margin-bottom: 0.25em;

  color: #00a089;

  font-family: "Caveat", cursive;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1;
}
/* =========================================
   Calendar Title
========================================= */

.calendar-heading {
  margin: 0 0 35px;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  text-align: center;
}
@media (max-width: 750px) {
  .calendar-heading {
    margin-bottom: 25px;
    font-size: 24px;
  }
}
/* =========================================
   Calendar 人物イラスト
========================================= */

.calendar-person {
  position: absolute;
  z-index: 2;

  background: url("/images/person04.png") no-repeat center / contain;

  pointer-events: none;
}
.calendar-person2 {
  position: absolute;
  z-index: 2;

  background: url("/images/person07.png") no-repeat center / contain;

  pointer-events: none;
}

/* PC
----------------------------------------- */
@media (min-width: 751px) {
  .calendar-person {
    top: 5%;
    left: max(20px, calc(50% - 620px));

    width: clamp(80px, 8vw, 130px);
    aspect-ratio: 152 / 186;
  }
  .calendar-person2 {
    bottom: 2%;
    right: max(50px, calc(40% - 620px));
    width: clamp(80px, 8vw, 140px);
    aspect-ratio: 152 / 186;
  }
}

/* SP
----------------------------------------- */
@media (max-width: 750px) {
  .calendar-person {
    top: 0px;
    left: 20px;

    width: clamp(30px, 15vw, 120px);
    aspect-ratio: 152 / 186;
  }
  .calendar-person2 {
    bottom: 1px;
    right: 20%;
    width: clamp(30px, 15vw, 120px);
    aspect-ratio: 152 / 186;
  }
}

/* =========================================
   Calendar Head
========================================= */
.calendar-head {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;

  gap: clamp(30px, 5vw, 80px);
  margin-bottom: 30px;
  text-align: center;
}

/* 前月・次月 */
.month-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 90px;
  min-height: 42px;
  padding-inline: 20px;

  border: 1px solid #00a089;
  border-radius: 999px;

  background-color: var(--surface);
  color: #00a089;

  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.month-button:hover {
  background-color: #00a089;
  color: #fff;
}

/* 現在年月 */
.current-month {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5em;

  white-space: nowrap;

  color: var(--text);

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.current-month strong {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
}

/* =========================================
   Calendar PC Grid
========================================= */

.calendar-week,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-week {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.calendar-week > div {
  padding: 0.8rem 0.5rem;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  background-color: var(--bg);

  text-align: center;
  font-weight: 700;
}

.calendar-grid {
  border-left: 1px solid var(--border);
}

.calendar-cell {
  position: relative;

  min-width: 0;
  min-height: 150px;
  padding: 0.75rem;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  background-color: var(--surface);
}

.calendar-cell.empty {
  background-color: var(--bg);
}

.calendar-day {
  display: block;

  margin-bottom: 0.6rem;

  color: var(--text);

  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.calendar-event {
  display: block;

  margin-top: 0.35rem;
  padding: 0.35em 0.5em;

  background-color: #eff46b;
  color: #222;

  font-size: 0.75rem;
  line-height: 1.4;
  text-decoration: none;

  overflow-wrap: anywhere;
}

/* 今日の日付 */
.calendar-cell.is-today .calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2em;
  height: 2em;
  margin-bottom: 0.6rem;

  border-radius: 50%;

  background-color: #00a089;
  color: #fff;
}

/* 終了したイベント */
.calendar-cell.is-past .calendar-event {
  background-color: #eee;
  color: #555;
}

/* 終了ラベル */
.calendar-event .event-ended {
  display: block;
  margin-top: 0.3em;

  font-size: 0.9em;
  font-weight: 700;
  color: #555;
}

/* 曜日カラー */
/* 曜日・祝日カラー */
.calendar-week > div:first-child,
.calendar-grid .calendar-cell:nth-child(7n + 1) .calendar-day,
.calendar-grid .calendar-cell.holiday .calendar-day {
  color: #e64b4b;
}

.calendar-week > div:last-child,
.calendar-grid .calendar-cell:nth-child(7n) .calendar-day {
  color: #2785d8;
}
/* 閲覧支援：今日の日付 */
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-grid
  .calendar-cell.is-today
  .calendar-day {
  background-color: var(--text);
  color: var(--surface);
}
/* =========================================
   Calendar PC
========================================= */

@media (min-width: 751px) {
  .calendar-mobile,
  .calendar-more {
    display: none;
  }
}

/* =========================================
   Calendar SP
========================================= */

@media (max-width: 750px) {
  /* 表示切り替え
  ----------------------------------------- */
  .calendar-desktop,
  .calendar-heading__pc {
    display: none;
  }

  .calendar-mobile {
    display: block;
  }

  .calendar-heading__sp {
    display: inline;
  }

  /* 背景装飾
  ----------------------------------------- */
  .top-calendar {
    padding-block: 60px 80px;
  }

  .top-calendar::before {
    background-position: right top;
    /* SPで背景サイズを変更する場合は、ここに background-size を追加 */
  }

  /* カード
  ----------------------------------------- */
  .calendar-area {
    width: calc(100% - 30px);
    padding: 35px 20px 40px;
    border-radius: 20px;
  }

  /* タイトル
  ----------------------------------------- */
  .calendar-area .section-title {
    margin-bottom: 25px;
  }

  .calendar-area .section-title h2,
  .calendar-area .section-title span {
    font-size: 24px;
  }

  /* 月送り
  ----------------------------------------- */
  .calendar-head {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    margin-bottom: 25px;
  }

  .current-month {
    flex-direction: column;
    align-items: center;
    gap: 5px;

    font-size: 14px;
  }

  .current-month strong {
    font-size: 30px;
  }

  .month-button {
    min-width: 80px;
    min-height: 38px;
    padding-inline: 10px;

    font-size: 13px;
  }

  /* イベント一覧
----------------------------------------- */
  .calendar-mobile {
    border-top: 1px solid var(--border);
  }

  .mobile-event-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: stretch;

    color: var(--text);

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .mobile-event-row .time {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0.9rem 0.4rem;

    border-right: 1px solid var(--border);

    background-color: #f1efc9;

    text-align: center;
    line-height: 1.2;
  }
  /* 土曜日 */
  .mobile-event-row.saturday .time {
    background-color: #119fe8;
    color: #fff;
  }

  /* 日曜日・祝日 */
  .mobile-event-row.sunday .time,
  .mobile-event-row.holiday .time {
    background-color: #df002f;
    color: #fff;
  }
  /* 日付 */
  .mobile-event-row .time .date {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15em;

    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
  }
  /* 曜日だけ小さく */
  .mobile-event-row .time .weekday {
    font-size: 0.65em;
    font-weight: 400;
  }

  /* 同じ日のイベントをまとめる右側 */
  .mobile-event-list {
    min-width: 0;
  }

  /* 各イベント */
  .mobile-event-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-height: 72px;
    padding: 0.8rem 0;

    color: var(--text);
    text-decoration: none;
  }

  /* 同日2件目以降だけ横線 */
  .mobile-event-item + .mobile-event-item {
    border-top: 1px solid var(--border);
  }

  /* 時刻 */
  .mobile-event-item .start-time {
    padding-left: 0.2rem;

    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
  }

  /* イベント名 */
  .mobile-event-item .event {
    display: flex;
    align-items: baseline;
    gap: 0.5em;

    min-width: 0;
    margin-top: 0.4rem;
    padding-left: 0.2rem;

    line-height: 1.6;
  }

  /* タイトル前の三角 */
  .mobile-event-item .event::before {
    content: "";
    flex-shrink: 0;

    width: 0;
    height: 0;

    border-top: 0.3em solid transparent;
    border-bottom: 0.3em solid transparent;
    border-left: 0.45em solid currentColor;
  }
  /* すべて見る
  ----------------------------------------- */
  .calendar-more {
    display: flex;
    align-items: center;
    justify-content: center;

    width: min(100%, 240px);
    min-height: 48px;
    margin: 30px auto 0;

    border: 1px solid #00a089;
    border-radius: 999px;

    background-color: var(--surface);
    color: #00a089;

    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .calendar-more::after {
    content: "→";
    margin-left: 0.7em;
    font-size: 1.1em;
  }
}

/* =========================================
   Calendar 閲覧支援
========================================= */

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-calendar::before {
  display: none;
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-area
  .section-title
  span {
  color: var(--text);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .month-button {
  border-color: var(--text);
  background-color: var(--surface);
  color: var(--text);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-area,
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-week > div,
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-cell,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-cell.empty {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-day,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-week
  > div:first-child,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-week
  > div:last-child,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-grid
  .calendar-cell:nth-child(7n + 1)
  .calendar-day,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-grid
  .calendar-cell.holiday
  .calendar-day,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .calendar-grid
  .calendar-cell:nth-child(7n)
  .calendar-day {
  color: var(--text);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-event {
  background-color: var(--text);
  color: var(--surface);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .mobile-event-row
  .time,
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .mobile-event-row
  .event {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-more {
  border-color: var(--text);
  background-color: var(--surface);
  color: var(--text);
}
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .calendar-person {
  display: none;
}

/* =========================================
   Floor Map
========================================= */

.top-floor {
  position: relative;
  overflow: hidden;

  padding: clamp(80px, 8vh, 140px) 0 clamp(300px, 10vh, 500px);
}

.top-floor__inner {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 60px), 1500px);
  margin-inline: auto;
}

/* =========================================
   Floor Map Title
========================================= */

.top-section-title--floor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding-bottom: clamp(70px, 8vw, 120px);

  text-align: left;
}

.top-section-title--floor h2 {
  margin: 0;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.top-section-title--floor .top-section-title__en {
  margin-top: 0.25em;

  color: #00a089;

  font-family: "Caveat", cursive;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1;
}

/* =========================================
   Floor Map Tabs
========================================= */

.floor-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  width: min(100% - 40px, 1000px);
  margin-left: 45px;
}

.floor-tab {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 160px;
  height: 80px;
  padding: 10px 20px 0;

  border: 2px solid #00a089;
  border-bottom: none;
  border-radius: 80px 80px 0 0;

  background-color: var(--surface);
  color: #00a089;

  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
}

.floor-tab.is-active {
  background-color: #00a089;
  color: #fff;
}
/* =========================================
   Floor Map Panel
========================================= */

.floor-panel {
  width: min(100% - 40px, 1000px);
  margin-right: auto;
  padding: clamp(24px, 4vw, 50px);

  border: 2px solid #00a089;
  border-top: 15px solid #00a089;
  border-radius: 26px;

  background-color: var(--surface);

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.05);
}

.floor-panel img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================
   Floor Map Decoration
========================================= */

.top-floor__bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: url("/images/floor_bg.png");
  background-repeat: no-repeat;
  background-position: right bottom 65%;

  pointer-events: none;
}

/* 写真：共通では非表示 */
.floor-photo {
  display: none;
}

/* 人物 */
.floor-person {
  position: absolute;
  z-index: 3;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  pointer-events: none;
}

.floor-person--right {
  background-image: url("/images/person05.png");
}
.floor-person--bottom {
  background-image: url("/images/person06_n.png");
}

/* =========================================
   Floor Map PC
========================================= */

@media (min-width: 751px) {
  .floor-photo {
    position: absolute;
    top: clamp(80px, 10vw, 140px);
    right: 0;
    z-index: 1;
    display: block;
    width: clamp(320px, 44vw, 860px);
    pointer-events: none;
  }

  .floor-photo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .floor-person--right {
    top: 5%;
    right: 41%;

    width: clamp(180px, 16vw, 280px);
    aspect-ratio: 458 / 314;
  }
  .floor-person--bottom {
    bottom: 0;
    left: 2%;

    width: clamp(280px, 30vw, 400px);
    aspect-ratio: 457 / 308;
  }
}

/* =========================================
   Floor Map SP
========================================= */

@media (max-width: 750px) {
  .top-floor__inner {
    width: calc(100% - 30px);
  }

  .top-section-title--floor {
    padding-bottom: 60px;
  }

  .floor-tabs {
    gap: 4px;
    width: 100%;
    margin-left: 15px;
  }

  .floor-tab {
    width: 80px;
    height: 45px;

    font-size: 1.25rem;
  }

  .floor-panel {
    width: 100%;
    padding: 20px 15px;

    border-radius: 10px;
  }

  .top-floor__bg {
    background-size: 80% auto;
  }
  .floor-person--right {
    top: 5%;
    right: 5px;

    width: clamp(180px, 16vw, 280px);
    aspect-ratio: 458 / 314;
  }
  .floor-person--bottom {
    bottom: 5px;
    left: -5px;

    width: clamp(280px, 60vw, 400px);
    aspect-ratio: 457 / 308;
  }
}

/* =========================================
   Floor Map 閲覧支援
========================================= */

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .top-floor__bg,
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .floor-photo,
html:is(.contrast-black, .contrast-yellow, .contrast-blue) .floor-person {
  display: none;
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-section-title--floor
  .top-section-title__en {
  color: var(--text);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .floor-tab {
  border-color: var(--text);
  background-color: var(--surface);
  color: var(--text);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .floor-tab.is-active {
  background-color: var(--text);
  color: var(--surface);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .floor-panel {
  border-color: var(--border);
  background-color: var(--surface);
}
/* ========================================
   FLOOR GALLERY
======================================== */
.floor-gallery {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 60px;
  margin-block: 70px;
  min-height: 520px;
}

/* 一定速度で流す */
.floor-gallery .swiper-wrapper {
  align-items: flex-start;
  transition-timing-function: linear !important;
  height: 100%;
}

.floor-gallery .swiper-slide {
  height: auto;
}

.floor-gallery__item {
  width: 100%;
}

.floor-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}
/* ----------------------------------------
   画像ごとに上下位置をずらす
---------------------------------------- */

.gallery-pos01 {
  padding-top: 120px;
}

.gallery-pos02 {
  padding-top: 0;
}

.gallery-pos03 {
  padding-top: 165px;
}

.gallery-pos04 {
  padding-top: 55px;
}

.gallery-pos05 {
  padding-top: 90px;
}
@media (max-width: 750px) {
  .floor-gallery {
    padding: 10px 0 40px;
    margin-block: 30px;
    min-height: 260px;
  }

  .gallery-pos01 {
    padding-top: 60px;
  }

  .gallery-pos02 {
    padding-top: 0;
  }

  .gallery-pos03 {
    padding-top: 85px;
  }

  .gallery-pos04 {
    padding-top: 30px;
  }

  .gallery-pos05 {
    padding-top: 50px;
  }
}
/* =========================================
   Floor Link Buttons
========================================= */

.floor-links {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: center;
  gap: clamp(30px, 4vw, 70px);

  width: min(calc(100% - 60px), 1000px);
  margin: 0 auto;

  padding-top: 0;
}
.floor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;

  width: 100%;
  min-height: 100px;
  padding: 20px 30px;

  border-radius: 8px;

  background-color: #00a089;
  color: #fff;

  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.4;

  text-align: center;
  text-decoration: none;
}

.floor-link__pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.2em 0.55em;

  border-radius: 0.45em;

  background-color: #000;
  color: #fff;

  font-size: 0.65em;
  line-height: 1.2;
}

/* =========================================
   Floor Link Buttons SP
========================================= */

@media (max-width: 750px) {
  .floor-links {
    flex-direction: column;
    gap: 30px;

    width: calc(100% - 60px);
  }

  .floor-link {
    min-height: 90px;
    padding: 18px 20px;
    font-size: 1.1em;
  }
}
/* =========================================
   Floor Link Buttons 閲覧支援
========================================= */

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .floor-link {
  background-color: var(--text);
  color: var(--surface);
}

html:is(.contrast-black, .contrast-yellow, .contrast-blue) .floor-link__pdf {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--text);
}

/* =========================================
   about
========================================= */
.about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(calc(100% - 60px), 1000px);
  margin-inline: auto;
  margin-bottom: 2em;
}

.about h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.about p.sub {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  font-size: 1.2em;
  font-weight: 800;
}
.about p.sub:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}
.about .aboutLogo {
  display: flex;
  padding: 1em;
  border: #aeae0b solid 1px;
  margin: 1em auto;
  max-width: 90%;
  align-items: center;
  gap: 30px;
  font-size: 0.9em;
}
.about .aboutLogo .logo {
}

@media (max-width: 750px) {
  .about .aboutLogo {
    flex-direction: column;
  }
  .about .aboutLogo img {
    max-width: 150px;
  }
}
/* =========================================
   Access
========================================= */

.top-access {
  padding: 100px 30px;
}

.top-access__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  column-gap: clamp(60px, 8vw, 140px);
  row-gap: 60px;
  align-items: start;

  width: min(100%, 1400px);
  margin-inline: auto;
}

.top-access__info {
  grid-column: 1;
  grid-row: 1;
}

.top-access__map {
  grid-column: 2;
  grid-row: 1;
}

.top-access__parking {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
}
/* =========================================
   Access Title
========================================= */

.top-section-title--access {
  align-items: flex-start;

  margin-bottom: 70px;

  text-align: left;
}

/* =========================================
   Access Info
========================================= */

.top-access__list {
  margin: 0;
}

.top-access__row {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: start;

  margin-bottom: 22px;
}

.top-access__row dt {
  position: relative;

  padding: 5px 20px 5px 0;

  font-weight: 400;
}

.top-access__row dt::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  width: 2px;
  height: 100%;
  min-height: 36px;

  background-color: #00a089;
}

.top-access__row dd {
  margin: 0;
  padding: 5px 0 5px 28px;

  line-height: 1.8;
}

/* =========================================
   Access Parking
========================================= */

.top-access__parking {
  margin-top: 60px;
}

.top-access__parking p {
  margin: 0;

  line-height: 1.7;
}

.top-access__parking p + p {
  margin-top: 8px;
}

/* =========================================
   Access Map
========================================= */

.top-access__map {
  width: 100%;
  aspect-ratio: 1.22 / 1;
}

.top-access__map iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}
.top-access__parking {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  padding: 30px 35px;

  background: #f7f7f7;
  border-radius: 8px;

  font-size: 0.875rem;
  line-height: 1.8;
}

.top-access__parking h3 {
  margin: 0 0 15px;
  font-size: 1rem;
  font-weight: 700;
}
.top-access__parking h4 {
  margin: 0;
  font-size: 1rem;
}

.top-access__parking .top-access__row {
  margin-top: 15px;
  margin-bottom: 0;
}

.top-access__parking .top-access__row dt::after {
  background-color: #ccc;
}

.top-access__parking > p:last-child {
  margin-top: 15px;
}
/* 駐輪場料金 */
.top-access__bike {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 750px;
  margin-bottom: 15px;
}

.top-access__bike-item {
  display: flex;
  flex-direction: column;

  padding: 15px 20px;
  background: #fefefe;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.top-access__bike-item strong {
  font-weight: 700;
}

.top-access__bike-item span {
  font-size: 0.9rem;
}

@media (max-width: 750px) {
  .top-access__bike {
    gap: 8px;
  }

  .top-access__bike-item {
    padding: 12px;
  }
}

@media (max-width: 400px) {
  .top-access__bike {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 750px) {
  .top-access__parking {
    padding: 25px 20px;
  }
}
/* =========================================
   Access SP
========================================= */

@media (max-width: 750px) {
  .top-access {
    padding: 60px 20px;
  }

  @media (max-width: 750px) {
    .top-access__inner {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .top-access__info {
      width: 100%;
    }

    .top-access__parking {
      order: 2;
      width: 100%;
      margin-top: 40px;
    }

    .top-access__map {
      order: 3;
      margin-top: 50px;
      aspect-ratio: 1 / 1;
    }
  }
  /* タイトル
  ----------------------------------------- */

  .top-section-title--access {
    margin-bottom: 40px;
  }

  /* 施設情報
  ----------------------------------------- */

  .top-access__row {
    grid-template-columns: 85px 1fr;
    margin-bottom: 18px;
    display: inherit;
  }

  .top-access__row dt {
    padding: 10px 15px 5px 0;
    color: #00a88f;
    font-weight: 700;
  }

  .top-access__row dd {
    padding-left: 0px;
  }

  .top-access__parking {
    margin-top: 40px;
  }
  .top-access__row dt::after {
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    min-height: 2px;
    background-color: #00a089;
  }
  /* Google Map
  ----------------------------------------- */

  .top-access__map {
    margin-top: 50px;

    aspect-ratio: 1 / 1;
  }
}

  /* 小平市
  ----------------------------------------- */
.city-link {
    width: 80%;
	max-width: 480px;
    margin: 1rem auto 0;
  }

  .city-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    min-height: 58px;
    padding: 0.75rem 1rem;

    border: 1px solid var(--border);

    background-color:rgb(86 152 201);
    color: var(--surface);

    line-height: 1.4;
    text-align: center;
	font-weight: 500;
  }

  .city-link i {
    flex-shrink: 0;
    font-size: 0.75em;
  }

  .city-link a:hover {
    background-color: var(--text);
    color: var(--surface);
  }

  .pc-city-link a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -4px;
  }
html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .city-link a {
  border: 1px solid var(--border);
  background-color: var(--text);
  color: var(--surface);
}

/* =========================================
   Access 閲覧支援
========================================= */

html:is(.contrast-black, .contrast-yellow, .contrast-blue)
  .top-access__row
  dt::after {
  background-color: var(--text);
}

/* =========================================
   TOP calendar: event list style (SP only)
   /event/index.php と同じ日付別カード表示
========================================= */
@media (max-width: 750px) {
  #top .top-event-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 0;
  }
  #top .top-event-day {
    display: block;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
  }
  #top .top-event-day__date {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 6px 10px;
    background: #666;
    color: #fff;
  }
  #top .top-event-day__date time {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    width: 100%;
    text-align: center;
  }
  #top .top-event-day__date strong {
    font-size: 1.625rem;
    line-height: 1;
  }
  #top .top-event-day__day-label {
    margin-left: 2px;
    font-size: 0.8125rem;
  }
  #top .top-event-day__date time > span {
    font-size: 0.75rem;
    font-weight: 700;
  }
  #top .top-event-day.is-saturday .top-event-day__date {
    background: #119fe8;
  }
  #top .top-event-day.is-sunday .top-event-day__date,
  #top .top-event-day.is-holiday .top-event-day__date {
    background: #df002f;
  }
  #top .top-event-day__content {
    padding: 0 14px;
    background: var(--surface);
  }
  #top .top-event-day__link {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "time category" "title title";
    align-items: start;
    justify-content: start;
    gap: 5px 10px;
    min-height: 0;
    padding: 8px 4px;
    color: var(--link);
    text-decoration: none;
  }
  #top .top-event-day__link + .top-event-day__link {
    border-top: 1px solid var(--border);
  }
  #top .top-event-day__link:hover {
    background: var(--bg);
  }
  #top .top-event-day__link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -3px;
  }
  #top .top-event-day__time {
    grid-area: time;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
  }
  #top .top-event-day__category {
    grid-area: category;
    justify-self: start;
    padding: 0.25em 0.6em;
    background: #00a089;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.4;
  }
  #top .top-event-day__title {
    grid-area: title;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  #top .top-event-day__empty {
    margin: 0;
    padding: 15px;
    text-align: center;
  }
  html:is(.contrast-black, .contrast-yellow, .contrast-blue)
    #top
    .top-event-day__date,
  html:is(.contrast-black, .contrast-yellow, .contrast-blue)
    #top
    .top-event-day.is-saturday
    .top-event-day__date,
  html:is(.contrast-black, .contrast-yellow, .contrast-blue)
    #top
    .top-event-day.is-sunday
    .top-event-day__date,
  html:is(.contrast-black, .contrast-yellow, .contrast-blue)
    #top
    .top-event-day.is-holiday
    .top-event-day__date {
    background: var(--text);
    color: var(--surface);
  }
  html:is(.contrast-black, .contrast-yellow, .contrast-blue)
    #top
    .top-event-day__category {
    border: 1px solid var(--border);
    background: var(--text);
    color: var(--surface);
  }
}
