charset "utf-8";

/* ========== すべて共通 ========== */
html, body {
	font-size: 14px;
	font-family: sans-serif;
	color: #393939; /* 文字色：黒 */
	background: #F5F5DC; /* 背景カラー：ベージュ */
}
body, div, p, h1, h2, h3, h4, ul, figure {
	margin: 0;
	padding: 0;
}
p, td, th, li {
	line-height: 1.8;
}
p {
	font-size: 14px;
}

p.resizeimage { width: 100%; }
p.resizeimage img { width: 100%; }

img {
	width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: #709a00; /* リンク有の文字色：緑 */
}
a:hover {
	color: #95cd00; /* マウスオーバー時のリンク有の文字色：黄緑 */
}
a:active {
	text-decoration: none;
	color: #4b6700; /* クリック済みリンク有の文字色：濃緑 */
}

.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

table, th, td {
	border-collapse: collapse;
	border: 1px solid #ccc;
	line-height: 1.5;
}

table.type01 th {
	width: 150px;
	padding: 10px;
	font-weight: bold;
	vertical-align: top;
	background: #3f3f3f;
	color: #ffffff;
}

table.type01 td {
	width: 350px;
	padding: 10px;
	vertical-align: top;
	background: #fff;
}

/*
tr:nth-child(even) {
	background: #e5f4fb;
}
*/


/* 共通の見出し */
main h1 {
	margin-bottom: 1rem;
	border-bottom: 1px dashed #c84040;
	margin-top: 5rem;
	font-weight: normal;
	font-size: 1.6rem;
}

.container {
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	max-width: 1000px;
}

/* モバイル向け画面設定 */
.flex-container {
	display: flex;
	flex-flow: column-reverse;
}

.flex-right {
	flex: 1;
	background: #F5F5DC;
	order: 1;
}

.flex-left {
	display: none;
	background: #F5F5DC;
}

.flex-subcontainer {
	margin: 0 auto;
	display: flex;
	flex-flow: column;
}

.flex-text {
	flex-grow: 3;
}

.flex-image {
	margin: 0px 0px 20px 0px; /* 上右下左 */
	align-self: flex-start;
}

.contents-wrap,
.contents-wrap:nth-child(odd)  {
	flex-direction: column;
}

.contents-text {
	width: 100%; /*flex: 1;*/
/*	padding: 3rem;*/
}

.contents-text h2 {
	text-align: center;
}

.contents-img {
	margin: 10px 0px 10px 0px; /* 上右下左 */
	width: 100%; /*flex: 1;*/
}


/* PC向け画面設定 */
@media screen and (min-width: 768px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.flex-container {
		flex-flow: row;
	}

	.flex-right {
		padding-left: 10px;
		flex: 1;
		background: #F5F5DC;
		order: 1;
	}

	.flex-left {
		display: flex;
		background: #F5F5DC;
		padding-left: 0px;
		flex-basis: 250px;
		order: 0;
	}

	.flex-subcontainer {
		margin: 0 auto;
		display: flex;
		flex-flow: row;
	}

	.flex-text {
		flex-grow: 3;
	}

	.flex-image {
		margin: 0px 20px 20px 20px; /* 上右下左 */
		align-self: flex-start;
	}

	.contents-wrap {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin-bottom: 10px;
	}

	.contents-wrap-reverse {
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
		margin-bottom: 10px;	
	}

	.contents-wrap:nth-child(odd) {
		flex-direction: row-reverse;
	}

	.contents-wrap:nth-child(even) {
		flex-direction: row;
	}

	.contents-text {
		width: 55%;
/*		width: 60%; */
		/*flex: 2;*/
	}

	.contents-img {
		width: 40%;
/*		width: 35%; */
		/*flex: 1;*/
	}

	.contents-text h2 {
		margin-bottom: 8px;
		font-size: 18px;
	}

	.contents-img img {
		margin-bottom: 10px;
		display: block;
		width: 100%;
		height: auto;
	}

}

