@charset "utf-8";

/* 共通
------------------------------------------------------------*/
*{
	margin:0;
	padding:0;
	font-family: "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}
body {
	color: #000;
	font-size:18px;
	line-height:165%;
	letter-spacing:1px;
	-webkit-text-size-adjust: 100%;
	overflow-y: scroll;
}

a		{ color:#333; text-decoration:none; }
a:hover { color:#ee0b1e; }

p {
	display:block;
	margin:0 10px 30px;
}
.BgRed p{ color:#FFF; }
p.manseki{
	background:url(../kokaschool/img/icon_manseki.png) no-repeat 0 0;
	padding-left:85px;
}

span.Date{
	background:#EEE;
	padding:1px 10px 0 15px;
}


.aligncenter { text-align:center !important; }
.alignright { text-align:right !important; }

img { max-width:100%; }
.imgright {
	display:block;
	float:right;
	margin:0 0 15px 60px;
}
.imgleft {
	display:block;
	float:left;
	margin:0 60px 15px 0;
}
.imgcenter {
	display:block;
	margin:10px auto;
}
.imgBorder { border:1px solid #eee; }

.MGT20 { margin-top:20px !important; }
.MGT30 { margin-top:30px !important; }

/* アニメーションボタン */
a.AnimeBtn {
	display: inline-block;
	text-indent:0 !important;
	padding:15px 20px 13px;
	margin:0 0 10px; 
	line-height:115%;
	text-align: center;
	text-decoration: none;
	outline: none;
	position: relative;
	z-index: 2;
	background-color: #ffd810;
	border: 2px solid #ffd810;
	color: #333;
	font-size:105%;
	letter-spacing:1px;
	border-radius: 5px;
	webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
a.AnimeBtn::before,
a.AnimeBtn::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
	top: 0;
	width: 50%;
	height: 100%;
	background-color: #ffd810;
}
a.AnimeBtn,
a.AnimeBtn::before,
a.AnimeBtn::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
a.AnimeBtn:hover {
	background-color: #fff;
	border-color: #b90051;
	color: #b90051 !important;
}
a.AnimeBtn::before { right: 0; }
a.AnimeBtn::after { left: 0; }
a.AnimeBtn:hover::before,
a.AnimeBtn:hover::after {
	width: 0;
	background-color: #333;
}
/* 小さい字 */
a.AnimeBtnSTxt { font-size:95%; }

/* 左から右へアニメーション */
.AnimeLink{
	position: relative;
	display: inline-block;
}
a:hover.AnimeLink{ color:#333; }
.AnimeLink:before{
	position: absolute;
	top: 26px;
	left: 0;
	content: "";
	display: inline-block;
	width: 0;
	height: 1px;
	background: #333;
	transition: 0.5s;
}
.AnimeLink:hover:before{ width: 100%; }

/* レイアウト
------------------------------------------------------------*/
/* 画像ボックス */
dl.PhotoBox { display:block; }
dl.PhotoBox dt {
	width:50%;
	float:left;
	clear:both;
	margin-bottom:30px;
}
dl.PhotoBox dd {
	width:45%;
	float:right;
	text-align:left;
	margin-bottom:30px;
}
dl.PhotoBox dt img, dl.PhotoBox dd img {
	display:block;
	margin:0 auto 10px;
}
/* 2分割 */
dl.PhotoBox dt.TwoBox {
	width:30%;
}
dl.PhotoBox dd.TwoBox {
	width:65%;
}
/* 3分割 */
dl.PhotoBox dt.ThreeBox, dl.PhotoBox dd.ThreeBox {
	width:28%;
	margin:0 2.5% 30px;
	float:left;
}

/* 全体
------------------------------------------------------------*/
#wrapper{
	display:block;
	width:100%;
	height:100%;
	min-height:100%;
	margin:0;
	background:#FFF;
	position: relative;
	border-top:10px solid #d1df5a;
}
.inner {
	width:900px;
	margin:0 auto;
	padding:60px 0 40px;
}
body > div#wrapper { height: auto; }
.BgRed { background:#e70012;}
.BgGray { background:url(../kokaschool/img/bg_gray.gif); border-top:1px solid #f1f1f1; border-bottom:1px solid #f1f1f1;}


/* タイトル
------------------------------------------------------------*/
h2 {
	display:block;
	margin: 20px 0;
	text-align: center;
}

/* ヘッダー
------------------------------------------------------------*/
#header { background:url(img/back.png); line-height:100%; }
#header .inner { padding:60px 0 70px !important; }
#header img { display:block; margin:0 auto; }

/* フッター
------------------------------------------------------------*/
#footer{
	width:100%;
	display:block;
	clear:both;
	margin:0;
	padding:50px 0 80px;
    position:absolute;
	background:#d1df5a;
}

#footer ul {
    margin: 0 auto 20px;
    padding: 0;
	font-size:85%;
	text-align:center;
}
#footer ul li{
    padding: 0 7px 10px;
	display: inline-block;
}
#footer ul li a{
	color:#333;
}
#footer .address {
	display:block;
	clear:both;
	font-size:85%;
	margin:20px auto;
	text-align:center;
	color:#333;
}

/* ページトップへ */
#pagetop {
    position: fixed;
    bottom: 0;
    right: 10px;
	z-index:2;
}
#pagetop a {
    width: 100px;
    height: 108px;
    display: block;
    text-align: center;
}

@media only screen and (max-width:899px){
	.inner, .innerS { width:96%;  }
	.inner img.imgright, .inner img.imgleft, .innerS img.imgright, .innerS img.imgleft {
		float:none;
		margin:0 auto 15px;
	}
}
@media only screen and (max-width:640px){
	dl dt, dl dd {
		float:none !important;
		width:100% !important;
	}
}
@media only screen and (max-width:480px){
}
@media only screen and (max-width:375px){
}
