@charset "UTF-8";
/* mixinを定義します */
@font-face {
  font-family: "Roboto";
  font-weight: bold;
  src: url("../font/Roboto-Bold.ttf") format("TrueType");
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: bold;
  src: url("../font/NotoSansJP-Bold.ttf") format("TrueType");
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 400;
  src: url("../font/NotoSansJP-Regular.ttf") format("TrueType");
  font-display: swap;
}
body#body {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", sans-serif;
  width: 100%;
  height: 100%;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem); /* 基準のフォントサイズ */
  font-weight: 400;
  color: #444444;
  display: flex; /* フッターを下に固定するための記述 */
  flex-direction: column; /* フッターを下に固定するための記述 */
  min-height: 100vh;
}
body#bodyimg {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
body#body:has(.adjustment-hight) {
  height: auto;
}

p {
  line-height: 1.6;
}

main {
  flex: 1; /* フッターを下に固定するための記述 */
}

a.top-page-link {
  text-decoration: none;
  color: #444444;
  display: block;
}

a:hover {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}

button:focus {
  outline: 1px solid #EA2224;
}

:focus-visible {
  outline: 1px solid #EA2224;
}

*:focus:not(:focus-visible) {
  outline: none;
}

.content-width {
  width: min(92%, 87.5rem);
  margin-inline: auto;
}

ol, ul, menu {
  list-style: none;
}

.swiper-pagination-bullet {
  width: 0.625rem;
  height: 0.625rem;
  display: block;
  border-radius: 100%;
}
.swiper-pagination-bullet-active {
  background-color: #EA2224;
}

.info-wrap {
  display: grid;
  gap: clamp(3.75rem, 3.098rem + 2.63vw, 6.25rem);
  margin-block-start: clamp(3.75rem, 3.098rem + 2.63vw, 6.25rem);
}
@media screen and (min-width:960px) {
  .info-wrap {
    display: flex;
    justify-content: space-between;
    gap: min(9.286vw, 8.125rem);
  }
}

.c-heading__heading-lv2 {
  font-size: clamp(1rem, 0.87rem + 0.53vw, 1.5rem);
  border-left: 10px solid #EA2224;
  margin-block-end: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
  padding-inline-start: 0.9375rem;
}
.c-heading__heading-lv2--en {
  font-family: "Roboto";
  font-size: clamp(1.5rem, 1.239rem + 1.05vw, 2.5rem);
  font-weight: bold;
  display: block;
}

.c-heading_under-line {
  font-size: clamp(1rem, 0.87rem + 0.53vw, 1.5rem);
  margin-block-end: clamp(0.625rem, 0.462rem + 0.66vw, 1.25rem);
  width: 100%;
  border-bottom: 3px solid #F0F0F0;
  padding-block-end: 7px;
  position: relative;
}
.c-heading_under-line:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #EA2224;
  bottom: -3px;
  width: 10%;
}

.c-button__primary {
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  font-weight: bold;
  color: #444444;
  border: 1px solid #EA2224;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  padding-block: 1.25rem;
  padding-inline: 2.5rem;
  transition: ease 0.3s;
}
.c-button__primary > svg {
  height: 1.5em;
}
.c-button__primary > svg > path {
  transition: ease 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .c-button__primary:hover {
    color: #ffffff;
    background-color: #EA2224;
    text-decoration: none;
    transition: ease 0.3s;
  }
  .c-button__primary:hover > svg > path {
    fill: #ffffff;
    transition: ease 0.3s;
  }
}

