@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

.fixed{
    position: fixed;
    width: 100px;
    height: 150px;
    top: 8px;
    right: 0;
}

.menu li{
    list-style-type: none;
    display: inline-block;
    width: 70px;
    margin: 0 10px;
}
.menu a{
    display: block;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    color: #1e1e1e;
    text-decoration: none;
}
.menu a:hover{
    background: #a9a9a9;
}

body{
    padding-top: 80px;
}

#wrap{
    width: 988px;
    margin: 0 auto;
}

#header{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    background-color: #ffffff;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px dotted #c3c3c3;
    padding: 10px;
}
 .h{
    border-left: 10px solid #616161;
    border-radius: 5px 0 0 5px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
}



.item-1{
    background-color: hwb(285 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-2{
    background-color: hwb(314 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-3{
    background-color: hwb(208 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-4{
    background-color: hwb(0 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-5{
    background-color: hwb(56 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-6{
    background-color: hwb(112 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-7{
    background-color: hwb(34 78% 8%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-8{
    background-color: hwb(0 58% 42%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}
.item-9{
    background-color: hwb(0 90% 10%);
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
}



.item-1 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-2 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-3 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-4 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-5 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-6 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-7 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-8 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}
.item-9 img{
    padding-top: 10px;
    width: 300px;
    height: 225px;
}



/*.ico-new{
    position: absolute;
    left: -30px;
    top: 10px;
    transform: rotate(-45deg);
    width: 100px;
    padding: 5px;
    background: #f00;
    color: #fff;
    font-size: 0.8em;
    line-height: 1;
    text-align: center;
}

#footer{
    background-color: gold;
    clear: both;
}
*/

.box{
    position: relative;
    width: 100%;
}

.overlay{
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(210, 210, 210, 0.8) 0%,
    rgba(131, 131, 131, 0.8) 100%);
    overflow: hidden;
    width: 100%;
    height: 0;
    transform: scale(1) ;
    transition: all 0.8s;
}

.box:hover .overlay{
    bottom: 0;
    height: 100%;
    transform: scale(1) rotateY(0deg);
}



.text-1{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(222, 119, 250, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-2{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(250, 101, 200, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-3{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(116, 176, 255, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-4{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(255, 97, 97, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-5{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(255, 231, 113, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-6{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(140, 255, 125, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-7{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(255, 156, 98, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-8{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(113, 113, 113, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.text-9{
    font-family: 'Petit Formal Script', cursive;
    font-weight: 900;
    white-space: nowrap;
    color: #4d5458;
    font-size: 1.2rem;
    border-bottom: 5px solid rgba(221, 221, 221, 0.6);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
