@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
img {
    width: 100%;
    vertical-align: bottom;
}
.wrap {
    width: 100%;
    margin: 0 auto;
}

h3,
h4,
h5 {    
    text-align: center;
    margin: 20px auto;
}
h2{
    font-weight: 500;
    background-image: url(../img/back-cross.png);
    text-align: center;
    margin: 20px auto;
}
h3{    
    background-image: url(../img/boya-2.png);
    background-repeat: no-repeat;
    background-position: center center;
    object-fit: contain;
    text-align: center;
    margin: 20px auto;
}

.pc-nav {
    display: none;
}

@media (min-width: 767px) {
    body {
        width: 100%;
    }
}
/* header */
header {
    padding: 0;
    width: 100%;
    position: fixed;
    top: 0;
    backdrop-filter:blur(10px);
    box-shadow: 0px  2px 3px rgb(236, 233, 233);
    z-index: 999;
}
header h1 {
    width: 300px;
    text-align: center;
    z-index: 11;
}
.cafe-rogo {
    position: relative;
}
header .inner_header {
    width: 90%;
    margin: 0 auto;
}

.ham {
    width: 39px;
    height: 39px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    z-index: 9;
    top: 20px;
    right: 20px;
}
.ham span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #000;
    border-radius: 3px;
    background: #000;
    transition: all 400ms;
}
.sp-nav {
    width: 100%;
    height: 100vh !important;
    background: rgb(192, 171, 171);
    position: fixed;
    z-index: 1;
    top: 0;
    right: -50%;
    height: 100%;
    padding-top: 60px;
    opacity: 0;
    transition: 1s;
    pointer-events: none;
}
.sp-nav ul li {
    width: 100%;
}
.sp-nav ul li a {
    padding-left: 20px;
}
.sp-nav.open {
    opacity: 1;
    pointer-events: all;
    text-align: left;
    margin-bottom: 30px;
    padding-top: 300px;
    font-size: 1.5em;
}

.ham.open span:first-child {
    transform: translateY(10.5px) rotate(45deg);
}
.ham.open span:nth-child(2) {
    opacity: 0;
}
.ham.open span:last-child {
    transform: translateY(-10.5px) rotate(-45deg);
}

.sp-nav ul a:hover {
    background-color: rgb(192, 171, 171);
}

.rotate02 {
    transition: transform 1s;
    background-image: url(../img/one-been00.jpg);
    width: 30px;
    margin-top: 10px;
    margin-left: 30%;
    height: 30px;
    object-fit: cover;
}
.rotate02:hover {
    transform: translateX(200px) rotate(1800deg);
}

