/* 共通 */
html {
  font-family: "Noto Sans CJK JP", "Noto Sans", sans-serif;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  color: #2C2A29;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
body.is-fixed {
  position: fixed;
  overflow: hidden;
}

a {
  text-decoration: none;
}
button {
  font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
  line-height: 1.5;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

main {
  line-height: 1.5;
}

section {
  width: 100%;
  margin-bottom: 23px;
}

section:last-of-type {
  margin-bottom: 60px;
}

section.l_innerSection {
  margin: 0 0 15px 0;
}

/* パンくず
-------------------------*/
.breadcrumb__item,
.breadcrumb__item a {
  font-size: .75rem;
}

.breadcrumb__item+.breadcrumb__item::before {
  top: 50%;
  transform: translateY(-50%);
}

/*-------------------------
  Layout
-------------------------*/
/* l-contents
-------------------------*/
.l-contents {
  width: 100%;
  padding: 0 1rem;
}

/* l-contents-inner
-------------------------*/
.l-contents-inner {
  margin: 0 auto;
}
.l-contents-inner {
  width: 100%;
  max-width: 1104px;
}

/*-------------------------
  components
-------------------------*/
/* c-tooltip
-------------------------*/
.c-tooltip-container {
  position: relative;
}
.c-tooltip {
  display: none;
  width: 100%;
  padding: 16px;
  background-color: #F5F7FA;
  border: 1px solid #C0C5CC;
  border-radius: 8px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.c-tooltip.is-opened {
  display: block;
}
.c-tooltip__close-button {
  position: absolute;
  width: 16px;
  height: 16px;
  top: -8px;
  right: -8px;
  background-color: #FFFFFF!important;
  border-radius: 50%;
  cursor: pointer;
}
.c-tooltip__close-button::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #697180;
  mask-image: url('../images/icon/close_circle.svg');
  -webkit-mask-image: url('../images/icon/close_circle.svg');
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: top 0 center;
  -webkit-mask-position: top 0 center;
  mask-size: contain;
  -webkit-mask-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.c-tooltip__text {
  font-size: 0.875rem;
  color: #000000;
}

/* c-pill-button
-------------------------*/
.c-pill-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 1rem;
  background-color: #FFFFFF;
  border: 1px solid #939DAD;
  border-radius: 100px;
  transition: all .3s;
}
.c-pill-button.c-pill-button--icon-calendar {
  position: relative;
  padding: 16px 32px 16px 24px;
}
.c-pill-button.c-pill-button--icon-calendar::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 16px;
  display: block;
  width: 20px;
  height: 16px;
  background-color: #697180;
  mask-image: url("../images/icon/calendar_gray.svg");
  -webkit-mask-image: url("../images/icon/calendar_gray.svg");
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: background-color .3s;
}
.c-pill-button__text {
  font-size: 1rem;
  color: #2C2A29;
  transition: color .3s;
}

@media (hover: hover){
  .c-pill-button:hover {
    background-color: #F0F7FF;
    border: 1px solid #F0F7FF;
  }
  .c-pill-button__text:hover {
    color: #140D77;
  }
  .c-pill-button.c-pill-button--icon-calendar:hover::after {
    background-color: #140D77!important;
  }
}

/* c-check-tag
-------------------------*/
.c-check-tag {
  font-size: 0.75rem;
  color: #247F8F;
  padding: 3px 1rem;
  background-color: #FFFFFF;
  border: 1px solid #247F8F;
  border-radius: 100px;
  cursor: pointer;
}
.c-check-tag.is-active {
  font-weight: bold;
  color: #FFFFFF;
  background-color: #247F8F;
  transition: all .3s;
}

@media (hover: hover) {
  .c-check-tag:hover {
    font-weight: bold;
    color: #FFFFFF;
    background-color: #247F8F;
    transition: all .3s;
  }
}

/* c-favorite-button
-------------------------*/
.c-favorite-button {
  display: inline-block;
  border-radius: 50%;
}
.c-favorite-button label {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid #31ACC2;
  background-color: #ffffff;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.c-favorite-button label::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #31ACC2;
  mask-image: url('../images/icon/heart_border.svg');
  -webkit-mask-image: url('../images/icon/heart_border.svg');
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: top 0 center;
  -webkit-mask-position: top 0 center;
  mask-size: contain;
  -webkit-mask-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color .7s;
}
.c-favorite-button input[type="checkbox"] {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.c-favorite-button input[type="checkbox"]:checked + label::before {
  background-color: #31ACC2;
  mask-image: url('../images/icon/heart.svg');
  -webkit-mask-image: url('../images/icon/heart.svg');
}

/*-------------------------
  Project
-------------------------*/
/* p-page-hero
-------------------------*/
.p-page-hero {
  text-align: center;
  padding: 24px 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.p-page-hero::after {
  content: '';
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: top 0 center;
  -webkit-mask-position: top 0 center;
  mask-size: contain;
  -webkit-mask-size: contain;
  position: absolute;
  z-index: -1;
}
.p-page-hero--schedule {
  background-color: #DAFDFF;
}
.p-page-hero--schedule::after {
  width: 140px;
  height: 140px;
  background-color: #A7DFEC;
  mask-image: url("../images/icon/field_time.svg");
  -webkit-mask-image: url("../images/icon/field_time.svg");
  top: 0;
  right: calc(158 / 1280 * 100%);
}

.p-page-hero--archive {
  background-color: #FFFCD5;
}
.p-page-hero--archive::after {
  width: 132px;
  height: 132px;
  background-color: #FFDA92;
  mask-image: url("../images/icon/archive.svg");
  -webkit-mask-image: url("../images/icon/archive.svg");
  top: 0;
  right: calc(166 / 1280 * 100%);
}

.p-page-hero__title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #000000;
}
.p-page-hero__title span {
  display: block;
}

/* p-global-nav
-------------------------*/
.p-global-nav {
  background-color: #FFFFFF;
  position: fixed;
  bottom: 0;
  z-index: 100;
  box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.25);
}
.p-global-nav.is-hidden {
  display: none!important;
}

.p-global-nav__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-global-nav__item {
  position: relative;
}

.p-global-nav__item::before {
  position: relative;
}

.p-global-nav__item + .p-global-nav__item::before {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background-color: #C0C5CC;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.p-global-nav__link {
  display: inline-flex;
  font-size: 1rem;
  color: #2C2A29;
  padding: 16px 24px 16px 48px;
  position: relative;
}
.p-global-nav__link.is-current  {
  pointer-events: none;
  font-weight: bold;
  color: #247F8F;
}
.p-global-nav__link.is-current.p-global-nav__link[class*=icon]::before  {
  background-color: #247F8F;
}

.p-global-nav__link--ikumiru {
  background: url('../images/icon/ikumiru.svg') no-repeat center left 24px / 20px;
}
.p-global-nav__link[class*=icon]::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #697180;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: top 0 center;
  -webkit-mask-position: top 0 center;
  mask-size: contain;
  -webkit-mask-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 24px;
}

