/*
Theme Name: Benkyo-Cafe Event
Theme URI: http://eventinfo.benkyo-cafe.net/
Author: BOOKMARKS, Inc. Smart Development Division
Author URI: http://bookmarks.co.jp/
Description: 勉強カフェのイベント情報サイト用レスポンシブテーマです。
Version: 1.0.3
*/

/* 基本 */
body {
	font-family: 'Lucida Grande', 'YuGothic', 'Yu Gothic', 'Meiryo', 'メイリオ', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif !important;
	margin: 10px 5px;
}

a {
  text-decoration: none;
	color: #0091d2;
}

a:hover {
  text-decoration: underline;
  /* color: #ff0000; */
  color: #c1272d;
}

a[name] {
  text-decoration: none;
  color: #000000;
}

a[name]:hover {
  text-decoration: none;
  color: #000000;
}

a.exp {
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
}

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

img.kadomaru {
	border-radius: 18px;
}

img.twitter {
	background-color: #55acee;
	border-radius: 3px;
}

a img {
  border: none;
}

a:hover img {
  border: none;
}

a:hover img:hover {
  border: none;
}

hr{
    border:none;
    border-top:dotted 1px #000000;
    height:1px;
    color:#FFFFFF;
    width:100%;
}

/* ヘッダ */
#topleft {
  margin-bottom: 10px;
}

/* ナビゲーションバー */

.navbar-brand {
	background: url("benkyo-cafe.png") no-repeat left center;
	background-size: contain;
	margin-left: 15px;
	height: 50px;
	width: 100px;
}

.navbar-fixed-top {
	-webkit-box-shadow: 0 2px 1px hsla(0, 0%, 70%, .3);
	box-shadow: 0 2px 1px hsla(0, 0%, 70%, .3);
}

.navbar-toggle {
	padding: 6px 12px;
}

/* スマホ用設定 */
@media (max-width: 767px) {
	body {
		margin-top: 60px;
	}

	#topleft {
		display: none;
	}

    .navbar-default {
        position: fixed;
        z-index: 1030;
        right: 0;
        left: 0;   
        border-radius: 0;
        top: 0;
        border-width: 0 0 1px;
        -webkit-box-shadow: 0 2px 1px hsla(0,0%,70%,.3);
        box-shadow: 0 2px 1px hsla(0,0%,70%,.3);
    }

	.menu__item--freestart>a, .menu__item--2htrial>a, .menu-item-77877>a {
		background: #008fd0 !important;
		color: #ffffff !important;
		font-weight: 700;
	}
	
	.menu__item--freestart>a, .menu__item--2htrial>a {
		border-bottom: 1px solid #f8f8f8;
	}
}

@media (min-width: 768px){
	body {
		margin-top: 100px;
	}
	
	.navbar {
		min-height: 90px !important;
	}
	
	.navbar-brand {
		width: 130px;
		height: 90px;
	}
	
	.navbar-nav {
	    margin: 0 auto;
	    display: table;
	    table-layout: fixed;
	    float:none;
	}
	
	.nav li a {
		padding: 35px 10px;
	}
	
	.nav li li a {
		padding: 10px 10px;
	}
	
	/* 無料見学会,2H無料体験バナー設定 */
	.menu__item--freestart, .menu__item--2htrial, .menu-item-77877 {
		z-index: 2;
		position: fixed !important;
		right: 0;
		width: 149px;
		height: 104px;
	}
	
	.menu__item--freestart {
		top: 180px;
	}
	
	.menu__item--2htrial {
		top: 290px;
	}
	.menu-item-77877 {
		top: 400px;
	}
	.menu__item--freestart>a, .menu__item--2htrial>a, .menu-item-77877>a {
		font: 0/0 a;
		color: transparent !important;
		background-color: transparent !important;
		border: 0;
		padding: 0 !important;
		line-height: 104px !important;
	}
	
	.menu__item--freestart>a:hover, .menu__item--2htrial>a:hover, .menu-item-77877>a:hover {
		background-color: transparent;
		transform: translateX(24px);
	}
	
	.menu__item--freestart>a {
		background: url(img/freestart.png) no-repeat transparent;
	}
	
	.menu__item--2htrial>a {
		background: url(img/2htrial.png) no-repeat transparent;
	}
	.menu-item-77877>a {
		background: url(img/circle.png) no-repeat transparent;
	}
}

