textarea#content {
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 18px;
}

.ba_none .box_item .fig_wrap1:after,.ba_none .box_item .fig_wrap1:before,.ba_none .box_item .fig_wrap2:after,.ba_none .box_item .fig_wrap2:before{
    display:none !important;
}
.ba_none .box_item figure {
    clip-path: none !important;
}
.ba_none  .box_item span{
    opacity:0;
}
#page_title {
    height: 400px;
    background-size: cover;
    background-position: center;
    position:relative;
}
section#page_title:after {
    width: 35%;
    height: 100%;
    background:#eea82e;
    position: absolute;
    content: "";
    top: 0;
    left: -180px;
    transform: skewX(-17deg);
}
#page_wrap {
    background: #F7F7F7;
    position: relative;
    z-index: 2;
    padding:3% 5% 10%; 
}
#page_wrap:before {
    width: 100%;
    height: 200px;
    top: -90px;
    left: 0;
    content: "";
    position: absolute;
    background: #f7f7f7;
    transform: skewY(-5deg);
    z-index: -1;
}
#page_title::before {
    width: 100%;
    height: 100%;
    background: #ffca6d;
    position: absolute;
    content: "";
    top: 0;
    mix-blend-mode: multiply;
}
div#page_title_box {
    position: absolute;
    color: #ffffff;
    left: 60px;
    bottom: 100px;
    z-index: 2;
}
#page_title_box p:last-of-type {
    font-family: 'Orbitron';
    font-size: 74px;
    line-height: 70px;
    letter-spacing: 4px;
}
#page_title_box p:first-of-type {
    font-size: 18px;
    letter-spacing: 3px;
}
#content_wrap{
    background:white;
    max-width:1280px;
    margin:100px auto;
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
    position:relative;
}
.cms_wrap{
    width:90%;
    margin: auto;
}
.cate_list {
    min-height: 100px;
    margin-bottom: 50px;
}
.cate_list p {
    transform: rotate( 90deg);
    display: inline-block;
    position: absolute;
    left: -39px;
    font-family: 'Orbitron';
    white-space: nowrap;
    letter-spacing: 2px;
}
.cate_list p span {
    background: #e65c59;
}
.cate_list li {
    width: 30%;
    padding: 0 3px;
}
.cate_list li a {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin: auto;    
    transform: skewX(-15deg);
    background: #1c1c1c;
    color:white;
}
.cate_list li a {
    position: relative;
    padding: 7px 15px;
    box-sizing: border-box;
}
.cate_list li a span{
    transform: skewX(15deg);
    display: block;
}
.cate_list li a:hover {
    background: #707070;
    color:white;
}

.page3{
    counter-reset: box 0;    
}
#cms_2-a .cate_title:before {
      width: 50px;
    height: 100%;
    counter-increment: box 1;
	content: "0"counter(box);
    background: #1c1c1c;
    color: white;
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Oswald';
    z-index: 2;
}
#cms_2-a .cate_title:after {
    width: 30px;
    height: 100%;
    transform: skewX(10deg);
    content: "";
    background: #1c1c1c;
    position: absolute;
    left: 28px;
    bottom: 0;
}
.cate_title {
    position: relative;
    width: 90%;
    box-sizing: border-box;
    border-bottom: 1px solid;
    border-top: 0;
    padding: 5px;
    padding-left: 80px;
    text-align: left;
    display: block;
    margin-left:auto;
    margin-right:auto;
}
.cate_txt1{
    background: #f7f7f7;
    padding: 2%;
    width: 90%;
    box-sizing: border-box;
    margin:auto;
}

/*--------------------------------------------------------------------------*/
@media screen and (max-width:1280px){
    div#page_title_box{
        bottom:140px;
    }
}




/*-----------------------------タブレット----------------------------------*/
@media screen and (max-width:768px){
    #cms_3-f .cate_box .box_item {
        flex-direction: column;
        align-items: flex-start;
    }
    #cms_3-f .box_img {
        padding-right: 0;
        margin-bottom: 20px;
    }