.p-global-nav__link--icon-archive::before {
  mask-image: url("../images/icon/archive.svg");
  -webkit-mask-image: url("../images/icon/archive.svg");
}
.p-global-nav__link--icon-clock::before {
  mask-image: url("../images/icon/field_time.svg");
  -webkit-mask-image: url("../images/icon/field_time.svg");
}
.p-global-nav__link--icon-mypage::before {
  mask-image: url("../images/icon/mypage.svg");
  -webkit-mask-image: url("../images/icon/mypage.svg");
}
.p-global-nav__link--icon-favorite::before {
  mask-image: url("../images/icon/heart.svg");
  -webkit-mask-image: url("../images/icon/heart.svg");
}

@media (hover: hover) {
  .p-global-nav__link:hover {
    text-decoration: underline;
  }
}

/* p-about-page
-------------------------*/
.p-about-page {
  margin-top: 4px;
}
.p-about-page__button {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.875rem;
  margin-left: auto;
  cursor: pointer;
}
.p-about-page__button::after {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #3064D5;
  mask-image: url("../images/icon/question_mark.svg");
  -webkit-mask-image: url("../images/icon/question_mark.svg");
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: top 0 center;
  -webkit-mask-position: top 0 center;
  mask-size: contain;
  -webkit-mask-size: contain;
}
.p-about-page__tooltip {
  max-width: 740px;
  margin: 8px auto 0;
  z-index: 1;
}

