@charset "UTF-8";
/*
Theme Name: CUBIC
Description: CUBIC Template
Author: kashimura co.ltd..
*/
:root {
  /* Base Colors */
  --main-color: #AA0000;
  --black: #000;
  --white: #fff;
  --blue: #0000ff;
  --yellow: #FFFF00;
  --gray: #E6E6E6;
  --darkgray: #373535;
  --lightgray: #F7F5EF;
  --lightgray2: #F2F2F2;
  --heavyred: #231815;
  --darkblue: #33519e;
  /* Typography */
  --font-weight-bold: 700;
  --font-weight-medium: 500;
  --font-size30: 1.875em;
  --font-size25: 1.5625em;
  --font-size23: 1.4375em;
  --font-size-base: 16px;
  --line-height-base: 1.6875;
  --font-base: "noto-sans-cjk-jp", sans-serif;
  --font-accent: "arial", sans-serif;
  --img-trim-size: 245/230;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  letter-spacing: 0.05em;
  font-family: var(--font-base);
  font-weight: 400;
  font-style: normal;
  color: var(--black);
  background-color: var(--white);
  transition: background-color 0.3s ease, color 0.3s ease;
  /* 1. ページ全体を縦並びのFlexボックスにする */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* 最低でも画面の高さ分を確保 */
  margin: 0;
}

main {
  flex: 1;
}

footer {
  flex-shrink: 0;
}

/* 文字サイズの拡大設定 */
body.font-large {
  font-size: 1.4rem;
  /* ブラウザ標準の1.4倍 */
}

/* 黒背景モード (ハイコントラスト) */
body.theme-black {
  background-color: #000;
  color: #fff;
  --main-color: #FFFF00;
  --black: #fff;
  --blue: #fff;
  --darkblue: #fff;
  --white: #000;
  --lightgray: #333;
}

/* 青背景モード */
body.theme-blue {
  background-color: #0000ff;
  color: #FFFF00;
  --main-color: #fff;
  --black: #FFFF00;
  --blue: #FFFF00;
  --darkblue: #FFFF00;
  --white: #0000ff;
  --lightgray: #00008b;
}

/* 共通コンポーネントの補正 */
/* fc-daygrid 等、枠線が必要な要素 */
.theme-black .fc .fc-daygrid-day-frame,
.theme-blue .fc .fc-daygrid-day-frame {
  border: 1px solid var(--main-color);
}

/* 読み上げボタンの状態によるスタイル（例） */
.hedbutton_list.speech .get_text {
  opacity: 0.7;
  /* 読み上げ中であることがわかる視覚効果をここに追加 */
}

.over_in,
.in {
  container-type: inline-size;
  width: 90%;
  margin: auto;
}

ul,
li {
  list-style: none;
}

a {
  display: inline-block;
  transition: 0.5s;
}
a:hover {
  opacity: 0.8;
}
a.underline {
  text-decoration: underline;
}

img {
  display: inline-block;
  clear: both;
  max-width: 100%;
  height: auto;
}

.fc .fc-toolbar-title,
.fc .fc-daygrid-day-number {
  font-family: var(--font-accent);
  font-weight: 900;
  font-style: normal;
}

h1 {
  font-weight: var(--font-weight-bold);
}

.top_heading,
.first-title,
h2 {
  font-size: var(--font-size30);
  font-weight: var(--font-weight-bold);
}

.top_heading span {
  color: var(--main-color);
}

h3 {
  font-size: var(--font-size23);
  font-weight: var(--font-weight-bold);
}

.fa-file-word,
.fa-file-pdf {
  font-size: 1.5em;
  margin-right: 3px;
}

.text_align_center {
  text-align: center;
}

.text_align_justify {
  text-align: justify;
}

.text_red {
  color: var(--main-color);
}

.text_blue {
  color: var(--blue);
}

/* ====================
カレンダー
==================== */
#calendar_container {
  background: var(--lightgray);
  padding: 3.5625em 0 6.9375em;
}
#calendar_container.page_container {
  margin-top: 4em;
}

/* イベント全体のコンテナ */
.fc-custom-event-container {
  padding: 2px 4px;
  border-radius: 3px;
  overflow: hidden;
}

.fc-toolbar-chunk > div:has(.fc-toolbar-title) {
  display: flex;
  align-items: center;
  gap: 2.5em;
}

