﻿/* ****************************************************************************************************
   * 全体
**************************************************************************************************** */

#wpadminbar {
  position: absolute !important;
}

@font-face {
  font-family: 'NotoSansCJkjp';
  font-weight: 300;
  src: local('NotoSansCJkjp'),
       url(../../_font/NotoSans/NotoSansCJKjp-Regular.woff) format('woff');
}

@font-face {
  font-family: 'NotoSansCJkjp';
  font-weight: 500;
  src: local('NotoSansCJkjp'),
       url(../../_font/NotoSans/NotoSansCJKjp-Bold.woff) format('woff');
}

html {
  height: 100%;
  font-size: 10px;
}

body {
  height: 100%;
  color: #111;
  font: 1.5rem/1.78 'NotoSansCJkjp', '游ゴシック体', 'Yu Gothic', 'YuGothic', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
}

.body {
  max-width: 1160px;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.column ~ .column {
  margin-top: 4rem;
}

.js-tel a {
  color: inherit;
  text-decoration: none;
}

[class*="inview"] {
  position: relative;
  opacity: 0;
  visibility: hidden;
}

.inview-slideup {
  top: 60px;
  transition: 1s top, 1s opacity;
}

.inview-slideup.inview-active {
  top: 0;
  opacity: 1;
  visibility: visible;
}

.inview-slideleft {
  right: -60px;
  transition: 1s right, 1s opacity;
}

.inview-slideleft.inview-active {
  right: 0;
  opacity: 1;
  visibility: visible;
}

.inview-slideright {
  left: -60px;
  transition: 1s left, 1s opacity;
}

.inview-slideright.inview-active {
  left: 0;
  opacity: 1;
  visibility: visible;
}

@media (min-width:737px) {
  [sp] {
    display: none !important;
  }
}

@media (max-width:736px) {
  [pc] {
    display: none !important;
  }
  html {
    font-size: 9px;
  }
  .body {
    width: 100%;
    padding-left: 3.125%;
    padding-right: 3.125%;
  }
}

@media (max-width:320px) {
  html { font-size:8.5px }
}

#fixed-nav {
  position: fixed;
  right: 0;
  top: 20%;
  z-index: 9998;
}

@media (max-width:736px) {
  #fixed-nav {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
  }
  #fixed-nav ul {
    width: 100%;
    font-size: 0;
  }
  #fixed-nav ul li {
    width: 33.33%;
    display: inline-block;
    vertical-align: top;
  }
  #fixed-nav ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    background: #fff;
  }
  #fixed-nav ul li a img {
    width: 100%;
    opacity: 1;
  }
}

/* ****************************************************************************************************
   * header
**************************************************************************************************** */

#header .top {
  color: #fff;
  background: #1f6fc9;
}

#header .top ul {
  display: table;
  margin-left: auto;
}

#header .top ul li {
  display: table-cell;
}

#header .top ul li a {
  display: block;
  font-size: 1.2rem;
  text-decoration: none;
  line-height: 1.5;
  padding: 1em 1.5em;
  padding-left: 2.75em;
}

#header .top ul li:nth-child(1) a {
  background: url(../../_images/_common/header-icon-home.png) 0.75em center no-repeat;
}

#header .top ul li:nth-child(2) a {
  background: url(../../_images/_common/header-icon-access.png) 0.75em center no-repeat;
}
#header .top ul li:nth-child(3) a {
  background: url("../../_images/_common/header-icon-graduate.png") 0.75em center no-repeat;
}

#header .top ul li:nth-child(4) a {
  background: url(../../_images/_common/header-icon-company.png) 0.75em center no-repeat;
}

#header .top ul li:nth-child(5) a {
  background: url(../../_images/_common/header-icon-students.png) 0.75em center no-repeat;
}

#header .top ul li:nth-child(6) a {
  background: url(../../_images/_common/header-icon-campus.png) 0.75em center no-repeat;
}

#header .top ul li:nth-child(7) a {
  background: url(../../_images/_common/header-icon-request.png) 0.75em center no-repeat;
}

#header .top ul li:nth-child(8) a {
  background: url(../../_images/_common/header-icon-mail.png) 0.75em center no-repeat;
}

#header .top ul li:nth-child(n+5) a {
  background-color: #000;
}

#header .top ul li:nth-child(n+7) a {
  border-left: 1px solid #777;
}

