/**
* 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: #434343;
  background: #FFF;
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  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;
}

.mincho01 {
  font-family: "yu-mincho-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header .wrapper {
  padding: 15px 40px;
  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;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
header .wrapper .logo {
  width: 210px;
}
header .wrapper .logo img {
  width: 100%;
  display: block;
}
header .wrapper .gnav {
  width: 900px;
  max-width: calc(100% - 210px);
  margin-left: calc(100% - 1110px);
  background-color: #F08223;
  display: -webkit-flex;
  display: block;
  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;
  padding: 2px 40px;
  border-radius: 50px;
  height: 61px;
}
header .wrapper .gnav ul {
  width: calc(100% - 112px);
  text-align: right;
  padding-right: 10px;
}
header .wrapper .gnav ul li {
  display: inline-block;
  vertical-align: top;
  border-left: 1px solid #fff;
  margin: 5px 0;
}
header .wrapper .gnav ul li:first-child {
  border: none;
}
header .wrapper .gnav ul li a {
  text-decoration: none;
  display: block;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 14px;
  padding: 3px 5px 3px 9px;
  position: relative;
}
header .wrapper .gnav ul li a:hover {
  opacity: 1;
}
header .wrapper .gnav ul li a:hover::after {
  background-color: #fff;
}
header .wrapper .gnav ul li a::after {
  content: "";
  display: block;
  width: 42px;
  height: 1.5px;
  background-color: transparent;
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  margin: 0 auto;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
header .wrapper .gnav .btn_contact {
  width: 112px;
  line-height: 14px;
  padding: 14px 0;
  text-align: center;
  color: #F08223;
  display: block;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  background-color: #fff;
}
header .ham {
  display: none;
}
header .spmenu {
  display: none;
}

main section {
  position: relative;
}
main section .idpoint {
  width: 1px;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
}

footer {
  background-color: #F2F2F2;
  padding: 30px 40px 15px;
}
footer .wrapper {
  max-width: 1150px;
  margin: 0 auto;
  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 .logo {
  width: 152px;
  display: block;
}
footer .wrapper .logo img {
  width: 100%;
  display: block;
}
footer .wrapper .menubox {
  width: 860px;
  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: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
footer .wrapper .menubox .dl01.dl0101 {
  width: 175px;
}
footer .wrapper .menubox .dl01.dl0102 {
  width: 212px;
}
footer .wrapper .menubox .dl01.dl0103 {
  width: 217px;
}
footer .wrapper .menubox .dl01 dt a {
  display: block;
  text-decoration: none;
  color: #434343;
  font-size: 16px;
}
footer .wrapper .menubox .dl01 dd {
  margin-top: 10px;
}
footer .wrapper .menubox .dl01 dd ul li {
  margin-top: 5px;
}
footer .wrapper .menubox .dl01 dd ul li a {
  padding-left: 30px;
  text-decoration: none;
  color: #434343;
  position: relative;
  font-size: 14px;
}
footer .wrapper .menubox .dl01 dd ul li a::before {
  content: "";
  display: block;
  width: 23px;
  height: 2px;
  background-color: #434343;
  position: absolute;
  top: 8px;
  left: 0;
}
footer .wrapper .menubox .dl02 {
  width: 217px;
  position: relative;
  border-bottom: 3px solid #fff;
}
footer .wrapper .menubox .dl02::before {
  content: "";
  width: 55px;
  height: 3px;
  display: block;
  background-color: #1F85CC;
  position: absolute;
  bottom: -3px;
  left: 0;
}
footer .wrapper .menubox .dl02 dt,
footer .wrapper .menubox .dl02 dd {
  padding: 0 10px 0 0;
  border-top: 3px solid #fff;
  position: relative;
}
footer .wrapper .menubox .dl02 dt::before,
footer .wrapper .menubox .dl02 dd::before {
  content: "";
  width: 55px;
  height: 3px;
  display: block;
  background-color: #1F85CC;
  position: absolute;
  top: -3px;
  left: 0;
}
footer .wrapper .menubox .dl02 dt a,
footer .wrapper .menubox .dl02 dd a {
  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;
  text-decoration: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 0;
}
footer .wrapper .menubox .dl02 dt a .iconbox,
footer .wrapper .menubox .dl02 dd a .iconbox {
  width: 55px;
  display: block;
}
footer .wrapper .menubox .dl02 dt a .iconbox img,
footer .wrapper .menubox .dl02 dd a .iconbox img {
  width: 60%;
  display: block;
  margin: 0 auto;
}
footer .wrapper .menubox .dl02 dt a p,
footer .wrapper .menubox .dl02 dd a p {
  color: #434343;
  width: calc(100% - 80px);
  font-size: 12px;
}
footer .wrapper .menubox .dl02 dt a .arrow,
footer .wrapper .menubox .dl02 dd a .arrow {
  width: 22px;
  display: block;
}
footer .info_dl {
  max-width: 1140px;
  margin: 26px auto 0;
  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 .info_dl dt {
  width: 50%;
  font-size: 10px;
}
footer .info_dl dd {
  width: 50%;
  text-align: right;
}
footer .info_dl dd a {
  text-decoration: none;
  color: #434343;
  font-size: 10px;
}

/* ------------------------------
 common - width: < 1750px
------------------------------ */
@media screen and (max-width: 1750px) {
  /*
    footer {
      background-color: #F2F2F2;
      padding: 40px 40px 20px;

      .wrapper {
        max-width: 1720px;
        margin: 0 auto;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;

        .logo {
          width: 221px;
          display: block;

          img {
            width: 100%;
            display: block;
          }
        }

        .menubox {
          width: calc(100% - 221px);
          display: -webkit-flex;
          display: -moz-flex;
          display: -ms-flex;
          display: -o-flex;
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          padding-left: 60px;

          .dl01 {
            &.dl0101 {
              width: 260px;
            }

            &.dl0102 {
              width: 320px;
            }

            &.dl0103 {
              width: 350px;
            }

            dt {
              a {
                display: block;
                text-decoration: none;
                color: $black01;
                font-size: 25px;
              }
            }

            dd {
              margin-top: 15px;

              ul {
                li {
                  margin-top: 8px;

                  a {
                    padding-left: 45px;
                    text-decoration: none;
                    color: $black01;
                    position: relative;
                    font-size: 20px;

                    &::before {
                      content: "";
                      display: block;
                      width: 35px;
                      height: 2px;
                      background-color: $black01;
                      position: absolute;
                      top: 11px;
                      left: 0;
                    }
                  }
                }
              }
            }
          }

          .dl02 {
            width: 350px;
            position: relative;
            border-bottom: 4px solid #fff;

            &::before {
              content: "";
              width: 88px;
              height: 4px;
              display: block;
              background-color: $blue01;
              position: absolute;
              bottom: -4px;
              left: 0;
            }

            dt,
            dd {
              padding: 0 10px 0 0;
              border-top: 4px solid #fff;
              position: relative;

              &::before {
                content: "";
                width: 88px;
                height: 4px;
                display: block;
                background-color: $blue01;
                position: absolute;
                top: -4px;
                left: 0;
              }

              a {
                display: -webkit-flex;
                display: -moz-flex;
                display: -ms-flex;
                display: -o-flex;
                display: flex;
                justify-content: space-between;
                text-decoration: none;
                align-items: center;
                padding: 20px 0;

                .iconbox {
                  width: 88px;
                  display: block;

                  img {
                    display: block;
                    margin: 0 auto;
                  }
                }

                p {
                  color: $black01;
                  width: calc(100% - 122px);
                  font-size: 18px;
                }

                .arrow {
                  width: 34px;
                  display: block;
                }
              }
            }
          }
        }
      }

      .info_dl {
        max-width: 1720px;
        margin: 60px auto 0;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;

        dt {
          width: 70%;
          font-size: 15px;
        }

        dd {
          width: 30%;
          text-align: right;

          a {
            text-decoration: none;
            color: $black01;
            font-size: 15px;
          }
        }
      }
    }
  */
}
/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  html,
  body {
    min-width: 390px;
    -webkit-text-size-adjust: 100%;
  }
  html *,
  body * {
    -webkit-text-size-adjust: 100%;
  }
  .op {
    display: none !important;
  }
  .os {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header {
    position: relative;
  }
  header .wrapper {
    padding: 20px 20px;
    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;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  header .wrapper .logo {
    width: 144px;
    margin-right: 0;
  }
  header .wrapper .logo img {
    width: 100%;
    display: block;
  }
  header .wrapper .gnav {
    display: none;
  }
  header .ham {
    width: 50px;
    display: block;
    position: absolute;
    top: 12px;
    right: 15px;
  }
  header .spmenu {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    top: 74px;
    right: 0;
    left: 0;
    z-index: 10000;
  }
  header .spmenu .spwrapper ul li {
    border-bottom: 1px solid #434343;
  }
  header .spmenu .spwrapper ul li + li {
    margin-top: 20px;
  }
  header .spmenu .spwrapper ul li a {
    display: block;
    text-decoration: none;
    color: #434343;
    font-size: 15px;
    padding: 3px 0;
    background-image: url(../images/icon_arrow02.svg);
    background-position: center right 0;
    background-repeat: no-repeat;
    background-size: 10px auto;
  }
  header .spmenu .spwrapper .btn_contact {
    width: 100%;
    display: block;
    margin-top: 30px;
  }
  header .spmenu .spwrapper .btn_contact img {
    width: 100%;
    display: block;
  }
  header .spmenu .close {
    width: 50px;
    display: block;
    position: absolute;
    top: -62px;
    right: 15px;
  }
  footer {
    background-color: #F2F2F2;
    padding: 20px 20px 5px;
  }
  footer .wrapper {
    max-width: 1720px;
    margin: 0 auto;
    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 .logo {
    width: 55px;
    display: block;
  }
  footer .wrapper .logo img {
    width: 100%;
    display: block;
  }
  footer .wrapper .menubox {
    width: 340px;
    max-width: calc(100% - 75px);
    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: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding-left: 0;
  }
  footer .wrapper .menubox .dl01 {
    margin-bottom: 15px;
  }
  footer .wrapper .menubox .dl01.dl0101 {
    width: 50%;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  footer .wrapper .menubox .dl01.dl0102 {
    width: 50%;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  footer .wrapper .menubox .dl01.dl0103 {
    width: 50%;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  footer .wrapper .menubox .dl01 dt a {
    display: block;
    text-decoration: none;
    color: #434343;
    font-size: 10px;
  }
  footer .wrapper .menubox .dl01 dd {
    margin-top: 3px;
  }
  footer .wrapper .menubox .dl01 dd ul li {
    margin-top: -6px;
  }
  footer .wrapper .menubox .dl01 dd ul li a {
    padding-left: 20px;
    text-decoration: none;
    color: #434343;
    position: relative;
    font-size: 8px;
    letter-spacing: 0;
  }
  footer .wrapper .menubox .dl01 dd ul li a::before {
    content: "";
    display: block;
    width: 15px;
    height: 1px;
    background-color: #434343;
    position: absolute;
    top: 4px;
    left: 0;
  }
  footer .wrapper .menubox .dl02 {
    width: 50%;
    position: relative;
    border-bottom: 2px solid #fff;
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
  footer .wrapper .menubox .dl02::before {
    content: "";
    width: 35px;
    height: 2px;
    display: block;
    background-color: #1F85CC;
    position: absolute;
    bottom: -2px;
    left: 0;
  }
  footer .wrapper .menubox .dl02 dt,
  footer .wrapper .menubox .dl02 dd {
    padding: 0;
    border-top: 2px solid #fff;
    position: relative;
  }
  footer .wrapper .menubox .dl02 dt::before,
  footer .wrapper .menubox .dl02 dd::before {
    content: "";
    width: 35px;
    height: 2px;
    display: block;
    background-color: #1F85CC;
    position: absolute;
    top: -2px;
    left: 0;
  }
  footer .wrapper .menubox .dl02 dt a,
  footer .wrapper .menubox .dl02 dd a {
    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;
    text-decoration: none;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 5px 0;
  }
  footer .wrapper .menubox .dl02 dt a .iconbox,
  footer .wrapper .menubox .dl02 dd a .iconbox {
    width: 35px;
    display: block;
  }
  footer .wrapper .menubox .dl02 dt a .iconbox img,
  footer .wrapper .menubox .dl02 dd a .iconbox img {
    height: 22px;
    display: block;
    margin: 0 auto;
  }
  footer .wrapper .menubox .dl02 dt a p,
  footer .wrapper .menubox .dl02 dd a p {
    color: #434343;
    width: calc(100% - 39px);
    font-size: 8px;
    padding-left: 10px;
  }
  footer .wrapper .menubox .dl02 dt a .arrow,
  footer .wrapper .menubox .dl02 dd a .arrow {
    width: 15px;
    display: block;
  }
  footer .info_dl {
    max-width: 1720px;
    margin: -10px auto 0;
    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 .info_dl dt {
    width: calc(100% - 80px);
    font-size: 5px;
  }
  footer .info_dl dd {
    width: 80px;
    text-align: right;
  }
  footer .info_dl dd a {
    text-decoration: none;
    color: #434343;
    font-size: 5px;
  }
}