/* main */
header {
	width: 94.32%;
	background: url(/images/sdj_subtitle3.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: 800px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 10px 25px 10px;
}
section {
	width: 49.5%;
	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-bottom: 20px;
}
figure {
	width: 50.7576%;
	border: 6px solid #ffffff;
	margin: 0;
	box-shadow: 3px 3px 5px #808080;
	border-radius: 5px;
}
figcaption {
	width: 46.5%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	padding: 3px;
	margin: 0;
}
.title {
	background-color: #eeeeee;
	text-align: center;
	border-radius: 5px;
}
.subtitle {
	margin-top: 3px;
	font-weight: bold;
}
.process {
	color: #003399;
	letter-spacing: 2px;
	text-align: justify;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.detail {
	margin-top: 10px;
}

/* media queries */
@media screen and (max-width: 770px) {
	figcaption {
		width: 47.4747%;
		padding-top: 0;
	}
	.detail {
		margin-top: 5px;
	}
	h1 {
		line-height: 1.5;
	}
}
@media screen and (max-width: 720px) {
	.myfont2 {
		line-height: 1.5;
	}
	.myfont3 {
		line-height: 1.5;
		letter-spacing: normal;
	}
}
@media screen and (max-width: 700px) {
	.container {
		margin: 10px 20px 10px;
	}
}
@media screen and (max-width: 655px) {
	figcaption {
		padding-top: 3px;
	}
	.title {
		display: none;
	}
	.myfont2 {
		color: #000000;
	}
	.switch {
		display: none;
	}
}
@media screen and (max-width: 610px) {
	.process {
		margin-top: 3px;
	}
	.myfont2 {
		line-height: 1.25;
	}
	.myfont3 {
		line-height: 1.25;
	}
}
@media screen and (max-width: 555px) {
	.myfont2 {
		font-size: 0.6875em;
	}
	.myfont3 {
		font-size: 0.6875em;
	}
}
@media screen and (max-width: 522px) {
	.container {
		margin: 10px 15px 10px;
	}
	.process {
		font-weight: normal;
	}
}
@media screen and (max-width: 500px) {
	section {
		width: 31%;
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
		border-radius: 5px;
	}
	figure {
		width: 100%;
		border: 0;
		box-shadow: none;
		border-radius: 0;
	}
	figure img {
		border-radius: 5px 5px 0 0;
	}
	figcaption {
		width: 100%;
		padding: 10px;
		margin-top: 5px;
	}
	.subtitle p {
		margin-top: 0;
		letter-spacing: normal;
	}
	.process {
		font-weight: inherit;
		margin-top: 0;
	}
	.detail {
		margin-top: 10px;
	}
	.myfont2 {
		font-size: 0.75em;
		line-height: 1.67;
	}
	.myfont3 {
		font-size: 0.75em;
		line-height: 1.67;
		letter-spacing: 3px;
	}
	h1 {
		line-height: 1.67;
	}
}
@media screen and (max-width: 466px) {
	.container {
		-webkit-justify-content: space-around;
		justify-content: space-around;
		padding-right: 0px;
	}
	section {
		width: 46%;
	}
	figcaption {
		margin-top: 10px;
	}
	.switch {
		display: inline;	
	}
}
@media screen and (max-width: 370px) {
	.switch {
		display: none;
	}
}
@media screen and (max-width: 351px) {
	.process {
		letter-spacing: 1px;
		font-weight: normal;
	}
	figcaption, .detail {
		margin-top: 5px;
	}
	.myfont3 {
		letter-spacing: normal;
	}
}
@media screen and (max-width: 350px) {
	header {
		background-size: auto 36px, auto 36px, auto 36px;
		height: 36px;
		margin-bottom: 20px;
	}
	.container {
		margin-bottom: 0;
	}
}
@media screen and (max-width: 315px) {
	section {
		width: 90%;
		border-radius: 8px;
	}
	figcaption, .detail {
		margin-top: 10px;
	}
	figure img {
		border-radius: 8px 8px 0 0;
	}
	.switch {
		display: inline;	
	}
	.process {
		letter-spacing: 2px;
		font-weight: inherit;
	}
	.myfont3 {
		letter-spacing: 3px;
	}
}