@charset "utf-8";
/*
Theme Name:IELTS Test Tutor
Author:Erika
Description:
*/

/* class */

.mb30 {
	margin-bottom: 30px;
}
.text_c {
	text-align: center;
}
img {
	max-width: 100%;
	height: auto;
	width /***/: auto;
　/*IE8のみ適用*/
}
/*装飾*/

body {
	font-family: 'Open Sans', "小塚ゴシック", "Kozuka Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 16px;
	color: #646358;
	width: 100%;
}
a {
	text-decoration: none;
	color: #646358;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a:hover {
	color: #CCC;
}
/*レイアウト*/

body {
	background-color: #fff;
}
#container {
	width: 100%;
}
#wrapper {
	max-width: 1155px;
	margin: 0 auto;
	padding: 0 10px;
	background-color: #FFFFFF;
}
main {
	display: inline-block;
}
aside {
	display: inline-block;
}
}
 @media ( max-width : 640px ) { /*スマホで見たときに左右に余白が出来る設定*/
{
 width:96%;
 margin:0 2%;
}
}
main {
	padding: 10px 85px 10px 10px;
}
main section {
	margin-bottom: 30px;
}
/*ヘッダー*/

header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
	background-color: #FFFFFF;
	text-align: center;
}


/*スマホ時にタイトルが消える*/
 @media ( max-width : 640px ) {
header, #contact {
	display: none;
}
}
h1 {
	font-size: 58px;
	font-family: 'Playfair Display', serif;
	display: inline-block;
	text-align: center;
	margin-bottom: 10px;
}
#title {
	padding-left: 67px;
	background: url(img/topicon.png) no-repeat left 16px;
}
#subtitle {
	font-size: 32px;
	display: inline-block;
}
/*ナビゲーション*/

nav.nav-wrapper {
	background-color: #ace970;
}
ul.main-nav {
	display: -webkit-box;/*--- Androidブラウザ用 ---*/
	display: -ms-flexbox;/*--- IE10 ---*/
	display: -webkit-flex;/*--- safari（PC）用 ---*/
	display: flex;
	-webkit-box-pack: center;/*--- Androidブラウザ用 ---*/
	-ms-flex-pack: center;/*--- IE10 ---*/
	-webkit-justify-content: center;/*--- safari（PC）用 ---*/
	justify-content: center;
}
ul.main-nav .menu_block a {
	display: block;
	font-size: 17px;
	color: #ffffff;
	background-color: #ace970;
	padding: 15px;
	text-align: center;
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	transition: all 0.6s ease;
}
ul.main-nav .menu_block a:hover {
	color: #000000;
}
.menubtn {
	display: none;
}
.menu_block {
	text-align: center;
}
/*スマホ向け*/
@media screen and (max-width:640px) {
nav.nav-wrapper {
	background-color: #ffffff;
}
ul.main-nav .menu_block a {
	background-color: #ffffff;
	color: #646358;
	padding: 10px 0px 4px 0px;
}
.menubtn {
	display: block;
}
.menubtn a {
	display: block;
	color: #ffbd1d;
	background-color: #ffffff;
	padding-top: 20px;
	font-weight: bold;
	text-align: center;
	font-size: 100%;
}
.menubtn a:hover {
	color: #fff;
}
.menubtn a:active {
	background: #fff;
}
ul.main-nav {
	display: none;
}
ul.main-nav .menu_block {
	display: block;
	padding: 10px 0px;
}
ul.main-nav li a {
	font-size: 120%;
	display: inline;
}
}
main ul {
	margin-left: 1.0em;
}
main ul li {
	list-style: inside disc;
	padding-bottom: 10px;
	text-indent: -1.0em;
}
main ul.except {
	margin-left: 0em;
}
main ul.except li {
	list-style: none inside;
	text-indent: 0em;
}
#top_img {
	padding-top: 20px;
}
#top_img2 {
	padding-top: 20px;
	margin-bottom: 20px;
}
h2 {
	margin-top: 20px;
	margin-bottom: 20px;
}
.testlink {
	background: linear-gradient(transparent 60%, #d6e8f1 60%);
}
#toppage h2, #subpage h3, #blog h2 {
	font-size: 32px;
	padding: 0px 0px 0px 13px;
	border-left: 10px solid #fede45;
}
#testpage h3 {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 32px;
	padding: 0px 0px 0px 13px;
	border-left: 10px solid #ace970;
}
#subpage h2, #testpage h2 {
	font-size: 45px;
	padding: 0px 0px 0px 13px;
	border-left: 10px solid #fede45;
	border-bottom: 3px solid #fede45;
}
#subpage h3 {
	margin-top: 30px;
	margin-bottom: 20px;
}
#faqpage h2 {
	font-size: 45px;
	padding: 0px 0px 0px 13px;
	border-left: 10px solid #fede45;
	border-bottom: 3px solid #fede45;
}
#faqpage h3 {
	font-size: 23px;
	font-weight: bold;
}

 @media screen and (max-width:640px) {
h2, #subpage h3, #blog h2 {
	font-size: 30px;
	text-align: center;
}
#subpage h2, #testpage h2, #faqpage h2{
	font-size: 35px;
}
#subpage h2, #toppage h2, #subpage h3, #testpage h2, #faqpage h2{
	padding: 0px 0px 5px 5px;
	border-left: none;
	border-bottom: 4px solid #fede45;
}
}
.bloghead {
	margin-bottom: 30px;
}
.bloghead h2:first-letter {
	font-size: 50px;
	font-weight: bold;
	padding: 2px;
}
.bloghead h2 {
	margin-bottom: 30px;
}
#blog article {
	margin: 30px auto;
	padding-bottom: 30px;
	border-bottom: solid 2px #ccc;
}
#blog article .blogdate, #blog article .blogcat {
	padding: 0px 30px;
}
#blog article .blogdate {
	background: left no-repeat url(img/blog/dateicon.png);
}
#blog article .blogcat {
	background: left no-repeat url(img/blog/caticon.png);
}
#blog article p {
	margin-bottom: 30px;
}
#cat, #latest {
	margin-top: 30px;
	background-color: #eeeeee;
	padding: 50px 20px;
}
#cat h3, #latest h3 {
	font-size: 30px;
	text-align: center;
	margin-bottom: 20px;
}
#cat h3 span, #latest h3 span {
	border-bottom: 4px solid #fede45;
}
#cat ul li, #latest ul li {
	text-align: center;
}
#cat ul li a {
	padding-left: 32px;
	background: left no-repeat url(img/blog/caticon.png);
}
.pagination {
	text-align: center;
	padding: 40px 0px;
	background-color: #fffff;
}
.pagination .page-numbers {
	text-align: center;
	margin: 0 1rem;
}
.pagination .current {
	background-color: #fede45;
	border-radius: 2.5rem;
	padding: 10px 20px;
}
#pre {
	text-align: left;
}
#nex {
	text-align: right;
}
first-letter {
	font-size: 50px;
	font-weight: bold;
}
.comment {
	position: relative;
	z-index: 1;
}
.comment:before {
	content: "“";
	font-size: 600%;
	line-height: 0;
	font-family: Georgia, Open Sans, sans-serif;
	color: #999;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
.comment:after {
	content: "”";
	font-size: 600%;
	line-height: 0em;
	font-family: Georgia, Open Sans, sans-serif;
	color: #999;
	position: absolute;
	right: 0;
	bottom: 0;
}
.test section {
	padding: 0px 20px;
}
.test article {
	margin: 30px auto;
	padding-bottom: 30px;
	border-bottom: solid 2px #ccc;
}
.testname {
	text-align: right;
}
.testimg div img {
	padding: 4px;
}
 @media screen and (max-width:640px) {
.test section {
	padding: 0px;
}
.testimg div {
	text-align: center;
}
}

#faqpage div {
	margin-top: 20px;
	padding: 20px 10px 20px 15px;
	background-color: #f4f4f4;
}
#faqpage div p {
	padding-bottom: 10px;
}
/* コンタクト */

