@charset "utf-8";

/*----------------------------------

Setup

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

body {
  height: 100%;
  text-align: left;
  color: #111;
  font-size: 100%;
  font-weight: 400;
  font-family: 'Overpass',"游ゴシック体","Yu Gothic",YuGothic,"メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  letter-spacing: .12em;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
  animation: fadeIn 2s ease 0s 1 normal;
}

a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #4ba9c1;
}

a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #5db5cb;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

a:hover::after {
  transform: scale(1, 1);
}

::-moz-selection {
  background: #283431;
  color: #fff;
}

::selection {
  background: #283431;
  color: #fff;
}

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

.inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 60px;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}



/*----------------------------------

Header

----------------------------------*/
#global {
  position: absolute;
  z-index: 9999;
  width: 100%;
}

#global nav > ul:last-child {
  display: none;
}

#global nav > ul:first-child {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: flex-end;
  justify-content: flex-end;
}

#global nav > ul:first-child a {
  color: #ccc;
  font-size: 1.3rem;
}

#global nav > ul:first-child a::after {
  background: #ccc;
}

#global nav > ul:first-child li {
  margin: 40px 50px 0 0;
}

.hamburger,
.blackbg {
  display: none;
}


/*----------------------------------

Footer

----------------------------------*/
footer {
  background: #111;
  padding: 50px;
  color: #fff;
  font-size: 1.2rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: space-between;
  justify-content: space-between;
  align-items: center;
}

footer ul {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: start;
  justify-content: start;
  align-items: center;
}

footer li {
  margin-right: 40px;
}

footer li:nth-child(1) {
  width: 134px;
}

footer li:nth-child(n+2) {
  width: 26px;
}

footer li a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

footer li a:after {
  display: none;
}

footer li:nth-child(1) a:hover {
  -webkit-transform: scale(.95);
  transform: scale(.95);
}

footer li a:hover {
  -webkit-transform: scale(.9);
  transform: scale(.9);
}


/*----------------------------------

Second

----------------------------------*/
.second #global {
  position: absolute;
  z-index: 9999;
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: space-between;
  justify-content: space-between;
  align-items: center;
}

.second #global nav > ul:first-child a {
  color: #111;
}

.second #global nav > ul:first-child a::after {
  background: #111;
}

.second #global h1 {
  width: 220px;
  padding: 26px 0 0 50px;
}

.second #global h1 a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.second #global h1 a:hover {
  -webkit-transform: scale(.95);
  transform: scale(.95);
}

.second #global h1 a:after {
  display: none;
}

.second .hamburger span {
  background-color: #111;
}

.second.navopen .hamburger span {
  background-color: #fff;
}

.second h2 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  padding-bottom: 120px;
}


/*----------------------------------

Contents

----------------------------------*/
#contents {
  font-size: 1.5rem;
  padding: 180px 0;
}


/*----------------------------------
------------------------------------
------------------------------------

Breakpoint

------------------------------------
------------------------------------
----------------------------------*/
@media screen and (max-width: 768px) {

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

.inner {
  padding: 0 20px;
}

.blackbg {
  display: block;
}

#global {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10000;
  letter-spacing: .3em;
  padding: 0;
}

#global nav {
  position: fixed;
  right: -320px;
  top: 0;
  width: 260px;
  height: 100vh;
  padding-top: 50px;
  background-color: #283431;
  transition: all .6s;
  z-index: 200;
  overflow-y: auto;
}

#global nav > ul:first-child {
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
}

#global nav > ul:first-child li {
  text-align: center;
  padding: 0 20px;
  margin: 0;
}

#global nav > ul:first-child li a {
  font-size: 1.3rem;
  padding: 15px 0;
  color: #fff !important;
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
}

#global nav > ul:first-child li a::after {
  background: #fff;
  bottom: 10px;
}

#global nav > ul:last-child {
  display: block;
}

#global nav > ul:last-child li a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#global nav > ul:last-child li:nth-child(1) a:hover {
  -webkit-transform: scale(.95);
  transform: scale(.95);
}

#global nav > ul:last-child li a:hover {
  -webkit-transform: scale(.9);
  transform: scale(.9);
}

#global nav > ul:last-child li a::after {
  display: none;
}

#global nav > ul:last-child > li:nth-child(1) {
  width: 120px;
  margin: 30px auto 45px;
}

#global nav > ul:last-child > li:nth-child(2) {
  width: 100%;
  padding: 0 20%;
}

#global nav > ul:last-child > li:nth-child(2) ul {
  margin: 0 auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: space-between;
  justify-content: space-between;
  z-index: 500;
  position: absolute;
  width: 60%;
}

#global nav > ul:last-child  > li:nth-child(2) li {
  width: 22px;
}

.hamburger {
  display: block;
  position: fixed;
  right: 20px;
  top: 20px;
  width: 18px;
  height: 15px;
  cursor: pointer;
  z-index: 300;
}

.hamburger span {
  position: absolute;
  left: 0px;
  width: 18px;
  height: 1px;
  background-color: #fff;
  transition: all .6s;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 7px;
}

.hamburger span:nth-child(3) {
  top: 14px;
}

.blackbg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all .6s;
  cursor: pointer;
}

.navopen #global nav {
  right: 0;
}

.navopen .blackbg {
  opacity: .8;
  visibility: visible;
}

.navopen .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.navopen .hamburger span:nth-child(2) {
  width: 0;
  left: 50%;
}

.navopen .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

footer {
  padding: 50px 20px; 
  flex-direction: column;
  position: static;
}

footer ul {
  -webkit-box-pack: space-between;
  justify-content: space-between;
  width: 100%;
}

footer li {
  margin-right: 0;
}

footer li:nth-child(1) {
  width: 107px;
}

footer li:nth-child(n+2) {
  width: 23px;
}

footer p {
  padding-top: 40px;
  font-size: 1rem;
}

.second #global h1 {
  width: 150px;
  padding: 14px 0 0 0;
  margin: 0 auto;
}

.second h2 {
  font-size: 2rem;
  padding-bottom: 50px;
}

.second #global nav > ul:first-child a::after {
  background: #fff;
}

#contents {
  font-size: 1.2rem;
  padding: 100px 0 90px;
}




  


}


