/* ------------------------------
 common - width: all
------------------------------ */
/**
* 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?
*/
@font-face {
  font-family: LINE Seed JP_OTF;
  src: url("../font/LINESeedJP_OTF_Rg.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: LINE Seed JP_OTF;
  src: url("../font/LINESeedJP_OTF_Bd.woff2") format("woff2");
  font-weight: 700;
}
@font-face {
  font-family: LINE Seed JP_OTF;
  src: url("../font/LINESeedJP_OTF_Eb.woff2") format("woff2");
  font-weight: 900;
}
html {
  color: #000;
  background: #FFF;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  font-family: LINE Seed JP_OTF;
  font-size: 100%;
  font-weight: 400;
}

/*
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;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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;
}

/*
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;
}

.cf:after {
  content: "";
  clear: both;
  display: block;
}

* {
  letter-spacing: 0.05em;
}

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

.font01 {
  font-family: "Shippori Mincho", serif !important;
}

/* ------------------------------
 common - width all
------------------------------ */
html,
body {
  min-width: 1280px;
}

header {
  background-color: #fff;
  position: fixed;
  width: 100%;
  z-index: 500;
}
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;
  padding-left: 25px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
header .wrapper .logo {
  width: 486px;
  display: block;
}
header .wrapper .logo img {
  width: 100%;
  display: block;
}
header .wrapper .gnav {
  width: calc(100% - 486px);
}
header .wrapper .gnav ul {
  font-size: 0;
  letter-spacing: 0;
  text-align: right;
}
header .wrapper .gnav ul li {
  display: inline-block;
}
header .wrapper .gnav ul li a {
  display: block;
  font-size: 14px;
  line-height: 14px;
  padding: 32px 30px;
  color: #000000;
  text-decoration: none;
  letter-spacing: 2px;
}
header .wrapper .gnav ul li.contact a {
  background-color: #004E96;
  color: #fff;
}
header .ham {
  display: none;
}
header .spmenu {
  display: none;
}

footer {
  background-color: #E7E3DE;
  padding: 48px 0;
}
footer .wrapper p {
  text-align: center;
  font-size: 12px;
  line-height: 12px;
}

/* ------------------------------
 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 {
      position: fixed;
      z-index: 500;
      
  }
  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;
    padding: 15px 20px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .wrapper .logo {
    width: 300px;
    display: block;
  }
  header .wrapper .logo img {
    width: 100%;
    display: block;
  }
  header .wrapper .gnav {
    display: none;
  }
  header .ham {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 11px;
    right: 10px;
  }
  header .spmenu {
    position: absolute;
    background-image: url(../images/s0401.png);
    background-size: 100% 100%;
    padding: 20px;
    top: 52px;
    right: 0;
    left: 0;
    z-index: 10000;
  }
  header .spmenu .spwrapper a {
    display: block;
    padding: 8px 5px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  header .spmenu .close {
    width: 120px;
    height: 30px;
    margin: 20px auto 0;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
  }
  footer {
    background-color: #E7E3DE;
    padding: 20px 0;
  }
  footer .wrapper p {
    text-align: center;
    font-size: 10px;
    letter-spacing: 0;
    line-height: 12px;
  }
}
/* ------------------------------
 width: all
------------------------------ */
main section.s01 {
  background-image: url(../images/s0102.jpg);
  background-size: cover;
  background-position: center center;
  padding-top: 80px;
}
main section.s01 .wrapper {
  height: 861px;
  position: relative;
}
main section.s01 .wrapper h2 {
  width: 116px;
  position: absolute;
  top: 100px;
  left: 150px;
}
main section.s01 .wrapper h2 img {
  width: 100%;
  display: block;
}
main section.s02 {
  height: 590px;
  background-image: url(../images/s0201.png);
  background-size: 1263px auto;
  background-position: center center;
  background-repeat: no-repeat;
}
main section.s02 .wrapper {
  padding-top: 100px;
}
main section.s02 .wrapper .t01 {
  text-align: center;
  font-size: 36px;
}
main section.s02 .wrapper .t02 {
  width: 687px;
  margin: 30px auto 0;
  font-size: 16px;
  line-height: 200%;
}
main section.s03 .wrapper .photo {
  width: 100%;
  display: block;
}
main section.s04 {
  height: auto;
  background-image: url(../images/s0401.png);
  background-size: 100% 100%;
}
main section.s04 .wrapper {
  padding-top: 75px;
  padding-bottom: 75px;
}
main section.s04 .wrapper h3 {
  width: 224px;
  margin: 0 auto 40px;
}
main section.s04 .wrapper h3 img {
  width: 100%;
  display: block;
}
main section.s04 .wrapper dl {
  margin-top: 25px;
}
main section.s04 .wrapper dl dt {
  text-align: center;
  font-size: 18px;
  color: #fff;
}
main section.s04 .wrapper dl dd {
  margin-top: 5px;
}
main section.s04 .wrapper dl dd .t01 {
  text-align: center;
  font-size: 12px;
  color: #fff;
}
main section.s04 .wrapper dl dd .t02 {
  text-align: center;
  font-size: 22px;
  color: #fff;
  margin-top: 5px;
}
main section.s04 .wrapper dl dd .t02 span {
  font-size: 16px;
}
main section.s05 {
  background-color: #E7E3DE;
  padding: 80px 0;
}
main section.s05 .wrapper {
  width: 1180px;
  margin: 0 auto;
}
main section.s05 .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;
}
main section.s05 .wrapper dl dt {
  width: 534px;
}
main section.s05 .wrapper dl dd {
  width: 520px;
}
main section.s05 .wrapper h4 {
  width: 224px;
  margin: 0 auto;
}
main section.s05 .wrapper h4 img {
  width: 100%;
  display: block;
}
main section.s05 .wrapper .name {
  width: 160px;
  display: block;
  margin: 25px auto 0;
}
main section.s05 .wrapper .t01 {
  width: 530px;
  font-size: 14px;
  line-height: 32px;
  margin-top: 40px;
}
main section.s06 .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;
}
main section.s06 .wrapper dl dt {
  width: 50%;
  text-align: right;
  font-size: 0;
  letter-spacing: 0;
  padding-right: 100px;
}
main section.s06 .wrapper dl dt .txtbox {
  width: 464px;
  display: inline-block;
}
main section.s06 .wrapper dl dt .txtbox h5 {
  width: 224px;
  margin: 0 auto;
}
main section.s06 .wrapper dl dt .txtbox h5 img {
  width: 100%;
  display: block;
}
main section.s06 .wrapper dl dt .txtbox .t01 {
  text-align: left;
  font-size: 14px;
  line-height: 32px;
  margin-top: 40px;
}
main section.s06 .wrapper dl dd {
  width: 50%;
  height: 706px;
  background-image: url(../images/s0602.jpg);
  background-size: cover;
  background-position: center center;
}
main section.s06 .wrapper dl dd img {
  display: none;
}
main section.s07 {
  padding: 70px 0 50px;
  background-image: url(../images/s0701.png);
  background-size: cover;
  background-position: top 0 center;
}
main section.s07 .wrapper h6 {
  width: 243px;
  margin: 0 auto;
}
main section.s07 .wrapper h6 img {
  width: 100%;
  display: block;
}
main section.s07 .wrapper .t01 {
  text-align: center;
  font-size: 34px;
  color: #fff;
  margin-top: 15px;
}
main section.s07 .wrapper .t02 {
  text-align: center;
}
main section.s07 .wrapper .t02 a {
  font-size: 49px;
  color: #fff;
  margin-top: 30px;
  pointer-events: none;
  text-decoration: none;
}
main section.s07 .wrapper .t03 {
  text-align: center;
  font-size: 14px;
  color: #fff;
  line-height: 100%;
}
main section.s07 .wrapper iframe {
  width: 1200px !important;
  height: 410px !important;
  display: block !important;
  margin: 20px auto 0;
}
main section.s07 .wrapper .logo02 {
  width: 225px;
  display: block;
  margin: 25px auto 0;
}
main section.s07 .wrapper .t04 {
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  margin-top: 20px;
}
main section.s07 .wrapper .t04 a {
  text-decoration: none;
  color: #fff;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  main section.s01 {
  padding-top: 40px;
    background-image: none;
  }
  main section.s01 .wrapper {
    height: auto;
    position: relative;
  }
  main section.s01 .wrapper h2 {
    width: 75vw;
    position: absolute;
    top: 7.5vw;
    left: 7vw;
    min-width: 243px;
  }
  main section.s01 .wrapper h2 img {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .bg {
    width: 100%;
    display: block;
  }
  main section.s02 {
    height: auto;
    background-image: none;
  }
  main section.s02 .wrapper {
    padding: 50px 20px;
  }
  main section.s02 .wrapper .t01 {
    text-align: center;
    font-size: 24px;
  }
  main section.s02 .wrapper .t02 {
    width: 100%;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 200%;
  }
  main section.s02 .wrapper .photo01 {
    width: 100%;
    margin-top: 25px;
  }
  main section.s03 .wrapper .photo {
    width: 100%;
    display: block;
  }
  main section.s04 {
    background-image: url(../images/s0401.png);
    background-size: 100% 100%;
  }
  main section.s04 .wrapper {
    padding: 50px 20px;
  }
  main section.s04 .wrapper h3 {
    width: 180px;
    margin: 0 auto 30px;
  }
  main section.s04 .wrapper h3 img {
    width: 100%;
    display: block;
  }
  main section.s04 .wrapper dl {
    margin-top: 25px;
  }
  main section.s04 .wrapper dl dt {
    text-align: left;
    font-size: 16px;
    color: #fff;
  }
  main section.s04 .wrapper dl dd {
    margin-top: 5px;
  }
  main section.s04 .wrapper dl dd .t01 {
    text-align: left;
    font-size: 12px;
    color: #fff;
  }
  main section.s04 .wrapper dl dd .t02 {
    text-align: left;
    font-size: 20px;
    color: #fff;
    margin-top: 5px;
  }
  main section.s04 .wrapper dl dd .t02 span {
    font-size: 16px;
  }
  main section.s05 {
    background-color: #E7E3DE;
    padding: 50px 20px;
  }
  main section.s05 .wrapper {
    width: 100%;
    margin: 0 auto;
  }
  main section.s05 .wrapper dl {
    display: block;
  }
  main section.s05 .wrapper dl dt {
    width: 100%;
  }
  main section.s05 .wrapper dl dt img {
    width: 300px;
    display: block;
    margin: 0 auto;
  }
  main section.s05 .wrapper dl dd {
    margin-top: 25px;
    width: 100%;
  }
  main section.s05 .wrapper h4 {
    width: 160px;
    margin: 0 auto;
  }
  main section.s05 .wrapper h4 img {
    width: 100%;
    display: block;
  }
  main section.s05 .wrapper .name {
    width: 140px;
    display: block;
    margin: 25px auto 0;
  }
  main section.s05 .wrapper .t01 {
    width: 100%;
    font-size: 14px;
    line-height: 32px;
    margin-top: 20px;
  }
  main section.s06 .wrapper dl {
    display: block;
  }
  main section.s06 .wrapper dl dt {
    width: 100%;
    text-align: right;
    font-size: 0;
    letter-spacing: 0;
    padding: 50px 20px 0;
  }
  main section.s06 .wrapper dl dt .txtbox {
    width: 100%;
    display: block;
  }
  main section.s06 .wrapper dl dt .txtbox h5 {
    width: 160px;
    margin: 0 auto;
  }
  main section.s06 .wrapper dl dt .txtbox h5 img {
    width: 100%;
    display: block;
  }
  main section.s06 .wrapper dl dt .txtbox .t01 {
    text-align: left;
    font-size: 14px;
    line-height: 32px;
    margin-top: 20px;
  }
  main section.s06 .wrapper dl dd {
    width: 100%;
    height: auto;
    background-image: none;
    margin-top: 20px;
  }
  main section.s06 .wrapper dl dd img {
    width: 100%;
    display: block;
  }
  main section.s07 {
    padding: 50px 20px;
    background-image: url(../images/s0701.png);
    background-size: cover;
    background-position: top 0 center;
  }
  main section.s07 .wrapper h6 {
    width: 140px;
    margin: 0 auto;
  }
  main section.s07 .wrapper h6 img {
    width: 100%;
    display: block;
  }
  main section.s07 .wrapper .t01 {
    text-align: center;
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
  }
  main section.s07 .wrapper .t02 {
    text-align: center;
  }
  main section.s07 .wrapper .t02 a {
    font-size: 32px;
    color: #fff;
    margin-top: 10px;
    pointer-events: all;
  }
  main section.s07 .wrapper .t03 {
    text-align: center;
    font-size: 12px;
    color: #fff;
    line-height: 100%;
  }
  main section.s07 .wrapper iframe {
    width: 100% !important;
    height: 250px !important;
    display: block !important;
    margin: 20px auto 0;
  }
  main section.s07 .wrapper .logo02 {
    width: 200px;
    display: block;
    margin: 25px auto 0;
  }
  main section.s07 .wrapper .t04 {
    text-align: center;
    font-size: 13px;
    line-height: 22px;
    color: #fff;
    margin-top: 20px;
  }
}