@charset "utf-8";

/*スタイルリスト*/
.style_comment {
    width: 96%;
    margin: 3rem auto;
}

/*600px以上*/
@media (min-width: 600px) {
    .style_comment {
        text-align: center;
        margin: 0 0 2rem;
    }
}

#tax_list ul.list_box {
    border-bottom: 1px solid #CCC;
    padding-bottom: 2em;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#tax_list ul.list_box li {
    margin-right: 1em;
    display: inline-block;
}

#tax_list ul.list_box li a {
    padding: 0.7em 2em;
    border-radius: 30px;
    border: 1px solid #CCC;
    transition: all 0.5s;
    background: #FFF;
}

#tax_list ul.list_box li a:hover {
    color: #FFF;
    background: #a5a5a5;
}

#tax_list ul.list_box li.on a {
    background: #a5a5a5;
    color: #FFF;
}

#style_list {
    margin: 2em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 96%;
    max-width: 960px;
}

#style_list li {
    width: calc(100% / 3 - 2%);
    margin: 1.2rem 1%;
    padding: 0 0.5rem;
}

#style_list li a {
    border: solid 1px #cccccc82;
    padding: 7px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.11);
    display: block;
}

#style_list li img {
    height: 100%;
    width: 100%;
    object-position: top;
    object-fit: contain;
    aspect-ratio: 4 / 5;
}

@media (max-width: 599px) {
    #style_list li {
        width: calc(100% / 2 - 2%);
    }

    #tax_list ul.list_box li {
        margin: 0.5em;
    }

    #tax_list ul.list_box li a {
        padding: 0.5em 0.8em;
    }
}

@media (max-width: 399px) {
    #style_list li {
        width: calc(100% / 1 - 2%);
    }
}

.style_box1 img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: top;
}

.style_data {
    margin-bottom: 5em;
}

/********************/
.style_box1 {
    width: 96%;
}

.style_box1 li {
    padding: 1rem;
}

.style_box1 li img {}

.style_data {
    width: 96%;
}

.style_data .before {
    padding: 1rem;
    max-width: 400px;
    margin: 2rem auto;
}

#post_navi,
#list_navi {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.type_post .sub_main {
    height: 2rem;
    overflow: hidden;
}

#post_navi li,
#list_navi li {
    margin: 0.5em 0.5em;
}

#post_navi li a,
#list_navi li a {
    padding: 0.4em 1.3em;
    border-radius: 2em;
    background-color: #eee;
}

/*600px以上*/
@media (min-width: 600px) {
    .style_box1 {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .style_box1 li {
        padding: 0;
        width: calc(100% / 2 - 2%);
    }

    #post_navi,
    #list_navi {
        overflow: hidden;
        width: calc(100% - 60px);
    }
}

/*900px以上*/
@media (min-width: 900px) {
    .style_box1 li {
        padding: 0;
        width: calc(100% / 3 - 2%);
    }
}

/***********************/
.title_g {
    text-align: center;
    font-size: clamp(1.125rem, 1.053rem + 0.36vw, 1.5rem);
    margin: 0 auto 1em;
}

/*****************************/
.kanren {
    background-color: #eeeeee61;
    margin: 4rem 0 0;
}

.kanren h3 {
    text-align: center;
}

.kanren .style_list {
    width: 96%;
    margin: 0 auto;
}

.kanren .style_list li {
    padding: 1em;
    max-width: 400px;
}

.kanren .style_list li a {}

.kanren .style_list li img {
    height: 100%;
    width: 100%;
    object-position: top;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

/*600px以上*/
@media (min-width: 600px) {
    .kanren {
        overflow: hidden;
        width: calc(100% - 60px);
    }

    .kanren .style_list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .kanren .style_list li {
        width: calc(100% / 2 - 2%);
    }
}

/*900px以上*/
@media (min-width: 900px) {
    .kanren .style_list li {
        width: calc(100% / 4 - 2%);
    }
}

.style_list .day {
    display: none;
}

.sd_gallery {
    padding: 0 0 6rem;
}

.inner-section {
    padding: 3rem 0;
}

.style_box1 {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}