.c-breadcrumb {
  display: flex;
  gap: 0 10px;
  list-style: none;
  padding: 0;
  font-size: 0.9em;
}
.c-breadcrumb li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.c-breadcrumb li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 10px;
  height: 9px;
  margin-left: 7px;
  border-top: 2px solid #EA2224;
  border-right: 2px solid #EA2224;
  content: "";
}
.c-breadcrumb li:last-child {
  overflow: hidden;
}
.c-breadcrumb li:last-child a {
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.c-breadcrumb a {
  color: #444444;
  text-decoration: none;
}
.c-breadcrumb a:hover {
  color: #EA2224;
}

.c-pagination .page-item.active .page-link {
  background-color: #967c0b;
  color: #fff;
  border-color: #967c0b;
}

.p-hero {
  display: flex;
  align-items: center;
  padding-block-start: clamp(1.875rem, 1.272rem + 2.43vw, 4.188rem);
}
.p-hero__wrap {
  width: 100%;
  height: clamp(17.5rem, 12.547rem + 19.96vw, 36.5rem);
}
.p-hero__slide {
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  justify-content: center;
}
.p-hero__slide a {
  width: clamp(12.419rem, 9.287rem + 12.63vw, 24.438rem);
  height: 100%;
  aspect-ratio: 1/1.414;
}
.p-hero__slide img {
  width: clamp(12.419rem, 9.287rem + 12.63vw, 24.438rem);
  height: 100%;
  aspect-ratio: 1/1.414;
}
.p-hero__slide.swiper-slide-next, .p-hero__slide.swiper-slide-prev {
  margin-block-start: 1.1875rem;
}
.p-hero__slide.swiper-slide-next > a, .p-hero__slide.swiper-slide-prev > a {
  width: 100%;
}
.p-hero__slide.swiper-slide-next img, .p-hero__slide.swiper-slide-prev img {
  width: 100%;
}

.hero_pagination {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-block-start: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
}

.hero_button-prev > svg,
.hero_button-next > svg {
  width: clamp(1.25rem, 0.973rem + 1.12vw, 2.313rem);
}

.p-todays {
  width: min(100%, 50.625rem);
}
.p-todays__wrap {
  background-color: #F0F0F0;
  position: relative;
  margin-inline-start: min(2.6667vw, 1.25rem);
  padding-block-start: clamp(6.25rem, 5.191rem + 4.27vw, 10.313rem);
  padding-block-end: clamp(1.563rem, 1.155rem + 1.64vw, 3.125rem);
  padding-inline: clamp(1.25rem, 0.843rem + 1.64vw, 2.813rem);
}
.p-todays__today {
  width: -moz-fit-content;
  width: fit-content;
  font-family: "Roboto";
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  background-color: #ffffff;
  border: 1px solid #EA2224;
  position: absolute;
  top: clamp(1.563rem, 1.155rem + 1.64vw, 3.125rem);
  left: max(-2.6667vw, -1.25rem);
  padding-block: clamp(0.313rem, 0.068rem + 0.98vw, 1.25rem);
  padding-inline: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
}
.p-todays__today::after {
  content: "";
  width: min(2.6667vw, 1.25rem);
  height: 0.625rem;
  background-color: #EA2224;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  position: absolute;
  left: -0.0625rem;
  bottom: -0.625rem;
}
.p-todays__today-year {
  width: 0.5625rem;
  font-size: 0.875rem;
  line-height: 12px;
  display: inline-block;
  word-break: break-all;
}
.p-todays__today-date {
  font-size: clamp(2.25rem, 2.054rem + 0.79vw, 3rem);
}
.p-todays__today-youbi {
  font-size: clamp(1rem, 0.87rem + 0.53vw, 1.5rem);
}
.p-todays__status {
  font-size: clamp(1.5rem, 1.37rem + 0.53vw, 2rem);
  font-weight: bold;
}
.p-todays__status--open {
  color: #EA2224;
}
.p-todays__status--close {
  color: #444444;
}
.p-todays__status-top {
  padding-block-start: clamp(1.563rem, 1.155rem + 1.64vw, 3.125rem);
  padding-block-end: clamp(1.938rem, 1.53rem + 1.64vw, 3.5rem);
  border-bottom: 1px solid #444444;
  position: relative;
}
.p-todays__status-top::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #444444;
  position: absolute;
  bottom: 6px;
  left: 0;
}
.p-todays__status-wrap {
  display: block;
  align-items: baseline;
  gap: 0.625rem;
}
@media screen and (min-width:769px) {
  .p-todays__status-wrap {
    display: flex;
  }
}
@media screen and (min-width:960px) {
  .p-todays__status-wrap {
    display: block;
  }
}
@media screen and (min-width: 1400px) {
  .p-todays__status-wrap {
    display: flex;
  }
}
.p-todays__status-inner {
  display: flex;
  gap: 1.875rem;
}
.p-todays__opening-hours {
  font-size: clamp(1.5rem, 1.37rem + 0.53vw, 2rem);
  font-weight: bold;
}
.p-todays__kenmin-gallery {
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  font-weight: bold;
  margin-block-start: clamp(0.313rem, 0.231rem + 0.33vw, 0.625rem);
}
.p-todays__kenmin-gallery-link {
  color: #444444;
  display: inline;
  border-bottom: 1px solid #EA2224;
  transition: ease 0.3s;
}
.p-todays__kenmin-gallery-link:hover {
  color: #444444;
  text-decoration: none;
  opacity: 0.8;
  transition: ease 0.3s;
}
.p-todays__exhibitions-wrap {
  display: grid;
  gap: clamp(0.938rem, 0.693rem + 0.98vw, 1.875rem);
  margin-block-start: clamp(1.563rem, 1.155rem + 1.64vw, 3.125rem);
}
.p-todays__exhibitions-title {
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  font-weight: bold;
}
.p-todays__exhibitions-name {
  font-size: clamp(1.125rem, 1.027rem + 0.39vw, 1.5rem);
  font-weight: bold;
  border-left: 3px solid #EA2224;
  margin-block-start: 0.3125rem;
  padding-inline-start: 0.4375rem;
}
.p-todays__exhibitions-name a {
  color: #444444;
}
.p-todays__exhibitions-name a:hover {
  color: #444444;
  text-decoration: none;
  opacity: 0.8;
  transition: ease 0.4s;
}
.p-todays__exhibitions-status {
  font-size: clamp(1.5rem, 1.37rem + 0.53vw, 2rem);
  font-weight: bold;
  margin-block-start: 0.625rem;
}
.p-todays__exhibitions-status--open {
  color: #EA2224;
}
.p-todays__exhibitions-status--close {
  color: #444444;
}