div#page_title_box {
    left: 30px;
    bottom: 120px;
}
#page_title_box p:last-of-type {
    font-size: 40px;
    line-height: 40px;
}
#page_title {
    height: 330px;
}
section#page_title:after {
    width: 60%;
}
.cate_list li a {
    padding: 10px 15px;
    font-size:14px;

}
.cate_list li {
    width: 48%;
}
.cate_txt1{
    padding:5%;
}
}
/*-----------------------------スマホ----------------------------------*/
@media screen and (max-width:667px){
    .cate_list li {
        width: 90%;
    }
    #content_wrap{
    padding: 40px 10px;
    }
    .cms_wrap{
        width:90%;
    }
    #cms_1-a .pager li {
        margin-right: 10px;
        display: none;
    }
    #cms_1-a .pager li:last-of-type {
        display: block;
    }
    #cms_1-a .pager li:first-of-type {
        display: block;
    }
    
    #page_wrap{
        padding: 3% 5% 25%;
    }
    #page_title {
        height: 290px;
    }
    section#page_title:after {
        width: 82%;
    }
    #page_title_box p:first-of-type {
        font-size: 16px;
    }
    #page_title_box p:last-of-type {
        font-size: 28px;
        line-height: 28px;
        letter-spacing: 3px;
    }
    div#page_title_box {
        left: 20px;
    }
    .cate_title{
        width:100%;
    }
    .cate_txt1{
        width:100%;
    }
    ul.cate_list .d_flex.flex_center-left.width_90per.width_100per_tb.flex_center-center_sp.mg_center_sp{
        width:90% !important;
    }
 
}
    
/*------------------------------CMS1-----------------------------*/
#cms_1-a .cate_box{
    margin-top:-100px;
    padding-top:100px;
}
#cms_1-a .cate_box:last-of-type{margin-bottom: 0;}
#cms_1-a .pager li{margin-right: 10px;}
#cms_1-a .pager li:last-of-type{margin-right: 0px;}
#cms_1-a .date{width: 150px;}
.cms_1-a .box_wrap{align-items:flex-start!important}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
	.cms_1-a .cate_box:last-of-type{margin-bottom: 0;border-bottom: none;}
}

/*------------------------------CMS2-----------------------------*/
#cms_2-a .box_item h4{
    font-weight: bold;
    font-size: 18px;
}
#cms_2-a .cate{
	margin-bottom: 100px;
}
#cms_2-a .cate .cate_box:last-of-type{
	border-bottom: none;
}

.cms_2-a{
	position: relative;
}
.cms_2-a .swiper-button-prev,.cms_2-a .swiper-button-next{
	top: 50%;
	transform: translate(0,-50%);
	width: auto!important;
	height: auto!important;
	font-size: 30px;
}
.cms_2-a .swiper-button-prev{
	left: 10px;
}
.cms_2-a .swiper-button-next{
	right: 10px;
}
.cms_2-a .swiper-button-prev, .cms_2-a .swiper-button-next,.cms_2-a .swiper-button-prev,.cms_2-a .swiper-container-rtl .swiper-button-next{
	background-image:none;
}

/*------------------------------CMS3-----------------------------*/

#cms_3-f .cate_title {
    background: #eea92f;
    color: white;
    padding-left: 10px;
    border-left: 5px solid #e65c59;
    border-bottom: 0;
}
#cms_3-f p.box_txt1 {
    border-bottom: 1px dotted black;
    font-size: 20px;
    font-weight: bold;
    color: #1c1c1c;
}
#cms_3-f p.box_txt2{
    padding: 20px;
    background: white;
    box-sizing: border-box;
    font-size: 14px;
}
#cms_3-f h4.box_title{
    color: #1c1c1c;
    font-size: 18px;
    margin-bottom:10px;
}
#cms_3-f .sub_cate{
    background: #fffaeb;
    padding: 50px;
}
.sub_cate_title {
    padding: 5px;
    padding-left: 10px;
    color: #e65c59;
}
#cms_3-f .cate>.sub_cate:first-of-type {
    margin-top: 50px;
}


