@charset "utf-8";

body {
    position: relative;
}

img {
    max-width: 100%;
}

.body-wrapper {
    overflow: hidden;
}

/* top */

/*.top-photo img {
    height: 90vh;
    width: 100vh;
}*/

.top {
    height: 90vh;
    background: url(../img/mayonakanopanya-top_sp.png) center top/cover;
}

.top-display {
    position: relative;
    height: 90vh;
    /*要素の高さを90%で*/
    margin-bottom: 70px;
    overflow: hidden;
}

.top-textlogo {
    position: absolute;
    top: 0;
    left: 20%;
    transform: translateX(-25%);
    display: flex;
    height: 50%;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    /* ロゴを前面に */
}

.top-textlogo h1 {
    display: flex;
    flex-wrap: wrap;
    width: 200px;
}

.top-text {
    position: absolute;
    top: 60%;
    left: 80%;
    transform: translateX(-25%);
    display: flex;
    height: 30%;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    /* ロゴを前面に */
}

/* 767px以下の時の焼き上がり時間変更 */

@media screen and (max-width:767px) {
    .top-text h2 {
        height: 170px;
        width: 150px;
    }

    .top-text {
        position: absolute;
        top: 70%;
        left: 66%;
        transform: translateX(-25%);
        display: flex;
        height: 30%;
        justify-content: center;
        flex-direction: column;
        z-index: 2;
        /* ロゴを前面に */
    }

}


/* 768px以上に対応 */

@media screen and (min-width:768px) {
    .top {
        height: 90vh;
        background: url(../img/mayonakanopanya-top_pc.png) center top/cover;
    }

    .top-text {
        position: absolute;
        top: 66%;
        left: 80%;
        transform: translateX(-25%);
        display: flex;
        height: 30%;
        justify-content: center;
        flex-direction: column;
        z-index: 2;
        /* ロゴを前面に */
    }

    .top-textlogo {
        position: absolute;
        top: 0;
        left: 20%;
        transform: translateX(-25%);
        display: flex;
        height: 50%;
        justify-content: center;
        flex-direction: column;
        z-index: 2;
        /* ロゴを前面に */
    }

    .top-textlogo h1 {
        display: flex;
        flex-wrap: wrap;
        width: 400px;
        height: auto;
    }
}

/* concept */

.concept {
    margin: 40px 0 60px;
}

.concept-title {
    font-family: "Albert Sans", sans-serif;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    margin: 90px auto 80px;
    color: #7A4B43;
}

.concept-wrapper {
    text-align: center;
}

.concept-text_title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3em;
    padding: 0 0 30px;
}

.concept-text_description {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.3em;
    line-height: 1.5;
}

/* 表示領域全体 */
div.container.itmFade_3 {
    position: relative;
    max-width: 720px;
    max-height: 405px;
    margin: 1em auto 1em auto;
}

/* 表示領域の「position: relative;」により，領域高さが0になるため，paddingで高さを確保する */
div.container.itmFade_3::before {
    content: "";
    display: block;
    padding-top: 57%;
}

/* アニメーションの設定 */
div.container.itmFade_3 div.item {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    animation: itmFade3-chg-itm-anim 15s infinite;
    /* アニメーション : 下記「@keyframes chg-itm-anim の 0% から 100% まで」を「15秒」で「無限」に繰り返す */
}

/* 1つ目のアイテム */
div.container.itmFade_3 div.item:nth-of-type(1) {
    z-index: -1;
    animation-delay: 0s;
    /* アニメーション(下記「@keyframes chg-itm-anim」)の開始を0秒遅らせる */
}

/* 2つ目のアイテム */
div.container.itmFade_3 div.item:nth-of-type(2) {
    z-index: -1;
    /**
     * アニメーションの進行(下記「@keyframes chg-itm-anim」)の開始を5秒遅らせる
     * (上記アニメーション全体15秒の1/3，1枚目のアニメーションが33%に到達(フェードアウト開始)した時に2枚目のアニメーション(フェードイン)開始)
    **/
    animation-delay: 5s;
}

/* 3つ目のアイテム */
div.container.itmFade_3 div.item:nth-of-type(3) {
    z-index: -1;
    /**
     * アニメーションの進行(下記「@keyframes chg-itm-anim」)の開始を10秒遅らせる
     * (上記アニメーション全体15秒の1/3，2枚目のアニメーションが33%に到達(フェードアウト開始)した時に3枚目のアニメーション(フェードイン)開始)
    **/
    animation-delay: 10s;
}

/* アニメーションの進行 */
@keyframes itmFade3-chg-itm-anim {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
        z-index: 3;
    }

    33% {
        opacity: 1;
    }

    /**
     * 画像が3枚のため1枚当たり33%
     * 1枚目->2枚目(33%・不透明から50%・透明)にフェードして切り替える
     * 50%到達(全体アニメーション時間の半分)で前の画像が見えなくなる
     */
    50% {
        opacity: 0;
        z-index: 1;
    }

    100% {
        opacity: 0;
    }
}


