/*===========================================
all
===========================================*/
@media screen and (max-width: 810px) {
* {
  box-sizing: border-box;
}
}

/*===========================================
sp_navi
===========================================*/
#sp_navi {
  position: relative;
  transition: all 0.5s ease;
}

#disable-layer {
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 998;
}

/*===========================================
.sp_menu
===========================================*/
.sp_menu {
  display: none;
}

@media screen and (max-width: 810px) {
.sp_menu {
  display: block;
  position:absolute;
  right: 0;
  top: -50px;
  margin:0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  height: 60px;
  cursor: pointer;
  width:60px;
  overflow:hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
}

.is-animation .sp_menu{
  top: -50px;
}

header:hover .sp_menu{
  top: -50px;
}

.sp_menu p{
  font-size:11px;
  margin:0;
  padding:0;
  color:#FFF;
  line-height:1.4;
}

.is-animation .sp_menu p{
  color:#989898;
}

header:hover .sp_menu p{
  color:#989898;
}

.sp_menu .fa{
  font-size:28px;
}

.sp_menu span{
  margin:0;
  padding:0;
}

.sp_menu:hover {
  opacity: 0.6;
}

#sp_head .open {
  text-decoration: none;
  color:#FFF;
}

/*===========================================
global
===========================================*/
#global {
  width: 280px;
  height: 100%;
  line-height: 1;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 999;
  background: #FFF;
  overflow-y: auto;
  transition: all 0.5s ease;
  font-size:14px;
}

#global .en{
  font-family: Barlow,sans-serif;
  font-weight:400;
  text-transform: uppercase;
  font-size:12px;
}

#global a {
  color: #333;
  text-decoration: none;
}

#global .headline {
  width: 100%;
  font-size: 16px;
  font-weight: normal;
  display: table;
  padding: 15px 10px;
  display: block;
  background: #0094DE;
  color: #FFF;
  margin-top:2px;
  font-family: 'Roboto', sans-serif;
}

#global-menu {
  border-top: 1px solid #DDDDDD;
  margin-top:10px;
  letter-spacing:0em;
}

#global-menu li.mst {
  border-bottom: 1px solid #DDDDDD;
}

#global-menu li a {
  padding: 15px 15px;
  display: block;
  position: relative;
  color:#000;
}

#global-menu li a:hover {
  background: #989898;
  color:#FFF;
}

#global-menu > li > a:after {
  content: '\f054';
  margin-top: -7px;
  position: absolute;
  top: 50%;
  right: 10px;
}

#global-menu ul li:first-child {
  border-top: none;
}

#global-menu .children {
  background: #F3F3F1;
}

#global-menu .children {padding:0;margin:0;}

#global-menu .children li .trigger {
  padding: 15px 15px;
  display: block;
  position: relative;
  cursor: pointer;
  background: #FFF;
  color:#000;
  border-bottom: 1px solid #DDDDDD;
}

#global-menu .children li .trigger:after {
  content: '\f078';
  margin-top: -7px;
  position: absolute;
  top: 50%;
  right: 10px;
}

#global-menu .children li .trigger:hover {
  background: #989898;
  color:#FFF;
}

#global-menu .children li .trigger.active {
  background: #989898;
  color:#FFF;
}

#global-menu .children li .trigger.active:after {
  content: '\f077';
  margin-top: -7px;
  position: absolute;
  top: 50%;
  right: 10px;
}

#global-menu .children li .target {
  background: #EEEEEE;
  display: none;
  padding:0;margin:0;
}

#global-menu .children li .target li {
  border-bottom: 1px solid #DDDDDD;
  line-height:1.4!important;
  font-size:13px;
}

#global-menu .children li .target li span{
  font-family: Libre Baskerville,sans-serif!important;
  font-weight:300;
  text-transform: uppercase;
  font-size:0.95em;
}

#global-menu .children li .target li a {
  color:#000;
}

#global-menu .children li .target li a:hover {
  color:#FFF;
}

#global-menu .children li .target.active {
  display: block;
}
}

#global-menu .children li .target li a:after {
  content: '\f054';
  margin-top: -7px;
  position: absolute;
  top: 50%;
  right: 10px;
}

#sns-buttons {
  width:100%;
  box-sizing: border-box;
  padding: 0px 10px 5px;
  text-align: center;
}

#sns-buttons li{
  width:25%;
  box-sizing: border-box;
  padding: 0 1%;
  display:inline-block;
}

#sns-buttons li img{
  width:100%;
  height:auto;
}

#sns-buttons li a:hover { opacity: 0.7; }

#global-close {
  padding: 10px 10px 8px;
  margin-top:8px;
}

#global-close .close {
  width: 100px;
  margin: auto;
  padding: 10px 5px;
  background: #f5f5f5;
  display: block;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  color:#333;
  font-size:90%;
  font-family: 'Roboto', sans-serif;
  font-weight:400;
}

#global-close .close:hover {
  background: #B0B0B0;
  color:#FFF;
}

/*===========================================
Font Awesome
===========================================*/

#global-menu > li > a:after,
#global-menu .children li a:after,
#global-menu .children li .trigger:after,
#global-menu .children li .target li a:after,
#global-pages li a:after {
  font-family: 'FontAwesome';
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  float: left;
  font-weight: normal;
  font-style: normal;
}

.s_info {
  width: 100%;
  padding: 10px 15px;
  text-align: center;
  box-sizing: border-box;
}

.s_info p {
  width: 100%;
  margin:10px auto 0;
  text-align: center;
  border:1px solid #000;
  font-size:1.05em;
}

.s_info p a {
  padding: 12px 0 10px;
  background: #FFF;
  display: block;
  text-align: center;
  position: relative;
  color: #000!important;
  text-decoration: none;
}

.s_info p a:hover {
  color: #FFF!important;
  background: #212389;
  -webkit-transition: opacity 400ms;
  transition: opacity 400ms;
}

#s-icon  {
  margin:3% auto;
  font-size:1em;
  text-align: center;
}

#s-icon p {
  display: inline-block;
  margin: 0 2px!important;
  color: #fff;
  font-weight:400;
  font-size:16px;
  vertical-align: top;
}

#s-icon .fa{
  color:#FFF;
}

#s-icon i {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: #7D7D7D;
  line-height: 36px;
  text-align: center;
}

#s-icon i:before { padding 0; line-height: 36px; }
#s-icon a:hover i { background: #505252; }
