@charset "utf-8";

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

* {
    font-family: serif;
    color: rgb(58, 42, 26);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}


img {
    max-width: 100%;
    vertical-align: bottom;
}

.header,
main,
footer {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

.header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.header-logo {
    padding: 10px 0 10px;
}

.header-logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.header-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.164);
    /* 白っぽい霧 */
    backdrop-filter: blur(1px);
    /* ぼかし効果 */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.header-logo:hover::after {
    opacity: 1;
}

@media screen and (max-width: 880px) {
    .moji {
        display: none;
    }
}

nav ul {
    display: flex;
    align-items: center;
}

nav li {
    font-size: 15px;
    margin-right: 20px;
}

nav li a {
    display: inline-block;
    transition: 0.3s;
    /* 0.3秒で拡大までの時間 */
}

nav li a:hover {
    /* font-size: 1.5em; */
    /* transform: scale(1.5); */
    scale: 1.125;
    /* 1.1倍に拡大 */
}

.cart {
    font-family: sans-serif;
    font-size: 11px;
    padding-bottom: 5px;
}

.search {
    font-family: sans-serif;
    font-size: 8px;
    padding-bottom: 5px;
}

.cart i,
.search i {
    font-size: 27px;
}

nav li i {
    font-size: 20px;
    padding-right: 5px;
}

