/**
* 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: #333;
  background: #FFF;
  font-family: "source-han-sans-japanese", 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
------------------------------ */
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;
}

.mincho {
  font-family: "shippori-mincho", "hiragino-mincho-pron", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.op {
  display: block !important;
}

.os {
  display: none !important;
}

* {
  letter-spacing: 0em;
}

header {
  background-color: rgba(22, 54, 99, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000000;
  width: 100%;
  min-width: 1280px;
}
header .wrapper {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 140px;
  padding: 0 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  position: relative;
}
header .wrapper .logo01 {
  width: 308px;
  display: block;
}
header .wrapper .logo01 img {
  width: 100%;
  display: block;
}
header .wrapper .gnav {
  width: calc(100% - 308px);
  padding-right: 160px;
}
header .wrapper .gnav ul {
  font-size: 0;
  letter-spacing: 0;
  text-align: right;
}
header .wrapper .gnav ul li {
  display: inline-block;
  margin-left: 40px;
}
header .wrapper .gnav ul li a {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
  display: block;
}

header .wrapper .btn_jpn {
  width: 140px;
  display: block;
  position: absolute;
  top: 60%;
  right: 40px;
  margin-top: -34px;
}
header .wrapper .btn_jpn:hover {

  opacity: 1;
}
header .wrapper .btn_jpn img {
  width: 100%;
  display: block;
}

header .wrapper .btn_contact {
  width: 235px;
  display: block;
  position: absolute;
  top: 50%;
  right: 40px;
  margin-top: -34px;
}
header .wrapper .btn_contact:hover {
  background-color: #163663;
  opacity: 1;
}
header .wrapper .btn_contact img {
  width: 100%;
  display: block;
}
header .ham {
  display: none;
}
header .spmenu {
  display: none;
}

main .bc {
  padding: 30px 40px 0;
}
main .bc ul {
  font-size: 0;
  letter-spacing: normal;
}
main .bc ul li {
  display: inline-block;
  vertical-align: top;
  border-left: 1px solid #333;
}
main .bc ul li:first-child {
  border: none;
}
main .bc ul li:first-child a {
  padding-left: 0;
}
main .bc ul li a,
main .bc ul li span {
  color: #333;
  font-size: 18px;
  line-height: 100%;
  text-decoration: none;
  display: block;
  padding: 0 20px;
  margin-top: -1px;
}
main section.ttlsection .wrapper {
  height: 400px;
  padding-top: 280px;
  background-size: cover;
  background-position: center center;
  background-image: url(../images/bg_ttlsection.jpg);
}
main section.ttlsection .wrapper h2 {
  text-align: center;
  color: #fff;
  font-size: 38px;
}
main section.ttlsection .wrapper .en {
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 2px;
}

footer {
  background-image: url(../images/bg_footer.jpg);
  background-size: cover;
  background-position: bottom 0 center;
  padding: 80px 40px 170px;
  margin-top: 130px;
  position: relative;
}
footer * {
  color: #333 !important;
}
footer .wrapper {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
footer .wrapper .navbox {
  width: 50%;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  text-align: right;
}
footer .wrapper .navbox ul {
  text-align: right;
  font-size: 0;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: top;
  max-width: 600px;
}
footer .wrapper .navbox ul li {
  display: inline-block;
  vertical-align: top;
  margin-left: 40px;
  margin-bottom: 15px;
}
footer .wrapper .navbox ul li a {
  text-decoration: none;
  display: block;
  color: #333;
  font-size: 16px;
}
footer .wrapper .infobox {
  width: 50%;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
footer .wrapper .infobox dl {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
footer .wrapper .infobox dl dt {
  width: 160px;
}
footer .wrapper .infobox dl dd {
  width: calc(100% - 160px);
  padding-left: 40px;
  padding-top: 20px;
}
footer .wrapper .infobox dl dd .t01 {
  font-size: 20px;
}
footer .wrapper .infobox dl dd .t02 {
  font-size: 16px;
  line-height: 28px;
  margin-top: 5px;
}
footer .wrapper .copy {
  width: 100%;
  margin-top: 50px;
  font-size: 14px;
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}
footer .wrapper .pagetop {
  width: 116px;
  display: block;
  position: absolute;
  right: 40px;
  top: -83px;
}
footer .wrapper .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: 0px;
  }
  header {
    background-color: rgba(22, 54, 99, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000;
    width: 100%;
    min-width: 375px;
  }
  header .wrapper {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: auto;
    padding: 10.5px 20px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
  }
  header .wrapper .logo01 {
    width: 150px;
    display: block;
    margin-left: -10px;
  }
  header .wrapper .logo01 img {
    width: 100%;
    display: block;
  }
  header .wrapper .gnav {
    display: none;
  }

header .wrapper .btn_jpn {
  width: 110px;
  display: block;
  position: absolute;
  top: 60%;
  right: 50px;
  margin-top: -20px;
}
header .wrapper .btn_jpn:hover {

  opacity: 1;
}
header .wrapper .btn_jpn img {
  width: 100%;
  display: block;
}


  header .wrapper .btn_contact {
    width: 120px;
    display: block;
    position: absolute;
    top: 50%;
    right: 40px;
    margin-top: -34px;
    display: none;
  }
  header .wrapper .btn_contact:hover {
    background-color: #163663;
    opacity: 1;
  }
  header .wrapper .btn_contact img {
    width: 100%;
    display: block;
  }
  header .ham {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    top: 13px;
    right: 15px;
  }
  header .spmenu {
    position: absolute;
    background-color: #fff;
    padding: 20px;
    top: 50px;
    right: 0;
    left: 0;
    z-index: 10000;
  }
  header .spmenu .spwrapper a {
    display: block;
    padding: 8px 5px;
    color: #000;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
  }
  header .spmenu .close {
    width: 80px;
    height: 26px;
    margin: 20px auto 0;
    color: #fff;
    background-color: #163663;
    text-align: center;
    line-height: 14px;
    padding: 6px 0 8px;
    font-size: 14px;
    border-radius: 50px;
  }
  main .bc {
    display: none;
  }
  main section.ttlsection .wrapper {
    height: 140px;
    padding-top: 70px;
    background-size: cover;
    background-position: center center;
  }
  main section.ttlsection .wrapper h2 {
    text-align: center;
    color: #fff;
    font-size: 24px;
  }
  main section.ttlsection .wrapper .en {
    text-align: center;
    color: #fff;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 1px;
  }
  footer {
    background-image: url(../images/bg_footer.jpg);
    background-size: cover;
    background-position: bottom 0 center;
    padding: 30px 20px 30px;
    margin-top: 70px;
  }
  footer * {
    color: #333 !important;
  }
  footer .wrapper {
    display: block;
  }
  footer .wrapper .navbox {
    width: 100%;
    text-align: center;
  }
  footer .wrapper .navbox ul {
    text-align: center;
    font-size: 0;
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
    max-width: 300px;
  }
  footer .wrapper .navbox ul li {
    display: inline-block;
    vertical-align: top;
    margin: 5px 10px;
  }
  footer .wrapper .navbox ul li a {
    text-decoration: none;
    display: block;
    color: #333;
    font-size: 13px;
  }
  footer .wrapper .infobox {
    width: 100%;
    margin-top: 20px;
  }
  footer .wrapper .infobox dl {
    display: block;
  }
  footer .wrapper .infobox dl dt {
    width: 120px;
    margin: 0 auto;
  }
  footer .wrapper .infobox dl dd {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
  }
  footer .wrapper .infobox dl dd .t01 {
    font-size: 16px;
  }
  footer .wrapper .infobox dl dd .t02 {
    font-size: 13px;
    line-height: 22px;
    margin-top: 5px;
  }
  footer .wrapper .infobox dl dd .t02 a {
    text-decoration: none;
    color: #000;
  }
  footer .wrapper .copy {
    width: 100%;
    margin-top: 30px;
    font-size: 11px;
    text-align: center;
  }
  footer .wrapper .pagetop {
    width: 70px;
    display: block;
    position: absolute;
    right: 20px;
    top: -48px;
  }
  footer .wrapper .pagetop img {
    width: 100%;
    display: block;
  }
}