@charset "utf-8";

html {
	background: #fff;
}

/* 基本設定
--------------------------- */
body {
	font-size: 16px；
	color: #333;
	line-height: 180%;
	_display: inline;
	_zoom:1;
}

a:link  { color: #1f7fde; text-decoration: underline; }
a:visited  { color: #1f7fde; text-decoration: underline; }
a:active  { color: #1f7fde; text-decoration: none; }
a:hover  { color: #1f7fde; text-decoration: none; }

/* ヘッダー
--------------------------- */
.header {
	width: 100%;
	max-width: 1000px;
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	margin: 0px auto;
}
/* グローバルナビ */
.gnavi_wrapper {
	width: 100%;
	max-width: 1000px;
	margin: 0px auto;
	/* padding: 15px 10px; */
	padding: 15px 10px 5px 10px;
}
/* サイトロゴ */
.header_logo {
	float: left;
	margin-right: 30px;
}
.gnavi {
	float: left;
}
.gnavi ul li {
	float: left;
	padding: 10px 15px 10px 0px;
}
.gnavi ul li a {
	color: #333;
	font-size: 16px;
	display: inline-block;
	text-decoration: none;
}
.gnavi ul li a:hover {
	color: #999;
}
.gnavi_sub {
	display: none;
}

/* スマホ用メニュー */
#spmenu {
	display: block;
}
#sp_show {
	display: none;
}

/*フッター
--------------------------- */
.footer {
	background: #ccc;
	padding: 15px 10px 10px 10px;
	text-align: center;
}

/* フッターナビゲーション */
ul.footer_nav {
	margin-top: 5px;
}
ul.footer_nav li {
	font-size: 16px;
	display: inline-block;
	padding: 5px;
}
ul.footer_nav li a {
	color: #333;
	font-size: 14px;
	font-weight: normal;
	line-height: 140%;
	text-decoration: none;
}

/* コピーライト */
.copyright {
	background: #666;
	color: #fff;
	font-size: 12px;
	text-align: center;
	padding: 10px 0px;
}

/* ページトップボタン */
#page_top {
	width: 70px;
	height: 70px;
	background: rgba(255,255,255, 0.5);
	border-radius: 8px;
	text-align: center;
	position: fixed;
	right: 10px;
	bottom: 10px;
}
#page_top:hover {
	background: rgba(255,255,255, 1.0);
}

/* header&footer_sp */
@media only screen and (max-width: 899px) {
	body {
		min-width: 100%;
	}
	/* スマホヘッダー
	--------------------------- */
	/* サイトロゴ */
	.header_logo {
		float: left;
		padding: 10px 10px;
	}
	.header_logo img {
		width: auto;
		height: 40px;
	}

	/* グローバルナビ */
	.gnavi_wrapper {
		width: 100%;
		height: 60px;
		min-width: 320px;
		box-sizing: border-box;
		margin: 0px auto;
		padding: 0px;
	}
	#spmenu {
		position: absolute;
		top: 60px;
		left: 0px;
		background: #333;
	    width: 100%;
	    height: 100%;
	    display: none;
	    z-index: 100;
	}
	.gnavi ul li {
		float: none;
		background: #fff;
		text-align: center;
		padding: 0px 10px;
	}
	.gnavi ul li a {
		display: block;
		width: 100%;
		height: 60px;
		border-bottom: 1px #999 solid;
		color: #333;
		line-height: 60px;
	}
	.gnavi ul li.no_link {
		height: 60px;
		float: none;
		background: #333;
		color: #fff;
		line-height: 60px;
		text-align: center;
	}
	.gnavi ul li.no_link img {
		margin-top: 20px;
	}

	.gnavi_sub {
		display: block;
	}

	/* スマホ用メニュー */
	#sp_show {
		display: block;
	}

	.sp_menu_open {
		display: block;
		width: 60px;
		height: 60px;
		background: #000;
		color: #fff;
		line-height: 140%;
		text-align: center;
		float: right;
		padding-top: 7px;
	}


	/* スマホフッター
	--------------------------- */
	/* コピーライト */
	.copyright {
		padding: 10px 10px;
		line-height: 140%;
	}

	/* ページトップボタン */
	#page_top {
		width: 60px;
		height: 60px;
		background: rgba(255,255,255, 0.7);
		bottom: 10px;
	}
	#page_top img {
		width: 40px;
	}
}

