@charset "UTF-8";
/**
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* http://cssreset.com
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
html {
  color: #000;
  background: #FFF;
  font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  font-size: 100%;
}

/*
TODO remove settings on BODY since we can't namespace it.
*/
/*
TODO test putting a class on HEAD.
- Fails on FF.
*/
main,
article,
section {
  display: block;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

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

fieldset,
img {
  border: 0;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cf:after {
  clear: both;
  content: "";
  display: block;
}

/*
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

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

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
  display: none;
}

/* ------------------------------
 common - width: all
------------------------------ */
html,
body {
  min-width: 1080px;
}

.ajtxt {
  text-align: justify;
  text-justify: inter-ideograph;
}

a:hover {
  opacity: 0.6;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.op {
  display: block !important;
}

.os {
  display: none !important;
}

* {
  letter-spacing: 1px;
}

header {
  background-color: #000;
  height: 170px;
}

header .wrapper {
  padding: 0 60px;
}

header .wrapper .logo {
  width: 279px;
  display: block;
  float: left;
  margin-top: 59px;
}

header .wrapper .logo img {
  width: 100%;
  display: block;
}

header .gnav {
  width: calc(100% - 279px);
  float: right;
  padding-top: 1px;
}

header .gnav ul {
  text-align: right;
}

header .gnav ul li {
  width: 48px;
  display: inline-block;
  vertical-align: top;
  padding: 69px 10px 0;
  margin-right: 50px;
}

header .gnav ul li a {
  text-decoration: none;
  font-size: 19px;
  color: #fff;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -ms-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

header .ham {
  display: none;
}

header .spmenu {
  display: none;
}

footer {
  background-color: #000;
  padding: 15px 40px 30px;
}

footer .wrapper ul {
  text-align: right;
}

footer .wrapper ul li {
  display: inline-block;
  vertical-align: top;
  margin-right: 40px;
}

footer .wrapper ul li a {
  text-decoration: none;
  font-size: 18px;
  display: block;
  color: #fff;
}

footer .wrapper .logo {
  width: 181px;
  display: block;
  margin-top: 210px;
}

footer .wrapper .logo img {
  width: 100%;
  display: block;
}

footer .wrapper .copy {
  font-size: 8px;
  color: #fff;
  letter-spacing: 0;
  margin-top: 20px;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 767px) {
  html,
  body {
    min-width: 375px;
  }
  .op {
    display: none !important;
  }
  .os {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header {
    background-color: #000;
    height: 80px;
    position: relative;
  }
  header .wrapper {
    padding: 0 15px;
  }
  header .wrapper .logo {
    width: 172px;
    display: block;
    float: left;
    margin-top: 24px;
  }
  header .wrapper .logo img {
    width: 100%;
    display: block;
  }
  header .gnav {
    display: none;
  }
  header .ham {
    width: 35px;
    display: block;
    position: absolute;
    top: 34px;
    right: 15px;
  }
  header .spmenu {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 50px 20px 40px;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10000;
  }
  header .spmenu .spwrapper ul li {
    text-align: center;
    margin-top: 40px;
  }
  header .spmenu .spwrapper ul li a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
  }
  header .spmenu .close {
    width: 32px;
    display: block;
    position: absolute;
    top: 24px;
    right: 16.5px;
  }
  footer {
    background-color: #000;
    padding: 40px 0 30px 15px;
  }
  footer .wrapper ul {
    padding-left: calc(100% - 110px);
  }
  footer .wrapper ul li {
    width: 110px;
    text-align: left;
    display: block;
    vertical-align: top;
    margin-right: 0;
    margin-bottom: 30px;
  }
  footer .wrapper ul li a {
    text-decoration: none;
    display: block;
    color: #fff;
    font-size: 18px;
  }
  footer .wrapper .logo {
    width: 184px;
    display: block;
    margin-top: 80px;
  }
  footer .wrapper .logo img {
    width: 100%;
    display: block;
  }
  footer .wrapper .copy {
    font-size: 8px;
    color: #fff;
    line-height: 160%;
    letter-spacing: 0;
    margin-top: 20px;
  }
  footer .wrapper .copy a {
    text-decoration: none;
    color: #fff;
  }
}