#cms_3-f .cate>figure{
    height:auto !important;
    padding-top:48%;
}

#cms_3-f .sub_cate figure {
    height: auto !important;
    padding-top: 30%;
}
#cms_3-f .sub_cate figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#cms_3-f .box_img figure{
    padding-top: 70%;
}
#cms_3-f .box_img {
    padding-right: 20px;
}
#cms_3-f .box_wrap{
	justify-content: flex-start;
}
#cms_3-f .cate_box {
	width: 90%;
	margin: 2%;
    margin-left:auto;
    margin-right:auto;
	padding: 0 5px;
	box-sizing: border-box;
}
#cms_3-f .cate_box:empty{
	border-bottom: none;
}
.cms_3-f .box_wrap{
	justify-content: flex-start;
}
.cms_3-f .cate_box {
	width: 46%;
	margin: 2%;
	padding: 0 5px;
	box-sizing: border-box;
}
.cms_3-f .cate_box:empty{
	border-bottom: none;
}
@media screen and (max-width:768px){
    #cms_3-f .sub_cate_wrap{
        flex-direction:column;
    }
    .sub_cate_item,.sub_cate_img1{
        width:100%;
    }
    .sub_cate_item{
        padding-right:0;
        order:2;
        margin-top:30px;
    }
    .sub_cate_img1{
        padding-top:60% !important;
    }
    #cms_3-f .cate_title{
        width:100%;
    }
    #cms_3-f .cate_box {
        width: 100%;
        margin-bottom:30px;
    }
    #cms_3-f h4.box_title{
        font-size: 16px;
    }
    #cms_3-f p.box_txt1{
        font-size: 18px;  
    }
}
@media screen and (max-width: 667px){
	#cms_3-f .cate_box {
		margin: 5px;
	}
    #cms_3-f .sub_cate {
        padding: 20px;
    }
    .sub_cate figure{
        margin-top:0;
    }
    #cms_3-f .cate>.sub_cate:first-of-type {
        margin-top: 30px;
    }
    #cms_3-f .cate_title {
        margin-bottom: 20px;
    }
    #cms_3-f .cate_box {
        margin-bottom: 30px;
    }
    #cms_3-f h4.box_title{
        margin-bottom:5px;
    }
}

/*------------------------------CMS4-----------------------------*/
#cms_2-b .cate_title {
    width: 100%;
    padding-left: 20px;
    font-size: 22px;
    border-bottom: 0;
    border-left: 8px solid #f4b037;
}
#cms_2-b .cate_box {
    background: #fffcf7;
}
#cms_2-b h3.box_title1 {
    color: #1c1c1c;
    font-weight: bold;
}
@media screen and (max-width:667px){
    #cms_2-b .cate_box {
        padding: 10px;
    }
    #cms_2-b .cate_box figure {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #cms_2-b .cate_title{
        font-size: 18px;
    }
}




/*------------------------------CMS5-----------------------------*/
#works #box_wrap{
    padding-top:20px;
}
.page6{
    counter-reset: box 0;    
}
#works .cate_title:before {
    width: 50px;
    height: 100%;
    counter-increment: box 1;
    content: "0"counter(box);
    background: #1c1c1c;
    color: white;
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Oswald';
    z-index: 2;
}
#works .cate_title:after {
    width: 30px;
    height: 100%;
    transform: skewX(10deg);
    content: "";
    background: #1c1c1c;
    position: absolute;
    left: 28px;
    bottom: 0;
}
#works figure {
    padding-top: 65%;
}

section#works {
    background: white;
    padding: 5%;
    position: relative;
    padding-bottom: 10%;
    margin-top: -2px;
}

#works .cate_box {
    width: 90%;
}

#works #box_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#works .con_title {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 70px;
    color: #1e1e1e;
    margin-left: 0;
}

