.custom-cluster:focus,.marker-cluster:focus,
.leaflet-marker-icon:focus {
  outline: none;
}



#container {
    margin-top: 50px;
    /*display: flex;*/ 
    width: 100%;
    /*width: 70%;*/
    position: relative;
    
}


.map-block{
    /*display: flex;*/
    /*width: 100%;*/
    padding: 5px;
    background-color: #fff;
        max-width: 1400px;
    min-width: 1000px;
    width: 90%;
    margin: 0px auto;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.map-block .no-result-message{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1;
    width: fit-content;
    height: fit-content;
    background-color: rgba(255,255,255, .7);
    padding: 20px;
}
.map-block .no-result-message p{
    width: fit-content;
    height: fit-content;
    background-color: #fff;
    padding: 10px;
}

#map {
    width: 100%; height: 600px; transition: width 0.5s;
    z-index: 1;
    border-radius: 10px;
}
#map.active{
    /*width: 70%;*/
}
#map .leaflet-left{
    left: 95%;
}

.operation_block{
    width: 30%;
    /*margin-left: 30px;*/
    /*max-width: 250px;*/
    max-width: 300px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    background-color: #fff;
    padding:  20px;
    border-radius: 10px;
}

#info {
     background: transparent; /* ← 一時的に透過して確認 */
    /*width: 0%;*/ 
    /*background: #f0f0f0;*/ 
    overflow: hidden; 
    /*height: calc(600px - 2em);*/
    /*height: 680px;*/
    height: 550px;
    /*overflow: auto;*/
    z-index: 10;
    position: absolute;
    right: 20px;
    top: 20px;
    
    width: 35%;
    transform: translateX(100%);
    transition: transform 0.5s, opacity .6s, visibility .4s; 
    opacity: 0;
    /*padding: 60px 40px;*/
    padding: 35px 40px;
    visibility: hidden;
    
    
}
#info > * {    
    /*transition: opacity 0.5s;*/
    /*visibility: hidden;*/
}

#info.active{
    
    transform: translateX(0);
    visibility: visible;
    
    
    /*left: 20px;*/
    max-width: 525px;
    /*width: 35%;*/
/*    padding: 60px 40px;*/
    background-color: #fff;
    /*border: 1px solid #696969;*/
    border-radius: 10px;
/*    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;*/
    box-shadow: 4px 0 6px -2px rgba(0, 0, 0, 0.3);
    opacity: 1;
}
#info.active > * {
    /*visibility: visible;*/
}

#info .info-block{
    /*height: 600px;*/
    height: 475px;
    overflow: auto;
    padding-right: 16px;
}
#info-content .info-item{
  /*border-bottom: 2px dotted #000;*/
  margin-bottom: 60px;
  position: relative;
}
#info-content .info-item:last-child{
    margin-bottom: 0;
}
#info-content .info-item:not(:first-child):before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 60%;
    height: 2px;
    background-image: repeating-linear-gradient(
      to right,
      #000 0px,
      #000 2px,
      transparent 2px,
      transparent 4px
    );

}
/*#info-content .info-item:first-child{
  border-bottom: 2px solid #000;
}
#info-content .info-item:last-child{
  border-bottom: none;
}
/*.info-item {
    margin-top: 30px;
}*/
.info-item p{
  margin: 0;
  line-height: 1.3;
}
.info-title__article {
  font-size: 20px;    
  line-height: 1.3;
}
#info .info__title{
    font-size: 20px;
    line-height: 1.3;
}
#info .info__image{
    width: 100%;
    margin: 28px auto 15px;
    
}
#info .info__image img{
    width: 100%;
    max-height: 250px;
    height: 100%;
    object-fit: contain;
/*    height: auto;
    vertical-align: top;*/
}
#info .info__image + .info__des-article{
    margin-top: 28px;
     display: -webkit-box;
  -webkit-line-clamp: 3; /* 最大3行まで表示 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.3;

}
#info .info__txt{
    /*margin-top: 28px;*/
    line-height: 1.5;
    font-size: 12px;
}

#info #info-title{
    margin-top: 60px;
    padding-top: 60px;
    position: relative;
    text-align: center;
}
#info #info-title:before{
    content: "";
    position: absolute;
    height: 1px;
    background-color: #000;
    width: 95%;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
}

/** 出典 **/
#info .info__source{
    width: fit-content;
    margin: 10px 0 0 auto;
    font-size: 12px;
}
#info .info__source a{
    color: #000;
}
#info .info__source a{
    text-decoration: underline;
}


