/* ---------------------------------------------------- 

メインビジュアル

---------------------------------------------------- */

.main-visual{
  background-color: #28385e;
}

.main-visual::after{
  position: absolute;
  right: 0;
  display: inline-block;
  width: 100px;
  height: auto;
  aspect-ratio: 168/198;
  content: "";
  transform: rotate(180deg);
  background: url(../img/common/bg-leaf_01.png) no-repeat;
  background-size: contain;
}
@media (min-width: 768px){
  .main-visual::after{
    width: 180px;
  }
}

.main-visual__inner{
  position: relative;
  max-width: 1280px;
  height: 450px;
  margin: auto;
}
@media (min-width: 768px){
  .main-visual__inner{
    max-width: 1280px;
    height: 720px;
  }
}

.main-visual__header{
  position: absolute;
  top: 180px;
  left: 16px;
  width: 100%;
  min-width: 10rem;
  max-width: 50%;
}
@media (min-width: 768px){
  .main-visual__header{
    min-width: 30rem;
  }
}

.main-visual__header > span{
  display: block;
  color: #fff;
  font-size: .875rem;
  font-weight: normal;
}
@media (min-width: 768px){
  .main-visual__header > span{
    width: max-content;
    margin-top: -1.5rem;
    margin-right: 2rem;
    margin-left: auto;
    font-size: 1.5rem;
    line-height: 1;
  }
}

.main-visual__image{
  width: 1280px;
  height: 450px;
  object-fit: cover;
}
@media (min-width: 768px){
  .main-visual__image{
    height: 720px;
  }
}

/* ---------------------------------------------------- 

モーダルウィンドウ

---------------------------------------------------- */

.icn__modal{
  width: 14px;
  height: 10px;
  fill: #fff;
}

.modalWindow[open]{
	width:90%;
  overflow: inherit;
  padding: 1rem;
  border: none;
}
@media (min-width: 768px){
  .modalWindow[open]{
  	width:50%;
    padding: 1.5rem;
  }
}

.modalWindow::backdrop{
  opacity: .5;
  background-color: #000;
}

.modalClose{
  position: absolute;
  top: -2rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  color: #28385e;
  border: none;
  padding: 0;
}
@media (min-width: 768px){
  .modalClose{
    top: -3rem;
    right: -3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
  }
}


.modalClose > svg{
  width: 24px;
  height: 24px;
}

.modalContainer{
  overflow-y: auto;
  max-height: 70vh;
}

.modalContainer > h3{
  grid-column: 1/2;
  grid-row: 1/2;
  padding: .25rem .5rem;
  border-left: solid 4px #28385e;
  font-size: 1.25rem;
}

.modalContainer > p{
  grid-column: 1/3;
  grid-row: 2/3;
  padding-left: 1.5rem;
  margin-top:10px;
  list-style: decimal;
}


/* ---------------------------------------------------- 

ニュース

---------------------------------------------------- */
.news{
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 0 .5rem;
}

.news__inner{
  margin-top: -4.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .8);
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, .2);
}
@media (min-width: 768px){
  .news__inner{
    max-width: 984px;
    margin-top: -4.5rem;
    margin-right: auto;
    margin-left: auto;
    padding: 1.5rem 4.5rem;
  }
}

.news__title{
  display: inline-grid;
  grid-template-columns: 100px 1fr;
  align-items: end;
  gap: .5rem;
  padding-bottom: 1rem;
  color: #28385e;
  border-bottom: solid 1px #28385e;
  font-size: 1rem;
}
@media (min-width: 768px){
  .news__title{
    grid-template-columns: 8rem 1fr;
    gap: 2rem;
    font-size: 1.25rem;
    line-height: 1;
  }
}

.news__body{
  margin-top: 1rem;
}
@media (min-width: 768px){
  .news__body{
    padding: 0 70px;
  }
}

.news__dl{
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .5rem 1rem;
  font-size: .875rem;
}
@media (min-width: 768px){
  .news__dl{
    font-size: 1rem;
  }
}



/* ---------------------------------------------------- 

トピックス

---------------------------------------------------- */
.topics{
  margin-top: 8rem;
}

.topics__header{
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 0 .5rem;
}
@media (min-width: 768px){
  .topics__header{
    padding: 0;
  }
}

.topics__title{
  display: inline-grid;
  grid-template-columns: 11rem;
  align-items: end;
  color: #28385e;
  font-size: 1.25rem;
}
@media (min-width: 768px){
  .topics__title{
    grid-template-columns: 14rem;
  }
}

