@charset "utf-8";
/*
theme Name: BOX Academy
Author: J-TOP Network
Description: boxacademy theme
version： 1.0.0
*/

/*サイト全体の設定*/
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	color: #333;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/*コンテンツのサイズ指定*/
.header-inner, .container, .footer-inner {
	margin-right: auto;
	margin-left: auto;
	max-width: 1000px;
	/* padding: 0 10px; */
}
.contents, #sidebar {
	margin: 10px 0;
}

/*------------ヘッダー------------*/

.header-inner {
	position: relative;
}
.header-top {
	font-size: 0.9em;
	background: rgb(1,93,176);
	background: linear-gradient(90deg, rgba(1,93,176,1) 0%, rgba(48,150,251,1) 50%, rgba(1,93,176,1) 100%);
	padding: 0 10px;
	line-height: 1.4;
	color: #fff;
	font-weight: bold;
}

.site-title {
	text-align: left;
}
.site-title h1 {
	margin: 0;
	padding: 5px;
	font-size: 2.4em;
	line-height: 1;
}

.site-title a {
	display: block;
	text-decoration: none;
	color: #000;
}
.header-info {
	display: -webkit-flex;
	display: flex;
	align-items: center;
	/* justify-content: space-between; */
}

.ikebukuro {
	margin-right: 5px;
}

.header-link ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
}
.header-link ul li{
	margin: 0 0 5px;
}

.header-link {
	max-width: 105px;
}

.header-link ul li a {
	text-decoration: none;
	color: #000;
	font-size: 1em;
	position: relative;
	font-weight: bold;
}

.header-link ul li a:before {
	content: "\f144";
	font-family: 'Font Awesome 5 Free';
	font-weight: bold;
	color: #ff3304;
	font-size: 1em;
}
/*スマホ用メニューボタン*/
#navbutton {
	position: fixed;
	top: 30px;
	right: 10px;
	padding: 8px 12px;
	cursor: pointer;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	border: none;
	border-radius: 5px;
	background-color: #0870b9;
	z-index: 9999;
}

#navbutton:hover {
	background-color: #ddd;
}

#navbutton:focus {
	outline: none;
}

#navbutton i {
	font-size: 2em;
	color: #fff;
}

/*ヘッダーナビ*/
#header-nav {
	display: none;
}

.header-nav {
	padding-left: 10px;
	border-bottom: 1px solid #005dad;
}

.header-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.header-nav li a {
	display: block;
	text-decoration: none;
	color: #000;
	font-weight: bold;
}

.header-nav li a:hover {
	opacity: 0.8;
}

.header-nav .sub-menu:before {
	font-family: 'FontAwesome';
	font-size: 2em;
	position: absolute;
	top: -32px;
	left: 10px;
	content: '\f0d8';
	color: #464646;
}

.header-nav .sub-menu {
	position: relative;
	z-index: 1;
	display: none;
	width: 95%;
	border-top: none;
}

.header-nav .sub-menu li {
	display: block;
	float: none;
	padding: 0;
}

.header-nav li:hover .sub-menu {
	display: block;
}

.header-nav .sub-menu li a:before {
	color: #333;
}

.header-nav .sub-menu li a {
	font-size: 1em;
	font-weight: normal;
	margin-left: 10px;
	padding: 10px 30px 10px 10px;
	text-align: left;
	color: #fff;
	background-color: #464646;
}

.header-nav .sub-menu li a:hover {
	background-color: #000;
}
/*------------フッター------------*/
footer {
	/*background-color: #23282d;*/
}

/*フッターメニュー*/
.footer-nav {
	/*margin-bottom: 20px;*/
}

.footer-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav ul:after {
	display: block;
	clear: both;
	content: '';
}

.footer-nav li {
	float: left;
	width: 50%;
	text-align: center;
}

.footer-nav li a {
	font-size: 0.9em;
	display: block;
	padding: 10px 5px;
	text-decoration: none;
	color: #005dad;
}

.footer-nav li a:hover {
	opacity: .6;
}

/*コピーライト*/
.copyright p {
	font-size: 0.9em;
	margin: 0;
	text-align: center;
	color: #575890;
	padding: 5px;
}

/*TOPへ戻るボタン*/
.page-top {
	margin: 0;
	padding: 0;
}

.page-top p {
	margin: 0;
	padding: 0;
	position: fixed;
	right: 20px;
	bottom: 60px;
	display: none;
}

.move-page-top {
	display: block;
	background: #0870b9;
	width: 50px;
	height: 50px;
	color: #fff;
	line-height: 50px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	border-radius: 25px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
}

