/* keyvisual */
.keyvisual {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: block;
    /* background-color: #55acee; */
}
.keyvisual > .visual {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background-size: cover; /* 背景圖片小於容器時，將背景圖片的大小放大至容器的大小並填滿 */
    background-position: center center;
    opacity: 0;
    transition: opacity 1s;
}
.keyvisual > .current {
    opacity: 1;
    transition: opacity 1s;
    z-index: 1;
}
.keyvisual > .visual > .story {
    font-size: 1em;
    line-height: 40px;
    width: 60%;
    margin: 0px auto;
    padding-top: 160px;
    text-shadow: 0px 0px 5px #ffffff;
}
.keyvisual > .step {
    position: absolute;
    width: 300px;
    bottom: 20px;
    left: calc(50% - 150px);
    text-align: center;
    z-index: 100;
}
.keyvisual > .step > .circle {
    width: 10px;
    height: 10px;
    margin: 0px 10px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}
.keyvisual > .step > .current {
    background-color: #1d1d1d;
}

/* main */

main {
    padding: 20px 0;
}
.view {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
}

.products {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    letter-spacing: 4px;
}
.product {
    display: block;
    flex: none;
    width: 25%;
    margin: 2%;
    line-height: 1.5;
}
.product_img {
    width: 100%;
    background-color: #b19999;
}

.product_colors {
    display: flex;
    align-items: center;
}

.product_color {
    width: 15px;
    height: 15px;
    margin: 10px 10px 10px 0;
    border: 1px solid #555;
    display: inline-block;
}

/* 
==============
Media queries
============== 
*/

@media screen and (max-width: 1000px) {
    .keyvisual {
        margin-top: 100px;
    }
}

@media screen and (max-width: 600px) {
    .product {
        width: 45%;
    }
}
