:root {
    --gold: #afa790;
    --text-color: #3f3f3f;
    --line-color: #928060;
    --bg-color: #EAE3DE;
}

/* .main .section { */
body {
    background-color: var(--bg-color);
}


/* == 作品集一覧 == */
/* 検索ボタン */
.search_button_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5rem 0rem 0;
}
.search_button_frame {
    display: flex;
    height: 5.5rem;
    align-items: center;
    position: relative;
    margin: auto auto 0;
    border-radius: 100vh;
    background-color: var(--line-color);
}
.search_button {
    background-color: var(--line-color);
    color: #fff;
    border: none;
    position: absolute;
	left: 0;
	right: 0;
    margin: 0 10px;
}
/* 矢印マーク */
.arrow_mark {
    width: 33px;
    height: 5px;
    border-bottom: 1px solid var(--line-color);
    border-right: 1px solid var(--line-color);
    transform: skew(45deg);
}
.search_button_frame .arrow_mark {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    position:  absolute;
    right:  3rem;
}

.back_list .back_item {
    position: relative;
}

.back_item .arrow_mark {
    position: absolute;
}

.clear_button {
    background-color: #fff;
    color: var(--line-color);
    text-decoration: underline;
    border: none;
    margin: 1.4rem auto 6rem;
}


/* entry_search_box template.cssの内容を上書き
============================================================================================================ */
.entry_search_box {
    margin-bottom: 100px;
    border: 1px solid #c5c2b7;
}
.entry_search_box .title {
    border-bottom: 1px solid #c5c2b7;   /* gallery.jsで表示を切り替え　*/
    background-color: var(--bg-color);
    font-weight: bold;
    font-size: 2.2rem;
}