#works .con_title p.j_title {
    font-size: 22px;
}

#works .con_title p.e_title {
    font-size: 80px;
    font-weight: 100;
    letter-spacing: 8px;
    line-height: 80px;
}

#works .box_item figure {
    clip-path: polygon(20% 0%, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}

#works .box_item span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 30px 15px;
    border-color: transparent transparent #1e1e1e transparent;
    transform: rotate(90deg);
}

.fig_wrap1,
.fig_wrap2 {
    position: relative;
}


.fig_wrap1:before {
    content: "";
    position: absolute;
    width: 28%;
    height: 28%;
    z-index: 2;
    background: rgb(140 140 140);
    left: -4px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    top: -4px;
}

.fig_wrap2:before {
    content: "";
    position: absolute;
    width: 28%;
    height: 28%;
    z-index: 2;
    background: #e65c59;
    left: -4px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    top: -4px;
}

.fig_wrap1:after {
    content: "Before";
    position: absolute;
    transform: rotate(90deg);
    right: -47px;
    top: 24px;
    font-size: 16px;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    color: black;
}

.fig_wrap2:after {
    content: "After";
    position: absolute;
    transform: rotate(90deg);
    right: -38px;
    top: 16px;
    font-size: 16px;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    color: black;
}

#works .box_item {
    flex-wrap: nowrap;
    padding: 0 20px;
}

section#works::before {
    width: 100%;
    height: 46%;
    background: #f4b037;
    position: absolute;
    content: "";
    left: 0;
    top: 30%;
    transform: skewY(-5deg);
}
@media screen and (max-width:768px){
    #works .cate_title{
        width:100%;
    }
    #works .cate_box {
        width: 100%;
    }
    #works .box_item{
        padding:0;
    }
   
}
@media screen and (max-width:667px){
    #works .box_item span {
        transform: rotate(180deg);
        margin: 10px;
    }
}

/*-----------------------------------------------------------会社情報----------------------------*/
.page7 .box_wrap{
    align-items: flex-start;
}
.page7 .box .box_item:first-child {
    padding: 5px 15px;
    transform: skewX(-15deg);
}
.page7 .box .box_item:first-child h3{
    transform: skewX(15deg);
}
.page7 .box {
    width: 48%!important;
}
.page7 .box_item.pd_20px.pd_t-15px_sp.pd_b-15px_sp p {
    font-size: 18px;
}
@media screen and (max-width:667px){
    .page7 .box {
        width: 100%!important;
    }
}



/*-----------------------------------------------------------お問い合わせ----------------------------*/

.fa-check-square:before {
    content: "\f14a";
}
.txt_red {
    color: #e65c59;
}
.page8 .border_color1 {
    border-color: #f4b037;
}
i.far.fa-circle.txt_color1.mg_r-5px {
    color: #f4b037;
}
.mail_top{    
    text-align: center;
}
#tel_contact {
    border-radius: 0;
    margin-bottom: 40px;
}
@media screen and (max-width:768px){
    .mail_top{    
        text-align:left;
    }
}

/*-----------------------------------------------------------プライバシーポリシー----------------------------*/
.page9 span.en_font.font_14up.font_12up_sp {
    font-family: 'Oswald';
}
.page9 .box a {
    background: #e65c59;
    border: none;
}
.page9 .box a:hover{
    background: #ef9e1d;
    color:white;
}


/*-----------------------------------------------------------サイトマップ----------------------------*/

.more a {
    overflow: hidden;
    display: block;
    padding: 15px 0;
    width: 50%;
    text-align: center;
    position: relative;
    transition: .2s ease-in-out;
}
.page10 .more a {
    width: 100%;
    font-family: 'Orbitron';
    letter-spacing: 3px;
    padding: 10px 20px;
    font-size: 18px;
    transform: skewX(-15deg);
    box-sizing: border-box;
}
.page10 .more a span{
    transform: skewX(15deg);
    display:block;
}
.page10 .more a:hover{
    background: #e65c59;
}