/* タイトル（年.月） */
.fc .fc-toolbar-title {
  color: var(--main-color);
  font-size: 2.1875em;
  font-weight: var(--font-weight-bold);
}

/* 次へ・前へボタン */
.fc .fc-prev-button,
.fc .fc-next-button {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 矢印のアイコンをカスタマイズ（標準のアイコンを隠して疑似要素で描画） */
.fc-icon-chevron-left::before {
  content: "←" !important;
}

.fc-icon-chevron-right::before {
  content: "→" !important;
}

.fc .fc-button .fc-icon {
  font-weight: var(--font-weight-bold);
}

/* 次へ・前へボタンのホバー時（マウスを乗せた時） */
.fc .fc-prev-button:hover,
.fc .fc-next-button:hover {
  background-color: var(--white);
  border-color: var(--main-color);
  color: var(--main-color);
}

/* カレンダーボタン同士の間に余白を入れる */
.fc .fc-toolbar .fc-button-group > .fc-button {
  margin-right: 10px !important;
  margin-left: 0 !important;
  border-radius: 0;
  width: 6.125em;
  height: 1.6875em;
  line-height: 1;
  padding: 0;
  font-weight: var(--font-weight-bold);
}

/* 最後のボタンの右余白は不要な場合 */
.fc .fc-toolbar .fc-button-group > .fc-button:last-child {
  margin-right: 0 !important;
}

/* 通常時のスタイル */
.fc .fc-button-group .fc-button-primary {
  background-color: var(--white);
  color: var(--main-color);
  border-color: var(--main-color);
  background-image: none;
  box-shadow: none;
  text-transform: none;
  transition: all 0.2s;
}

/* ホバー時（マウスを乗せた時）の微調整 */
.fc .fc-button-group .fc-button-primary:hover {
  background-color: rgba(255, 0, 139, 0.05);
  border-color: var(--main-color) !important;
  color: var(--main-color);
}

/* 表示中のボタン（アクティブ時）のスタイル */
.fc .fc-button-group .fc-button-primary.fc-button-active {
  background-color: var(--main-color) !important;
  color: var(--white) !important;
  border-color: var(--main-color) !important;
}

/* ボタンが押されている時の影などをリセット */
.fc .fc-button-group .fc-button-primary:focus,
.fc .fc-button-group .fc-button-primary:not(:disabled):active {
  box-shadow: none !important;
}

/* カレンダー全体の外枠とテーブルの罫線を消す */
.fc-theme-standard td,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
  border: none !important;
}

/* 日付枠の余白設定 */
.fc .fc-daygrid-day {
  padding-bottom: 1.3636363636%;
  background-color: transparent !important;
}

.fc .fc-daygrid-day:not(:first-of-type) {
  padding-left: 1.3636363636%;
}

/* 日付枠の中身を白、角丸にする */
.fc .fc-daygrid-day-frame {
  background-color: var(--white);
  border-radius: 10px;
  padding: 0 10px;
}

/* 今日の枠の中身を変える */
.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
  background-color: var(--fc-today-bg-color);
}

/* カレンダーの日付の色,サイズを変える */
.fc .fc-daygrid-day-number {
  color: var(--main-color);
  font-size: 2.8125em;
  line-height: 1;
}

/* カレンダーの日付をセンター寄せにする */
/* FullCalendarはデフォルトで右寄せ(flex-end)なので、centerに変更 */
.fc .fc-daygrid-day-top {
  justify-content: center;
  flex-direction: row;
}

/* 画像とタイトルを横並びにする */
.fc-event-flex-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* サムネイル画像の枠 */
.fc-event-thumb {
  flex-shrink: 0;
  width: clamp(1.875rem, -1.447rem + 5.9vw, 3.125rem);
  height: auto;
  aspect-ratio: 188/266;
  overflow: hidden;
}

/* タイトルのスタイル */
.fc-event-main-title {
  font-size: 0.85em;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 長いタイトルを「...」で省略 */
  line-height: 1.2;
}

.fc-daygrid-event {
  border: none !important;
  margin-bottom: 5px;
}

/* 凡例のスタイル */
.calendar_category_legend {
  margin-bottom: 20px;
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.875em;
  font-weight: bold;
  line-height: 2;
}
.legend-item:first-child {
  border-left: solid 1px #bdbdbd;
  padding-left: 30px;
}
.legend-item:last-child {
  border-right: solid 1px #bdbdbd;
  padding-right: 30px;
}

.color-box {
  margin-right: 5px;
  font-size: 1.2em;
}

