/**
* 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: "source-han-sans-japanese", sans-serif;
  font-weight: 300;
  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: 95%;
  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 {
  visibility: hidden;
}

html.wf-active {
  visibility: visible;
}

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.1em;
}

.font_en01 {
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
  width: 100%;
  min-width: 1280px;
  padding: 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  background-image: url(../images/bg_header.jpg);
  background-size: 100% 100%;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transform: translateY(-70px);
          transform: translateY(-70px);
}
header.scrolled {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
header .wrapper {
  height: 68px;
  font-size: 0;
  letter-spacing: 0;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding-right: 68px;
}
header .wrapper .logo {
  width: 550px;
  display: inline-block;
  vertical-align: top;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
}
header .wrapper .btn_change_lang {
  width: 100px;
  margin-left: calc(100% - 660px);
}
header .wrapper .btn_change_lang img {
  width: 100%;
  display: block;
}
header .wrapper .ham {
  width: 43px;
  display: block;
  cursor: pointer;
  position: absolute;
  top: 17px;
  right: 0;
}
header .spmenu {
  width: 300px;
  position: absolute;
  background-color: rgb(255, 255, 255);
  background-color: #0071bc;
  padding: 20px;
  top: 68px;
  right: 0;
  z-index: 10000;
  display: none;
}
header .spmenu .spwrapper ul {
  display: block;
}
header .spmenu .spwrapper ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
header .spmenu .spwrapper ul li .haschild,
header .spmenu .spwrapper ul li .mainmenu {
  display: block;
  text-decoration: none;
  text-align: left;
  padding: 16px 0;
  color: #fff;
  background-image: url(../images/icon_arrow01.svg);
  background-size: 10px auto;
  background-repeat: no-repeat;
  background-position: center right 0;
  cursor: pointer;
}
header .spmenu .spwrapper ul li .haschild {
  background-image: url(../images/icon_arrow02.svg);
}
header .spmenu .spwrapper ul li .haschild.opened {
  background-image: url(../images/icon_arrow03.svg);
}
header .spmenu .spwrapper ul li .child {
  padding-left: 10px;
  padding-top: 5px;
  display: none;
}
header .spmenu .spwrapper ul li .child p + p {
  margin-top: 5px;
}
header .spmenu .spwrapper ul li .child p:last-child {
  height: 40px;
}
header .spmenu .spwrapper ul li .child p a {
  text-decoration: none;
  color: #000;
  color: #fff;
  font-size: 14px;
  padding-left: 14px;
  position: relative;
}
header .spmenu .spwrapper ul li .child p a::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 10px;
  left: -2px;
}
header .spmenu .close {
  width: 80px;
  height: 30px;
  margin: 20px auto 0;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  font-size: 13px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

main {
  padding-bottom: 100px;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
main section {
  position: relative;
}
main section .idpoint {
  width: 1px;
  height: 1px;
  display: block;
  position: absolute;
  top: -66px;
  left: 0;
}

footer {
  position: relative;
}
footer .wrapper {
  width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
footer .wrapper .pagetop {
  width: 65px;
  display: block;
  position: absolute;
  top: -50px;
  right: 0;
  left: 0;
  margin: 0 auto;
}
footer .wrapper .pagetop img {
  width: 100%;
  display: block;
}
footer .wrapper 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;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
footer .wrapper dl dt {
  width: 113px;
}
footer .wrapper dl dt img {
  width: 100%;
  display: block;
}
footer .wrapper dl dd {
  width: calc(100% - 113px);
  padding-left: 25px;
}
footer .wrapper dl dd .t01 {
  font-size: 18px;
}
footer .wrapper dl dd .t02 {
  margin-top: 10px;
  font-size: 14px;
  line-height: 165%;
}
footer .wrapper dl dd .t02 a {
  text-decoration: none;
  color: #000;
}

/* ------------------------------
 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 {
    width: 100%;
    min-width: 375px;
    padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    background-image: url(../images/bg_header.jpg);
    background-size: 100% 100%;
    -webkit-transform: translateY(-52px);
            transform: translateY(-52px);
  }
  header .wrapper {
    height: 50px;
    font-size: 0;
    letter-spacing: 0;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .wrapper .logo {
    width: 320px;
    display: inline-block;
    vertical-align: top;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-decoration: none;
  }
  header .wrapper .btn_change_lang {
    width: 92px;
    display: none;
  }
  header .wrapper .btn_change_lang img {
    width: 100%;
    display: block;
  }
  header .wrapper .ham {
    width: 32px;
    display: block;
    top: 12px;
  }
  header .spmenu {
    width: 100%;
    position: absolute;
    background-color: rgb(255, 255, 255);
    background-color: #0071bc;
    padding: 15px 20px;
    top: 50px;
    right: 0;
    z-index: 10000;
    display: none;
  }
  header .spmenu .spwrapper ul {
    display: block;
  }
  header .spmenu .spwrapper ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
  header .spmenu .spwrapper ul li .haschild,
  header .spmenu .spwrapper ul li .mainmenu {
    display: block;
    text-decoration: none;
    text-align: left;
    padding: 10px 0;
    color: #fff;
    background-image: url(../images/icon_arrow01.svg);
    background-size: 10px auto;
    background-repeat: no-repeat;
    background-position: center right 0;
    cursor: pointer;
    font-size: 13px;
  }
  header .spmenu .spwrapper ul li .haschild {
    background-image: url(../images/icon_arrow02.svg);
  }
  header .spmenu .spwrapper ul li .haschild.opened {
    background-image: url(../images/icon_arrow03.svg);
  }
  header .spmenu .spwrapper ul li .child {
    padding-left: 0;
    padding-top: 5px;
    display: none;
  }
  header .spmenu .spwrapper ul li .child p + p {
    margin-top: 0;
  }
  header .spmenu .spwrapper ul li .child p:last-child {
    height: 40px;
  }
  header .spmenu .spwrapper ul li .child p a {
    text-decoration: none;
    color: #000;
    color: #fff;
    font-size: 11px;
    padding-left: 14px;
    position: relative;
  }
  header .spmenu .spwrapper ul li .child p a::before {
    content: "";
    display: block;
    width: 10px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 10px;
    left: -2px;
  }
  header .spmenu .close {
    width: 80px;
    height: 30px;
    margin: 20px auto 0;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    font-size: 13px;
    background-color: #000;
    color: #fff;
    cursor: pointer;
  }
  main {
    padding-bottom: 100px;
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  main section {
    position: relative;
  }
  main section .idpoint {
    width: 1px;
    height: 1px;
    display: block;
    position: absolute;
    top: -48px;
    left: 0;
  }
  footer {
    position: relative;
  }
  footer .wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
  }
  footer .wrapper .pagetop {
    width: 50px;
    display: block;
    position: absolute;
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
  }
  footer .wrapper .pagetop img {
    width: 100%;
    display: block;
  }
  footer .wrapper 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;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 360px;
    padding-left: 10px;
    margin: 0 auto;
  }
  footer .wrapper dl dt {
    width: 80px;
  }
  footer .wrapper dl dt img {
    width: 100%;
    display: block;
  }
  footer .wrapper dl dd {
    width: calc(100% - 80px);
    padding-left: 15px;
  }
  footer .wrapper dl dd .t01 {
    font-size: 14px;
  }
  footer .wrapper dl dd .t02 {
    font-size: 11px;
    line-height: 140%;
    margin-top: 5px;
  }
  footer .wrapper dl dd .t02 a {
    text-decoration: none;
    color: #000;
  }
}