html {
    overflow-x: hidden;
}

section {
    margin: 0 auto;
}

h2 {
    margin-bottom: 60px;
    padding: 30px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    color: #B45A27;
    background-image: url(../images/illustrations/headline/goods_list_headline_mobile.png);
}

h3 {
    max-width: 220px;
    width: 100%;
    margin: 50px auto 50px auto;
    text-align: center;
    font-size: 1.6rem;
    color: #B45A27;
    border-bottom: dotted 10px #e7d955;
    padding: 1rem 0;
}

h4 {
    font-size: 20px;
    color: #B45A27;
}


/* カテゴリ見出し */

.headline-agricultural-products {
    text-align: center;
    padding: 1rem 0;
    /* margin: 60px auto; */
    /* margin-bottom: 30px; */
}

.headline-name {
    text-align: start;
    font-weight: bold;
}

.headline-name-comment {
    text-align: start;
    font-weight: bold;
}

.headline-name-season {
    text-align: start;
    margin-top: 10px;
    font-weight: bold;
}

.headline-item-name {
    border-bottom: double 5px #A7D28D;
    width: 100%;
    height: auto;
}

.headline-item-name::before {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: repeating-linear-gradient(45deg, #A7D28D 0 2px, transparent 2px 4px);
    content: '';
}

.agricultural-products-goods {
    text-align: center;
    margin: 0 auto;
}

.goods {
    /* display: flex;
    justify-content: center;
    gap: 30px 20px;
    flex-wrap: wrap;
    text-align: center; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    text-align: center;
    margin: 0 auto;
}

.goods-group {
    border-radius: 20px;
    background-color: #fff;
    padding: 15px 5px 15px;
    /* padding-bottom: 10px; */
    /* padding-top: 10px; */
    box-shadow: 5px 5px 8px 0 #af813a;
    border: groove 6px #cf9957;
    margin: 0 auto;
    text-align: center;
}

/* カードの押し込み */

.goods-group:hover {
    position: relative;
    top: 5px;
    left: 5px;
    box-shadow: none;
}

.goods-photo {
    border-radius: 10px;
    /* max-width: 95%; */
    width: 95%;
    margin-bottom: 10px;
    /* padding: 5px; */
    object-fit: cover;
}

.detail-group {
    text-align: center;
    background-color: #fff;
    border: solid 3px #A7D28D;
    border-radius: 20px;
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.detail-photo {
    border-radius: 20px;
    max-width: 350px;
    width: 100%;
    margin: 20px auto;
    object-fit: cover;
}

.headline-item-name {
    position: relative;
    max-width: 260px;
    width: 100%;
    /* margin-top: 30px;
    margin-bottom: 3px; */
    margin: 0 auto;
    position: relative;
    color: #B45A27;
    display: inline-block;
    /* margin: 47px 0; */
    text-shadow: 0 0 2px white;
}

.headline-item-name::before {
    display: none;
}

.headline-item-name::after {
    display: none;
}

.season-text {
    width: 100%;
    text-align: start;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 0;
}

.price-text {
    width: 100%;
    text-align: start;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 0;
}

.conditions-text {
    width: 100%;
    text-align: start;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 0;
}

.comment-text {
    max-width: 1200px;
    width: 100%;
    text-align: start;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 0;
}

.headline-buy-place {
    /* background-color: #008C41; */
    /* border-radius: 50px; */
    max-width: 300px;
    width: 100%;
    margin: 30px auto auto auto;
    text-align: center;
    color: #B45A27;
    border-bottom: dotted 10px #e7d955;
    margin-bottom: 30px;
}

.roadstation-frame {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    text-align: center;
    margin-bottom: 30px;
    justify-items: center; */
    display: flex;
    flex-wrap: wrap;
}


/* .roadstation-name {

    background-color: #A7D28D;
    box-shadow: 0px 10px 0px -5px #70b27f;
    border-radius: 50px;
    display: inline-block;
    padding: 15px 15px;
    margin: 5px;

} */

.roadstation-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* width: 195px; */
    margin: 10px 20px;
    padding: 4px 10px;
    border: none;
    border-radius: 25px;
    background-color: #a7d28d;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.roadstation-name::before {
    position: absolute;
    right: calc(2em + -9px);
    transform: translateX(50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
    content: '';
}

.roadstation-name::after {
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border-top: 3px solid #a7d28d;
    border-right: 3px solid #a7d28d;
    content: '';
}

.roadstation-name:hover {
    opacity: 0.7;
}


/**************/

.roadstation-frame {
    /* justify-content: space-between; */
    justify-content: center;
}

.roadstation-frame li {
    margin-right: 10px;
}

.roadstation-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background-color: #009900;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.roadstation-name::before {
    position: absolute;
    right: calc(2em + -4px);
    transform: translateX(50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
    content: "";
}

.roadstation-name::after {
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 20px;
    margin-right: 5px;
    border-top: 3px solid #009900;
    border-right: 3px solid #009900;
    content: "";
}

.station-name:hover {
    opacity: 0.7;
}

.name {
    width: 100%;
    padding: 15px;
}

.blog-btn {
    text-align: center;
    margin-bottom: 5%;
    margin-top: 8%;
}

.blog-btn a:hover {
    opacity: 0.7;
}

.blog-btn img {
    max-width: 320px;
    height: auto;
    object-fit: cover;
}

.displayNone {
    display: none;
}

@media screen and (min-width:601px) {
    h2 {
        margin-bottom: 60px;
        padding: 60px;
        text-align: center;
        background-position: center;
        background-repeat: no-repeat;
        color: #B45A27;
        background-image: url(../images/illustrations/headline/goods_list_headline.png);
        background-size: contain;
    }

    /* .roadstation-frame {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 30px;
        text-align: center; */
    /* } */
    /* .detail-group {
        text-align: center;
        background-color: #fff;
        border: solid 3px #A7D28D;
        border-radius: 20px;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 50px;
    } */
}

@media screen and (min-width:901px) {

    /* section {
        margin: 0 auto;
    } */
    .goods {
        /* /* display: grid; */
        grid-template-columns: repeat(3, minmax(290px, 1fr));
        gap: 30px;
        /* text-align: center;
        margin: 0 auto; */
    }

    /* .goods-photo {
        max-width: 90%;
    } */
    /* h2 {
        margin-bottom: 60px;
        padding: 60px;
        text-align: center;
        background-position: center;
        background-repeat: no-repeat;
        color: #B45A27;
        background-image: url(../images/illustrations/headline/goods_list_headline.png);


    } */
    /* h3 {
        font-size: 32px;
    } */
    /* .detail-group {
        text-align: center;
        background-color: #fff;
        border: solid 3px #A7D28D;
        border-radius: 20px;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 50px; */
    /* } */
    /* .goods-photo {
        max-width: 90%;
    } */
    /*

    .goods-box {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    } */
    /* .activity-photo {
        max-width: 550px; */
    /* max-height: 380px; */
    /* width: 100%;
    } */
    .item-group {
        display: flex;
        max-width: 1200px;
        width: 100%;
        margin: 50px auto auto auto;
    }

    /* .detail-photo {
        max-height: 450px;
        margin-right: 50px;
        margin-top: 0;
    } */
    .item-text-group {
        margin: 0 20px;
        flex-direction: column;
    }

    .item-name {
        max-width: 220px;
        width: 100%;
        margin-top: 100px;
    }

    .headline-name-season {
        text-align: start;
        margin-top: 10px;
        font-weight: bold;
        margin-left: 10px;
    }

    .headline-name {
        margin-left: 10px;
    }

    .season-text {
        margin-left: 10px;
    }

    .roadstation-name {
        margin-left: 10px;
    }

    .conditions-text {
        margin-left: 10px;
    }

    .headline-name-comment {
        margin-top: 20px;
    }

    /* .headline-name-comment {
        text-align: start;
        margin-top: 10px;
        font-weight: bold;
    } */
    /* .headline-name-season {
        text-align: start;
        margin-top: 0;
        font-weight: bold;
    } */
    /*
    .season-text {
        max-width: 600px;
        width: 100%;
    } */
    /* .price-text {
        max-width: 600px;
        width: 100%;
    } */
    /* .conditions-text {
        max-width: 600px;
        width: 100%;
    } */
    /*
    .comment-text {
        max-width: 1200px;
        width: 100%;
    } */
    /*
    #detail-top {
        height: 60px;
    } */
    /*
    .goods-photo {
        max-width: 90%;
    } */
    /* .roadstation-frame {

        display: grid;
        grid-template-columns: repeat(5, minmax(135px, 1fr));
        gap: 25px;
        text-align: center;
    } */
    /* .roadstation-name {
        background-color: #A7D28D;
        box-shadow: 0px 10px 0px -5px #70b27f;
        border-radius: 50px;
        display: inline-block;
        padding: 5px 5px;
        margin: 5px;

    } */
    /* .blog-btn {
        text-align: center; */
    /* } */
    .blog-btn img {
        max-width: 700px;
        height: auto;
        object-fit: cover;
    }
}