.move-page-top:hover {
	opacity: 0.85;
}

/*------------サイドバー------------*/
.sidebar-wrapper {
	margin-bottom: 5px;
}

.sidebar-wrapper h4 {
	font-size: 1.1em;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 7px 10px;
	color: #fff;
	background-color: #464646;
}


/*デフォルトウィジェット*/
.widget_recent_entries ul, .widget_meta ul, .widget_recent_comments ul, .widget_pages ul, .widget_meta ul, .widget_categories ul, .widget_archive ul, .widget_nav_menu ul {
	padding: 0;
	list-style: none;
}

.widget_recent_entries li, .widget_meta li, .widget_recent_comments li, .widget_pages li, .widget_meta li, .widget_categories li, .widget_archive li, .widget_nav_menu li {
	position: relative;
	padding: 10px;
}

.widget_recent_entries li, .widget_nav_menu li {
	padding-left: 25px;
}

.widget_recent_entries a, .widget_meta a, .widget_recent_comments a, .widget_pages a, .widget_meta a, .widget_categories a, .widget_archive a, .widget_nav_menu a {
	text-decoration: none;
	color: #333;
}

.widget_recent_entries a:hover, .widget_meta a:hover, .widget_recent_comments a:hover, .widget_pages a:hover, .widget_meta a:hover, .widget_categories a:hover, .widget_archive a:hover, .widget_nav_menu a:hover {
	opacity: .6;
}

/*カテゴリウィジェット*/
.widget_categories li {
	/*display: inline-block;*/
	margin: 2px;
	padding: 2px 10px;
	white-space: nowrap;
	border-radius: 3px;
	background-color: #fff;
}

.widget_categories li:before {
	font-family: 'Font Awesome 5 Free';
	font-size: .8em;
	font-weight: bold;
	padding-right: 2px;
	content: '\f02b';
	color: #333;
}

.widget_categories li a {
	font-size: .8em;
	color: #333;
}

/*タグウィジェット*/
.tagcloud a {
	font-size: .9em !important;
	line-height: 2.5em;
	margin: 2px;
	padding: 2px 10px;
	white-space: nowrap;
	text-decoration: none;
	color: #333;
	border: 1px solid #333;
	border-radius: 3px;
}

/*新着ウィジェット*/
.widget_recent_entries li:before {
	font-family: 'Font Awesome 5 Free';
	font-weight: bold;
	position: absolute;
	left: 5px;
	content: '\f303';
	color: #464646;
}

/*メニューウィジェット*/
.widget_nav_menu li:before {
	font-family: 'Font Awesome 5 Free';
	font-weight: bold;
	position: absolute;
	left: 5px;
	content: '\f0da';
	color: #464646;
}

/*カレンダーウィジェット*/
#wp-calendar {
	width: 100%;
}

#wp-calendar tbody {
	text-align: center;
}

