@charset "utf-8";
/*
Template: gensen_tcd050
Theme Name:gensen-child
Version:1.13
*/

@media only screen and (min-width:1201px) {
  #global_menu {
    display: block !important;
  }

  #global_menu .child_menu_button {
    display: none;
  }

  #global_menu>ul>li:hover>a {
    opacity: 0.5;
    -webkit-transition-property: opacity;
    -webkit-transition-duration: .3s;
    -moz-transition-property: opacity;
    -moz-transition-duration: .3s;
    -ms-transition-property: opacity;
    -ms-transition-duration: .3s;
    -o-transition-property: opacity;
    -o-transition-duration: .3s;
    transition-property: opacity;
    transition-duration: .3s;
  }

  #global_menu ul ul {
    display: block;
    visibility: hidden;
    margin: 0;
    padding: 0;
    width: auto;
    width: 200px;
    position: absolute;
    top: 68px;
    left: 30px;
    z-index: 2;
    opacity: 0;
    -webkit-transition-property: opacity, left;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: ease;
    -moz-transition-property: opacity, left;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: ease;
    -ms-transition-property: opacity, left;
    -ms-transition-duration: .3s;
    -ms-transition-timing-function: ease;
    -o-transition-property: opacity, left;
    -o-transition-duration: .3s;
    -o-transition-timing-function: ease;
    transition-property: opacity, left;
    transition-duration: .3s;
    transition-timing-function: ease;
  }

  #global_menu ul ul ul {
    left: 230px;
    top: 0;
    bottom: auto;
  }

  #global_menu ul ul li {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
    position: relative;
  }

  #global_menu ul ul a {
    display: block;
    margin: 0;
    padding: 9px 28px;
    font-size: 14px;
    line-height: 1.6;
    background: #b69e84;
    position: relative;
    text-align: left;
  }

  #global_menu ul ul a:hover {
    background: #92785f;
    text-decoration: none;
  }

  #global_menu ul ul li.menu-item-has-children>a:before {
    margin: 0;
    display: block;
    right: 10px;
    position: absolute;
    content: "\e910";
    font-family: "design_plus";
    font-size: 86%;
  }

  #global_menu>ul>li:hover>ul {
    visibility: visible;
    left: 0;
    opacity: 1;
    z-index: 3;
  }

  #global_menu>ul>li li:hover>ul {
    visibility: visible;
    opacity: 1;
    top: 0;
    left: 200px;
    z-index: 3;
  }
}

@media only screen and (min-width:1025px) {
  #global_menu {
    display: initial;
  }
}

@media only screen and (max-width:1200px) {
  #header {
    position: relative;
    border-top: 0 !important;
  }

  #header_top {
    overflow: initial;
  }

  #header_top .inner {
    height: 60px;
    min-height: initial;
    min-width: auto;
	 width:auto;
  }

  #header_logo,
  #header_logo_fix {
    max-height: 60px;
  }

  #header_logo .logo,
  #header_logo_fix .logo {
    line-height: 60px;
  }

  #header_logo #logo_text .logo,
  #header_logo_fix #logo_text_fixed .logo {
    font-size: 26px;
  }

  #header_logo img,
  #header_logo_fix img {
    max-height: 50px;
  }

  #header_logo .desc {
    display: none;
  }

  a.menu_button {
    position: absolute;
    right: 0px;
    z-index: 9;
    text-align: center;
    display: inline-block;
    color: #000;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-decoration: none;
  }

  a.menu_button span {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
  }

  a.menu_button:before {
    content: '\f0c9';
    font-family: 'design_plus';
    color: #fff;
    display: block;
    position: absolute;
    top: 17px;
    left: 19px;
    font-size: 18px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  #global_menu {
    display: none;
    clear: both;
    width: 100%;
    margin: 0;
    top: 60px;
    left: 0;
    position: absolute;
    z-index: 9;
    background: #b69e84;
    max-height: -webkit-calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  #global_menu ul {
    margin: 0;
    width: 100%;
    text-align: left;
  }

  #global_menuli,
  #global_menu>ul>li {
    display: block;
    width: 100%;
  }

  #global_menu ul li:last-child {
    border-bottom: none;
  }

  #global_menu ul ul {
    display: none;
  }

  #global_menu a,
  #global_menu>ul>li>a {
    position: relative;
    display: block;
    margin: 0;
    padding: 9.5px 14px;
    height: auto;
    min-height: 40px;
    line-height: 1.6;
    overflow: hidden;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
  }

  #global_menu a:hover {
    background: #92785f;
  }

  #global_menu ul ul a {
    padding-left: 28px;
    background: rgba(255, 255, 255, .1);
  }

  #global_menu ul ul ul a {
    padding-left: 42px;
    background: rgba(255, 255, 255, .2);
  }

  #global_menu ul ul ul ul a {
    padding-left: 55px;
    background: rgba(255, 255, 255, .3);
  }

  #global_menu li.menu-item-has-children {
    position: relative;
  }

  #global_menu .child_menu_button {
    display: block;
    position: absolute;
    text-align: center;
    width: 60px;
    height: 39px;
    right: 0px;
    top: 1px;
    z-index: 5;
    cursor: pointer;
  }

  #global_menu .child_menu_button .icon:before {
    content: '\e90e';
    font-family: 'design_plus';
    font-size: 13px;
    color: #eee;
    text-align: center;
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    position: absolute;
    left: 20px;
    top: 10px;
    -webkit-transition: transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -ms-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
  }

  #global_menu .child_menu_button.active .icon:before,
  #global_menu .child_menu_button:hover .icon:before {
    color: #fff;
    border-color: #fff;
  }

  #global_menu li.menu-item-has-children.open>.child_menu_button .icon:before {
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
  }

  .mobile_fix_top.header_fix #header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    animation: slideDown 0.5s ease;
    -ms-animation: slideDown 0.5s ease;
    -webkit-animation: slideDown 0.5s ease;
    -moz-animation: slideDown 0.5s ease;
  }

  .mobile_fix_top.header_fix #header_top {
    background: rgba(0, 0, 0, 1);
  }

  .mobile_fix_top.header_fix #header.active #header_top {
    background: rgba(0, 0, 0, 1);
  }

  .mobile_fix_top.header_fix #logo_image_fixed,
  .mobile_fix_top.header_fix #logo_text_fixed {
    display: block;
  }

  .mobile_fix_top.header_fix #logo_image,
  .mobile_fix_top.header_fix #logo_text {
    display: none;
  }


}