@charset "utf-8";
/*
Theme Name: 英語ソムリエアカデミー
Theme URI: 
Author: NARTS
Author URI: http://www.narts.jp
Description: Bootstrap3対応テーマ
Version: 0.1.0
*/

/* wordpress */
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}
.alignright {
	float: right;
	margin-bottom: 10px;
}
.alignleft {
	float: left;
	margin-bottom: 10px;
}

/* Bootstrap3グリッドシステム余白リセット */
.container {
	max-width: 1000px;
	padding-left: 0;
	padding-right: 0;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-right: 0;
  padding-left: 0;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

body{
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	color: #212121;
	font-size: 15px;
	line-height: 1.5;
	background-color: #fff;
	-webkit-text-size-adjust: 100%;
	background-repeat: no-repeat;
	background-position: top center;
}

img {
	max-width: 100%;
	height: auto;
}

header {
	margin-top: 10px;
}

header h1 {
	font-size: 12px;
	margin-top: 0;
	padding-top: 0;
}

#logo {
	margin-top: 23px;
	margin-bottom: 15px;
	padding-left: 0;
}

header .contact {
	margin-top: 14px;
	margin-bottom: 15px;
}

header nav {
	background-image: url(./images/bg_nav.png);
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 1px;
	border-top: 1px solid #ccc;
}

header nav ul {
	text-align: center;
}

header .list-inline>li {
	padding-right: 0;
	padding-left: 0;
}

header nav img {
    padding-left: auto;
    padding-right: auto;
}

#navigation {
	background: url(./images/nav_border.png) repeat-y left top;
}

#navigation a {
	color: #212121;
	text-decoration: none;
    display:table-cell;
    vertical-align: middle;
	font-size: 15px;
	font-weight: 500;
}

header nav .nav {
	height: 59px;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	background-image: url(./images/nav_border.png),
	                  url(./images/nav_border.png);
	background-repeat: no-repeat;
	background-position: -2px center,
	                     right center;
	display:table;
	vertical-align: middle;
}

nav .dropdown {
	height: 59px;
	width: 100%;
	display: table;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:active,
.nav .open > a:focus {
	background-color: transparent;
}

.dropdown:hover,
.open {
	-webkit-padding-start: 3px;
}

.dropdown:hover > .dropdown-menu {
	display: block;
}

.dropdown-menu {
	background-color: #1666D3 !important;
	top: 53px;
	width: 100%;
	border-radius: 0 4px 4px 0;
	border-top: 0;
}

#navigation .dropdown-menu > li {
	border-top: 0;
}

#navigation .dropdown-menu > li + li {
	border-top: 1px solid #212121;
}

#navigation .dropdown-menu > li > a {
	display: block;
	color: #FFFFFF;
}

#navigation .dropdown-menu > li > a:hover,
#navigation .dropdown-menu > li > a:focus {
	color: #FFFFFF;
	background-color: #7CAEF1;
}
.open > .dropdown-menu {
  display: block;
}
.open > a {
  outline: 0;
}

#navigation a:hover,
#navigation a:active {
	-moz-opacity:0.5;
	opacity:0.5;
	filter:alpha(opacity=50);
	background-color:rgba(255,255,255,0.4);
}

footer {
	border-top: 3px solid #1666D3;
	background-color: #EEEEEE;
	padding-top: 20px;
}

footer .list-inline {
	margin-bottom: 0;
	line-height: 1;
}

footer .list-inline > li {
	padding-right: 0;
}

footer nav li + li {
	text-align: center;
	border-left: 1px solid #333333;
}

footer a {
	color: #333333;
	font-size: 12px;
}

#colophon {
	margin-top: 35px;
}

/* トップページ */
#mainimage {
	background: url(./images/bg_mainimg_top.png) repeat-x;
	border-bottom: 3px solid #53332F;
}

#mainimage .container {
	padding: 0 0 2px 0;
	background-color: #FFFFFF;
}

section {
	margin: 0;
	padding: 0;
}

section h1 {
	font-size: 30px;
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	padding-left: 100px;
	padding-right: 100px;
	padding-bottom: 15px;
	border-bottom: 1px solid;
	margin: 0 auto;
	max-width: 380px;
	font-weight:bold;
}

#course {
	background: url(./images/bg_course.png) repeat;
}

#course h1 {
	padding-top: 45px;
	margin-bottom: 30px;
}

#course p {
	line-height: 1.5em;
	font-size: 18px;
}

#course p.course-catch {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 40px;
}

#course li {
	padding: 11px;
}

.course-box {
	background: #FFFFFF;
	width:310px;
	margin-bottom: 50px;
	box-shadow: 5px 5px 30px #999999;
	margin-left: auto;
	margin-right: auto;
}

