/* 
selectボックスのスタイルを一度リセット
*/
select {
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	font: inherit;
	outline: none;
}

.sec_d-tag {
    border-bottom: 0;
}
.sec_d-tag h1.ttl{
    width: 100%;
    text-align: left;
}
/* 
tag表示領域
*/
.search-result-show {
    width: 100%;
}
.scroll,.scroll-cate {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}
.tag-box {
    display: flex;
    flex-wrap: nowrap;
    gap:10px;
    max-width: 9999999px;
    width: auto;
}
.tag-box > a,.search-result-show .tag-box > div {
    display: flex;
    align-items: center;
    padding: 6px 15px;
    cursor: pointer;
    border:1px solid #DADCDC;
    border-radius: 50px;
    font-size: 0.81rem;
    gap:3px;
    font-weight: 600;
    white-space: nowrap;
}
.tag-box > a.tag,.search-result-show .tag-box > div.tag {
    background-color: #00883233;
    display: flex;
    align-items: center;
    gap:3px;
}
.tag-box > a.tag::before,.search-result-show .tag-box > div.tag::before {
    content:'';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icons/icon_check_black.svg);
    background-repeat: no-repeat;
    background-position: center left ;
}
.tag-box > div > .delete {
    border-left: 1px solid #00000033;
    padding-left: 7px;
    margin-left: 3px;
}
.search-result-show .flex {
    display: flex;
    border:1px solid #DADCDC;
    border-radius: 10px;
    padding: 7px;
    position: relative;
}
.search-result-show .flex .free-word-box {
    position: absolute;
    top:-1px;
    left:37px;
    width: 0px;
    z-index: 1;
    transition: .2s;
}
.search-result-show .flex .free-word-box input {
    padding:8px 0;
    border:0;
    padding-right: 0 !important;
}
.search-result-show .flex .free-word-box.active {
    width: calc(100% - 36px);
}
.search-result-show .flex .free-word-box.active input {
    padding:8px;
    padding-right: 8px !important;
    border: 1px solid #ddd;
}
.search-result-show .search-free-btn {
    display: flex;
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    background: #fff;
    border:none;
    cursor: pointer;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.25));
    border-radius: 8px;
    padding:0 2px;
}
@media print, screen and (max-width: 767px) {
    .search-result-show .flex .free-word-box {
        top:0px;
    }
    .search-result-show .flex .free-word-box input {
        padding: 9px 0;
    }
    .search-result-show .flex .free-word-box.active {
        width: calc(100% - 36px);
    }
    .search-result-show .flex .free-word-box.active input {
        padding: 9px;
    }
}

/* 
    tab切り替え
*/
.main_content .tab-buttons {
    padding: 4px 5px;
    display: flex;
}
.main_content .invisible:has(.tab-buttons.postlist) {
    position: relative;
}
.main_content .invisible:has(.tab-buttons.postlist)::before {
    content: "";
    display: block;
    width: 70px;
    height: 100%;
    position: absolute;
    right:0;
    top:0;
    background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}
.main_content .tab-buttons > .subttl {
    flex-basis: calc(100% / 3);
    padding: 5px 0;
    color: #33333380;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border-bottom: 1px solid #dcdcdc;
}
.main_content .scroll .tab-buttons > .subttl p,
.main_content .scroll-cate .tab-buttons > .subttl p{
    white-space: nowrap;
    padding: 0 10px;
}
.main_content .tab-buttons > .subttl.active {
    color: #333;
    position: relative;
}
.main_content .tab-buttons > .subttl.active::after {
    content: "";
    display: block;
    height: 5px;
    width: 100%;
    border-radius: 10px;
    background-color: #008832;
    position: absolute;
    bottom: -6px; 
}
.main_content .tab-buttons.postlist > .subttl.active::after {
    bottom: -3px; 
}
.main_content .tab-contents {
    visibility: hidden;
}
.main_content .tab-contents > div table {
    margin-top: 23px;
}

/* 
    sortボックス
*/
.sort_box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 23px;
    margin-bottom: 20px;
}
.sort_box select {
    padding: 10px 33px 10px 12px;
    border: 1px solid #DADCDC;
    border-radius: 10px;
    background: #fff url(../images/arrows/arrow-down-black.svg) no-repeat center right 13.5px;
    background-size: 10px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    width: 100%;
    text-align: left;
    flex-basis: 115px;
}
.sort_box select:focus-visible{
    outline: -webkit-focus-ring-color auto 1px;
}
/* 
    検索結果一覧
*/
.new_article_list {
    width: 360px;
    margin: 0 auto;
    gap: 50px 20px;
}
.sort_box + table {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .new_article_list {
        width: auto;
    }
}


