@charset "UTF-8";


/* #### ribon ####*/
#ribon {
	width: 100%;
	background-image: url("../img/classification/title.jpg");
	position: relative;
}


.clList {
	width: 100%;
	box-sizing: border-box;
}
.clList > li {
	width: 16%;
	box-sizing: border-box;
	padding: 0.6% 0.6%;
	float: left;
}
.tmBox a {
	width: 100%;
	box-sizing: border-box;
	border-radius: 4px;
	background: #000;
	position: relative;
	display: block;
	overflow: hidden;
}
.tmBox h4 {
	width: 100%;
	box-sizing: border-box;
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
	line-height: 1.2;
	text-align: center;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.34);
	padding: 0 2px;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
	position: absolute;
	z-index: 1;
}
.tmBox img {
	width: 100%;
	box-sizing: border-box;
	vertical-align: bottom;
	transition-duration: 0.3s;
	opacity: 0.78;
}
.clList li .sClassArea {
	display: none;
}

.tmBox:hover img {
  opacity: 0.58;
  transform: scale(1.1);
  transition-duration: 0.3s;
}

/* ## Modal ## */
/* Modal Base */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index: 100000;
}
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100001;
}

/* Modal Content */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  z-index: 100002;
}
.modal-content a:hover {
	text-decoration: none;
}
.modal-inner {
  position: relative;
  background: white;
  width: 100%;
  min-height: 100px;
  max-height: 500px;
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Close Button */
.btn_close {
  display: block;
  position: absolute;
  top: -50px;
  right: 0;
  background-color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: black;
  text-align: center;
  font-size: 30px;
  text-decoration: none;
  line-height: 35px;
  z-index: 100005;
}

/* accordion */
.tmeBox {
	width: 25%;
	box-sizing: border-box;
	padding: 1% 1%;
	float: left;
}
.tmeBox > a {
	width: 100%;
	box-sizing: border-box;
	background-color: #f1f1f1;
	border: solid 1px #dcdcdc;
	line-height: 1.5;
	font-size: 14px;
	font-weight: bold;
	padding: 4px 8px;
	display: block;
}


.tmeBox .accordion_header {
	background-color: #f1f1f1;
	border: solid 1px #dcdcdc;
	line-height: 1.5;
	font-size: 14px;
	font-weight: bold;
	padding: 4px 8px;
	position: relative;
	z-index: +1;
	cursor: pointer;
	transition-duration: 0.2s;
}
.tmeBox .accordion_header .i_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
}
.tmeBox .accordion_header .i_box .one_i {
  display: block;
  width: 18px;
  height: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  position: relative;
}
.tmeBox .accordion_header.open .i_box {
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
}
.tmeBox .accordion_header .i_box .one_i:before, .tmeBox .accordion_header .i_box .one_i:after {
  display: flex;
  content: '';
  background-color: #545454;
  border-radius: 10px;
  width: 20px;
  height: 2px;
  position: absolute;
  top: 9px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
}
.tmeBox .accordion_header .i_box .one_i:before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 8px;
}
.tmeBox .accordion_header.open .i_box .one_i:before {
  content: none;
}
.tmeBox .accordion_header.open .i_box .one_i:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.tmeBox .accordion_inner {
	width: 100%;
	display: none;
	border-left: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
}
.tmeBox .accordion_inner li a {
	width: 100%;
	box-sizing: border-box;
	padding: 2px 8px;
	display: block;
}


/* #### width 359px以下の場合の設定 (for SP Only) #### */
@media (max-width: 359px) {

/* ## index.php ## */

/* ## detail.php ## */
	
}

/* #### width 360px～500pxの場合の設定 (for SP Wide Only) #### */
@media (min-width: 360px) and (max-width: 500px) {

/* ## index.php ## */

/* ## detail.php ## */
}

/* ## width 501px～767pxの場合の設定 (for Tub Only) ## */
@media (min-width: 501px) and (max-width: 767px) {

/* ## index.php ## */

/* ## detail.php ## */



}

/* #### width 767px 以下の場合の設定 (for All Mobile Dvices) #### */
@media (max-width: 767px) {
.bumruiBox {
}
.bumruiBox .bBoxL {
	width: 100%;
	border: solid 1px #cccccc;
	margin-bototm: 2%;
	border-radius: 8px;
}
.bumruiBox .bBoxL img {
	width: 100%;
}
.bumruiBox h3 {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	background-color: #EBEBEB;
}

.sClassArea {
	padding: 2% 1%;
	overflow: hidden;
}
.classBox {
	float: left;
	font-size: 12px;
	padding: 5px 0;
	margin: 0.2%;
	border-radius: 8px;
	width: calc(98%/2);
	text-align: center;
	background-color: #188B74;
}
.sClassArea a {
	color: #ffffff;
}
	
.clList {
}
.clList li {
	width: 33.3333%;
	padding: 0.8% 0.8%;
}
	
/* Modal Content */
.modal-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
}	
	
}

/* #### width 768px 以上の場合の設定 (for PC) #### */
@media (min-width: 768px) {
.bumruiBox {
}
.bumruiBox .bBoxL {
	width: calc(97%/3);
	float: left;
	border: solid 1px #cccccc;
	margin:  0.5%;
	border-radius: 8px;
}
.bumruiBox .bBoxL img {
	width: 100%;
}
.bumruiBox h3 {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	background-color: #EBEBEB;
}

.sClassArea {
	padding: 2% 1%;
	min-height: 170px;
}
.classBox {
	float: left;
	font-size: 12px;
	padding: 2px 0 4px 0;
	margin: 0.2%;
	border-radius: 8px;
	width: calc(98%/3);
	text-align: center;
	background-color: #188B74;
}
.sClassArea a {
	color: #ffffff;
}
}

/* #### width 980px 以上の場合の設定 #### */
@media (min-width: 980px) {

	

}


/* #### width 1200px 以上の場合の設定 #### */
@media (min-width: 1200px) {


/* ## index.php ## */

}