@media "utf-8";

@font-face {

}

html {
  font-size: 62.5%;
  min-width: 964px;
  overflow-y: scroll;
}

body {
  color: #333333;
  font-size: 1.6rem;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.025em;
}

a { color: #333333;}

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

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

/* ---------------------------
  utility
----------------------------- */

.wrapper {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 32px;
}

.center {
  text-align: center;
}

.center-abs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.flex {
  display: flex;
}

.hidden {
  overflow: hidden;
}

.pc {
  display: block;
}

.tab {
  display: none;
}


/* ---------------------------
  triangle
----------------------------- */
/* triangle */
.triangle__left {
  display: block;
  position: absolute;
  top: 0;
  left: -16px;
  border-top: 20px solid transparent;
  border-right: 8px solid #fbb03b;
  border-bottom: 20px solid #fbb03b;
  border-left: 8px solid transparent;
}
.triangle__right {
  display: block;
  position: absolute;
  top: 0;
  right: -16px;
  border-top: 20px solid #fbb03b;
  border-right: 8px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 8px solid #fbb03b;
}
.triangle__right.triangle__big.tab {
  display: none;
}

/* ---------------------------
  section
----------------------------- */
section {
  margin-bottom: 80px;
}
section h2 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 64px;
}
section .container {
  box-sizing: border-box;
  width: 66.6666%;
  padding: 48px 32px;
  padding-right: 112px;
  margin-bottom: 56px;
  background-color: #f2f2f2;
  position: relative;
}
section .container:last-of-type {
  margin-bottom: 0;
}
section .container__img {
  position: absolute;
  top: 0;
  right: -50%;
  width: calc(50% + 80px);
  height: 100%;
}
section h3 {
  font-size: 2.8rem;
  margin-bottom: 32px;
}
section p {
  line-height: 1.75;
}

/* ---------------------------
  header
----------------------------- */
.header {
  background-color: #f2f2f2;
  padding-top: 16px;
  margin-bottom: 80px;
}
.header__inner {
  margin-left: 152px;
}
h1 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 16px;
}
h1 a:hover {
  opacity: 0.8;
}
.header__news {
  padding: 4px 8px;
  background-color: #ffffff;
  margin-bottom: 16px;
  display: inline-block;
}
.header__news span {
  margin-right: 16px;
}
.header__news span:last-of-type {
  margin-right: 0;
}
.header__news .more-read a {
  color: #fbb03b;
}
.header__news .more-read a:hover {
  text-decoration: underline;
}

/* navigation */
nav {
  background-color: #333333;
  height: 40px;
}
nav > .wrapper {
  position: relative;
}
.nav__img {
  width: 136px;
  height: 136px;
  position: absolute;
  bottom: 0;
  left: 16px;
  z-index: 1000;
}
.nav__text {
  width: calc(100% - 168px);
  margin-left: 152px;
}
.nav__text ul {
  box-sizing: border-box;
  display: flex;
}
.nav__text ul li {
  width: 25%;
  position: relative;
  display: inline-block;
  margin-left: 32px;
  box-sizing: border-box;
  transition: all 0.2s;
}
.nav__text ul li:hover {
  /* opacity: 0.8; */
  transform: translate(-4px, -6px);
}
.nav__text ul li a {
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  background-color: #fbb03b;
}

/* current */
.nav__text ul li a.current .dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #3ca0fa;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.nav__text ul li a.hover .dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #3ca0fa;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}


/* ---------------------------
  game
----------------------------- */
.game {
  width: 900px;
  padding-top: 550px;
  position: relative;
}
.game iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---------------------------
  footer
----------------------------- */
footer {
  height: 80px;
  background-color: #f2f2f2;
  text-align: center;
}
footer .wrapper {
  position: relative;
}
.copyright {
  line-height: 80px;
  font-size: 1.4rem;
  color: #777777;
}
.produce {
  font-size: 1.6rem;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translate(0, -50%);
}
.produce a {
  display: block;
  background-color: #fbb03b;
  padding: 8px 16px;
}
.produce a:hover {
  opacity: 0.9;
}

