/*
* evr-top-style.css
*   Style sheet for evr.jp top page
*/

/* Rerwite header style */

.header {
  position: fixed;
  z-index: 999;
  width: 100%;
}

.header-logo {
  position: absolute;
  z-index: 10;
  top: 20px;
  left: 20px;
}

@media (min-width: 960px) {
  .header-logo img {
    /* height: 117px; */
    /* width: 237px; */
    /* 80% size */
    height: 94px;
    width: 190px;
  }
}
@media (min-width: 577px) and (max-width: 959px) {
  /* 3/4 size */
  .header-logo img {
    /* height: 88px; */
    /* width: 178px; */
    height: 70px;
    width: 142px;
  }
}
@media (max-width: 576px) {

  /* 2/3 size */
  .header-logo img {
    /* height: 78px; */
    /* width: 158px; */
    height: 62px;
    width: 126px;
  }
}

.header-main,
.header-main-inner {
  background: initial;
}

/* Hero style */

/* .hero-wrapper {
  width:100%;
  height:100vh;
} */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.catchcopy {
  margin-bottom: unset;
  /* font-size: 5.5vw; */
  font-size: calc(min(5.5vw, 150px));
  line-height: 105%;
  /* -webkit-text-stroke-width: 1px; */
  /* -webkit-text-stroke-color: white; */
  /* background-color: rgba(192, 192, 192, 0.5); */
  text-shadow:
    2px 2px 10px #ffffff,
    -2px 2px 10px #ffffff,
    2px -2px 10px #ffffff,
    -2px -2px 10px #ffffff;
}
@media (min-width: 577px) and (max-width: 959px) {
  .catchcopy {
    /* font-size: 40pt; */
    font-size: calc(max(5.5vw, 40px));
  }
}
@media (max-width: 576px) {
  .catchcopy {
    /* font-size: 22pt; */
    font-size: calc(max(5.5vw, 20px));
  }
}

.subcopy {
  margin-bottom: unset;
  font-size: calc(min(3vw, 80px));
  /* background-color: rgba(192, 192, 192, 0.5); */
  text-shadow:
    2px 2px 10px #ffffff,
    -2px 2px 10px #ffffff,
    2px -2px 10px #ffffff,
    -2px -2px 10px #ffffff;
}

.copy-jp {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

/* Swiper style setting */

.swiper-section {
  position: relative;
  width: 100%;
  height: 100vh;
}

.swiper-bg {
  width: 100%;
  /* height: 100vh; */
  height: 100%;
}

.swiper-image {
  width: 100%;
  height: 100%;
}

.media-cover {
  position: absolute;
  right: 0;
  top: 0;
  height: calc(100% - 130px);
  width: 50%;
}
@media (min-width: 960px) {
  .media-cover-desktop {
    height: calc(100% - 130px);
    width: 50%;
  }
}
@media (min-width: 577px) and (max-width: 959px) {
  .media-cover {
    height: calc(100% - 130px);
    width: 50%;
  }
}
@media (max-width: 576px) {
  .media-cover {
    height: 50%;
    width: 100%;
    left: 0;
    right: unset;
    top: unset;
    bottom: 120px;
  }
}

.media-image {
  height: 100%;
  width: 100%
}

.swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-content {
  position: absolute;
  bottom: 140px;
  padding-left: 40px;
  padding-right: 40px;
}
@media (max-width: 576px) {
  .swiper-content {
    position: absolute;
    top: 30%;
    /* transform: translateY(-50%); */
    /* -webkit-transform: translateY(-50%); */
    padding-left: 20px;
    padding-right: 20px;
  }
}


.hero-news-section {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 30px;
  padding-top: 0;
  /* position-duration: 2s,2s; */
  z-index: 3;
}

.hero-news-inner {
  position: relative;
  padding: 10px;
  border-radius: 10px;
  background-color: white;
}

.swiper-news-section {
  position: relative;
  background-color: white;
  color: black;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
}

.swiper-slide {
  width: auto;
  height: 100%;
}

.news-slide-link {
  display: block;
  width: 450px;
  color: black;
}

@media (max-width: 767px) {
  .swiper-slide {
    width: 100%;
  }
  .news-slide-link {
    width: 100%;
  }
}

.news-slide-image {
  width: 70px;
  float: left;
}

.news-image {
  height: 70px;
}

.news-slide-image img {
  border-width: 1px;
  border-color: black;
  background-color: white;
}

.news-slide-text {
  width: calc(100% - 70px);
  float: left;
  padding: 0 16px;
}

.news-slide-text h3 {
  margin: 0;
  line-height: 22px;
  height: 44px;
  overflow: hidden;
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-slide-text p {
  margin: 0;
  margin-top: 6px;
  line-height: 20px;
  font-size: 13px;
}


.bg-hero,
.bg-topic,
.bg-tiktok {
  /* background-color: beige; */
  background-color: #f7f2ea;
}
@media (min-width: 577px) {
  .bg-topic,
  .bg-tiktok {
    background: linear-gradient(90deg, #f7f2ea 0%, #f7f2ea 50%, #ffffff 50%, #ffffff 100%);
  }
}

.bg-story,
.bg-about {
  background-color: white;
}

.bg-youtube {
  background-color: #efefef;
}

.bg-footer {
  background-color: #e2e2e1;
}

section .section-contents {
  padding: 40px;
}

.grain {
  position: fixed;
  top: 0;
  left: 0;
  max-width: 100vw;
  max-height: 100vh;
  pointer-events: none;
  z-index: 9999
}

.bg-left {
  width: 50%;
  height: 100%;
}

.bg-right {
  width: 50%;
  height: 100%;
}

.bg-grain {
  background-image: url(/wp-content/images/patterns/grain-pattern.png);
  background-repeat: repeat;
}

.bg-section {
  display: flex;
  width: 100%;
  height: 0px;
  /* 計算して書き換える */
}

@media (max-width: 576px) {
  #topic-background .bg-grain {
    width: 0;
  }
  #tiktok-background .bg-grain {
    width: 0;
  }
}