#contact {
	margin-top: 30px;
	background-color: #eeeeee;
	padding: 50px 30px 50px 20px;
	font-size: 30px;
}
#contact h3, #contact ul li {
	text-align: center;
}
#contact h3 {
	margin-bottom: 15px;
}
#contact h3 span {
	border-bottom: 4px solid #ace970;
}
#contact ul li {
	margin-bottom: 10px;
	padding-left: 45px;
	background: url(img/phone.png) left no-repeat;
}
#contact #email {
	font-size: 18px;
	background: url(img/email.png) left no-repeat;
	line-height: 27px;
	padding-left: 38px;
}
#contact p {
	font-size: 14px;
	margin-top: 15px;
}
/*　フッター　*/

#page-top {
	display: none;
}
 @media ( max-width : 767px ) {
#page-top {
	display: block;
	font-size: 20px;
}
#page-top a {
	/*ボタンの背景色*/
	background: #dbf0ce;
	text-decoration: none;
	/*文字色*/
	color: #646358;
	/*文字周りのスペース*/
	padding: 15px;
	/*文字位置*/
	text-align: center;
	display: block;
	/*ボタンの角丸加減*/
	border-radius: 10px;
}
#page-top a:hover {
	text-decoration: none;
	/*ボタンに触れた時の背景色*/
	background: #dbf0ce;
}
#page-top {
	z-index: 10;
	opacity: 0.8;/*フォントのサイズ*/
}
#page-top a {
	/*ボタンの幅*/
	width: 80%;
	height: 60px;
	margin: 15px auto;
}
}
footer {
	background-color: #eeeeee;
	padding-top: 30px;
	margin-top: 30px;
}
footer h3 {
	font-size: 30px;
	text-align: center;
	margin-bottom: 15px;
}
footer h3 span {
	border-bottom: 4px solid #ace970;
}
footer ul li {
	margin-bottom: 10px;
	font-size: 30px;
	text-align: center;
}
footer ul li span {
	padding-left: 35px;
	background: url(img/phone.png) left no-repeat;
}
footer #email {
	font-size: 18px;
	line-height: 27px;
}
footer #email span {
	background: url(img/email.png) left no-repeat;
}
footer .sentence {
	display: none;
}
 @media ( max-width : 767px ) {
footer .sentence {
	display: block;
	width: 80%;
	margin: 0 auto;
	text-align: center;
}
}
footer p.rights {
	text-align: center;
	margin-top: 30px;
	padding-bottom: 30px;
}
