.entry_contents .box-bordered {
	margin-bottom: 14px;
	padding: 10px;
	border: 5px solid #f2f2f2;
	box-sizing: border-box;
}

.entry_contents .text-left {
	text-align: left;
}

.entry_contents .text-center {
	text-align: center;
}

.entry_contents .text-right {
	text-align: right;
}

.entry_contents img.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry_contents .schedule-intro {
  margin: 0 2em 2em 2em;
  padding: 0 1em;
  border-left: 6px solid #333;
  border-right: 6px solid #333;
}

.entry_contents .img_border img {
  border: 1px solid #ddd;
}



/*	MAIN CONTAINER
Set the width to whatever you want the width of your site to be. */
.container {
	max-width: 960px;
	margin: 0 auto;
}

/*	SELF CLEARING FLOATS - CLEARFIX METHOD */
.container:after,.row:after,.col:after,.clr:after,.group:after {
	content: "";
	display: table;
	clear: both;
}

/* 	DEFAULT ROW STYLES
	Set bottom padding according to preference */
.row {
	padding-bottom: 0em;
}

/* DEFAULT COLUMN STYLES */
.col {
	display: block;
	float: left;
	width: 100%;
}

@media ( min-width : 768px ) {
	/*@media ( min-width : 480px ) {*/
	.gutters .col {
		margin-left: 2%;
	}
	.gutters .col:first-child { 
		margin-left: 0; 
	}
}

/*	COLUMN WIDTH ON DISPLAYS +768px 
You might need to play with media queries here to suite your design. */
@media ( min-width : 768px ) {
	.span_1 { width: 8.33333333333%; }
	.span_2 { width: 16.6666666667%; }
	.span_3 { width: 25%; }
	.span_4 { width: 33.3333333333%; }
	.span_5 { width: 41.6666666667%; }
	.span_6 { width: 50%; }
	.span_7 { width: 58.3333333333%; }
	.span_8 { width: 66.6666666667%; }
	.span_9 { width: 75%; }
	.span_10 { width: 83.3333333333%; }
	.span_11 { width: 91.6666666667%; }
	.span_12 { width: 100%; }
	.gutters .span_1 { width: 6.5%; }
	.gutters .span_2 { width: 15.0%; }
	.gutters .span_3 { width: 23.5%; }
	.gutters .span_4 { width: 32.0%; }
	.gutters .span_5 { width: 40.5%; }
	.gutters .span_6 { width: 49.0%; }
	.gutters .span_7 { width: 57.5%; }
	.gutters .span_8 { width: 66.0%; }
	.gutters .span_9 { width: 74.5%; }
	.gutters .span_10 { width: 83.0%; }
	.gutters .span_11 { width: 91.5%; }
	.gutters .span_12 { width: 100%; }
	.span_5eq { width: 20%; }
	.gutters .span_5eq { width: 18.4010408%; }
}