/* ---------------------------
  page__background
----------------------------- */
/* scroll-animation */
.container__img img {
  position: absolute;
}
#factory {
  top: 0;
  left: 0;
}
#recycle {
  top: 5%;
  left: 30%;
  transform: rotate(0deg);
}
#chevron {
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, -120%);
  opacity: 0;
}
#nuclear {
  width: 35px;
  z-index: 1000;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
}
#nuclears {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.container__img__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#space, #sea, #ice {
  width: 50%;
  top: 50%;
  transform: translateY(-50%);
}
#space {
  left: 0;
}
#sea {
  left: 55%;
}
#ice {
  left: 110%;
}
#layer {
  left: 0;
  bottom: -90%;
}


/* ---------------------------
  page__concept
----------------------------- */
/* scroll-animation */
#student {
  left: 0;
  z-index: 1000;
  bottom: 48px;
}
#pc {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
#stop_pc, #stop_layer {
  top: 50%;
  transform: translate(0, -50%);
  width: 48%;
}
#stop_pc {
  left: 0;
}
#stop_layer {
  right: 0;
}
#stop {
  display: none;
}

/* ---------------------------
  page__education
----------------------------- */
/* contact-form */
.contact-form {
  width: 868px;
  background-color: #ffffff;
  box-shadow: 3px 3px 2px rgba(0,0,0,0.3);
  padding: 40px 32px;
  box-sizing: border-box;
}

.contact-form__container {
  width: 50%;
  margin-right: 24px;
  margin-bottom: 24px;
  box-sizing: border-box;
}
.contact-form__container:last-of-type {
  margin-right: 0;
}
.contact-form__container dl {
  margin-bottom: 16px;
}
.contact-form__container dl:last-of-type {
  margin-bottom: 0;
}
.contact-form__container dt {
  margin-bottom: 8px;
}
.contact-form__container dl dd input, .contact-form__container dl dd textarea {
  box-sizing: border-box;
  background-color: #f2f2f2;
  width: 100%;
  padding: 8px 16px;
  font-size: 1.6rem;
}
.contact-form__container dl dd textarea {
  resize: none;
  height: 254px;
}


/* formまわり */
.must {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 4px;
  background-color: #333333;
  color: #ffffff;
  font-size: 1.2rem;
  border-radius: 5%;
}
.contact-form input.btn__send {
  display: block;
  margin: 0 auto;
  font-size: 2rem;
  background-color: #fbb03b;
  padding: 8px 16px;
  text-align: center;
}
.btn__send:hover {
  opacity: 0.9;
}


/* ---------------------------
  page__post
----------------------------- */
.post__time {
  margin-bottom: 8px;
}
.new__badge {
  display: inline-block;
  margin-right: 8px;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  background-color: #3ca0fa;
  padding: 4px 8px;
  border-radius: 5%;
  text-transform: uppercase;
}

