/* =======================================

	Browser Reset CSS
	Last Up Date 09/09/28

========================================== */
@font-face {
  font-family: YuGothicM;
  src: local("Yu Gothic Medium");
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, p, blockquote {
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

* html body {
  font-size: small;
}

*:first-child + html body {
  font-size: small;
}

img {
  border: 0;
  vertical-align: bottom;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

ul, dl, ol {
  text-indent: 0;
}

ul li {
  list-style: none;
}

address, caption, cite, code, dfn, em, var {
  font-style: normal;
  font-weight: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

* html input, * html textarea, * html select {
  font-size: 100%;
}

*:first-child + html + input, *:first-child html + textarea, *:first-child + html select {
  font-size: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit;
}

th, td {
  text-align: left;
  vertical-align: top;
}

caption {
  text-align: left;
}

pre, code, kbd, samp, tt {
  font-family: monospace;
}

* html pre, * html code, * html kbd, * html samp, * html tt {
  font-size: 100%;
  line-height: 100%;
}

*:first-child + html pre, *:first-child html + code, *:first-child html + kbd, *:first-child + html + samp, *:first-child + html tt {
  font-size: 108%;
  line-height: 100%;
}

input, select, textarea {
  font-size: 100%;
  font-family: Verdana, Helvetica, sans-serif;
}

img[src$=".svg"] {
  width: 100%;
  height: auto;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/* =====================
  color
===================== */
/* =====================
  font
===================== */
/*  flexbox
------------------------*/
footer #foot .area_foot {
  display: flex;
  justify-content: space-between;
}

footer #fnav ul {
  display: flex;
  justify-content: space-around;
}

/*  ttl
------------------------*/
/* =====================
  common
===================== */
html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
}
@media only screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }
}

/*  sp-display
------------------------*/
.spDb {
  display: none;
}

@media only screen and (max-width: 768px) {
  .spDb {
    display: block;
  }

  .spDn {
    display: none;
  }
}
/*  link
------------------------*/
a {
  text-decoration: none;
  transition: 0.3s;
  /*&:hover {
    opacity: 0.5;
  }*/
}

/*  pagetop
------------------------*/
#pagetop {
  position: fixed;
  right: 20px;
  bottom: 30px;
  cursor: pointer;
  z-index: 99;
  padding: 5px;
}
@media only screen and (max-width: 768px) {
  #pagetop {
    width: 20px;
    right: 10px;
    bottom: 20px;
  }
  #pagetop img {
    width: 100%;
  }
}

/*  ttl
------------------------*/
/* =====================
  header
===================== */
header {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  z-index: 100;
  /*gnav*/
}
header #gnav {
  padding: 30px;
}
@media only screen and (max-width: 1050px) {
  header #gnav {
    display: none;
  }
}
header #gnav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
header #gnav ul li a {
  color: #fff;
  margin-left: 2em;
}
header #gnav ul li a:hover {
  color: #0083AC;
}
header #gnav ul .mail a {
  display: block;
  width: 28px;
}
header #gnav ul .mail a img {
  width: 100%;
}
header .menu {
  display: none;
}
@media only screen and (max-width: 1050px) {
  header .menu {
    display: block;
    height: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    z-index: 999;
  }
}
header .menu__line {
  background: #aaa;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform .3s;
  width: 100%;
}
header .menu__line--center {
  top: 9px;
}
header .menu__line--bottom {
  bottom: 0;
}
header .menu__line--top.active {
  top: 8px;
  transform: rotate(45deg);
}
header .menu__line--center.active {
  transform: scaleX(0);
}
header .menu__line--bottom.active {
  bottom: 10px;
  transform: rotate(135deg);
}
header .gnav_sp {
  background: rgba(0, 0, 0, 0.9);
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 998;
}
header .gnav__wrap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: absolute;
  width: 100%;
}
header .gnav__menu {
  padding: 0 20px;
}
header .gnav__menu__item {
  margin: 30px 0;
}
header .gnav__menu__item a {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: .5s;
}
header .gnav__menu__item a:hover {
  color: #666;
}
header .top_lain {
  border-top: solid 1px #fff;
  padding-top: 2em;
}

/* =====================
  footer
===================== */
footer #fnav {
  background: #6A6A6A;
  padding: 30px 15px;
}
@media only screen and (max-width: 1050px) {
  footer #fnav {
    padding: 20px 15px;
  }
}
footer #fnav ul {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.4rem;
}
@media only screen and (max-width: 1050px) {
  footer #fnav ul {
    display: block;
  }
}
footer #fnav ul li, footer #fnav ul .top_lain {
  margin: 0 1em;
}
@media only screen and (max-width: 1050px) {
  footer #fnav ul li, footer #fnav ul .top_lain {
    margin: 0 1em 1.5em;
  }
  footer #fnav ul li:last-child, footer #fnav ul .top_lain:last-child {
    margin: 0 1em;
  }
}
footer #fnav ul li a, footer #fnav ul .top_lain a {
  color: #fff;
}
footer #fnav ul li a:hover, footer #fnav ul .top_lain a:hover {
  color: #0083AC;
}
@media only screen and (max-width: 1050px) {
  footer #fnav ul .top_lain {
    border-top: solid 1px #fff;
    padding-top: 1.5em;
  }
}
footer #foot {
  background: #424242;
  padding: 20px 15px;
  color: #fff;
  font-size: 1.2rem;
}
footer #foot .area_foot {
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-end;
}
@media only screen and (max-width: 1050px) {
  footer #foot .area_foot {
    display: block;
  }
}
footer #foot .area_foot .management a {
  color: #fff;
}
footer #foot .area_foot .management a:hover {
  color: #0083AC;
}
@media only screen and (max-width: 1050px) {
  footer #foot .area_foot .copyright {
    margin-top: 2em;
  }
}