@media (min-width: 992px) {
	/* PCではonmouseで開かせる */
	ul.nav li.dropdown:hover > ul.dropdown-menu {
	    display: block;
	}
	
	.navbar {
		padding-left: -webkit-calc((100% - 970px) / 2) !important;
		padding-left: calc((100% - 970px) / 2) !important;
		padding-right: -webkit-calc((100% - 970px) / 2) !important;
		padding-right: calc((100% - 970px) / 2) !important;
	}
	
	.navbar-brand {
		width: 160px;
		height: 90px;
	}
	
	/*
	nav.navbar-fixed-top {
	  margin: 0 auto;
	  width: 96%;
	  max-width: 970px;
	}
	*/
	
	.nav li a {
		padding: 35px 15px;
	}
	
	.nav li li a {
		padding: 10px 10px;
	}
}

@media (min-width: 1200px) {
	.navbar {
		padding-left: -webkit-calc((100% - 1170px) / 2) !important;
		padding-left: calc((100% - 1170px) / 2) !important;
		padding-right: -webkit-calc((100% - 1170px) / 2) !important;
		padding-right: calc((100% - 1170px) / 2) !important;
	}
	
	/*
	nav.navbar-fixed-top {
	  margin: 0 auto;
	  width: 96%;
	  max-width: 1170px;
	}
	*/
}

/* フッタ */
div#footer {
  border-top: solid 1px #aaaaaa;
  padding: 6px 0;
  clear: both;
}

div#footer p {
  font-size: 95%;
  font-style: normal;
  font-family: Verdana, sans-serif;
  margin: 0
}

/* コンテンツ */
div#content {
  /* font-size: 95%; */
}

p.title {
	font-size: 130%;
	font-weight: bold;
	color: #585858;
	width: 100%;
	margin: 0 0 10px;
	padding: 5px 30px 5px 10px;
	background-color: rgba(0, 145, 210, .25);
	border-radius: 5px;
}

p.pagenation {
  font-size: 95%;
  overflow: hidden;
}

#wp-page-navigation {
	visibility: hidden;
}

.wp-pagenavi {
	margin-top: 15px;
	margin-bottom: 30px;
}

@media (max-width: 992px) {
	.wp-pagenavi a, .wp-pagenavi span {
		padding: 3px 10px;
		margin: 2px 2px;
		font-size: 140%;
	}
}

@media (min-width: 992px) {
	.wp-pagenavi {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	
	.wp-pagenavi a, .wp-pagenavi span {
		padding: 3px 10px;
		margin: 2px 5px;
		font-size: 140%;
	}
}

/* Infinite Scrollのセンタリング */
#infscr-loading {
	text-align: center;
	margin: 0 auto;
}

span.oldpage {
  float: left;
}

span.newpage {
  float: right;
}

/* 記事 */
div.post {
  margin-top: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  font-size: 100%;
}

