/*!
  Theme Name: WP-Theme
  Author: yhira
*/
@font-face {
  font-family: 'IPAexGC';
  src: url("../font/ipaexg.ttf") format("truetype");
}
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article, aside, dialog, figure, footer, header,
hgroup, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

body {
  position: relative;
  line-height: 1;
  font-family: "IPAexGC", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #606060;
}

@media screen and (min-width: 769px) {
  header {
    width: 100%;
    background-color: #000;
  }
  header #header_inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px 0 23px;
    flex-items: center;
  }
  header #header_inner p {
    display: inline-block;
    width: 148px;
    height: 45px;
  }
  header #header_inner p span {
    display:  block;
    font-size: xxx-large;
    color: white;
  }
  header #header_inner #sp_menu {
    display: none;
  }
  header #header_inner ul {
    float: right;
    width: 560px;
    margin-top: 21px;
    letter-spacing: -.4em;
  }
  header #header_inner ul li {
    display: inline-block;
    width: 120px;
    margin: 0 0 0 20px;
    padding: 0;
    color: #afafaf;
    border-bottom: 1px solid #000;
    list-style-type: none;
    text-align: center;
    letter-spacing: normal;
  }
  header #header_inner ul li a {
    position: relative;
    display: block;
    width: 120px;
    padding: 10px 0;
    color: #afafaf;
    text-decoration: none;
    z-index: 0;
    transition: all 0.3s;
  }
  header #header_inner ul li a:before {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 0;
    left: 0px;
    bottom: 0px;
    content: '';
    background: url(../img/bg_hover.png) repeat left top;
    transition: all 0.3s;
    line-height: 35px;
  }
  header #header_inner ul li a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
    transition: all 0.3s;
  }
  header #header_inner ul li a:hover:before {
    height: 100%;
    color: #fff;
  }
  header #header_inner ul li a.disabled {
    position: relative;
    display: block;
    width: 120px;
    padding: 10px 0;
    color: #afafaf;
    text-decoration: none;
    z-index: 0;
    cursor: default;
  }
  header #header_inner ul li a.disabled:before {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 0;
    left: 0px;
    bottom: 0px;
    content: 'Coming Soon';
    background: url(../img/bg_hover.png) repeat left top;
    transition: all 0.3s;
    line-height: 36px;
  }
  header #header_inner ul li a.disabled:hover {
    color: #000;
  }
  header #header_inner ul li a.disabled:hover:before {
    height: 100%;
    color: #fff;
  }
  header #header_inner ul li.on {
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px solid #fff;
  }

  #main_visual {
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
  }
  #main_visual h1 {
    display: inline-flex;
    width: 100%;
    max-width: 1000px;
    height: 440px;
    align-items: center;
    justify-content: center;
    font-size: 10em;
  }

  #company_profile {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
  }
  #company_profile h2 {
    box-sizing: border-box;
    margin: 0 0 80px 10px;
    color: #7a7a7a;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 0.1em;
  }
  #company_profile table {
    box-sizing: border-box;
    width: calc(100% - 20px);
    margin: 0 auto 60px;
  }
  #company_profile table tr {
    border-bottom: 1px solid #606060;
    font-size: 14px;
  }
  #company_profile table th {
    width: 40%;
    padding: 25px 0;
    font-weight: normal;
    text-align: left;
    line-height: 2;
  }
  #company_profile table td {
    width: 60%;
    padding: 25px 0;
    line-height: 2;
  }

  #company_map {
    width: 100%;
    margin-top: 60px;
  }
  #company_map h2 {
    margin: 0 0 60px;
    color: #7a7a7a;
    text-align: center;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 0.1em;
  }
  #company_map #map-canvas {
    width: 100%;
    height: 440px;
    margin: 0 auto;
    position: relative;
  }

  footer {
    padding: 30px 0;
    background-color: black;
  }
  footer #copylight {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
    text-align: right;
  }

  #curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
  }
  #curtain span {
    position: fixed;
    top: 50vh;
    left: 50%;
    display: block;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    background: #fff url(../img/preloader.gif) no-repeat center;
  }
}
/* SP */
@media screen and (max-width: 768px) {
  body {
    font-size: 9px;
  }

  header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    background-color: #000;
  }
  header #header_inner {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
  }
  header #header_inner p {
    padding: 13px 15px;
    width: 74px;
    height: 23px;
    background-size: 74px 23px;
  }
  header #header_inner p span {
    display: block;
    font-size: xx-large;
    color: white;
  }
  header #header_inner p.on {
    background: url(../img/logo_on.png) no-repeat center;
    background-size: 74px 23px;
    transition: all .4s;
  }
  header #header_inner img {
    width: 74px;
    height: 22px;
  }
  header #header_inner #sp_menu {
    position: absolute;
    right: 0;
    top: 10px;
    display: block;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 9px;
    text-align: center;
  }
  header #header_inner #sp_menu a {
    display: block;
    height: 32px;
  }
  header #header_inner #sp_menu a span {
    position: absolute;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: #fff;
    border-radius: 4px;
    transition: all .4s;
    box-sizing: border-box;
  }
  header #header_inner #sp_menu a span:nth-of-type(1) {
    top: 8px;
    background-color: #dd94be;
  }
  header #header_inner #sp_menu a span:nth-of-type(2) {
    top: 14px;
    background-color: #ee896d;
  }
  header #header_inner #sp_menu a span:nth-of-type(3) {
    top: 20px;
    background-color: #93c973;
  }
  header #header_inner #sp_menu a.active span:nth-of-type(1) {
    transform: translateY(5px) rotate(-315deg);
    background-color: #000;
  }
  header #header_inner #sp_menu a.active span:nth-of-type(2) {
    opacity: 0;
  }
  header #header_inner #sp_menu a.active span:nth-of-type(3) {
    transform: translateY(-7px) rotate(315deg);
    background-color: #000;
  }
  header #header_inner ul {
    position: absolute;
    top: 50px;
    left: 0;
    box-sizing: border-box;
    display: none;
    width: 100%;
    height: calc(100vh - 50px);
    padding-top: 10px;
    background-color: #fff;
    z-index: 100;
  }
  header #header_inner ul li {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    background-color: #fff;
    color: #afafaf;
    list-style-type: none;
    text-align: left;
    font-size: 18px;
    text-indent: 15px;
  }
  header #header_inner ul li a {
    display: block;
    color: #000;
    padding: 5px 0;
    text-decoration: none;
  }
  header #header_inner ul li a:before {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 0;
    left: 0px;
    bottom: 0px;
    content: '';
    background-color: #333;
    transition: all 0.3s;
    line-height: 35px;
    opacity: 0.3;
  }
  header #header_inner ul li a:hover {
    color: #000;
    transition: all 0.3s;
  }
  header #header_inner ul li a:hover:before {
    height: 100%;
    color: #fff;
  }
  header #header_inner ul li a.disabled {
    position: relative;
    display: block;
    color: #afafaf;
    text-decoration: none;
    z-index: 0;
    cursor: default;
  }
  header #header_inner ul li a.disabled:before {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    content: 'Coming Soon';
    background-color: #aaa;
    color: #000;
    opacity: 0.8;
    text-align: center;
    line-height: 30px;
    text-indent: 0;
  }
  header #header_inner ul .on {
    color: #606060;
  }

  #contents.none_visi {
    overflow: hidden;
    height: calc(100vh - 100px);
  }

  #main_visual {
    display: flex;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 30px;
  }
  #main_visual h1 {
    display: inline-flex;
    width: 100%;
    max-width: 640px;
    height: 210px;
    align-items: center;
    justify-content: center;
    font-size: xxx-large;
  }
  #main_visual h1 img {
  }

  #company_profile {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  #company_profile h2 {
    box-sizing: border-box;
    margin: 0 0 30px 10px;
    color: #7a7a7a;
    font-size: 23px;
    font-weight: normal;
    letter-spacing: 0.1em;
  }
  #company_profile table {
    box-sizing: border-box;
    width: calc(100% - 20px);
    margin: 0 auto 30px;
  }
  #company_profile table tr {
    border-bottom: 1px solid #ccc;
    font-size: 14px;
  }
  #company_profile table th {
    width: 30%;
    padding: 15px 0;
    font-weight: normal;
    text-align: left;
    line-height: 2;
  }
  #company_profile table td {
    width: 70%;
    padding: 15px 0;
    line-height: 2;
  }

  #company_map {
    width: 100%;
    margin-top: 30px;
  }
  #company_map h2 {
    margin: 0 0 30px;
    color: #7a7a7a;
    text-align: center;
    font-size: 23px;
    font-weight: normal;
    letter-spacing: 0.1em;
  }
  #company_map #map-canvas {
    width: 100%;
    height: 260px;
    margin: 0 auto;
    position: relative;
  }

  footer {
    box-sizing: border-box;
    height: 50px;
    padding: 15px 10px;
    background-color: black;
  }
  footer #copylight {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
    text-align: right;
  }

  #curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
  }
  #curtain span {
    position: fixed;
    top: 40vh;
    left: 50%;
    display: block;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    background: #fff url(../img/preloader.gif) no-repeat center;
    background-size: 24px;
  }
}