#nav_menu-2 ul {
	margin: 0;
}
#nav_menu-2 ul li {
	border: 1px solid #d9e4eb;
	border-radius: 1px;
	padding: 0;
	font-weight: bold;
	background: rgb(232,239,242);
	background: linear-gradient(0deg, rgba(232,239,242,1) 0%, rgba(255,255,255,1) 100%);
}
#nav_menu-2 ul li:before {
	display: none;
}
#nav_menu-2 ul li.side_reserve,
#nav_menu-2 ul li.side_timetable {
	line-height: 1.3;
}
#nav_menu-2 ul li a {
	display: block;
	position: relative;
	padding: 15px 10px 15px 60px;
}
#nav_menu-2 ul li.side_reserve a,
#nav_menu-2 ul li.side_timetable a {
	padding: 8px 10px 8px 60px;
}
#nav_menu-2 ul li strong {
	display: block;
}
#nav_menu-2 ul li span.menu-item-description {
	white-space: nowrap;
}
#nav_menu-2 ul li a:before {
	position: absolute;
	left: 10px;
	top: 8px;
	width: 35px;
	text-align: center;
	border-radius: 5px;
	font-size: 1.5em;
	color: #fff;
}
#nav_menu-2 ul li.side_news a:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f0a1';
	border: solid 1px #dd8b2d;
	background: rgb(232,155,69);
	background: linear-gradient(0deg, rgba(232,155,69,1) 0%, rgba(204,131,27,1) 35%, rgba(243,140,40,1) 70%, rgba(255,234,187,1) 100%);
	padding: 2px 0;
}
#nav_menu-2 ul li.side_move a:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f04b';
	border: solid 1px #ea4f46;
	background: rgb(248,105,76);
	background: linear-gradient(0deg, rgba(248,105,76,1) 0%, rgba(201,77,46,1) 35%, rgba(247,57,40,1) 70%, rgba(255,234,187,1) 100%);
	font-size: 1.2em;
	padding: 5px 0px;
}
#nav_menu-2 ul li.side_reserve a:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f303';
	border: solid 1px #ecb454;
	background: rgb(229,187,101);
	background: linear-gradient(0deg, rgba(229,187,101,1) 0%, rgba(206,156,36,1) 35%, rgba(251,204,79,1) 70%, rgba(255,247,202,1) 100%);
	padding: 5px 0;
	height: 25px;
}
#nav_menu-2 ul li.side_timetable a:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f0c9';
	border: solid 1px #76b8e1;
	background: rgb(54,151,211);
	background: linear-gradient(0deg, rgba(54,151,211,1) 0%, rgba(47,125,202,1) 35%, rgba(44,174,248,1) 70%, rgba(196,221,255,1) 100%);
	padding: 5px 0px;
	height: 25px;
}
#nav_menu-2 ul li.side_instructor a:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f007';
	border: solid 1px #ed608e;
	background: rgb(233,130,154);
	background: linear-gradient(0deg, rgba(233,130,154,1) 0%, rgba(211,71,106,1) 35%, rgba(251,79,138,1) 70%, rgba(254,193,203,1) 100%);
	padding: 2px 0;
}
#nav_menu-2 ul li.side_substitute a:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f12a';
	border: solid 1px #468eea;
	background: rgb(102,152,228);
	background: linear-gradient(0deg, rgba(102,152,228,1) 0%, rgba(46,105,215,1) 35%, rgba(59,143,251,1) 70%, rgba(196,210,255,1) 100%);
	padding: 2px 0;
}

/*------------パンくずリスト------------*/

#breadcrumb {
	list-style: none;
	padding: 0 0 10px 5px;
	font-size: 0.9em;
}

#breadcrumb ul {
	margin: 0;
	padding: 0;
}

#breadcrumb li {
	display: inline-block;
	padding: 0 5px;
}

#breadcrumb li a {
	color: red;
	text-decoration: none;
}

/*------------記事一覧------------*/

.post-list {
	margin: 0 0 15px;
	border: solid 1px #ddd;
	background-color: #fff;
}

.post-list a {
	display: block;
	padding: 10px;
	text-decoration: none;
	color: #000;
}

.post-list a:after {
	display: block;
	clear: both;
	content: '';
}

.post-list a:hover {
	background-color: #eee;
}

.post-list img {
	float: left;
	width: 100px;
	height: 80px;
	object-fit: cover;
}

.post-list .post-text {
	width: auto;
	margin-left: 120px;
}

.post-list h2 {
	font-size: .95em;
	line-height: 1.4;
	margin-top: 0;
	margin-bottom: 5px;
}

.post-date {
	font-size: .8em;
	margin-bottom: 0;
	color: #666;
}

.cat-data {
	font-size: .6em;
	padding: 0;
}
.cat-data li{
	display: inline-block;
	background-color: #464646;
	padding: 3px 5px;
	white-space: nowrap;
	color: #fff;
	border-radius: 3px;
	text-align: center;
	margin: 0 5px 5px 0;
}

.post-list p {
	font-size: .8em;
	margin: 10px 0 0;
}

/*ページネーション*/
.pagination {
	margin: 40px 0 30px;
	text-align: center;
}

.pagination ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination li {
	display: inline-block;
	width: auto;
}

.pagination li a, .pagination li > span {
	font-size: .9em;
	display: block;
	width: 30px;
	margin: 0 1px;
	padding: 5px 0;
	text-decoration: none;
	color: #000;
	border: solid 1px #ccc;
	border-radius: 3px;
}

.pagination li > span {
	color: #fff;
	background-color: #464646;
}

.pagination li a:hover {
	color: #fff;
	background-color: #464646;
}

.pagination li .dots {
	width: 15px;
	padding: 0;
	color: #000;
	border-color: transparent;
	background-color: transparent;
}

.contents > h1 {
	font-size: 1.3em;
	margin: 0 0 20px;
}

/*------------記事ページ------------*/
.post {
	font-size: 1em;
	margin: 0;
	padding: 0 10px 25px;
}

.post-header .cat-data a {
	text-decoration: none;
	color: #fff;
}

