﻿@charset "UTF-8";
/* ==================================================
Recommend
================================================== */

#recommend {
  margin: 80px auto 40px;
}
#recommend img {
  max-width: inherit;
}
#recommend .ttlGlp {
}
#recommend .ttlGlp .ttlObj {
  text-align: center;
  font-size: var(--font-4549);
  text-align: center;
  margin: 0 auto;
  color: #575555 !important;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: italic;
}
#recommend .ttlGlp .sTtlObj {
  margin: 1em auto 0;
  margin: 0.5em auto 0.7em;
  line-height: 1.4;
  font-size: var(--font-2220);
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 400;
}
#recommend .ttlGlp .txtLink {
  margin: 1em auto 0;
  text-align: right;
  width: 100%;
}
#recommend .ttlGlp .txtLink a {
  font-weight: 400;
  font-size: var(--font-1614);
  color: #c41948;
  text-decoration: underline;
}
#recommend .recImgBlk {
  display: flex;
  position: relative;
  width: 95%;
  margin: 6% auto 0;
  overflow-x: scroll;
  padding: 0 0 2%;
}
#recommend .recImgBlk .recTtl {
  position: sticky;
  left: 0;
  top: 0;
  height: 100%;
  display: block;
  line-height: 1;
}
#recommend .recImgBlk .imgObj {
  margin: 0 auto;
  /* width: 90%; */
  display: block;
  /* overflow-x: scroll; */
  /* padding: 0 0 2em; */
  line-height: 1;
  height: 100%;
}
#recommend .recImgBlk .recTtl img,
#recommend .recImgBlk .imgObj img {
  width: auto;
  height: 65svh;
  line-height: 1;
}

#recommend .objScr {
  text-align: right;
  margin: 0 auto;
  position: relative;
  padding: 0 1.2em 0em 0;
  font-size: var(--font-1816);
}
#recommend .objScr::before,
#recommend .objScr::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #999;
}
#recommend .objScr::before {
  width: 1em;
  right: 0;
  transform: rotate(35deg);
  transform-origin: right bottom;
}
#recommend .objScr::after {
  width: 4.5em;
  height: 1px;
}

#recommend .recImgBlk .swipeIcon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.3s;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#recommend .recImgBlk .swipeIcon img {
  width: 100%;
  display: block;
  animation: swipeMove 2s ease-in-out;
  animation-iteration-count: 10;
  animation-fill-mode: both;
}

#recommend .recImgBlk .swipeIcon.hide {
  opacity: 0;
}

/* スワイプアニメーション */
@keyframes swipeMove {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  50% {
    transform: translateX(-10px);
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0;
  }
}

@media screen and (min-width: 641px) {
  #recommend {
    margin: 30px auto 30px;
  }

  #recommend .ttlGlp {
  }
  #recommend .ttlGlp .ttlObj {
  }
  #recommend .ttlGlp .sTtlObj {
  }
  #recommend .ttlGlp .txtLink {
    width: min(85%, 1000px);
  }
  #recommend .ttlGlp .txtLink a {
  }
  #recommend .recImgBlk {
    overflow: hidden;
    margin: 2% auto 0;
  }
  #recommend .recImgBlk .imgObj {
    width: min(100%, 1400px);
    margin: 30px auto 0;
    padding: 0;
    overflow: auto;
  }
  #recommend .recImgBlk .recTtl img,
  #recommend .recImgBlk .imgObj img {
    height: auto;
    width: 100%;
  }
}
