/* Scss Document */
/* color */
@media screen and (max-width: 1110px) {
  #header #menu li {
    font-size: 1.3rem;
  }
  #header #menu li li a {
    position: relative;
  }
  #header #hover_menu .bg .inner li > ul li {
    width: calc(33.33% - 20px);
    margin: 10px 30px 0 0;
  }
  #header #hover_menu .bg .inner li > ul li a {
    font-size: 1.3rem;
  }

  #footer .gray nav {
    display: table;
  }
  #footer .gray nav div {
    float: none;
  }
  #footer .gray nav div .menu li .sub-menu, #footer .gray nav div #footer_menu5 li .sub-menu {
    width: 100%;
  }
  #footer .gray nav div .menu li .sub-menu li,
  #footer .gray nav div .menu li .sub-menu li:nth-child(odd),
  #footer .gray nav div .menu li .sub-menu li:nth-child(even), #footer .gray nav div #footer_menu5 li .sub-menu li,
  #footer .gray nav div #footer_menu5 li .sub-menu li:nth-child(odd),
  #footer .gray nav div #footer_menu5 li .sub-menu li:nth-child(even) {
    width: calc(50% - 10px);
    margin: 0 20px 5px 0;
  }
  #footer .gray nav div .menu li .sub-menu li:nth-child(even), #footer .gray nav div #footer_menu5 li .sub-menu li:nth-child(even) {
    margin-right: 0;
  }
  #footer .gray nav div:first-child {
    margin-right: 0;
  }
  #footer .gray nav div:first-child .menu {
    width: 100%;
  }
  #footer .white li {
    padding: 0 5px;
  }
  #footer .white li:first-child {
    padding-left: 0;
  }
  #footer .white li:last-child {
    padding-right: 0;
  }
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.2rem;
  }

  #menu_btn {
    display: block;
  }

  #header {
    padding: 10px 0;
    height: 50px;
    position: relative;
  }
  #header .inner {
    height: 30px;
    z-index: 10;
  }
  #header .logo img {
    height: 30px;
    width: auto;
  }
  #header .link {
    top: 7px;
    right: 65px;
  }
  #header .link ul li {
    height: 16px;
  }
  #header .link ul li a {
    font-size: 0;
    padding: 0 15px;
    top: auto;
  }
  #header .link ul li:nth-child(1) a:before {
    content: "";
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    background: url("../img/header/mail.png") center/contain no-repeat;
  }
  #header .link ul li:nth-child(3) a {
    font-size: 1.3rem;
    top: -1px;
    font-weight: normal;
  }
  #header .link ul li:nth-child(2) {
    display: none;
  }
  #header #menu {
    display: none;
    position: absolute;
    left: 0;
    bottom: auto;
    top: 40px;
    z-index: 100;
    width: 100%;
    border-top: solid 1px #ddd;
  }
  #header #menu li {
    float: none;
    width: 100%;
    border-bottom: solid 1px #ddd;
    background: #e9f1f7;
    position: relative;
    font-size: 14px;
    font-weight: normal;
  }
  #header #menu li a {
    text-align: left;
    padding: 10px 15px;
  }
  #header #menu li li {
    border-top: solid 1px #ddd;
    border-bottom: none;
    background: #FFF;
  }
  #header #menu li li a {
    font-size: 13px;
    position: relative;
  }
  #header #menu li li a:before {
    content: "";
    width: 7px;
    height: 7px;
    display: inline-block;
    position: relative;
    top: -1px;
    margin-right: 10px;
    border-right: solid 2px #3589c3;
    border-bottom: solid 2px #3589c3;
    transform: rotate(-45deg);
    transition: 0.2s ease;
  }
  #header #menu li .sub-menu {
    display: none;
  }
  #header #menu li:before,
  #header #menu li:after {
    content: none;
  }
  #header #menu .menu-item-has-children > a {
    width: calc(100% - 70px);
  }
  #header #menu li.current-page-parent a,
  #header #menu li.current-menu-item a,
  #header #menu li.current-page-ancestor a {
    color: inherit;
  }
  #header #menu li.current-page-parent:after,
  #header #menu li.current-menu-item:after,
  #header #menu li.current-page-ancestor:after {
    left: auto;
    transform: rotate(45deg);
  }
  #header #menu .menu-item-has-children:after,
  #header #menu .menu-item-has-children:hover:after,
  #header #menu .menu-item-has-children:last-child:after {
    content: "";
    width: 10px;
    height: 10px;
    background: center / contain no-repeat;
    display: inline-block;
    position: absolute;
    right: 15px;
    left: auto;
    top: 13px;
    border-right: solid 2px #3589c3;
    border-bottom: solid 2px #3589c3;
    transform: rotate(45deg);
    transition: 0.2s ease;
  }
  #header #menu .menu-item-has-children.open:after {
    transform: rotate(-135deg);
    top: 16px;
  }
  #header #menu:after {
    content: none;
  }
  #header #hover_menu {
    display: none;
  }
  #header #hover_menu.on {
    animation: none;
  }

  #footer .gray {
    padding: 30px 0;
  }
  #footer .gray .logo {
    margin: 0 0 20px;
  }
  #footer .gray .logo img {
    height: 30px;
    width: auto;
  }
  #footer .gray nav div .menu li .sub-menu, #footer .gray nav div #footer_menu5 li .sub-menu {
    width: 100%;
  }
  #footer .gray nav div .menu li .sub-menu li,
  #footer .gray nav div .menu li .sub-menu li:nth-child(odd),
  #footer .gray nav div .menu li .sub-menu li:nth-child(even), #footer .gray nav div #footer_menu5 li .sub-menu li,
  #footer .gray nav div #footer_menu5 li .sub-menu li:nth-child(odd),
  #footer .gray nav div #footer_menu5 li .sub-menu li:nth-child(even) {
    width: auto;
    padding-right: 25px;
    margin: 0 0 5px 0;
  }

  #page-top {
    width: 40px;
    height: 40px;
  }

  #page-top:before {
    bottom: 14px;
    margin-left: -8px;
    border-width: 0 8px 12px 8px;
  }

  .english {
    /* footer */
  }
  .english #header {
    height: 50px;
  }
  .english #header > .inner {
    height: 30px;
  }
  .english #header .link ul li:nth-child(1) {
    display: none;
  }
  .english #header .link ul li:nth-child(2) {
    display: block;
    border: none;
  }
  .english #header .link ul li:nth-child(2) a {
    font-size: 1.3rem;
    top: -1px;
    font-weight: normal;
  }
  .english #header #menu li {
    width: 100%;
    height: auto;
  }
  .english #header #menu li a br {
    display: none;
  }
  .english #header #menu li:nth-child(n+2) a {
    padding: 10px 15px;
  }
}
