@charset "utf-8";

html {
    font-size: 62.5%;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: 'Ranchers', cursive, 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: #E6E0CA;
}
.wrapper {
    max-width: 1250px;
    margin: 0 auto;
}
header {
    height: 15vh;
}
/*index.html*/
/*site-title-area*/
.site-title-area {
    background-image: url(../images/slide1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #8F6532;
    background-blend-mode: darken;
    height: 100%;
}
.site-title-area .wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sitelogo a {
    color: #fff;
    font-size: 4.0rem;
    text-transform: capitalize;
    text-shadow: 2px 3px #000;
    text-decoration: none;
    letter-spacing: 2px;
}
/*nav-area*/
.nav-area {
    height: 10vh;
}
.nav-area .wrapper {
    height: 100%;
}
.main-nav {
    height: 100%;
    background-image: linear-gradient(#dddddd, #fff);
}
.main-nav ul {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
.main-nav li {
    height: 100%;
    list-style-type: none;
    font-size: 2.5rem;
    width: 100%;
    text-align: center;
}
.main-nav .current-page {
    background-color: #8F6532;
}
.main-nav li:nth-of-type(1) .nav-icon {
    color: #fff;
}
.main-nav a {
    display: block;
    color: #000;
    text-decoration: none;
    width: 100%;
    height: 100%;
    line-height: 10vh;
    text-transform: uppercase;
}
.main-nav a:hover {
    background-color: #dddddd;
    border-bottom: 5px solid #8F6532;
    transition: 0.3s;
}

/*keyvisual-area*/
.keyvisual-area {
    /*ボタンバーを絶対配置するため以下の指定*/
    position: relative;
    height: 75vh;
}
.keyvisual-container {
    /*スライドを重ねて表示するために親要素であるkeyvisual-containerに以下の指定*/
    position: relative;
    height: 100%;
}
.key-img {
    /*以下を指定しないと画像がナビゲーションの横にはみ出す*/
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*画像はvertical-alignがvaselineに初期値がなっており、このままだと画像の下に隙間ができてしまうので
    下のようにvaseline以外の値を設定しておくことによって画像の隙間をなくすことができる*/
    vertical-align: middle;
}
.slide {
    /*スライドを重ねて表示*/
    position: absolute;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    /*初期表示は非表示*/
    display: none;
}
.slide-active {
    display: block;
    z-index: 20;
    top: 0;
    left: 0;
    animation-name: slide-show;
    animation-duration: 1.0s;
    animation-fill-mode: forwards;
}
@keyframes slide-show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-weather-area {
    position: absolute;
    top: 5px;
    right: 100px;
    z-index: 30;
}
form {
    display: flex;
    align-items: center;
}
.search-box {
    background-color: #fff;
    font-size: 1.5rem;
    padding: 5px 10px;
    border-radius: 4px;
}
.search-btns {
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.search-btns:nth-of-type(2) {
    margin-right: 5px;
}
.search-btn-icon {
    font-size: 2.0rem;
    padding: 6.5px;
}
.search-btn {
    color: #fff;
    background-color: #8F6532;
    margin-right: 5px;
}
.weather-box {
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    margin-top: 5px;
    text-align: center;
    padding: 10%;
    border-radius: 5px;
}
.weather-btns {
    display: flex;
    /*二要素（二つのボタン）をくっつけてまとめて中央寄せにする*/
    justify-content: center;
}
.weather-btn {
    width: 50px;
    padding: 4px 0;
    font-size: 1.2rem;
}
.day-btn {
    color: #fff;
    background-color: #000;
    border-radius: 4px 0 0 4px / 4px 0 0 4px;
}
.week-btn {
    border: 1px solid #000;
    border-radius: 0 4px 4px 0 / 0 4px 4px 0;
}
time {
    font-size: 1.5rem;
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
}
.weather-display {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.weather-icon {
    font-size: 6.0rem;
}
.weather-text {
    font-size: 1.5rem;
}
.day-text {
    font-weight: bold;
}
.keyvisual-btn-area {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}
.keyvisual-btn-bar {
    display: flex;

}
.key-btn-image {
    border: 3px solid #fff;
    margin-right: 5px;
}

/*main*/
/*article*/
.article-section {
    padding: 5% 0;
    text-align: center;
}
.section-title {
    font-size: 2.0rem;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 50px;
}
.article-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.article-info {
    /*margin-right: 10px;*/
    /* width: 30%; */
    background-color: #fff;
    text-decoration: none;
    margin-bottom: 60px;
    /*上下左右のずらしを指定しないことにより上下左右に均等に影ができる*/
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.article-text {
    width: 100%;
    height: 100px;
    position: relative;
}
.article-category {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.6rem;
    color: #fff;
    background-color: #8F6532;
    padding: 10px 20px;
}
.article-img img {
    vertical-align: middle;
    width: 100%;
}
.time-info {
    font-size: 1.2rem;
    color: #000;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.article-title {
    font-size: 2.0rem;
    text-transform: capitalize;
    color: #000;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}
.article-info:hover .article-img {
    opacity: 0.7;
}
.article-info:hover .time-info {
    text-decoration: underline;
}
.article-info:hover .article-title {
    text-decoration: underline;
}
/*footer*/
footer {
    background-image: url(../images/slide1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #8F6532;
    background-blend-mode: darken;
    color: #fff;
    text-align: center;
    padding: 5% 0;
}
small {
    text-transform: capitalize;
    letter-spacing: 2px;
}

/*about*/
/*about-shop*/
.about-shop {
    padding: 2% 0;
}
.about-section-title {
    font-size: 3.0rem;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.about-img {
    float: left;
}
.about-shop-contents img {
    margin-right: 20px;
}
.about-shop-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: justify;
}
.brief-menu {
    padding: 3% 0;
}
.coffee-img-box {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 20px;
}
.img-box {
    display: table-cell;
    overflow: hidden;
    position: relative;
}
.coffee-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.0rem;
    color: #fff;
    text-shadow: 2px 3px #000;
}
.coffee-img {
    width: 100%;
}

/*news.html*/
.news-contents {
    display: flex;
    justify-content: space-between;
    padding: 3%;
}
.news-contents main {
    width: 65%;
}
.news-contents aside {
    width: 30%;
}
.news-title {
    font-size: 3.0rem;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 3px dotted #000;
    display: inline-block;
    padding-bottom: 10px;
}
.news-category {
    color: #fff;
    background-color: #910000;
    font-size: 2.0rem;
    text-transform: capitalize;
    display: block;
    width: 180px;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}
.news-img-wrapper img {
    width: 100%;
    margin-bottom: 20px;
}
.news-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: justify;
}
.aside-news-title {
    font-size: 3.0rem;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 3px dotted #000;
    display: inline-block;
    padding-bottom: 10px;
}
.news-list {
    list-style-type: none;
}
.news-list li {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}
.news-list a {
    display: block;
    width: 100%;
    color: #000;
    text-decoration: none;
}
.news-list li:hover {
    opacity: 0.7;
    transition: 0.3s;
}
.small-news-box {
    display: flex;
}
.small-news-img {
    margin-right: 10px;
}
.small-news-desc {
    position: relative;
}
.small-news-img img {
    border-radius: 5px;
    vertical-align: middle;
}
.small-news-title {
    font-size: 2.0rem;
    letter-spacing: 1px;
    text-align: center;
    text-transform: capitalize;
    border-bottom: 3px solid #000;
    margin-bottom: 5px;
}
.small-news-category {
    color: #fff;
    background-color: #910000;
    font-size: 1.6rem;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    margin-bottom: 5px;
}
.small-news-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.6rem;
}
.news-number {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 2.0rem;
    color: #fff;
    background-color: #8F6532;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
}
.category-list li {
    font-size: 2.0rem;
    list-style-type: none;
    margin-bottom: 10px;
    text-transform: capitalize;
    border-bottom: 3px solid #000;
}
.category-list li:hover {
    opacity: 0.7;
    transition: 0.3s;
}

/*menu.html*/
.menu-section-title {
    font-size: 3.0rem;
    border-bottom: 3px dotted #000;
    text-transform: capitalize;
    letter-spacing: 3px;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}
.menu-area {
    padding: 3%;
}
.menu-item-wrapper,
.deserts-item-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}
.menu-item {
    width: 250px;
    height: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin-bottom: 30px;
}
.menu-img {
    width: 100%;
    height: 50%;
    
}
.menu-img img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}
.menu-desc {
    width: 100%;
    height: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    border-radius: 0 0 10px 10px;
}
.menu-item-wrapper .menu-item:nth-of-type(1) .menu-desc {
    background-image: url(../images/menu-1.png);
}
.menu-item-wrapper .menu-item:nth-of-type(2) .menu-desc {
    background-image: url(../images/menu-2.png);
}
.menu-item-wrapper .menu-item:nth-of-type(3) .menu-desc {
    background-image: url(../images/menu-3.png);
}
.menu-item-wrapper .menu-item:nth-of-type(4) .menu-desc {
    background-image: url(../images/menu-4.png);
}
.deserts-item-wrapper .menu-item:nth-of-type(1) .menu-desc {
    background-image: url(../images/desert-1.png);
}
.deserts-item-wrapper .menu-item:nth-of-type(2) .menu-desc {
    background-image: url(../images/desert-2.png);
}
.deserts-item-wrapper .menu-item:nth-of-type(3) .menu-desc {
    background-image: url(../images/desert-3.png);
}
.deserts-item-wrapper .menu-item:nth-of-type(4) .menu-desc {
    background-image: url(../images/desert-4.png);
}
.menu-desc::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 10;
    border-radius: 0 0 10px 10px;
}
.menu-title {
    position: relative;
    z-index: 20;
    text-align: center;
    font-size: 2.0rem;
    text-shadow: 2px 3px #000;
    letter-spacing: 2px;
    text-transform: capitalize;
}
.menu-price {
    position: relative;
    z-index: 20;
    text-align: center;
    font-size: 2.0rem;
    text-shadow: 2px 3px #000;
}
.menu-text {
    position: relative;
    z-index: 20;
    text-align: justify;
    font-family: 'Courier New', Courier, monospace;
}

@media(max-width:1249px) {
    .keyvisual-btn-bar {
        display: none;
    }
    .article-box {
        flex-direction: column;
        align-items: center;
    }
    .about-section-title {
        text-align: center;
    }
    .about-shop-contents img {
        margin-right: 0;
    }
    .about-img {
        float: initial;
        text-align: center;
    }
    .about-shop-text {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .news-contents {
        flex-direction: column;
        align-items: center;
    }
    .news-contents main {
        text-align: center;
        margin-bottom: 20px;
    }
    .news-contents aside {
        width: 350px;
    }
    .news-category {
        margin-left: auto;
        margin-right: auto;
    }
}

@media(max-width: 768px) {
    .keyvisual-area {   
        background-image: url(../images/mobile-keyvisual.png);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        height: 75vh;
    }
    .key-img {
        display: none;
    }
    .search-weather-area {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
    .search-box {
        width: 200px;
    }
    .article-box {
        padding: 0 2%;
    }
    .coffee-title {
        font-size: 2.0rem;
    }
    .menu-section-title {
        display: block;
        text-align: center;
    }
}

/*mobile*/
@media (max-width: 600px) {
    /*nav-area*/
    .main-nav span {
        display: none;
    }
    .coffee-img-box {
        display: block;
    }
    .img-box {
        display: block;
    }
    .coffee-img {
        vertical-align: middle;
    }
    .coffee-title {
        font-size: 6.0rem;
    }
    .news-contents main {
        width: 80%;
    }
}