/*
 * フロントページ
 */
.calendar-contents {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 7rem;
  background-image: url(../images/top/news/newsBg.svg);
  background-position: left top -18.9rem;
  background-repeat: no-repeat;
  background-size: min(100%, 118rem) auto;
  z-index: 1;
}

.calendar-contents::after {
  position: absolute;
  right: 47%;
  top: 43%;
  z-index: 0;
  width: 24%;
  max-width: 335px;
  height: 26rem;
  content: "";
  background: url(../images/top/news/img-news@2x.png) no-repeat right top;
  background-size: contain;
}

.calendar-contents .calendar-contents__wrapper {
  position: relative;
  z-index: 1;
}

.calendar-contents .calendar-contents__details {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(360px, 43%);
  gap: 7rem;
  align-items: center;
  margin-top: 3.5rem;
  padding: 0;
  list-style: none;
}

.calendar-contents .calendar-contents__details__left,
.calendar-contents .calendar-contents__details__right {
  position: relative;
  z-index: 1;
}

.calendar-contents .calendar-contents__details__left {
  padding-bottom: 4rem;
  list-style: none;
}

.calendar-contents .frontPage-contents__title {
  margin-bottom: 0;
}

.calendar-contents .calendar-contents__details__left .frontPage-contents__title {
  margin-bottom: 47px;
}