.parent-term-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.term-item a {
  padding: 1em 2em;
  border: 1px solid var(--gray);
  font-size: 0.8125em;
  letter-spacing: 0.1em;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.term-item a:hover {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}
.term-item:first-child a {
  border-right-color: transparent;
}

/* ====================
共通
==================== */
/* hoverで下線を表示する */
.under_line > a {
  position: relative;
}
.under_line > a::before {
  position: absolute;
  bottom: 0.8em;
  left: 50%;
  transform: translate(-50%, 0%);
  content: "";
  display: block;
  width: 0px;
  height: 1px;
  opacity: 0;
  transition: all 0.3s;
  background: currentColor;
}
.under_line > a:hover::before {
  width: 20px;
  opacity: 1;
}

.link_more {
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  gap: 1em;
}
.link_more::before {
  content: "→";
  color: var(--white);
  background: var(--main-color);
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top_heading_wrap,
.calendar_heading_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5625em;
}

.calendar_heading_wrap {
  margin-bottom: 3.5em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.6363636364%;
}

.flex {
  display: flex;
}
.flex--lrcenter {
  justify-content: center;
}
.flex--facility {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.flex--facility figure {
  text-align: center;
}
.flex--facility figcaption {
  font-size: 1em;
}

.img_wrap {
  width: 100%;
  height: auto;
  aspect-ratio: var(--img-trim-size);
  position: relative;
}
.img_wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.pipe_box_wrap .pipe_box {
  background: var(--white);
  width: 100%;
  padding: 0.8em 0.5em 0.8em 1.25em;
  border-radius: 9999px;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
.pipe_box_wrap .link_more::before {
  background: #4D4D4D;
}

figcaption {
  padding: 0 1.875em;
  background-color: var(--heavyred);
  color: var(--white);
  font-weight: var(--font-weight-bold);
  line-height: 2.25;
}

.exhibition_figure img,
.swiper-slide img,
.fc-event-thumb img,
.nishitani_park_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ====================
header
==================== */
header {
  position: sticky;
  top: 0;
  left: 0;
  background: var(--white);
  animation: add-shadow linear both;
  animation-timeline: scroll();
  animation-range: 0 150px;
  z-index: 999;
}

@keyframes add-shadow {
  to {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.26);
  }
}
.header_logo {
  width: 19vw;
}

.site_header {
  width: 100%;
  padding: 0 0 0 5%;
  display: grid;
  grid-template-columns: auto 1fr;
  -moz-column-gap: 40px;
       column-gap: 40px;
  align-items: center;
}
.site_header .header_list {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  -moz-column-gap: 2px;
       column-gap: 2px;
  justify-self: end;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background: var(--main-color);
  color: var(--white);
  border-radius: 10px 10px 0 0;
  font-size: clamp(0.938rem, -0.425rem + 2.42vw, 1.125rem);
}
.site_header .header_list a {
  display: grid;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1em 10px;
}
.site_header .header_sub_menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 2vw 1em 1.3vw;
}

.menu_text_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tel_wrap {
  color: var(--main-color);
  font-size: 18px;
}

.sns_wrap {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-right: 4.4270833333vw;
}
.sns_wrap a {
  width: 30px;
}

.box_menu_wrap {
  display: flex;
  gap: 20px;
  margin-right: 1.71875vw;
}
.box_menu_wrap .pcm_support_wrap,
.box_menu_wrap a {
  background: var(--black);
  color: var(--white);
  width: clamp(6.25rem, -0.019rem + 11.13vw, 10rem);
  height: 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125em;
  line-height: 1;
}

.hamburger {
  width: 13.3333333333vw;
  height: 13.3333333333vw;
  border-radius: 2.2222222222vw;
  background: var(--heavyred);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.header_list > li {
  position: relative;
}
.header_list > li:hover .sub-menu {
  max-height: 500px;
}
.header_list .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  width: 205px;
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 15px;
}
.header_list .sub-menu > li {
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  background: var(--black);
  color: var(--white);
}
.header_list .sub-menu > li:not(:first-child)::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--white);
  position: absolute;
  top: 0;
  left: 0;
}
.header_list .sub-menu > li a {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 0.5em;
}

/*=============================
.btn-trigger
=============================*/
.btn-trigger {
  position: relative;
  width: 6.5vw;
  height: 6vw;
  cursor: pointer;
}

.btn-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