/** リンクボタン **/
#info .info__links{
    margin-top: 28px;
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr;*/
    /*grid-template-columns: 1fr 1fr 1fr;*/
    display: flex;
   flex-wrap: wrap;
    gap: 8px;
}
#info .info__trip{
    display: flex;
    gap: 8px;
   flex-wrap: wrap;
   /*margin-top: 8px;*/
    
}
/*#info .info__links .info__trip{
    margin-top: 0;
    grid-template-columns: 1fr;
}*/
#info .info__link-item {
    border: 1px solid #696969;
    border-radius: 5px;
    overflow: hidden;
}



/*#info .info__link-item .link-item__block{
    background-color: #eee;
    padding: 8px;
    height: 100%;
}*/

/** ルート検索 **/
#info .info__route-btn{
    /*background: #359ce6;*/
/*    background: #fff;
    color: #000;*/
    border: none;
    border-radius: 6px;
    overflow: hidden;
    /*margin-top: 0.5em;*/
    margin: 20px auto 0;
    /*width: fit-content;*/
    /*display: block;*/
}
#info .info__links .info__route-btn{
    margin-top: 0;
}
#info .info__route-btn p{
     background-color: #eee;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    width: 100%;
    font-size: 15px;
    color: #000;
    text-align: center;
}
/*#info .info__link-item .link-item__block .link-item__block-inner{
    display: grid;
    grid-template-columns: 1fr 16px;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
}*/
/*#info .info__link-item .link-item__block .link-item__icon{
    width: 16px;
    height: 16px;
    margin: auto;
}
#info .info__link-item .link-item__block .link-item__icon img{
    width: 100%;
    height: auto;
    vertical-align: top;
}
#info .info__link-item p {
    text-align: center;
    color: #000;
    font-size: 14px;
    line-height: 1.3;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#info .info__link-item p span{
    font-size: 11px;
    white-space: nowrap;
}
#info .info-a-link{
    margin-top: 28px;
}
#info .info-a-link p{
    width: fit-content;
    margin-left: auto;
    color: #000;
    text-decoration: underline;
}
#info #info-content{
    margin-top: 48px;
}
#info #info-content .info-item:not(:first-child) {
    padding-top: 60px;
}*/




/** 旅行商品へのボタン **/
.trip-item .trip__txt
{
    font-size: 14px;
    line-height: 1;
    background-color: #000;
    /*border: 1px solid rgb(195, 192, 193);*/
    color: #fff;
    /*width: 100%;*/
    border-radius: 5px;
    padding: 10px 10px;
    text-align: center;
}
#info .info__reservation .trip__txt p{
    line-height: 1;
}



#close-btn {
    float: right;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: #fff;
    width: 25px;
    height: 25px;
    line-height: 25px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}





 .custom-pin {
  position: relative;
}

.pin-wrapper{
  position: relative;
    
}
.pin-body {
/*  width: 30px;
  height: 30px;*/
width: 50px;
height: 50px;
  background: #fff;
  border-radius: 50%;
  /*border: 2px solid red;*/
  border: 2px solid #49BDF0;
  /* overflow: hidden; */
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  
}

.pin-body::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #49BDF0;
  z-index: -1;
}

.pin-title {
    /*width: 70px;*/
    position: absolute;
    /*left: -25px;*/
    left: 50%;
  transform: translateX(-50%);

    bottom: -30px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    max-width: 100px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    width: fit-content;
    padding: 2px 8px !important;
    max-height: 20px;
    height: fit-content;
}
.pin-title {
    display: flex;
    /*height: 100%;*/
    /*justify-content: center;*/
   /*font: 13px / 1.2 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans JP", sans-serif;*/
   font-size: 10px;
    color: #111;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    pointer-events: none;
    
}

.pin-image__block {
    border-radius: 50%;
    overflow: hidden;
    width: 90%;
    height: 90%;
    position: relative;
    top: 5%;
    left: 5%;
}
.pin-image {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}



/** クラスター **/
.custom-cluster {
  position: relative;
  border-radius: 50% !important;
  border-radius: 14px;
  /* overflow: hidden; */
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  border: 2px solid #49BDF0;
  background-color: #fff;
}
.custom-cluster::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #49BDF0;
  z-index: -1;
}

.cluster-pin {
/*      width: 36px;
    height: 36px;*/
    width: 58px;
    height: 58px;
    position: relative;
/*    top: 1px;
    left: 1px;*/
    border-radius: 50%;
}

