@charset "utf-8";
/* CSS Document */

@import url("humburger.css");
@import url("navi2.css");
@import url("basic.css");
@import url("category.css");


/* 初期化 */
body {
    margin: 0;
	font-size: 0.9em;
	color: #333;
}

a {
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
img{
	max-width: 100%;
	height: auto;
	width /***/:auto;　
}



/* ----------------------------------
コンテナ
----------------------------------- */	
#container {
	max-width: 1000px;
	margin: 0 auto;
}

#contents_wrapper {
  display: flex;
}

#left-column {
  width: 30%;
  padding: 20px 0;
}

#main-column {
  width: 70%;
  padding: 20px 0 20px 40px ;
}

@media screen and (max-width: 959px) {
	#main-column {
		width: 100%;
		padding: 20px;
	}
	#left-column{
		display: none;
	}
}

/* ----------------------------------
ヘッダー
----------------------------------- */

header {
	margin: 20px 0;
	position: relative;
	height: 78px;
	background:url(../img/back_header.gif) bottom repeat-x;
}
header h1 { display:inline; }
header h2 { display:inline; }
.enjp {
	position: absolute;
	top:0;
	right: 0;
	white-space:nowrap;
	padding:0.3em;
	font-size: 1em;
	}
.enjp a, #link header .enjp a { color: #C00; font-weight: bold; text-decoration:underline; }
.entry {
	margin-top: 30px;
	position: absolute;
	bottom: 5px;
	right: 0;
}
.entry2 ul{
    /*追加*/display: flex;
	margin-top: 10px;
	position: absolute;
	bottom: 18px;
	right: 0;
    list-style: none;
}
.entry2 li{
    /*追加*/width:auto;
    /*追加*/box-sizing: border-box;
    /*追加*/text-align: center;
    padding: 2px 5px;
    margin: 5px;
    /*border: 1px solid #333;*/
	background: #F1F1F1;
}
.entry2 a {
	color: #E02C2F;
	}
.entry2 a:hover {
	opacity: 0.7;
	}


@media screen and (min-width: 960px) {
	.header-inner{
		display: none;
	}
	.hamburger-window{
		display: none;
	}
}

@media screen and (max-width: 959px) {
/* 初期化 */
	body { margin: 0; }
	a { text-decoration: none; }
	li { list-style: none; }
	ul { margin: 0; padding: 0; }
	h1{ padding: 0; margin: 10px 0 -5px 10px; }
	.header {
		height: fit-content;
		background-color: rgba(255, 255, 255, 1);
		width: 100%;
		z-index: 1000;
		position: fixed;
		background:#FFF;
		margin: 0;
	}
	.header-inner {
		padding: 0;
	}
	h1.nonal{ display: none; }
	h2.en{ display: none; }
	.enjp{ display: none; }
	.entry{ display: none; }
	.entry2{ display: none; }
}

@media screen and (max-width: 380px) {
	h1 img {width: 95%; height: auto;}
}

/* ----------------------------------
Swiper
----------------------------------- */
.swiper-container {
  width: 100%;
  color: #fff;
  text-align: center;
  max-height: 450px;
}

.pagination {
  position: absolute;
  z-index: 20;
  left: 10px;
  bottom: 10px;
}
.swiper-pagination-switch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #222;
  margin-right: 5px;
  opacity: 0.8;
  border: 1px solid #fff;
  cursor: pointer;
}
.swiper-visible-switch {
  background: #aaa;
}
.swiper-active-switch {
  background: #fff;
}
.sp-img{
	width: 100%;
	height: auto;
}

@media screen and (max-width: 959px) {
	.swiper-container{
		padding-top:70px;
	}
	.sCont {
		padding-top:70px;
	}
}



.main_banner ul{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.main_banner li{
	display: flex;
	width: calc( 94%/ 3 );
	margin-right: 2%;
}
.main_banner > li:nth-child( 3n ) { margin-right: 0; }
.main_banner li img{
	width: 100%;
	height: auto;
}


/* ----------------------------------
TOPページNews
----------------------------------- */
#newsTitle {
	margin-bottom:20px;
	display: flex;
	justify-content: space-between;
	width: 100%;
	border-bottom: #DFDFDF 3px solid;
}
#newsTitle h3 img { height: 35px;}
#newsTitle .fb img { height: 30px; padding: 1.5em 0 0 0;  }

@media screen and (max-width: 480px) {
	#newsTitle h3 img { height: 30px;}
	#newsTitle .fb img { height: 25px; padding: 1.5em 0 0 0; 
	}
}

