/*===========================================
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: 17px;
  top: -44px;
  margin:0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  width:45px;
  height: 52px;
  cursor: pointer;
  overflow:hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
}

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

@media screen and (max-width: 810px) {
.is-animation .sp_menu {
  width:45px;
  height: 52px;
  right: 17px;
  top: -6px;
}
}

@media only screen and  (max-width: 568px) {
.sp_menu {
  right: 7px;
}
.is-animation .sp_menu {
  right: 7px;
}
}


@media only screen and  (max-width: 325px) {
.sp_menu {
  right: 5px;
  width:35px;
}
.is-animation .sp_menu {
  right: 5px;
  width:35px;
}
}

.sp_menu p{
  margin:0;
  padding:16px 10px 12px;
  color:#FFF;
  line-height:1;
}

@media screen and (max-width: 1100px) {
.is-animation .sp_menu p{
  color:#726F40;
  padding:14px 10px;
}
}

@media screen and (max-width: 810px) {
.is-animation .sp_menu p{
  color:#726F40;
  padding:14px 10px;
}
}

header:hover .sp_menu p{
  color:#726F40;
}

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

@media screen and (max-width: 325px) {
.sp_menu .fa{
  font-size:24px;
}
}

.sp_menu:hover {
  opacity: 0.6;
}

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

/*===========================================
global
===========================================*/
#global {
  width: 190px;
  height: 100%;
  line-height: 1;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 999;
  background: #6A6A36;
  overflow-y: auto;
  transition: all 0.5s ease;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight:400;
  letter-spacing:.05em;
  font-weight:400;
  font-size:15px;
}

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

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

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

#global-menu li.mst {
  border-bottom: 1px dotted #FFF;
}


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

#global-menu li a:hover {
  background: #FFD900;
  color:#6A6A36;
}


#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:#6A6A36;
  border-bottom: 1px dotted #6A6A36;
}

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

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

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


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

#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:25px;
}

#global-close .close {
  margin: auto;
  padding: 10px 15px;
  display: block;
  border-radius: 5px;
  text-align: right;
  cursor: pointer;
  color:#FFF;
  font-size:300%;
}

@media only screen and  (max-width: 325px) {
#global-close {
  margin-bottom:0px;
}

#global-close .close {
  font-size:200%;
  padding: 10px 15px 5px;
}
}


#global-close .close: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 15px;
  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 {color:#FFF!important;display:block;padding:15px 5px;background-color:#C93710;text-decoration:none;}
.s_info p a:hover {color:#FFF;text-decoration:none;background-color:#8D2206; -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;
}

#s-icon .fa{
  color:#6A6A36;
}

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

#s-icon i:before { padding 0; line-height: 36px; }
#s-icon a:hover i { background: #6A6A36;color:#FFF; }