.post-header .cat-data a:hover {
	opacity: .8;
}

.post-img {
	max-width: 100%;
	text-align: center;
	padding: 0 0 10px 10px;
}

/*タグ*/

.post-tag {
	text-align: right;
}

.post-tag ul {
	list-style: none;
}

.post-tag li {
	display: inline-block;
	color: #464646;
}

.post-tag li a {
	font-size: .8em;
	margin-right: 7px;
	padding: 2px 7px;
	text-decoration: none;
	color: #464646;
	border: solid 1px #464646;
	border-radius: 2px;
}

.post-tag li a:hover {
	opacity: .8;
}

.post p {
	margin-top: 0;
	margin-bottom: 1em;
}

.post h1 {
	font-size: 1.3em;
	margin: .3em 0;
}

.post h2 {
	font-size: 1.25em;
	margin-top: 3em;
	margin-bottom: 1.5em;
	padding: .4em 0;
	border-bottom: solid 5px #464646;
}

.post h3 {
	font-size: 1.2em;
	margin-top: 2.5em;
	margin-bottom: 1.5em;
	padding: 0 .5em;
	border-left: solid 5px #777777;
	background: transparent;
}

.post h4 {
	font-size: 1.15em;
	margin: 0 0 .3em;
}

.post h5 {
	font-size: 1.1em;
	margin: 0 0 .3em;
}

/*目次*/

#toc {
	margin: 30px 0;
	padding: 20px;
	text-align: center;
	border: solid 1px #ccc;
}

.mokuji {
	font-size: 1.2em;
	font-weight: bold;
	color: #333;
}

#toc ol {
	margin-top: 10px;
	margin-bottom: 0;
	padding: 0;
	text-align: left;
}

#toc ol li {
	font-size: .95em;
	margin-bottom: 1em;
	list-style-position: inside;
	color: #000070;
	border-bottom: 1px dotted #ddd;
}

#toc ol a {
	text-decoration: none;
	color: #000070;
}

#toc ol a:hover {
	opacity: .5;
}

#toc ol>ol {
	margin: 0;
	padding-left: 15px;
}

#toc ol>ol li {
	font-size: 1em;
	font-weight: 500;
}

/*SNSボタン*/
.fa-hatena:before {
	font-family: Verdana;
	font-weight: bold;
	content: 'B!';
}

.share {
	margin-top: 40px;
	margin-bottom: 40px;
}

.share ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.share ul:after {
	display: block;
	clear: both;
	content: '';
}

.share li {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	width: 25%;
	margin: 0;
	margin-top: 15px;
}

.share li a {
	font-size: 14px;
	display: block;
	padding: 10px;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

.share li a:hover {
	opacity: .8;
}

.share li a:visited {
	color: #fff;
}

.tweet a {
	background-color: #55acee;
}

.facebook a {
	background-color: #315096;
}

.googleplus a {
	background-color: #dd4b39;
}

.hatena a {
	background-color: #008fde;
}

/*サイドバーSNSボタン*/
.sns-widget .share {
	margin: 0;
}

.sns-widget .share li {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 3px;
}

.sns-widget .share li i {
	font-size: 1.3em;
	padding-top: 3px;
}

.sns-widget .share li span {
	display: none;
}

.widget_custom_post_widget ul {
    list-style: none;
    padding: 0;
}

.widget_custom_post_widget ul li {
    margin-bottom: 5px;
}
ul.side_newlesson li{
	background: url(https://boxacademy.jp/wp-content/themes/img/common/bg.gif) repeat-x;
}
ul.side_newlesson li{
	float: left;
	margin: 1px 0px;
	width:228px;
	padding: 0px 0px;
	font-size: 9px;
	line-height: 1.2;
	border-bottom:solid 1px #A9DBFC;
	height: 60px;
}
ul.side_newlesson li.bb{
	float: left;
	margin: 0px 0px;
	margin-bottom: 1px;
	width:228px;
	padding: 3px 0px;
	font-size: 9px;
	line-height: 1.2;
	border-bottom:solid 1px #A9DBFC;
	height: 60px;
	color: #000;
	background-color: #FFF9DD;
}
ul.side_newlesson li .flo_l {
    margin-right: 5px;
    margin-left: 5px;
    float: left;
}
h4.sidebar-title {
    background: #36f;
}
/*スマートフォン(599px以下)*/
@media (max-width: 599px){
	.pc {
		display: none;
	}
	.site-title {
		padding-right: 70px;
	}
	.header-info {
		justify-content: space-around;
	}
	.header-nav {
		position: fixed;
		background: #0870b9;
		padding: 0;
		width: 100%;
		top: 0;
		z-index: 99;
	}
	.header-nav li {
		border-bottom: 1px solid #ddd;
	}
	.header-nav li a {
		padding: 10px;
		color: #fff;
	}
	.widget_custom_post_widget ul li {
    width: 50%;
}

.widget_custom_post_widget ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

div#custom_post_widget-3 li:last-child {
    display: block;
    width: 100%;
}
	/*------------記事一覧------------*/
	.post-list p {
		visibility: hidden;
		height: 0;
	}

	/*------------記事本文------------*/
	.post {
		/*font-size: 92%;*/
	}
	.post h3:after {
		display: none;
	}
	/*SNSボタン*/
	.share li {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		padding: 3px;
	}
	.share li i {
		font-size: 1.3em;
		padding-top: 3px;
	}
	.share li span {
		display: none;
	}
	iframe#twitter-widget-0 {
    display: none!important;
	}
}

