/* CSS Document */

@keyframes sp_wave{
  0% {
    -webkit-mask-position: 0 100%;
     mask-position: 0 100%;
  }
  100% {
    -webkit-mask-position: 320px 100%;
     mask-position: 320px 100%;
  }
}
@keyframes tb_wave{
  0% {
    -webkit-mask-position: 0 100%;
     mask-position: 0 100%;
  }
  100% {
    -webkit-mask-position: 768px 100%;
     mask-position: 768px 100%;
  }
}
@keyframes tbl_wave{
  0% {
    -webkit-mask-position: 0 100%;
     mask-position: 0 100%;
  }
  100% {
    -webkit-mask-position: 1024px 100%;
     mask-position: 1024px 100%;
  }
}
@keyframes pc_wave{
  0% {
    -webkit-mask-position: 0 100%;
     mask-position: 0 100%;
  }
  100% {
    -webkit-mask-position: 895px 100%;
     mask-position: 895px 100%;
  }
}

body[wc-view-type="sp"] div.news_wrap::before{
  animation:sp_wave 8s linear 0s infinite;
}
body[wc-view-type="tb"] div.news_wrap::before{
  animation:tb_wave 6s linear 0s infinite;
}
body[wc-view-type="tb-l"] div.news_wrap::before{
  animation:tbl_wave 10s linear 0s infinite;
}
body[wc-view-type="pc"] div.news_wrap::before{
  animation:pc_wave 15s linear 0s infinite;
}