.first-view {
    height: calc(100vh - 110px);
    background-image: url(../img/header.img.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding-bottom: 130px;
    padding-left: 15px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

h1 {
    font-family: sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.945);
    display: block;
    font-weight: lighter;
    text-shadow: 3px 5px 1px rgb(7, 12, 12);
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s ease-out forwards;
    animation-delay: 1s;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 700px) {
    h1 {
        display: none;
    }
}


.news,
.pickup,
.ranking {
    padding: 50px;
}

.sub {
    padding: 15px;
}

.sub img {
    margin-right: 20px;
}

h2 {
    letter-spacing: 1.5px;
}

.link-button-area {
    text-align: center;
}

.link-button-area img {
    box-shadow: 2px 4px 1px rgb(7, 12, 12);
}

.link-button-area a img {
    transition: 0.1s;
}

.link-button-area a:hover img {
    scale: 1.1;
}


/* ボタン↓ */
.btn-come {
    width: 120px;
    position: fixed;
    bottom: 200px;
    right: 9%;
    z-index: 1;
}

.btn-top {
    width: 100px;
    position: fixed;
    bottom: 70px;
    right: 10%;
    z-index: 1;
}

.btn-come a img,
.btn-top a img {
    transition: 0.1s;
}

.btn-come a:hover img,
.btn-top a:hover img {
    scale: 1.15;
}

/* ボタン↑ */
/* スライドショー↓ */
/* スライダー全体 */
.slider-wrapper {
    display: flex;
    /* スライドのグループを横並び */
    overflow: hidden;
    /* はみ出たスライドを隠す */
    margin: 10px 0 20px;
}

/* スライド3枚のグループ */
.slider {
    animation: scroll-left 20s infinite linear .5s both;
    display: flex;
    /* スライド3枚を横並び */
    padding: 10px 0 50px;
}

/* スライド */
.slide {
    /* width: calc(100vw / 3); 3はスライドの枚数 */
    height: 30vh;
    margin: 0 30px 0;
}

/* スライドの画像 */
.slide img {
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
}

/* CSSアニメーション */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* スライドのホバーしたときの変化 */
.slide a {
    transition: 0.1s;
}

.slide a:hover img {
    scale: 1.15;
}

/* スライドショー↑ */
/* ニュース↓ */
.news-innner {
    text-align: center;
    line-height: 50px;
}

.news-innner li {
    border-top: 1px solid #7e6b5a;
    padding: 40px;
}

.news-innner li:last-child {
    border-bottom: 1px solid #7e6b5a;
}

.news-innner li a span {
    border: solid 1px;
    padding: 10px 20px 10px;
    margin: 0 10px 0;
}

.news-innner li a time,
.news-innner li a p {
    letter-spacing: 1.5px;
}

/* ニュース↑ */
/* ピックアップ、ランキング↓ */
.sub h2 {
    margin-bottom: 10px;
}

.pickup-innner,
.ranking-innner {
    display: flex;
    justify-content: space-between;
}

.pickup-innner li,
.ranking-innner li {
    width: 30%;
}

.pickup-innner li a img,
.ranking-innner li a img {
    /* display: inline-block; */
    transition: 0.3s;
    /* 0.3秒で拡大までの時間 */
}

.pickup-innner li a:hover img,
.ranking-innner li a:hover img {
    /* font-size: 1.5em; */
    /* transform: scale(1.5); */
    scale: 1.125;

}

.pickup dl,
.ranking dl {
    text-align: center;
    margin-top: 40px;
}

.pickup dt,
.ranking dt {
    font-size: 17px;
    font-weight: normal;
}

.pickup span,
.ranking span {
    font-size: 10px;
    font-weight: bold;
}

.pickup dd,
.ranking dd {
    line-height: 2em;
    padding: 10px;
}

.price {
    font-size: 12px;
    font-weight: lighter;
    text-align: right;
    line-height: 2.5em;
}

.text {
    font-size: 15px;
    line-height: 2em;
}

/* ピックアップ、ランキング↑ */
/* コーヒー定期便、ランチボックス↓ */

.sub-lunch {
    padding-bottom: 150px;
}

.subsc,
.lunch {
    text-align: center;
    padding: 200px 0 70px;
}

.subsc img,
.lunch img {
    width: 400px;
    /* opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease-out, transform 1s ease-out; */
}

/* .subsc img,
.lunch img,
.visible {
        opacity: 1;
        transform: translateY(0);
      } */

.subsc h2 span,
.lunch h2 span {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 15px;
}

.subsc h2,
.lunch h2 {
    font-size: 45px;
    padding: 20px 0 20px;
    letter-spacing: 20px;
}

.subsc p,
.lunch p {
    line-height: 30px;
}

/* コーヒー定期便、ランチボックス↑ */
/* マップ↓ */
.map {
    background-image: url(../img/DOOR\ \(2\).jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    padding: 300px 0;
    text-align: center;
}

.map-text {
    background-color: rgb(255, 255, 255, .68);
    margin: 0 auto;
    width: 70%;
    padding: 100px 0;
}

.map h2 {
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 10px;
    padding: 40px 0;
}

.map h2 span {
    font-size: 25px;
    font-weight: normal;
    letter-spacing: 5px;
    padding: 0 0 0 150px;
}

.address {
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 2em;
}

.address li {
    margin-bottom: 20px;
}

.google {
    margin-top: 50px;
}

.google img {
    width: 25%;
}

.google a {
    transition: 0.1s;
}

.google a:hover img {
    scale: 1.2;
}


/* マップ↑ */


/* フッター↓ */
.footer-menu {
    font-weight: bold;
    font-size: 13px;
    padding: 15px 0 15px;
}

.footer {
    color: #7e6b5a;
    background-color: #c0b4a5;
    padding-top: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

.sns i {
    font-size: 30px;
    margin: 10px 10px 10px;
}

.sns a i,
.footer-menu a span,
.footer-area a span {
    display: inline-block;
    transition: 0.1s;
}

.sns a:hover i,
.footer-menu a:hover span,
.footer-area a:hover span {
    scale: 1.15;
}


.footer-area {
    display: flex;
    flex-direction: column;
    line-height: 2em;
}

.copyright {
    font-size: 14px;
    font-weight: bold;
    margin-top: 90px;
    text-align: center;
}

/* フッター↑ */


/* スクロールした時の動作 */

.scroll {
    transform: translateX(-300%);
    transition: all 1.5s;
}

.scroll.reverse {
    transform: translateX(200%);
}

.scroll.on {
    transform: translateX(0);
}

/* カーソル */
.kurukuru {
    /* opacity: 0; */
    width: 50px;
    aspect-ratio: 1/1;
    background-image: url(../img/豆\ 2.png);
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
}

/* 矢印消したい人 */
/* body{
    cursor: none;
} */

/* 欄外にカーソルを出したときに画像が残らないようにする */
/* body:hover .kurukuru{
    opacity: 1;
} */