@charset "utf-8";

@media screen and (max-width : 800px) {
/* Common style */
.show_sp{
    display: block;
}
.show_pc{
    display: none;
}
/* Mainvs section */
#tmp_koan_mainvs .mainvs_text{
	bottom: 86px;
}
#tmp_koan_mainvs .mainvs_text p {
	font-size: 150%;
    width: 100%;
    max-width: 335px;
    min-height: 59px;
    background-image: url(/shared/templates/koan_top/images/mainvs_text_sp.png);
	margin-left: 3px;
}
/* Menu sections */
.menu_boxes{
	padding-top: 58px;
	padding-bottom: 12px;
}
.menu_boxes:before{
	content: '';
	position: absolute;
	z-index: -1;
	bottom: 0;
	width: 260px;
	right: -116px;
	height: 500px;
	transform: skew(-21.5deg);
	background-color: #ebebeb;
}
.menu_boxes:after{
	content: '';
	position: absolute;
	top: 0;
	width: 210px;
	left: 6px;
	height: 500px;
	z-index: -1;
	margin-left: 0;
	background: #ebebeb;
	transform: translateX(-50%) skew(-21.5deg);
}
.menu_boxes .menu_box,
.menu_boxes .menu_box:last-child {
	margin-bottom: 55px;
}
.menu_boxes .menu_box:after {
	display: none;
}
.menu_box .menu_heading{
	padding-left: 10px;
	margin-bottom: 6px;
}
.menu_heading p.eng{
	font-size: 87.5%;
}
.menu_heading h2.ja{
	font-size: 175%;
	line-height: 1.1;
}
.menu_heading p.eng:before{
	left: -20px;
    top: 10px;
    width: 17px;
}
.menu_box .menu_cnt,
.menu_box:nth-child(even) .menu_cnt{
	padding: 26px 5px 34px 12px;
	min-height: 200px;
}
.menu_box .menu_cnt:after{
	width: auto;
	right: -10px;
	left: 50%;
	transform: none;
	clip-path: polygon(0 0, 100% 0, 100% max(165px, calc(100% - 114px)), calc(100% - 45px) max(276px, 100%), 0 100%);
	margin-right: 0;
	bottom: 0;
	height: auto;
}
.menu_box:nth-child(even) .menu_cnt:after {
    left: -10px;
    right: 50%;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 45px max(276px, 100%), 0 max(165px, calc(100% - 114px)));
	margin-left: 0;
}
.menu_box .menu_cnt .des{
	line-height: 1.5;
	padding-right: 0;
	margin-bottom: 25px;
}
.menu_box .koan_link{
	margin-right: 27px;
}
.menu_box .koan_link > a{
	font-size: 100%;
	padding: 9px 35px 9px 14px;
}
.menu_box .koan_link > a:after{
	right: -33px;
    width: 56px;
}
#tmp_koan_system{
	background-image: url(/shared/templates/koan_top/images/system_bg_sp.jpg);
}
#tmp_koan_system .system_inner{
	display: block;
}
#tmp_koan_system .menu_heading h2.ja{
	line-height: 1.3;
}
#tmp_koan_system.menu_box .system_cnt{
	min-height: 298px;
	padding-top: 27px;
	padding-bottom: 0;
}
#tmp_koan_system.menu_box .system_cnt:after{
	right: 5px;
	width: 163px;
	height: 298px;
	background-image: url(/shared/templates/koan_top/images/map_pattern_sp.png);
	margin-top: -13px;
}
#tmp_koan_system.menu_box .menu_cnt{
	padding: 23px 3px 30px 13px;
}
#tmp_koan_system.menu_box .system_img{
	width: 100%;
	display: block;
	padding: 0 10px 26px;
}
#tmp_koan_system.menu_box .system_img img{
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
}
#tmp_koan_system.menu_box .menu_cnt .des {
    margin-bottom: 22px;
}
#tmp_koan_system.menu_box .koan_link{
	padding-right: 0;
	margin-right: 29px;
}
#tmp_koan_system.menu_box .koan_link > a {
    padding-right: 43px;
    padding-left: 22px;
}
.menu_box .koan_link > a:hover{
    text-decoration: none;
}
/* ==================================================
accessibility
================================================== */
.color_blue #tmp_koan_mainvs .mainvs_text p,
.color_black #tmp_koan_mainvs .mainvs_text p,
.color_yellow #tmp_koan_mainvs .mainvs_text p{
	max-width: 100%;
	max-height: 155px;
	overflow-y: auto;
}
/* ==================================================
clearfix
================================================== */
#tmp_sma_lnavi_cnt .switch_menu .noicon_list:after {
	content: ""; /* 変更しない */
	display: table; /* 変更しない */
	clear: both; /* 変更しない */
}
}