.cluster-pin__images{
    /*background: #fff;*/
    border-radius: 50%;    
    overflow: hidden;
    width: 100%;
    height: 100%;
    /*padding: 5px;*/
}
.cluster-pin__images .pin-image{
        /*display: grid;*/
/*    gap: 3px;
    grid-template-columns: 1fr 1fr;*/
    
        width: 95% !important;
    height: 95%;
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    
}

.cluster-pin__images.is-four .pin-image,
.cluster-pin__images.is-three .pin-image{
     grid-template-rows: 47% 47%; 
}
.cluster-pin__images.is-three .pin-image img:nth-of-type(3){
    grid-column: 1/3;
    grid-row: 2; /* ← 2行目に配置 */
}
.cluster-pin__images .pin-image__item{
    overflow: hidden;
    border-radius: 6px;    
    height: 100%;
    width: 100%;
}

.cluster-image {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  /*border-radius: 50%;*/
}


.cluster-count {
  position: absolute;
  /*bottom: -27px;*/
  right: -10px;
  top: -10px;
  /*left: 0;*/
  margin: 0 auto;
  width: fit-content;
/*  bottom: -5px;
  right: -5px;*/
  background: rgba(255,255,255,0.8);
/*  background: rgba(0,0,0,1);*/
  /*color: #fff;*/
  color: #000;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 10px;
  /*box-shadow: 0 0 2px rgba(0,0,0,0.3);*/
}

/** 検索ボックス **/
.pin-search-block{
    width:250px;
}
.pin-search{
    margin: 0 0 0 0;
    width: 100%;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    background-color: #fff;
    padding: 4px;
}
.pin-search .pin-search__icon{
    width: 20px;
    height: fit-content;
    margin: auto;
}
.pin-search .pin-search__icon img {
    width: 100%;
    height: auto;
    vertical-align: top;
}
.pin-search .pin-search__txt input{
    width: 100%;
    font-size: 16px; 
    padding: 5px;
    border: none;
    border-bottom: 1px solid #000;
}
.pin-search .pin-search__txt input:focus-visible {
  outline: none; /* アクセントカラーで枠線 */
  outline-offset: 0px;        /* 枠線を少し外側にずらす */
/*  background-color: #f0f8ff;   背景色を変える例 */
}


/** 現在地 **/
.btn-locate{
    /*margin-top: 10px;*/
    background-color: #fff;
    /*border: 2px solid rgb(195, 192, 193);*/
    border: none;
    /*border-radius: 5px;*/
    cursor: pointer;
}
.btn-locate .btn-compass {
    display: flex;
    gap: 10px;
    padding: 10px;
    font-size: 14px;
    line-height: 1;
}
.btn-locate .btn-compass .btn-compass__image{
    width:14px;
    height: 14px;    
}
.btn-locate .btn-compass .btn-compass__image img{
    width: 100%;
    height: auto;
    vertical-align: top;
}






/** ボタンのブロック **/
.btn-block{
    /*display: flex;*/
    /*width: 20%;*/
    /*margin-top: 20px;*/
    gap: 8px;
    
    display :grid;
    grid-template-columns:repeat(5, 1fr); 
    width: 100%;
    /*width: 80%;*/
    /*background-color: rgba(255,255,255, .6);*/
    /*padding: 0 20px;*/
    margin: 10px auto 0;
}
.btn-type {
  /*background: transparent;*/
  background-color: #fff;
  /*box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);*/
  /*background-color: #eee;*/
  /*color: #0077cc;*/
  /*border: 2px solid #0077cc;*/
  border-radius: 6px;
  /*padding: 0.5em 1em;*/
  padding: 5px 3px 7px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: rgb(195, 192, 193) 2px solid;
}
/*.btn-type.active,
.btn-type:hover {
  background: #0077cc;
  color: white;
}*/
.btn-type.active{
    /*border-color: #696969;*/
    border-color: #333;
    background-color: #333;
}
.btn-type p{
    padding: 0;
    margin: 2px 0 0 0;
    font-size: 10px;
    text-align: center;
    color: rgb(195, 192, 193);
}
.btn-type.active p{
    color: #fff;
}
.btn-type .btn-type__inner > div {
    /*width: 60%;*/
    margin: 0 auto;
    transition: all .3s;
/*        height: 27px;
        width: 35px;*/
        height: 20px;
        width: 27px;
}
.btn-type .btn-type__inner > div >img {
    width: 100%;
    /*height: auto;*/
/*width: auto;*/
height: 100%;
object-fit: contain;
    /*vertical-align: top;*/
}
/*.btn-type.active > div{
    transform: scale(1.3);
}*/
/*.leaflet-top .leaflet-control,*/
/*.leaflet-left .leaflet-control{
    margin-left: 0;
}*/

