
/*スマホサイズに適用*/
@media (max-width:599px){
	body,
	html {
		padding: 0;
	}
	section{
		margin: 0;
		padding: 1.6rem 0.4rem 1.8rem;
	}
	h2 {
		font-size: 40px;
		line-height: 50px;
	}
	/* 誘導ボタン */
	.guidance{
		padding: 13px 0 30px;
	}

	.guidance h2{
		font-size: 30px;
	}
	/* 資料請求 */
	.request .btn,
	a.request.btn,
	button.request.btn {
		font-size: 1rem;
		padding: 16px 0 9px;
	}
	/* モーダル */
	.modal-header{
		padding: 13px;
	}
	.modal-content{
		padding: 1rem 0.7rem;
	}
	.modal-body{
		padding: 0;
	}
	.modal-content .modal-title{
		font-size: 24px;
		margin-bottom: 15px;
	}
	.modal-content .modal-title small{
		font-size: 15px;
	}
	.modal-body p{
		font-size: 18px;
		line-height: 34px;
		padding: 0 0.6rem;
	}
	.modal-header .close{
		color: #07296b;
		padding: 0 5px;
	}

	/* テーブル */
	.wrapper .table td{
		padding:0.5rem 0.6rem;
	}

	/* header */
	.header .top-heading {
		font-size: 30px;
		margin: 10px auto 15px;
		background: #D60001;
		padding: 5px 23px;
		color: #fff;
		border-radius: 5px;
	}
	.start{
		margin: 0 auto;
	}
	.header .txt-sub{
		font-size:22px;
		line-height: 29px;
		padding: 15px 35px;
		margin: 10px auto 0;
		text-align: left;
		border: 3px solid #07296b;
	}
	.miracle-logo {
		margin: 0 auto;
		width: 100%;
	}
	.header .header-content {
		padding: 0;
		margin: 0;
	}
	.header p{
		padding: 0.7rem 0.5rem 0.7rem;
		line-height: 33px;
		font-size: 0.9rem;
		margin: 0;
		text-align: left;
		text-align: justify;
		text-justify: inter-ideograph;
	}

	/* ページ内リンク_ナビ */
	#nav-link{
		text-align: left;
		display: block;
		margin: 0;
		padding: 0;
		padding: 10px 0 10px 20px;
		margin: 5px 0 10px;
	}

	#nav-link li{
		display: inline-block;
		line-height: 37px;
	}

	#nav-link li a{
		margin-left: auto;
		margin-right: auto;
		padding:0 7px;
		text-decoration: none;
	}

	#nav-link li a::before{
		content:'▼';
		font-size:0.8rem;
		padding:0 5px 0 0;
	}

	.nav-link {}
	.nav-link a{
		display: inline-block;
		font-size:80%;
	}
	.nav-link a::after{
		position: absolute;
		bottom: 2px;
	}

	.main-ttl{
		margin: 10px auto 0;
	}

	.main-ttl .txt-frame-v1{
		padding: 5px;
		border: 2px solid #07296b;
		line-height: 52px;
		font-size: 1.4em;
	}

	.main-ttl .txt-frame-v2{
		padding: 5px;
		border: 2px solid #07296b;
		line-height: 52px;
		font-size: 1.4em;
	}

	.header .txt-box{
		padding: 15px 0 0;
		margin: 10px 0;
	}
	.header .txt-box-v2{
		padding: 20px 15px;
		margin: 10px 0;
	}
	.header .txt-box-v2 ol{
		margin-top: 13px;
		line-height: 30px;
	}
	.header h3{
		margin: 0;
		font-size:32px;
		line-height: 40px;
		text-decoration: 2px underline wavy #1771cd;
		text-underline-offset: 5px;
	}
	.header .gakunen{
		margin: 3px 0 10px;
		line-height: 20px;
	}
	.header .muryo{
		margin: 10px 0;
		padding: 6px 20px;
		font-size:22px;
	}
	.header .link a{
		font-size:20px;
		margin-top: 13px;
	}
	.header .link-v2 a{
		font-size:20px;
		margin-top: 13px;
	}
	.header .b-txt{
		font-size:28px;
		padding: 0;
		line-height: 38px;
	}


	/* box-common */
	.box-common h2 {
		font-size:30px;
		padding-left: 30px;
		line-height: 35px;
	}
	.box-common .txt-sub{
		font-size:17px;
		line-height: 25px;
		color: #07296b;
		font-weight: bold;
		padding: 20px 18px 10px;
		margin: 0 auto 30px;
	}
	.box-common .txt-sub p{
		margin-top: -15px;
		padding: 0;
		font-size:15px;
	}
	.box-common .info{
		font-size: 17px;
		padding: 7px 13px;
		margin-top: 0;
		display: block;
	}

	.heading {
		font-size: 23px;
		line-height: 30px;
		text-align: center;
	}

	.heading::before,
	.heading::after {
		width: 2px;
		height: 52px;
	}

	.heading::before {
		margin-right: 22px;
	}

	.heading::after {
		margin-left: 23px;
	}
	.header .ribbon {
		position: absolute;
		top: -14px;
		left: -5px;
		padding: 5px 10px;
		font-size: 17px;
	}
	.header .ribbon:before {
		border-bottom: solid 9px transparent;
	}

	.box-common h4 {
		text-align: center;
		font-size: 23px;
		padding: 10px 0 8px;
	}
	.box-common .txt-sub-v2{
		font-size: 15px;
		padding: 5px 10px;
		float: none;
	} 

	.box-common .txt-sub-v3{
		font-size: 15px;
		padding: 5px 10px;
		margin-top: 5px;
		float: none;
	}
	.box-common .table td{
		white-space: normal;
	}

	.box-common h3{
		font-size:30px;
		padding: 8px;
		line-height: 36px;
	}













	/* box-one */
	.box-one h3 {
		font-size: 32px;
	}
	.box-one .in-box-v1{
		margin: 15px 0 0;
		padding: 15px 10px 0 23px;
		height: 100%;
	}
	.box-one .in-box-v1 span{
		font-size:21px;
		line-height: 33px;
		text-align: justify;
		text-justify: inter-ideograph;
	}
	.box-one .txt-sub{
		font-size:20px;
		line-height: 32px;
		margin: 30px auto 10px;
		padding: 0;
	}
	.box-one .txt-sub-v2{
		font-size:29px;
		line-height: 43px;
		padding: 0;
		margin-bottom: 0;
	}
	.box-one .btn-detail {
		padding: 8px 10px 9px 17px;
		background: #3a63ae;
		border-top: 1px solid #fff ;
		color: #fff;
		display: block;
		text-align: center;
		font-size: 16px;
		font-weight: bold;
		border-radius: 0 0 6px 6px;
	}

	/* box-two */
	.box-two h2 {
		font-size:30px;
		padding-left: 35px;
		line-height: 35px;
		margin-bottom: 20px;
	}
	.box-two h3 {
		position: relative;
		top: 10px;
		font-size: 1.1rem;
		text-align: left;
		line-height: 30px;
		margin-top: 5px;
	}
	.box-two .point-box p{
		font-size: 0.9rem;
		line-height: 31px;
		padding: 0;
		margin: 0;
	}

	/* box-three */
	.box-three h2 {
		font-size:30px;
		padding-left: 35px;
		line-height: 35px;
	}
	#course{
		margin-top: 27px;
	}

	#place{
		margin-top: 10px;
	}
	.box-three .table{
		border-collapse: collapse;
		width: 100%;
	}
	.popup-btn{
		font-size: 0.9rem;
		padding: 6px 0;
		display: block;
		margin: 10px 60px;
	}
	.box-three .txt-sub{
		font-size:23px;
		line-height: 33px;
		padding: 15px 17px 15px 20px;
		display: block;
		margin: 30px auto 10px;
		border: 3px solid #07296b;
	}
	.box-three .txt-sub-v2{
		font-size:17px;
		line-height: 28px;
		color: #07296b;
		font-weight: bold;
		padding: 23px 19px 5px 20px;
		display: block;
		margin: 30px auto 20px;
		border: 3px solid #07296b;
	}
	.box-three .info{
		font-size: 20px;
		padding: 9px 13px;
		color: #fff;
		margin-top: 20px;
	}

	/* box-four */
	.box-four h2 {
		font-size:30px;
		padding-left: 35px;
		line-height: 35px;
	}
	.box-four h3 {
		font-size: 22px;
		padding: 10px 0 5px 30px;
	}
	#course{
		margin-top: 27px;
	}

	#place{
		margin-top: 10px;
	}
	.box-four .table{
		border-collapse: collapse;
		width: 100%;
	}
	.popup-btn{
		font-size: 0.9rem;
		padding: 6px 0;
		display: block;
		margin: 10px 60px;
	}
	.box-four .txt-sub{
		font-size:16px;
		line-height: 25px;
		color: #07296b;
		font-weight: bold;
		padding: 10px 19px 15px 20px;
		display: block;
		border: 3px solid #07296b;
		position: relative;
		top: -1px;
	}
	.box-four .txt-sub-v2{
		font-size:16px;
		line-height: 25px;
		color: #07296b;
		font-weight: bold;
		padding: 10px 19px 15px 20px;
		display: block;
		border: 3px solid #07296b;
		position: relative;
		top: -1px;
	}
	.box-four .info{
		font-size: 20px;
		padding: 9px 13px;
		color: #fff;
		margin-top: 20px;
	}


	footer .Copyright p {
		padding:0.6rem 0 3.5rem;
		margin: 0;
		font-size: 0.6rem;
	}
}


