@charset "UTF-8";

.cmnbox .flexbox {
	display: flex;
	gap: 10px;
	flex-direction: row-reverse;
	margin-bottom: 25px;
}

.cmnbox .flexbox img {
	width: 250px;
	height: auto;
}

@media screen and (max-width: 768px) {
	.cmnbox .flexbox {
		flex-wrap: wrap;
	}

	.cmnbox .flexbox p {
		margin-top: 15px;
	}

	.cmnbox .flexbox img {
		width: 100%;
	}
}

.note {
	font-size: 1.1rem;
	margin-top: 5px;
}

#step h2{
	background-color: #006;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 18px;
	padding: .35em .5em;
}

#lastbox .step-flexbox{
	display: flex;
	gap: 10px
}

#lastbox .step-flexitem h3{
	margin-bottom: 5px;
}

#lastbox .step-flexbox .step{
	display: block;
	color: #006;
	font-size: 14px;
}

#lastbox .step-flexbox .flow{
	display: block;
	color: #006;
	font-weight: bold;
	font-size: 14px;
}

#lastbox .fa-chevron-right{
	font-size: 10px;
}

#lastbox .step-flexitem img{
	width: 100%;
	height: auto;
}

@media screen and (max-width: 768px) {
	#lastbox .step-flexbox{
		flex-direction: column;
	}
	#lastbox .step-flexitem{
		display: grid;
		gap: 10px;
		grid-template-columns: 1fr 175px;
	}
	#lastbox .fa-chevron-right{
		transform: rotate(90deg);
	}
}

@media print,
screen and (min-width: 769px) {


	/*----------------------------------------
	box1
-----------------------------------------*/
	#box1 {
		background: url(../../../img/cmn_main_color02.gif);
		padding: 3px;
		margin-top: 30px;
	}

	#box1 div {
		background: url(../img/elementary_01_pc.png) 25px bottom no-repeat;
		background-color: #FFFFFF;
	}

	#box1 dl {
		width: 420px;
		float: right;
		padding: 30px 30px 30px 0;
	}

	#box1 dt img {
		width: 420px;
		height: 34px;
	}

	#box1 dd {
		width: 420px;
		background: url(../../../img/cmn_main_dotline.gif) repeat;
		margin-top: 20px;
		line-height: 31px;
	}


	/*----------------------------------------
	box4
-----------------------------------------*/
	#box4 table {
		width: 100%;
		border-collapse: collapse;
		margin-top: 10px;
	}

	#box4 th,
	#box4 td {
		border: 1px solid #b7b7b7;
		vertical-align: middle;
	}

	#box4 th {
		width: 20%;
		text-align: center;
		background-color: #e4f6ff;
	}

	#box4 td {
		width: 80%;
		padding: 10px;
	}

	#box4 .cmnlink {
		margin-top: 20px;
	}

}

/* ==========================================================
	SP閲覧用 480px以下
========================================================== */

@media screen and (max-width: 768px) {

	/*----------------------------------------
	box1
-----------------------------------------*/
	#box1 div {
		padding-bottom: 65%;
		background: url(../img/elementary_01_sp.png) bottom no-repeat;
		background-size: contain;
	}

	#box1 dt img {
		width: 100%;
		height: auto;
	}

	#box1 dd {
		background: url(../../../img/cmn_main_dotline.gif);
		margin-top: 10px;
		line-height: 31px;
	}

	/*----------------------------------------
	box4
-----------------------------------------*/
	#box4 table {
		margin-top: 10px;
		border-collapse: collapse;
	}

	#box4 th,
	#box4 td {
		border: 1px solid #b7b7b7;
		vertical-align: middle;
	}

	#box4 th {
		width: 30%;
		text-align: center;
		background-color: #e4f6ff;
	}

	#box4 td {
		width: 70%;
		padding: 8px 10px;
	}

}