@media (min-width: 767px) {
    header h1 {
        height: 70px;
        padding-left: 30px;
    }
    .cafe-rogo {
        position: relative;
        width: 500px;
    }
    .sp-nav {
        display: none;
    }
    header .inner_header {
        width: 90%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    header .inner_header .pc-nav ul {
        display: flex;
        align-items: baseline;
        justify-content: right;
        gap: 20px;
        padding: 5px;
        margin-bottom: 0;
    }
    .pc-nav {
        width: 100%;
        display: flex;
        justify-content: right;
        align-items: center;
        opacity: 1;
        pointer-events: all;
    }
    .pc-nav li {
        font-size: 1.2em;
    }
    .ham,
    .sp-nav {
        display: none;
    }
}

/* main */
.hero img {
    margin-top: 90px;
    height: 90vh;
    object-fit: cover;
}
.pc-hero {
    display: none;
}
@media (min-width: 767px) {
    .pc-hero {
        display: block;
    }
    .sp-hero {
        display: none;
    }
}

.hero {
    position: relative;
}
.hero-p {
    font-size: 4vw;
    line-height: 1.5;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 55%;
    right: 5%;
    background-image: none;
}
.slider img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* concept */
.concept {
    padding: 30px 20px 20px;
    align-items: center;
}
.concept h2 {
    margin: 0 auto 20px;
}

.concept p {
    width: 100%;
    margin: 10px 20px 40px;
    text-align: justify;
}
.concept .c-flex {
    margin-bottom: 10px;
    padding: 10px;
}
.concept .c-flex .c-item img {
    height: 300px;
    object-fit: cover;
    gap: 20px;
}

@media (min-width: 767px) {
    .concept .c-flex {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
        margin: 0 auto;
    }
    .concept .c-flex .c-item {
        min-width: 200px;
    }
    .concept .c-flex .c-item h4 {
        width: 100%;
        padding: 5px 10px;
        font-size: 1.2em;
        background-color: #ffffffc4;
    }
    .concept .c-flex .c-item img {
        height: 500px;
        object-fit: cover;
        gap: 20px;
        min-width: 300px;
    }
}

/* menu */
.menu {
    padding: 20px;
}

.menu h2 {
    margin: 0 auto 20px;
}
.cafe-box {
    padding: 10px;
    margin-bottom: 50px;
}
.c-item img,.slider img {
    height: 300px;
    object-fit: cover;
}
.slider-item h3 {
    font-size: 1.2em;
    text-align: center;
}
.menu p {
    width: 100%;
    margin: 10px 20px 40px;
    text-align: justify;
}
.slider-item p {
    text-align: justify;
    line-height: 1.5em;
}

@media (min-width: 767px) {
    .menu {
        width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
    .wrap {
        width: 100%;
        display: flex;
        gap: 20px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .cafe-box {
        display: block;
        gap: 20px;
        margin: 0 auto;
    }
    .cafe-item .c-slider,
    .eat-item .c-slider {
        display: flex;
        gap: 20px;
        justify-content: space-between;
    }
    .c-item img,
    .slider img,.image  {
        height: 500px;
        object-fit: cover;
    }
}

/* slider */
.slider-item,
.c-slider-item {
    padding: 0 10px;
    min-width: 300px;
}

/* nakaniwa */
.nakaniwa {
    width: 100%;
    margin: 0 auto 20px;    
    text-align: center;
   
}
/* nn-container */
.nn-container{
    position: relative;
    object-fit: cover;
    height: 300px;
}
.image{
    position: absolute;
    top: 0;
    left: 0;    
    height: 300px;
    object-fit: cover;
    padding: 10px;
    min-width: 300px;
    opacity: 0;
    animation: change-img-anim 20s infinite;
}
.image:nth-of-type(1) {
    animation: change-img-anim-first 20s infinite;
    animation-delay: 0s;
}
.image:nth-of-type(2) {
    animation-delay: 5s;
}
.image:nth-of-type(3) {
    animation-delay: 10s;
}
.image:last-child {
    animation-delay: 15s;
}
@keyframes change-img-anim-first {
    0% {
        opacity: １;
    }
    30% {
        opacity: 1;
    }
    36% {
        opacity: 1;
    }
    45% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes change-img-anim {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    36% {
        opacity: 1;
    }
    45% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@media (min-width: 767px) {
    .nakaniwa{
        height: 600px;
    }
    .image{    
    height: 500px;
    object-fit: cover;
    padding: 10px;
    }
}

/* shop */
.shop {
    position: relative;
    width: 100%;
    margin: 0 ;
}
.shop h3 {
    width: 100%;
    margin: 0 auto 20px;
}
.flex-shop {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.shop-left {
    width: 50%;
    max-width: 600px;
    object-fit: cover;
    margin: 20px auto;
}
.shop-right {
    width: 50%;
    max-width: 600px;
    padding: 20px;
}
.shop-right h3 {
    font-weight: 400;
}
.shop-right p{
    font-size: 0.8em;
}
@media (min-width: 767px) {
    .shop-left{
    max-height:450px;
    }
    .shop-right p{
    font-size: 1em;
    }
}

/* footer */
footer {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 0;
    margin-top: 0;
    position: relative;
}
footer img {
    width: fit-content;
}
footer p {
    z-index: 10;
    position: absolute;
    top: 20%;
    right: 0;
    left: 0;
}
@media (min-width: 767px) {
    footer img {
        display: none;
    }
    footer {
        height: 90px;
        width: auto;
        background-color: antiquewhite;
        background: url(../img/beens-long-H.jpg);
        background-repeat: repeat;
        background-size: 30%;
        background-position: bottom;
        object-fit: cover;
        text-align: center;
    }
}
