@charset "UTF-8";

/*****************************
  top
*****************************/
.topsec{
  padding: 10rem 0;
}
.topsec .fimgbox {
  filter: drop-shadow(6px 6px 4px #ccc);
}
.topsec .img{
  display: none;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  .topsec .ftxtbox{
    width: 100%;
  }
  .topsec .fimgbox {
    display: none;
  }
  .topsec .img{
    display: block;
    margin: 2rem auto ;
    width: 60%;
  }
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .topsec{
    padding: 6rem 0;
  }
  .topsec .img{
    width: 95%;
  }
}

/*****************************
topsec-fv
*****************************/
.topsec-fv{
  height: calc(100vh - 56px);
  margin-top: 56px;
  padding: 0;
}
.topsec-fv::after{
  content: "";
  background: rgba(0, 0, 0, .3);
  /* background: rgba(153 ,205 ,255, .4); */
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.topsec-fv .topslider,
.topsec-fv .slick-track,
.topsec-fv .slick-list{
  height: 100%;
}
.topsec-fv .slideitem1{
  background: url(../images/top/slide1.webp) no-repeat center / cover;
}
.topsec-fv .slideitem2{
  background: url(../images/top/slide2.webp) no-repeat center / cover;
}
.topsec-fv .slideitem3{
  background: url(../images/top/slide3.webp) no-repeat center / cover;
}
.topsec-fv .slideitem4{
  background: url(../images/top/slide4.webp) no-repeat center / cover;
}
.topsec-fv .catch{
  /* background: rgba(153 ,205 ,255, .4); */
  color: #fff;
  font-family: "Noto Serif JP", serif;
  padding: 2rem 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.topsec-fv .catchtxt{
  overflow: hidden;
}
.topsec-fv .catchtxt.animated {
  --x: 0;
}
.topsec-fv .catchtxt span{
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}
.topsec-fv .catchtxt span span{
  font-size: 2.4vw;
  font-weight: bold;
  transform: translateX(var(--x, -101%));
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--ct-index));
  text-shadow: 2px 2px #000;
}
.topsec-fv .catch .sub{
  font-size: 1.6vw;
  text-shadow: 2px 2px #000;
}
@media only screen and (max-width: 1180px) {
  .topsec-fv .catchtxt span span{
    font-size: 3rem;
  }
  .topsec-fv .catch .sub{
    font-size: 2rem;
  }
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .topsec-fv{
    height: calc(70vh - 68px);
    margin-top: 68px;
  }
  .topsec-fv .catchtxt{
    line-height: 1;
  }
  .topsec-fv .catchtxt span span{
    font-size: 6.2vw;
  }
  .topsec-fv .catch .sub{
    font-size: 4vw;
    line-height: 1.6;
    margin-top: .5rem;
  }
}

/*****************************
topsec-greeting
*****************************/
.topsec-greeting::before{
  content: "";
  background: url(../images/common/bg_cmn.webp) no-repeat left / cover;
  opacity: .3;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/*****************************
topsec-business
*****************************/
.topsec-business .img p,
.topsec-business .fimgbox p{
  font-size: 2.2rem;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .topsec-business .img p{
    font-size: 2rem;
  }
}

/*****************************
topsec-product
*****************************/
.topsec-product .enttl{
  line-height: 1.3;
}
.topsec-product ul{
  gap: 2rem;
  margin-top: 3rem;
}
.topsec-product li{
  width: calc(100% / 3 - 2rem);
}
.topsec-product li a{
  display: block;
  opacity:  1 !important;
}
.topsec-product li .imgbox{
  aspect-ratio: 16/9;
}
.topsec-product li .imgbox img{
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: .5s;
}
.topsec-product li a:hover img{
  transform: scale(1.3);
}
.topsec-product li p{
  background: #1d6ac4;
  color: #fff;
  opacity: 1 !important;
  padding: 1rem 3rem 1rem 2rem;
  position: relative;
}
.topsec-product li p span{
  background: #1d6ac4;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: .7rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  transition: .5s;
}
.topsec-product li p span::before{
  content: "";
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  height: 4px;
  width: 4px;
}
.topsec-product li a:hover p span{
  background: #fff;
  padding: 1rem;
  right: 1.7rem;
}
.topsec-product li a:hover p span::before{
  background: transparent;
  border-radius: 0;
  border-style: solid;
  border-color: transparent transparent transparent #1d6ac4;
  border-width: 5px 0px 5px 8.66px;
  height: 0;
  width: 0;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .topsec-product ul{
    gap: 1rem;
  }
  .topsec-product li{
    width: 100%;
  }
  .topsec-product li a {
    display: flex;
    border-top: 2px solid #1d6ac4;
    border-bottom: 2px solid #1d6ac4;
  }
  .topsec-product li .imgbox {
    aspect-ratio: 1 / 1;
    width: 90px;
  }
  .topsec-product li p {
    background: #fff;
    color: #1d6ac4;
    display: flex;
    align-items: center;
    width: calc(100% - 90px);
  }
  .topsec-product li p span{
    background: #fff;
    border-color: #1d6ac4;
  }
  .topsec-product li p span::before,
  .topsec-product li a:hover p span{
    background: #1d6ac4;
  }
  .topsec-product li a:hover p span::before{
    border-color: transparent transparent transparent #fff;
  }
}