/**
* 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: #040000;
  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: 1080px;
}

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

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

.font01 {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.op {
  display: block !important;
}

.os {
  display: none !important;
}

* {
  letter-spacing: 0.05em;
}

header .top_header {
  background-color: #d2d2d4;
  padding: 20px 0;
}
header .top_header .wrapper {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}
header .top_header .wrapper .logo {
  width: 184px;
  display: block;
}
header .top_header .wrapper .logo img {
  width: 100%;
  display: block;
}
header .top_header .wrapper ul {
  width: 105px;
  position: absolute;
  right: 0;
  bottom: 0;
}
header .top_header .wrapper ul li {
  margin-top: 5px;
}
header .top_header .wrapper ul li a {
  display: block;
  text-decoration: none;
  background-color: #00913a;
  color: #fff;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
  border-radius: 5px;
  padding: 5px 0;
}
header .gnav {
  padding: 15px 0;
}
header .gnav ul {
  font-size: 0;
  letter-spacing: 0;
  text-align: center;
}
header .gnav ul li {
  display: inline-block;
  vertical-align: top;
  line-height: 100%;
  padding: 0 15px;
  border-right: 1px solid #000;
}
header .gnav ul li:last-child {
  border: none;
}
header .gnav ul li a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  color: #000;
  line-height: 16px;
  height: 16px;
}
header .ham {
  display: none;
}
header .spmenu {
  display: none;
}

footer .wrapper .fnav {
  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;
  width: 1000px;
  margin: 70px auto 0;
}
footer .wrapper .fnav li {
  width: 242px;
  background-color: #fff;
  position: relative;
  padding-bottom: 35px;
  background-image: url(../images_top/bg_fnav.svg);
  background-size: 100% 100%;
  padding-top: 10px;
}
footer .wrapper .fnav li .menuttl {
  text-align: center;
  font-size: 28px;
  margin-bottom: 5px;
  font-weight: bold;
}
footer .wrapper .fnav li:nth-child(1) .menuttl {
  color: #417CB2;
}
footer .wrapper .fnav li:nth-child(2) .menuttl {
  color: #5B9134;
}
footer .wrapper .fnav li:nth-child(3) .menuttl {
  color: #EA5514;
}
footer .wrapper .fnav li:nth-child(4) .menuttl {
  color: #9073BD;
}
footer .wrapper .fnav li .menu {
  font-size: 16px;
  padding-left: 20px;
}
footer .wrapper .fnav li .menu a {
  text-decoration: none;
  color: #000;
  font-size: 10px;
}
footer .wrapper .fnav li .menu a:hover {
  opacity: 1;
  color: #5b9134;
}
footer .wrapper .fnav li .menu a.link_off {
  color: #ddd;
  pointer-events: none;
}
footer .wrapper .fnav li .menu a.link_off:hover {
  color: #ddd;
}
footer .wrapper .fnav li .menu a span {
  font-size: 14px;
  padding-right: 10px;
}
footer .wrapper .dl01 {
  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;
  margin-top: 40px;
}
footer .wrapper .dl01 dt {
  width: 50%;
  padding-right: 30px;
  text-align: right;
}
footer .wrapper .dl01 dt a {
  width: 232px;
  display: inline-block;
}
footer .wrapper .dl01 dt a img {
  width: 100%;
  display: block;
}
footer .wrapper .dl01 dd {
  width: 50%;
  padding-left: 20px;
  font-size: 11px;
  line-height: 170%;
}
footer .wrapper .dl01 dd a {
  text-decoration: none;
  color: #000;
  display: inline-block;
  margin-top: 5px;
}
footer .wrapper .copy {
  text-align: center;
  font-size: 11px;
  color: #fff;
  line-height: 11px;
  padding: 15px 0;
  background-color: #86b626;
  margin-top: 80px;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 700px) {
  html,
  body {
    min-width: 375px;
  }
  .op {
    display: none !important;
  }
  .os {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header {
    position: relative;
  }
  header .top_header {
    background-color: #d2d2d4;
    padding: 17px 0 12px 20px;
  }
  header .top_header .wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
  header .top_header .wrapper .logo {
    width: 100px;
    display: block;
  }
  header .top_header .wrapper .logo img {
    width: 100%;
    display: block;
  }
  header .top_header .wrapper ul {
    display: none;
  }
  header .ham {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
  }
  header .spmenu {
    position: absolute;
    background-color: #8fc31f;
    padding: 20px 40px;
    top: 62px;
    right: 0;
    left: 0;
    z-index: 10000;
    display: none;
  }
  header .spmenu .spwrapper {
    z-index: 1000;
    max-width: 1100px;
    margin: 0 auto;
  }
  header .spmenu .spwrapper p a {
    display: block;
    padding: 5px 5px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
  }
  header .spmenu .close {
    width: 80px;
    height: 30px;
    border-radius: 20px;
    background-color: #fff;
    margin: 20px auto 0;
    color: #000;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    font-size: 13px;
  }
  footer .wrapper .fnav {
    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;
    width: 100%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 50px auto 0;
    padding: 0 15px;
  }
  footer .wrapper .fnav li {
    width: calc(50% - 5px);
    margin-right: 10px;
    background-color: #fff;
    position: relative;
    padding-bottom: 25px;
    background-image: url(../images_top/bg_fnav.svg);
    background-size: 100% 100%;
    padding-top: 5px;
    margin-top: 10px;
  }
  footer .wrapper .fnav li .menuttl {
    text-align: center;
    font-size: 24px;
    margin-bottom: 2px;
    font-weight: bold;
  }
  footer .wrapper .fnav li:nth-child(even) {
    margin-right: 0;
  }
  footer .wrapper .fnav li:nth-child(1) .menuttl {
    color: #417CB2;
  }
  footer .wrapper .fnav li:nth-child(2) .menuttl {
    color: #5B9134;
  }
  footer .wrapper .fnav li:nth-child(3) .menuttl {
    color: #EA5514;
  }
  footer .wrapper .fnav li:nth-child(4) .menuttl {
    color: #9073BD;
  }
  footer .wrapper .fnav li .menu {
    font-size: 16px;
    padding-left: 20px;
    line-height: 100%;
  }
  footer .wrapper .fnav li .menu + .menu {
    margin-top: 10px;
  }
  footer .wrapper .fnav li .menu a {
    text-decoration: none;
    color: #000;
    font-size: 10px;
  }
  footer .wrapper .fnav li .menu a:hover {
    opacity: 1;
    color: #5b9134;
  }
  footer .wrapper .fnav li .menu a.link_off {
    color: #ddd;
    pointer-events: none;
  }
  footer .wrapper .fnav li .menu a.link_off:hover {
    color: #ddd;
  }
  footer .wrapper .fnav li .menu a span {
    font-size: 14px;
    padding-right: 0px;
    display: block;
    line-height: 100%;
  }
  footer .wrapper .dl01 {
    display: block;
    margin-top: 50px;
  }
  footer .wrapper .dl01 dt {
    width: 100%;
    padding-right: 0px;
    text-align: center;
  }
  footer .wrapper .dl01 dt a {
    width: 232px;
    display: inline-block;
  }
  footer .wrapper .dl01 dt a img {
    width: 100%;
    display: block;
  }
  footer .wrapper .dl01 dd {
    width: 320px;
    padding-left: 30px;
    font-size: 11px;
    line-height: 170%;
    margin: 25px auto 0;
  }
  footer .wrapper .dl01 dd a {
    text-decoration: none;
    color: #000;
    display: inline-block;
    margin-top: 5px;
  }
  footer .wrapper .copy {
    text-align: center;
    font-size: 11px;
    color: #fff;
    line-height: 11px;
    padding: 15px 0;
    background-color: #86b626;
    margin-top: 30px;
  }
}