.entry_search_box .ring_category {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.entry_search_box .ring_category .dd_box {
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
}

.entry_search_box .ring_category input {
    position: absolute;
}
.entry_search_box .ring_category label {
    display: block;
    position: relative;
}

.entry_search_box .ring_category input[type="checkbox"] + label .check {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #c5c2b7;
    border-radius: 3px;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}
.entry_search_box .ring_category input[type="checkbox"] + label .check:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    width: 7px;
    height: 14px;
    border-right: 3px solid #c5aa86;
    border-bottom: 3px solid #c5aa86;
    opacity: 0;
    -webkit-transition: opacity 0.1s;
    -o-transition: opacity 0.1s;
    transition: opacity 0.1s;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.entry_search_box .ring_category input[type="checkbox"]:checked + label .check {
    border-color: #c5aa86;
}
.entry_search_box .ring_category input[type="checkbox"]:checked + label .check:after {
    opacity: 1;
}

.entry_search_box .gallery_option_box {
    display: grid;
}

.entry_search_box .gallery_option_box .gallery_option {
    display: flex;
}

.entry_search_box .gallery_option ul {
    border: 1px solid var(--line-color);
    border-top: none;
}

.entry_search_box .gallery_option dt {
    border: 1px solid var(--line-color);
}

.entry_search_box .gallery_option dt::after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border-top: var(--line-color) 1px solid;
    border-right: var(--line-color) 1px solid;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    margin: auto;
}
body.init .entry_search_box .gallery_option dt::after {
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -ms-transition: -o-transform 0.3s, opacity 0.3s;
    -o-transition: -o-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
}
.entry_search_box .gallery_option dt.open::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: var(--line-color) 1px solid;
    border-right: var(--line-color) 1px solid;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
}
.entry_search_box .gallery_option dd {
    height: 0;
    overflow: hidden;
}
body.init .entry_search_box .gallery_option dd {
    -webkit-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

.entry_search_box .gallery_option input {
    position: absolute;
    visibility: hidden;
}
.entry_search_box .gallery_option label {
    display: block;
    position: relative;
    padding: 0 0 0 35px;
}
.entry_search_box .gallery_option input[type="checkbox"] + label .check {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #c5c2b7;
    border-radius: 3px;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}
.entry_search_box .gallery_option input[type="checkbox"] + label .check:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    width: 7px;
    height: 14px;
    border-right: 3px solid #c5aa86;
    border-bottom: 3px solid #c5aa86;
    opacity: 0;
    -webkit-transition: opacity 0.1s;
    -o-transition: opacity 0.1s;
    transition: opacity 0.1s;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.entry_search_box .gallery_option input[type="checkbox"]:checked + label .check {
    border-color: #c5aa86;
}
.entry_search_box .gallery_option input[type="checkbox"]:checked + label .check:after {
    opacity: 1;
}

/* 一部template.cssの値を上書き */
@media screen and (min-width: 769px), print {

    .w {
        width: 1100px;
        margin: 0 auto;
    }

    .entry_search_box {
        margin-bottom: 50px;
        padding-bottom: 0px;
    }
    .entry_search_box .title {
        margin-bottom: 0;
        padding: 1.4rem 5rem;
    }
    .entry_search_box .gallery_search_box {
        margin: 40px 8vw;
    }
    .entry_search_box .ring_category label {
        padding: 0 0 0 35px;
    }
    .entry_search_box .ring_category dt {
        width: 11rem;
    }
    .entry_search_box .ring_category dd + dd {
        margin-left: 3rem;
    }
    .entry_search_box .gallery_option_box {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 3vw;
    }
    .entry_search_box .gallery_option_box .gallery_option {
        display: flex;
        margin-top: 30px;
    }
    .entry_search_box .gallery_option_box .gallery_option .search_title {
        width: 11rem;
        padding-top: 10px;
    }
    .entry_search_box .gallery_option_box .gallery_option dl {
        width: 26rem;
    }

    .entry_search_box .gallery_option ul {
        padding: 1.5rem 2rem;
    }
    .entry_search_box .gallery_option dt {
        position: relative;
        padding: 10px 12px 10px 25px;
    }
    .entry_search_box .gallery_option dt::after {
        right: 20px;
        top: 20px;
    }
    .entry_search_box .gallery_option dt.open::after {
        right: 20px;
        top: 20px;
    }
    .entry_search_box .gallery_option ul li {
        padding-left: 20px;
    }

    .search_button_frame {
        width: 38rem;
    }
    .search_button_frame:hover {
        background-color: #b1a992;
    }
    .search_button_frame .search_button {
        transition-duration: 0s;
        transition-delay: 0s;
        transition-timing-function: ease-in-out;
    }
    .search_button_frame:hover .search_button {
        background-color: #b1a992;
        transition-duration: 0s;
        transition-delay: 0s;
        transition-timing-function: ease-in-out;
    }
    .clear_button:hover {
        font-weight: bold;
        transition-timing-function: ease-in-out;
    }

}
/* 一部template.cssの値を上書き */
@media screen and (max-width: 768px) {
    .sp_pd {
        font-size: 1.35rem;
        padding-left: 7vw !important;
        padding-right: 7vw !important;
    }

    .entry_search_box {
        margin-bottom: 50px;
        padding-bottom: 0;
    }
    .entry_search_box .title {
        margin-bottom: 0;
        padding: 1.2rem 2rem;
    }
    .entry_search_box .gallery_search_box {
        margin: 3rem 2.5rem;
    }
    .entry_search_box .ring_category label {
        padding: 1px 0 0 28px;
    }
    .entry_search_box .ring_category dt {
        width: 6.5rem;
        min-width: 6.5rem;
    }
    .entry_search_box .ring_category dd {
        margin-right: 2rem;
    }

    .entry_search_box .gallery_option_box {
        grid-template-columns: 1fr;
    }
    .entry_search_box .gallery_option_box .gallery_option {
        margin-top: 15px;
    }
    .entry_search_box .gallery_option_box .gallery_option .search_title {
        width: 6.5rem;
        padding-top: 10px;
    }
    .entry_search_box .gallery_option_box .gallery_option dl {
        width: 21rem;
    }
    .entry_search_box .gallery_option dt {
        position: relative;
        padding: 10px 12px 10px 25px;
    }
    .entry_search_box .gallery_option dt::after {
        right: 20px;
        top: 18px;
    }
    .entry_search_box .gallery_option dt.open::after {
        right: 20px;
        top: 19px;
    }
    .entry_search_box .gallery_option ul {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: block;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 1.4rem 0.5rem;
    }
    .entry_search_box .gallery_option ul li {
        padding-left: 20px;
    }

    .search_button_frame {
        width: 28rem;
    }
    .search_button_frame .arrow_mark {
        right:  2rem;
    }
}


/* back_list template.cssの内容を上書き
============================================================================================================ */
.back_list {
    justify-content: center;
}

/* .back_list li + li {
    margin-top: 10px;
} */
.back_list .back_item a {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    height: 50px;
    border: 1px solid #c5c2b7;
    border-radius: 50px;
    font-size: 1.4rem;
    text-decoration: none;
}

.back_list a.bg {
    background-color: #b1a992;
    color: #fff;
}
@media screen and (min-width: 769px), print {
    .back_list {
        display: flex;
        bottom: 0;
        right: 0;
        width: 100%;
        margin: 12rem auto 3rem;
    }

    .back_list .back_item {
        width: 40rem;
    }
    .back_list .back_item + .back_item {
        margin-left: 5rem;
    }

    .back_list .back_item a:hover {
        background-color: #b1a992;
        color: #fff;
        border-radius: 50px;
    }

    .back_item .arrow_mark {
        right: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .back_list {
         margin: 5rem 0 2.2rem;
    }
    .back_list .back_item {
        /* margin-top: 15px; */
        max-width: 40rem;
        margin: 15px auto auto;
    }
    .back_item .arrow_mark {
        right: 2.5rem;
    }
}


/* .wp-pagenavi template.cssを上書き
============================================================================================================ */
.wp-pagenavi {
    position: relative;
    margin-top: 60px;
    text-align: center;
    text-align: center;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    color: #fff;
}
.wp-pagenavi > * {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    margin: 3px;
    background-color: #fff;
    border: none;
    color: #fff;
    line-height: 38px;
    text-decoration: none;
}
.wp-pagenavi a {
    color: #000;
    text-decoration: none;
}

.wp-pagenavi a.page {
    color: #000;
    text-decoration: none;
    background-color:var(--bg-color);
}

.wp-pagenavi .extend {
    width: auto;
    color: #000;
    border-width: 0;
}
.wp-pagenavi .current {
    background-color:var(--bg-color);
    border-color: #fff;
    color: #000;
    font-weight: bold;
}

.wp-pagenavi .nextpostslink {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    line-height:22px;
    font-size: 22px;
    color: #fff;
    background-color: var(--line-color);
}


.wp-pagenavi .previouspostslink {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    line-height:22px;
    font-size: 22px;
    color: #fff;
    background-color: var(--line-color);
}

.wp-pagenavi .previouspostslink {
    margin: auto 2rem auto 3px;
}
.wp-pagenavi .nextpostslink {
    margin: auto 3px auto 2rem;
}

@media screen and (min-width: 769px), print {
    .wp-pagenavi a:hover {
        color: #000;
        font-weight: bold;
        background-color:var(--bg-color);
    }

    .wp-pagenavi a.nextpostslink:hover, a.previouspostslink:hover {
        color: #fff;
        background-color: #a88c63
    }
}
@media screen and (max-width: 768px) {
    .wp-pagenavi {
        margin-top: 40px;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .wp-pagenavi > * {
        width: 32px;
        height: 32px;
        margin: 2px;
        line-height: 30px;
    }
    .wp-pagenavi .extend {
        display: none;
    }
}


/* == 作品集詳細 == */
.detail_contents
{
	margin-top: 0.5rem;
}


/* 作品集詳細 */
.gallery_title {
    font-size: 2.7rem;
    color: var(--line-color);
    margin-bottom: 4rem;
}

.gallery_detail_title {
    margin: 5rem 0 2.2rem;
    /* margin-bottom: 2.2rem; */
    font-size: 2rem;
    color: var(--line-color);
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line-color);
}

dl.gallery_detail {
    width: 100%;
}

.gallery_detail_chapter {
    font-size: 1.5rem;
    color: var(--line-color);
    padding-left: 0.6rem;
    font-weight: bold;
}

.v_line {
    margin: 0.7rem 0;
    border-left: 2px solid var(--line-color);
}

.chapter_under_line {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-color);
}

/* switch_box
============================================================================================================ */
.switch_box {
    display: flex;
}

.circle_switch {
    margin: auto 0 auto auto;
    position: relative;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 1px solid var(--line-color);
}
.circle_switch::before,
.circle_switch::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 1px;
    top: 50%;
    left: 7px;
    border-top: 1px solid var(--line-color);
}
.circle_switch::after {
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -o-transition: -o-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
.circle_switch.open::after {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
    opacity: 0;
}
.switch_item {
    height: 0;
    overflow: hidden;
    background-color: var(--bg-color);
    -webkit-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

.entry_search_box .switch_item {
    background-color: #fff;
}

.entry_search_box .switch_box:not(.open) {
    /* transition: border-bottom 1s ease-in-out 2s; */
    border-bottom: none;
}

/* template.cssを上書き */
.relation_entry {
    border: none !important;
    margin-top: 0;
    padding-top: 0;
}

.relation_entry_title {
    font-size: 2rem;
    color: var(--gold);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gold);
    margin-bottom: 4rem;
}












/* entry_img_detail  template.cssを上書き
============================================================================================================ */
.entry_img_detail {
    position: relative;
}
.entry_img_detail > h1 {
    margin-bottom: 30px;
    font-size: 2.6rem;
    line-height: 1.6;
}
.entry_img_detail > header {
    margin-bottom: 30px;
    line-height: 1.6;
}
.entry_img_detail > header h1 {
    margin-top: 10px;
    font-size: 2.6rem;
}
.entry_img_detail > header time {
    display: inline-block;
    margin-right: 10px;
}
.entry_img_detail > header .cat,
.entry_img_detail > header .cat li {
    display: inline-block;
}
.entry_img_detail > header .cat a {
    display: block;
    background-color: #a88c63;
    padding: 1px 10px;
    color: #fff;
    font-size: 80%;
}
.entry_img_detail .main_img_wrap {
    margin-bottom: 8rem;
    position: relative;
}
.entry_img_detail .main_img_wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 画像周りの線を消すため、template.cssを上書き */
    border: none;
    -webkit-transform: translate(10px, 10px);
    -ms-transform: translate(10px, 10px);
    -o-transform: translate(10px, 10px);
    transform: translate(10px, 10px);
    z-index: -1;
}