.p-exhibition {
  background-color: #F0F0F0;
  margin-block-start: clamp(6.25rem, 4.621rem + 6.57vw, 12.5rem);
  padding-block: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
}
.p-exhibition__slider {
  display: flex;
  align-items: center;
}
@media screen and (min-width:769px) {
  .p-exhibition__slider {
    gap: 2rem;
  }
}
.p-exhibition__link {
  width: min(100%, 400px);
  display: block;
  color: #444444;
  position: relative;
  background-color: #ffffff;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.15));
  margin-inline: auto;
  transition: ease 0.3s;
}
.p-exhibition__link:hover {
  filter: none;
  color: #444444;
  opacity: 0.8;
  text-decoration: none;
  transition: ease 0.3s;
}
.p-exhibition__external-link {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
}
.p-exhibition__img-wrap {
  aspect-ratio: 1/1;
  display: grid;
  align-content: center;
  position: relative;
}
.p-exhibition__img-wrap > img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-exhibition__data-wrap {
  display: grid;
  gap: 0.625rem;
  border-top: 1px solid #D9D9D9;
  padding-block: clamp(1.125rem, 1.027rem + 0.39vw, 1.5rem);
  padding-inline: clamp(0.938rem, 0.775rem + 0.66vw, 1.563rem);
}
.p-exhibition__data-wrap > * {
  margin-bottom: 0;
}
.p-exhibition__data-wrap.p-exhibition__label-none {
  padding-block-start: clamp(3.563rem, 3.351rem + 0.85vw, 4.375rem);
}
.p-exhibition__label {
  width: -moz-fit-content;
  width: fit-content;
  height: clamp(1.813rem, 1.698rem + 0.46vw, 2.25rem);
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1.25rem, 1.087rem + 0.66vw, 1.875rem);
}
.p-exhibition__label--special {
  background-color: #FF9344;
}
.p-exhibition__label--collection {
  background-color: #006595;
}
.p-exhibition__label--current {
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  color: #ffffff;
  background-color: #EA2224;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 8px 8px 0px 0px;
  margin-bottom: -1px;
  padding-block: clamp(0.313rem, 0.28rem + 0.13vw, 0.438rem);
  padding-inline: clamp(1.25rem, 1.087rem + 0.66vw, 1.875rem);
}
.p-exhibition__title {
  height: 3em;
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", sans-serif;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  font-weight: 400;
  line-height: 160%;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.p-exhibition__date {
  font-size: 1rem;
}
.p-exhibition__button {
  margin-block-start: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
  margin-inline: auto;
}

@media screen and (min-width:769px) {
  .exhibition_swiper {
    padding-inline: 0.9375rem;
  }
}

.exhibiton_pagination {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-block-start: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
}

.exhibiton_button-prev > svg,
.exhibiton_button-next > svg {
  width: clamp(1.25rem, 0.973rem + 1.12vw, 2.313rem);
}

.p-news {
  margin-block-start: clamp(6.25rem, 4.621rem + 6.57vw, 12.5rem);
}
.p-news__wrap {
  display: grid;
  gap: clamp(3.75rem, 3.098rem + 2.63vw, 6.25rem);
}
.p-news__item-link {
  color: #444444;
  display: block;
  border-bottom: 1px solid #444444;
  padding: 0.625rem;
  transition: ease 0.3s;
}
.p-news__item-link:hover {
  color: #444444;
  text-decoration: none;
  opacity: 0.8;
  transition: ease 0.3s;
}
.p-news__item-date {
  font-size: 0.75rem;
  color: #EA2224;
}
.p-news__item-title {
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 0;
}
.p-news__list {
  padding-inline-start: 0;
}
.p-news__button {
  height: -moz-fit-content;
  height: fit-content;
  margin-block-start: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
  margin-inline: auto;
}
.p-news__sns-wrap {
  background-color: #F0F0F0;
  padding-block: clamp(1.563rem, 1.155rem + 1.64vw, 3.125rem);
}
.p-news__sns-inner {
  width: -moz-fit-content;
  width: fit-content;
  display: grid;
  gap: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
  margin-inline: auto;
}
.p-news__sns-title {
  font-size: clamp(1.5rem, 1.37rem + 0.53vw, 2rem);
}
.p-news__sns-lead {
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
}
.p-news__sns-list {
  display: grid;
  gap: clamp(1.563rem, 1.155rem + 1.64vw, 3.125rem);
  padding-inline-start: 0;
}
.p-news__sns-link {
  color: #444444;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: ease 0.3s;
}
.p-news__sns-link:hover {
  color: #444444;
  text-decoration: none;
  opacity: 0.8;
  transition: ease 0.3s;
}
.p-news__sns-link dl {
  margin-bottom: 0;
}
.p-news__sns-link dd {
  margin-bottom: 0;
}
@media screen and (min-width:1150px) {
  .p-news__wrap {
    display: flex;
    justify-content: space-between;
  }
  .p-news__inner {
    width: min(53.5714vw, 750px);
  }
  .p-news__sns-wrap {
    width: min(36.429vw, 510px);
  }
}

.p-access {
  max-width: 100%;
  width: 100%;
}
@media screen and (min-width:960px) {
  .p-access {
    max-width: 460px;
  }
}
.p-access__inner {
  margin-block-end: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
}
.p-access .access-btn {
  display: flex;
  justify-content: center;
}
@media screen and (min-width:960px) {
  .p-access .access-btn {
    display: block;
    justify-content: start;
  }
}
.p-access p {
  margin: 0;
}
.p-access .address {
  display: flex;
  align-items: center;
  gap: clamp(0.406rem, 0.268rem + 0.56vw, 0.938rem);
  margin-block-end: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
}
.p-access .first-root {
  margin-block-end: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
}
.p-access .root .root-title {
  padding-inline: clamp(0.313rem, 0.068rem + 0.98vw, 1.25rem);
  padding-block: 10px;
  background-color: #F0F0F0;
  width: -moz-fit-content;
  width: fit-content;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  display: flex;
  align-items: center;
  gap: clamp(0.406rem, 0.268rem + 0.56vw, 0.938rem);
}
.p-access .root .root-title p {
  line-height: 1.3;
  padding-block-start: clamp(0.125rem, 0.109rem + 0.07vw, 0.188rem);
}
@media screen and (min-width:480px) {
  .p-access .root .root-title p {
    line-height: 1;
  }
}
.p-access .root .step-bar {
  margin: 0 auto;
  width: 100%;
}
.p-access .root .step-bar .step-bar-wrap {
  margin: 20px 0;
  position: relative;
}
.p-access .root .step-bar .step-bar-wrap .step-title {
  display: inline-flex;
  align-items: center;
  width: 100%;
}
.p-access .root .step-bar .step-bar-wrap .step-title .step-circle {
  display: inline-block;
  width: 100%;
  max-width: clamp(0.75rem, 0.717rem + 0.13vw, 0.875rem);
  height: clamp(0.75rem, 0.717rem + 0.13vw, 0.875rem);
  content: "";
  border-radius: 50%;
  background-color: #D9D9D9;
  box-sizing: border-box;
}
.p-access .root .step-bar .step-bar-wrap .step-title .step-num {
  margin-left: clamp(0.375rem, 0.277rem + 0.39vw, 0.75rem);
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
}
.p-access .root .step-bar .step-bar-wrap .step-line {
  width: 2px;
  background-color: #000000;
  position: absolute;
  left: clamp(0.313rem, 0.29rem + 0.09vw, 0.4rem);
  z-index: -1;
  top: clamp(1rem, 0.967rem + 0.13vw, 1.125rem);
  height: calc(100% + 15px);
}
@media screen and (min-width: 400px) {
  .p-access .root .step-bar .step-bar-wrap .step-line-bus {
    top: 1.1em;
    height: calc(100% + 20px);
  }
}
.p-access .root .step-bar .step-bar-wrap .arrival .step-circle {
  background-color: #EA2224;
}
.p-access .root .step-bar .step-bar-wrap:last-of-type .step-line:last-of-type {
  display: none;
}

.p-about {
  margin-block-start: clamp(6.25rem, 4.621rem + 6.57vw, 12.5rem);
}
.p-about p {
  margin-block: 0;
}
.p-about .about-wrap {
  display: block;
  align-items: center;
  gap: clamp(3.125rem, 2.31rem + 3.28vw, 6.25rem);
}
@media screen and (min-width:769px) {
  .p-about .about-wrap {
    display: flex;
    align-items: center;
    gap: clamp(3.125rem, 2.31rem + 3.28vw, 6.25rem);
  }
}
.p-about .about-wrap img {
  width: 100%;
  margin-block-end: 30px;
  display: block;
  margin-inline: auto;
}
@media screen and (min-width:480px) {
  .p-about .about-wrap img {
    width: clamp(18.75rem, 17.121rem + 6.57vw, 25rem);
  }
}
@media screen and (min-width:769px) {
  .p-about .about-wrap img {
    margin-block-end: 0;
    margin-inline: 0;
  }
}
.p-about .about-wrap .about-text {
  width: clamp(31.25rem, 24.733rem + 26.26vw, 56.25rem);
  max-width: 100%;
  margin-inline: auto;
}
.p-about .about-wrap .about-text p {
  margin-block-end: clamp(1.875rem, 1.386rem + 1.97vw, 3.75rem);
}
.p-about .about-wrap .about-text .about-pc {
  display: none;
}
@media screen and (min-width:769px) {
  .p-about .about-wrap .about-text .about-pc {
    display: block;
  }
}
.p-about .about-wrap .about-text .about-sp {
  display: block;
}
@media screen and (min-width:769px) {
  .p-about .about-wrap .about-text .about-sp {
    display: none;
  }
}
.p-about .about-wrap .about-text .c-button__primary {
  margin-inline: auto;
}
@media screen and (min-width:769px) {
  .p-about .about-wrap .about-text .c-button__primary {
    margin-block-end: 0;
    margin-inline: 0;
  }
}

.p-content {
  margin-block-start: clamp(6.25rem, 4.621rem + 6.57vw, 12.5rem);
}
.p-content p {
  margin: 0;
}
.p-content .content-group {
  display: grid;
  width: 100%;
  gap: clamp(0.938rem, 0.53rem + 1.64vw, 2.5rem);
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width:769px) {
  .p-content .content-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width:960px) {
  .p-content .content-group {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1400px) {
  .p-content .content-group {
    place-content: start;
    place-items: start;
    grid-template-columns: repeat(4, 1fr);
  }
}
.p-content .content-group .content-wrap {
  display: flex;
  height: auto;
  width: 100%;
  justify-content: center;
  position: relative;
}
.p-content .content-group .content-wrap:hover::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(99, 100, 102, 0.3);
  opacity: 1;
  transition: 0.3s;
  z-index: 1;
}
.p-content .content-group .content-wrap .content-br {
  display: none;
}
@media screen and (min-width:960px) {
  .p-content .content-group .content-wrap .content-br {
    display: block;
  }
}
.p-content .content-group .content-wrap .content-br {
  display: none;
}
@media screen and (min-width:960px) {
  .p-content .content-group .content-wrap .content-br {
    display: block;
  }
}
.p-content .content-group .content-wrap .content-br-lg {
  display: block;
}
@media screen and (min-width:960px) {
  .p-content .content-group .content-wrap .content-br-lg {
    display: none;
  }
}
.p-content .content-group .content-wrap img {
  width: clamp(5rem, 4.674rem + 1.31vw, 6.25rem);
  height: clamp(5rem, 4.674rem + 1.31vw, 6.25rem);
}
.p-content .content-group .content-wrap p {
  width: 100%;
  max-width: 280px;
  background-color: #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  text-align: center;
  position: relative;
}
@media screen and (min-width:769px) {
  .p-content .content-group .content-wrap p {
    height: auto;
    width: 100%;
    max-width: 100%;
  }
}
.p-content .content-group .new-link {
  position: relative;
}
.p-content .content-group .new-link::after {
  content: url(../img/external-link.png);
  position: absolute;
  right: 2%;
  bottom: 1%;
  z-index: 1;
}

/****************************
* selectionページのcss
/****************************/
.selection-wrap {
  margin-block-start: clamp(0rem, -0.326rem + 1.31vw, 1.25rem);
}

.selection-summary {
  margin-block-end: clamp(0.625rem, -0.027rem + 2.63vw, 3.125rem);
}

.selection-note {
  text-decoration: none;
  color: #444444;
}
.selection-note a:hover {
  text-decoration: none;
  color: #444444;
}
.selection-note a:hover img {
  opacity: 0.7;
}
.selection-note a:hover span {
  color: #444444;
}
.selection-note span {
  color: #444444;
}

.artwork-title {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
  max-width: 100%;
}
@media (max-width: 1024px) {
  .artwork-title {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 440px) {
  .artwork-title {
    grid-template-columns: repeat(1, 1fr);
  }
}

.artwork-image-container {
  position: relative;
  width: 100%;
  max-width: 440px;
}
.artwork-image-container:hover {
  opacity: 0.7;
  text-decoration: none;
}
.artwork-image-container:hover .art-title {
  opacity: 0.7;
}
.artwork-image-container .artwork-image-wrapper {
  width: 100%;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #979797;
  position: relative;
  overflow: hidden;
}
.artwork-image-container .artwork-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.artwork-image-container .artwork-image-wrapper .artwork-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}
.artwork-image-container .artwork-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  z-index: 2;
  width: 100%;
}
.artwork-image-container .art-title {
  color: #444444;
  margin-bottom: 0;
}

