@charset "utf-8";
/* CSS Document */
.ab8_top{
    margin-bottom: 8px;
    padding-top: 16px;
}
.ab8_top p {
    max-width: 476px;
    margin: 0 auto;
    opacity: 1;
}
.ab8_top p img {
    aspect-ratio: 786 / 80;
    width: 100%;
}
.ab8_logo{
    margin-bottom: 0;
}
.ab8_logo a{
  display:inline-block;
}

.ab8_body picture img {
    width: auto;
    aspect-ratio: 300 / 120;
}
.ab8_body h1{
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 13% 87%, rgba(255, 255, 255, 0));
  padding:10px 0 8px;
  max-width: 470px;
  margin: 0 auto 1em;
  font-size: 1.375rem;
  text-align: center;
  font-size: 1.125em;
  font-weight: bold;
  margin-bottom: 1em;
  color: #476AB5;
  opacity: 0;
  transition: opacity 1s ease;
}
.ab8_body h1.inView{opacity: 1;}


.ab8_slidevideo{
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(247px, 1fr));
  max-width: calc(248px * 5 + 24px * 4);
  gap: 24px;
  margin-bottom: 64px;
  opacity: 0;
  transition: opacity 1s ease;
}
.ab8_slidevideo.inView{opacity: 1;}
.ab8_slvideo{
  width: auto;
  margin: 0 auto;
  padding: 16px 12px;
  border-radius: 8px;
  overflow: hidden;
}
.ab8_slvideo:nth-of-type(3n+1){
background: linear-gradient(#d1ffcb 0%, #fff 100%);
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.ab8_slvideo:nth-of-type(3n+2){
background: linear-gradient(#ffcbe8 0%, #fff 100%);
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.ab8_slvideo:nth-of-type(3n){
background: linear-gradient(#cbe0ff 0%, #fff 100%);
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.ab8_slvideo.js-modal-video {
    cursor: pointer;
}
.ab8_slvideo div{
aspect-ratio: 16/9;
margin-bottom: clamp(0.75rem, 0.061rem + 2.56vw, 1.375rem);/*12-22 430-820*/
position: relative;
}
.ab8_slvideo div::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 4px solid #fff;
    width: 40px;
    height: 40px;
    z-index: 30;
    transition: transform .5s;
}
.ab8_slvideo div::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 10px 0 10px 20px;
    z-index: 31;
    transition: opacity .5s;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}
.ab8_slvideo p{
font-size: 0.875rem;
line-height: 1.2;
}
.ab8_slvideo:nth-of-type(3n+1) p{color: #1DA24E;}
.ab8_slvideo:nth-of-type(3n+2) p{color: #BF2E80;}
.ab8_slvideo:nth-of-type(3n) p{color: #2360B9;}


.tss_gotopagetop {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1000;
}
.tss_gotopagetop a{
    text-decoration: underline;
    display: inline-block;
    color: #476AB5;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity .5s;
    cursor: pointer;
}


@media screen and (min-width: 801px) {
    .ab8_slvideo div:hover::before {
        transform: scale(0);
    }
    .ab8_slvideo div:hover::after {
        opacity: 0.6;
    }

    .tss_gotopagetop a:hover{
        opacity: 0.6;
    }
}




@media screen and (max-width:768px){
    .ab8_body h1{
        font-size: clamp(1.125rem, 0.807rem + 1.18vw, 1.375rem);
        /* 18-22 430-768 */
    }
    .ab8_slidevideo{
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
    .ab8_slvideo div::before {
        width: 32px;
        height: 32px;
    }
    .ab8_slvideo div::after {
        border-width: 8px 0 8px 18px;
    }
}