.leaflet-left .leaflet-control{
    margin-left: 1vw;
}

/** map-group  のボタン **/
.map-group{
/*    display: flex;*/
   
    margin-top: 20px;
}
.map-group .map-group__inner{
    max-height: 450px;
    /*max-height: 380px;*/
    overflow-y: auto;    
}
.btn-map-group {
    /*background: #60CAAD;*/
    /*background-color: #eee;*/
    color: rgb(195, 192, 193);
    font-weight: bold;
    border: none;
    /*border-radius: 12px;*/
    /*padding: 16px 20px;*/
    padding: 12px 0px;
    /*box-shadow: 0 6px 0 #AEC4E5;*/
    transition: all 0.2s ease;
    cursor: pointer;
    /*border-bottom: 1px solid #000;*/
    font-size: 12px;
}
/*.btn-map-group:last-child{
    border-bottom: none;
}*/

/***  ***/
.btn-map-group p{
    margin: 0;
}
.btn-map-group.active{
    position: relative;
    transition: all .3s;
}
.btn-map-group.active{
    /*padding-left: 50px;*/
    /*color: #696969;*/
    color: #333;
}
.btn-map-group p{
    font-weight: 900;
}
/*.btn-map-group.active:before{
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url("/images/area/unit/icon_active.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
    left: 20px;
     animation: spinY 2s linear infinite;
  transform-style: preserve-3d;
  top: 0;
  bottom: 0;
  margin: auto 0;

}*/



/** pinクリックのアニメーション **/
.custom-pin.clicked .pin-body {
  animation: bounce 2s infinite;
}

/*.map_link--sp{
    display: none;
}*/




/*** マップのリンク ***/
.map__links {
    max-width: 1400px;
    min-width: 1000px;
    width: 90%;
    margin: 10px auto 0 auto;
}
.map__links .mlinks__inner{
    width: fit-content;
    margin: 0 0 0 auto;
    display: flex;
    gap: 10px;
}
#qrcode {
    display: none;
    position: absolute;
    bottom: 32px;
    right: 15px;
    z-index: 10;
    padding: 10px;
    background-color: #fff;
}
#qrcode.active{
    display: block;
}
.map__links .map_link--pc,
.map__links .map_link--sp{
    width: fit-content;
    cursor: pointer;
}
.map__links .map_link--pc p,
.map__links .map_link--sp p{
    width: fit-content;
    padding: 10px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}


