/**
* 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: "Arial";
  -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: 1280px;
}

.ajtxt {
  text-align: justify;
  text-justify: inter-ideograph;
}

a:hover {
  opacity: 0.6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.op {
  display: block !important;
}

.os {
  display: none !important;
}

* {
  letter-spacing: 0.05em;
}

header {
  z-index: 10000000;
  position: relative;
}
header .wrapper {
  height: 165px;
  padding: 20px 40px 0;
}
header .wrapper h1 {
  width: 206px;
  position: absolute;
  top: 45px;
  left: 40px;
}
header .wrapper h1 a {
  width: 100%;
  display: block;
}
header .wrapper h1 a img {
  width: 100%;
  display: block;
}
header .wrapper .lang {
  text-align: right;
}
header .wrapper .lang li {
  display: inline-block;
  vertical-align: top;
}
header .wrapper .lang li a,
header .wrapper .lang li span {
  font-size: 0;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  line-height: 200%;
}
header .wrapper .lang li span {
  padding: 0 20px;
}
header .wrapper .box01 {
  font-size: 0;
  letter-spacing: 0;
  text-align: right;
  margin-top: 23px;
  padding-left: 800px;
}
header .wrapper .box01 .logo02 {
  width: 178px;
  vertical-align: top;
}
header .wrapper .box01 .msg {
  width: 355px;
  vertical-align: top;
  margin-top: 8px;
}

main {
  margin-top: -165px;
}

footer {
  background-image: url(../images/bg_footer.jpg);
  background-size: 100% 100%;
  padding: 1px 40px 0;
  height: 200px;
}
footer .wrapper {
  position: relative;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1200px;
  margin: -25px auto 0;
}
footer .wrapper .logo {
  width: 206px;
  display: block;
}
footer .wrapper .logo img {
  width: 100%;
  display: block;
}
footer .wrapper .t01 {
  width: 320px;
  padding-left: 25px;
  font-weight: bold;
  color: #fff;
  font-size: 62px;
  line-height: 206px;
  font-style: italic;
}

footer .wrapper .frt01 {
  width: 320px;
  margin-top: 80px;
  padding-left: 25px;
  font-weight: bold;
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  font-style: italic;
}

footer .wrapper dl {
  width: calc(100% - 526px);
  padding-top: 80px;
}
footer .wrapper dl dt {
  font-size: 26px;
  font-style: italic;
  color: #fff;
}
footer .wrapper dl dd {
  font-size: 16px;
  line-height: 150%;
  font-style: italic;
  color: #fff;
  margin-top: 8px;
}
footer .pagetop {
  width: 57px;
  display: block;
  position: fixed;
  right: 40px;
  bottom: 170px;
  z-index: 10000;
}
footer .pagetop img {
  width: 100%;
  display: block;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  html,
  body {
    min-width: 375px;
  }
  .op {
    display: none !important;
  }
  .os {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header {
    z-index: 10000000;
    position: relative;
  }
  header .wrapper {
    height: 73px;
    padding: 0 15px 0;
  }
  header .wrapper h1 {
    width: 60px;
    position: absolute;
    top: 20px;
    left: 15px;
  }
  header .wrapper h1 a {
    width: 100%;
    display: block;
  }
  header .wrapper h1 a img {
    width: 100%;
    display: block;
  }
  header .wrapper .lang {
    text-align: right;
  }
  header .wrapper .lang li {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px
  }
  header .wrapper .lang li a,
  header .wrapper .lang li span {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    line-height: 200%;
  }
  header .wrapper .lang li span {
    padding: 0 5px;
  }
  header .wrapper .box01 {
    font-size: 0;
    letter-spacing: 0;
    text-align: left;
    margin-top: 0;
    padding-left: 70px;
  }
  header .wrapper .box01 .logo02 {
    width: 120px;
    vertical-align: top;
  }
  header .wrapper .box01 .msg {
    width: 200px;
    display: block;
    margin-top: 5px;
  }
  main {
    margin-top: -73px;
  }
  footer {
    background-image: url(../images/bg_footer.jpg);
    background-size: 100% 100%;
    padding: 1px 20px 25px;
    height: auto;
  }
  footer .wrapper {
    width: 100%;
    display: block;
    margin: -15px auto 0;
  }
  footer .wrapper .logo {
    width: 120px;
    display: block;
    margin: 0 auto;
    padding-left: 25px;
  }
  footer .wrapper .logo img {
    width: 100%;
    display: block;
  }
  footer .wrapper .t01 {
    width: 100%;
    margin-top: 5px;
    padding-left: 0;
    font-weight: bold;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    font-style: italic;
    text-align: center;
  }
  
  footer .wrapper .frt01 {
  width: 100%;
  margin-top: 20px;
  padding-bottom: 20px;
  padding-left: 5px;
  font-weight: bold;
  color: #fff;
  font-size: 24px;
  line-height: 28px;
  font-style: italic;
}


  footer .wrapper dl {
    width: 100%;
    padding-top: 0px;
  }
  footer .wrapper dl dt {
    font-size: 18px;
    font-style: italic;
    color: #fff;
    text-align: center;
  }
  footer .wrapper dl dd {
    font-size: 14px;
    line-height: 150%;
    font-style: italic;
    color: #fff;
    margin-top: 8px;
  }
  footer .pagetop {
    width: 30px;
    display: block;
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: 10000;
  }
  footer .pagetop img {
    width: 100%;
    display: block;
  }
}