/* news */  
.newsList {
	clear: both;
	height: 800px;/*スクロールの高さ*/
	overflow-y: scroll;
}
.news {/*font-size: 1em;*/ line-height: 1.5;}    
.news h4 {font-size: 1.2em; font-weight: bold; margin-bottom: 0.6em;}
.news p { border-bottom: 1px dotted #666 ; padding-bottom:1.3em; margin-bottom:1.3em; /*font-size: 1em;*/ } 
.news p.link { padding-bottom:1.3em; margin-bottom:1.3em; font-size: 1em; border: none; }  
.news a { color: #E02D30; text-decoration: underline; transition: color 0.3s; }
.news a:hover{ color : #ff7043; }    
.news .date { display:block; font-size:0.9em; margin-bottom: 0.5em;}
.news .new_date { display:block; font-size:0.9em; margin-bottom: 0.5em; }
.news .new_date::before {
  content: "NEW";
  background-color: #E02D30;
  color: #FFF;
  display: inline-block;
  line-height: 1.5em;
  padding: 3px 7px;
  font-size: 0.6rem;
  margin-right: 1em;
} 

/* text */
.teachers .lLeft { float: left; width: 20%; }
.teachers .lRight { float: right; width: 78%; }
.category li{ font-size: 0.8em; line-height: 1; }
.enjp { font-size: 1em; line-height: 1; }
.pankuzu { font-size:0.8em; line-height:1; margin: 20px 0 20px 0; }



/* ----------------------------------
バナーコンテナ
----------------------------------- */

.banner-container {
    max-width: 100% !important;    
    margin: 20px auto;
    /*display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;*/
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*align-content: flex-start;*/
    justify-content:space-around;
	}
.banner-item{
    margin-bottom: 10px;
	}
.banner-item a:hover{
    opacity: 0.7;
}
.banner-item img{
	width: 100%;
}
@media screen and ( min-width: 960px ) {
    .banner-container {
		display: none;
	}
}
@media screen and ( max-width: 959px ) {
	.banner-item {
        width: calc(50% - 10px);
	}
}
@media screen and (max-width: 480px) {
	.banner-container {
		display: block;
	    margin: 20px;
	}
	.banner-item {
        width: 100%;
	}
}

/* ----------------------------------
Footer
----------------------------------- */
#ftColumn { display: table; width: 100%; margin: 50px 0;}
#footerImg img{ width:50px; height: auto; margin-right:0.7em; display: table-cell; float: left;}
.associate { width: 40%; display: table-cell; text-align: left; vertical-align: middle; font-size: 1.2em; font-weight: bold;}
.associate .sub { font-size:0.7em; line-height: 1; }
p.address { width: 55%; display: table-cell; text-align: right; vertical-align: middle; font-size:0.9em; }
p.copy { font-size:0.9em; text-align: center;}

@media screen and (max-width: 959px) {
	#ftColumn{ display: block; }
	#footerImg img { margin: 0 auto 1em auto; display:block; float:none; }
	.associate { display: block; text-align: center; margin: 0 auto 1em auto; width: 96%; }
	p.address { display: none; }
	p.copy { font-size:0.8em; text-align: center; width: 96%; }	
}


/*骨ルポ 応募*/
.foundlist table { width: 100%; padding: 5px; margin: 0 0 5em; font-size: 1em; line-height: 1.6em; border-bottom: 2px solid #E02D30; table-layout: fixed; }
.foundlist th { border-right: 1px solid #FFF; padding: 0.8em ; background: #E02D30; color: #FFF; } 
.foundlist th:last-child { border-right: none;}   
.foundlist td { border-right: 1px solid #ddd; padding: 0.8em ; }   
.foundlist td:last-child { border-right: none; }  
.foundlist tr:nth-child(2n+1) { background: #ededed; }
.foundlist a { /*color: #E02D30;*/ text-decoration: none; transition: color 0.3s; }
.foundlist a:hover{ color : #E02D30; text-decoration: underline; } 
/*.foundlist p{ font-size: 1.2em; line-height: 1.4em; }   */ 
.foundlist h3{ color: #E02D30; font-size:1.2em; }
.anzbms{ color:#3c7ed4 }


/*1st Author*/
ol.referemce {
  margin-bottom: 1.5em;
  padding: 0;
  font-size: 0.8em;
}
ol.referemce li {
	margin-left: 20px;
	list-style:decimal;
  margin-bottom: 8px;
}

ol.referemce2 {
  margin-bottom: 1.5em;
  padding: 0;
  font-size: 0.8em;
}
ol.referemce2 li {
	margin-left: 20px;
	list-style:upper-latin;
  margin-bottom: 8px;
}
