@charset "utf-8";

/* ファーストビューエリアの設定 */
.first-view {
    height: calc(100vh - 110px);
    background-image: url(../images/index/img-main.jpg);
    background-repeat: no-repeat;
    background-position: center, center;
    background-size: cover;
    /* まとめて書く方法 */
    /* background:colorの値 imagesの値url() repreatの値 positionの値/sizeの値;*/
    /* 上の例だと */
    /* background: url(../images/index/bg-main.jpg) no-repeat center center/cover; */
    display: flex;
    align-items: center;
}

.first-view-text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 80px 40px;
    color: rgb(25, 50, 30);
    /* font-weight: bold text-shadow: 0.5px 0.5px 2px #fff; */
    /* text-shadow: x軸のずれ y軸のずれ ぼかし具合 影の色; */
    text-align: center;
}

.first-view-text h1 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: lighter;
    line-height: 30px;
    font-size: 30px;
    letter-spacing: 3px;
    margin-left: -40px;
}

.first-view-text p {
    font-size: 15px;
    margin-top: 10px;
    font-weight: normal;
    letter-spacing: 10px;
    margin-left: -40px;

}

.scroll {
    color: #fff;
    writing-mode: vertical-lr;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 10px;
    right: 10px;
    gap: 5px;
    text-shadow: 1px 1px 2px #41413a;
}

.scroll-line {
    background-color: #fff;
    display: block;
    width: 1px;
    height: 80px;
    position: relative;
}

.scroll-line::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 0;
    animation: line 2s infinite;
}

@keyframes line {

    /* 10pxは.scroll-line::after にあるwidthとheightのサイズと合わせる */
    100% {
        top: calc(100% - 10px);
    }

}


/* 導入文エリアの設置 */
.lead {
    max-width: 1200px;
    margin: 60px auto;
}

.lead p {
    line-height: 2;
    text-align: center;
}

.link-button-area {
    text-align: center;
    margin-top: 40px;
}

.link-button {
    background-color: #94bc8e;
    display: inline-block;
    /* display: inline-block;→ブロック要素とインライン要素のハイブリット。要素は横並びだがサイズ指定ができる */
    min-width: 180px;
    /* min-width: 180px;→最小で180px→180pxより小さくならない。 */
    line-height: 48px;
    border-radius: 24px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
}

.link-button:hover {
    background-color: #668057;
}

.recommended {
    background-color: #f8f8f8;
    padding: 45px 0 55px;
}

.recommended h2 {
    font-size: 25px;
    font-family: "Cinzel", serif;
    font-weight: lighter;
    text-align: center;
}

.recommended h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #000;
    margin: 10px auto 0;

}

.item-list {
    display: flex;
    padding: 40px 60px 10px;
    overflow-x: scroll;
    /* 縦スクロールが出ないようにxで入れる */

}

.item-list li {
    flex-shrink: 0;
    width: 260px;
    margin-left: 75px;
}

.item-list li img {
    aspect-ratio: 1/1.2;
    object-fit: cover;
}

.item-list li:first-child {
    margin-left: 0;
}

.item-list dl {
    margin-top: 20px;
}

.item-list dt {
    font-size: 20px;
    font-family: "Cinzel", serif;
    font-weight: 500;
}

.item-list dd {
    font-size: 13px;
    line-height: 20px;
    margin-top: 10px;
}

.item-list .price {
    font-weight: bold;
    margin-top: 15px;
    text-align: right;
}

@media(max-width:800px) {
    .first-view {
        height: calc(100vh - 50px);
        background-image: url(../images/index/img-main.jpg);
        align-items: flex-start;
    }

    .first-view-text {
        padding-top: 60px;
    }

    .first-view-text h1 {
        font-size: 24px;
        /* 単位なしの1.5とかでかいておけば修正は必要ない */
        line-height: 20px;
        margin-top: 120px;
        text-align: center;
    }

    .first-view-text p {
        font-size: 12px;
    }

    .lead {
        /* もともと入っている上下の60pxは残したいので記述する */
        padding: 60px 20px;
    }

    .lead p {
        text-align: left;
    }

    .item-list {
        /* これも上下の余白を消さないように40を記述する */
        padding: 40px 20px;

    }

    .item-list li {
        width: 220px;
        margin-left: 30px;
    }

}