/* CSS Document */
@media screen and (max-width: 780px) {
	body {}

	.text_content {
		padding:20px;
	}	
	
	.text_content.narrow,
	.text_content.full_width {
		width:680px;
	}
	
	.text_content.full_width.no_padding {
		width:720px;
	}
	
	.for_func_menu {
		width:740px;
		text-align:center;
	}
	
	.for_func_menu .person_head,
	.for_func_menu .package_select_arrow {
		display:none;
	}
	
	.for_func_menu .func_menu {
		float:none;
		display:inline-block;
		margin-left:0;
	}
	
	.for_func_menu .func_menu.items_4 {
		margin:auto;
	}
	
	.info_boxes.about .info_box {
		height:820px;
	}
	
	.info_boxes.about .info_box.first_row {
		height:700px;
	}
	
	.for_func_menu .func_menu a.func_menu_item {
		width:90px;
	}
	
	.for_func_menu .func_menu a.func_menu_item .number {
		width:18px;
	}
	
	.for_func_menu .func_menu.items_4 a.func_menu_item .number,
	.for_func_menu .func_menu a.func_menu_item .number.two_numbers {
		width:25px;
	}
	
	.info_boxes .info_box.w_33 {
		width:calc(50% - 30px);
	}
	
	.info_boxes .info_box.m_column_last::before,
	.info_boxes .info_box.m_row_last::after {
		display:none;
	}
	
	.info_boxes .info_box.column_last::before,
	.info_boxes .info_box.row_last::after {
		display:block;
	}
	
	.info_boxes .info_box.back_to_top {
		display:none;
	}
	
	.info_boxes.func .info_box {
		height:500px;
	}
	
	.info_boxes.func .info_box.info_box_3,
	.info_boxes.func .info_box.info_box_4 {
		height:550px;
	} 
	
	.info_boxes.func .info_box.info_box_7,
	.info_boxes.func .info_box.info_box_8 {
		height:650px;
	} 
}

@media screen and (max-width: 420px) {
	body {}

	.text_content {
		padding:15px;
	}	
	
	.text_content.narrow,
	.text_content.full_width {
		width:380px;
	}
	
	.text_content.full_width.no_padding {
		width:400px;
	}
	
	.text_content h2.with_icon {
		font-size:22px;	
		padding-top:65px;	
	}
	
	.text_content h2.with_icon::before {
		left:0;
		top:7px;
		right:auto;
	}
	
	.text_content h3 {
		font-size:14px;
	}
	
	.text_content p {
		font-size:14px;
		line-height:22px;
	}
	
	.for_header .header .main_menu li .main_submenu {
		line-height:initial;
	}
	
	.for_func_menu {
		width:240px;
		height:auto;
		margin-bottom:20px;
	}
	
	.for_func_menu .func_menu.items_10 {
		width:240px;
		height:auto;
	}
	
	.for_func_menu.two_row,
	.for_func_menu .func_menu {
		height:auto;
	}
	
	.for_func_menu .func_menu a.func_menu_item,
	.for_func_menu .func_menu.items_4 a.func_menu_item,
	.for_func_menu .func_menu.items_6 a.func_menu_item,
	.for_func_menu .func_menu.items_10 a.func_menu_item {
		width:120px;
		padding-bottom:4px;
	}
	
	.for_func_menu .func_menu.items_4 a.func_menu_item .number,
	.for_func_menu .func_menu a.func_menu_item .number {
		width:27px;
		padding-right:8px;
	}
	
	.info_boxes .info_box.w_50,
	.info_boxes .info_box.w_33 {
    	width:calc(100% - 30px);
    }
    
    .info_boxes .info_box::before,
	.info_boxes .info_box.column_last::before,
	.info_boxes .info_box.box_last::after,
	.info_boxes .info_box.m_row_last.box_last::after {
    	display:none;
    }
    
    .info_boxes .info_box::after,
	.info_boxes .info_box.m_row_last::after {
    	display:block;
    }
    
    .info_boxes .info_box:nth-child(even),
	.info_boxes .info_box.bg {
    	background-color:transparent;
    }
    
    .info_boxes .info_box:nth-child(odd) {
    	background-color:#f3f2f1;
    }
    
    .info_boxes.func .info_box,
	.info_boxes.about .info_box {
    	height:auto !important;
    }
    
    .info_boxes.about .info_box.first_row {
    	height:auto;
    }
    
    .info_boxes .info_box.box_last {
    	border-bottom-left-radius:6px;
    	border-bottom-right-radius:6px;
    }
    
    .info_boxes .info_box.radius_lb {
    	border-bottom-left-radius:0;
    }
    
    .info_boxes .info_box.radius_rb {
    	border-bottom-right-radius:0;
    }
    
    .for_func_menu .func_menu a.func_menu_item:first-child {
    	border-bottom-left-radius:0;
    }
    
    .for_func_menu .func_menu a.func_menu_item .number {
    	border-left:0;
    }
    
    .for_func_menu .func_menu a.func_menu_item:nth-child(odd) {
    	background:transparent;
    }
    
    .for_func_menu .func_menu a.func_menu_item.m_bg {
    	background:#e7e6e4;
    }
    
    .for_func_menu .func_menu.items_6 a.func_menu_item:nth-child(5) {
    	border-bottom-left-radius:6px;
    }
    
    .for_func_menu .func_menu a.func_menu_item:last-child {
    	border-bottom-right-radius:6px;
    }
    
    .text_content .point_detail {
    	padding-top:10px;
    	padding-bottom:10px;
    	line-height:26px;
    	height:auto;
    }
    
    .box_404 {
    	width:400px;
    }
}