span.maru { color: #727171; }
span.hissu { color: #D93932; }
span.dia { color: #EB614B; }
span.heart { color: #DC6B94; }
span.club { color: #F4C200; }
span.spade { color: #91B122; }
span.star { color: #F18D00; }

.scroll-table {
  overflow: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.col h2:first-child,
.col h3:first-child,
.col h4:first-child,
.col h5:first-child,
.col h6:first-child {
	margin-top: 0;
}

.table.professors td:first-child {
	width: 18%;
}
@media screen and (max-width: 767px) {
	.table.professors td:first-child {
		white-space: nowrap;
	}
	.table.professors td:nth-child(2):before {
		border-left: 1px solid #ddd;
	}
}

.professors-profile > tbody > tr {
	border-bottom: 1px solid #e5e5e5;
}
.professors-profile > tbody > tr > th {
	vertical-align: top;
}
.entry_contents .professors-history {
	width: 100%;
	border-spacing: 2px;
	border-collapse: separate;
	margin: 0;
}
.entry_contents .professors-history th,
.entry_contents .professors-history td {
	padding: 4px 8px;
	border: none;
}
.entry_contents .professors-history th {
	background-color: #e6e6e6;
	text-align: left;
}
@media screen and (max-width: 767px) {
	.entry_contents .professors-profile td {
		border: none;
	}
	.professors-profile > tbody > tr > th,
	.professors-profile > tbody > tr > td {
		display: block;
		padding: 8px 0;
		border-right: none;
	}
	.entry_contents .professors-history, .entry_contents .professors-table {
		border-bottom: none;
	}
}
.entry_contents .professors-table {
	width: 100%;
	margin: 0;
}
.entry_contents .professors-table thead tr {
	background-color: #e6e6e6;
}
.professors-table thead tr th {
	font-weight: bold;
	background: inherit;
}
.professors-table tbody tr {
	border-bottom: 1px solid #ddd;
}
.professors-table tbody tr:last-child {
	border-bottom: none;
}
.entry_contents .professors-table th,
.entry_contents .professors-table td {
	padding: 4px;
	border: none;
}

.entry_contents .professors-table tbody th {
	background: none;
}

.entry_contents i.fa {
	margin-left: 4px;
	margin-right: 4px;
}

.tabpanel .nav-tabs {
	height: 36px; line-height: 32px;
	border-bottom: 2px solid #fe4647;
}
.tabpanel .nav-tabs li {
	float: left;
	height: 36px; line-height: 32px;
	margin: 0 0 0 4px; padding: 4px 12px 6px 12px;
	padding: 0 12px;
	background-color: #fe4647;
	border: 2px solid #fe4647;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}
.tabpanel .nav-tabs li:hover,
.tabpanel .nav-tabs .active {
	background-color: #fff;
	color: #fe4647;
}
.tabpanel .tab-contents {
	clear: both;
}
.tabpanel .tab-pane {
	margin-top: 15px;
}
.hide {
	display: none;
}

.entry_contents .nav-tabs li::before {
	content: '';
}

@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .entry_contents .table-responsive table {
    width: 750px;
    margin-bottom: 10px;
  }
  .table-responsive > table > thead > tr > th,
  .table-responsive > table > tbody > tr > th,
  .table-responsive > table > tfoot > tr > th,
  .table-responsive > table > tr > th,
  .table-responsive > table > tr > th,
  .table-responsive > table > tr > th,
  .table-responsive > table > thead > tr > td,
  .table-responsive > table > tbody > tr > td,
  .table-responsive > table > tfoot > tr > td,
  .table-responsive > table > tr > td,
  .table-responsive > table > tr > td,
  .table-responsive > table > tr > td {
    white-space: nowrap;
  }
}

.nyushi_qa {
  margin-bottom: 2em;
  border: 1px solid #ccc;
}
.nyushi_qa .clearfix {
  margin-bottom: 0;
}
.nyushi_qa_head,
.nyushi_qa_body {
  clear: both;
  padding: 10px;
}
.nyushi_qa_head {
  border-bottom: 1px dashed #ccc;
}
.nyushi_qa_head .qa_content {
  font-size: 18px;
  font-weight: bold;
}
.qa_mark {
  float: left;
  width: 42px;
  padding: 5px 0;
  background-color: #EB614B;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.qa_content {
  margin-left: 60px;
}
.qa_notice {
  color: #EB614B;
}
.nyushi_qa .table-bordered th {
  background-color: #FBDCD0;
  text-align: center;
}
.nyushi_qa_list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nyushi_qa_list li:before {
  content: "○ ";
  color: #EB614B;
}
.qa_rank {
  color: #EB614B;
  font-size: 18px;
  font-weight: bold;
}
.qa_h3 {
  margin-bottom: 0.5em;
  border-bottom: 1px solid #EB614B;
  color: #EB614B;
  font-weight: bold;
}
td.nowrap {
  white-space: nowrap;
}

.mycounter {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}
.mycounter li:before {
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.mycounter li:nth-child(1):before { content: "①"; }
.mycounter li:nth-child(2):before { content: "②"; }
.mycounter li:nth-child(3):before { content: "③"; }
.mycounter li:nth-child(4):before { content: "④"; }
.mycounter li:nth-child(5):before { content: "⑤"; }

.qa-box {
  margin-bottom: 2em;
  padding: 10px;
  border: 1px solid #333;
}

.qa-head {
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #333;
}
.qa-q {
  min-width: 48px; height: 48px;
}
.qa-q-text {
  padding-left: 10px;
  font-size: 18px;
  font-weight: bold;
}

.qa-body {
  display: -webkit-flex; display: flex;
}
.qa-scene {
  min-width: 180px;
  padding-left: 10px;
}
.qa-photo {
  -webkit-align-self: flex-end; align-self: flex-end;
  min-width: 160px;
}
.qa-foot {
  width: 100%;
  text-align: right;
  font-size: 12px;
}
.qa-a {
  float: left;
  margin: 0 10px 10px 0;
}
.qa-circle {
  color: #DC6B94;
}
.qa-photo img {
  display: block;
  margin: 0 auto;
}
@media screen and (max-width: 479px) {
  .qa-box {
    display: block;
  }
  .qa-body {
    -webkit-flex-wrap: wrap; flex-wrap: wrap;
  }
  .qa-a-text { width: 100%; }
  .qa-scene {
    -webkit-align-self: center; align-self: center;
    min-width: 55%; width: 55%;
    padding-left: 0;
  }
  .qa-photo {
    min-width: 45%; width: 45%;
    margin: 0 auto;
  }
}

.flex {
  display: flex;
}

.staff .flex {
  justify-content: center;
  flex-wrap: wrap;
}

.staff .flex a {
  display: block;
  width: 33.3333%;
  color: #222;
}

.staff .flex a:hover {
  text-decoration: none;
}

.staff .flex ul {
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}

.staff .flex i {
  color: #fe4647;
  margin-right: 2px;
}

.staff .modal-content {
	display: none;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
  z-index: 11111;
}

.staff .modal-back {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,.65);
	cursor: pointer;
}

.staff .m-content {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	    -ms-transform: translate(-50%,-50%);
	        transform: translate(-50%,-50%);
	background-color: #fff;
	width: 90%;
	max-width: 750px;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.staff .m-pic {
	width: 60%;
}

.staff .m-pic img {
  vertical-align: top;
}

.staff .m-pic .youtube {
	margin-bottom: 0;
}

.staff .m-text {
  font-size: .9em;
	width: 40%;
	padding: 10px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.staff .m-text p {
  margin-top: 0;
	margin-bottom: .7em;
}

#modal-overlay {
  display: none;
}

@media screen and (max-width: 768px) {
 .staff .flex a {
   width: 50%;
 }

 .staff .m-pic {
   width: 100%;
 }
 
 .staff .m-text {
   width: 100%;
 }
}