/*透明*/
span.opa{
  width: 0;
  height: 0;
  display: block;
  opacity: 0;
  overflow: hidden;
}
/*ページタイトル*/
section.page_title{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
body[wc-view-type="sp"] section.page_title{
  height: 45vw;
}
body[wc-view-type="tb"] section.page_title{
  height: 250px;
}
body[wc-view-type="tb-l"] section.page_title{
  height: 280px;
}
body[wc-view-type="pc"] section.page_title{
  height: 350px;
}
section.page_title > h2{
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
}
section.page_title > h2::before{
  content: "News";
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Montserrat";
  color: rgba(255,255,255,0.5);
  display: block;
  line-height: 1em;
  margin-bottom: 0.5rem;
}
section.page_title figure{
  width: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
section.page_title figure::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(177.6deg,#008acd 4.64%,#8ac3de 93.84%);
  opacity: 0.75;
}
section.page_title figure picture{
  width: 100%;
  height: 100%;
  display: block;
}
section.page_title figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*コンテンツ*/
div.news_wrap{
}
div.news_wrap{
  padding: var(--headerHeight) 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
body[wc-view-type="sp"] div.news_wrap{
  padding: var(--headerHeight) 10vw calc(var(--headerHeight) + 16px) 10vw;
}
body[wc-view-type="tb"] div.news_wrap{
  padding: var(--headerHeight) 12vw calc(var(--headerHeight) + 38px) 12vw;
}
body[wc-view-type="tb-l"] div.news_wrap{
  padding: var(--headerHeight) 12vw calc(var(--headerHeight) + 52px) 12vw;
}
body[wc-view-type="pc"] div.news_wrap{
  padding: var(--headerHeight) 0 calc(var(--headerHeight) + 45px) 0;
}
div.news_wrap::before{
  content: "";
  position: absolute;
  left: 0;
  width: 100vw;
  z-index: 5;
  mask-image:url("/img/svg/wave_up.svg?");
  -webkit-mask-image:url("/img/svg/wave_up.svg?");
  background-color: #f5f5f5;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position:bottom center;
  mask-position:bottom center;
}
body[wc-view-type="sp"] div.news_wrap::before{
  height: 16px;
  top: -16px;
  -webkit-mask-size: contain;
  mask-size: contain;
}
body[wc-view-type="tb"] div.news_wrap::before{
  height: 39px;
  top: -38px;
  -webkitmask-mask-size: 768px 39px;
  mask-size: 768px 39px;
}
body[wc-view-type="tb-l"] div.news_wrap::before{
  height: 53px;
  top: -52px;
  -webkitmask-size:1024px 53px;
  mask-size:1024px 53px;
}
body[wc-view-type="pc"] div.news_wrap::before{
  height: 45px;
  top: -45px;
  -webkitmask-size:895px 45px;
  mask-size: 895px 45px;
}


div.news_wrap > p{
  line-height: 1.8rem;
  transition: opacity 0.8s linear, -webkit-transform 0.8s linear;
  opacity: 0;
}
div.news_wrap > p.wcvisible{
  opacity: 1;
}
body:not([wc-view-type="sp"]) div.news_wrap > p{
  text-align: center;
}
div.news_wrap div.news_flex{
  display: flex;
  flex-wrap: wrap;
}
body[wc-view-type="sp"] div.news_wrap div.news_flex{
  flex-direction: column;
}
body[wc-view-type="pc"] div.news_wrap div.news_flex{
  width: 1100px;
  margin: 0 auto;
}
div.news_wrap div.news_flex article{
  background-color: rgba(255,255,255,0.5);
  border: solid 1px #1d4e88;
  border-radius: 1.5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  transition: opacity 0.8s linear, -webkit-transform 0.8s linear;
  opacity: 0;
}
div.news_wrap div.news_flex article.wcvisible{
  opacity: 1;
}

body[wc-view-type="sp"] div.news_wrap div.news_flex article{
  width: 100%;
  margin-top: 1.5rem;
}
body[wc-view-type="tb"] div.news_wrap div.news_flex article{
  width: calc((100% / 2) - 1rem);
  margin-top: 2rem;
}
body[wc-view-type="tb-l"] div.news_wrap div.news_flex article{
  width: calc((100% / 2) - 1.5rem);
  margin-top: 3rem;
}
body[wc-view-type="tb"] div.news_wrap div.news_flex article:nth-of-type(odd){
  margin-right: 1rem;
}
body[wc-view-type="tb"] div.news_wrap div.news_flex article:nth-of-type(even){
  margin-left: 1rem;
}
body[wc-view-type="tb-l"] div.news_wrap div.news_flex article:nth-of-type(odd){
  margin-right: 1.5rem;
}
body[wc-view-type="tb-l"] div.news_wrap div.news_flex article:nth-of-type(even){
  margin-left: 1.5rem;
}
body[wc-view-type="pc"] div.news_wrap div.news_flex article{
  width: calc((100% / 3) - 2rem);
  margin-top: 3rem;
  margin: 2rem 1rem 0 1rem;
}
/*
body[wc-view-type="pc"] div.news_wrap div.news_flex article:nth-of-type(2),
body[wc-view-type="pc"] div.news_wrap div.news_flex article:nth-of-type(5),
body[wc-view-type="pc"] div.news_wrap div.news_flex article:nth-of-type(8){
  margin: 3rem 3rem 0 3rem;
}*/
div.news_wrap div.news_flex article a{
  padding: 1rem;
  box-sizing: border-box;
  text-decoration: none;
  display: block;
}
div.news_wrap div.news_flex article a figure{
}
div.news_wrap div.news_flex article a figure picture{
  width: 100%;
  height: 100%;
  display: block;
}
div.news_wrap div.news_flex article a figure picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}
body[wc-view-type="sp"] div.news_wrap div.news_flex article a figure picture img{
  height: 45vw !important;
}
body[wc-view-type="tb"] div.news_wrap div.news_flex article a figure picture img,
body[wc-view-type="tb-l"] div.news_wrap div.news_flex article a figure picture img{
  height: 180px !important;
}
body[wc-view-type="pc"] div.news_wrap div.news_flex article a figure picture img{
  height: 200px !important;
}
div.news_wrap div.news_flex article div.info_top_text{
  display: flex;
  flex-direction: column-reverse;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
div.news_wrap div.news_flex article div.info_top_text time{
  padding-top: 0.25rem;
  display: table;
  margin-left: auto;
  margin-right: 0;
}
div.news_wrap div.news_flex article div.info_top_text time span{
  color: #333;
  display: table;
  margin-left: auto;
  margin-right: 0;
  padding-left: 1.5rem;
  position: relative;
  z-index: 1;
}
div.news_wrap div.news_flex article div.info_top_text time span::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  background-color: #333;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-image: url("/img/svg/calendar.svg");
  mask-image: url("/img/svg/calendar.svg");
  width: 1.5rem;
  height: 1.5rem;
  transform: translateY(-50%);
}
div.news_wrap div.news_flex article div.info_top_text h2{
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.2rem;
  font-weight: 500;
}
div.news_wrap div.news_flex article a p{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
  padding-right: 2rem;
  box-sizing: border-box;
  padding-left: 0.5rem;
  position: relative;
  z-index: 1;
}
div.news_wrap div.news_flex article a p::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  -webkit-mask-image: var(--wciconsrc);
  mask-image: var(--wciconsrc);
  background-color: #333;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}