.new_article_list .img_wrap img{
    aspect-ratio: 1 / 1 ;
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: #dadcdc;
    object-position: center;
}
@media screen and (max-width: 468px){
    .new_article_list .img_wrap img{
        height: auto;
    }

}
.new_article_list .img_wrap .aspect-img{
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    background-color: transparent;
}
.fav_icon.harts {
    width: 21px;
    height: 21px;
    display: block;
    background: url(../images/icons/bookmark2.svg) center center no-repeat;
}
.new_article_list .slide-desc .status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.new_article_list .slide-desc .status .icon_list {
    display: flex;
    gap: 0;
}
.icon_list img{
    width: 22.32px;
    height: 22.32px;
}
.new_article_list .slide-desc {
    padding-top: 12px;
}
.new_article_list .slide-desc .title_logbum.desc {
    -webkit-line-clamp: 3;
}
span.like_count {
    text-align: center;
    width: 100%;
    display: block;
}

/* 
    関連スポット
*/
.icon_sec08.icon_green_marker {
    display: block;
    width: 18px;
    height: 20px;
    background: url(../images/icons/icon-mark.svg) center center no-repeat;
    background-size: 100%;
}
#search-spots-result .spot-list .slide-desc {
    display: flex;
    align-items:stretch;
    width: 100%;
    gap:8px;
    border:1px solid #DADCDC;
    margin-top: 17px;
    padding:7px 0;
    border-radius: 5px;
}
#search-spots-result .spot-list .slide-desc .spot-info a{
    display: block;
}
#search-spots-result .spot-list .slide-desc .spot-info,
#search-spots-result .spot-list .slide-desc .camp-site-name {
    flex:1;
}
#search-spots-result .spot-list .slide-desc .camp-site-name {
    display: flex;
    align-items: center;
}
#search-spots-result .spot-list .slide-desc > .redirect_to_google_map_box {
    flex-basis: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-spots-result .spot-list .slide-desc .bookmark_spot {
    flex-basis: 51px;
    border-left: 1px solid #DADCDC;
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-spots-result .spot-list .slide-desc .fav_icon {
    margin: 0 auto;
    width: 22px;
    height: 28px;
}
#search-spots-result .spot-list .slide-desc .fav_icon + span {
    display: block;
    text-align: center;
}
#search-spots-result .spot-list .slide-desc .spot-info .redirect_to_google_map {
    font-weight: 600;
}
#search-spots-result .spot-list .slide-desc .spot-info span.line_break {
    font-size: 0.75rem;
}
/* ページネーションボタン */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    position: relative;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled {
    display: none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    margin-right: 14px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    margin-left: 14px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous::after,
.dataTables_wrapper .dataTables_paginate .paginate_button.next::after {
    content:"";
    display: block;
    width: 1px;
    height: 100%;
    border-right:1px solid #DADCDC;
    position: absolute;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous::after {
    right: -11px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.next::after {
    left: -11px;
}

/* 
    記事一覧
*/
.main_content h1 {
    margin-bottom: 12px;
}
.sec_d-cat {
    border:none;
}
/* .main_content .search-box {
    display: flex;
} */
/* .main_content .search-box button {
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: 1px solid #ddd;
    border-right:none;
	border-radius: 10px 0 0 10px;
	font: inherit;
	outline: none;
    cursor: pointer;
} */
/* .main_content .search-box input {
    border-radius: 0 10px 10px 0;
    border-left: none;
}
.main_content .search-box input:focus {
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff !important;
	border: 1px solid #ddd;
    border-left:none;
	font: inherit;
	outline: none;
} */
.main_content .search-box .search_cat_submit {
    left:8px;
}
.main_content .search-box input[type="text"] {
    padding-left: 40px;
    padding-right: 8px !important;
}
.main_content .search-box .search_input_group {
    margin-bottom: 16px;
}

.img-prof {
    align-items: flex-start;
}
.img-prof::before {
    content:'';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #008832;
    border-radius: 50%;
    flex-basis: 8px;
    transform: translateY(7px);
}
.img-prof small {
    flex:1;
}
.new_article_list .status {
    align-items: flex-start;
}
.new_article_list .status .favorites {
    width: auto;
    height: auto;
    background: none;
    flex-basis: 15px;
    position: static;
}
.new_article_list .status .img-prof {
    transform: translateY(2px);
}
.new_article_list .status .img-prof small {
    word-break: break-all;
}
.scroll + .sec_d-cat {
    margin-top: 27px;
    padding-bottom: 0;
    margin-bottom: 27px;
}
.fav_icon.harts.active {
    background: url(../images/icons/bookmark2-selected.svg) center center no-repeat;
    background-size: contain;
}
.tab-contents.noscroll {
    overflow-x: hidden;
}