#header .top ul li a:hover {
  background-color: #4c8cd4;
}

#header .top ul li:nth-child(n+5) a:hover {
  background-color: #777;
}

#header .bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #fff;
  box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}

#header .bottom .logo {
  width: 25%;
}

#header .bottom .nav {
  width: 70%;
}

#header .bottom .nav ul {
  width: 100%;
  display: table;
}

#header .bottom .nav ul li {
  display: table-cell;
  text-align: center;
}

#header .bottom .nav ul li a {
  position: relative;
  display: block;
  font-weight: 500;
  font-style: italic;
  text-decoration: none;
  padding: 0.5em;
  transition: 0.2s color;
}

#header .bottom .nav ul li a:after {
  content: '';
  display: block;
  height: 4px;
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  transition: 0.2s left, 0.2s right;
}

#header .bottom .nav ul > li > a:hover,
#header .bottom .nav ul.dropdown > li[current] > a {
  color: #1f6fc9;
}

#header .bottom .nav ul > li > a:hover:after,
#header .bottom .nav ul.dropdown > li[current] > a:after {
  left: 20%;
  right: 20%;
  background: #1f6fc9;
}

@media (max-width:1470px) {
  #header .bottom .nav {
    width: 73%;
  }
  #header .bottom .nav ul li a {
    padding: 10px 5px;
  }
}

@media (max-width:1160px) {
  #header .bottom {
    display: block;
    padding: 15px 0 0;
  }
  #header .bottom .logo {
    width: 35%;
    padding-left: 15px;
  }
  #header .bottom .nav {
    width: 100%;
  }
}

@media (max-width:900px) {
  #header .top ul li a {
    background-position: 0.4em center !important;
    padding-left: 2em;
    padding-right: 0.5em;
  }
  #header .bottom .nav ul li a {
    font-size: 1.4rem;
  }
}

@media (min-width:737px) {
  #header .bottom .nav ul li.parent {
    position: relative;
    white-space: nowrap;
  }
  #header .bottom .nav ul li.parent ul {
    position: absolute;
    left: 1px;
    min-width: 100%;
    background: #fff;
    z-index: 9998;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
  }
  #header .bottom .nav ul li.parent ul li {
    display: block;
    text-align: left;
    border: 1px solid #ccc;
    margin-top: -1px;
  }
  #header .bottom .nav ul li.parent ul li a {
    display: block;
    font-weight: 300;
  }
}

@media (max-width:736px) {
  #header .bottom .nav ul li.parent ul {
    height: auto !important;
    display: block !important;
  }
  #header .bottom .nav ul li.parent ul li {
    border: none !important;
  }
  #header .bottom .nav ul li.parent ul li a {
    padding-left: 2em !important;
  }
  #header .bottom .nav ul li a:hover:after,
  #header .bottom .nav ul.dropdown li[current] a:after {
    left: 0;
    right: 0;
  }
  
  body {
    margin-top: 60px;
  }
  #header .bottom {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 60px;
    padding: 0;
    padding-top: 7px;
    transition: 0.2s left;
  }
  .nav-active #header .bottom {
    left: -290px;
  }
  #header .bottom .logo {
    width: calc( 100% - 70px );
    padding-top: 8px;
    padding-left: 10px;
  }
  #header .bottom .logo img {
    width: auto;
    max-height: 35px;
  }
  #wrapper {
    position: relative;
    left: 0;
    transition: 0.2s left;
  }
  #wrapper.nav-active {
    left: -290px;
  }
  #sp-nav {
    position: fixed;
    top: 0;
    right: -290px;
    bottom: 19vw;
    z-index: 9999;
    width: 290px !important;
    background: #fff;
    overflow-y: auto;
    transition: 0.2s right;
  }
  .nav-active #sp-nav {
    right: 0;
  }
  #header #sp-nav ul,
  #header #sp-nav ul li {
    display: block;
    text-align: left;
  }
  #header #sp-nav ul li {
    border-bottom: 1px solid #f2f2f2;
  }
  #header #sp-nav ul li a {
    padding: 1em;
  }
  #header .bottom .nav ul li a:hover:after,
  #header .bottom .nav ul li[current] a:after {
    left: 0;
    right: 0;
  }
  
  /* icon */
  .icon-menu-trigger {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 0;
    padding-top: 60px;
    background: #1f6fc9;
    -webkit-appearance: none;
    border: none;
  }
  .icon-menu-trigger:before,
  .icon-menu-trigger:after,
  .icon-menu-trigger span:before {
    content: '';
    position: absolute;
    left: 25%;
    display: block;
    width: 50%;
    height: 0;
    padding-top: 2px;
    background: #fff;
  }
  .icon-menu-trigger:before {
    top: 33%;
    transition: 0.2s top, 0.2s transform;
  }
  .icon-menu-trigger:after {
    top: 49%;
    transition: 0.2s opacity;
  }
  .icon-menu-trigger span:before {
    top: 64%;
    transition: 0.2s top, 0.2s transform;
  }
  
  /* active */
  .nav-active .icon-menu-trigger:before {
    top: 50%;
    transform: rotate(135deg);
  }
  .nav-active .icon-menu-trigger:after {
    opacity: 0;
  }
  .nav-active .icon-menu-trigger span:before {
    top: 50%;
    transform: rotate(45deg);
  }
}

