/**
* 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: 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 {
  visibility: hidden;
}

html.wf-active {
  visibility: visible;
}

html {
  min-width: 1380px;
}

body {
  min-width: 1280px;
}

html {
  padding: 0 50px;
}

.en {
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
}

.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 {
  position: relative;
  z-index: 100000;
}
header .wrapper {
  position: relative;
  padding-right: 80px;
}
header .wrapper .logo {
  width: 130px;
  padding: 25px 0 10px;
  background-color: #fff;
  display: block;
  text-decoration: none;
  position: absolute;
  top: 0;
  left: 0;
}
header .wrapper .logo h1 {
  width: 90px;
  margin: 0 auto;
}
header .wrapper .logo h1 img {
  width: 100%;
  display: block;
}
header .wrapper .gnav ul {
  text-align: right;
  font-size: 0;
  letter-spacing: 0;
}
header .wrapper .gnav ul li {
  display: inline-block;
  vertical-align: middle;
  margin-left: 40px;
  position: relative;
}
header .wrapper .gnav ul li:hover .children {
  opacity: 1;
  display: block;
}
header .wrapper .gnav ul li .mainmenu {
  display: block;
  text-decoration: none;
  font-size: 16px;
  padding: 20px 0;
  line-height: 100%;
  color: #000;
  position: relative;
}
header .wrapper .gnav ul li .mainmenu::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0DC600;
  bottom: 7px;
  left: 0;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: center top;
  transform-origin: center top;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
header .wrapper .gnav ul li .mainmenu:hover {
  color: #006837;
  opacity: 1;
}
header .wrapper .gnav ul li .mainmenu:hover::after {
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}
header .wrapper .gnav ul li .children {
  width: 175px;
  position: absolute;
  top: 56px;
  left: -15px;
  z-index: 10000;
  background-color: rgba(128, 186, 63, 0.7);
  padding: 10px 15px;
  display: none;
  opacity: 0;
}
header .wrapper .gnav ul li .children p {
  border-bottom: 1px solid #666666;
  text-align: left;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
header .wrapper .gnav ul li .children p:last-child {
  border: none;
}
header .wrapper .gnav ul li .children p:hover a {
  color: #fff;
  opacity: 1;
}
header .wrapper .gnav ul li .children p a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
  display: block;
  padding: 7px 0;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
header .fixedmenu {
  width: 50px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000000;
}
header .fixedmenu li.li01 {
  background-color: #006837;
}
header .fixedmenu li.li02 {
  background-color: #008645;
}
header .fixedmenu li.li03 {
  background-color: #80ba3f;
}
header .fixedmenu li a {
  width: 50px;
  display: block;
  opacity: 1 !important;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
header .fixedmenu li a:hover {
  width: 80px;
  -webkit-transform: translateX(-30px);
          transform: translateX(-30px);
}
header .fixedmenu li a img {
  width: 50px;
  margin: 0 auto;
  display: block;
}
header .ham {
  display: none;
}
header .spmenu {
  display: none;
}

main section.ttlsection .wrapper {
  height: 385px;
  background-image: url(../images/bg_ttlsection.jpg);
  background-size: 100% 100%;
  padding-top: 65px;
}
main section.ttlsection .wrapper .box01 {
  width: 1200px;
  height: 320px;
  background-color: rgba(255, 255, 255, 0.67);
  margin: 0 auto;
  padding-top: 70px;
}
main section.ttlsection .wrapper .box01 h2 {
  text-align: center;
  font-size: 24px;
}
main section.ttlsection .wrapper .box01 .t01 {
  font-size: 48px;
  margin-top: 20px;
  text-align: center;
  letter-spacing: 6px;
  color: #83bd3f;
}
main section.ttlsection .wrapper .box01 .t01 span {
  color: #008945;
  letter-spacing: 6px;
}
main section.ttlsection .wrapper .box01 .submenu {
  text-align: center;
  font-size: 0;
  letter-spacing: 0;
  margin-top: 25px;
}
main section.ttlsection .wrapper .box01 .submenu li {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px;
}
main section.ttlsection .wrapper .box01 .submenu li a {
  width: 164px;
  display: block;
  text-decoration: none;
  background-color: #fff;
  font-size: 14px;
  line-height: 14px;
  border: 1px solid #000;
  color: #000;
  padding: 13px 0;
  text-align: center;
  border-radius: 30px;
  position: relative;
}
main section.ttlsection .wrapper .box01 .submenu li a img {
  width: 20px;
  position: absolute;
  top: 8px;
  left: 15px;
}
main section.ttlsection .wrapper .box01 .submenu li a:hover {
  opacity: 1;
  background-color: #006837;
  border: 1px solid #006837;
  color: #fff;
}
main section.ttlsection + section {
  margin: -45px auto 0;
}
main section .wrapper .submenu_bottom {
  text-align: center;
  font-size: 0;
  letter-spacing: 0;
  margin-top: 70px;
}
main section .wrapper .submenu_bottom li {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px;
}
main section .wrapper .submenu_bottom li a {
  width: 164px;
  display: block;
  text-decoration: none;
  background-color: #fff;
  font-size: 14px;
  line-height: 14px;
  border: 1px solid #000;
  color: #000;
  padding: 13px 0;
  text-align: center;
  border-radius: 30px;
  position: relative;
}
main section .wrapper .submenu_bottom li a img {
  width: 20px;
  position: absolute;
  top: 8px;
  left: 15px;
}
main section .wrapper .submenu_bottom li a:hover {
  opacity: 1;
  background-color: #006837;
  border: 1px solid #006837;
  color: #fff;
}

footer {
  background-image: url(../images/bg_footer.jpg);
  background-size: cover;
  background-position: center bottom 50px;
  position: relative;
}
footer .wrapper {
  width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
footer .wrapper .leftbox {
  width: 50%;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
footer .wrapper .leftbox .logo {
  width: 317px;
  display: block;
}
footer .wrapper .leftbox .logo img {
  width: 100%;
  display: block;
}
footer .wrapper .leftbox .t01 {
  font-size: 16px;
  line-height: 170%;
  margin-top: 25px;
}
footer .wrapper .leftbox .btn_map {
  width: 215px;
  display: block;
  border: 1px solid #000;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  padding: 14px 0;
  margin-top: 15px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #000;
}
footer .wrapper .leftbox .btn_map:hover {
  opacity: 1;
  background-color: #fff;
}
footer .wrapper .rightbox {
  width: 50%;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  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 .rightbox ul {
  width: 33.3%;
}
footer .wrapper .rightbox ul li a {
  font-size: 14px;
  text-decoration: none;
  color: #000;
}
footer .wrapper .rightbox ul li + li {
  margin-top: 24px;
}
footer .pagetop {
  width: 70px;
  display: block;
  position: absolute;
  top: -70px;
  right: 0;
}
footer .pagetop img {
  width: 100%;
  display: block;
}
footer .copy {
  text-align: center;
  font-size: 12px;
  padding: 25px 0;
  background-color: #fff;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  html {
    min-width: 375px;
  }
  body {
    min-width: 345px;
  }
  html {
    padding: 0 15px;
  }
  .op {
    display: none !important;
  }
  .os {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header {
    width: 100%;
    position: relative;
    z-index: 100000;
    background-color: #fff;
  }
  header .wrapper {
    width: 100%;
    position: relative;
    padding-right: 0;
    background-color: #fff;
  }
  header .wrapper .logo {
    width: 140px;
    padding: 8px 0;
    background-color: #fff;
    display: block;
    text-decoration: none;
    position: static;
  }
  header .wrapper .logo h1 {
    width: 100%;
    margin: 0 auto;
  }
  header .wrapper .logo h1 img {
    width: 100%;
    display: block;
  }
  header .wrapper .gnav {
    display: none;
  }
  header .fixedmenu {
    width: 100%;
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000000;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  header .fixedmenu li {
    width: 33.3333333333%;
  }
  header .fixedmenu li.li01 {
    background-color: #006837;
  }
  header .fixedmenu li.li02 {
    background-color: #008645;
  }
  header .fixedmenu li.li03 {
    background-color: #80ba3f;
  }
  header .fixedmenu li a {
    width: 100%;
    display: block;
    opacity: 1 !important;
    -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
    text-decoration: none;
    padding-right: 15px;
    background-image: url(../images/icon_arrow01.svg);
    background-size: 8px auto;
    background-position: center right 8px;
    background-repeat: no-repeat;
  }
  header .fixedmenu li a:hover {
    width: 100%;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  header .fixedmenu li a p {
    color: #fff;
    font-size: 13px;
    text-align: center;
    letter-spacing: 1px;
    padding: 13px 0;
  }
  header .ham {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -12px;
  }
  header .spmenu {
    position: absolute;
    background-color: #fff;
    padding: 10px 20px 20px;
    top: 50px;
    right: 0;
    left: 0;
    z-index: 10000;
  }
  header .spmenu .spwrapper ul li .mainmenu {
    display: block;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 104, 55, 0.5);
    padding: 10px 0;
    background-image: url(../images/icon_arrow02.svg);
    background-size: 6px auto;
    background-position: center right 2px;
    background-repeat: no-repeat;
  }
  header .spmenu .spwrapper ul li span.mainmenu {
    background-image: none;
  }
  header .spmenu .spwrapper ul li .children {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 5px 0 10px 20px;
  }
  header .spmenu .spwrapper ul li .children p {
    width: 30%;
  }
  header .spmenu .spwrapper ul li .children p:nth-child(3n-2) {
    width: 40%;
  }
  header .spmenu .spwrapper ul li .children p a {
    display: block;
    text-decoration: none;
    font-size: 12px;
    color: #000;
    margin-top: 7px;
  }
  header .spmenu .close {
    width: 90px;
    height: 30px;
    margin: 15px auto 0;
    color: #000;
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    background-color: #006837;
    color: #fff;
  }
  main section.ttlsection .wrapper {
    height: auto;
    background-image: url(../images/bg_ttlsection.jpg);
    background-size: 100% 100%;
    padding: 15px 15px;
  }
  main section.ttlsection .wrapper .box01 {
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.67);
    margin: 0 auto;
    padding: 15px 0;
  }
  main section.ttlsection .wrapper .box01 h2 {
    text-align: center;
    font-size: 16px;
  }
  main section.ttlsection .wrapper .box01 .t01 {
    font-size: 28px;
    margin-top: 10px;
    text-align: center;
    letter-spacing: 3px;
    color: #83bd3f;
  }
  main section.ttlsection .wrapper .box01 .t01 span {
    color: #008945;
    letter-spacing: 3px;
  }
  main section.ttlsection .wrapper .box01 .submenu {
    text-align: center;
    font-size: 0;
    letter-spacing: 0;
    margin-top: 15px;
  }
  main section.ttlsection .wrapper .box01 .submenu li {
    display: inline-block;
    vertical-align: top;
    margin: 0 3px;
  }
  main section.ttlsection .wrapper .box01 .submenu li:first-child {
    margin-left: 0;
  }
  main section.ttlsection .wrapper .box01 .submenu li:last-child {
    margin-right: 0;
  }
  main section.ttlsection .wrapper .box01 .submenu li a {
    width: auto;
    display: block;
    text-decoration: none;
    background-color: #fff;
    font-size: 12px;
    line-height: 12px;
    border: 1px solid #000;
    color: #000;
    padding: 8px 7px;
    text-align: center;
    border-radius: 30px;
  }
  main section.ttlsection .wrapper .box01 .submenu li a img {
    width: 13px;
    position: static;
    vertical-align: top;
    margin: 0px 3px -3px 2px;
  }
  main section.ttlsection .wrapper .box01 .submenu li a:hover {
    opacity: 1;
    background-color: #006837;
    border: 1px solid #006837;
    color: #fff;
  }
  main section.ttlsection + section {
    margin-top: 30px;
  }
  main section .wrapper .submenu_bottom {
    text-align: center;
    font-size: 0;
    letter-spacing: 0;
    margin-top: 30px;
  }
  main section .wrapper .submenu_bottom li {
    display: inline-block;
    vertical-align: top;
    margin: 0 3px;
  }
  main section .wrapper .submenu_bottom li:first-child {
    margin-left: 0;
  }
  main section .wrapper .submenu_bottom li:last-child {
    margin-right: 0;
  }
  main section .wrapper .submenu_bottom li a {
    width: auto;
    display: block;
    text-decoration: none;
    background-color: #fff;
    font-size: 12px;
    line-height: 12px;
    border: 1px solid #000;
    color: #000;
    padding: 8px 7px;
    text-align: center;
    border-radius: 30px;
    position: relative;
  }
  main section .wrapper .submenu_bottom li a img {
    width: 13px;
    position: static;
    vertical-align: top;
    margin: 0px 3px -3px 2px;
  }
  main section .wrapper .submenu_bottom li a:hover {
    opacity: 1;
    background-color: #006837;
    border: 1px solid #006837;
    color: #fff;
  }
  footer {
    position: relative;
    padding-bottom: 46px;
    background-color: #fff;
    background-image: none;
  }
  footer .wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px 45px;
    display: block;
    background-image: url(../images/bg_footer.jpg);
    background-size: cover;
    background-position: center center;
  }
  footer .wrapper .leftbox {
    width: 100%;
    margin-top: 30px;
  }
  footer .wrapper .leftbox .logo {
    width: 230px;
    display: block;
    margin: 0 auto;
  }
  footer .wrapper .leftbox .logo img {
    width: 100%;
    display: block;
  }
  footer .wrapper .leftbox .t01 {
    width: 335px;
    margin: 15px auto 0;
    font-size: 14px;
    line-height: 170%;
    padding-left: 25px;
  }
  footer .wrapper .leftbox .btn_map {
    width: 160px;
    display: block;
    border: 1px solid #000;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
    padding: 10px 0;
    margin: 15px auto 0;
    letter-spacing: 1px;
    font-weight: bold;
    color: #000;
  }
  footer .wrapper .leftbox .btn_map:hover {
    opacity: 1;
    background-color: #fff;
  }
  footer .wrapper .rightbox {
    width: 100%;
    width: 305px;
    margin: 0 auto;
  }
  footer .wrapper .rightbox ul {
    width: 30%;
  }
  footer .wrapper .rightbox ul.ul03 {
    width: 40%;
  }
  footer .wrapper .rightbox ul li a {
    font-size: 12px;
    text-decoration: none;
    color: #000;
  }
  footer .wrapper .rightbox ul li + li {
    margin-top: 4px;
  }
  footer .pagetop {
    width: 40px;
    display: block;
    position: absolute;
    top: -40px;
    right: 0;
  }
  footer .pagetop img {
    width: 100%;
    display: block;
  }
  footer .copy {
    text-align: center;
    font-size: 10px;
    padding: 15px 0;
    background-color: #fff;
  }
}