/* ---------------------------------------------------------------
	start max 850px
--------------------------------------------------------------- */

@media print,
screen and (max-width: 850px) {

	body {
		font-size: 15px;
		line-height: 1.75;
		max-width: 850px;
	}


	/* --------------- header -------------- */


	.top_logo {
		display: none;
		border-bottom: none;
	}

	.img_title {
		display: none;
	}

	#header {
		height: 60px;
		z-index: 100;
	}

	.col_header {
		width: 100%;
		height: 100%;
		display: flex;
		background-color: #fff;
	}

	.logo_header {
		width: calc(100% - 44px);
		padding: 20px 0;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 2;
	}

	.logo_header a {
		margin: 0 auto;
		padding-left: 20px;
		display: block;
	}

	.logo_header img {
		max-width: 480px;
		width: 96%;
	}

	#menubtn {
		width: 44px;
		height: 44px;
		margin: 8px;
		padding: 0;
		display: block;
		right: 0;
		z-index: 2;
		background-color: #171c61;
	}

	#menubtn .btn {
		width: 24px;
		height: 100%;
		margin: 0 auto;
		position: relative;
		z-index: 0;
	}

	#menubtn .btn span {
		width: 100%;
		height: 3px;
		margin: auto;
		padding: 0;
		background-color: #fff;
		display: inline-block;
		transition: all .4s;
		-moz-transition: all .4s;
		-webkit-transition: all .4s;
		position: absolute;
		left: 0;
		right: 0;
	}

	#menubtn span:nth-child(1) {
		top: 10px;
	}

	#menubtn span:nth-child(2) {
		top: 20px;
	}

	#menubtn span:nth-child(3) {
		top: 30px;
	}

	#menubtn.active span:nth-of-type(1) {
		width: 96%;
		-webkit-transform: translateY(20px) rotate(-45deg);
		transform: translateY(20px) rotate(-45deg);
		top: 0;
	}

	#menubtn.active span:nth-of-type(2) {
		opacity: 0;
	}

	#menubtn.active span:nth-of-type(3) {
		width: 96%;
		-webkit-transform: translateY(-20px) rotate(45deg);
		transform: translateY(-20px) rotate(45deg);
		top: 41px;
	}



	#navi li {
		margin: 0 0 0;
	}

	#navi li a,
	#navi li div {
		padding: 10px 19px 8px 19px;
		font-size: 15px;
	}


	#navi {
		width: 250px;
		margin-bottom: 0;
		margin: 0 auto 25px;
	}

	#navi li {
		width: 100%;
	}

	#navi li.pdf a {
		background-position: calc(100% - 6px) 6px;
	}

	.box_l_info {
		width: 94%;
		max-width: 100%;
		margin: 0 auto;
		padding: 25px 0 0 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.box_l_info dl {
		width: 47.5%;
		margin-right: 5%;
	}

	.box_l_info dl:last-of-type {
		margin-right: 0;
	}

	.box_l_info dl dt {
		font-size: 14px;
	}

	.box_l_info dl dd {
		font-size: 13px;
		line-height: 1.45;
	}

	.box_l_info dl dd strong {
		font-size: 13px;
	}

	#contents {
		position: relative;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		/*
		       background-color: #fcf7f3;
		background-image: url(../img/sp/bg_topmain_long.jpg);
		background-repeat: no-repeat;
		background-position: center -135px;
		background-size: 100% auto;*/
	}




	#leftcontents {
		width: 100%;
		padding: 0;
		max-width: 250px;
		height: calc(100vh - 64px);
		display: none;
		position: absolute;
		top: 0px;
		right: 0;
		z-index: 100;
		overflow: auto;
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 1;
		order: 1;
	}

	#rightcontents {
		width: 100%;
		background-image: url(../img/sp/bg_topmain.jpg);
		;
		background-size: 100% auto;
		background-position: center top;
		-webkit-box-ordinal-group: 1;
		-ms-flex-order: 0;
		order: 0;
	}

	#rightcontents_sub {
		width: 100%;
		padding: 25px;
		background-color: #fdf8f4;
		background-image: none;
		background-size: contain;
		background-position: center top;
		-webkit-box-ordinal-group: 1;
		-ms-flex-order: 0;
		order: 0;
	}

	#rightcontents::after,
	#rightcontents_sub::after {
		content: none;
	}

	.col_topmain {
		max-width: 850px;
		margin-bottom: 0;
		height: auto;
		padding: 0;
	}

	.col_submain {
		display: none;
	}

	.wrap_subcontents {
		width: 100%;
		padding: 20px 0 20px;
		background-color: #fff;
	}

	.box_main_sp {
		width: 100%;
	}

	.img_title_sp {
		width: 100%;
		margin: 0 auto 0;
		padding: 18px 20px 0;
		display: flex;
		justify-content: space-between;
	}

	.box_kaiki {
		width: 300px;
		margin: 0 33px 0 0;
	}

	.box_arologo {
		width: 120px;
	}

	.img_topinfo1 {
		width: 100%;
		margin: 0;
		padding: 4vw 30px 0 20px;
		display: flex;
		justify-content: flex-start;
	}

	.img_topinfo1 img {
		max-width: 400px;
		width: 100%;
	}

	.img_theme {
		width: 100%;
		max-width: unset;
		height: 102vw;
		text-align: center;
		padding: 0;
		background-image: url(../img/sp/bgimg_topmain.png);
		background-repeat: no-repeat;
		background-position: center 8vw;
		background-size: 104.235% auto;
	}

	.img_theme img {
		width: auto;
		height: 98.3vw;
	}

	.box_topannounce {
		width: calc(100% - 30px);
		margin: 0 15px 3vw;
		padding: 10px 15px;
	}

	.top_bnr {
		max-width: 640px;
	}

	.top_bnr.big {
		max-width: none;
		width: 94%;
		justify-content: center;
		flex-wrap: wrap;
	}

	.top_bnr li {
		width: calc((100% - 3vw)/2);
		margin: 0 3vw 4vw 0;
	}

	.top_bnr.big li {
		margin: 0 0vw 20px 0;
	}

	.top_bnr li:nth-child(3n) {
		margin-right: 3vw;
	}

	.top_bnr li:nth-child(2n) {
		margin-right: 0;
	}

	.mds1 {
		max-width: 100%;
	}

	.mds2 {

		margin: 0 0 8px;

	}

	.col_content {
		width: 98%;
		max-width: 100%;
	}

	#overlay {
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, .2);
		position: fixed;
		top: 0px;
		left: 0;
		right: 0;
		bottom: 0;
		display: none;
		z-index: 1;
		transition: all .4s;
	}

	.open #overlay {
		display: block;
	}

	.box_topnews {
		width: 100%;
		margin: 0 auto 4vw;
		padding: 20px 12px 35px;
		box-sizing: border-box;
		display: block;
	}

	.box_topnews .mds {
		width: 100%;
		height: 30px;
		margin: 0;
		padding: 3px 0;
		color: #fff;
		font-size: 16px;
		letter-spacing: 0.3em;
		text-align: center;
		background-color: #171c61;
	}

	.col_topnews {
		max-height: 122px;
		width: 100%;
		padding: 0;
	}

	.col_topnews dl {
		padding: 0.8em 0.5em;
		border-bottom: dotted 1px #231815;
	}

	.col_topnews dl:first-child {
		border-top: none;
	}

	.col_topnews dl dt {
		width: 125px;
		padding-left: 0;
	}

	.col_topnews dl dd {
		width: calc(100% - 125px);
	}

	.col_topnews dl.new dt:before {
		right: 0;
	}


	dl.col_l_info {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		align-items: center;
	}

	dl.col_l_info dt {
		width: 100%;
		font-size: 15px;
	}

	dl.col_l_info dd {
		padding-left: 4%;
		padding-right: 4%;
		font-size: 15px;
		line-height: 20px;
		border: none;
	}

	.copy {
		font-size: 12px;
	}

	/* --------------- sponsor -------------- */

	.btnarea_sponsor {
		display: block;
	}

	a.btn1.sponsor.pdf {
		width: 80%;
		margin: 0 auto;
		max-width: 350px;
	}

	a.btn1.sponsor.pdf:first-of-type {
		margin: 0 auto 20px;
	}

	a.btn1.sponsor.word {
		margin: 0 auto;
		width: 80%;
		max-width: 350px;
	}


	/* --------------- join-------------- */

	table.tbl_join1 {
		width: 95%;
		margin: 10px auto;
	}

	.btn1.join1 {
		width: 95%;
		max-width: 320px;
	}

	.btn1.join2 {
		width: 95%;
		max-width: 320px;
	}

	/* --------------- program-------------- */
	.btn1.program {
		width: 95%;
		max-width: 320px;
	}

	/* --------------- en-------------- */
	.en .txt_greeting {
		padding: 0;
	}

}

	/* ---------------------------------------------------------------
	end max 850px
--------------------------------------------------------------- */