.topics__body{
  margin-top: -2.5rem;
  padding: 5rem 1rem 12rem;
  background: radial-gradient(#f3f5f6, #d6dced);
}
@media (min-width: 768px){
  .topics__body{
    margin-top: -40px;
    padding: 3rem 0 12rem;
  }
}

.splide__arrows{
  display: none;
}
@media (min-width: 768px){
  .splide__arrows{
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 3rem;
  }
}

@media (min-width: 768px){
  .splide__arrow{
    position: static;
    z-index: 1;
    top: 50%;
    width: 3em;
    height: 3em;
    opacity: 1;
    border: none;
    border-radius: none;
    background: #fff;
  }
}

@media (min-width: 768px){
  .splide__arrow.splide__arrow--prev{
    transform: rotate(270deg);
  }
}

@media (min-width: 768px){
  .splide__arrow.splide__arrow--next{
    transform: rotate(90deg);
  }
}

.topic{
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px){
  .topic{
    position: relative;
    display: block;
    width: 100%;
    height: 432px;
  }
}

@media (min-width: 768px){
  .topic__image{
    position: absolute;
    top: 0;
    display: inline-block;
  }
}

.topic__image > figure{
  display: flex;
}

.topic__image > figure > figcaption{
  font-size: 1.5rem;

  writing-mode: vertical-rl;
}

.topic__image > .modalOpen{
  display: inline-grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: center;
  gap: .25rem;
  margin-top: .5rem;
  padding: 0;
  cursor: pointer;
  color: #28385e;
  border: none;
  background: none;
}

.topic__image > .modalWindow{
  overflow: visible;
  padding: 0;
  border: none;
  background-color: transparent;
}

.modalWindow::backdrop{
  opacity: .5;
  background-color: #000;
}

.modalClose{
  position: absolute;
  top: -2rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  color: #28385e;
  border: none;
  padding:0;
}
@media (min-width: 768px){
  .modalClose{
    top: -1rem;
    right: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
  }
}

.modalClose > svg{
  width: 24px;
  height: 24px;
}

.topic__info{
  width: 100%;
  max-width: 380px;
  margin-top: 1rem;
}
@media (min-width: 768px){
  .topic__info{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    height: 247px;
    margin-top: 0;
  }
}

.info__container{
  padding: 1.5rem 1.5rem 3rem 1.5rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, .8);
  border:1px solid #999;
}
@media (min-width: 768px){
  .info__container{
    height: 220px;
  padding: 1.5rem 0.5rem 1.5rem 1.5rem;
  }
}

.info__title{
  font-size: 1.5rem;
  font-weight: bold;
}

.info__title > span{
  font-size: 1rem;
}
.info__title > small{
  font-size: 1.45rem;
}

.info__date{
  font-size: 1.5rem;
}

.info__details{
  padding: 0;
  list-style: none;
}

.info__link{
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translate(-50%);
}
@media (min-width: 768px){
  .info__link{
    bottom: 5px;
  }
}

@media (max-width: 767px){
  .splide__slide:not(:first-of-type){
    margin-top: 5rem;
  }
}

.topics__footer{
  margin: -5rem auto 0 auto;
  padding: 0 1rem;
}

.topics__footer__inner{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin: -5rem auto 0 auto;
  padding: 1.5rem;
  text-align: center;
  border-radius: 1rem;
  background-color: rgba(168, 183, 199, .5);
}

@media (min-width: 768px){
  .topics__footer__inner{
    flex-direction: row;
    width: 100%;
    max-width: 880px;
    min-height: 160px;
    padding: 32px;
  }
}
@media (min-width: 768px){
  .topics__footer__inner::after{
    display: block;
    flex: 1;
    order: 2;
    content: "";
    border-top: solid 1px;
  }
}
@media (min-width: 768px){
  .topics__footer__inner > p{
    order: 1;
  }
}
@media (min-width: 768px){
  .topics__footer__inner > a{
    order: 3;
  }
}



/* ---------------------------------------------------- 

スケジュール

---------------------------------------------------- */
.schedule{
  margin-top: 8rem;
}
.monthList form {
		margin:0;
		padding:0;
}
.monthList button {
		margin:0;
		padding:0;
		background-color:#fff;
		border:0px;
/*		line-height:1em;*/
}

.schedule__header{
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 0 .5rem;
}
@media (min-width: 768px){
  .schedule__header{
    padding: 0;
  }
}