/* ========== ヘッダー ========== */
header {
	background: linear-gradient(#ffcc66 , #ffdd9a);
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-logo {
	padding: 10px 0;
	width: 160px;
	height: 37px;
}
.menu-btn {
	padding: 10px 0;
	border: 1px solid #fff;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	background: url(../images/hamburger.png) no-repeat center center;
	background-size: contain;
}

@media screen and (min-width: 768px) {
	.header-logo {
		width: 200px;
		height: 46px;
	}
	.header-container {
		padding-left: 20px;
		padding-right: 20px;
	}
	.header-logo {
		padding: 20px 0;
	}
	.menu-btn {
		display: none;
	}
}

/* ========== ナビゲーション ========== */
nav {
	background: #000;
}
.navbar {
	display: none;
	list-style-type: none;
}
.navbar a {
	display: block;
	padding: 0.6rem 0;
	color: #fff;
	text-decoration: none;
}
.navbar a:hover {
	opacity: 0.5;
}

@media screen and (min-width: 768px) {
	.navbar {
		display: flex !important;
	}
	.navbar li {
		flex: 1 1 auto;
		text-align: center;
	}
	.navbar a.nav-current {
		background: #8D8D8D;
	}
}

/* ========== ヘッダーを画面上部に固定 ========== */
@media screen and (min-width: 768px) {
	.position-lock {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
	}
	header {
		width: 100%;
		height: 86px;
	}
	nav {
		width: 100%;
		height: 47px;
	}
/*	.main,*/
	.home-keyvisual {
		margin-top: 0px;
	}
}

/* ========== メインエリア基本レイアウト ========== */
main {
	padding-top: 30px;
	padding-bottom: 50px;
	background: #F5F5DC;
}

@media screen and (min-width: 767px) {
	main {
		padding-left: 30px;
		padding-right: 30px;
	}
}

/* ========== フッター ========== */
footer {
	background: #000;
	font-size: 0.9rem;
	color: #fff;
}
.footer-container {
	padding-top: 20px;
	padding-bottom: 20px;
}
.footer-nav {
	list-style-type: none;
}
.footer-nav li {
	display: inline;
	padding: 0 1rem 0 0;
}
.footer-nav a {
	color: #fff;
	text-decoration: none;
}
.footer-nav a:hover {
	opacity: 0.5;
}

/* ========== index トップページ ========== */

/* キャッチコピー */
.home-maincopy {
	text-align: center;
	font-size: 1.4rem;
}
.home-maincopy strong {
	color: #c84040;
}

@media screen and (min-width: 768px) {
	.home-maincopy {
		font-size: 2.4rem;
	}
}

.home-color1 {
	color: #f8b173;
}
.home-color2 {
	color: #74b9d9;
}
.home-color3 {
	color: #8bca85;
}
.home-color4 {
	color: #f8817e;
}

/* 見出し */
.home-h2 {
	padding-bottom: 5px;
	margin: 30px 0 10px 0;
	color: #c84040;
	border-bottom: 1px dashed #c84040;
	font-size: 1.3rem;
}

/* 新着情報 */
.home-news {
	padding: 30px;
	border-radius: 10px;
	text-decoration: none;
	display: flex;
	font-size: 14px;
	background: #f9f9f1; /* 新着情報枠内背景色 */
}

/* 新着情報の行頭にアイコン表示 */
.subnav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.subnav a {
	padding-left: 38px;
	/*
	background: url(../images/listmark.png) no-repeat left 0 top 0px;	*/
	color: #709a00;
	text-decoration: none;
}
.subnav a:hover {
	color: #95cd00;
	text-decoration: underline;
}

.subnav a:active {
	text-decoration: none;
	color: #4b6700;
}


/* コース一覧 */
.home-course {
	display: flex;
	flex-flow: column;
}
.home-course li {
	flex: 1 1 auto;
	margin: 0 2px 4px 2px;
	border: solid 5px #fff;
	list-style-type: none;
	background: #fff;
}


/* 画面幅が広い（タブレット・パソコン向け） */
@media screen and (min-width: 768px) {
	.home-course {
		flex-flow: row;
	}
}

.home-course a {
	color: #393939;
	text-decoration: none;
}

.home-course figure:hover {
	opacity: 0.5;
}

.home-course figcaption {
	padding: 15px 0;
	font-size: 0.9rem;
	font-weight: bold;
	text-align: center;
}

/* ========== course コース紹介 ========== */
/* コース概要 */
.course-container {
	display: flex;
	flex-flow: column;
}

@media screen and (min-width: 768px) {
	.course-container {
		flex-flow: row;
	}
	.course-image {
		flex: 1 1 400px;
		margin-right: 20px;
	}
	.course-text {
		flex: 1 1 580px;
	}
}

.course-image img {
	border-radius: 10px;
}
.course-h2 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}
.course-spec {
	list-style-type: none;
}
.course-label {
	display: inline-block;
	padding: 0.1rem 0.5rem;
	margin-right: 0.1rem;
	border-radius: 3px;
	background: #c84040;
	font-size: 0.7rem;
	color: #fff;
}

/* コース説明 */
.course-h3 {
	margin: 30px 0 10px 0;
	color: #c84040;
	border-bottom: 1px dashed #c84040;
	font-size: 1.3rem;
}
.course-description {
	margin-top: 30px;
	padding: 30px;
	background: #fff url(../images/point.png) no-repeat;
	background-size: 50px 50px;
	border-radius: 10px;
}

/* スケジュール（テーブル） */
.course-schedule {
	border-collapse: collapse;
}
.course-schedule td, .course-schedule th {
	padding: 0.5em 1em;
	border-bottom: 1px dotted #aeaeae;
}

/* 講師プロフィール */
.course-instructor {
	overflow: hidden;
}
.course-instructor img {
	float: left;
	margin-right: 20px;
	border-radius: 50%;
	width: 20%;
}
.course-instructor-name {
	font-size: 1.2rem;
	font-weight: bold;
	padding: 1rem 0 0.5rem 0;
}


/* お申込みボタン */
.course-button {
	display: block;
	width: 300px;
	margin: 30px auto;
	padding: 1rem 0;
	background-color: #709a00;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 1.2rem;
}
.course-button:hover {
	background-color: #95cd00;
	color: #fff;
}

/* ========== FAQ よくある質問 ========== */
.q-and-a {
	margin-top: 1em;
	padding: 17px 0px 0px 60px;
}
.question {
	font-weight: bold;
	color: #6eba44;
	background: url(../images/Q.png) no-repeat;
	background-size: 40px 40px;
}
.answer {
	margin-bottom: 2em;
	background: url(../images/A.png) no-repeat;
	background-size: 40px 40px;
}

.item-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}
.item {
	display: flex;
/*	width: 49%; */
	width: auto;
	margin-top: 0.5em;
	padding: 0.5em;
	border: 1px solid #ccc;
	box-sizing: border-box;
	background: #fff;

}
.item:nth-child(-n+2) {
	margin-top: 0;
}
.item-image {
	width: 200px;
	margin-right: 1em;
}
.item-image img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.item-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
}
.item-btn {
	align-self: flex-end;
	margin-top: 1em;
}
.item-btn a {
	display: inline-block;
	padding: .3em 2.5em;
	background: #3498db;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	text-align: center;
}


/* ========== contact お申し込み ========== */
.contact {
	padding: 20px;
	background: #fff;
	border-radius: 10px;
}
.contact p {
	margin-bottom: 1em;
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
}
textarea {
	height: 200px;
	border: 1px solid #ccc;
}

@media screen and (min-width: 768px) {
	input[type="text"],
	input[type="email"] {
		width: 50%;
	}	
}

/* お申込みボタン */
input[type="submit"] {
	width: 300px;
	padding: 8px 0;
	background-color: #709a00;
	border: none;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 1.2rem;
}