/* コーナー設定
--------------------------- */
/* メイン画像 */
.main_img_wrapper {
	height: 424px;
	background: url(../img/back_blackboard.gif) repeat-x;
}
.main_img {
	width: 100%;
	height: 398px;
	background: url(../img/blackboard_illust.png) no-repeat top center;
	background-size: 1200px auto;
	text-align: center;
	padding-top: 20px;
}
@media only screen and (max-width: 640px) {
	.main_img {
		width: 100%;
		height: 398px;
		background: url(../img/blackboard_illust_sp.png) no-repeat top center;
		background-size: 892px auto;
	}
}
.main_img img {
	width: 100%;
	max-width: 630px;
	height: auto;
	margin-left: 180px;
}
.pc_logo {
	display: inline-block;
}
.sp_logo {
	display: none;
}

@media only screen and (max-width: 809px) {
	.main_img {
		position: relative;
	}
	.main_img img {
		position: absolute;
		width: 98%;
		max-width: 380px;
		height: auto;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
	}
	.pc_logo {
		display: none;
	}
	.sp_logo {
		display: block;
	}
}

/* 基本記事エリア */
.cont_wrapper {
	font-size: 18px;
}
.cont_wrapper img {
	width: 100%;
}
.book_wrapper {
	background: #badff0 url(../img/back_stripe.png);
	padding: 20px 0px;
}
.picture_wrapper {
	background: #d5eaab url(../img/back_stripe.png);
	padding: 20px 0px;
}
.small_wrapper {
	background: #fffaae url(../img/back_stripe.png);
	padding: 20px 0px;
}
.cd_wrapper {
	background: #dcb2f4 url(../img/back_stripe.png);
	padding: 20px 0px;
}
.work_wrapper {
	background: #ffe0ae url(../img/back_stripe.png);
	padding: 20px 0px;
}
.other_wrapper {
	background: #bceee4 url(../img/back_stripe.png);
	padding: 20px 0px;
}
.book_cont,
.picture_cont,
.small_cont,
.cd_cont,
.work_cont,
.other_cont {
	width: 95%;
	max-width: 1000px;
	background: #fff;
	border-radius: 10px;
	box-sizing: border-box;
	text-align: center;
	margin: 0px auto;
	padding: 40px 30px;
}

.cont_wrapper h3 {
	box-sizing: border-box;
	color: #ff6666;
	font-size: 24px;
	font-weight: bold;
	line-height: 140%;
	margin: 30px auto 15px auto;
}
.cont_wrapper h3 img {
	width: 100%; 
}

.cont_wrapper h4 {
	box-sizing: border-box;
	color: #009999;
	font-size: 18px;
	font-weight: bold;
	line-height: 140%;
	text-align: left;
	margin: 10px auto 10px auto;
}
.cont_wrapper h4 span {
	font-size: 16px;
}

hr {
	background: url(../img/dot_line.png) repeat-x center;
	border: 0px;
	box-sizing: border-box;
	height: 11px;
	margin-bottom: 20px; 
}

@media only screen and (max-width: 640px) {
	.book_cont,
	.picture_cont,
	.small_cont,
	.cd_cont,
	.work_cont,
	.other_cont {
		padding: 30px 10px;
	}
	.cont_wrapper h3 {
		font-size: 20px;
		margin-top: 15px;
	}
	.cont_wrapper h3 img {
		margin: 0px auto !important;
	}
	.sp_left {
		text-align: left;
	}
}

