/* PC用スタイルスタイル--------------------------------------------------------------------------------------------------------------------------------------------- */

@media screen and (min-width: 1061px) {


.popular_items{
  margin: 0px auto 0px;

  padding:0px 50px 50px;
  box-sizing: border-box;

  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, #06adab 30%);
}

.swiper-wrapper{

  padding:0px 0px 80px;
  box-sizing: border-box;

    display: flex;

}

.swiper-slide{
    width: 350px;
    border-radius: 20px;
    background-color: #ffffff;
    display: flex;
    
    
}


.pi_slide_img{
  width: 100%;
  text-align: center;
  position: relative;
  /* overflow: hidden;
  padding-top: 66%; */
  display: block;
}


.pi_slide_img{
  width: 100%;
  text-align: center;
  position: relative;
  /* overflow: hidden;
  padding-top: 66%; */
  display: block;
}

.pi_slide_img img {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
    width: 100%;
    height: 100%;
    object-fit: cover;

    box-sizing: border-box;
}

.pi_slide_txt_area{
    display: flex;
    flex-direction: column;

}

.pi_slide_title{
  text-align: center;
    font-size: 22px;
  font-weight: 700;
  line-height: 180%;
  padding:0px 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  box-sizing: border-box;

  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center; 
  align-items: center; 
  -webkit-justify-content: center; 
  justify-content: center;



  color: #0d3f9c;

}


.pi_slide_txt{
    height: 100px;

    font-size:16px;
    line-height: 180%;

    margin: 0px auto 30px;
    text-align: left;

    padding: 0px 20px;
    box-sizing: border-box;

}


.pi_slide_btn{
  width: 100%;
  max-width: 130px;

  margin: 0px auto 20px;
  text-align: center;

}

.pi_slide_btn a{
  text-decoration: none;
  display: block;
  width: 100%;
  height: 35px;
  background: #06adab;
  border: 1px solid #06adab;
  color: #FFFFFF;
  
  font-size: 15px;
  line-height: 110%;

  
 -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
  
 display: -webkit-flex;
 display: flex;
 -webkit-align-items: center; 
 align-items: center; 
 -webkit-justify-content: center; 
 justify-content: center;   

 border-radius: 10px 0px 10px 0px;
}

.pi_slide_btn a:hover{
    border: 1px solid #06adab;
    background: #ffffff;
    color: #06adab;
}

.swiper-button-next, .swiper-button-prev{
    color: #ffffff;
    top: unset;
    bottom: 40px;
}
.swiper-pagination-bullet-active {

    background: #ffffff;
}

}


/* タブレット用スタイル--------------------------------------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 1060px) {


.popular_items{
  margin: 0px auto 0px;

  padding:0px 30px 30px;
  box-sizing: border-box;

  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, #06adab 30%);
}

.swiper-wrapper{

  padding:0px 0px 80px;
  box-sizing: border-box;

    display: flex;

}

.swiper-slide{
    width: 350px;
    border-radius: 20px;
    background-color: #ffffff;
    display: flex;
}


.pi_slide_img{
  width: 100%;
  text-align: center;
  position: relative;
  /* overflow: hidden;
  padding-top: 66%; */
  display: block;
}


.pi_slide_img{
  width: 100%;
  text-align: center;
  position: relative;
  /* overflow: hidden;
  padding-top: 66%; */
  display: block;
}

.pi_slide_img img {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
    width: 100%;
    height: 100%;
    object-fit: cover;

    box-sizing: border-box;
}

.pi_slide_txt_area{
    display: flex;
    flex-direction: column;

}

.pi_slide_title{
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 180%;
  padding:0pc 10px;
  margin-top: 5px;  
  margin-bottom: 5px;  
  box-sizing: border-box;

  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center; 
  align-items: center; 
  -webkit-justify-content: center; 
  justify-content: center;

  color: #0d3f9c;

}


.pi_slide_txt{
    height: 100px;

    font-size:15px;
    line-height: 170%;

    margin: 0px auto 30px;
    text-align: left;

    padding: 0px 20px;
    box-sizing: border-box;

}


.pi_slide_btn{
  width: 100%;
  max-width: 130px;

  margin: 0px auto 20px;
  text-align: center;

}

.pi_slide_btn a{
  text-decoration: none;
  display: block;
  width: 100%;
  height: 35px;
  background: #06adab;
  border: 1px solid #06adab;
  color: #FFFFFF;
  
  font-size: 15px;
  line-height: 110%;

  
 -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
  
 display: -webkit-flex;
 display: flex;
 -webkit-align-items: center; 
 align-items: center; 
 -webkit-justify-content: center; 
 justify-content: center;   

 border-radius: 10px 0px 10px 0px;
}

.pi_slide_btn a:hover{
    border: 1px solid #06adab;
    background: #ffffff;
    color: #06adab;
}

.swiper-button-next, .swiper-button-prev{
    color: #ffffff;
    top: unset;
    bottom: 40px;
}
.swiper-pagination-bullet-active {

    background: #ffffff;
}


}


/* スマホ用スタイル--------------------------------------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 720px) {


.popular_items{
  margin: 0px auto 0px;

  padding:0px 20px 20px;
  box-sizing: border-box;

  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, #06adab 30%);
}

.swiper-wrapper{

  padding:0px 0px 80px;
  box-sizing: border-box;

    display: flex;

}

.swiper-slide{
    width: 350px;
    border-radius: 20px;
    background-color: #ffffff;
    display: flex;
}


.pi_slide_img{
  width: 100%;
  text-align: center;
  position: relative;
  /* overflow: hidden;
  padding-top: 66%; */
  display: block;
}


.pi_slide_img{
  width: 100%;
  text-align: center;
  position: relative;
  /* overflow: hidden;
  padding-top: 66%; */
  display: block;
}

.pi_slide_img img {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
    width: 100%;
    height: 100%;
    object-fit: cover;

    box-sizing: border-box;
}

.pi_slide_txt_area{
    display: flex;
    flex-direction: column;

}

.pi_slide_title{
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 180%;
  padding:0px 10px;
  margin-top: 5px;  
  margin-bottom: 5px;  
  box-sizing: border-box;

  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center; 
  align-items: center; 
  -webkit-justify-content: center; 
  justify-content: center;

  color: #0d3f9c;

}


.pi_slide_txt{
    height: 100px;

    font-size:14px;
    line-height: 150%;

    margin: 0px auto 20px;
    text-align: left;

    padding: 0px 20px;
    box-sizing: border-box;

}


.pi_slide_btn{
  width: 100%;
  max-width: 100px;

  margin: 0px auto 20px;
  text-align: center;

}

.pi_slide_btn a{
  text-decoration: none;
  display: block;
  width: 100%;
  height: 30px;
  background: #06adab;
  border: 1px solid #06adab;
  color: #FFFFFF;
  
  font-size: 14px;
  line-height: 110%;

  
 -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
  
 display: -webkit-flex;
 display: flex;
 -webkit-align-items: center; 
 align-items: center; 
 -webkit-justify-content: center; 
 justify-content: center;   

 border-radius: 10px 0px 10px 0px;
}

.pi_slide_btn a:hover{
    border: 1px solid #06adab;
    background: #ffffff;
    color: #06adab;
}

.swiper-button-next, .swiper-button-prev{
    color: #ffffff;
    top: unset;
    bottom: 40px;
}
.swiper-pagination-bullet-active {

    background: #ffffff;
}

}