.schedule__header > h2{
  display: inline-grid;
  grid-template-columns: 11rem;
  align-items: end;
  color: #28385e;
  font-size: 1.25rem;
}
@media (min-width: 768px){
  .schedule__header > h2{
    grid-template-columns: 14rem;
  }
}

.schedule__body{
  margin-top: -2rem;
  padding: 10rem .5rem;
  background: #fff;
}
@media (min-width: 768px){
  .schedule__body{
    margin-top: -2.5rem;
    padding: 10rem 0;
  }
}

.calendar{
  display: grid;
  width: 100%;
}
@media (min-width: 768px){
  .calendar{
    grid-template-columns: max-content 1fr max-content;
    grid-template-rows: min-content 2fr;
    gap: 0 2rem;
    max-width: 1000px;
    margin: auto;
  }
}

.calendar > .monthList{
  display: none;
}

@media (min-width: 768px){
  /* 前月来月の選択 */
  .calendar > .monthList{
    display: block;
    grid-row: 1 / 3;
  }
}
@media (min-width: 768px){
  .monthList > h3{
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
  }
}

@media (min-width: 768px){
  .monthList > ul{
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 0;
    list-style: none;
  }
}

@media (min-width: 768px){
  .monthList__item{
    display: inline-block;
    margin-top: .25rem;
    font-size: 1.25rem;
    font-weight: bold;
    padding:0 .5rem;
  }
}

@media (min-width: 768px){
  .monthList__item::before{
    content: "･";
  }
}

@media (min-width: 768px){
  .monthList__item:first-of-type::before{
    content: none;
  }
}

@media (min-width: 768px){
/*  .monthList__item:first-of-type{*/
  .monthList__item_year{
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    list-style: none;
    content: "2023年";
    font-size: 2rem;
    font-weight: bold;
  }
}

@media (min-width: 768px){
  .monthList__item > span{
    margin-left: .25rem;
    color: #95a6b9;
    font-family: sans-serif;
    font-size: .75rem;
    font-weight: normal;
  }
}

@media (min-width: 768px){
  .monthList__item.current{
     padding: 0 .5rem;
   color: #fff;
    border-radius: 9999px;
    background-color: #28385e;
  }
}

@media (min-width: 768px){
  .monthList__item.current.monthList__item::before{
    content: none;
  }
}

.calendar > .monthArrows{
  justify-self: end;
}
@media (min-width: 768px){
  .calendar > .monthArrows{
    display: flex;
    grid-column: 3 / 4;
    align-items: flex-start;
  }
}

.calendar > .monthArrows > form > .toCurrentDay{
  width: max-content;
  padding: .25rem 1rem;
  cursor: pointer;
  color: #f8f1e5;
  border: none;
  border-radius: 100px;
  background-color: #28385e;
  font-size: 1rem;
}
@media (min-width: 768px){
  .monthArrows > form > .toCurrentDay{
    min-height: 3rem;
    font-size: 1.25rem;
  }
}

.calendar > .monthArrows > form > .toPrevMonth, .calendar > .monthArrows > form > .toNextMonth{
  display: none;
}
@media (min-width: 768px){
  .calendar > .monthArrows > form > .toPrevMonth, .calendar > .monthArrows > form > .toNextMonth{
    display: block;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    background-color: transparent;
  }
}

@media (min-width: 768px){
  .calendar > .monthArrows > form > .toPrevMonth{
    transform: rotate(270deg);
  }
}

@media (min-width: 768px){
  .calendar > .monthArrows > form > .toNextMonth{
    transform: rotate(90deg);
  }
}

.calendar__title{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px){
  .calendar__title{
    grid-column: 2/3;
    grid-row: 1/2;
  }
}

.calendar__title .thisMonth{
  display: grid;
  justify-items: center;
  line-height: 1;
}
@media (min-width: 768px){
  .calendar__title .thisMonth{
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-items: baseline;
    gap: .5rem;
  }
}

@media (min-width: 768px){
  .calendar__title .thisMonth > span:first-of-type{
    display: none;
  }
}

.calendar__title .thisMonth > span:nth-of-type(2){
  font-size: 2.5rem;
}

.calendar__title .thisMonth > span:last-of-type{
  color: #95a6b9;
  font-size: 1rem;
}
@media (min-width: 768px){
  .calendar__title .thisMonth > span:last-of-type{
    font-size: 1.5rem;
  }
}

