@charset "utf-8";

h3 {
    margin-top: 20px;
}

h4 {
    padding-top: 10px;
    text-align: start;
    font-weight: bold;
    font-size: 1.3rem;
}

a {
    display: block;
}


a:hover {
    opacity: 0.7;
}

.back-btn {
    margin-bottom: 40px;
}

.blog-main img {
    max-width: 100%;
    height: auto;
}

/* ブログタイトル */
.blog-title {
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    word-wrap: break-word;
}

/* ブログ画像 */
.blog-img {
    /* min-width: 360px; */
    height: auto;
    width: 100%;
}

.station_name {
    margin: 0 0 0 10px;
    font-weight: bold;
    text-decoration: underline;
}



.address {
    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;
    display: inline-flex;
}

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

.address::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: "";
}

.address-btn {
    /* position: absolute; */
    /* width: 100%; */
    height: 100%;
    display: block;
}

/* 関連記事 */
.relatedarticle {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.relatedarticle-title {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: #A7D28D;
    border-radius: 20px;
    /* display: inline-block; */
}

.relatedarticle-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.relatedarticle-text {
    text-align: start;
    padding: 10px 0;
}

.before-next-pcbtn {
    display: none;
}

.before-next-mobilebtn {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
}

/* カテゴリ一覧 */


.category-title {
    background-color: #A7D28D;
    border-radius: 9px 9px 0 0;
    text-align: center;
    margin: 0 auto;
    padding: 10px 0;
    padding-bottom: 20px;
}

.category_list li {
    margin-top: 10px;
    padding: 10px 10px;
    font-weight: bold;
    /* border-bottom: dotted 10px #af813a; */

}

.category_list li:nth-child(odd):hover {
    background-color: #A7D28D;
    /* border-radius: 60% 50% 20% 60%; */
    /* width: 150px; */
    border-radius: 50px;
    display: inline-block;


}


.category_list li:nth-child(even) {
    border-bottom: dotted 5px #af813a;
    margin: 0 10px;


}





.side {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    box-shadow: 5px 5px 8px 0 #70b27f;
    border: groove 6px #A7D28D;
    color: #8c5243;
    /* padding: 20px 10px; */
    border-radius: 20px;

}



.side-img {
    width: auto;
    height: auto;
    text-align: center;

    object-position: center;
    align-items: center;


}

.side img {
    width: 50%;
    height: 50%;
}


/* カテゴリー */
/* .category {
    display: inline-block;
    font-size: 14px;
    margin-left: 10px;
    padding: 4px 8px;
    background-color: #bdbdbd;
    color: #ffff;
    border-radius: 10px;
} */

/* 更新情報 */
.update-information {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    padding-top: 10px;
    margin-bottom: 10px;
}

/* 更新日時 */
.date {
    padding-bottom: 10px;
}

/* 関連記事 */
.relatedarticle1 {
    margin-bottom: 60px;
    width: 50%;
}

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

    /* タブレット幅のみ横幅調整 */
    .wrapper {
        padding: 40px 60px;
    }

    .back-btn {
        margin-bottom: 50px;
    }

    .blog-title {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .blog-img {
        object-fit: cover;
    }

    .blog-text {
        text-align: start;
    }

    .blog-img {
        max-width: 761px;
        height: auto;
        width: 100%;
    }

    .blogarticle {
        text-align: center;
    }

    .address {
        text-align: start;
        font-size: 16px;
        margin-bottom: 50px;
    }

    .relatedarticle {
        text-align: center;
        margin-bottom: 50px;
    }

    .relatedarticle-title {
        margin-bottom: 20px;
    }

    .relatedarticle {
        display: flex;
        gap: 50px;
        margin-bottom: 50px;
        justify-content: center;
    }

    .relatedarticle-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .before-nextbtn {
        display: flex;
        justify-content: center;
        gap: 50px;
    }

    .before-next-pcbtn {
        display: none;
    }

    .before-next-mobilebtn {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin-bottom: 50px;
    }
}

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

    /* ブログ内容 */
    .blog-main {
        width: 70%;
        position: relative;
    }

    .blog-main img {
        width: 100%;
        margin: 20px auto;
    }

    .blog-wrapper {
        width: 100%;
        gap: 100px;
        display: flex;
    }

    .blog-title {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .blog-img {
        object-fit: cover;
        width: 100%;
        max-width: 700px;
    }

    .address {
        text-align: start;
        margin-bottom: 50px;
        font-size: 16px;
    }

    .relatedarticle-title {
        margin-bottom: 20px;
    }

    .relatedarticle {
        display: flex;
        gap: 30px;
        margin-bottom: 50px;
    }

    .relatedarticle .img {
        width: 300px;
        height: 300px;
    }

    .before-next-pcbtn {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin-bottom: 50px;
    }

    .before-next-mobilebtn {
        display: none;
    }

    .side {
        width: 25%;
        height: 400px;
        /* border: 3px solid #a7d28d; */
        background-color: #ffffff;
        color: #8c5243;
        /* padding: 20px 10px; */
        left: 70%;
    }
}