.entry_img_detail .entry_body + .message {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #c5c2b7;
}
.entry_img_detail .message h2 {
    margin-bottom: 5px;
    font-size: 110%;
}



/* .slick-track {
    max-height: 350px !important;
} */

.slick-slide {
    will-change: transform;
    opacity: 1;
    z-index: 5;
    -webkit-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    -webkit-transform: scale(.8);
    transform: scale(.8);
    transform-origin: center bottom;
}

.slick-slide img {
    max-width: 100%;
    /* max-height: 400px; ブレークポイント毎に指定 */
    width: auto;
    height: auto;
    margin: 0 auto;
}


.slick_init_current {
    opacity: 1;
    z-index: 10;
    -webkit-transition: none;
    transition: none;
    -webkit-transform: scale(1);
    transform: scale(1);
    transform-origin: center bottom;
}


.slick_img_large {
    opacity: 1;
    z-index: 10;
    -webkit-transition: .7s ease-out;
    transition: .7s ease-out;
    -webkit-transform: scale(1);
    transform: scale(1);
    transform-origin: center bottom;
}


.scroll_box {
    position:relative;
    /* width: auto; */
    margin: auto 0 3rem;
}




@media screen and (min-width: 769px), print {
    .entry_img_detail .main_img_wrap {
        /* float: left; */
        width: 1000px;


    }
    .entry_img_detail .main_img_wrap + .contents {
        margin-left: 0px;
    }
    .entry_img_detail .contents {
        padding-bottom: 140px;
    }
    .entry_img_detail .contents.has_url,
    .entry_img_detail .contents.has_movie {
        padding-bottom: 140px;
    }
    .entry_img_detail .contents.has_url.has_movie {
        padding-bottom: 200px;
    }


    .slick-slide img {
        max-width: 600px !important;
        max-height: 400px;
    }




    /* .entry_img_detail .main_img_wrap .slick-slide img {
        z-index: 5;
        -webkit-transition: 1s ease-in-out;
        transition: 1s ease-in-out;
        -webkit-transform: scale(.8);
        transform: scale(.8);
        transform-origin: center bottom;
    }

    .entry_img_detail .main_img_wrap .slick-slide.slick-current img {
        -webkit-transition: 1s ease-in-out;
        transition: 1s ease-in-out;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
        z-index: 10;
    } */

    /* .slick-slide.slick-current {
        -webkit-transition: 1s ease-in-out;
        transition: 1s ease-in-out;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
        z-index: 10;
    } */

}
@media screen and (max-width: 768px) {
    .entry_img_detail > h1 {
        margin-bottom: 15px;
        font-size: 1.8rem;
    }
    .entry_img_detail > header {
        margin-bottom: 15px;
    }
    .entry_img_detail > header h1 {
        font-size: 1.8rem;
    }
    .entry_img_detail .main_img_wrap {
        margin-bottom: 60px;
    }
    .entry_img_detail .back_list {
        margin-top: 40px;
    }



    .entry_img_detail .main_img_wrap {
        width: auto;
    }
    .entry_img_detail .main_img_wrap + .contents {
        margin-left: 0px;
    }
    .entry_img_detail .contents {
        padding-bottom: 140px;
    }
    .entry_img_detail .contents.has_url,
    .entry_img_detail .contents.has_movie {
        padding-bottom: 140px;
    }
    .entry_img_detail .contents.has_url.has_movie {
        padding-bottom: 200px;
    }


    .slick-slide img {
        max-width: 400px !important;
        max-height: 300px;
    }









    .entry_img_detail .main_img_wrap img {
    /* height: auto; */
    /* opacity: .3; */
    /* transform: scale(.8);
    transition: transform 1.5s; */
    /* width: 300px; */
    /* display:inline-block; */
    /* height:auto; */
    /* margin: auto auto 0; */
  }
  .entry_img_detail .main_img_wrap .slick-current img {
    /* opacity: 1;
    transform: scale(1); */
    /* width: 400px; */
  }
}

