/* main */
header {
	width: 94.32%;
	background: url(/images/sdj_subtitle2.jpg) left no-repeat, url(/images/sdj_subtitle_e.jpg) right no-repeat, url(/images/sdj_subtitle_m.jpg) right repeat;
	margin: 0 auto;
	height: 45px;
	margin-bottom: 30px;
}
.container {
	max-width: 801px;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 10px 25px 30px;
}
section {
	width: 24.345%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	border-radius: 5px;
	background-color: #5a7184;
}
figure {
	width: 100%;
	margin: 0;
}
figure img {
	border-radius: 5px 5px 0 0;
}
figcaption {
	width: 100%;
	padding: 10px 3px 0 6px;
	margin: 0;
}
.switch1 ul {
	list-style-type: disc;
	padding-left: 14px;
}
.switch1 li {	
	margin: 1em 0;
}
.switch2 {
	display: none;
}

/* media queries */
@media screen and (max-width: 745px) {
	h2 {
		letter-spacing: 2px;
	}
}
@media screen and (max-width: 700px) {
	.container {
		margin: 10px 20px 30px;
	}
}
@media screen and (max-width: 670px) {
	h2 {
		letter-spacing: normal;
	}
}
@media screen and (max-width: 655px) {
	figcaption {
		padding-top: 0 3px 0;
	}
	h2 {
		display: none;
	}
}
@media screen and (max-width: 600px) {
	.myfont5 {
		letter-spacing: 1px;
	}
	.switch1 ul {
		list-style-type: none;
		padding-left: 0;
	}
}
@media screen and (max-width: 520px) {
	.container {
		margin: 10px 15px 30px;
	}
}
@media screen and (max-width: 500px) {
	.container {
		max-width: 390px;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-align-items: center;
		align-items: center;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
		border-radius: 8px;
		overflow: hidden;
	}
	section {
		width: 50%;
		display: block;
		border-radius: 0;
		background-color: transparent;
	}
	figure img {
		border-radius: 0;
	}
	figcaption {
		width: 100%;
		padding: 10px;
		margin-top: 15px;
	}
	.switch1 {
		display: none;
	}
	.switch2 {
		display: block;
	}
	h1 {
		text-align: center;
	}
	.switch2 ul {
		list-style-type: disc;
		padding-left: 16px;
	}
	.switch2 ul ul {
		list-style-type: circle;
		padding-left: 15px;
	}
}
@media screen and (max-width: 350px) {
	header {
		background-size: auto 36px, auto 36px, auto 36px;
		height: 36px;
		margin-bottom: 20px;
	}
	.container  {
		margin-bottom: 20px;
	}
}
@media screen and (max-width: 340px) {
	h1 {
		letter-spacing: 1px;
	}
}
@media screen and (max-width: 310px) {
	h1 {
		letter-spacing: 3px;
	}
	.switch {
		display: none;
	}
}
@media screen and (max-width: 285px) {
	h1 {
		letter-spacing: 1px;
	}
}