.btn-trigger,
.btn-trigger span {
  display: inline-block;
  transition: transform 0.5s;
  box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
  top: 0;
}

.btn-trigger span:nth-of-type(2) {
  top: 2.875vw;
}

.btn-trigger span:nth-of-type(3) {
  bottom: 0;
}

/*=============================
#btn07
=============================*/
#btn07 span:nth-of-type(1) {
  animation: btn07-bar01 0.75s forwards;
}
@keyframes btn07-bar01 {
  0% {
    transform: translateY(2.875vw) rotate(45deg);
  }
  50% {
    transform: translateY(2.875vw) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#btn07 span:nth-of-type(2) {
  transition: opacity 0.25s 0.25s;
  opacity: 1;
}

#btn07 span:nth-of-type(3) {
  animation: btn07-bar03 0.75s forwards;
}
@keyframes btn07-bar03 {
  0% {
    transform: translateY(-2.875vw) rotate(-45deg);
  }
  50% {
    transform: translateY(-2.875vw) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#btn07.active span:nth-of-type(1) {
  animation: active-btn07-bar01 0.75s forwards;
}
@keyframes active-btn07-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(2.875vw) rotate(0);
  }
  100% {
    transform: translateY(2.875vw) rotate(45deg);
  }
}
#btn07.active span:nth-of-type(2) {
  opacity: 0;
}

#btn07.active span:nth-of-type(3) {
  animation: active-btn07-bar03 0.75s forwards;
}
@keyframes active-btn07-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-2.875vw) rotate(0);
  }
  100% {
    transform: translateY(-2.875vw) rotate(-45deg);
  }
}
/* ====================
閲覧補助
==================== */
.pcm_support_wrap {
  position: relative;
}

.pcm_support {
  width: 100%;
  height: 100%;
  text-align: center;
}

.hed_c01 {
  position: absolute;
  top: calc(100% - 10px);
  right: 0px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  background-color: var(--black);
  border: 1px solid var(--black);
  border-radius: 10px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
  padding: 0px 30px;
  box-sizing: border-box;
  width: 40em;
  transition: all 0.5s;
}
.hed_c01.open {
  top: calc(100% + 8px);
  opacity: 1;
  visibility: visible;
  padding-top: 30px;
  padding-bottom: 30px;
}
.hed_c01 .hed_button:hover {
  text-decoration: underline;
}
.hed_c01 li {
  cursor: pointer;
  background-color: #fff;
  color: #000 !important;
  padding: 0.5em 0.8em;
}
.hed_c01 .bg_black {
  background-color: #000;
  color: #fff !important;
}
.hed_c01 .bg_blue {
  background-color: #0000ff;
  color: #fff !important;
}
.hed_c01 #bgColor li.current {
  border: 2px solid #fff;
}

.hed_c01,
.hed_c01 .hedbutton_list,
.hed_c01 ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.fa-solid.fa-volume-high {
  font-size: 1.5em;
}

/* ====================
footer
==================== */
.copyright {
  text-align: center;
}

.site_footer {
  background: var(--darkgray);
  padding: 3.75em 0 1.5em;
  color: var(--white);
  font-size: 14px;
}
.site_footer .sns_wrap {
  margin-top: 2.25em;
}

.footer_list {
  line-height: 2.5;
}
.footer_list > li > a {
  font-weight: var(--font-weight-bold);
}

.info_wrap {
  margin-top: 1.2142857143em;
}

.facility_name_wrap span {
  font-size: 20px;
}

/* ====================
swiper
==================== */
.first_view {
  position: relative;
}
.first_view .swiper {
  width: 100%;
  height: auto;
  aspect-ratio: 1920/646;
  max-height: 100svh;
}

.fv_copy {
  position: absolute;
  top: 18%;
  z-index: 2;
  color: #FFFFFF;
  width: 100%;
}
.fv_copy h2 {
  font-size: clamp(2.688rem, -2.271rem + 8.81vw, 3.563rem);
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  text-shadow: -2px -2px 20px rgba(170, 0, 0, 0.768627451), 2px -2px 20px rgba(170, 0, 0, 0.768627451), -2px 2px 20px rgba(170, 0, 0, 0.768627451), 2px 2px 10px rgba(170, 0, 0, 0.768627451);
  opacity: 1;
  mix-blend-mode: multiply;
}

/* ---pagination */
.swiper-pagination {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 1em;
       column-gap: 1em;
  justify-content: flex-start;
  margin: 0 auto 0 0;
  text-align: center;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  vertical-align: top;
  background-color: var(--white);
}