.scroll_box .arrow_box {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 12px;
    margin: 0 auto;
    width: 200px;
    display: flex;
    justify-content: space-between;
}

.prev-arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 10px;
    border-top: none;
    border-right: none;
    border-left: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
    transform: rotate(45deg);
    background-color: var(--bg-color);
}
.next-arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 10px;
    border-left: none;
    border-bottom: none;
    border-top: 1px solid var(--line-color);
    border-right: 1px solid var(--line-color);
    transform: rotate(45deg);
    background-color: var(--bg-color);
}

.scroll_box .arrow_box .prev-arrow {
    margin-left: 20px;
}

.scroll_box .arrow_box .next-arrow {
    margin-right: 20px;
}

.scroll_box {
display: flex;
justify-content: center;
}

.scroll_box .dot_box {
width: 100px;
}

.scroll_box .dot_box .slick-dots {
    position: absolute;
    /* right: 0;
    left: 0; */
    top: 10px;
    /* bottom: -40px; */
    text-align: center;
    line-height: 1;
    z-index: 10;
    width: 100px
}
.scroll_box .dot_box .slick-dots li {
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    /* border: 1px solid var(--line-color); */
    border: none;
    border-radius: 50%;
    background: #fff;
}
.scroll_box .dot_box .slick-dots li button {
    content: "";
    position: relative;
    overflow: hidden;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0px 0 0;
    border: none;
}
.scroll_box .dot_box .slick-dots li button:before {
    content: "";
    border: none;
  }

  .scroll_box .dot_box  .slick-dots li button::after {
    content: "";
    border: none;
}
.scroll_box .dot_box  .slick-dots li.slick-active button::after {
    border: none;
}

