@charset "utf-8";

/* ========== すべて共通 ========== */
html, body {
	font-size: 16px;
	font-family: sans-serif;
	color: #393939;
	background: #efefef;
}
body, div, p, h1, h2, h3, h4, ul, figure {
	margin: 0;
	padding: 0;
}
p, td, th, li {
	line-height: 1.8;
}
img {
	width: 100%;
	height: auto;
}
a {
	color: #709a00;
}
a:hover {
	color: #95cd00;
}
a:active {
	color: #4b6700;
}
.img-responsive {
	display: block;
	max-width: 20%;
	height: auto;
}
/* 共通の見出し */
main h1 {
	margin-bottom: 1rem;
	border-bottom: 1px dashed #d0af4c;
	font-weight: normal;
	font-size: 1.6rem;
}

.container {
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	max-width: auto;
}
@media screen and (min-width: 768px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* ========== ヘッダー ========== */
header {
	background: #ffffff;
}
.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: 834px) {
	.header-logo {
		padding: 20px 0;
		width: 200px;
		height: 46px;
	}
	.menu-btn {
		display: none;
	}
}

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

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

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

@media screen and (min-width: 767px) {
	main {
		padding-left: 30px;
		padding-right: 30px;
	}
}
.youtube {
	display:flex;
	flex-direction: row;
}
.box {
	width: 25%;
	margin: 1%;
	img {
		width: 100%;
		height: 100%;
	}
}

.text_img{
    width: 5%;
    vertical-align: middle;
}


.grid {
    display: grid;
	gap: 26px;
	grid-template-columns: 1fr 1fr 1fr;
	margin-top: 6%;
	margin-bottom: 50px;
}

/* ========== フッター ========== */
footer {
	background: #d0af4c;
	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.html トップページ ========== */

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

@media screen and (min-width: 767px) {
	.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;
	background: #fff;
}

/* コース一覧 */
.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;
}

/* ========== qanda よくある質問 ========== */
.q-and-a {
	margin-top: 1em;
	padding: 8px 0 0 60px;
}
.question {
	font-weight: bold;
	color: #6eba44;
	background: url(../images/q.png) no-repeat left top;
	background-size: 40px 40px;
}
.answer {
	margin-bottom: 2em;
	background: url(../images/a.png) no-repeat left top;
	background-size: 40px 40px;
}
/* =======お問い合わせフォーム======= */
.Form {
	margin-top: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
  }
  .Form-Item {
	border-top: 1px solid #ddd;
	padding-top: 24px;
	padding-bottom: 24px;
	width: 100%;
	display: flex;
	align-items: center;
  }
  
  .Form-Item:nth-child(5) {
	border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
	width: 100%;
	max-width: 248px;
	letter-spacing: 0.05em;
	font-weight: bold;
	font-size: 18px;
  }
  
  .Form-Item-Label.isMsg {
	margin-top: 8px;
	margin-bottom: auto;
  }
  
  .Form-Item-Label-Required {
	border-radius: 6px;
	margin-right: 8px;
	padding-top: 8px;
	padding-bottom: 8px;
	width: 48px;
	display: inline-block;
	text-align: center;
	background: #008080;
	color: #fff;
	font-size: 14px;
  }
  
  .Form-Item-Input {
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-left: 40px;
	padding-left: 1em;
	padding-right: 1em;
	height: 48px;
	flex: 1;
	width: 100%;
	max-width: 410px;
	background: #eaedf2;
	font-size: 18px;
  }
  
  .Form-Item-Textarea {
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-left: 40px;
	padding-left: 1em;
	padding-right: 1em;
	height: 216px;
	flex: 1;
	width: 100%;
	max-width: 410px;
	background: #eaedf2;
	font-size: 18px;
  }
  
  .Form-Btn {
	border-radius: 6px;
	margin-top: 32px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 280px;
	display: block;
	letter-spacing: 0.05em;
	background: #008080;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
  }
  
  /* =======お問い合わせフォーム======= */
  
  
  #formWrap {
	  width:700px;
	  margin:0 auto;
	  color:#555;
	  line-height:120%;
	  font-size:90%;
  }
  table.formTable{
	  width:100%;
	  margin:0 auto;
	  border-collapse:collapse;
  }
  table.formTable td,table.formTable th{
	  border:1px solid #ccc;
	  padding:10px;
  }
  table.formTable th{
	  width:30%;
	  font-weight:normal;
	  background:#efefef;
	  text-align:left;
  }
  
  
  @media screen and (max-width:572px) {
	#formWrap {
	  width:95%;
	  margin:0 auto;
	}
	table.formTable th, table.formTable td {
	  width:auto;
	  display:block;
	}
	table.formTable th {
	  margin-top:5px;
	  border-bottom:0;
	}
	form input[type="text"], form textarea {
	  width:80%;
	  padding:5px;
	  font-size:110%;
	  display:block;
	}
	form input[type="submit"], form input[type="reset"], form input[type="button"] {
	  display:block;
	  width:100%;
	  height:40px;
	}
  }