/**
* 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: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -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
------------------------------ */
.en {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
}

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

a:hover {
  opacity: 0.6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

* {
  letter-spacing: 0.03em;
}

.common_header .ham {
  width: 148px;
  display: block;
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 10000;
  cursor: pointer;
}
.common_header .spmenu {
  width: 230px;
  position: fixed;
  background-color: #fff;
  padding: 150px 20px 50px;
  top: 0;
  right: 0;
  right: 0;
  z-index: 100000;
  display: none;
}
.common_header .spmenu .spwrapper a {
  display: block;
  margin-top: 30px;
  color: #000;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  font-style: italic;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
.common_header .spmenu .spwrapper a:hover {
  opacity: 1;
  color: #FF5800;
}
.common_header .spmenu .close {
  width: 148px;
  display: block;
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 1000000;
  cursor: pointer;
}

main section {
  position: relative;
}
main section.ttl_section {
  padding: 0 40px;
  background-image: url(../images/bg_ttl_section.jpg);
  background-size: cover;
  background-position: center center;
}
main section.ttl_section .wrapper {
  max-width: 1600px;
  margin: 0 auto;
  height: 343px;
  overflow: hidden;
}
main section.ttl_section .wrapper h1 {
  font-size: 168px;
  line-height: 100%;
  color: #fff;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-top: 200px;
}

footer {
  margin-top: 170px;
}
footer .wrapper {
  background-color: #000;
  padding: 28px 0;
}
footer .wrapper .copy {
  text-align: center;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
  font-weight: bold;
}

/* ------------------------------
 common - width: < $width-2
------------------------------ */
@media screen and (max-width: 1280px) {
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
  * {
    letter-spacing: 0.02em;
  }
  .common_header .ham {
    width: 100px;
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    cursor: pointer;
  }
  .common_header .spmenu {
    width: 230px;
    position: fixed;
    background-color: #fff;
    padding: 100px 20px 50px;
    top: 0;
    right: 0;
    right: 0;
    z-index: 100000;
    display: none;
  }
  .common_header .spmenu .spwrapper a {
    display: block;
    margin-top: 24px;
    color: #000;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-style: italic;
    -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
  }
  .common_header .spmenu .spwrapper a:hover {
    opacity: 1;
    color: #FF5800;
  }
  .common_header .spmenu .close {
    width: 100px;
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    cursor: pointer;
  }
  main section {
    position: relative;
  }
  main section.ttl_section {
    padding: 0 20px;
    background-image: url(../images/bg_ttl_section.jpg);
    background-size: cover;
    background-position: center center;
  }
  main section.ttl_section .wrapper {
    max-width: 1600px;
    margin: 0 auto;
    height: 250px;
    overflow: hidden;
  }
  main section.ttl_section .wrapper h1 {
    font-size: 120px;
    line-height: 100%;
    color: #fff;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-top: 148px;
  }
  footer {
    margin-top: 170px;
  }
  footer .wrapper {
    background-color: #000;
    padding: 28px 0;
  }
  footer .wrapper .copy {
    text-align: center;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    font-weight: bold;
  }
}
/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  html,
  body {
    min-width: 375px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  .common_header .ham {
    width: 60px;
    display: block;
    position: fixed;
    top: 25px;
    right: 15px;
    z-index: 10000;
    cursor: pointer;
  }
  .common_header .spmenu {
    width: 100%;
    min-width: 375px;
    height: 100%;
    position: fixed;
    background-color: #fff;
    padding: 40px 20px 0;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 100000;
    display: none;
  }
  .common_header .spmenu .spwrapper {
    border-top: 1px solid #000;
    padding-top: 70px;
  }
  .common_header .spmenu .spwrapper a {
    display: block;
    margin-top: 30px;
    color: #000;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-style: italic;
    -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
  }
  .common_header .spmenu .spwrapper a:hover {
    opacity: 1;
    color: #FF5800;
  }
  .common_header .spmenu .close {
    width: 60px;
    display: block;
    position: fixed;
    top: 25px;
    right: 15px;
    z-index: 1000000;
    cursor: pointer;
  }
  main section.ttl_section {
    padding: 0 20px;
    background-image: url(../images/bg_ttl_section.jpg);
    background-size: cover;
    background-position: center center;
  }
  main section.ttl_section .wrapper {
    margin: 0 auto;
    height: 153px;
    overflow: hidden;
  }
  main section.ttl_section .wrapper h1 {
    font-size: 60px;
    line-height: 100%;
    color: #fff;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-top: 103px;
  }
  footer {
    margin-top: 80px;
  }
  footer .wrapper {
    background-color: #000;
    padding: 15px 0;
  }
  footer .wrapper .copy {
    text-align: center;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    font-weight: bold;
  }
}