@charset "utf-8";
/*
	Description: initial setting
	Version: 1.0
	Author: idealgrow
*/
/*
===== CONTENTS ===========================================

	1: BASE LAYOUT

==========================================================
*/
#login {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #357ca5;
}
#loginBox {
  padding: 30px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
#loginBox img {
  height: 40px;
  margin: 0 auto 30px auto;
}
#loginBox li {
  margin-bottom: 20px;
}
#loginBox li:last-of-type {
  padding: 0 20px;
}
#loginBox p {
  text-align: center;
}
#loginBox h1 + p {
  color: #fff;
  margin-bottom: 20px;
}
#loginBox h2 {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}
#loginBox h2 span {
  border-top: solid 1px #fff;
  border-bottom: solid 1px #fff;
  padding: 5px 20px;
  display: inline-block;
}
#loginBox h2 + p {
  margin-bottom: 20px;
  color: #fff;
}
#loginBox a {
  color: #fff !important;
}
header {
  background: #3c8dbc;
  position: relative;
}
header h1 {
  background: #357ca5;
  padding: 15px;
}
header h1 img {
  height: 24px;
}
header #navTrigger {
  width: 54px;
  position: absolute;
  right: 0;
  top: 0;
  height: 54px;
  padding: 25px 15px 15px 15px;
  border-left: solid 1px #529ac4;
}
header #navTrigger span {
  background: #fff;
  height: 1px;
  display: block;
  width: 100%;
  position: relative;
}
header #navTrigger span:before {
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  top: -8px;
}
header #navTrigger span:after {
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -8px;
}
header #navTrigger.active span {
  background: none;
}
header #navTrigger.active span:before {
  transform: rotate(45deg) translateY(-50%);
  top: 50%;
}
header #navTrigger.active span:after {
  transform: rotate(-45deg) translateY(50%);
  bottom: 50%;
}
header nav {
  position: absolute;
  left: 0;
  width: 100%;
  background: #3c8dbc;
  top: 54px;
  display: none;
	z-index: 100;
}
header nav .global li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  border-bottom: solid 1px #529ac4;
}
header nav .global li a span {
  background: #ff462f;
  width: 24px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  font-size: 14px;
  margin: 0 0 0 5px;
}
header nav .subNav {
  display: flex;
  align-items: center;
  background: #5aa3cd;
}
header nav .subNav li {
  width: calc(100% - 54px);
}
header nav .subNav li:first-of-type a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}
header nav .subNav li:first-of-type a span {
  font-size: 20px;
  vertical-align: bottom;
  margin: 0 0 5px 5px;
  color: #b5d3e4;
}
header nav .subNav li:last-of-type {
  width: 54px;
  border-left: solid 1px #81bcde;
}
header nav .subNav li:last-of-type a {
  text-align: center;
  color: #b5d3e4;
  display: block;
  padding: 15px 0 10px 0;
}
main {
  background: #ecf0f5;
  padding: 20px 15px;
  min-height: calc(100vh - 54px);
}
.oldSwitch{
  background: #FFF;
	padding: 10px;
	text-align: center;
}
.oldSwitch a{
	display: block;
	text-decoration: none;
	border: solid 2px #ddd;
	border-radius: 5px;
	color: #666;
	text-align: center;
	padding: 5px;
	margin-top: 10px;
}
@media screen and (min-width: 600px) {
  #loginBox {
    width: 500px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #loginBox img {
    height: 50px;
  }
  #loginBox li:last-of-type {
    padding: 0 60px;
  }
  #loginBox li {
    margin-bottom: 30px;
  }
  header {
    height: 131px;
  }
  header h1 {
    padding: 23.5px 0;
    width: 206px;
    border-right: solid 1px #529ac4;
    position: relative;
    z-index: 10;
  }
  header h1 img {
    height: 25px;
    margin: 0 auto;
  }
  header #navTrigger {
    display: none;
  }
  header nav {
    width: 100%;
    top: 0;
    display: block;
    background: none;
  }
  header nav .global {
    width: calc(100% - 207px);
    margin-left: 207px;
    display: flex;
  }
  header nav .global li a {
    padding: 26px 20px;
    border-bottom: none;
    border-right: solid 1px #3c8dbc;
    height: 72px;
    line-height: 1;
    display: flex;
    align-items: center;
  }
  header nav .global li a span {
    height: 22px;
    line-height: 22px;
  }
  header nav .global li.stay a, header nav .global li a:hover {
    background: #357ca5;
    border-right: solid 1px #529ac4;
  }
  header nav .subNav {
    width: 100%;
    margin-left: auto;
    border-left: solid 1px #529ac4;
  }
  header nav .subNav li:first-of-type a {
    padding: 15px;
  }
  header nav .subNav li a:hover {
    background: #357ca5;
  }
  main {
    padding: 40px 30px;
    min-height: calc(100vh - 131px);
  }
  .inner {
    position: relative;
  }
.oldSwitch{
	display: flex;
	padding: 20px;
	align-items: center;
}
	.oldSwitch p{
		order: 2;
	}
.oldSwitch a{
	margin-right: 20px;
	order: 1;
	margin-top: 0;
}
	.oldSwitch a:hover{
		background: #eee;
	}
}
@media screen and (min-width: 1300px) {
  header {
    height: 72px;
  }
  header nav {
    display: flex;
  }
  header nav .global {
    width: calc(100% - 531px);
  }
  header nav .subNav {
    width: 324px;
    border-left: solid 1px #529ac4;
    background: none;
  }
  header nav .subNav li a {
    height: 72px;
  }
  header nav .subNav li:last-of-type {
    border-left: solid 1px #529ac4;
  }
  header nav .subNav li:first-of-type a {
    padding: 8px 15px;
  }
  header nav .subNav li:last-of-type a {
    padding: 24px 0 0 0;
  }
  main {
    padding: 50px 30px;
    min-height: calc(100vh - 72px);
  }
}