.layout-lower #visual {
  width: 100%;
  height: 400px;
  display: table;
  background: url(../../_images/_common/visual-bg.jpg) center center /cover no-repeat;
}

.layout-lower #visual .title-1 {
  display: table-cell;
  vertical-align: middle;
  font-size: 3rem;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
}

.layout-lower #visual .title-1:before {
  font-size: 7rem;
  font-weight: bold;
  font-style: italic;
  color: #fff;
}

.layout-lower #visual .title-1 > * {
  display: inline;
  background: #1f6fc9;
  padding-left: 5px;
  padding-right: 7px;
}

@media (max-width:736px) {
  .layout-lower #visual {
    height: 200px;
  }
  .layout-lower #visual .title-1 {
    font-size: 1.8rem;
  }
  .layout-lower #visual .title-1:before {
    font-size: 4rem;
  }
}


/* ****************************************************************************************************
   * breadcrumb
**************************************************************************************************** */

#breadcrumb {
  white-space: nowrap;
  overflow: hidden;
  padding: 1em 0;
}

#breadcrumb:hover {
  overflow-x: auto;
}

#breadcrumb ol {
  font-size: 12px;
  letter-spacing: -0.4em;
  padding-left: 0 !important;
}

#breadcrumb ol li {
  display: inline-block;
  vertical-align: top;
  letter-spacing: normal;
  padding-left: 0 !important;
  margin-top: 0 !important;
}

#breadcrumb ol li a {
  display: inline-block;
  color: #1f6fc9;
}

#breadcrumb ol li ~ li:before {
  content: '>';
  display: inline-block;
  margin: 0 1.5em;
}

@media (max-width:736px) {
  #breadcrumb {
    padding: 1.5em 0;
  }
}

/* ****************************************************************************************************
   * main
**************************************************************************************************** */

#main {
  font-size: 1.6rem;
  line-height: 2;
}

#main a[href]:not([class]) {
  color: #1a4ca0;
}

#main img {
  height: auto;
}

#main .page-nav {
  color: #fff;
  padding: 20px 0;
  background: #1f6fc9;
}

#main .page-nav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#main .page-nav ul li {
  width: 15.7%;
  display: inline-block;
  vertical-align: top;
  margin: 5px 0;
}

#main .page-nav ul li a {
  position: relative;
  display: block;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  padding: 0.5em;
  padding-bottom: 1.2em;
  border: 1px solid #fff;
  transition: 0.2s background,0.2s color;
}

#main .page-nav ul li a:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: -4px;
}

#main .page-nav ul li[current] a,
#main .page-nav ul li a:hover {
  color: #1f6fc9 !important;
  background: #fff;
}

#main .page-nav ul li[current] a:after,
#main .page-nav ul li a:hover:after {
  border-color: #1f6fc9;
}

@media (max-width:736px) {
  #main .page-nav ul li {
    width: 49% !important;
  }
}

/* ****************************************************************************************************
   * footer
**************************************************************************************************** */

#footer .contact {
  background: url(../../_images/_common/contact-bg.jpg) center center /cover no-repeat #efefef;
}

#footer .contact .body {
  max-width: 1020px;
}

#footer .contact ul {
  width: 100%;
  /*
  display: table;
  table-layout: fixed;
  */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer .contact ul li {
  /*
  display: table-cell;
  vertical-align: middle;
  */
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  text-align: center;
}