.swiper-pagination-bullet-active {
  background-color: var(--main-color);
}

/* pagination--- */
/* ====================
TOP
==================== */
.top_container {
  padding: 6.25em 0;
}
.top_container--events {
  padding: 6.6875em 0 4.5625em;
}
.top_container--calendar {
  padding: 3.5625em 0 6.9375em;
}
.top_container--exinfo {
  padding-top: 6.6875em;
}
.top_container--exinfo .top_heading_wrap {
  margin-bottom: 2.1875em;
}
.top_container--news {
  padding-bottom: 6em;
  background: var(--lightgray);
}
.top_container--news .top_heading_wrap {
  justify-content: flex-start;
  gap: 8%;
}
.top_container--news .link_more {
  margin-left: auto;
}
.top_container--about {
  padding: 5.4375em 0 7.0625em;
}
.top_container--about .top_heading_wrap {
  margin-bottom: 3.125em;
}
.top_container--link {
  padding: 2.6875em 0 5.625em;
  background: var(--lightgray);
}
.top_container--link .top_heading_wrap {
  margin-bottom: 2.1875em;
}

.chara_guide {
  position: relative;
}
.chara_guide .chara {
  position: absolute;
  z-index: 2;
}
.chara_guide .chara--01 {
  width: 9.21875vw;
  bottom: 95%;
  right: calc((100% - 1100px) / 2 - 9.5vw);
}
.chara_guide .chara--02 {
  width: 9.9479166667vw;
  top: 96%;
  transform: translateY(-50%);
  left: calc((100% - 1100px) / 2 - 12vw);
}
.chara_guide .chara--03 {
  width: 7.4479166667vw;
  left: 2%;
  top: 65%;
  transform: translateY(-50%);
}
.chara_guide .chara--04 {
  width: 16.5104166667vw;
  right: 2%;
  top: 89%;
  transform: translateY(-50%);
}

@media (min-width: 901px) and (max-width: 1439px) {
  .chara_guide .chara--01 {
    bottom: 96%;
    right: 1%;
  }
  .chara_guide .chara--02 {
    top: 98%;
    left: 1%;
  }
}
/* ====================
top イベント
==================== */
.event_cat {
  width: 100%;
  color: var(--white);
  background: var(--main-color);
  text-align: center;
  font-weight: var(--font-weight-bold);
}

.event_title {
  margin-top: 0.8em;
}

/* ====================
top 展示施設情報
==================== */
.nishitani_park_text h3 {
  text-align: center;
}
.nishitani_park_text p {
  text-align: justify;
}
.nishitani_park_text .link_more {
  justify-content: center;
}

/* ====================
top お知らせ
==================== */
.heading_cat_list {
  gap: 1.25em;
}

.news_list li {
  background: var(--white);
  margin-bottom: 27px;
}
.news_list li a {
  border-left: 15px solid var(--gray);
  width: 100%;
  padding: 1.5em 3.375em;
}
.news_list li a:hover {
  border-color: var(--main-color);
}
.news_list li .news_title {
  margin-top: 6px;
}

.news_date_cat_wrap {
  line-height: 1.4375;
  display: flex;
  align-items: center;
  gap: 1.25em;
}

.news_cat {
  color: var(--white);
  background: var(--main-color);
  font-weight: var(--font-weight-medium);
  padding: 0 1em;
}