div.post2 {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

div.post2:hover {
	background-color: #fafafa;
}

div.post3 {
	position: relative;
	height: 185px;
	margin-top: 0px !important;
	margin-bottom: 10px !important;
	overflow: hidden;
	font-size: 100%;
}

div.post3:hover {
	background-color: #eeeeee;
	z-index: 0;
}

div.post3 section.eventdate {
	padding-left: 5px !important;
	padding-top: 5px !important;
}

div.post3 section.eventtitle {
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 49px;
	/* background-color: rgba(0, 0, 0, 0.65); */
	color: #ffffff;
	padding: 5px 10px 5px 10px;
	z-index: -10;
}

div.post3 p.newtitle {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 0px !important;
}

@media (max-width: 767px){
	div.post {
		margin-top: 5px;
		margin-bottom: 5px;
	}

	div.post2 {
		margin-top: 5px !important;
		margin-bottom: 5px !important;
		padding-bottom: 5px !important;
		border-bottom: dotted 1px #000000;
	}
	
	div.post2:hover {
		background-color: #eeeeee;
	}
}

div.post div.eventtitlearea {
  overflow: hidden;
}

div.post .cl {
}

div.post .cl:after {
  content: "";
  display: block;
  clear: both; 
}

/* イベントコンテンツ */
div.post div.contc {
  float: left;
  width: 100%;
}

div.post div.cont {
  margin-left: 170px;
}

div.post div.cont2 {
  margin-left: 140px;
}

div.post div.thumb {
	float: left;
	position: relative;
	overflow: hidden;
	width: 150px;
	height: 150px;
	margin: 0 10px 10px -100%;
	text-align: center;
	vertical-align: middle;
}

div.post div.thumb img {
	max-height: 100%;
	width: auto;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

div.post div.thumb-pc {
	position: relative;
	overflow: hidden;
	height: 200px;
	text-align: center;
	vertical-align: middle;
}

div.post div.thumb-pc img {
	max-width: 100%;
	height: auto;
	position: relative;
	left: 50%;
	top: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

div.post section.thumbsp {
	position: relative;
	overflow: hidden;
	height: 150px;
	text-align: center;
	vertical-align: middle;
}

/*
スマホ用サムネ
垂直方向にセンタリングしつつ大きい画像が来た時に対象物が
入らなさすぎないよう、max-heightを180%程度までに抑えておく
*/
div.post section.thumbsp img {
	max-height: 180%;
	width: auto;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

div.post div.thumb2 {
  float: left;
  width: 130px;
  margin: 0 10px 10px -100%;
}

div.post3 section.thumb {
	position: relative;
	overflow: hidden;
	height: 147px;
	text-align: center;
	vertical-align: middle;
	z-index: -100;
}

div.post3 section.thumb img {
	max-height: 180%;
	width: auto;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

div.post3 section.img-mask {
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 80px;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 1));
	z-index: -20;
}

div.post .thumb-newtag {
	position: absolute;
	top: 15px;
	left: -29px;
	background-color: #0091D2;
	color: #ffffff;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	width: 120px;
	padding: 7px 10px;
	font-weight: 700;
	-webkit-transform: rotate(315deg);
	transform: rotate(315deg);
	box-shadow: rgba(0, 0, 0, .15) 0 0 3px 2px;
	text-shadow: rgba(0, 0, 0, .2) 1px 1px 2px;
	line-height: 1;
	vertical-align: baseline;
}

div.post .thumb-capacitytag, div.benkyu-event .thumb-capacitytag {
	position: absolute;
	top: 15px;
	left: -29px;
	background-color: #CF1F38;
	color: #ffffff;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	width: 120px;
	padding: 7px 10px;
	font-weight: 700;
	-webkit-transform: rotate(315deg);
	transform: rotate(315deg);
	box-shadow: rgba(0, 0, 0, .15) 0 0 3px 2px;
	text-shadow: rgba(0, 0, 0, .2) 1px 1px 2px;
	line-height: 1;
	vertical-align: baseline;
}

div.post3 .thumb-capacitytag {
	position: absolute;
	top: 12px;
	left: -25px;
	background-color: #CF1F38;
	color: #ffffff;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	width: 100px;
	padding: 7px 10px;
	font-weight: 700;
	-webkit-transform: rotate(315deg);
	transform: rotate(315deg);
	box-shadow: rgba(0, 0, 0, .15) 0 0 3px 2px;
	text-shadow: rgba(0, 0, 0, .2) 1px 1px 2px;
	line-height: 1;
	vertical-align: baseline;
}

div.post .thumb-onlinetag {
	position: absolute;
	top: 15px;
	left: -29px;
	background-color: #fb8000;
	color: #ffffff;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	width: 120px;
	padding: 7px 10px;
	font-size: 80%;
	font-weight: 700;
	-webkit-transform: rotate(315deg);
	transform: rotate(315deg);
	box-shadow: rgba(0, 0, 0, .15) 0 0 3px 2px;
	text-shadow: rgba(0, 0, 0, .2) 1px 1px 2px;
	line-height: 1;
	vertical-align: baseline;
}

div.post3 .thumb-onlinetag {
	position: absolute;
	top: 12px;
	left: -25px;
	background-color: #fb8000;
	color: #ffffff;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	width: 100px;
	padding: 7px 10px;
	font-size: 80%;
	font-weight: 700;
	-webkit-transform: rotate(315deg);
	transform: rotate(315deg);
	box-shadow: rgba(0, 0, 0, .15) 0 0 3px 2px;
	text-shadow: rgba(0, 0, 0, .2) 1px 1px 2px;
	line-height: 1;
	vertical-align: baseline;
}

div.post .thumb-premium {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: inline-block;
	text-align: center;
	width: 75px;
	line-height: 1;
	vertical-align: baseline;
}

div.post .thumb-premium img {
	-webkit-transform: translateY(0) !important;
	-ms-transform: translateY(0) !important;
	transform: translateY(0) !important;
}

div.post h2 {
  border-top: solid 1px #aaaaaa;
  border-bottom: solid 1px #aaaaaa;
  line-height: 130%;
  font-size: 130%;
  font-weight: bold;
  padding: 10px 10px;
  margin: 0px;
  margin-bottom: 5px;
}

div.post .ban {
  background-position: left center;
  border-top: 0px;
  border-right: 0px;
  border-bottom: solid 2px #ababab;
  border-left: solid 10px #0091D2;
  font-size: 150%;
  font-weight: bold;
  padding: 10px 15px;
  margin: 10px 0px;
}

div.post .mds {
  background-color: rgba(0, 145, 210, .1);
  background-position: left center;
  border-top: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-left: solid 7px #0091D2;
  font-weight: bold;
  padding: 7px 10px;
  margin: 10px 0px;
}

div.post h2 a {
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
}

div.post h2 a:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
}

div.post p {
  margin: 10px 0 10px 0;
  line-height: 1.6;
}

div.post p.postcat {
  text-align: right;
  margin: -15px 10px 10px 0;
}

div.post p.postcat a {
  font-size: 90%;
  background-color: #666666;
  border-radius: 2px;
  color: #ffffff;
  padding: 1px 5px;
}

div.post p.postcat span {
  font-size: 90%;
  background-color: #666666;
  border-radius: 2px;
  color: #ffffff;
  padding: 1px 5px;
}

div.post .instructor {
  background-color: rgba(80, 199, 237, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
}

div.post .opstudio {
	display: inline-block;
	background-color: rgba(255, 165, 0, 0.85);
	border-radius: 2px;
	padding: 2px 10px;
	/* margin-right: 8px; */
	color: #ffffff;
	font-size: 85%;
}

div.post .eventoption {
  background-color: rgba(226, 115, 138, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-alert, div.benkyu-event .eventoption-alert {
  background-color: rgba(226, 115, 138, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-capacity {
  background-color: rgba(207, 31, 56, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-premium {
  background-color: rgba(255, 165, 0, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-goldclass {
  background-color: rgba(255, 195, 0, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-bcpoint {
  background-color: rgba(251, 128, 0, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-regular {
  background-color: rgba(107, 142, 35, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-memberevent {
  background-color: rgba(121, 145, 196, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}

div.post .eventoption-guest {
  background-color: rgba(76, 32, 45, 0.85);
  border-radius: 2px;
  padding: 2px 10px;
  margin-right: 8px;
  color: #ffffff;
  line-height: 220%;
  white-space: nowrap;
}


div.post p.postinfo {
  color: #0c8bcd;
  text-align: right;
  margin: 0;
}

div.post blockquote{
  background-color: #ededed;
  padding: 5px 5px 5px 5px;
  border: #bbbbbb 1px solid;
  border-left: #bbbbbb 5px solid;
  margin: 3px 10px 3px 10px;
}

/* イベントタイトル */
div.post .eventtitlec {
  width: 100%;
  float: left;
}

div.post .eventtitle {
  margin-left: 170px;
  vertical-align: middle;
}

div.post p.eventtitle-pc {
	font-size: 130%;
	font-weight: bold;
	margin: 5px 0 5px 0 !important;
}

div.post .eventdate {
  width: 170px;
  float: left;
  margin-left: -100%;
  text-align: center;
  vertical-align: middle;
}

div.post .eventdate a {
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
}

div.post .emdate, div.post3 .emdate {
  font-size: 170%;
  font-weight: bold;
}

div.post p.speventtitle {
	font-size: 125%;
	font-weight: bold;
	margin: 5px 0 5px 0 !important;
}

div.post p.eventcategory {
	font-size: 90%;
	margin: 0px !important;
	margin-top: 5px !important;
}

div.post p.speventcategory {
	font-size: 90%;
	margin: 0px !important;
}

div.post p.speventinst {
	font-size: 90%;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	margin: 5px 0 5px 0 !important;
}

hr.sp {
	margin-top: 5px;
	margin-bottom: 0px;
    border:none;
    border-top:dotted 1px #000000;
    height:1px;
    color:#FFFFFF;
    width:100%;
}

/* 記事内の画像 */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  margin-left: 10px;
  margin-right: 10px;
}

.alignright {
  margin-left: 10px;
  margin-right: 10px;
}

.wp-caption {
  border: solid 1px #aaaaaa;
  text-align: center;
  padding-top: 5px;
}

/* サイドバー */
div#sidebar {
  font-size: 95%;
}

div#sidebar .widget {
  margin-bottom: 20px;
}

div#sidebar h2 {
  font-size: 100%;
  color: #ffffff;
  background-color: #aaaaaa;
  border-radius: 3px;
  padding: 4px 10px;
  margin: 0;
}

div#sidebar ul {
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
  list-style-type: none;
}

div#sidebar ul.newposts li li {
  border-bottom: dotted 1px #aaaaaa;
  margin: 0;
}

div#sidebar ul.newposts li li a {
  text-decoration: none;
  color: #000000;
  display: block;
  padding: 5px 10px;
}

div#sidebar ul.newposts li li a:hover {
  text-decoration: none;
  background-color: #666666;
  color: #ffffff;
}

div#sidebar ul.alliance {
  margin: 0;
  padding: 0;
  padding-left: 20px;
  margin-top: 5px;
  list-style-type: disc !important;
}

div#sidebar ul.alliance ul {
  padding-left: 40px;
  list-style-type: circle !important;
}

div#sidebar ul.sptable {
	display: table;
	table-layout: fixed;
	text-align: center;
	width: 100%;
	border-left: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
}

div#sidebar ul.sptable li {
	border-right: 1px solid #eaeaea;
	display: table-cell;
	vertical-align: middle;
}

div#sidebar ul.sptable li:last-child {
}

div#sidebar ul.sptable li a {
	color: #444444;
	display: block;
	text-decoration: none;
	padding: 10px 0;
}

div#sidebar ul.sptable li:hover, div#sidebar ul.sptable a:hover {
	color: #ffffff;
	background-color: #666666;
}

/* ギャラリー */
.gallery-item {
  width: 33%;
  float: left;
  margin-top: 0;
  text-align: center;
}

.gallery img {
  border: solid 1px #aaaaaa;
  padding: 5px;
}

.gallery a:hover img {
  background-color: #c4f254;
}

.gallery dd {
  margin: 4px;
  font-size: 85%;
}

.gallery br+br {
  display: none;
}

/* 画像の個別ページ */
.attachment div#content {
  width: 100%;
  float: none;
}

.attachment p.photo {
  text-align: center;
}

/* 検索フォーム */
#searchform, #searchform div {
  display: inline;
}

#searchform label {
	font-weight: normal;
}