/*スマホサイズに適用*/
@media (max-width:480px){
	.logo-image {
		position: absolute;
		top: 2px;
		left: 10px;
		width: 94%;
	}
	.wrapper .table td{
		font-size: 15px;
	}
	.modal-content .modal-title{
		font-size: 23px;
	}
	.txt-adj-sp{
		font-size: 16px;
		line-height: 27px;
	}
	.heading {
		font-size: 20px;
		line-height: 28px;
	}
}

/*スマホサイズに適用*/
@media (max-width:375px){
	.header h3{
		font-size:30px;
		line-height: 36px;
	}
	.box-one h3 {
		font-size: 30px;
	}
	.box-one .in-box-v2 span{
		font-size:16px;
	}
	.wrapper .table td{
		font-size: 14px;
	}
	.modal-content .modal-title{
		font-size: 22px;
	}
	.modal-content .modal-title small{
		font-size: 14px;
	}
	#sp-fixed-menu li{
		font-size: 13px;
	}
	.box-three h2 {
		font-size:27px;
	}
	.txt-adj-sp{
		font-size: 14px;
	}
	.heading {
		font-size: 19px;
		line-height: 28px;
	}
}








/*タブレットサイズに適用*/
@media (min-device-width: 820px) and (max-device-width: 1180px) and (orientation: landscape){


/*PCサイズに適用*/
@media (min-width:1800px){


}



