/* main */
header {
	width: 94.32%;
	background: url(/images/sdj_subtitle1.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;
}
section {
	max-width: 700px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	margin: 10px 25px 30px;
}
figure{
	width: 50.43%;
	border: 6px solid #5a7386;
	margin: 0;
	box-shadow: 3px 3px 5px #808080;
	border-radius: 8px;
}
figcaption {
	width: 43.14%;
	padding: 0;
	margin: 0;
}

/* media queries */
@media screen and (max-width: 715px) {
	figcaption {
		width: 45.284%;
	}
}
@media screen and (max-width: 700px) {
	section {
		margin: 10px 20px 30px;
	}
}
@media screen and (max-width: 685px) {
	h1 {
		letter-spacing: 1px;
	}
}
@media screen and (max-width: 655px) {
	h1 {
		margin-top: -6px;
	}
}
@media screen and (max-width: 620px) {
	h1 {
		letter-spacing: 3px;
	}
	.switch {
		display: none;
	}
	.myfont3 {
		line-height: 1.5;
	}
}
@media screen and (max-width: 600px) {
	p {
		margin-top: 0.5em;
	}
}
@media screen and (max-width: 570px) {
	h1 {
		letter-spacing: 1px;
	}
	.myfont3 {
		letter-spacing: 1px;
	}
}
@media screen and (max-width: 540px) {
	.myfont3 {
		line-height: 1.25;
	}
}
@media screen and (max-width: 520px) {
	section {
		margin: 10px 15px 30px;
	}
}
@media screen and (max-width: 500px) {
	section {
		max-width: 341px;
		-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;
	}
	figure  {
		width: 100%;
		border: 0;
		box-shadow: none;
		border-radius: 0;
	}
	figure img {
		border-radius: 8px 8px 0 0;
	}
	figcaption {
		width: 100%;
		padding: 10px;
		margin-top: 15px;
	}
	h1 {
		letter-spacing: 3px;
		margin-top: 0;
		text-align: center;
	}
	.switch {
		display: inline;
	}
	.myfont3 {
		line-height: 1.67;
		letter-spacing: 3px;
	}
}
@media screen and (max-width: 350px) {
	header {
		background-size: auto 36px, auto 36px, auto 36px;
		height: 36px;
		margin-bottom: 20px;
	}
	section {
		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;
	}
}