#s {
  border: solid 1px #aaaaaa;
  border-radius: 4px;
  padding: 3px 6px;
}

#s:hover, #s:focus {
  background-color: #eeeeee;
}

#searchsubmit {
  background-color: #666666;
  border-radius: 5px;
  color: #ffffff;
  border: solid 1px #aaaaaa;
  padding: 2px 6px;
}

#searchsubmit:hover {
  background-color: #aaaaaa;
}

/* 無料体験会テーブル */
table#freestart {
    border-top:1px solid #585858;
    border-left:1px solid #585858;
    border-collapse:collapse;
    border-spacing:0;
    background-color:#ffffff;
    empty-cells:show;
    font-size: 95%;
}
table#freestart caption{
    text-align: left;
    font-size: 120%;
    font-weight: bold;
}
table#freestart th{
    border-right:1px solid #585858;
    border-bottom:1px solid #585858;
    background-color:#cccccc;
    padding: 0.3em 0.8em;
    text-align:center;
}
table#freestart td{
    border-right:1px solid #585858;
    border-bottom:1px solid #585858;
    padding: 0.3em 0.8em;
}

/* 無料見学会テーブルVer.2 */
table#start {
    border-top: 1px solid #585858;
    border-left: 1px solid #585858;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #ffffff;
    empty-cells: show;
    font-size: 90%;
}
table#start caption {
    text-align: left;
    font-size: 120%;
    font-weight: bold;
}
table#start th {
    border-right: 1px solid #585858;
    border-bottom: 1px solid #585858;
    background-color: #cccccc;
    padding: 0.8em 0.8em;
    text-align: center;
}
table#start td {
    border-right: 1px solid #585858;
    border-bottom: 1px solid #585858;
    padding: 0.8em 0.8em;
}

