@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*---------------------------------------------
    html
---------------------------------------------*/
html {
  font-size: 62.5%;
}

/*---------------------------------------------
    body
  ---------------------------------------------*/
body {
  -webkit-text-size-adjust: 100%;
  color: #13334c;
  font-family: '小塚ゴシック Pro','Kozuka Gothic Pro',"Noto Sans JP",'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
  font-size: 1.6em;
  line-height: 1.8;
  text-align: left;
}

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

/*---------------------------------------------
    link
  ---------------------------------------------*/
a {
  -webkit-transition-duration: 0.5s;
  color: inherit;
  outline: none;
  text-decoration: none;
  transition-duration: 0.5s;
}

a img {
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

a img:hover {
  opacity: 0.8;
}

/*---------------------------------------------
    common
  ---------------------------------------------*/
html {
  -webkit-text-size-adjust: none;
}

img {
  height: auto;
  max-width: 100%;
}

input[type="submit"], input[type="reset"], input[type="button"], button {
  cursor: pointer;
}

#wrapper {
  margin: 0 auto;
  width: 100%;
}

@media screen and (max-width: 820px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width: 821px) {
  .sp {
    display: none;
  }
}

input[type="submit"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}

.fadein {
  -webkit-transform: translate(0, 50px);
  -webkit-transition: all 700ms;
  opacity: 0.1;
  transform: translate(0, 50px);
  transition: all 700ms;
}

.fadein.scrollin {
  -webkit-transform: translate(0, 0);
  opacity: 1;
  transform: translate(0, 0);
}

.bg-fixed {
  height: 100%;
  position: fixed;
  width: 100%;
}

/*---------------------------------------------
    header
  ---------------------------------------------*/
#header {
  background: #fff;
  height: 100vh;
  margin-bottom: 160px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

#header::before {
  background: #1E499D;
  content: "";
  display: block;
  height: 100vh;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

#header::after {
  -webkit-transform: rotate(25deg);
  background: #fff;
  content: "";
  display: block;
  height: 200vh;
  left: -50%;
  position: absolute;
  top: -70%;
  transform: rotate(25deg);
  width: 100%;
  z-index: 2;
}

@media screen and (max-width: 820px) {
  #header::after {
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
  }
}

#header #h-inner {
  -ms-flex-align: center;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -webkit-box-pack: justify;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 110px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 20px;
  position: relative;
  width: 90%;
}

@media screen and (max-width: 820px) {
  #header #h-inner {
    height: 80px;
    padding: 0;
    padding: 0 5%;
    width: 100%;
  }
}

#header #h-inner .h-logo {
  left: 10%;
  padding-top: 14px;
  position: absolute;
  top: 44vh;
  width: 380px;
  z-index: 99;
}

@media screen and (max-width: 820px) {
  #header #h-inner .h-logo {
    left: 5%;
    top: 40vh;
    width: 200px;
  }
}

#header #h-inner #gnav {
  margin: 10px auto 0;
  width: 94%;
}

@media screen and (max-width: 820px) {
  #header #h-inner #gnav {
    -webkit-transition: all .5s;
    display: block;
    margin: 0;
    opacity: 0;
    position: fixed;
    right: 0 !important;
    top: 0 !important;
    transition: all .5s;
    visibility: hidden;
    width: 100%;
    z-index: 99;
  }
  #header #h-inner #gnav.open {
    -webkit-transition: all .5s;
    opacity: 1;
    position: absolute;
    transition: all .5s;
    visibility: visible;
  }
  #header #h-inner #gnav #nav-inner {
    background: #fff;
    background-size: cover;
    height: 100vh;
    opacity: .9;
    width: 100%;
    z-index: 9999;
  }
}

#header #h-inner #gnav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (min-width: 821px) {
  #header #h-inner #gnav ul {
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 820px) {
  #header #h-inner #gnav ul {
    -ms-flex-align: center;
    -ms-flex-direction: column;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
  }
}

#header #h-inner #gnav ul li {
  margin: 0 16px;
}

@media screen and (max-width: 820px) {
  #header #h-inner #gnav ul li {
    margin: 20px 0;
  }
}

#header #h-inner #gnav ul li:last-child {
  margin-right: 0;
}

@media screen and (max-width: 820px) {
  #header #h-inner #gnav ul li a {
    font-size: 1.8rem;
  }
}

#menu-button {
  display: none;
}

@media screen and (max-width: 820px) {
  #menu-button {
    cursor: pointer;
    display: inline-block;
    height: 50px;
    position: absolute;
    right: 0;
    top: 12px;
    width: 50px;
    z-index: 999;
  }
  #menu-button span {
    background: #fff;
    bottom: 0;
    display: block;
    height: 1px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
    z-index: 99;
  }
  #menu-button span::before, #menu-button span::after {
    -webkit-transition: .3s;
    background: #fff;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    transition: .3s;
    width: 25px;
  }
  #menu-button span::before {
    top: -10px;
  }
  #menu-button span::after {
    top: 10px;
  }
  #menu-button .close {
    background: transparent;
  }
  #menu-button .close:before, #menu-button .close:after {
    top: 0;
  }
  #menu-button .close:before {
    -webkit-transform: rotate(-45deg);
    background: #fff;
    transform: rotate(-45deg);
  }
  #menu-button .close:after {
    -webkit-transform: rotate(-135deg);
    background: #fff;
    transform: rotate(-135deg);
  }
}

/*---------------------------------------------
    main
  ---------------------------------------------*/
#main {
  width: 100%;
}

#wrapper {
  height: auto;
  position: relative;
  width: 100%;
}

a {
  color: black;
  text-decoration: none;
}

/*---------------------------------------------
    footer
  ---------------------------------------------*/
footer {
  margin-bottom: 20px;
  margin-top: 20px;
}

footer #f-inner .copy {
  font-size: 1.4rem;
  margin: 0 auto;
  text-align: center;
}

.pagetop {
  bottom: 4px;
  display: none;
  position: fixed;
  right: 20px;
}

.gotop {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  font-size: 1.4rem;
  height: 60px;
  letter-spacing: -1px;
  padding-top: 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 60px;
}

.gotop::before {
  -webkit-transform: rotate(-45deg);
  border-right: 2px solid #333;
  border-top: 2px solid #333;
  content: "";
  display: block;
  height: 25%;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 25%;
  transform: rotate(-45deg);
  width: 25%;
}

.gotop:hover {
  opacity: .7;
}

.scrolldown2 {
  bottom: 200px;
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  right: 20%;
  z-index: 9999;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  bottom: 10px;
  /*テキストの形状*/
  color: #eee;
  font-size: 1.2rem;
  left: 10px;
  letter-spacing: 0.05em;
  /*描画位置*/
  position: absolute;
  writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  -webkit-animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
  background: #eee;
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: 10px;
  left: -4px;
  /*描画位置*/
  position: absolute;
  /*丸の形状*/
  width: 10px;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@-webkit-keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}
@keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}

/*上から下にかけて丸が透過→不透明→透過する*/
@-webkit-keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

/* 線の描写 */
.scrolldown2:after {
  background: #eee;
  bottom: 0;
  content: "";
  height: 50px;
  left: 0;
  /*描画位置*/
  position: absolute;
  /*線の形状*/
  width: 2px;
}