.scroll_box .dot_box .slick-dots li.slick-active {
    background: var(--line-color);
}
@media screen and (min-width: 769px), print {
    /* templateを上書き */
    .scroll_box .dot_box .slick-dots li button:hover::after {
        background-color: transparent;
        border: none;
    }
}
@media screen and (max-width: 768px) {
}











@media screen and (min-width: 769px), print {
    dl.gallery_detail {
        margin: 10rem 0 2.2rem;
    }

    .contents {
        width: 100%;
    }

    .slick-list {
        /* position: absolute; */
        /* height: 300px;
        bottom: 0; */
    }

    /* 画像とコンテンツ2列を解除して1列にするため、template.cssを上書き */
    .entry_img_detail .main_img_wrap {
        float: none;
        width: 100%;
        /* margin: auto; */
    }
    .entry_img_detail .main_img_wrap + .contents {
        /* margin-left: 0; */
        margin: 12rem auto auto auto;
    }
}


@media screen and (max-width: 768px) {
    dl.gallery_detail {
        margin: 6rem 0 2.2rem;
    }

    /* template.cssを上書き */
    .relation_entry {
        margin-top: 6rem;
    }
}


/* フィルターアイコン */
.filter-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;

    margin: auto 2rem auto 1rem;
}
.filter-icon span {
    position: relative;
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--gold);
    border-radius: 1px;
}
.filter-icon span::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 6px;
    background-color: var(--gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1px;
}

.filter-icon span:nth-child(1)::after {
    left: 20px;
}
.filter-icon span:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 17px;
    width: 2px;
    height: 2px;
    background-color: var(--bg-color);
}
.filter-icon span:nth-child(2)::after {
    left: 9px;
}
.filter-icon span:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 2px;
    background-color: var(--bg-color);
}
.filter-icon span:nth-child(3)::after {
    left: 16px;
}
.filter-icon span:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 13px;
    width: 2px;
    height: 2px;
    background-color: var(--bg-color);
}