@charset "UTF-8";

#head {
  position: relative;
  min-height: 920px;
  background: url(../images/index/back-umi.jpg) left top no-repeat;
  background-size: 100%;
}
.head-box {
  width: 1600px;
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  margin: 0 auto;
}
h1 {
  width: 260px;
  position: absolute; top: 12%; left: 0;
}
h1 img {
  width: 100%;
  max-width: 600px;
}
.main-image {
  overflow: hidden;
  text-align: right;
}
#video {
  width: 92%;
}
.arrow-down {
  position: absolute; bottom: -2em; left: 50%;
  color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-top: 0.2em solid currentColor;
  border-right: 0.2em solid currentColor;
  transform: translateX(-50%) rotate(135deg);
  animation: blink 2s ease-in-out infinite alternate;
  z-index: 500;
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
.news {
  background: url(../images/back-beige.jpg) left top repeat;
  overflow: hidden;
}
.news-detail {
  width: 1600px;
  margin: 0 auto;
  padding: 40px 0;
  align-items: center;
  justify-content: center;
}
.news-title-box {
  width: 120px;
}
.news-title {
  margin-bottom: 20px;
}
.news-arrow {
  margin-bottom: 20px;
}

/* ニューススライダー */
#slider-news {
  width: 80%;
  margin: .5em auto .5em auto;
}

@media (min-width:960px) {
  .slider-news-box {
    margin-left: 50%;
  }
  .slider-news-box > * {
    margin-left: -180px; /* 320 / 2 */
    margin-right: 196px !important; /* 320 / 2 + 20 */
  }
}

.news-article {
  width: 18%;
  margin-right: 6%;
  padding: 20px;
  background: #fff;
  color: #10364c;
}
.news-image {
  height: 240px;
  overflow-y: hidden;
  margin-bottom: 10px;
}
.news-image img {
  width: 100%;
}
.news-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 960px) {
  .slider-news-box {
      margin-left: 180px;
  }
}

.back-umi-fix {
  background-image: url(../images/index/back-umi.jpg);
  position: fixed; top: 0; left: 0;
  z-index: -1;
  display: block;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
}
.scroll-logo {
  position: relative;
  width: 40%;
  height: 100vh;
}
.scroll-logo img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(30%, -50%);
}
.scroll-text {
  position: relative;
  width: 60%;
  height: 100vh;
  color: #fff;
  line-height: 240%;
}
.scroll-text .scroll-text-info {
  position: absolute; top: 50%; left: 20%;
  transform: translate(-30%, -50%);
}
.scroll-text-info p {
  margin-bottom: 40px;
}
.more {
  margin-top: 100px;
  text-align: right;
}
.back-wave {
  background-image: url(../images/index/wave-pattern.png);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: top center;
}
.back-washi {
  width: 80%;
  margin-bottom: 200px;
  padding: 80px 60px;
  background-image:  url(../images/ichimatsu.png), url(../images/back-beige.jpg);
  background-repeat: no-repeat, repeat;
  background-position: bottom right, top left;
}
.back-washi2 {
  width: 80%;
  margin-bottom: 200px;
  padding: 80px 60px;
  background-image:  url(../images/ichimatsu2.png), url(../images/back-beige.jpg);
  background-repeat: no-repeat, repeat;
  background-position: bottom left, top left;
}
.back-washi3 {
  width: 80%;
  margin-bottom: 200px;
  padding: 80px 60px;
  background-image:  url(../images/ichimatsu3.png), url(../images/back-beige.jpg);
  background-repeat: no-repeat, repeat;
  background-position: top right, top left;
}
.back-washi4 {
  width: 80%;
  margin-bottom: 200px;
  padding: 80px 60px;
  background-image:  url(../images/ichimatsu4.png), url(../images/back-beige.jpg);
  background-repeat: no-repeat, repeat;
  background-position: top left, top left;
}
.potion-right {
  margin-left: auto;
}
.image-box {
  width: 40%;
}
.image-big {
  width: 85%;
  margin-bottom: 40px;
}
.image-small {
  width: 50%;
  margin-left: auto;
}
.image-big img, .image-small img, .image img {
  width: 100%;
}
.text-box {
  width: 30%;
}
.text {
  margin-bottom: 100px;
}


@media screen and (max-width:1600px) {
  .head-box {
    width: 100%;
  }
  h1 {
    position: absolute; top: 12%; left: 2%;
  }
  .news-detail {
    width: 100%;
    padding-left: 2%; padding-right: 2%;
  }
  .scroll-logo img {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
}


@media screen and (max-width:1470px) {
  .news-title-box {
    width: 100%;
    margin-bottom: 80px;
  }
  #slider-news {
    width: 100%;
  }
}


@media screen and (max-width:1023px) { /* Tablet */
  #head {
    min-height: 100vh;
    background-size: cover;
  }
  h1 {
    width: 140px;
    position: absolute; top: 2%; left: 2%;
  }
  #video {
    width: auto;
    height: 100vh;
    margin: 0;
  }
  .arrow-down {
    position: absolute; bottom: 2em; left: 50%;
  }
}


@media screen and (max-width:959px) { /* SP */
  header {
    height: 100vh;
  }
  #head {
    min-height: 700px;
  }
  .news-title-box {
    margin-bottom: 20px;
  }
  .news-detail {
    padding-bottom: 80px;
  }
  .back-wave {
    height: 100vh;    
  }
  .scroll-logo {
    width: 100%;
    height: auto;
    padding-top: 10%;
    text-align: center;
  }
  .scroll-logo img {
    position: static;
    transform: translate(0, 0);
    width: 36%;
  }
  .scroll-text {
    width: 100%;
    height: auto;
    padding-left: 4%;
    padding-right: 4%;
  }
  .scroll-text .scroll-text-info {
    position: static;
    transform: translate(0, 0);
  }
  .scroll-text-info p {
    margin-bottom: 20px;
  }
  .more { margin-top: 40px; }
  .back-washi,
  .back-washi2,
  .back-washi3,
  .back-washi4 {
    width: 90%;
    padding: 20px;
  }
  .title {
    width: 20%;
  }
  .title img {
    width: 100%;
  }
  .image-box {
    width: 70%;
  }
  .text-box {
    width: 100%;
  }
  .text, .image {
    margin-bottom: 20px;
  }
  .text-box .more {
    margin-top: 0;
  }
}