/* items */

.items {
    margin-bottom: 20px;
}

.items-title {
    font-family: "Albert Sans", sans-serif;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    margin: 90px auto 80px;
    color: #7A4B43;
}

.items-wrapper {
    padding: 0 20px;
}

/* items-bread */

.Bread {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.bread-img {
    height: 120px;
    width: 120px;
}

.bread-name {
    width: 140px;
}

.items-bread {
    text-align: center;
    margin-bottom: 50px;
}

.bread {
    display: flex;
    flex-direction: column;
    /* 縦並びの設定 */
}

.bread-name {
    font-size: 13px;
    letter-spacing: 0.2em;
}

.bread-name span {
    font-size: 11px;
}

.items-bread {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 40px;
    justify-content: center;
    padding: 0px;
}

.bread-phot {
    display: flex;
    align-content: center;
    align-items: center;
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 0px;
    width: 1000px;
    max-width: 100%;
    margin-bottom: 40px;
}

.item-btn {
    align-items: center;
    background: #548749;
    border-radius: 50px;
    flex-direction: row;
    gap: 16px;
    height: auto;
    justify-content: flex-start;
    padding: 10px 24px 10px 24px;
    width: auto;
    max-width: 100%;
}

.item-btn p {
    color: #FFFFFF;
    flex: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    height: auto;
    letter-spacing: 0.1em;
    line-height: 28px;
    margin: 0px;
    text-align: left;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
}

.item-btn img {
    align-items: center;
    flex: none;
    flex-direction: column;
    height: auto;
    justify-content: center;
    margin: 0px;
    width: 14px;
    max-width: 100%;
}


/* info */

.shop-info {
    margin-bottom: 50px;
}

.info-title {
    font-family: "Albert Sans", sans-serif;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    margin: 90px auto 10px;
    color: #7A4B43;
}

.info-wrapper {
    padding: 0 20px;
}

.info-map iframe {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

.info-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    line-height: 1.5;
}

.info-text h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.5;
    margin-bottom: 18px;
}

.info-text span {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #dd3e38;
}

/* Insta */

.Insta {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* 画面幅768px以上に適応 */

@media screen and (min-width: 768px) {

    .top {
        align-content: center;
        align-items: center;
        flex: none;
        flex-direction: column;
        flex-wrap: nowrap;
        height: 700px;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .concept-title h2 {
        font-size: 40px;
        font-weight: 700;
        letter-spacing: 0.2em;
        margin: 100px auto 120px;
        position: relative;
        max-width: 1440px;
    }

    .concept-text_title {
        font-size: 35px;
        font-weight: 600;
        letter-spacing: 0.2em;
        padding: 0 0 50px;
    }

    .concept-text_description {
        width: 500px;
        height: 320px;
        margin: 0 auto;
        text-align: left;
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .items-title h2 {
        font-size: 40px;
        font-weight: 700;
        letter-spacing: 0.2em;
        margin: 100px auto 120px;
        position: relative;
        max-width: 1440px;
    }

    .items-title_mini {
        font-size: 25px;
    }

    .Bread {
        font-size: 24px;
    }

    .bread-img {
        height: 200px;
        width: 200px;
    }

    .bread-name {
        width: 200px;
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .bread-phot_line {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 90px;
        margin-bottom: 15px;
    }

    .bread-name span {
        font-size: 17px;
    }

    .items-bread {
        display: flex;
        align-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 40px;
        justify-content: center;
        padding: 0px;
    }

    .bread-phot {
        display: flex;
        align-content: center;
        align-items: center;
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
        padding: 0px;
        width: 1000px;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .Drink {
        font-size: 24px;
    }

    .drink-img {
        height: 200px;
        width: 200px;
    }

    .drink-name {
        width: 200px;
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .drink-phot_line {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 90px;
        margin-bottom: 15px;
    }

    .drink-name_tag {
        font-size: 17px;
    }

    .drink-text {
        font-size: 18.5px;
    }

    .drink-phot {
        margin-bottom: 40px;
    }

    .Other {
        font-size: 24px;
    }

    .other-img {
        height: 200px;
        width: 200px;
    }

    .other-name {
        width: 200px;
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .other-phot_line {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 90px;
        margin-bottom: 15px;
    }

    .other-name_tag {
        font-size: 17px;
    }

    .other-phot {
        margin-bottom: 40px;
    }

    .other-text {
        font-size: 18.5px;
    }

    .other-shop_btn {
        padding: 10px 0 0;
        font-size: 21px;
    }

    .info-title h2 {
        font-size: 40px;
        font-weight: 700;
        letter-spacing: 0.2em;
        margin: 100px auto 120px;
        position: relative;
        max-width: 1440px;
    }

    .info-map {
        width: 100%;
        height: 200px;
        margin-bottom: 30px;
    }

    .info-text h3 {
        font-size: 28px;
    }

    .info-text {
        font-size: 21px;
        text-align: center;
    }

    .info-text span {
        font-size: 17px;
    }
}