.course-title a:hover,
.course-title a:active {
	-moz-opacity:0.5;
	opacity:0.5;
	filter:alpha(opacity=50);
}

.course-img {
	padding: 5px;
}

.course-txt {
	padding: 15px;
	font-size: 14px;
}

#course ul {
	margin-bottom: 0;
}

#live .container-fluid {
	padding: 0;
	margin: 0;
}

#live .img-responsive {
	float: right;
}

#live h1 {
	margin-top: 50px;
	margin-bottom: 20px;
	margin-left: 0;
	margin-right:0;
	padding-left: 0;
	padding-bottom: 15px;
	border-bottom: 1px solid;
	width: 100%;
}

#live ul {
	padding-left: 20px;
	list-style-image: url(./images/ico_link.gif);
}

#live a {
	color: #2570D6;
	font-size: 15px;
	text-decoration: underline;
}

#live .event {
	font-size: 20px;
	font-weight: bold;
	color: #00008C;
	padding-top: 60px;
	padding-bottom: 10px;
}

#live .event-text {
	font-size: 16px;
}

.live-box {
	max-width: 500px;
	margin-right: auto;
	margin-left: auto;
}

.live-text {
	max-width: 500px;
	font-size: 18px;
	line-height: 1.5;
}

.live-movie {
	min-height: 600px;
	background: url(./images/bg_top_yomikikase.png) no-repeat;
	text-align:center;
	background-size: 100% 100%;
}

.live-movie p {
	color: #FFFFFF;
	font-size: 25px;
	line-height: 1.5;
	padding-top: 70px;
	margin-bottom: 50px;
}

.youtube {
	max-width: 570px;
	max-height: 325px;
	margin-left: auto;
	margin-right: auto;
	border: 5px solid #FFFFFF;
}

.youtube iframe{
	width: 100%;
}

#information {
	background: #EFEFFC;
	padding-top: 50px;
	padding-bottom: 50px;
}

#information h1 {
	margin-top: 10px;
	margin-bottom: 30px;
}

#information p {
	font-size: 16px;
	padding-top: 35px;
}

#information a {
	color: #212121;
	text-decoration: underline;
}

.info-box {
	width: 235px;
	height: 150px;
	border: 1px solid #cccccc;
	background: #FFFFFF;
	padding: 5px;
}

.info-inner {
	background: #EAE6DB;
}

.info-date {
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid;
}

.info-title {
	font-weight: bold;
	color: #2570D6;
	height: 75px;
	padding-top: 10px;
	font-size: 15px;
}

.info-more {
	color: #FFFFFF;
	height: 34px;
	padding-top: 5px;
	font-size: 15px;
	background: #C2BEB2;
}

.info-more a {
	color: #FFFFFF;
}

#contact h1 {
	padding-top: 80px;
	margin-bottom: 20px;
}

#contact p {
	font-size: 15px;
	margin-bottom: 50px;
}

#contact img {
    padding-left: auto;
    padding-right: auto;
	margin-bottom: 25px;
}

#contact .phone {
	font-size: 40px;
	margin-bottom: 10px;
}

#contact .phone a {
	color: #212121;
}

#contact .contact {
	max-width: 298px;
	margin-left: auto;
	margin-right: auto;
}

.contact a:hover,
.contact a:active {
	-moz-opacity:0.5;
	opacity:0.5;
	filter:alpha(opacity=50);
}

#link {
    margin-left: auto;
    margin-right: auto;
	text-align: center;
}

#link li {
	padding-top: 25px;
	padding-bottom: 25px;
}

#link a:hover,
#link a:active {
	-moz-opacity:0.5;
	opacity:0.5;
	filter:alpha(opacity=50);
}

/* 下層ページ */
#subimage {
	background: url(./images/bg_subimg.png) repeat-x;
	border-bottom: 3px solid #53332F;
}

#subimage > .container {
	background: url(./images/img_sub.jpg) no-repeat;
	background-position: right top;
	-moz-background-size:contain;
	background-size:contain;
}

#subimage > .img_about, #subimage > .img_contact { /* お問い合わせもイラストに（東内） */
	background-image: url(./images/img_sub_about.jpg);
}

#subimage > .img_live {
	background-image: url(./images/img_sub_lesson.jpg);
}

#subimage > .img_lesson {
	background-image: url(./images/img_sub_lesson.jpg);
}

#subimage > .img_voice {
	background-image: url(./images/img_sub_voice.jpg);
}

#subimage > .img_faq {
	background-image: url(./images/img_sub_faq.jpg);
}

#subimage > .img_news {
	background-image: url(./images/img_sub_about.jpg);
}

#subimage h1 {
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 30px;
	padding: 50px 0;
	margin: 0;
	font-weight: bold;
}

#contents {
	margin: 50px 0;
}