table#start tr.clickable:hover td {
	background: #ecf2fa;
	cursor: pointer;
}

/* TOPに戻るボタン */
#page-top{
    position:fixed;
    right:16px;
    bottom:16px;
    display: none;
}
 
#page-top a{
    color:#fff;
    padding:10px;
    text-decoration:none;
    display:block;
    cursor:pointer;
    text-align:center;
    background:#aaa;
    line-height:100%;
    border-radius: 5px;
    -webkit-border-radius: 5px;
     -moz-border-radius: 5px; 
}
 
#page-top a:hover{
    background:#8b8b8b;
    -webkit-transition:all 0.3s;
    -moz-transition:all 0.3s;
    transition:all 0.3s;
}

/* Googleマップ埋込み用 */
.gmap-embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.gmap-embed-container iframe, .gmap-embed-container object, .gmap-embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
}

/* 便利クラス */
.em {
    color: #009900;
    font-weight: bold;
}

.emred {
    /* color: #ff0000; */
    color: #c1272d;
    font-weight: bold;
}

.imgleft {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

div.kadomaru {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	
	border: 1px black solid;
	padding: 10px;
}

.row {
	margin-left: -5px !important;
	margin-right: -5px !important;
}

.emphasis {
	/* color: #ff0000; */
	color: #c1272d;
}

/* お知らせ */
.news-yellow {
	font-size: 90%;
	background-color: rgba(80, 199, 237, 0.85);
	border-radius: 2px;
	padding: 2px 10px;
	margin-right: 5px;
	color: #ffffff;
}

.ticker {
	background-color: rgba(255, 255, 224, 1.00);
	border-radius: 5px;
	width: 100%;
	height: 35px;
	overflow: hidden;
	margin: 0px;
	margin-bottom: 10px;
	padding: 8px;
	list-style: none;
}

.ticker li {
	width: 100%;
	height: 35px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

@media (max-width: 992px) {
	.ticker {
		background-color: rgba(255, 255, 224, 1.00);
		border-radius: 5px;
		width: 100%;
		height: 50px;
		overflow: hidden;
		margin: 0px;
		margin-bottom: 10px;
		padding: 8px;
		list-style: none;
	}

	.ticker li {
		width: 100%;
		height: 50px;
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
}

table.overseas {
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

table.overseas th {
	font-weight: normal;
	font-size: 14pt;
	padding: 10px;
	text-align: center;
	border-top: 1px solid #000000;
	border-left: 1px solid #000000;
}

table.overseas th.academy {
	background-color: #ffc2c2;
}

table.overseas th.classic {
	background-color: #a1d5ff;
}

table.overseas td {
	padding: 10px;
	text-align: center;
	border-top: 1px solid #000000;
	border-left: 1px solid #000000;
}

@media (max-width: 767px) {
	.ticker {
		background-color: rgba(255, 255, 224, 1.00);
		border-radius: 5px;
		width: 100%;
		height: 75px;
		overflow: hidden;
		margin: 0px;
		margin-bottom: 10px;
		padding: 8px;
		list-style: none;
	}

	.ticker li {
		width: 100%;
		height: 75px;
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}
	
	table.overseas {
		width: 100%;
	}
	
	table.overseas th {
		width:100%;
		display:block;
		margin: 0 auto;
		/* border:none; */
		/* border-radius: 3px; */
	}
	
	table.overseas td {
		display: list-item;
		width: 100%;
		/* border-top: none !important; */
	}
	
}

/* 勉休イベント start */
.grid {
	margin: 0 auto;
}

div.benkyu-event {
	width: 250px;
	padding: 5px;
	padding-top: 45px;
	margin-bottom: 15px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
	border-radius: 3px;
}

div.benkyu-event .flag {
	position: absolute;
	top: 5px;
	right: -5px;
	height: 30px;
	background-color: #55acee;
	background-repeat: no-repeat;
	background-size: 80%;
	border-radius: 2px 2px 0;
	z-index: 2;
	padding: 3px;
	padding-right: 10px;
	line-height: 24px;
	color: #ffffff;
	font-weight: bold;
}

div.benkyu-event .flag:after {
	content: " ";
	width: 0;
	height: 0;
	border-bottom: 4px solid transparent;
	border-left: 5px solid transparent;
	border-left-color: #126db2;
	position: absolute;
	top: 30px;
	right: 0;
}

div.benkyu-event .emdate {
	font-size: 150%;
	font-weight: bold;
}

div.benkyu-event .thumb {
	margin-top: 2px;
	margin-bottom: 2px;
}

div.benkyu-event p.speventtitle {
	font-size: 125%;
	font-weight: bold;
	margin: 5px 0 5px 0 !important;
}

div.benkyu-event .moddate {
	text-align: right;
	font-size: 90%;
	color: #444444;
}
/* 勉休イベント end */

/* お申込みフォーム */
.mw_wp_form_input .form-group select#eventname {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
/*
	border: 0px !important;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	text-overflow: ellipsis;
	padding-left: 0px !important;
	padding-right: 0px !important;
*/
}

.mw_wp_form_input .form-group select#eventstudio {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.mw_wp_form_input .form-group select#memberstudio {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.mw_wp_form_confirm .form-group .col-sm-10 {
	padding-top: 7px;
}

.mw_wp_form_confirm .hidden-confirm {
	display: none;
}

.mw_wp_form .error {
	margin-top: 5px;
	display: block;
	color: #c1272d;
	font-weight: 700;
	background: url(./img/icon-error.png) no-repeat left 4px;
	background-size: 12px 12px;
	padding-left: 20px;
}

div.form-policy {
	overflow-y: auto;
	border: 0.5px solid #000;
	height: 146px;
	padding: 24px 24px;
	font-size: 95%;
}
/* お申込みフォーム */

/* 開催場所から探す */
#place-grid .grid-item {
	width: 250px;
	margin-bottom: 10px;
}

#place-grid .grid-item a {
	display: block;
}