.cluster-pin{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/** 他エリアへの遷移 **/
.other-area{
    max-width: 1400px;
    min-width: 1000px;
    width: 90%;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.other-area .other-area__item{
    background-color: #000;
    border-radius: 5px;
}
.other-area .other-area__item p{
    padding: 10px 0;
    color: #fff;
    text-align: center;
}


@media screen and (max-width: 1024px){
    .btn-block{
        grid-template-columns: repeat(3, 1fr);
    }
    #info.active{
        width: 100%;
        
    border: none;
    border-radius: 0;
    box-shadow: none;
    }
    .map-group .map-group__inner{
        max-height: 53vh;
    }
    .btn-type__inner {
        display: flex;
        width: fit-content;
        margin: auto;
        height: 100%;
        align-items: center;
        gap: 5px;
    }
    .leaflet-left .leaflet-control{
        margin-left: 0;
    }
    
    
/*    #qecode{
        display: none;
    }
    .map_link--sp{
        display: block;
        margin: 20px 20px 0 auto;
        width: fit-content;
    }
    .map_link--sp p{
        width: fit-content;
        padding: 10px;
        background-color: #fff;
        color: #333;
        font-size: 14px;
    }*/

    
    
/*    .map-block{
        min-width: 90%;
    }*/
}
@media screen and (max-width: 768px){
    .map-block{
        min-width: 90%;
    }
    #info.active{
                width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
        left: 0;
        top: 0;
        height: 100%;
    }
    #info .info-block{
        height: 61vh;
    }
    .operation_block{
        padding: 0;
        background-color: transparent;
        width: 100%;
        top: auto;
        bottom: 5px;
        max-width: calc(100% - 10px);
        left: 5px;
        
/*        width: 100%;
        max-width: 100%;
        margin: 30px 0 0 0;*/
    }
    
    .btn-block{
        grid-template-columns: repeat(5, 1fr);
        width: 80%;
    }
    .btn-map-group{
        /*min-width: 0;*/
        min-width: fit-content;
    }
    .btn-type{
        /*display: flex;*/
        gap: 5px;
        padding: 5px;
/*        width: fit-content;
        margin: 0 auto;*/
    }
    .btn-type .btn-type__inner > div{
        width: 16px;
        height: 16px;
        /*margin: 0;*/
    }
     .map-group{

        background-color: #fff;
        border-top-right-radius: 12px;
        border-top-left-radius: 12px;
        padding: 10px 10px;
        margin-top: 12px;
    }
    .map-group .map-group__inner{
        display: flex;
         flex-wrap: nowrap;
        overflow-x: scroll;
         gap: 24px;
    }
    
    .btn-map-group{
        padding: 4px 8px;
        border-radius: 10px;
        border: 1px solid rgb(195, 192, 193);
    }
    .btn-map-group.active{
        border-color: #333;
        background-color: #333;
    }
    .btn-map-group.active p{
        color: #fff;
    }
    .leaflet-left .leaflet-control{
        margin-left: -1vw;
    }
    
    
    .pin-body .pin-title {
        bottom: -24px
    }
    
    
    .map__links{
        min-width: 90%;
    }
    
    .other-area{
        min-width: 90%;
    }
    
    
}
@media screen and (max-width: 500px){
    
    .map-block{
        min-width: 90%;
    }
    #map{
        /*height: 400px;*/
        height: 70vh;
    }
    #info{
        transform: translateY(100%);
        width: 100%;
    }
    #info.active{
        transform: translateY(0);
        width: 100%;
            /*height: 400px;*/
        /*height: 440px;*/
        height: 90%;
        padding: 24px 1em;
        top: auto;
        bottom: 0;
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
    }
    #info .info-block{
        /*padding: 0 1em;*/
        padding: 0;
        /*height: 400px;*/
        height: 100%;
    }
    .operation_block{
        padding: 0;
        background-color: transparent;
        width: 100%;
        top: auto;
        bottom: 5px;
        max-width: calc(100% - 10px);
        left: 5px;
        
/*        width: 100%;
        max-width: 100%;
        margin: 30px 0 0 0;*/
    }
    .map-group{
        display: flex;
         flex-wrap: nowrap;

        background-color: #fff;
        border-top-right-radius: 11px;
        border-top-left-radius: 12px;
        padding: 10px 10px;
        overflow-x: scroll;
    }
    .btn-map-group{
        padding: 4px 8px;
        border-radius: 10px;
        border: 1px solid rgb(195, 192, 193);
    }
    .btn-map-group.active{
        border-color: #333;
    }
    #map .leaflet-left{
        left: 85%;
    }
    .btn-block{
        grid-template-columns: repeat(5, 1fr);
        width: 85%;
        gap: 8px;
    }
    .btn-map-group{
        /*min-width: 0;*/
        min-width: fit-content;
    }
    .btn-type{
        /*display: flex;*/
        gap: 5px;
        padding: 5px;
/*        width: fit-content;
        margin: 0 auto;*/
    }
    .btn-type .btn-type__inner > div{
        width: 16px;
        height: 16px;
        /*margin: 0;*/
    }
    .btn-type__inner{
        display: block;
    }
    
    
    .leaflet-top .leaflet-control{
        margin-left: 4px;
    }
    .map-group .map-group__inner{
        gap: 10px;
    }
    
    
    .map__links .mlinks__inner{
        display: grid;
        grid-template-columns: 90px 1fr 95px;  
        width: 100%;
    }
    .map__links .mlinks__inner .pin-search-block{
        grid-column: 1/4;
        width: 100%;
    }
    .map__links .map_link--pc, .map__links .map_link--sp{
        width: 100%;
    }
    .map__links .map_link--pc p, .map__links .map_link--sp p{
        width: 100%;
        text-align: center;
    }
    
    .other-area{
        min-width: 90%;
        margin: 50px auto 70px;
    }
    .other-area .other-area__item p{
        font-size: 14px;
    }
    
    #info .info__links, #info .info__trip{
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    }
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-5px); }
  50%  { transform: translateY(0); }
  75%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes spinY {
    from {
        transform: rotate(-90deg) rotateY(0deg);
    }
    to {
        transform: rotate(-90deg) rotateY(360deg);
    }

}

@media screen and (max-width: 500px){
    @keyframes spinY {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }

}
}