/* ---------------------------
  loading-animation
----------------------------- */
.loader{
  background:#f2f2f2;
  width: 100%;
  height:100vh;
  left:0;
  position:fixed;
  top:0;
  z-index:9999;
}
/* loader */
.loader-animation,
.loader-animation:after {
  border-radius: 50%;
  width: 64px;
  height: 64px;
}
.loader-animation {
  font-size: 10px;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(251,176,59, 0.2);
  border-right: 1.1em solid rgba(251,176,59, 0.2);
  border-bottom: 1.1em solid rgba(251,176,59, 0.2);
  border-left: 1.1em solid #fbb03b;
  animation: load8 1.1s infinite linear;
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
}
@keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



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

  html {
    min-width:auto;
  }
  /* ---------------------------
    utility
  ----------------------------- */
  .tab {
    display: block;
  }
  .pc {
    display: none;
  }

  /* ---------------------------
    section
  ----------------------------- */
  section .container {
    width: 100%;
    padding-right: 32px;
  }
  section .container__img {
    position: static;
    width: 100%;
    top: auto;
    right: auto;
    text-align: center;
  }
  section h2 {
    font-size: 3.2rem;
  }
  section h3 {
    font-size: 2.4rem;
  }
  section p {
    margin-bottom: 24px;
  }

  /* ---------------------------
    header
  ----------------------------- */
  .header__inner {
    margin-left: 120px;
  }
  .header__news {
    line-height: 1.5;
  }
  .header__news span:nth-of-type(3) {
    margin-right: 0;
  }

  /* navigation */
  nav {
    position: relative;
  }
  nav>.wrapper {
    position: static;
    padding: 0;
  }
  #nav__button {
    position: absolute;
    top: 0;
    right: 32px;
    background-color: #fbb03b;
    width: 40px;
    height: 40px;
    transition: 0.2s;
    z-index: 100;
  }
  #nav__button.active {
    transform: translate(-4px, -6px);
  }
  #nav__button img:last-of-type{
    opacity: 0;
  }
  #nav__button.active img:last-of-type{
    opacity: 1;
  }
  .nav__text {
    width: 100%;
    margin-left: 0;
    padding: 64px 32px 16px;
    padding-left: 186px;
    box-sizing: border-box;
    background-color: #333333;
    position: absolute;
    bottom: 40px;
    left: calc(-100% - 100px);
    transition: 0.8s;
  }
  .nav__text.active{
    left: 0;
  }
  .nav__text.active ul{
    transform: translateX(0);
  }
  .nav__text ul {
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    transform: translateX(-600px);
    transition: 1s;
  }
  .nav__text ul li {
    width: calc(50% - 16px);
    margin-left: 0;
  }
  .nav__text ul li:nth-of-type(1), .nav__text ul li:nth-of-type(2) {
    margin-bottom: 16px;
  }
  .nav__text ul li:hover {
    transform: none;
  }

  /* triangle__big*/
  .triangle__right.triangle__big.tab {
    display: block;
    top: auto;
    bottom: 0;
    right: -64px;
    border-top: 80px solid #333333;
    border-right: 32px solid transparent;
    border-bottom: 80px solid transparent;
    border-left: 32px solid #333333;
  }


  /* ---------------------------
    game
  ----------------------------- */
  main.top-page {
    overflow-x: scroll;
  }

  /* ---------------------------
    page__background
  ----------------------------- */
  .container__img img {
    position: static;
    margin: 0 auto;
  }

  /* ---------------------------
    page__education
  ----------------------------- */
  /* contact-form */
  .contact-form {
    width: 100%;
  }

}


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

  /* ---------------------------
    utility
  ----------------------------- */
  .wrapper {
    padding: 0 16px;
  }

  /* ---------------------------
    header
  ----------------------------- */
  .header__inner {
    margin-left: 0;
  }
  h1 {
    font-size: 2rem;
    text-align: left;
  }
  .header__news {
    margin-left: 120px;
    font-size: 1.4rem;
  }
  .header__news span {
    margin-right: 8px;
  }

  /* navigation */
  .nav__img {
    left: 0;
  }
  .nav__text {
    padding: 24px 32px;
    padding-left: 154px;
  }
  .nav__text ul li a {
    font-size: 1.2rem;
  }

  /* ---------------------------
    page__education
  ----------------------------- */
  /* contact-form */
  .contact-form > .flex {
    display: block;
  }
  .contact-form__container {
    width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
  }
  .btn__send {
    font-size: 1.6rem;
  }

  /* ---------------------------
    post
  ----------------------------- */
  section.news .container {
    padding: 32px 16px;
  }
  .post__contents {
    padding: 32px 24px;
  }
  .post__contents p {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  /* ---------------------------
    footer
  ----------------------------- */
  .produce {
    font-size: 1.4rem;
  }


}
