/*===========================================
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: 0;
  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;
}
}

@media screen and (max-width: 568px) {
.sp_menu {
  width:45px;
  height: 55px;
  right: 5px;
}
}

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

.sp_menu p{
  font-family: 'Roboto', sans-serif;
  font-weight:400;
  line-height:1.4;
  letter-spacing:0.03em;
}

@media only screen and  (max-width: 568px) {
.sp_menu p{
  font-size:13px;
  letter-spacing:0em;
}
.sp_menu .fa{
  font-size:20px;
}
}

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

.sp_menu:hover {
  opacity: 0.6;
}

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

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

#global-menu {
  border-top: 1px solid #ccc;
  letter-spacing:0.05em;
  font-weight:500;
  font-size:15px!important;
  text-transform: uppercase;
}

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

#global-menu li a {
  padding: 15px 15px;
  display: block;
  position: relative;
  color:#545454;
  font-size:13px;
}

#global-menu li span{
  font-family: 'Roboto', sans-serif;
  font-weight:500;
  font-size:15px;
  margin-right:10px;
}

#global-menu li a:hover {
  background: #BC9D00;
  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: #F5F5F5;
}

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

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

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

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

#global-menu .children li .trigger.active {
  background: #545454;
  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;
}

#global-menu .children li .target li span{

}

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

#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 {
  margin-bottom:0px;
}

#global-close .close {
  margin: auto;
  padding: 0 15px 10px;
  font-weight:300;
  text-align: left;
  cursor: pointer;
  color:#ccc;
  font-size:350%;
}

@media screen and (max-width: 568px) {
#global-close .close {
  font-size:320%;
}
}

#global-close .close:hover {
  opacity: 0.8;
}

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

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

#global-close .close1 {
margin: auto;
  padding: 0 15px 10px;
  font-weight:300;
  text-align: left;
  cursor: pointer;
  color:#ccc;
  font-size:350%;
}

@media screen and (max-width: 568px) {
#global-close .close1 {
  font-size:320%;
}
}

#global-close .close1:hover {
  opacity: 0.8;
}

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

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

#global-close .close2 {
  margin: auto;
  padding: 0 15px 10px;
  font-weight:300;
  text-align: left;
  cursor: pointer;
  color:#ccc;
  font-size:350%;
}

@media screen and (max-width: 568px) {
#global-close .close2 {
  font-size:320%;
}
}

#global-close .close2:hover {
  opacity: 0.8;
}

/*===========================================
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;
  text-align: center;
  box-sizing: border-box;
}

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

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

.s_info p a:hover {
  color: #CD3F00!important;
  -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; }
