@charset "UTF-8";

@media screen and (max-width:960px) {
.mask { display: none; position: fixed; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 98; }
.header { height: 84px; }
.header-logo { display: none; }
.header-logo-mb { display: block; position: absolute; top: 20px; left: 30px; height: 44px; }
.header-logo-mb img { height: 100%; }
.header-mb { display: block; position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 22px; background: #fff; cursor: pointer; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); transform: all .2s; }
.header-mb.active { box-shadow: none; }
.header-mb i { display: block; position: absolute; left: 9px; width: 26px; height: 2px; background: #005d97; transition: all .3s; }
.header-mb i:nth-child(1) { top: 15px; }
.header-mb i:nth-child(2) { top: 22px; }
.header-mb i:nth-child(3) { top: 29px; }
.header-mb.active i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.header-mb.active i:nth-child(2) { transform: translateX(100px); }
.header-mb.active i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.header-nav { display: none; position: fixed; top: 0; right: 0; width: 250px; height: 100%; margin: 0; text-align: left; overflow: none; z-index: 99; }
.header-nav>ul { display: block; box-sizing: border-box; width: 100%; height: 100%; padding: 50px 20px 20px; background: #fff; overflow: auto; -webkit-overflow-scrolling : touch; }
.header-nav .header-nav-index { display: block; }
.header-nav li { display: block; margin: 0; padding: 0; border-bottom: solid 1px #ddd; }
.header-nav a { display: block; color: #005d97; padding: 7px 0; }
.header-nav a:after { display: none; }
.header-nav a:active { background: #f5f5f5; }
.header-nav ul ul { position: relative; margin: 0; padding: 0; opacity: 1; transform: scale(1); background: none; }
.header-nav ul ul li { border: none; }
.header-nav ul ul a { color: #333; font-weight: normal; padding: 7px 0; }
.header-nav ul ul a:hover { background: none; }
.header-nav ul ul a:active { background: #f5f5f5; }
.kv-txt-1 { font-size: 60px; }
.kv-txt-2 { font-size: 24px; }
.lic-box>div { margin: 10px; }
.bnr-slide { padding: 20px; }
.bnr-prev, .bnr-next { display: none; }
.footer-logo, .footer-nav { display: none; }
.footer { height: 50px; line-height: 50px; padding: 0; text-align: center; }
.footer-inner { width: auto; }
.gototop { top: 0; right: 0; }
.footer-mb { display: inline; color: #999; font-family: "Roboto", sans-serif; }
/* page */
.h1 { height: auto; }
.h1-bg { height: 100%; }
.h1-txt { width: auto; padding: 124px 20px 40px; }
.topicpath { display: none; }
.main { width: auto; padding: 20px; }
}

@media screen and (max-width:640px) {
.kv-txt-1 { font-size: 36px; }
.kv-counter { font-size : 14px; line-height: 30px; }
.kv-counter div { display: inline-block; margin: 10px 5px; }
.kv-counter span { display: block; margin: 0; }
.sec { flex-direction: column; min-height: 0; padding: 40px 20px; }
.sec-ttl { margin: 0 0 20px; }
.sec-1-1, .sec-1-2, .sec-3-1, .sec-3-2 { width: 100%; padding: 0; }
/* news */
.tbl-news td:nth-child(1), .tbl-news td:nth-child(2) { display: inline-block; border: none; }
.tbl-news td:nth-child(2) { float: right; }
.tbl-news td:nth-child(3) { display: inline-block; }
/* license */
.tbl-lic th { width: auto; }
/* admission */
.tbl-adm th { width: auto; }
.tbl-adm table { width: 100%; }
.tbl-adm td th, .tbl-adm td td { display: table-cell; padding: 15px 10px 15px 0; border-bottom: solid 1px #ddd; }
.steps { font-size: 14px; }
/* form */
.tbl.tbl-contact th { width: auto; }
.tbl.tbl-contact table th, .tbl.tbl-contact table td { width: auto; padding: 0; border: none; }
.tbl.tbl-contact table th { padding-top: 5px; border-top: dashed 1px #ddd; }
.tbl.tbl-contact table td { padding-bottom: 5px; }
/* parts */
.btn { display: block; background-image: none; text-align: center; }
.btn-l { width: 100%; }
.btn-s { display: inline-block; }
img.left, img.right { float: none; display: block; margin: 0 auto 20px; }
.style-hissu { float: none; margin-left: 5px; }
.tbl th, .tbl td { display: block; padding: 15px 0; }
.tbl th { padding-bottom: 0; border: none; }
/* tabs */
.tab { font-size: 16px; line-height: 20px; white-space: normal; }
}
