.mgb30 {
    margin-bottom: 30px!important;
}
.mgb50 {
    margin-bottom: 50px!important;
}
.title {
     margin: 0; 
}
#main h4 {
    font-size: 1.2rem;
	line-height: 1.3;
    margin-top: calc(40px - 0.6rem);
    margin-bottom: calc(20px - 0.75rem);
    padding-bottom: 0.3rem;
}
.maindesign .col2-1{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.maindesign .col2-1 div{
    width: calc( 50% - 10px);
	display: flex;
	flex-direction: column;
}
.maindesign .col2-1 p{
	flex: 1;
}
@media screen and (max-width: 767px){

.maindesign .col2-1 div {
    width: 100%;
}
}
#main .cols2 {
	display: flex;
	justify-content: space-between;
}
#main .cols2 .img_container {
	width: 40%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#main .cols2 .text_container {
	width: 58%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
#main .topBtn ul::before {
	content:"";
	display: block;
	width:24%;
	order: 1;
}
#main .topBtn ul::after {
	content:"";
	display: block;
	width:24%;
}
#main .mgt-15 {
	margin: 15px 0;
}
#main .mbgc_green {
background-color: #1e91d1;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 1.0rem 0.5rem;
    text-align: center;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}
#main .mbgc_gray {
    background-color: #999;
    color: #fff;
	font-weight: bold;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
		text-align: center;
	margin-top: 10px;

}
#main .osusume-contents{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#main .osusume-contents a{
	display: block;
	width: 100%;
	color: #333;
	text-decoration: none;
	background-color: #ccc;
	margin-top: 30px;
}
#main .osusume-contents a:nth-child(-n + 2){
	margin-top: 0;
}
#main .osusume-contents a img{
	display: block;
}
#main .osusume-contents .osusume-contents--text-area{
	padding: 10px;
}
#main .osusume-contents--text-area p{
	line-height: 1.3;
	text-align: justify;
}
#main .osusume-contents--text-area .osusume-contents--text-area__title{
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 5px;
	text-decoration: underline;
}

#main .category-list{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 30px;
}
#main .category-list::before{
	content: "";
	display: block;
	width: 24%;
	order: 1
}
#main .category-list::after{
	content: "";
	display: block;
	width: 24%;
}
#main .category-list a{
	width: calc(24% - 22px);
	margin-top: 20px;
	padding: 10px;
	display: block;
	border: 1px solid #ccc;
	border-radius: 10px;
	color: #333;
	text-decoration: none;
}
#main .category-list a:nth-child(-n + 4){
	margin-top: 0;
}
#main .category-list a p{
	text-align: center;
	margin-top: 5px;
	line-height: 1.3;
}
#main .links li .text-box2 {
    font-size: 1em;
    color: #333333;
	padding: 0.5em;
    line-height: 1.6em;
}
@media screen and (max-width: 767px) {
	#main .cols2 {
		justify-content: space-between;
		max-height: 170px;
	}
	#main .cols2 .img_container {
		width: 48%;
		max-height: 170px;
	}
	/*#main .cols2 .img_container > img {
		height: 100%;
		width: auto;
	}*/
	#main .cols2 .text_container {
		width: 50%;
		/*height: 170px;*/
	}
	#main .mbgc_green {
		font-size: 1.3rem;
		margin-bottom: 0.5rem;
		padding: 0.3em 0.2em;
		height: 35px;
	}
	#main .mbgc_gray {
		font-size: 0.7rem;
		margin-bottom: 0.2rem;
		padding: 0.2em;
	}
	#main .cols2 .text_container li {
		font-size: 0.7rem;
	}
	#main .topBtn ul::before {
		content: none;
	}
	#main .topBtn ul::after {
		content: none;
	}
	/*.maindesign .tab-menu-nav li {
		margin: 0;
	}*/
	#main .osusume-contents{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#main .osusume-contents a{
	display: block;
	width: 100%;
	margin-bottom: 20px;
	color: #333;
	text-decoration: none;
	background-color: #ccc;
}
#main .osusume-contents a:last-child{
	margin-bottom: 0;
}
#main .osusume-contents a img{
	display: block;
}
#main .osusume-contents .osusume-contents--text-area{
	padding: 10px;
}
#main .osusume-contents--text-area p{
	line-height: 1.3;
	text-align: justify;
}
#main .osusume-contents--text-area .osusume-contents--text-area__title{
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 5px;
	text-decoration: underline;
}


#main .category-list{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 30px;
}
#main .category-list::before{
	content: "";
	display: block;
	width: 31%;
	order: 1
}
#main .category-list::after{
	content: "";
	display: block;
	width: 31%;
}
#main .category-list a{
	width: calc(31% - 22px);
	margin-top: 20px;
	padding: 10px;
	display: block;
	border: 1px solid #ccc;
	border-radius: 10px;
	color: #333;
	text-decoration: none;
}
#main .category-list a:nth-child(-n + 3){
	margin-top: 0;
}
#main .category-list a p{
	text-align: center;
	margin-top: 5px;
	line-height: 1.3;
	font-size: 0.8em;
}

}
@media screen and (min-width: 768px) {

#main .cols2 .text_container .side {
	display: flex;
	justify-content: space-around;
}
	#main .cols2 .text_container .side2 {
		flex: 1;
	display: flex;
		flex-direction: column;
		justify-content: center;
}
	#main .mbgc_green {
font-size: 1.0rem;
    width: 28%;
		margin-bottom: 0;
}
#main .menu-btn-list.col-1 li {
    width: calc( 90% - 10px);
	max-width: 520px;
}
}
