@charset "UTF-8";
/*　トップページ　ロード時に表示される部分のcss（それ以外はhome.cssへ）　*/
/* ---------------------------------------------------
	common
------------------------------------------------------ */
#bg {
  background: url(../img/common/bg.webp) center top, linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(214, 220, 227) 50%, rgb(142, 171, 197) 100%);
}

@media screen and (max-width: 810px) {
  #bg {
    background: url(../img/common/bg.webp) center top, linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(214, 220, 227) 50%, rgb(142, 171, 197) 100%);
    background-size: 120%, 100%;
  }
  #header_wrap:has(.main_topics) #fix_header {
    top: 60px;
  }
  #side_fix .btn_bestrate {
    display: block;
  }
  #side_fix .search_open {
    display: block;
  }
}
/* ---------------------------------------------------
	mainimg
------------------------------------------------------ */
#mainimg {
  position: relative;
  overflow: hidden;
}
#mainimg .main_tit {
  position: absolute;
  left: 3%;
  bottom: 32px;
  max-width: 100%;
  color: #fff;
  font-size: 2.4rem;
  letter-spacing: 0.6em;
  line-height: 1.83;
  text-shadow: 0 0 10px #000;
  z-index: 10;
}
#mainimg .main_tit .main {
  display: block;
  margin-bottom: 32px;
  font-size: 3.2rem;
  letter-spacing: 0.6em;
}
#mainimg .main_scroll {
  position: absolute;
  left: 30px;
  top: calc(50% + 60px);
  width: 1em;
  color: #ebe9e4;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
  line-height: 1;
  letter-spacing: 0.2em;
  white-space: nowrap;
  z-index: 10;
}
#mainimg .main_scroll a {
  color: #ebe9e4;
}
#mainimg .main_scroll .icon {
  top: auto;
  margin-top: 8px;
  margin-right: 4px;
}
#mainimg .main_topics {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 800px;
  max-width: 50%;
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
  align-items: center;
  background: #dadada;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0;
  z-index: 10;
}
#mainimg .main_topics .topics_tit {
  font-size: 2rem;
  letter-spacing: 0.05em;
}
#mainimg .main_topics .topics_txt {
  display: inline-block;
  width: calc(100% - 80px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mainimg .main_topics .topics_txt a {
  text-decoration: underline;
}
@media (any-hover: hover) {
  #mainimg .main_topics .topics_txt a:hover {
    text-decoration: none;
  }
}

@keyframes scrollAnime {
  0% {
    top: -100%;
  }
  40% {
    top: 0;
  }
  60% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
#main_slide {
  position: relative;
}
#main_slide .slick-dots {
  top: 50%;
  left: 32px;
  width: 8px;
  height: max-content;
  margin-top: -70px;
  transform: translateY(-50%);
}
#main_slide .slick-dots li {
  margin: 18px 0;
}
#main_slide .slide_item {
  position: relative;
  height: 100dvh;
  height: calc(var(--vh) * 100);
  min-height: 600px;
  overflow: hidden;
}
#main_slide .slide_item::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 400px;
  background: linear-gradient(to bottom, rgba(214, 220, 227, 0.55) 0%, rgba(214, 220, 227, 0) 100%);
  z-index: 1;
}
#main_slide .slide_item::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 400px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.33) 100%);
  z-index: 1;
}
#main_slide .slide_item img {
  margin-left: -60px;
  width: calc(100% + 120px);
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(60px);
}

@keyframes slideMove {
  0% {
    transform: translateX(60px);
  }
  100% {
    transform: translateX(-60px);
  }
}
.slick-animation img {
  animation: slideMove 10s 0s linear forwards;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (max-width: 810px) {
  #mainimg {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 58px;
    background: #1e3c64;
    overflow: hidden;
  }
  #mainimg .main_tit {
    left: 3%;
    bottom: 75px;
    max-width: 100%;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 0.6em;
    line-height: 1.83;
    text-shadow: 0 0 10px #000;
  }
  #mainimg .main_tit .main {
    margin-bottom: 24px;
    font-size: 2rem;
    letter-spacing: 0.6em;
  }
  #mainimg .main_scroll {
    left: auto;
    right: 8px;
    top: auto;
    bottom: 72px;
    width: 1em;
    letter-spacing: 0.2em;
  }
  #mainimg .main_scroll .icon {
    top: auto;
    margin-top: 8px;
    margin-right: 4px;
  }
  #mainimg .main_topics {
    position: static;
    width: 100%;
    max-width: 100%;
    display: flex;
    height: 60px;
    justify-content: space-between;
    padding: 8px 10px;
    align-items: center;
    background: #dadada;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0;
    z-index: 10;
    order: -10;
  }
  #mainimg .main_topics .topics_tit {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
  }
  #mainimg .main_topics .topics_txt {
    display: inline-block;
    width: calc(100% - 64px);
    white-space: wrap;
    overflow: inherit;
    line-height: 1.75;
    text-overflow: inherit;
  }
  #main_slide .slick-dots {
    top: auto;
    bottom: 130px;
    left: auto;
    right: 16px;
    width: 6px;
    margin-top: 0;
    transform: unset;
  }
  #main_slide .slick-dots li {
    margin: 10px 0;
  }
  #main_slide .slick-dots li::before {
    left: -3px;
    top: -3px;
    width: 10px;
    height: 10px;
  }
  #main_slide .slick-dots li button {
    width: 6px;
    height: 6px;
  }
  #main_slide .slide_item {
    min-height: 440px;
    overflow: hidden;
  }
  body.is_sp #main_slide .slide_item {
    height: calc(100svh - 60px - 58px) !important;
  }
}
/*-------------------------------------------*/
/*
/*　　tablet調整
/*
/*-------------------------------------------*/
@media (orientation: landscape) {
  body.is_tablet #main_slide .slide_item {
    height: calc(var(--vh) * 100 + 58);
  }
}
@media (orientation: portrait) {
  body.is_tablet #main_slide .slide_item {
    height: 70vw !important;
  }
}