@charset "utf-8";

/* main */

.contents-intro{
  position: relative;
  height: calc(100vh - 12rem);
  height: calc(100dvh - 12rem);
}

.contents-intro::after{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 20% 0 0;
  width: 100%;  
  height: 0;
  display: block;
  background: url(/smileup/img/new/bg_wave_gray.svg) top center no-repeat;
  background-size: 120%;
  content: "";
  z-index: -1;
}

.contents-intro .main-slider-block{
  position: relative;
  display: flex;
  align-items: center;
}

.main-slider-block .main-title-text{
  position: absolute;
  left: 5%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contents-intro .main-title-text h1{
  padding: 1rem;
  display: inline-block;
  font-size: min(max(3rem, calc(3rem + ((1vw - 0.48rem) * 2.5))), 4.8rem);
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.contents-intro .main-title-text h1 br{ display: none;}

@media screen and (max-width: 640px) {

.main-slider-block .main-title-text{ top: 12%; left: 1.5rem;}

.contents-intro .main-title-text h1 br{ display: inline-block;}

}/* End max 640 */




.contents-intro .main-title-text p{
  margin-top: 1rem;
  padding: 1rem;
  display: inline-block;
  font-size: min(max(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.5556))), 2rem);
}

.contents-intro .main-slider{
  margin-left: auto;
  width: 87.5%;
  max-height: calc(100vh - 24rem);
  min-height: 60rem;  
  border-radius: 2rem 0 0 2rem;  
  overflow: hidden;
}

@media screen and (max-width: 940px) {

.contents-intro .main-slider{ max-height: calc(100vh - 24rem);}

}/* End max 940 */

@media screen and (max-width: 640px) {

.contents-intro .main-slider{ width: calc(100% - 3rem);}

.contents-intro .main-slider-block{
  position: static;
  display: flex;
  align-items: center;
}

}/* End max 640 */


.contents-intro .splide__slide img{
  height: calc(100vh - 24rem);
  height: calc(100dvh - 24rem);
  min-height: 60rem;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 10s ease;
  transform: scale(1.1);
}

.main-slider .splide__list .splide__slide.is-active img { transform: scale(1);}

@media screen and (max-width: 940px) {

.contents-intro .splide__slide img{
  height: calc(100vh - 30rem);
  height: calc(100dvh - 30rem);
}

}/* End max 940 */


.news-emergency{
  position: absolute;
  right: 0;
  bottom: 5vh;
  margin-left: auto;
  padding: 2rem;
  width: 55%;
  min-width: 60rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;  
  border: 0.2rem solid #e86773;
  border-right: none;
  border-radius: 1rem 0 0 1rem;
  font-size: min(max(1.3rem, calc(1rem + ((1vw - 0.48rem) * 0.3846))), 1.5rem);
}

.news-emergency dt{ width: 6em;}
.news-emergency dd{ width: calc(100% - 6em - 1rem);}

@media screen and (max-width: 640px) {

.news-emergency{
  bottom: 3rem;
  padding: 1.5rem;
  width: 100%;
  min-width: 100%;
  border-width: 0.2rem 0 0 0;
  border-radius: 0;
}

}/* End max 640 */