@media (hover: hover){
  .p-about-page__button:hover {
    text-decoration: underline;
  }
}

/* p-detail
-------------------------*/
.p-detail__item + .p-detail__item {
  margin-top: 40px;
}
.p-detail__heading {
  font-size: 1.625rem;
}
.p-detail__heading span {
  font-size: 1.25rem;
}
.p-detail__cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.p-detail__card {
  width: calc((100% - 72px) / 4)!important;
}

/* p-card
-------------------------*/
.p-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #2C2A29;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transition: opacity .3s;
  position: relative;
}
.p-card__thumb {
  position: relative;
  aspect-ratio: 259 / 153;
  margin: 0;
}
.p-card__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.p-card__body {
  flex-grow: 1;
  padding: 8px 8px 6px;
}
.p-card__body + .p-card__bottom {
  padding-top: 0;
}
.p-card__title {
  font-size: 0.875rem;
  font-weight: bold;
}
.p-card__text {
  font-size: 0.875rem;
  color: #707070;
  margin-top: 8px;
}
.p-card__bottom {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 8px 6px;
  margin-top: auto;
}
.p-card__schedule {
  font-size: 1.25rem;
  padding-left: 20px;
  position: relative;
}
.p-card__schedule::before {
  content: '';
  width: 16px;
  height: 16px;
  background-color: #697180;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: top 0 center;
  -webkit-mask-position: top 0 center;
  mask-size: contain;
  -webkit-mask-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
.p-card__schedule--date::before {
  mask-image: url("../images/icon/calendar.svg");
  -webkit-mask-image: url("../images/icon/calendar.svg");
}
.p-card__schedule--time::before {
  mask-image: url("../images/icon/field_time.svg");
  -webkit-mask-image: url("../images/icon/field_time.svg");
}
.p-card__schedule span {
  font-size: 0.875rem;
}
.p-card__favorite {
  flex-shrink: 0;
  font-size: 0;
  z-index: 1;
}

@media (hover: hover) {
  .p-card:hover {
    opacity: .8;
  }
}

/*-------------------------
  eventのstyle
-------------------------*/
/* p-schedule
-------------------------*/
.p-schedule {
  margin-top: 28px;
}
.p-schedule__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-schedule__item-button {
  max-width: 256px;
  line-height: 1.15;
}
.p-schedule__month {
  font-size: 2rem;
  font-weight: bold;
}
.p-schedule__month span {
  font-size: 1.25rem;
}
.p-schedule__month-buttons {
  display: flex;
  gap: 24px;
}
.p-schedule__month-button {
  width: 100px;
  line-height: 1.15;
}
.p-schedule__detail {
  margin-top: 24px;
}

.p-schedule-month {
  width: calc(100% - 256px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-left: 256px;
}
.p-schedule-month__prev-button,
.p-schedule-month__next-button {
  display: block;
  width: 24px;
  height: 24px;
  background-color: #697180;
  mask-image: url('../images/icon/rightArrow_gray.svg');
  -webkit-mask-image: url('../images/icon/rightArrow_gray.svg');
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: 12px 20px;
  -webkit-mask-size: 12px 20px;
  transition: background-color .3s;
}
.p-schedule-month__prev-button.is-disable,
.p-schedule-month__next-button.is-disable {
  pointer-events: none;
  background-color: #ACB5BF;
}
.p-schedule-month__prev-button {
  transform: rotateZ(180deg);
}
.p-schedule-month__title {
  min-width: 80px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 2px;
}
.p-schedule-month__title span {
  font-size: 32px;
}
@media (hover: hover){
  .p-schedule-month__prev-button:hover,
  .p-schedule-month__next-button:hover {
    background-color: #ACB5BF;
  }
}

/*-------------------------
  p-calendar-modal
-------------------------*/
.p-calendar-modal {
  display: none;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.p-calendar-modal.is-opened {
  display: block;
}

.p-calendar-modal__overlay.is-active {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.5);
}

.p-calendar-modal__close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
  width: 32px;
  height: 32px;
  background-color: #697180;
  mask-image: url('../images/icon/close_gray.png');
  -webkit-mask-image: url('../images/icon/close_gray.png');
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: background-color .3s;
}
@media (hover: hover){
  .p-calendar-modal__close-button:hover {
    background-color: #ACB5BF;
  }
}

.p-calendar-modal__body {
  position: relative;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  background-color: #fff;
  border-radius: 8px;
}

.p-calendar-modal__heading {
  display: flex;
  align-items: center;
  padding: 24px 40px;
}
.p-calendar-modal .p-schedule-month {
  width: 100%;
  margin-left: 0;
}
.p-calendar-modal .p-schedule-month__prev-button,
.p-calendar-modal .p-schedule-month__next-button {
  width: 32px;
  height: 32px;
  mask-size: 16px 27px;
  -webkit-mask-size: 16px 27px;
}
.p-calendar-modal .p-schedule-month__title {
  min-width: 83px;
  font-size: 28px;
  margin: 0 24px;
}
.p-calendar-modal .p-schedule-month__title span {
  font-size: 40px;
}

.p-calendar-modal__contents {
  width: 100%;
  padding: 0 20px 32px;
}

/*-------------------------
  p-schedule-calendar
-------------------------*/
.p-schedule-calendar {
  width: 100%;
}
.p-schedule-calendar__week + .p-schedule-calendar__week {
  margin-top: 8px;
}
.p-schedule-calendar__day-of-week th {
  width: calc(100% / 7);
  font-weight: 400;
  font-size: 24px;
}
.p-schedule-calendar__day-of-week th.sunday {
  color: #F29423;
}
.p-schedule-calendar__day-of-week th.saturday {
  color: #247F8F;
}

.p-schedule-calendar-item a {
  display: block;
  text-align: center;
  padding: 8px 16px;
  border-radius: 8px;
}
.p-schedule-calendar-item a[data-products-sum]::after {
  content: attr(data-products-sum);
  display: block;
  width: 36px;
  height: 36px;
  font-size: 22px;
  color: #2C2A29;
  background-color: #D0F3F4;
  border-radius: 100%;
  margin: 4px auto 0;
}

.p-schedule-calendar-item a:not([data-products-sum]) {
  pointer-events: none;
  padding-bottom: 48px;
}

.p-schedule-calendar-item.is-selected .p-schedule-calendar-item__day{
  color: #247F8F;
  font-weight: 700;
}
.p-schedule-calendar-item.is-expired .p-schedule-calendar-item__day {
  color: #ACB5BF;
}
.p-schedule-calendar-item__day {
  color: #2C2A29;
  font-size: 32px;
  transition: color .3s;
}
@media (hover: hover){
  .p-schedule-calendar-item:hover a[data-products-sum]  {
    background-color: #EBFFFF;
  }
}


/*-------------------------
  event_archiveのstyle
-------------------------*/

/* p-archive-tags
-------------------------*/
.p-archive-tags-container {
  background-color: #FFFFFF;
  padding: 0 1rem;
}
.p-archive-tags {
  display: flex;
  gap: 8px 4px;
  flex-wrap: wrap;
  max-width: 1104px;
  padding: 24px 0;
  margin: 16px auto 0;
}

/* p-archive
-------------------------*/
.p-archive {
  margin-top: 40px;
}

.p-archive__detail {
  margin-top: 56px;
}