.calendar-contents .calendar-contents__details__right {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

.calendar-contents .contents-wrapper__buttonLinkText br {
  display: none;
}

.calendar-contents .calendar-contents__details__right__image {
  width: min(100%, 440px);
}

.calendar-contents .calendar-contents__details__right__image img {
  display: block;
  width: 100%;
  height: auto;
}

.calendar-contents .calendar-contents__info {
  margin-bottom: 4rem;
  font-size: 1.6rem;
  line-height: 2;
}

.calendar-contents .calendar-contents__info p {
  margin: 0;
}

.calendar-contents .calendar-contents__info span {
  font-weight: 700;
}

.calendar-contents .frontPage-contents__titleH2Text--english {
  color: #559545;
  text-align: left;
}

.calendar-contents .frontPage-contents__titleH2Text--japanese {
  color: #559545;
}

@media screen and (max-width: 1200px) {
  .calendar-contents {
    background-size: 110rem auto;
  }

  .calendar-contents::after {
    top: inherit;
    right: inherit;
    left: 18px;
    width: 22vw;
    height: 25vw;
  }

  .calendar-contents .calendar-contents__details {
    grid-template-columns: minmax(0, 48%) minmax(320px, 42%);
    gap: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .calendar-contents {
    padding-top: 6rem;
    padding-bottom: 8rem;
    background-position: left top -12rem;
  }

  .calendar-contents::after {
    left: 2rem;
    bottom: -12rem;
    width: 32vw;
    height: 32vw;
  }

  .calendar-contents .calendar-contents__details,
  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
    width: 100%;
    margin-top: 2.5rem;
  }

  .calendar-contents .calendar-contents__details__left,
  .calendar-contents .calendar-contents__details__right,
  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details__left,
  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details__right {
    display: block;
    width: 100%;
  }

  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details__left {
    order: 1;
  }

  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details__right {
    order: 2;
  }

  .calendar-contents .calendar-contents__details__left {
    padding-bottom: 0;
  }

  .calendar-contents .frontPage-contents__titleH2Text,
  .calendar-contents .frontPage-contents__titleH2Text--english,
  .calendar-contents .frontPage-contents__titleH2Text--japanese,
  .calendar-contents .calendar-contents__info {
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .calendar-contents .frontPage-contents__titleH2Text--japanese {
    display: inline-block;
  }

  .calendar-contents .calendar-contents__details__right {
    justify-content: center;
  }

  .calendar-contents .calendar-contents__info {
    margin-bottom: 3rem;
  }

  .calendar-contents .calendar-contents__details__right__image,
  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details__right__image {
    width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 576px) {
  .calendar-contents {
    padding-top: 4rem;
    background-size: 82rem auto;
  }

  .calendar-contents .frontPage-contents__titleH2Text--japanese {
    font-size: 3.2rem;
  }

  .calendar-contents .calendar-contents__info {
    font-size: 1.4rem;
  }

  .calendar-contents .calendar-contents__details__left .contents-wrapper__button {
    display: flex;
    justify-content: center;
  }

  .calendar-contents .contents-wrapper__buttonLinkText {
    text-align: center;
  }

  .calendar-contents .contents-wrapper__buttonLinkText br {
    display: block;
  }

  .calendar-contents .calendar-contents__details,
  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details {
    gap: 2.4rem;
  }

  .calendar-contents .calendar-contents__details__right__image,
  article.calendar-contents .contents-wrapper .calendar-contents__wrapper .calendar-contents__details__right__image {
    width: min(100%, 360px);
  }
}

.event-contents .post-contents__cardImage {
  height: auto;
}

.event-contents .post-contents__cardImageLink {
  border-radius: 0;
}

@media screen and (max-width: 576px) {
  .event-contents .post-contents__cardList {
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: row;
  }

  .event-contents .post-contents__cardList .post-contents__cardItem {
    width: 44%;
    margin-top: 0;
  }
}

/*
 * 遊戯施設のご案内
 */
.todays-asumo .todays-asumo__inner {
  background: #559545;
  border-radius: 20px;
  padding: 2.125em 5.875em 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.todays-asumo .todays-asumo__inner::after {
  content: "";
  position: absolute;
  right: 39.6%;
  bottom: 0;
  max-width: 380px;
  width: 24.85380117vw;
  aspect-ratio: 100 / 84;
  background: url(../images/page/playpark/bgchar_001.png) no-repeat right bottom;
  background-size: contain;
  display: block;
}

.todays-asumo .page-contents__title {
  margin-right: 16px;
  color: white;
}

.todays-asumo .page-contents__title .page-contents__titleH2Text {
  text-align: left;
}

.todays-asumo .page-contents__schedule {
  margin-bottom: -7px;
  text-align: right;
  position: relative;
  z-index: 3;
}

.todays-asumo .page-contents__schedule iframe {
  width: 384px;
  height: 400px;
  border: 0;
}

@media screen and (max-width: 1200px) {
  .todays-asumo .todays-asumo__inner::after {
    right: 42.6%;
  }
}

@media screen and (max-width: 1100px) {
  .todays-asumo .todays-asumo__inner::after {
    right: 44.6%;
  }
}

@media screen and (max-width: 1000px) {
  .todays-asumo .todays-asumo__inner::after {
    right: 40.6%;
  }

  .todays-asumo .page-contents__schedule iframe {
    width: calc(340px / 1200px * 100vw);
  }
}

@media screen and (max-width: 768px) {
  .todays-asumo .todays-asumo__inner {
    padding: 2.125em 2.8em 0;
  }

  .todays-asumo .todays-asumo__inner::after {
    right: auto;
    left: calc(50% - clamp(190px, 32vw, 260px));
    bottom: 0;
    width: clamp(190px, 36vw, 260px);
  }

  .todays-asumo .page-contents__schedule iframe {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .todays-asumo {
    padding-block: 0;
  }

  .todays-asumo .todays-asumo__inner {
    width: 100%;
    border-radius: 0;
    padding: 40px 1em 120px;
    flex-direction: column;
  }

  .todays-asumo .todays-asumo__inner::after {
    right: 0;
    left: auto;
    bottom: 0;
    width: clamp(150px, 48vw, 190px);
  }

  .todays-asumo .page-contents__title {
    margin-right: 0;
  }

  .todays-asumo .page-contents__title .page-contents__titleH2Text {
    width: 300px;
    text-align: center;
  }

  .todays-asumo .page-contents__schedule {
    text-align: center;
  }
}

/*
 * ユーティリティクラス
 */
.u-align--centetr {
  text-align: center;
}
.u-align--left {
  text-align: left;
}
.u-align--right {
  text-align: right;
}
.u-bg--white {
  background-color: white;
}

/*
 * 遊戯施設ページ ゾーン紹介
 */
.contents-wrapper.facility.playpark-zone {
  display: block;
}

.facility.playpark-zone .playpark-zone__heading {
  margin-bottom: 5rem;
}

.facility.playpark-zone .playpark-zone__item {
  display: grid;
  grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
  column-gap: clamp(48px, 6.25vw, 80px);
  align-items: center;
  margin-bottom: 60px;
}

.facility.playpark-zone .playpark-zone__textBox {
  grid-column: 1;
  grid-row: 1;
  flex-basis: auto;
  padding-left: 0;
}

.facility.playpark-zone .playpark-zone__imageBox {
  grid-column: 2;
  grid-row: 1;
  flex-basis: auto;
  width: calc(100% + max(5vw, (100vw - 1200px) / 2));
  height: auto;
  aspect-ratio: 16 / 9;
  margin-left: 0;
  margin-right: calc(max(5vw, (100vw - 1200px) / 2) * -1);
  border-radius: 0;
}

.facility.playpark-zone .playpark-zone__item--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 30%);
}

.facility.playpark-zone .playpark-zone__item--reverse .playpark-zone__textBox {
  grid-column: 2;
}

.facility.playpark-zone .playpark-zone__item--reverse .playpark-zone__imageBox {
  grid-column: 1;
  width: calc(100% + max(5vw, (100vw - 1200px) / 2));
  margin-left: calc(max(5vw, (100vw - 1200px) / 2) * -1);
  margin-right: 0;
}

.facility.playpark-zone .playpark-zone__imageBox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility.playpark-zone .playpark-zone__title {
  margin: 0 0 2.4rem;
  text-align: left;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.facility.playpark-zone .playpark-zone__title::after {
  content: none;
}

.facility.playpark-zone .playpark-zone__titleEnglish {
  display: block;
  margin: 0 0 0.5rem;
  color: #559545;
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.facility.playpark-zone .playpark-zone__text {
  margin: 0;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

.facility.playpark-zone .playpark-zone__button {
  justify-content: flex-start;
  margin-top: 3rem;
}

.facility.playpark-zone .playpark-zone__buttonLink {
  width: 24rem;
  height: 4.8rem;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .contents-wrapper.facility.playpark-zone {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .facility.playpark-zone .playpark-zone__heading {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

  .facility.playpark-zone .playpark-zone__item,
  .facility.playpark-zone .playpark-zone__item--reverse {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .facility.playpark-zone .playpark-zone__imageBox {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 375 / 254;
    margin-left: 0;
    margin-right: 0;
  }

  .facility.playpark-zone .playpark-zone__textBox {
    grid-column: 1;
    grid-row: 2;
    width: min(100% - 48px, 640px);
    margin: 4.5rem auto 0;
  }

  .facility.playpark-zone .playpark-zone__item--reverse .playpark-zone__textBox,
  .facility.playpark-zone .playpark-zone__item--reverse .playpark-zone__imageBox {
    grid-column: 1;
  }

  .facility.playpark-zone .playpark-zone__title {
    margin-bottom: 3rem;
    font-size: 4rem;
    line-height: 1.25;
  }

  .facility.playpark-zone .playpark-zone__titleEnglish {
    margin-bottom: 0.8rem;
    font-size: 2.2rem;
  }

  .facility.playpark-zone .playpark-zone__text {
    font-size: 2.4rem;
    line-height: 2;
  }

  .facility.playpark-zone .playpark-zone__button {
    justify-content: center;
    margin-top: 5rem;
  }

  .facility.playpark-zone .playpark-zone__buttonLink {
    width: min(42rem, 100%);
    height: 9.6rem;
    border-radius: 9.6rem;
  }
}

/*
 * 遊戯施設ページ 見出し
 */
.facility h3.box-title span {
  border-radius: 8px;
}

/*
 * イベントカード NEWアイコン
 */
.post-contents__cardItem.is-newItem::before,
.news-contents .post-contents__cardItem.is-newItem::before,
.event-contents .post-contents__cardItem.is-newItem::before {
  background-size: contain;
  transform: none;
  transform-origin: top left;
}

.top .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
.event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
.news-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before {
  max-width: 42px;
  max-height: 42px;
  width: 42px;
  height: 42px;
  top: -2.4rem;
  left: -0.4rem;
}

@media screen and (min-width: 769px) {
  .top .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
  .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
  .news-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before {
    max-width: 42px;
    max-height: 42px;
    width: 42px;
    height: 42px;
    top: -2.4rem;
    left: -0.4rem;
  }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
  .top .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
  .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
  .news-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before {
    max-width: 42px;
    max-height: 42px;
    width: 42px;
    height: 42px;
    top: -1.8rem;
    left: -0.4rem;
  }
}

@media screen and (max-width: 576px) {
  .top .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
  .event-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before,
  .news-contents .post-contents__cardList .post-contents__cardItem.is-newItem::before {
    max-width: 42px;
    max-height: 42px;
    width: 42px;
    height: 42px;
    top: -3.8rem;
    left: -0.4rem;
  }
}
