@charset "UTF-8";

/*----------------------------------------
　　初期設定
----------------------------------------*/
* {margin: 0; padding: 0;}
html, body {width: 100%; height: 100%;}
body {
    -webkit-text-size-adjust: 100%;
    color: #444;
    font-size: 87.5%;
    font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;	
    line-height: 1;
}
img, a img {border: 0;}
ul {list-style: none; margin: 0; padding: 0;}

/*----------------------------------------
　　.clearfix
----------------------------------------*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-table;
    min-height: 1%;
}
.clear {clear: both;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

/*----------------------------------------
　　リンク
----------------------------------------*/
a {
    text-decoration: none;
	color: #444;
    /*トランジション効果*/
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
a:hover {opacity: 0.5;}

/*----------------------------------------
　　レイアウト
----------------------------------------*/
#wrap {overflow: hidden; position: relative;}
.inner {width: 1080px; margin: 0 auto;}
.aligncenter {text-align: center;}
.alignright {text-align: right;}
.alignleft {text-align: left;}
.flexBox {display: flex; justify-content: center;}
.flexBox btn {margin-left:5px; margin-right: 5px;}

/*----------------------------------------
　　ヘッダー
----------------------------------------*/
header {padding: 10px 0; position: fixed; top: 0px; left: 0px; width: 100%; background: #bd2531; height: 60px; z-index: 99; border-top: solid 20px #fff;}
header h1 {float: left;}
header h1 img {width: 300px;}

/*ナビ*/
nav {position: relative; margin-left: 300px;}
nav ul.main-nav {list-style: none; display: flex; justify-content: flex-end; align-items: center; height: 60px; font-weight: bold;}
nav ul.main-nav li {margin:0 2px;}
nav ul.main-nav li a {padding: 8px; color: #fff;}
nav ul.sub-nav {list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: bold; position: absolute; top: -26px; right: 0px;}
nav ul.sub-nav li {margin: 0 2px 0 0; background: #ffffff; display: inline; padding: 2px 10px;}
nav ul.sub-nav a {color: #bd2531;}

/*----------------------------------------
　　コンテンツ
----------------------------------------*/
#container {padding-top: 0px;}
.contents {padding: 40px 0 40px;}
h2 {text-align: center; color: #bd2531; margin-bottom: 0.5em;}
h2 span {border-bottom: dotted 2px #bd2531; padding: 0 10px 10px; line-height: 3em;}
h3 {color: #f88824; margin-bottom: 0.5em;}
.kakomi {border: solid 2px #bd2531; padding: 20px; color: #bd2531; font-weight: bold;}
.lead {margin-bottom: 1em; line-height: 1.4; font-size:18px; font-weight: bold; }
.btn {margin: 20px 0; padding: 5px 10px;}
.btn a {padding: 5px 20px; background: url(../images/bg_btn.png); color: #fff;}
.red, .red a {color: #bd2531;}

/*メインイメージ*/
#c1 {}
#c1 h2 {position: relative;}
#c1 p.lead {font-size:18px; font-weight: bold; width:75%; margin: 0 auto 1em; color: #222; background: rgba(255,255,255,0.5); padding: 0.5em;}
#c1 h3 {font-size: 24px; color: #bd2531;}
#c1 h4 {font-size: 24px; margin-bottom: 0.5em;}
#c1 .collabo div {width: 48%; margin: 0 1%; padding: 1em; background: rgba(255,255,255,0.5);}
#c1 .collabo p {font-size: 16px; line-height: 1.6;}
#c1 .collabo span {font-size: 12px;}
#c1 .collabo img {width: 100%;}

/*学科の特長*/
#c2 {background: url(../images/bg_salada.png) no-repeat #fcfbe5;}
#c2 h2 {margin-top: 100px; margin-bottom: 20px;}
#c2 dl {border: solid 1px #222; background: #fff; margin: 0 10px 10px; padding: 20px; line-height: 1.4;}
#c2 .flexBox dl {width: 100%;}
#c2 .count {color: #ffe0bd; font-weight: bold; display: inline-block; font-size: 300%; font-style: italic;}

/*めざす資格*/
#c3 {background: url(../images/bg_stripe_green.png);}
#c3 .flexBox {align-items: center;}

#c3 .flexBox div {margin: 0 20px 10px; width: 100%;}
#c3 .kakomi {margin-bottom: 5px; padding: 10px; color: #bd2531; font-weight: bold; font-size: 100%; background: rgba(255,255,255,0.5);}
#c3 strong {font-size: 18px; color: #f88824; border: double 3px #f88824; background: rgba(255,255,255,0.2);}

/*教員メッセージ*/
#c4 {/*background: url(../images/bg_c4.gif) center top;*/}
#c4 .flexBox {flex-direction: row-reverse;}
#c4 .flexBox div {width: 100%;}
#c4 dl {position: relative; height: 540px;}
#c4 dt,
#c4 dd {padding: 20px; line-height: 1.4; background: #fff;}
#c4 dt span {font-size: 150%; font-weight: bold;}
#c4 .kyouin_shoku dt {background: #bd2531; color: #fff; padding-left: 100px;}
#c4 .kyouin_kigyou dt {background: #206306; color: #fff; padding-right: 100px;}
#c4 dd.left img {position: absolute; top: -10px; left: -80px;}
#c4 dd.left {padding-left: 210px;}
#c4 dd.miya {padding-left: 250px;}
#c4 dd.right img {position: absolute; top: -10px; right: -80px;}
#c4 dd.right {padding-right: 210px;}

/*卒業後の進路*/
#c5 {background:url(../images/bg_tomato.png) #f1fee8;}
#c5 .inner {background: #fff; padding: 20px; opacity: 0.95; width: auto; max-width: 1080px;}
#c5 h2 {margin-bottom: 20px;}
#c5 dl {background: #ffe0bd; margin: 0 10px 10px; padding: 20px; line-height: 1.4;}
#c5 dl dd:nth-child(3) {background: #fff; padding: 10px;}
#c5 dl dd:nth-child(2) {margin-bottom: 10px;}
#c5 .flexBox dl {width: 100%;}

/*ブログ新着記事*/
#c6 ul {width: 100%; overflow: hidden;}
#c6 ul li {width: 23%; float: left; height: 4em; position: relative; padding-top: 190px; padding-left: 1%; padding-right: 1%;line-height: 1.4;}
#c6 ul img {
    width: 100%;
	height: auto;
}
#c6 ul p {
    max-height: 180px;
    overflow-y: hidden;
	position: absolute;
	top: 0;
	left: 0;
}
#c6 ul a {display: block; font-weight: bold;line-height: 1.2; margin-bottom:10px; height: 2.5em; overflow: hidden; color: #35b5f8;}
#c6 ul li:nth-child(9),#c6 ul li:nth-child(10) {
    display: none;
}


/*バナー*/
#c7 {background: #35b5f8;}
#c7 h2 {color: #fff; margin-bottom: 20px;}
#c7 .flexBox {justify-content: center;}
#c7 .flexBox li {margin: 0 5px 10px;}

/*---------------------------------------- 
　　モーダルウィンドウ
----------------------------------------*/
.modal-content {
    position:fixed;
    display:none;
    z-index:2;
    width:90%;
	max-width: 640px;
    margin:0;
    padding:0;
    border:5px solid #bd2531;
	border-radius:10px;
    background:#fff;
}
.modal-inner {
	margin:35px 20px;
}
.modal-content h3 {
	background: #bd2531;
	color: #fff;
	font-size: 150%;
	padding: 10px;
	border-radius:6px;
	text-align: center;
}
.modal-content p {
    line-height: 1.8;
	padding:0 10px;
}
.modal-content p.hosoku {
    text-align: center;
	font-weight: bold;
	font-size: 90%;
	margin-bottom: 1em;
}
.modal-overlay {
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(255,255,255,0.75);
}

.modal-open {
}

.modal-open:hover {
    cursor:pointer;
}

.modal-close {
	position:absolute;
	top:5px;
	right:10px;
}

.modal-close:hover {
    cursor:pointer;
}

/*---------------------------------------- 
　　フッター
----------------------------------------*/
footer {text-align: center; padding: 20px 0; border-top: solid 1px #eee; background: #f4f4f4;}
footer .sns {margin: 10px 0 20px;}
footer .sns img {margin: 0 5px;}
footer p {line-height: 1.4;}
footer .copyright {margin: 20px 0 0;}	

/*----------------------------------------
　　レスポンシブ
----------------------------------------*/
/* pc */
@media print, screen and (min-width: 1080px) {
#togmenu,
.sp-btn,
#c1 .shiten_sp {display: none;}
}
 
/* tablet以下  */
@media print, screen and (max-width: 1079px) {
.inner {width: 100%;}
img {max-width: 100%; height: auto; width: auto;}
header h1 img {margin-left: 10px;}
#togmenu {
    display: block;
    width: 42px;
    height:42px;
    position: absolute;
    top: 19px;
    right: 10px;
    z-index: 3;
    cursor: pointer;
}
#togmenu span {
    display: block;
    background: #fff;
    width: 24px;
    height: 2px;
    position: absolute;
    left: 9px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}
#togmenu span:first-child {
    top: 12px;
}
#togmenu span:nth-child(2) {
    margin-top: -1px;
    top: 50%;
}
#togmenu span:last-child {
    bottom: 12px;
}
#togmenu.active span:first-child {
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}
#togmenu.active span:nth-child(2) {
    opacity: 0;
}
#togmenu.active span:last-child {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}
#nav {display: none;}
nav {margin-left: 0; position: absolute; top: 80px; left: 0; padding-bottom: 115px; width: 100%;}
nav .sp-nav ul.main-nav {display: block; height: auto; background: #bd2531; opacity: 0.8;}
nav .sp-nav ul.main-nav li {display: block; margin: 0; border-bottom: solid 1px #eee;}
nav .sp-nav ul.main-nav li a {display: inline-block; padding: 15px 20px; color: #fff; width: 100%;}
nav .sp-nav ul.sub-nav {display: block; margin: 0; font-size: 100%; font-weight: bold; position: relative; top: 0; left: 0; background: #0099cc; opacity: 0.8;}
nav .sp-nav ul.sub-nav li {display: block; margin: 0; padding: 0; background: transparent; display: block; border-bottom: solid 1px #eee;}
nav .sp-nav ul.sub-nav li a {display: inline-block; padding: 15px 20px; color: #fff; width: 100%;}

#c1 {}
#c1 h2 {}
#c1 p.shiten {margin-top: -140px; padding: 0 10px;}
#c1 p.kakomi {margin: 20px 10px 0;}
.oc_info img, .gansho_info img {width: 120px;}

#c2 .flexBox {display: block; overflow: hidden;}
#c2 .flexBox dl {float: left; width: 40%;}

#c3 {background: url(../images/bg_stripe_green.png);}
	
#c4 dl {height: 590px;}
#c4 .kyouin_shoku dt {padding-left: 140px;}
#c4 .kyouin_kigyou dt {padding-right: 140px;}
#c4 dt.miya {padding-left: 120px;}
#c4 dd.left {padding-left: 195px;}
#c4 dd.right {padding-right: 195px;}
#c4 dd.miya {padding-left: 235px;}
#c4 dt {min-height: 3em;}

#c5 .inner {margin: 0 10px;}
#c5 .flexBox dl {width: auto;}

#c6 ul li {width: 31%; float: left; height: 4em; position: relative; padding-top: 160px; padding-left: 1%; padding-right: 1%;line-height: 1.4;}
#c6 ul p {
    max-height: 150px;
}

.sp-btn,
#c1 .shiten_sp {display: none;}
}

.sp-btn2 {display: none;}
 
/* smartphone */
@media screen and (max-width: 599px) {
.flexBox {display: block;}
.btn {padding: 15px 0;}
.btn.alignright {text-align: center;}
.btn a {padding: 15px 40px;}
header {padding: 3px 0; height: 42px;}
header h1 img {width: auto; height: 42px; margin-left: 5px;}
#togmenu {
    position: absolute;
    top: 3px;
    right: 5px;
}
nav {position: absolute; top: 48px; left: 0;}
#c1 {}
body {}
#c1 h2 {}
#c1 h3 {font-size: 18px;}
#c1 h4 {font-size: 18px;}
#c1 .collabo div {width: auto; margin: 0 1%; padding: 1em;}
#c1 p.shiten {display: none;}
#c1 p.kakomi {margin: 20px 20px 0;}
#c1 .shiten_sp {display: block;}
#c1 .oc_info {position: absolute; top: 70px; right: 2%;}
#c1 .gansho_info {position: absolute; top: 120px; right: 20%;}
.oc_info img, .gansho_info img {width: 100px;}

#c2 .flexBox dl {width: auto;}
#c2 .count {margin: 0 auto;}

#c3 {background: url(../images/bg_stripe_green.png);}
#c3 .flexBox div {margin: 0 20px 10px; width: auto;}

#c4 {background: none;}
#c4 .flexBox div {width: auto;}

#c4 dl {height: 460px;}
#c4 .kyouin_shoku dt {padding-left: 120px;}
#c4 .kyouin_kigyou dt {padding-right: 110px;}
#c4 dd.left img {width: 60%; position: absolute; top: 0; left: -50px;}
#c4 dd.left {padding-left: 160px;}
#c4 dd.miya {padding-left: 200px;}
#c4 dd.right img {width: 60%; position: absolute; top: 0; right: -40px;}
#c4 dd.right {padding-right: 160px;}

#c6 ul li {width: 46%; height: 4em; padding-top: 130px; padding-left: 2%; padding-right: 2%; font-size: 90%;}
#c6 ul p {
    max-height: 120px;
}

#c7 .flexBox {display: flex;}

.sp-btn {
    display: block;
	background: #35b5f8;
	position: fixed; bottom: 0px; left: 0px;
	z-index: 98;
	width: 100%;
}
.sp-btn ul {font-size: 16px; border-top: solid 1px #fff;}
.sp-btn ul li {display: inline-block; width: 48%; height: 1em; text-align: center; padding: 14px 0;}
.sp-btn ul li:first-child {border-right: solid 1px #fff;}
.sp-btn ul li a {color: #fff; font-weight: bold;}
	
.sp-btn2 {display: block;}
	
/* モーダル コンテンツエリア */
.modal-main {
	width: 90%;
	height: 60%;
}
/* モーダル　背景エリア */
#modal-bg {
	widht 100%;
	height: 130%;
}
	
}

/* smartphone-small */
@media screen and (max-width: 360px) {
#c4 dl {
	height: 460px;
	font-size: 12px;
}		
}




