/* いろはキッズ */

/* PC用設定 */

* {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	box-sizing: border-box;
}

/* 背景色を指定 */
body {
	background-image: url(img/bgpic.png);
}

/* 外枠を左右中央に配置・横幅・色を指定 */
div#container {
	margin: 0 auto 0 auto;
	width:800px;
	background-color: #FFFFDD;
}

/* タイトルの背景画像・文字色・文字の配置を指定 */
header {
	background-image: url(img/header.png);
	width: 800px;
	height: 250px;
	text-align: left;
	line-height: 24px;
}

h1 {
	font-size: 18px;
	color: black;
	margin-top: 0;
	padding: 1em 1em;
}

.iroha-kids {
	font-size: 380%;
	line-height: 250%;
	color: #FF8C00;
	background: linear-gradient(to right, #40E0D0, #FF8C00, #FF0080);	/*文字の背景色の設定*/
	-webkit-background-clip: text;	/*文字部分のみに背景色を表示*/
	-webkit-text-fill-color: transparent;	/*文字部分を透明にくり抜く。これがないとテキスト自体の色が表示され、背景クリップの効果が表れない。*/
}

.tel {
	font-size: 150%;
	color: blue;
	padding-left: 2em;
}


/* =============================================== */
/* ナビゲーションバーの設定 */
/* =============================================== */

nav {
	background-color: silver;
}

nav li.mobile {
	display: none;
}

nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

nav li{
	flex-basis: 25%;
	margin: 0px;
	padding: 0px;
	text-align: center;
	height: 60px;
	background-image: url(img/menu.png);
	background-size: cover;
}

nav a {
	display: block;	/* ナビバー全体をボタンにする */
	color: black;
	text-decoration: none;
	font-weight: bold;
	line-height: 60px;
}

nav a:visited {
	color: black;
}

/* =============================================== */
/* コンテンツブロック（メインブロックとサイドブロック） */
/* =============================================== */

/* 親要素の設定 */
.contents {
	display: flex;
}

/* =============================================== */
/* メインブロックの設定 */
/* =============================================== */

.main {
	flex-basis: 80%;
	background-color: #FFF5EE;
}

.main p {
	padding: 10px 1em 10px 2em;
	font-size: 95%;
	color: #333333;
}

h2 {
	font-size: 110%;
	font-weight: bold;
	color: maroon;
	padding-left: 1em;
	background-image: url(img/h2.png);
	
}

h3 {
	font-size: 105%;
	font-weight:bold;
	color: navy;
	padding-left: 2em;
	line-height: 200%;
	background: linear-gradient(to top, #FFFF66,#FFF5EE);
	margin-top: 10px;
	margin-bottom: 10px;
	clear: both;
}

p.h3 {
	padding: 10px 1em 10px 3em;
	font-size: 95%;
	color: #333333;
}

ul.h3 li {
	color: #333333;
	font-size: 95%;
	margin-left: 3em;
	line-height: 250%;
	width: 60%;
}


p.centering {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.red {
	color: red;
}

div.to_top {
	text-align: right;
	font-size: 90%;
	margin-top: 2em;
	padding-bottom: 1em;
	padding-right: 4px;
	clear: both;
}

.to_top a {
	text-decoration: none;
	font-weight: bold;
	color: black;
	background-image: url(img/h2.png);
}

/*問い合わせバナー*/

div.mail {
	text-align: center;
	vertical-align: bottom;
	background-image: url(img/h2.png);
	width: 60%;
	height: 80px;
	line-height: 80px;
	margin-left: auto;
	margin-right: auto;
	font-size: 150%;
	font-weight: bold;
}

.mail a {
	text-decoration: none;
}

.iroha-pc {
	display: none;
}


/* =============================================== */
/* サイドブロック（「サイドバー」と「その他の情報」 */
/* =============================================== */

div.side {
	flex-basis: 20%;
	background-color: #FFFFDD;
}

/*バナーリンク*/

div.iroha_banner {
	margin-top: 2px;
}

.iroha_banner img {
	width: 100%;
}


.side_bar ul {
	padding: 0;
	list-style-type: none;
}

.side_bar li {
	text-align: center;
	height: 60px;
	line-height: 60px;
	background-image: url(img/menu.png);
	background-size: cover;
}

.side_bar a {
	text-decoration: none;
	color: black;
	font-weight: bold;
}

.side_bar a:visited {
	black;
}

footer {
	text-align: center;
	font-size: 80%;
	background-color: #FFFFDD;
}


/* =============================================== */
/* 1ページ */
/* =============================================== */

div.kids {
	height: 320px;
	padding-left: 0em;
	background-image: url(img/kids.png);
}

p.hello {
	overflow: hidden;
	font-size: 175%;
/*	color: #FF0066;*/
	font-weight: bold;
	text-align: center;
	padding-top: 40px;
	background: linear-gradient(to right, aqua, blue, green, #FF6600, red);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

}

/* =============================================== */
/* 2ページ */
/* =============================================== */

.learn img {
	float: right;
	margin-bottom: 10px;
}

div.next_class {
	margin-top: 20px;
	padding-left: 2em;
	font-size: 120%;
}

.next_class a {
	text-decoration: none;
}

/* =============================================== */
/* 3ページ */
/* =============================================== */

.guide img {
	float: right;
	margin-right: 4%;
	margin-left: 1%;
}

table.charge {
	border: solid 2px silver;
	border-collapse: collapse;
	width: 85%;
	margin-left: 5em;
	font-size: 90%;
	text-align: center;
	line-height: 200%;
}

table.charge th {
	border-right: solid 1px silver;
	border-bottom: double silver;
}


table.charge td {
	border: solid 1px silver;
}

/* =============================================== */
/* 4ページ */
/* =============================================== */

table.access {
	width: 95%;
	border-collapse: collapse;
	border: solid 1px silver;
	margin-top: 10px;
	margin-left: 8px;
	margin-bottom: 6px;
	font-size: 95%;
}

table.access th {
	font-weight: normal;
	padding-top: 5px;
	padding-bottom: 10px;
	vertical-align: top;
}

table.access td {
	padding-top: 5px;
	padding-bottom: 10px;
}

div.access {
	margin: 0 1em;
	border: dotted 8px #FF6600;
}

div.map {
	text-align: center;
	margin-top: 1em;
}

img.iroha_map {
	width: 95%;
}

/* =============================================== */
/* メールフォーム */
/* =============================================== */

div.form-tbl {
	margin-left: 1em;
}

table#form	{
	border-collapse: collapse;
	border: solid 1px silver;
	width: 96%;
}

table#form th {
	border: solid 1px silver;
	font-weight: normal;
	font-size: 95%;
	text-align: right;
	color: navy;
	background-image: url(img/h2.png);
}

table#form td {
	border: solid 1px silver;
	color: navy;
	background-image: url(img/h2.png);
}

ol.inquiry {
	
}

ol.inquiry li {
	color: #333333;
	font-size: 95%;
	margin-left: 3em;
	padding: 12px 1em 5px 5px;
	line-height: 150%;
}


/*スマホ用の設定*/

@media (max-width: 768px) {

	#container {
		max-width: 100%; /* max-widthの制限を解除 */
		width: 100%;
		margin: 0;
	}

	header {
		max-width: 100%; /* max-widthの制限を解除 */
		width: 100%;
		height: 220px;
		text-align: center;
		line-height: 24px;
		font-family: sans-serif;
		background-image: none;
	}
	
	h1 {
		text-align: center;
	}
	
	.iroha-kids {
		font-size: 380%;
		line-height: 200%;
		color: #FF8C00;
		background: linear-gradient(to right, #40E0D0, #FF8C00, #FF0080);	/*文字の背景色の設定*/
		-webkit-background-clip: text;	/*文字部分のみに背景色を表示*/
		-webkit-text-fill-color: transparent;	/*文字部分を透明にくり抜く。これがないとテキスト自体の色が表示され、背景クリップの効果が表れない。*/
	}
	
	/*ナビバー*/
	
	nav ul {
		display: flex;
	}
	
	nav li.mobile {
		display: block;
	}
	
	nav li.pc{
		display: none;
	}
	
	/*メインブロック*/
	
	.side {
		display: none;
	}
	
	.main {
		flex-basis: 100%;
	}
	
	.kids {
		height: 200px;
		padding-left: 0em;
		background-image: url(img/kids.png);
		background-size: cover;
		display: flex;
		align-items: end;
		justify-content: center;
	}
	
	p.hello {
		padding: 20px 10px;
	}
	
	.main p {
		padding: 10px 1em;
	}
	
	.iroha-pc {
		display: block;
		margin-top: 20px;
		font-size: 130%;
		font-weight: bold;
		text-align: center;
	}
	
	.iroha-pc p {
		color: green;
	}
	
	.iroha_banner {
		text-align: center;
	}
	
	.iroha_banner img {
		width: 50%;
	}
	
	/*マップの設定*/
	
	.map {
		width: 95%;
		text-align: center;/*ブロック内の画像を中央揃え*/
		margin: 0 auto;/*ブロック自体を中央揃え*/
	}
		
	.map iframe {
		max-width: 100%;
		width: 100%;
	}
	
}