/****************************
* パズルページのcss
/****************************/
.puzzle-bg {
  background-image: url("../img/puzzle/puzzle-bg.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 1024px) {
  .puzzle-bg {
    background: none;
  }
}

.puzzle-introduction {
  padding-block-end: clamp(1.875rem, 1.223rem + 2.63vw, 4.375rem);
  margin: 0;
}
.puzzle-introduction a {
  text-decoration: underline;
  color: #967c0b;
}
.puzzle-introduction a:hover {
  opacity: 0.8 !important;
}

.puzzle-content-wrap p {
  margin-bottom: 0;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.puzzle-content-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.924rem + 1.31vw, 2.5rem);
  max-width: 100%;
}
@media (max-width: 1024px) {
  .puzzle-content-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .puzzle-content-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

.puzzle-cover {
  position: relative;
  display: inline-block;
  background: #ffffff;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
  padding-inline: 20px;
  padding-block: 20px;
  border-radius: 5px;
}

.puzzle-title {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  margin-bottom: 5px !important;
}

.puzzle-pic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 240px;
  background: #979797;
  border-radius: 5px;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.puzzle-pic img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin-bottom: 0 !important;
}

.puzzle-pic:hover {
  opacity: 0.8;
}

.puzzle-pic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-image: url("../img/puzzle/puzzle-hover.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}

.puzzle-pic:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.puzzle-detail {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: url("../img/puzzle/detail-btn.png");
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.puzzle-detail:hover {
  background-image: url("../img/puzzle/detail-btn-hover.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#modal-overlay {
  display: none;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10002;
}

.modal-style {
  display: none;
  background: #ffffff;
  width: 90%;
  max-width: 1000px;
  max-height: 80dvh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10003;
  padding: 30px;
  border-radius: 5px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .modal-style {
    width: 95%;
    max-height: 90vh;
    padding-inline: 15px;
    padding-block: 30px;
  }
}
.modal-style h3 {
  text-align: center;
}

.detail-content-wrap {
  overflow-y: auto;
  height: calc(70dvh - 55px);
  max-height: calc(80dvh - 55px);
  padding-inline: 10px;
}

.detail-content {
  margin-bottom: clamp(1.25rem, 1.087rem + 0.66vw, 1.875rem) !important;
}

.detail-content:nth-of-type(3) {
  margin-bottom: 0 !important;
}

.puzzle-detail-heading {
  font-size: clamp(1rem, 0.87rem + 0.53vw, 1.5rem);
  font-weight: bold;
  padding-inline-start: 7px;
  border-left: 10px solid #EA2224;
  margin-bottom: 10px !important;
}

.puzzle-detail-table {
  border-collapse: collapse;
  width: 100%;
}

.puzzle-detail-table th,
.puzzle-detail-table td {
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  border: 2px solid #e2e2e2;
  background-color: #ffffff;
  padding-inline: clamp(0.313rem, 0.231rem + 0.33vw, 0.625rem);
  padding-block: 5px;
}

.puzzle-detail-table th {
  background-color: #f3f3f3;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}

.puzzle-detail-highlights-heading {
  font-weight: bold;
  font-size: clamp(0.875rem, 0.842rem + 0.13vw, 1rem);
  border-bottom: solid 3px #F0F0F0;
  position: relative;
  padding-block-end: clamp(0.25rem, 0.201rem + 0.2vw, 0.438rem);
  margin-bottom: clamp(0.313rem, 0.231rem + 0.33vw, 0.625rem) !important;
}

.puzzle-detail-highlights-heading:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #EA2224;
  bottom: -3px;
  width: 20%;
}

.puzzle-detail-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: clamp(0.625rem, 0.462rem + 0.66vw, 1.25rem) !important;
}

.puzzle-detail-highlights:nth-of-type(2) {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .puzzle-detail-highlights {
    display: block;
  }
}
.puzzle-detail-highlights img {
  width: 100%;
  max-width: 300px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .puzzle-detail-highlights img {
    display: block;
    margin: auto;
  }
}
/* モーダルの右上に寄せる */
.modal-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 50px;
  margin-block-end: 10px;
}

/* ボタン自体 */
.dli-close {
  position: relative; /* spanの基準 */
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* × を作る span */
.dli-close span {
  position: relative;
  display: block;
  width: 30px;
  height: 3px; /* 線の太さ */
  background-color: #333;
  border-radius: 1px;
  transform: rotate(45deg);
}

/* × のもう一本の線 */
.dli-close span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}/*# sourceMappingURL=top-page.css.map */