#footer .contact ul li a {
  display: inline-block;
  text-decoration: none;
}

#footer .contact ul li.request a {
  color: #1f6fc9;
  padding: 1em 3em;
  padding-left: 70px;
  background: url(../../_images/_common/contact-icon-request.png) 1em center no-repeat #eeff32;
}

#footer .contact ul li.mail a {
  color: #fff;
  padding: 1em;
  padding-left: 60px;
  background: url(../../_images/_common/contact-icon-mail.png) 1em center no-repeat #1f6fc9;
}

#footer .contact ul li a:hover {
  opacity: 0.8;
}

#footer .contact ul li.tel {
  width: 28%;
}

#footer .contact ul li.tel > span {
  display: block;
  font-size: 3.4rem;
  text-align: right;
  padding-left: 40px;
  background: url(../../_images/_common/contact-icon-tel.png) 0.5em center no-repeat;
}

@media (max-width:950px) {
  #footer .contact ul li.tel {
    width: 32%;
  }
}

@media (max-width:850px) {
  #footer .contact ul li.tel {
    width: 30%;
  }
  #footer .contact ul li.tel > span {
    font-size: 3rem;
    text-align: left;
    background-position: 0 center;
  }
  #footer .contact ul li.request a,
  #footer .contact ul li.mail a {
    font-size: 1.6rem;
  }
}

@media (max-width:800px) {
  #footer .contact ul {
    display: block;
  }
  #footer .contact ul li {
    width: 100% !important;
  }
  #footer .contact ul li.tel > span {
    width: 300px;
    display: block;
    font-size: 3.4rem;
    text-align: center;
    background-position: 0.5em center;
    margin: 0 auto;
  }
  #footer .contact ul li.request a,
  #footer .contact ul li.mail a {
    width: 300px;
    margin-top: 15px;
  }
}

#footer .nav {
  color: #fff;
  background: #1f6fc9;
}

#footer .nav ul > li {
  font-weight: 500;
}

#footer .nav ul ul li {
  font-weight: 300;
}

#footer .nav ul li a {
  display: block;
  padding: 0.4em 0;
}

#footer .nav ul ul li {
  padding-left: 1em;
}

@media (max-width:900px) {
  #footer .nav ul {
    width: 50%;
  }
}

@media (max-width:736px) {
  #footer .nav {
    padding-top: 0;
    padding-bottom: 0;
  }
  #footer .nav .body {
    padding-left: 0;
    padding-right: 0;
  }
  #footer .nav ul {
    width: 100%;
  }
  #footer .nav ul li a {
    display: block;
    text-decoration: none;
    padding: 1em;
    border-top: 1px solid #4c8cd4;
  }
  #footer .nav ul ul li {
    padding-left: 0;
  }
  #footer .nav ul ul li a {
    padding-left: 2.5em;
  }
  #footer .nav ul li a:hover {
    background: #4c8cd4;
  }
}

#footer .logo {
  color: #fff;
  padding: 40px 0;
  background: #111;
}

@media (min-width:737px) {
  #footer .logo dl {
    display: table;
    margin: 0 auto;
  }
  #footer .logo dl > * {
    display: table-cell;
    vertical-align: middle;
  }
  #footer .logo dd {
    padding-left: 2em;
  }
}

@media (max-width:736px) {
  #footer .logo dl > * {
    text-align: center;
  }
  #footer .logo dd {
    margin-top: 1em;
  }
}
  
#footer .footer {
  background: #efefef;
}

#footer .footer .bnr {
  text-align: center;
  padding: 20px 0;
}

#footer .footer .bnr li {
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}

#footer .copyright {
  font-size: 1.2rem;
  text-align: center;
  color: #333;
  padding: 0.75em 0;
  margin-top: 0;
}

@media (max-width:736px) {
  #footer .footer {
    padding-bottom: 90px;
  }
  #sitemap-trigger {
    position: relative;
    display: block;
    text-align: center;
    padding: 1em;
    cursor: pointer;
    background: #1f6fc9;
  }
  #sitemap-trigger:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    display: block;
    width: 8px;
    height: 8px;
    border-right: 3px solid;
    border-bottom: 3px solid;
    margin-top: -6px;
    transform: rotate(45deg);
  }
  #sitemap-trigger:hover {
    background: #4c8cd4;
  }
  #sitemap-trigger + * {
    display: none;
  }
}
