*, *:before, *:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#wrapper>header ul.l-header__nav_list .l-header__nav_link {
    box-sizing: unset;
}

html, body {
    color: #444 !important;   
    margin: auto;
    overflow: auto;
}

.case_section{
    margin-top: 50px;
}

.case_inner {
    width: 75%;
    max-width: 1440px;
    /* margin: 118px auto 184px; */
    margin: 0px auto 100px;
}

.contents_wrapper {
    width: calc(100% - 330px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.case_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.case_wrapper_inner {
    width: 25%;
}

.case_wrapper_inner .content {
    padding: 15px;
}

.modal_case {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.modal_bg {
    background: rgba(0, 0, 0, 0.6);
    min-height: 100vh;
    position: absolute;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
}

.modal_content {
    background: #fff;
    left: 50%;
    padding: 30px 20px 20px 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    max-width: 100%;
    z-index: 1000;
    max-height: 90%;
    overflow: scroll;
    border-radius: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 650px;
}

.modal_content_inner {
    overflow: revert;
    border-radius: 5px;
    width: 100%;
    margin: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal_content_inner .flex {
    margin: 0;
}

.modal_content_inner .flex {
    margin: 0;
}

.flex {
    display: flex;
}

.modal_content .modal_img {
    width: 60%;
    margin: 0 auto 30px;
    margin: 0;
}

.modal_content .modal_img+div {
    width: 40%;
    padding: 10px 30px 10px 20px;
}

.modal_text {
    height: 550px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.modal_content h5 {
    font-size: 1rem;
    margin: 8px 0px;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.case_title {
    text-align: center;
    font-size: 14px;
    background: #ffa182;
    color: #fff;
    padding: 10px;
    line-height: 1.5;
    margin-bottom: 0;

    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-weight: 500;
}

.bnr_modal_open {
    text-decoration: none;
}

a.bnr_modal_close::after {
    content: '×';
}

.bnr_modal_close::after {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 35px;
    color: #ccc;
}

.case_menu_list {
    display: flex;
    flex-wrap: wrap;
}

.case_menu_list_item a {
    display: block;
    font-size: 12px;
    padding: 5px 15px 3px;
    border: 1px solid #ddd;
    border-radius: 30px;
    margin: 0 5px 10px 0;
    transition: 0.3s;
}

.modal_slider .slick-next {
    top: 50%;
    right: -5px;
}

.modal_slider .slick-prev {
    top: 50%;
    /* left: 0; */
    left: -10px;
}

.slick-next:hover:before {
    opacity: 1;
}

.modal_slider .slick-dots {
    bottom: -25px;
}

/* .modal_content .modal_img+div>div {
    padding: 8px 0px 8px 20px !important;
} */

.simplebar-offset {
    padding: inherit !important;
}


.text_box {
    margin-bottom: 30px;
    text-align: left;
}

.case_text {
    font-size: 14px;
}

.bold {
    font-weight: bold;
}

.slick-prev:before,
.slick-next:before {
    font-size: 25px !important;
}

.slick-prev,
.slick-next {
    width: 20px !important;
    height: 35px;
    z-index: 1001;
}

.sp_block {
    display: none;
}

.h4_case_title {
    text-align: left;
    font-size: 18px;
    font-weight: 600;
}


/*スクロールバーを非表示*/

.modal_content {
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal_content::-webkit-scrollbar {
    display: none;
}


/* .modal_text::-webkit-scrollbar {
    width: 5px;
} */


/* .modal_text::-webkit-scrollbar-thumb {
    background-color: rgb(72 72 72 / 50%);
    border-radius: 10px;
} */


/* .modal_text::-webkit-scrollbar-track {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgb(0 0 0 / 10%);
} */

.modal_content_inner::-webkit-scrollbar {
    display: none;
}

.m_t_10 {
    margin-top: 10px;
}

.m_t_20 {
    margin-top: 20px;
}

.m_b_20 {
    margin-bottom: 20px;
}

.m_t_100 {
    margin-top: 100px;
}

.p_t_100 {
    padding-top: 100px;
}

.bg_gray {
    background-color: #fbfbfb;
    padding-bottom: 200px;
}

.case_category_list {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    display: flex;
    flex-wrap: wrap;

    align-items: center;
}

.case_category {
    text-align: center;
    padding-right: 15px;

    font-size: 18px;
    font-weight: 500;
}

.case_category a {
    display: block;
    padding: 5px 10px 3px;
    border: 1px solid #ffa182;
    color: #222;
    font-size: 12px;
}

.case_category.active a {
    background: #ffa182;
}

.case_category.active a {
    color: #fff;
}

.cat1_disp,
.cat2_disp {
    display: block;
}

.cat1_nodisp,
.cat2_nodisp {
    display: none;
}

body.no_scroll {
    overflow: hidden;
}


/*スクロールバー*/

.simplebar-scrollbar::before {
    width: 5px;
}


/*20220922*/
.color_case {
    color: #ffa182;
}

.arrow_l {
    padding-left: 20px;
}

.h5_content_text {
    position: relative;
    font-size: 18px;
font-weight: 600;
margin: 8px 0px;
}

.arrow_l::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15.6px;
    border-color: transparent transparent transparent #ffa182;
}

.simplebar-track.simplebar-vertical {
    padding: 0 !important;
}

.simplebar-wrapper {
    width: auto !important;
}
.simplebar-scrollbar {
    top: 10px;
}


.badge_wrap {
	position: absolute;
	bottom: 0;
	right: 0;
	/* width: 50%; */
	width: 25%;
}

.relative {
	position: relative;
}

.modal_slider_item .badge_wrap {
	width: 20%;
}

.case_category:nth-child(1) {
	width: 70px;
	text-align: left;
}

.pv_text {
	text-align: left;
	padding: 0 10px;
	margin-bottom: 20px;
}

.rank_text_sp {
	font-weight: bold;
	color: #ffa182;
	font-size: 20px;
}

body.no_scroll {
    overflow: hidden;
}

#case .slick-prev:before, .slick-next:before {
    color: rgba(0, 0, 0, 0.6);
    font-size: 35px;
}

#case .slick-prev, .slick-next {
    height: 35px;
}


.case_bnr {
    margin-bottom: 30px;
}
.case_bnr img.block_pc {
    width: 80%;
    margin: 0 auto;
}

.m_b_20 {
    margin-bottom: 20px !important;
}

.block_pc {
    display: block;
}
.block_sp {
    display: none;
}

.bnr_modal_close{
    font-family: 'Noto Sans', "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Osaka, Sans-Serif;
    line-height: 1.8;
}


@media screen and (max-width: 900px) {
    .p_t_50_sp {
        padding-top: 50px;
    }
    .m_t_30_sp {
        margin-top: 30px;
    }
    .contents_wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .case_wrapper {
        padding: 0 5px 30px;
        margin: 0;
    }

    .case_wrapper_inner {
        width: 50%;
    }

    .case_wrapper_inner .content {
        padding: 5px 5px 0px;
    }

    .case_title {
        font-size: 12px;
    }

    .modal_content_inner .flex {
        flex-wrap: wrap;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 40px;
    }

    .modal_content .modal_img+div {
        width: 100%;
    }

    .modal_content .modal_img {
        width: 100%;
        margin-bottom: 0px;
        /*height: 320px;*/
        /*height: 300px;*/
    }

    .modal_text {
        overflow: scroll;
        /*height: calc(80vh - 360px);*/
        height: 290px;
        overflow-x: hidden;
        padding-right: 10px;
    }

    .modal_content .modal_img+div>div {
        padding: 0px 5px;
    }

    .h4_case_title {
        /* font-size: 1.2rem; */
        font-size: 18px;
    }

    .modal_content h5 {
        font-size: 1rem;
    }

    .bnr_modal_close::after {
        top: 10px;
        right: 0px;
        border-radius: 5px;
        line-height: 1;
        z-index: 1000;
        background: #fff;
        padding: 0px 8px;
        font-size: 25px;
    }

    .sp_block {
        display: block;
    }

    .text_box {
        margin-bottom: 10px;
        padding-right: 15px;
    }

    .modal_case {
        height: 100vh;
    }

    .modal_content {
        padding: 15px;
        width: 95%;
        /*height: 80vh;*/
        height: 95%;
        max-height: 650px;
        overflow: hidden;
    }

    .case_category_list {
        padding: 0 10px;
        margin-bottom: 10px;
    }

    .case_category {
        text-align: center;
        padding-right: 5px;
    }

    .bnr_modal_close::after {
        top: 0px;
        right: 0px;
        border-radius: 5px;
        line-height: 1;
        z-index: 1000;
        background: #fff;
        padding: 5px;
    }

    .modal_img img {
        max-width: 80%;
        margin: 0 auto;
    }

    .slick-prev,
    .slick-next {
        width: 25px !important;
    }

    .bg_gray {
        padding-bottom: 80px;
    }

    .simplebar-scrollbar.simplebar-visible {
        display: none!important;
    }

    /*スクロールバーを非表示*/

    .modal_content {
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .modal_content::-webkit-scrollbar {
        display: none;
    }
    

	.badge_wrap {
		width: 30%;
	}

	.modal_slider_item .badge_wrap {
		right: 30px;
	}

	.rank_text_sp {
		font-size: 16px;
	}

    .block_pc {
        display: none;
    }

    .block_sp {
        display: block;
        padding: 0 5px;
    }

    .case_section {
        margin-top: 0px;
    }
    .case_inner {
        width: 100%;
        max-width: 100%;

        margin: 0px auto 0px;
    }
    .case_category:nth-child(1) {
        width: 50px;        
    }

    .case_category {
        font-size: 14px;     
    }

    #wrapper.wrapper_n .modal_img img {
        max-width: 80%;
        margin: 0 auto;
    }

    #case .slick-dotted.slick-slider {
        margin-bottom: 30px;
    }

    #case .slick-slider{
        margin-bottom: 30px;
    }

    .h5_content_text {    
        font-size: 16px;    
    }
}
