@charset "UTF-8";
/* CSS Document */

article {
	margin-top: 160px;
}

.black_bold {
	width: 80%;
	text-align: center;
	margin: 0 auto;
	display: block;
}

.small {
	color: #544828;
	margin-top: 8px;
	line-height: 1.3em;
}

/*===短い回答 ここから==========================================================*/
.select_upper,
.select_bottom {
	width: 43%;
	min-width: 340px;
	margin: 0 auto;
	overflow: hidden;
	margin-top: 50px;
}

.select_left {
	text-align: center;
	float: left;
	width: 25%;
	min-width: 150px;
	padding: 25px;
	color: #ffffff;
	background: #333573;
	margin-left: 0;
	-webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all  0.3s ease-in;
}

.select_right {
	text-align: center;
	float: right;
	width: 25%;
	min-width: 150px;
	padding: 25px;
	color: #ffffff;
	background: #333573;
	margin-right: 0;
	-webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    -o-transition: all 0.7s ease-in;
    transition: all  0.7s ease-in;
}

/*===短い回答 ここまで==========================================================*/

/*===長い回答 ここから==========================================================*/

.select {
	width: 43%;
	min-width: 340px;
	margin: 0 auto;
	margin-top: 30px;
}

.select_list {
	text-align: center;
	width: 100%;
	padding: 25px 0;
	color: #ffffff;
	background: #333573;
	margin-bottom: 30px;
	-webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    -o-transition: all 0.7s ease-in;
    transition: all  0.7s ease-in;
}

/*===長い回答 ここまで==========================================================*/

/*===画像つき回答 ここから==========================================================*/

.img_q {
	width: 70%;
	min-width: 340px;
	max-width: 550px;
	margin: 0 auto;
	margin-top: 30px;
	background: #333375;
	color: #ffffff;
	padding: 2%;
	margin-bottom: 30px;
	overflow: hidden;
	-webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    -o-transition: all 0.7s ease-in;
    transition: all  0.7s ease-in;
}

.img_q img {
	width: 35%;
	float: left;
}

.test_img_kaisetsu {
	width: 60%;
	float: left;
	margin-left: 2%;
	word-wrap: break-word;
}
/*===画像つき回答 ここまで==========================================================*/

/*選択ボタンのアニメーション------------------------------------*/
/*ページが開いた時に回転する-------------------*/
/*animate.css内で下記を指定している*/
/*.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  animation-name: flipInX;
  animation-delay:0.6s; } /*0.6秒遅延して実行*/

/*ホバー時に背景色が明るくなり、文字色が暗くなる-------------------*/
.select_right:hover,
.select_left:hover,
.select_list:hover,
.img_q:hover {
	background: #cccef7;
	color: #333573;
}

/*----- ブレークポイント ----------------------------------------------------------------------------------------------------*/
/*===== max-width: 960px ===================================================================*/
@media (max-width: 960px){
	
	.select_upper,
	.select_bottom {
		width: 55%;
	}
}


/*===== max-width: 768px ===================================================================*/
@media (max-width: 768px){
	
	.select_upper,
	.select_bottom {
		width: 65%;
	}
}


/*===== max-width: 667px ===================================================================*/
@media (max-width: 667px){
	
	h2 {
		margin-bottom: 30px;
	}
	
	/*表を縦並びに*/
	.select_upper,
	.select_bottom {
		width: 35%;
		min-width: 300px;
		margin: 0 auto;
		/*overflow: hidden;*/
		/*margin-top: 50px;*/
	}
	
	.select_left {
		text-align: center;
		/*float: left;*/
		width: 100%;
		min-width: 300px;
		padding: 25px 0;
		ttext-align: center;
		color: #ffffff;
		background: #333573;
		margin-top: 30px;
	}
	
	.select_left:first-of-type {
		margin-top: 30px;
	}

	.select_right {
		text-align: center;
		/*float: right;*/
		width: 100%;
		min-width: 300px;
		padding: 25px 0;
		color: #ffffff;
		background: #333573;
		margin: 30px 0 15px 0;
	}
}


/*===== max-width: 480px ===================================================================*/
@media (max-width: 480px){

	article {
		margin-top: 110px;
	}
	
	.black_bold {
		width: 90%;
		min-width: 300px;
	}
	
	.img_q {
		width: 90%;
		min-width: 340px;
	}
}