#place-grid .grid-item a:hover {
	text-decoration: none;
}

#place-grid .grid-item img {
	max-width: 100%;
	height: auto;
}

#place-grid .grid-item .text-only {
	width: 250px;
	height: 66.7px;
	background-color: #99e0ff;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	color: #555555;
	text-decoration: none;
	font-size: 120%;
	font-weight: bold;
}

span.weekday {
	color: #000000;
}

span.saturday {
	color: #0000ff;
}

span.sunday {
	color: #ff0000;
}

span.reg {
	color: #585858;
	font-weight: bold;
}

/* ダークモード ←使わないことにする*/
@media (prefers-color-scheme: dark) {

/* 	body {
		color: #ffffff;
		background-color: #222222;
	}
	
	a {
		color: #22b3f4;
	}
	
	a:hover {
		color: #e3494f;
	}
	
	a[name] {
	  color: #ffffff;
	}
	
	a[name]:hover {
	  color: #ffffff;
	}
	
	a.exp {
	  text-decoration: none;
	  background-color: #222222;
	  color: #ffffff;
	}
*/
	.navbar {
		background-color: #222222;
		color: #ffffff;
		border-color: #080808;
	}
/*	
	.navbar-nav>.active>a {
		color: #ffffff !important;
	
		background-color: #080808 !important;

	}
*/
/*	
	p.title {
		color: #dddddd;
		background-color: rgba(0, 145, 210, 1.0);
	}
	
	div.post2:hover {
		background-color: #333333;
	}
	
	div.post3:hover {
		background-color: #333333;
	}
	
	div.post .mds {
	  background-color: rgba(0, 145, 210, .6);
	}
	
	div#sidebar h2 {
	  color: #000000;
	  background-color: #aaaaaa;
	}
	
	div#sidebar ul.newposts li li a {
	  color: #ffffff;
	}

	div#sidebar ul.newposts li li a:hover {
	  background-color: #666666;
	  color: #ffffff;
	}
	
	div#sidebar ul.sptable li a {
		color: #ffffff;
	}
	
	table#start {
	    background-color: #222222;
	}
	
	table#start th {
	    background-color: #444444;
	}
	
	table#start tr.clickable:hover td {
		background: #130d05;
		cursor: pointer;
	}
	
	.emphasis {
		color: #ff0000;
	}
	
	.news-yellow {
		background-color: rgba(80, 199, 237, 0.85);
		color: #ffffff;
	}

	.ticker {
		background-color: rgba(255, 255, 224, 1.00);
		color: #000000;
	}
	
	.ticker a {
		color: #0070b0;
	}
	
	.ticker a:hover {
		color: #ff0000;
	}
	
	span.weekday {
		color: #ffffff;
	}

	span.saturday {
		color: #0091d2;
	}

	span.sunday {
		color: #ff2222;
	}
	
	span.reg {
		color: #8b8b8b;
	}
	
	input#s {
		color: #000000;
	}
	
	.fixbtn {
		color: #000000 !important;
	}
	
	.form-control {
		background-color: #444444;
		color: #ffffff;
	}
	
	#searchform input#s {
		background-color: #444444;
		color: #ffffff;
	}
}
*/