@charset "utf-8";
.jirei_type_box {
    background-image: url(../images/jirei_type_waku2.svg);
    background-repeat: no-repeat;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    min-height: 250px;
    background-size: 100% auto;
}
.jirei_type_box.maTop {
    margin-top: 6.92%;
}
.jirei_h2 {
    text-align: center;
}
.jirei_h2 img {
    margin-top: -80px;

}
.jirei_box_inner {
    padding-top: 10%;
    padding-right: 2.3%;
    padding-left: 2.3%;
    padding-bottom: 2.3%;
}
.jirei_box_ul1 {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.jirei_box_ul1 li {
    width: 22.69%;
    background-color: #EEEEEE;
    text-align: center;
}
/*.jirei_box_ul1 li:nth-child(2)  {
    background-color: #ffe000;
}*/
.jirei_box_ul1 li.on  {
    background-color: #ffe000;
}
.jirei_box_ul1 li a {
    line-height: 48px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    display: block;
}
.jirei_Pnation_ul {
    padding: 0px;
    margin-top: 2.3%;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 700;
}
.jirei_arro {
    width: 40px;
    margin-left: 8px;
    margin-right: 8px;
    vertical-align: middle;
    margin-bottom: 4px;
}

.jirei_Pnation_ul li {
    margin-left: 16px;
    margin-right: 16px;
}
.jirei_Pnation_ul li a {
    text-decoration: none;
}
.jirei_Pnation_ul li a em {
    font-style: normal;
    background-image: url(../images/yellow_border.svg);
    background-repeat: no-repeat;
    background-position: 0% 90%;
}
#jirei_case_wrap {
    margin-top: 5.38%;
    
}
.case_top_box {
	background-image: url(../images/mainV_bottom.svg),
		url("../images/flag_left.svg"),
		url("../images/flag_right.svg");
    background-repeat: no-repeat;
    background-position: center top,4% 53%,96% 53%;
    background-size: 100% auto,15% auto,15% auto;
    padding-top: 9.23%;
}

.case_photo1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    margin-top: 40px;
}
.case_detail_wrap {
    margin-top: 4.69%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.case_detail_ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    border-top: 3px solid #070707;
}
.case_detail_ul li {
    border-bottom: 1px solid #070707;
    font-size: 16px;
    font-weight: 500;
    padding-top: 16px;
    padding-bottom: 16px;
    box-sizing: border-box;
}
.arrow_up {
    width: 24px;
    margin-left: 24px;
    margin-right: 8px;
}

.case_detail_ul li strong {
    font-weight: 800;
}

.case_detail_ul li:nth-child(1)  {
    /*width: 33.33%;*/
    width: 50%;text-align: center;
}
.case_detail_ul li:nth-child(2)  {
    /*width: 33.33%;*/
    width: 50%;text-align: center;
    border-left: 1px solid #000000;
}
.case_detail_ul li:nth-child(3)  {
    /*width: 33.33%;*/
    width: 100%;
    text-align: center;
}
.case_detail_ul li:nth-child(4)  {
    width: 100%;
}
.case_detail_ul li:nth-child(5)  {
    width: 100%;
}
.case_detail_text1 p {
    text-align: center;
    color: #D50003;
}
.case_detail_text1 {
    border-bottom: 3px solid #070707;
    font-size: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
}




.case_photo1 p img {
    width: 100%;
}


.case_h3_1 {
    text-align: center;
    margin-top: 3.84%;
    font-size: 19px;
    line-height: 1.8em;
}

/*
.case_h2 {
    text-align: center;
    background-image: url(../images/case_h2_top1.svg);
    background-repeat: no-repeat;
    background-position: center top;
    padding-top: 32px;
}

.case_h2_abc {
    font-size: 48px;
    padding-top: 32px;
    font-family: 'Niconne', cursive;
}
.case_h2_under {
    display: block;
    background-image: url(../images/sekokensu.svg);
    background-image: url(../images/case_h2_ribbon1.svg),
        url(../images/case_h2_ribbon2.svg);
    background-position: center top,
        center bottom;
    background-repeat: no-repeat,
        no-repeat;
    margin-top: 6px;
    line-height: 32px;
    padding-bottom: 16px;
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    padding-top: 3px;
}
*/
.case_befo_af_ul {
    padding-top: 0px;
    padding-right: 5.38%;
    padding-left: 5.38%;
    padding-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    list-style-type: none;
    max-width: 1080px;
    margin-top: 8.46%;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
}
.case_befo_af_ul li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.case_befo_af_ul li img {
    width: 100%;
}
.case_befo_af_ul li:nth-child(1)  {
    border: 1px solid #0B0B0B;
    width: 45.38%;
    position: relative;
}
.case_befo_af_ul li:nth-child(2)  {
    width: 5.38%;
    display: flex;
    align-items: center;
}
.case_befo_af_ul li:nth-child(3)  {
    border: 1px solid #0B0B0B;
    width: 45.38%;
    position: relative;
}
.case_befo_af_ul li .case_b_a_img {
    position: absolute;
    top: -12.3%;
    right: -6.15%;
    width: 40.76%;
}
.case_chenge {

}
.case_chnge_wrap {
    max-width: 256px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.57%;
    background-color: #D50003;
    margin-top: 4.69%;
}
.case_chnge_wrap p img {
    vertical-align: middle;
    margin-left: 8px;
    margin-right: 8px;
}

.case_chnge_wrap p {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    font-family: 'Jost', sans-serif;
}
.case_h2.ma_top1 {
    margin-top: 5.38%;
}
.case_h2_under_jp em {
    color: #D50003;
    font-style: normal;
}
.gallery_LB_ul li a img {
    width: 100%;
}
.gallery_LB_ul li {
    width: 31.53%;
    margin-right: 2.69%;
    margin-bottom: 2.69%;
}
.gallery_LB_ul li:nth-child(3n)  {
    margin-right: 0px;
}
.gallery_LB_ul {
    padding-top: 0px;
    padding-right: 5.38%;
    padding-left: 5.38%;
    padding-bottom: 0px;
    margin-top: 4.69%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    max-width: 1080px;
}
.reform_h2_sp {
    display: none;
}
