/* =========================
   基本設定
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Zen Kurenaido", sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   ヘッダー
========================= */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 5%;

    background-color: #fff;
}

.logo {
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #333;

    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.6;
}

/* =========================
   メインビジュアル
========================= */

.hero {
    position: relative;

    width: 100%;
    height: 80vh;

    min-height: 600px;

    overflow: hidden;
}


/* =========================
   TOP画像スライドショー
========================= */

.hero-slideshow {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}


/* 3枚の画像 */

.hero-slideshow img {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    animation: heroSlide 24s infinite;
}


/* 1枚目 */

.hero-slideshow img:nth-child(1) {
    animation-delay: 0s;
}


/* 2枚目 */

.hero-slideshow img:nth-child(2) {
    animation-delay: 8s;
}


/* 3枚目 */

.hero-slideshow img:nth-child(3) {
    animation-delay: 16s;
}


/* =========================
   画像の動き
========================= */

@keyframes heroSlide {

    /* 非表示 */
    0% {
        opacity: 0;
        transform: scale(1);
    }

    /* ふわっと表示 */
    5% {
        opacity: 1;
    }

    /* ゆっくりズーム */
    30% {
        opacity: 1;
        transform: scale(1.03);
    }

    /* ふわっと消える */
    35% {
        opacity: 0;
    }

    /* 次の画像まで非表示 */
    100% {
        opacity: 0;
        transform: scale(1.03);
    }

}


/* =========================
   TOPの文字
========================= */

.hero-text {
    position: absolute;

    top: 50%;
    left: 10%;

    transform: translateY(-50%);

    z-index: 2;

    color: #fff;
}


.hero-text p {
    font-size: 20px;

    letter-spacing: 0.1em;
}


.hero-text h1 {
    margin: 10px 0 30px;

    font-family: "Zen Kurenaido", sans-serif;

    font-size: 60px;

    font-weight: 400;

    letter-spacing: 0.08em;
}

/* =========================
   ボタン
========================= */

.button {
    display: inline-block;

    padding: 15px 35px;

    background-color: #fff;
    color: #333;

    font-family: "Zen Kurenaido", sans-serif;

    transition: 0.3s ease;
}

.button:hover {
    background-color: #333;
    color: #fff;
}


/* =========================
   共通見出し
========================= */

.section-label {
    margin-bottom: 10px;

    font-family: "Zen Kurenaido", sans-serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h2 {
    margin-top: 0;

    font-family: "Zen Kurenaido", sans-serif;
    font-size: 42px;
    font-weight: 400;

    letter-spacing: 0.05em;
}


/* =========================
   NEWS
========================= */

.news {
    padding: 80px 10%;
    background-color: #f7f7f3;
}

.news-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.news-list article {
    display: flex;
    gap: 30px;

    padding: 20px 0;

    border-bottom: 1px solid #ddd;
}

.news-list time {
    min-width: 100px;

    font-size: 14px;
}

.news-list p {
    margin: 0;
}


/* =========================
   ABOUT
========================= */

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 600px;

    object-fit: cover;
}

.about-text {
    padding: 80px;
}

.about-text h2 {
    font-weight: 400;
    letter-spacing: 0.08em;
}

.about-text p {
    margin-bottom: 30px;
}


/* =========================
   MENU
========================= */

.menu {
    padding: 100px 10%;
    background-color: #f7f7f3;
}

.menu-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;

    margin-top: 50px;
}

.menu-card {
    background-color: #fff;

    padding-bottom: 25px;
}

.menu-card img {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.menu-card h3 {
    margin: 20px 25px 10px;

    font-family: "Zen Kurenaido", sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.menu-card p {
    margin: 0 25px 15px;
}

.menu-card .price {
    font-size: 20px;
    font-weight: bold;
}


/* =========================
   LUNCH
========================= */

.lunch {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;
}

.lunch-image img {
    width: 100%;
    height: 550px;

    object-fit: cover;
}

.lunch-text {
    padding: 80px;
}

.lunch-text h2 {
    font-weight: 400;
}

.lunch-text p {
    margin-bottom: 30px;
}


/* =========================
   ACCESS
========================= */

.access {
    padding: 100px 10%;
}

.access-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    margin-top: 50px;
}

.access-map {
    width: 100%;
    height: 400px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access-info h3 {
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 28px;
    font-weight: 400;
}

.access-info p {
    margin-bottom: 15px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 100px 20px;

    text-align: center;

    background-color: #f7f7f3;
}

.contact h2 {
    font-weight: 400;
}

.contact-button {
    display: inline-block;

    margin-top: 20px;

    padding: 15px 40px;

    background-color: #333;
    color: #fff;

    transition: 0.3s ease;
}

.contact-button:hover {
    background-color: #555;
}


/* =========================
   スマートフォン
========================= */

@media screen and (max-width: 768px) {

    /* ヘッダー */

    .header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .nav {
        display: none;
    }


/* =========================
   メインビジュアル
========================= */

.hero {
    height: 70vh;

    min-height: 500px;
}


.hero-text {
    left: 7%;
    right: 7%;

    width: auto;
}


.hero-text p {
    font-size: 16px;

    letter-spacing: 0.08em;
}


.hero-text h1 {
    font-size: 40px;

    margin: 10px 0 25px;

    letter-spacing: 0.06em;
}


    /* NEWS */

    .news {
        padding: 60px 7%;
    }

    .news-list article {
        display: block;

        padding: 20px 0;
    }

    .news-list time {
        display: block;

        margin-bottom: 5px;
    }


    /* 共通見出し */

    h2 {
        font-size: 32px;
    }


    /* ABOUT */

    .about {
        display: block;
    }

    .about-image img {
        height: 350px;
    }

    .about-text {
        padding: 60px 7%;
    }


    /* MENU */

    .menu {
        padding: 70px 7%;
    }

    .menu-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-top: 35px;
    }


    /* LUNCH */

    .lunch {
        display: block;
    }

    .lunch-image img {
        height: 350px;
    }

    .lunch-text {
        padding: 60px 7%;
    }


    /* ACCESS */

    .access {
        padding: 70px 7%;
    }

    .access-content {
        display: block;

        margin-top: 35px;
    }

    .access-map {
        min-height: 250px;

        margin-bottom: 40px;
    }


    /* CONTACT */

    .contact {
        padding: 70px 20px;
    }

}