/* 目次
--------------------------- */
.mokuji3 {
	position: relative;
	background: #fff9ea;
	border: 3px solid #2fabb3;
	border-radius: 8px;
	padding: 80px 20px 20px 20px;
}
.mokuji4 {
	position: relative;
	background: #fff9ea;
	border: 3px solid #ff9933;
	border-radius: 8px;
	padding: 80px 20px 20px 20px;
	margin-top: 40px;
}
.mokuji5 {
	position: relative;
	background: #fff9ea;
	border: 3px solid #45a8d3;
	border-radius: 8px;
	padding: 80px 20px 20px 20px;
	margin-top: 40px;
}
.mokuji6 {
	position: relative;
	background: #fff9ea;
	border: 3px solid #e960a6;
	border-radius: 8px;
	padding: 80px 20px 20px 20px;
	margin-top: 40px;
}
.mokuji_ttl {
	position: absolute;
	top: 15px;
	left: -17px;
}
.book_img {
	position: absolute;
	top: -40px;
	right: 10px;
}

/* 目次テーブル
--------------------------- */
table.mokuji {
	text-align: left;
}
table.mokuji th,
table.mokuji td {
	padding: 0px 0px 10px 0px;
	font-weight: bold;
}
table.mokuji th {
	width: 80px;
	vertical-align: top;
}

.mokuji3 table th {
	color: #2fabb3;
}
.mokuji4 table th {
	color: #ff6600;
}
.mokuji5 table th {
	color: #45a8d3;
}
.mokuji6 table th {
	color: #e960a6;
}
.mokuji5 table td span {
	display: inline-block;
	color: #45a8d3;
	font-size: 14px;
	line-height: 140%;
}
.mokuji6 table td span {
	display: inline-block;
	color: #e960a6;
	font-size: 14px;
	line-height: 140%;
}

@media only screen and (max-width: 640px) {
	.book_img {
		position: relative;
		top: 0px;
		right: 0px;
	}
	table.mokuji th,
	table.mokuji td {
		display: block;
	}
}

/* ポイント
--------------------------- */
.point1,
.point3 {
	width: 48%;
	float: left;
	text-align: left;
	margin-bottom: 20px;
}

.point2,
.point4 {
	width: 48%;
	float: right;
	text-align: left;
	margin-bottom: 20px;
}

.point1 img,
.point2 img,
.point3 img,
.point4 img,
.point1 p,
.point2 p,
.point3 p,
.point4 p {
	display: block;
	width: 98%;
	margin: 0px auto;
}
@media only screen and (max-width: 640px) {
	.point1,
	.point2,
	.point3,
	.point4 {
		width: 100%;
		float: none;
	}
}

/* 他の教科書紹介
--------------------------- */
.lineup_box {
	display: inline-block;
	width: 20%;
	box-sizing: border-box;
	margin: 0px 10px 10px 10px;
	vertical-align: top;
}
.lineup_box img {
	display: block;
	width: 95%;
	margin: 0px auto;
}
.lineup_box p {
	box-sizing: border-box;
	font-size: 16px;
	line-height: 160%;
	text-align: left;
	margin: 10px auto;
}
.inquiry_txt {
	font-size: 30px;
	font-weight: bold;
	line-height: 140%;
	text-align: center;
	margin: 30px auto;
}

@media only screen and (max-width: 899px) {
	.lineup_box {
		width: 45%;
	}
}
@media only screen and (max-width: 640px) {
	.lineup_box {
		width: 90%;
	}
	.inquiry_txt {
		font-size: 22px;
		font-weight: bold;
		line-height: 140%;
		text-align: center;
		margin: 30px auto;
		padding: 0px 10px;
	}
}

/* エンジョイワーク
--------------------------- */
.work_subttl {
	font-size: 28px;
	font-weight: bold;
	margin: 30px auto 10px auto;
}

/* お問い合わせ部分
--------------------------- */
h2.inquiry_ttl {
	color: #0066cc;
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	margin: 30px auto 10px auto;
}
.inquiry_info {
	font-size: 22px;
	font-weight: bold;
	line-height: 160%;
	text-align: center;
	margin-bottom: 30px;
}
@media only screen and (max-width: 640px) {
	h2.inquiry_ttl {
		font-size: 24px;
	}
}

/* ボタン
--------------------------- */
a.btn_link {
    width: 80%;
    display: block;
    max-width: 350px;
    background: #2daab3;
    border-radius: 24px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    box-sizing: border-box;
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 5px;
    margin: 10px auto 30px auto;
}