#contents h1 {
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid;
	margin-bottom: 20px;
	font-weight: bold;
}

#contents h2 {
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN','ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	border-left: 5px solid #1666D3;
	padding-top: 3px;
	padding-left: 15px;
	margin-top: 35px;
	margin-bottom: 30px;
	font-size: 24px;
	vertical-align: middle;
	font-weight: bold;
}

#contents p {
	margin-bottom: 30px;
}

#contents dl {
	border-bottom: 1px dashed #CCCCCC;
	padding-bottom : 25px;
}

#contents dt {
	background: url(./images/ico_question.png) no-repeat;
	background-position: left top;
	padding-left: 40px;
	line-height: 25px;
	font-size: 15px;
	margin-bottom: 15px;
}

#contents dd {
	background: url(./images/ico_answer.png) no-repeat;
	background-position: left top;
	padding-left: 40px;
	line-height: 25px;
	font-size: 15px;
}

#contents table {
	margin: 30px auto;
}

.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
	border-color: #0066B3;
	padding: 15px;
	vertical-align: middle;
	font-size: 15px;
}

.table-bordered>tbody>tr>th {
	background-color: #EEEEEE;
	border-right: 0;
}

.table-bordered>tbody>tr>th +td {
	border-left: 0;
}

.contact-phone {
	font-size: 24px;
	background: url(./images/ico_contact_phone.png) no-repeat;
	background-position: left 5px;
	padding-left: 30px;
}

.reception br {
	display:none;
}

.wpcf7 select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
}

.wpcf7 table {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}

.wpcf7 th {
	background-color: #8CADCC;
	color: #FFFFFF;
	font-weight: normal;
	padding: 15px !important;
}

.wpcf7 td {
	padding: 15px !important;
}
span.wpcf7-list-item { /* チェックボックス項目を改行表示（東内） */
	display: block;
}

/****** 英語ソムリエアカデミーとは ******/
.personal-info {
	background-color: #F3F6FB;
	padding: 30px;
}
.p-photo {
	background-color: #ffffff;
	box-shadow: 0px 0px 7px #555555;
		-webkit-box-shadow: 0px 0px 7px #555555;
	display: block;
	float: left;
}
.p-text {
	width: 655px;
	margin-left: 23px;
	display: block;
	float: left;
}
#contents .p-text p {
	margin-bottom: 0px;
}

/******* 英語絵本のメリット *******/
#merit {
	padding-top: 50px;
	background-image: url(./images/bg_merit.png);
	background-repeat: repeat;
	padding-bottom: 30px;
}
#merit h1 {
	margin-top: 0px;
	max-width: 650px;
	margin-bottom: 35px;
	margin-left: auto;
	margin-right: auto;
	padding-right: 0px;
}
#merit img {
	margin-bottom: 1em;
	box-shadow: 0px 0px 6px #666;
		-webkit-box-shadow: 0px 0px 6px #666;
}
#merit p {
	font-size: 17px;
}

/**********************************************
　　　　レスポンシブ対応↓
**********************************************/

@media screen and (max-width: 920px) {
/*** 英語ソムリエアカデミーとは ***/
.p-photo {
	float: none;
	margin-bottom: 1em;
	width: 260px;
	margin-left: auto;
	margin-right: auto;
}
.p-text {
	width: 100%;
	margin-left: 0px;
	float: none;
	text-align: center;
}

}

@media screen and (max-width: 768px) {

.reception br {
	display: inline;
}

table th,
table td {
	display:block;
	width: 100%;
}

.table-bordered>tbody {
	border-top: 1px solid #0066B3;
}

.table-bordered>tbody>tr>th {
	border-right: 1px solid #0066B3;
	border-top: 0;
}

.table-bordered>tbody>tr>th + td {
	border-left: 1px solid #0066B3;
	border-top: 0;
}

.table-bordered>tbody>tr>td + .table-bordered>tbody>tr>th {
	border-top: 0;
}

#subimage h1 {
	background-color:rgba(255,255,255,0.4);
	padding: 30px 0;
}

}

@media screen and (max-width: 480px) {
section h1 {
	padding-left: 40px;
	padding-right: 40px;
}

#live h1 {
	padding-right: 0;
}

#subimage > .container {
	-moz-background-size:cover;
	background-size:cover;
}

#contents table {
	width: 95%;
}

.reception {
	font-size: 18px;
}

.wpcf7-list-item {
	display: block;
}

.page-id-4 #subimage h1 {
	font-size: 24px;
}

}

@media screen and (max-width: 320px) {

.page-id-4 #subimage h1 {
	font-size: 20px;
	padding: 35px 0;
}

}

/********* Googleカレンダーをレスポンシブに *********/
.g-calendar embed, .g-calendar iframe, .g-calendar object{
	max-width: 100%;
}