@charset "utf-8";
* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
img {
    width: 100%;
    vertical-align: bottom;
}
main {
    background-image: url(../img/24248634_s.jpg);
}
header {
    background-color: lightpink;
}

/* haeder */

.sp-rogo {
    width: 30px;
}
.sp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(247, 230, 232);
    height: 50px;
    /* headerの固定 */
    position: fixed; /* 固定表示する */
    top: 0; /* 画面の上に固定 */
    left: 0; /* 左端に固定 */
    width: 100%; /* 横幅いっぱいに広げる */
    /* background-color: rgba(255, 255, 255, 0.903); 背景色（透明だと下の要素が透ける） */
    z-index: 1000; /* コンテンツより上に表示する */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* （お好み）影で浮かせる */
}
.sp-header .ham {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999999;
}
.sp-header .ham span {
    width: 100%;
    height: 3px;
    background-color: #fff6f6;
    display: block;
    transition: 0.7s;
}
/* click後のスタイル */
.sp-header .ham.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.sp-header .ham.active span:nth-child(2) {
    opacity: 0;
}
.sp-header .ham.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
.pc-header {
    width: 500px;
}
.pc-header {
    display: none;
    background-color: #ffffff79;
    justify-content: space-between;
    width: 100%;
}
.pc-nav a {
    color: rgb(8 3 63);
    font-weight: bold;
}

/* nav */
.sp-nav {
    width: 100%;
    height: 100vh;
    background-color: #9ec4d8;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 1s;
}
.sp-nav.active {
    opacity: 1;
    pointer-events: all;
}
.sp-nav a {
    color: rgb(45, 27, 87);
}
.sp-nav a:visited {
    color: #893e57;
}
.sp-nav a:hover {
    color: #bfa7a7;
}

.sp-nav ul {
    display: flex;
    gap: 50px;
}
.sp-nav ul li {
    list-style: none;
}

@media (min-width: 768px) {
    .wrap {
        width: 1000px;
        margin: 0 auto;
        background-color: rgb(233, 186, 186);
    }

    .sp-header,
    .sp-nav {
        display: none;
    }
    .pc-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: fixed; /* 固定表示する */
        top: 0; /* 画面の上に固定 */
        left: 0; /* 左端に固定 */
        width: 100%; /* 横幅いっぱいに広げる */
        /* background-color: white; 背景色（透明だと下の要素が透ける） */
        z-index: 1000; /* コンテンツより上に表示する */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* （お好み）影で浮かせる */
    }
    .pc-nav ul {
        display: flex;
        gap: 30px;
        justify-content: space-between;
        text-align: right;
    }
    .pc-nav ul li {
        border-right: 2px solid #ccc;
        padding-right: 20px;
    }
}
/* main */
.hero {
    position: relative;
    animation: slider 30s infinite;
    height: 55vw;
    width: 100%;
    padding: auto;
    background-size: cover;
}

@keyframes slider {
    0% {
        background-image: url(../img/coffee-9168610_640.jpg);
    }
    25% {
        background-image: url(../img/anita-austvika-cO_PCW8hevU-unsplash.jpg);
    }
    50% {
        background-image: url(../img/jeff-vanderspank-axO1YrRh2VI-unsplash.jpg);
    }
    100% {
        background-image: url(../img/coffee-9168610_640.jpg);
    }
}
.pc-rogo {
    display: none;
}
@media (min-width: 768px) {
    .pc-rogo {
        width: 300px;
        position: absolute;
        z-index: 9;
    }
    .pc-rogo {
        display: block;
    }
    .sp-rogo {
        display: none;
    }
    .pc-nav {
        margin-left: auto;
        margin-right: 260px;
    }
    .hero {
        position: relative;
        animation: slider 30s infinite;
        height: 80vh;
        width: 100%;
        padding: auto;
        background-size: cover;
    }
}
.store-item {
    width: 80%;
    margin: 30px;
    text-align: center;
    overflow: hidden;
    border: 2px solid color gray;
}

.store-item img {
    height: 200px;
    object-fit: cover;
    box-shadow: 5px 5px 0 rgb(229, 235, 163);
    padding: 5px 30px;
    border-radius: 48px;
    transition: 0.5s;
}
.store h2 {
    text-align: center;
}
.store-item img:hover {
    transform: scale(1.5);
}
.store-item a {
    color: rgb(54, 33, 33);
}
.store-item a:visited {
    color: rgb(54, 39, 39);
}
.store-item a:hover {
    color: #bfa7a7;
}
@media (min-width: 768px) {
    .flex-store {
        display: flex;
        justify-content: space-between;
    }
}
.youkou {
    text-align: center;
}
.rotate img {
    padding: 90px;
}
@media (min-width: 768px) {
    .rotate {
        padding: 100px;
    }
}