/* ====================
top 弥生の森について
==================== */
.about_page_list a {
  width: 100%;
}
.about_page_list .img_wrap {
  background: var(--lightgray2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
}
.about_page_list .about_icon {
  height: auto;
}
.about_page_list li:nth-child(1) .about_icon {
  width: 49.7959183673%;
}
.about_page_list li:nth-child(2) .about_icon {
  width: 40.8163265306%;
}
.about_page_list li:nth-child(3) .about_icon {
  width: 54.2857142857%;
}
.about_page_list li:nth-child(4) .about_icon {
  width: 32.2448979592%;
}
.about_page_list .link_more {
  position: absolute;
  bottom: 5%;
  right: 5%;
}
.about_page_list .link_more::before {
  background: var(--white);
  color: var(--main-color);
}

.about_page_title {
  text-align: center;
  margin-top: 0.5em;
}

/* ====================
single-event
==================== */
.content-box--single_event {
  margin-bottom: 3em;
}

.detail-title-area {
  text-align: center;
  margin-top: 3.75em;
  margin-bottom: 3em;
}
.detail-title-area .title {
  font-size: var(--font-size30);
  margin-top: 0.8em;
  margin-bottom: 0.3em;
}

.headline {
  color: var(--main-color);
  font-size: 0.875em;
  font-weight: var(--font-weight-medium);
  line-height: 3;
  position: relative;
  display: inline-block;
}
.headline::after {
  content: "";
  width: 2em;
  height: 1px;
  background: currentColor;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.period {
  color: #727272;
  letter-spacing: 0.1em;
}

.detail-content {
  background: var(--lightgray);
}
.detail-content .detail-box {
  position: relative;
  padding: 70px 0 80px;
}
.detail-content .photo img {
  width: 100%;
}
.detail-content .buttons {
  box-sizing: border-box;
  display: inline-block;
  position: absolute;
  bottom: 0;
  right: 0;
  clear: both;
  background-color: #fff;
  min-height: 60px;
  padding: 19px 34px;
  text-align: center;
}

.second-title {
  font-size: 1.25em;
  line-height: 2.5;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
}

.detail-info {
  margin: 3em 0;
}
.detail-info table {
  width: 100%;
}
.detail-info table tr {
  border-bottom: solid 1px #e0e0e0;
}
.detail-info table th,
.detail-info table td {
  padding: 17px 0;
  line-height: 180%;
}
.detail-info table th {
  min-width: 7.5em;
  padding-right: 1.5em;
  font-weight: var(--font-weight-medium);
}

.return_event_list {
  justify-content: center;
}

/* ====================
taxonomy-event_category
==================== */
.first-title {
  margin-top: 2em;
  margin-bottom: 3em;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-align: center;
}
.first-title::after {
  content: "";
  display: block;
  width: 1.3em;
  height: 1px;
  background-color: var(--main-color);
  margin: 0.9333333333em auto 0;
}

.pagenav-buttons {
  margin-top: 1.5625em;
}

.calendar-button {
  text-align: center;
}
.calendar-button a {
  border-radius: 9999px;
  color: #fff;
  background: var(--main-color);
  line-height: 3;
  letter-spacing: 0.1em;
  padding: 0 2em;
}

.exhi-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.exhi-nav > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  padding: 1em 2em;
}
.exhi-nav .current {
  background: var(--lightgray);
}
.exhi-nav .current span {
  font-weight: 400;
}
.exhi-nav h2 {
  font-size: 16px;
}

/* 初期状態では非表示 */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* タブボタンのスタイル */
.exhi-nav .tab-item {
  cursor: pointer;
  opacity: 0.6;
}
.exhi-nav .tab-item.current {
  opacity: 1;
}

/* ====================
固定ページ
==================== */
.content_container {
  background: var(--lightgray);
  margin-top: 4em;
  padding: 4em 0;
}
.content_container .section:not(:first-child) {
  margin-top: 4.25em;
}

.page_navigation {
  background: var(--lightgray);
  padding: 0 0 4em;
}

.section {
  scroll-margin-top: 160px;
}

.section_title {
  background: var(--main-color);
  width: 100%;
  color: var(--white);
  font-size: var(--font-size25);
  line-height: 1.6;
  padding: 0 0.5em 0.1em;
  margin-bottom: 0.72em;
}

.font_size_min {
  font-size: clamp(0.625rem, 0.487rem + 0.69vw, 0.875rem);
}

.guide-image {
  margin-top: 4.25em;
}

.data_table th {
  font-weight: 400;
  padding-right: 2.8125em;
  /* 文字を均等に配置する設定 */
  text-align: justify;
  -moz-text-align-last: justify;
       text-align-last: justify;
  /* 意図しない改行を防ぐ */
  white-space: nowrap;
}

.facility-item:not(:first-child) {
  margin-top: 2em;
}

.facility-name {
  color: var(--main-color);
}
.facility-name:before {
  content: "〇";
  display: inline;
}

.facility-list--count {
  counter-reset: dt-number;
}
.facility-list--count .facility-name {
  counter-increment: dt-number;
}
.facility-list--count .facility-name:before {
  content: counter(dt-number) ". ";
}

.qa-item:first-child {
  margin-top: 2em;
}
.qa-item:not(:first-child) {
  border-top: 1px solid var(--darkgray);
  padding-top: 3.5em;
  margin-top: 4em;
}
.qa-item .question,
.qa-item .answer {
  display: flex;
  align-items: center;
  gap: 1em;
}
.qa-item .question::before,
.qa-item .answer::before {
  font-size: 2em;
  line-height: 1;
  margin-bottom: auto;
}
.qa-item .answer {
  margin-top: 1.5em;
}
.qa-item .question::before {
  content: "Ｑ";
}
.qa-item .answer::before {
  content: "Ａ";
  font-weight: var(--font-weight-bold);
  color: var(--darkblue);
}

.usage_table {
  width: 80%;
  margin: 20px auto;
  table-layout: fixed;
  border-collapse: collapse;
}
.usage_table--book {
  width: 100%;
}
.usage_table--book .usage_col:nth-child(1) {
  width: 20%;
}
.usage_table--book .usage_col:nth-child(2) {
  width: 15%;
}
.usage_table--book .usage_col:nth-child(3) {
  width: 45%;
}
.usage_table--book .usage_col:nth-child(4) {
  width: 20%;
}
.usage_table--book .usage_cell {
  vertical-align: middle;
}
.usage_table--book .usage_cell:has(img) {
  text-align: center;
}

.usage_head th {
  border: 1px solid #dcd2c1;
  padding: 12px;
  text-align: center;
}

.usage_body .usage_cell {
  border: 1px solid #dcd2c1;
  padding: 12px;
}

/* アコーディオン */
.facility-accordion summary {
  cursor: pointer;
  margin-top: 1em;
  padding: 10px;
  background-color: var(--white);
  border: 1px solid var(--gray);
  /* デフォルトの矢印を消す場合 */
  list-style: none;
  position: relative;
}
.facility-accordion summary::after {
  content: "▼";
  float: right;
}
.facility-accordion {
  /* 開いている時の矢印 */
}
.facility-accordion[open] summary::after {
  content: "▲";
}

.p_box:not(:first-child) {
  margin-top: 1em;
}

/* ====================
お知らせ
==================== */
.news_list_cat_wrap {
  margin-bottom: 2em;
}

.basebox {
  margin: 1em;
}

.post_navigation {
  margin-top: 6.25em;
}
.post_navigation .in {
  display: flex;
  justify-content: center;
  align-items: center;
}
.post_navigation .nav_previous,
.post_navigation .nav_next {
  position: relative;
  width: 48px;
}
.post_navigation .nav_previous a,
.post_navigation .nav_next a {
  display: inline-block;
  width: 26.25px;
  height: 26.25px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.post_navigation .nav_previous a {
  border-left: 1.75px solid #191919;
  border-bottom: 1.75px solid #191919;
  left: -15px;
  left: 0;
}
.post_navigation .nav_next a {
  border-top: 1.75px solid #191919;
  border-right: 1.75px solid #191919;
  right: -15px;
  right: 0;
}

/* ====================
お問合せフォーム
==================== */
.contact_hedstext {
  margin-bottom: calculate-font-size(20);
}
.contact_hedstext span {
  color: #ca750d;
  display: inline-block;
}

.contact_table {
  margin-bottom: calculate-font-size(50);
}
.contact_table table {
  width: 100%;
}
.contact_table th,
.contact_table td {
  padding: 10px 0;
}
.contact_table th span {
  display: inline-block;
  color: #ca750d;
  margin-left: 0.5em;
}
.contact_table td .your-name {
  width: 49%;
}
.contact_table [data-name=your-name02] {
  margin-left: 2%;
}
.contact_table input,
.contact_table textarea {
  padding: 10px 5px;
  border: none;
  border-radius: 0;
  background: #f1f1f1;
  color: #6c6c6c;
  letter-spacing: 0.1em;
}
.contact_table td .email {
  margin-bottom: 5px;
  width: 100%;
}
.contact_table td textarea {
  width: 100%;
  resize: none;
}

.post_pub_yeartable td input {
  width: 70%;
  margin-right: 10px;
}

.contactsubmit {
  text-align: center;
  padding-left: 72px;
}
.contactsubmit input {
  border: none;
  padding: calculate-font-size(10) calculate-font-size(40);
  background-color: #808080;
  color: #fff;
}

.contact_tablefoot {
  margin-bottom: calculate-font-size(40);
}
.contact_tablefoot li::before {
  content: "※";
  display: inline-block;
}
.contact_tablefoot p {
  display: inline;
}/*# sourceMappingURL=style.css.map */