/*タブレットサイズ以上(600px以上)*/
@media (min-width: 600px){
	.sp {
		display: none;
	}
	/*------------ヘッダー------------*/
	.header-bottom {
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center;
		align-items: center;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}
	#navbutton {
		display: none;
	}
	/*ヘッダーメニューPC閲覧時*/
	#header-nav {
		display: block!important;
	}
	.header-nav {
		max-width: 1000px;/*最大幅*/
		margin: 0 auto;
		padding:0;
		box-sizing: border-box;
	}
	.header-nav ul {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: center;
		justify-content: center;
	}
	.header-nav li {
		width: auto;
	}
	.header-nav li:not(:last-child) {
		border-right: 1px solid #ddd;
	}
	.header-nav li a {
		font-size: 1em;
		padding: 5px 4px;
	}
	.header-nav li a:before {
		content: "\f144";
		font-family: 'Font Awesome 5 Free';
		font-weight: bold;
		color: #ff3304;
		font-size: 1em;
		padding-right: 3px;
	}
	.header-nav li a:hover {
		background: rgb(255,219,210);
		background: linear-gradient(0deg, rgba(255,219,210,1) 0%, rgba(255,219,210,0) 100%);
	}

	#header-nav .sub-menu {
		position: absolute;
		width: 200px;
		border-top: 1px solid #eee;
	}
	/*コンテンツとサイドバーを横に並べる*/
	/*.container:after {
	display: block;
	clear: both;
	content: '';
}*/
	.header-inner, .container, .footer-inner {
		width: 1000px;
		border-left: solid #ddd 1px;
		border-right: solid #ddd 1px;
	}
	.container {
		overflow: hidden;
	}

	.contents {
		float: left;
		width: 100%;
		padding-right: 248px;
		margin-right: -248px;
	}

	#sidebar {
		float: right;
		width: 248px;
		padding: 0 10px;
	}

	/*------------記事一覧------------*/
	.post-list a {
		padding: 20px;
	}

	.post-list img {
		width: 220px;
		height: 150px;
	}

	.post-list .post-text {
		margin-left: 250px;
	}

	.post-list h2 {
		font-size: 1.05em;
	}

	.post-date {
		margin-bottom: 8px;
	}

	.contents > h1 {
		font-size: 1.5em;
		margin: 0 0 20px;
	}

	/*------------記事本文------------*/
	.post {
		padding: 0 0 10px 10px;
	}

	.post h1 {
		font-size: 1.7em;
	}

	.post h2 {
		font-size: 1.5em;
	}

	.post h3 {
		font-size: 1.35em;
	}

	.post h4 {
		font-size: 1.2em;
	}

	.post h5 {
		font-size: 1.1em;
	}
	/*目次*/
	#toc {
		margin: 30px 40px;
	}
}

/*タブレットサイズ以下(767px以下)*/
@media (max-width: 767px){

}

/*PC以上(768px以上)*/
@media (min-width: 768px){

	/*------------フッター------------*/
	/*フッターメニューPC閲覧時*/
	.footer-nav li {
		width: auto;
		text-align: left;
		border-right: 1px solid #ddd;
	}

	.footer-nav li a {
		font-size: 0.9em;
		padding: 0 5px;
	}

	/*コピーライト*/
	.copyright p {
		text-align: left;
	}
}

/*iPadサイズ以上(1024px以上)*/
@media (min-width: 1024px){

}

/*最大サイズ以上(1200px以上)※必要に応じて*/
@media (min-width: 1200px){

}