@charset 'UTF-8';
/*******************************
モーダル-トップページ
*******************************/
#modal {
  display: block;
  /* display: none;*/
}
#c-modal {
  position: fixed;
  bottom: 4%;
  right: 5%;
  z-index: 500;
  width: 90%;
  margin: 0 auto;
  height: auto;
}
.banner_item {
  color: #000;
  display: flex;
  align-items: center;
  padding: 7px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
/*.banner_item:hover {
  opacity: 0.8;
  transition: all 0.5s;
}*/
.banner_item:hover {
  color: #ff007f;
}
.banner_type {
  font-size: 1.2rem;
  line-height: 1;
  /*background-color: #ff3083;*/
  background-color: #ff007f;
  color: #fff;
  padding: 2px 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.banner_img {
  aspect-ratio: 107 / 60;
  width: 34%;
}
.banner_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner_txt_wrap {
  width: 66%;
  padding-top: 2px;
  padding-left: 10px;
  padding-bottom: 2px;
}
.banner_title {
  font-size: 1.34rem;
  margin-bottom: 5px;
}
.banner_txt {
  font-size: 1rem;
  margin-bottom: 0;
}
#c-modal_close {
  position: absolute;
  width: 25px;
  height: 25px;
  top: -12px;
  right: -12px;
  border: 1px solid #fff;
  background-color: #fff;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}
.dli-close {
  display: inline-block;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0.5);
  line-height: 1;
  width: 12px;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.dli-close::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}
@media screen and (min-width: 768px) {
  #c-modal {
    right: 30px;
    bottom: 22px;
    /*max-width: 275px;*/
    max-width: 370px;
  }
  #c-modal_close {
    width: 16px;
    height: 16px;
    top: -9px;
    right: -8px;
  }
  .banner_item {
    padding: 14px;
    border-radius: 4px;
  }
  .banner_type {
    padding: 3px 18px;
  }
  .banner_img {
    aspect-ratio: 112 / 93;
    width: 45%;
  }
  .banner_txt_wrap {
    width: 55%;
  }
  .dli-close {
    width: 8px;
  }
}
	@media screen and (min-width: 992px) {
        .banner_title{
            font-size: 1.5rem;
        }	
}

@media screen and (min-width: 1200px) {
  .banner_item {
    padding: 1.7rem;
  }
  .banner_type {
    font-size: 1.4rem;
    padding: 4px 20px;
  }
  .banner_txt_wrap {
    padding-left: 4.5%;
  }
  .banner_title {
    font-size: 1.7rem;
    margin-bottom: 0.9rem;
  }
  .banner_txt {
    font-size: 1.2rem;
  }
  #c-modal_close {
    width: 19px;
    height: 19px;
  }
  .dli-close {
    width: 9px;
  }
}
/*******************************
EVENTS-トップページ
*******************************/
.top_events_container .heading {
  font-size: 6rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 768px) {
  .top_events_container .heading {
    font-size: 5rem;
    margin-bottom: 1.7rem;
  }
}
.top_events_container {
  width: 90%;
  margin: 6rem auto 6rem;
  max-width: 1200px;
}
.top_events_container .events_block > ul > li {
  margin-bottom: 4.2rem;
}
.top_events_container .events_block > ul > li:last-child {
  margin-bottom: 0;
}
.top_events_container .banner_item {
  padding: 15px;
}
.top_events_container .banner_type {
  padding: 5px 24px;
}
.top_events_container .banner_img {
  width: 45%;
  aspect-ratio: 132 / 95;
}
.top_events_container .banner_txt_wrap {
  width: 55%;
}
.top_events_container .banner_title {
  margin-bottom: 8px;
  line-height: 1.4;
}
.top_events_container .banner_txt {
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .top_events_container .banner_img {
    width: 46%;
    aspect-ratio: 179 / 150;
  }
}
@media screen and (min-width: 992px) {
  .top_events_container .events_block > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
  }
  .top_events_container .events_block > ul > li {
    width: calc((100% - 4%) / 2);
    margin-bottom: 6.4rem;
  }
  .top_events_container .events_block > ul > li:nth-last-child(2) {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  .top_events_container {
    margin: 16rem auto 0;
  }
  .top_events_container .banner_item {
    padding: 22px;
  }
  .top_events_container .banner_type {
    font-size: 1.8rem;
    padding: 6px 32px;
  }
  .top_events_container .banner_txt_wrap {
    padding-left: 15px;
    padding-right: 2rem;
  }
  .top_events_container .banner_title {
    font-size: 1.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .top_events_container .banner_txt {
    font-size: 1.2rem;
  }
  .banner_no_post {
    font-size: 1.5rem;
  }
}

/* グローバルナビ faq：ホバーで英語→日本語（他項目 .menu-XXX .switch:after と同方式） */
.menu-faq .switch:after {
  content: "よくある質問";
  display: none;
}

/*******************************

*******************************/