@charset "utf-8";
/*
Template: 
Theme Name: 
*/

/*----------------------------------------------------
	color area(PC)
----------------------------------------------------*/

#gray_area {
    min-width: 1200px;
    overflow: hidden;
    background: url(/wp-content/uploads/main_sub_bg.png) repeat;
    padding: 60px 0 10px;
}

#gray_area2 {
    min-width: 1200px;
    overflow: hidden;
    background: url(/wp-content/uploads/main_sub_bg2.webp) repeat;
    padding: 60px 0 10px;
}


@media screen and (max-width: 768px) {

#gray_area,
#gray_area2 {
    min-width: 100%;
    padding: 50px 0 10px;
}

}


/*----------------------------------------------------
	ボックス(PC)
----------------------------------------------------*/

.box {
    clear: both;
    width: 100%;
    height: auto;
    margin: 0 auto 60px;
    position: relative;
}

.box_top {
    clear: both;
    width: 1170px;
    height: auto;
    margin: 0 auto 50px;
    overflow: hidden;
    position: relative;
}

.box_top_tc {
    clear: both;
    width: 1170px;
    height: auto;
    margin: 0 auto 40px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.box_bb {
    padding: 30px 20px 30px 30px;
    margin: 40px 0 20px;
    background: url(/wp-content/uploads/main_sub_bg.png) repeat;
}

.border_image {
    background: url(/wp-content/uploads/line.png) bottom left repeat-x;
    padding-bottom: 35px;
    margin-bottom: 35px;
}

.box_lr {
    clear: both;
    height: auto;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
    align-content: space-between;
}

.box_l50 {
    width: 48%;
}

.box_l370 {
    width: 370px;
}

.box_l370_top {
    width: 370px;
}

.box_l840 {
    width: 840px;
}

.box_r50 {
    width: 48%;
}

.box_r290 {
    width: 290px;
}

.box_r440 {
    width: 440px;
}

.box_r440_bottom {
    width: 440px;
}


/*----------------------------------------------------
	ボックス(スマートフォン)
----------------------------------------------------*/

@media screen and (max-width: 768px) {

.box,
.box_top {
    width: 85%;
    height: auto;
    text-align: left;
}

.box_top_tc {
    width: 85%;
    height: auto;
    margin: 0 auto 40px;
    text-align: left;
}

.box_lr {
    clear: both;
    height: auto;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: wrap;
}

.border_box {
    padding: 0 7% 20px 7%;
    margin: 30px 0 50px;
}

.box_l50 {
    width: 100%;
    margin-bottom: 50px;
}

.box_l370 {
    width: 100%;
    margin-bottom: 15px;
}

.box_l840 {
    width: 100%;
}

.box_r50 {
    width: 100%;
}

.box_r290,
.box_r440 {
    width: 100%;
}

.box_l370_top {
    width: 100%;
    order: -1;
    margin-bottom: 15px;
}

.box_r440_bottom {
    width: 100%;
}

}