/* 画像比較スライダー */
.cocoen {
    box-sizing: border-box;
    cursor: pointer;
    line-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select:none
}
.cocoen * {
    box-sizing:inherit
}
.cocoen ::after, .cocoen ::before {
    box-sizing:inherit
}
.cocoen img, .cocoen picture > img {
    max-width:none
}
.cocoen > img, .cocoen > picture > img {
    display: block;
    width:100%
}
.cocoen > div:first-child, picture .cocoen > div {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width:50%
}
.cocoen-drag {
    background: #fff;
    bottom: 0;
    cursor: ew-resize;
    left: 50%;
    margin-left: -1px;
    position: absolute;
    top: 0;
    width:2px
}

.cocoen-drag::before {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 24px solid #fafafa;
    content: '';
    height: 40px;
    right: 10%;
    margin-right: 6px;
    margin-top: -18px;
    position: absolute;
    top: 50%;
    width: 8px;
}

.cocoen-drag::after {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 24px solid #fafafa;
    content: '';
    height: 40px;
    left: 10%;
    margin-left: 6px;
    margin-top: -18px;
    position: absolute;
    top: 50%;
    width: 8px;
}

.under1 {
  background: linear-gradient(transparent 0%, #ffffff 0%);
}

.under2 {
  background: linear-gradient(transparent 60%, #ffffff00 0%); box-shadow:0px 5px 0px 0px #81712733;
}

/* アニメーション右から左横*/

.slider-wrapper {
  display: flex; /* スライドのグループを横並び */
  overflow: hidden; /* はみ出たスライドを隠す */
}
/* スライド3枚のグループ */
.slider {
  animation: scroll-left 10s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
}

@media only screen and (min-width:769px), tv, print {
    .slider {
  animation: scroll-left 20s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
  }
}

/* スライド */
.slide {
  width: calc(100vw / 2); /* 3はスライドの枚数 */
}

@media only screen and (min-width:769px), tv, print {
    .slide  {
      width: calc(100vw / 2);
    }
}


/* スライドの画像 */
.slide img {
  display: block;
  width: 100%;
}

/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* hover(マウスオーバー)で一時停止 */
.slider-wrapper:hover .slider {
  animation-play-state: paused;
}

/* hover(マウスオーバー)で拡大 */
.slide {
  cursor: pointer;
  overflow: hidden;
}
.slide img {
  transition: transform 0.4s;
}
.slide:hover img {
  transform: scale(1.1);
}

/* アニメーション右から左横終わり*/

/* アニメーションスクロールを促す*/

.scroll {
  position: relative;
}
.scroll-text {
  color: #000000;
  font-size: 16px;
  text-align: center;
}
.scroll-border {
  position: relative;
  top: 1px;
  width: 100%;
  height: 100px;
  overflow: hidden;
}
.scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1.5px;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  background: #000000;
  animation: scrollbar 2.0s ease-in-out infinite;
  margin: auto;
}
@keyframes scrollbar {
  0% {
    height: 0;
    top: 0;
  }
  30% {
    height: 100%;
  }
  100% {
    top: 100%;
  }
}

/* アニメーションスクロールを促す終わり*/

.fukidashi-06 {
  position: relative;
  display: block;
  padding: 15px 25px;
  border: solid 2px #000000;
  border-radius: 48px;
  color: #fff;
  background-color: #ffffff;
  margin: 0px;
  margin-inline: auto;
  width: fit-content;
}

.fukidashi-06::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  rotate: 135deg;
  translate: -50%;
}

.fukidashi-06::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: solid 2px;
  border-color: #000000 #000000 transparent transparent;
  background-color: #ffffff;
  rotate: 135deg;
  translate: -50%;
}

.fukidashi-05 {
  position: relative;
  display: block;
  padding: 24px 32px;
  border: solid 2px #333;
  border-radius: 100px;
  margin: 0px;
  margin-inline: auto;
  width: fit-content;
}

.fukidashi-05::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  background-color: #f8f8f8;　/*背景と同じ色に変更してください*/
  rotate: 135deg;
  translate: -50%;
}

.fukidashi-05::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: solid 2px;
  border-color: #333 #333 transparent transparent;
  rotate: 135deg;
  translate: -50%;
}

.fukidashi-07 {
  position: relative;
  display: block;
  padding: 10px 25px 15px 25px;
  border: solid 2px #000000;
  border-radius: 48px;
  color: #000000;
  background-color: #ffffff;
  margin: 0px;
  margin-inline: auto;
  width: fit-content;
}

.fukidashi-07::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  rotate: 135deg;
  translate: -50%;
}

.fukidashi-07::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: solid 2px;
  border-color: #000000 #000000 transparent transparent;
  background-color: #ffffff;
  rotate: 135deg;
  translate: -50%;
}

.button-22 a {
  font-family: 'Noto Sans JP', serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #000000;
  font-weight: 700;
  outline: 3px solid #000000;
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 90%;
  text-align: center; 
  padding: 16px 64px;
  margin: 10px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index:999;
  transition: all 0.3s;
}

.button-22 a::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background: #ececec;
  z-index:-999;
  transition: all 0.3s ease;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}
 
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
 