.calendar__title .lastMonth, .calendar__title .nextMonth{
  display: flex;
  align-items: center;
  gap: .25rem;
  width: 7rem;
  font-size: .75rem;
}
@media (min-width: 768px){
  .calendar__title .lastMonth, .calendar__title .nextMonth{
    display: none;
  }
}

.calendar__title .nextMonth{
  justify-content: right;
}

.calendar__title > .lastMonth::after{
  flex: 1;
  height: 1px;
  content: "";
  background-color: #28385e;
}

.calendar__title > .nextMonth::before{
  flex: 1;
  height: 1px;
  content: "";
  background-color: #28385e;
}

.calendar__title > .lastMonth > span, .calendar__title > .nextMonth > span{
  color: #95a6b9;
}

.calendarContainer{
  margin-top: 1rem;
}
@media (min-width: 768px){
  .calendarContainer{
    grid-column: 2/4;
    max-width: 852px;
    height: max-content;
  }
}

.calendarContainer > table{
  width: 100%;
  height: 100%;
  border-collapse: collapse;
}

.calendarContainer > table th{
  padding: .5rem;
  color: #95a6b9;
  border: solid 1px #b3b3b3;
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: normal;
}
@media (min-width: 768px){
  .calendarContainer > table th{
    padding: 0;
    text-align: start;
    border: none;
  }
}

.calendarContainer > table th:first-of-type{
  color: #fa7777;
}

.calendarContainer > table td{
  width: calc(100% / 7);
  height: 88px;
  padding: .25rem;
  text-align: start;
  vertical-align: top;
  color: #28385e;
  border: solid 1px #b3b3b3;
  font-size: .875rem;
  font-weight: bold;
}

/* 予定の詳細 */
.link-schedule{
  display: block;
/*  text-align: center;*/
  color: #28385e;
  font-size: .75rem;
  line-height: 1.2;
  text-decoration: none;
  margin-top:10px;
}
@media (hover: hover) and (pointer: fine) {
  .link-schedule:hover{
    text-decoration: underline;
  }
}

/* 日曜日 */
.calendarContainer > table td:first-of-type{
  color: #fa7777;
  background-color: #f2f2f2;
}

/* 土曜日 */
.calendarContainer > table td:last-of-type{
  background-color: #f2f2f2;
}

/* 祝日 */
.calendarContainer > table .holiday{
  color: #fa7777;
}

/* 当日 */
.calendarContainer > table .currentDay{
  background-color: #ffd7d7;
}

/* カレンダー内の先月と来月の日付 */
.calendarContainer > table .prevMonth .date, .calendarContainer > table .nextMonth .date{
  opacity: .5;
}

.schedule__footer{
  margin: -5rem auto 0 auto;
  padding: 0 1rem;
}

.schedule__footer__inner{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin: -5rem auto 0 auto;
  padding: 1.5rem;
  text-align: center;
  border-radius: 1rem;
  background-color: rgba(168, 183, 199, .5);
}

@media (min-width: 768px){
  .schedule__footer__inner{
    flex-direction: row;
    width: 100%;
    max-width: 880px;
    min-height: 160px;
    padding: 32px;
  }
}
@media (min-width: 768px){
  .schedule__footer__inner::after{
    display: block;
    flex: 1;
    order: 2;
    content: "";
    border-top: solid 1px;
  }
}
@media (min-width: 768px){
  .schedule__footer__inner > p{
    order: 1;
  }
}
@media (min-width: 768px){
  .schedule__footer__inner > a{
    order: 3;
  }
}



/* ---------------------------------------------------- 

ページ下部 リンク

---------------------------------------------------- */
.links{
  margin: 3rem auto 0;
  padding: 0 .5rem;
}
@media (min-width: 768px){
  .links{
    display: flex;
    gap: 3rem;
    width: 100%;
    max-width: 820px;
    margin: 3rem auto 0;
  }
}

.link{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 128px;
  border-radius: 1rem;
  background-color: #fef7ee;
  font-size: .875rem;
}
@media (min-width: 768px){
  .link{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-width: auto;
    min-height: 128px;
    border-radius: 1rem;
    background-color: #fef7ee;
    font-size: .875rem;
  }
}

.link:not(:first-of-type){
  margin-top: 1rem;
}
@media (min-width: 768px){
  .link:not(:first-of-type){
    margin-top: 0;
  }
}

.link > .btn-primary{
  gap: .25rem;
  max-width: 205px;
  min-height: 38px;
}
iframe {
	margin-top:4rem;
	border:0px solid #fff;
	frameborder:0;

}
.schedule__footer {
	margin-top:100px;
}