/**
* 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: #4D4D4D;
  background: #FFF;
  font-family: noto-sans-cjk-jp, sans-serif;
  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
------------------------------ */
.ajtxt {
  text-align: justify;
  text-justify: inter-ideograph;
}

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

.op {
  display: block !important;
}

.os {
  display: none !important;
}

* {
  letter-spacing: 0.03em;
}

.common_header {
  padding: 0 40px;
}
.common_header .wrapper {
  border-bottom: 5px solid #F2F2F2;
  padding: 35px 0;
  max-width: 920px;
  margin: 0 auto;
}
.common_header .wrapper a {
  width: 17.2px;
  display: inline-block;
  vertical-align: top;
}
.common_header .wrapper a img {
  width: 100%;
  display: block;
}
.common_header .wrapper h1 {
  width: calc(100% - 30px);
  padding-left: 20px;
  display: inline-block;
  vertical-align: top;
  line-height: 30px;
  font-size: 20px;
  font-weight: bold;
}

main {
  padding: 35px 40px 60px;
  margin: 0 auto;
  max-width: 1000px;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 940px) {
  html,
body {
    min-width: 375px;
  }

  .op {
    display: none !important;
  }

  .os {
    display: block !important;
  }

  .common_header {
    padding: 0 25px;
  }
  .common_header .wrapper {
    border-bottom: 2px solid #F2F2F2;
    padding: 25px 0 20px;
  }
  .common_header .wrapper a {
    width: auto;
    height: 17px;
    display: inline-block;
    vertical-align: top;
  }
  .common_header .wrapper a img {
    width: auto;
    height: 17px;
    display: block;
  }
  .common_header .wrapper h1 {
    width: calc(100% - 20px);
    padding-left: 10px;
    display: inline-block;
    vertical-align: top;
    line-height: 17px;
    font-size: 14px;
    font-weight: bold;
  }

  main {
    padding: 25px 25px 40px;
    width: 100%;
    margin: 0 auto;
  }
}