@import url("https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap");
body {
  color: #808080;
  font-family: "M PLUS Rounded 1c", "Noto Serif JP";
  font-weight: 200;
  line-height: 1.8;
}

a {
  color: #808080;
  text-decoration: none;
}

ul {
  list-style: none;
}

/*============
nav
=============*/
nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  background: whitesmoke;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 3;
  opacity: 0;
}

.open nav {
  left: 0;
  opacity: 1;
}

nav .inner {
  padding: 25px;
}

nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}

nav .inner ul li a {
  display: block;
  color: #808080;
  font-size: .8rem;
  padding: 1rem;
  text-decoration: none;
  transition-duration: 0.2s;
}

nav .inner ul li a:hover {
  background: #e4e4e4;
}

@media screen and (max-width: 767px) {
  nav {
    left: -220px;
    width: 66%;
  }
}
/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}

.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #505050;
  border-radius: 4px;
  transition: all .5s;
}

.toggle_btn span:nth-child(1) {
  top: 5px;
}

.toggle_btn span:nth-child(2) {
  top: 14px;
}

.toggle_btn span:nth-child(3) {
  bottom: 4px;
}

.open .toggle_btn span {
  background-color: #fff;
}

.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}

/*============
#mask
=============*/
#mask {
  display: none;
  transition: all .5s;
}

.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}

.hlogo {
  z-index: 2;
  top: 30px;
  left: 30px;
  width: 260px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  position: fixed;
}
.hlogo img {
  object-fit: contain;
  width: 100%;
}
.hlogo .ll {
  max-width: 180px;
}
.hlogo .rl {
  max-width: 54px;
}

.start {
  background: #FFF;
  position: fixed;
  height: 110vh;
  width: 100%;
  z-index: 9000;
}

.start p {
  width: min(220px, 100%);
  position: absolute;
  top: 45.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
}

header {
  width: 100%;
  height: 100vh;
  position: relative;
}

header h1 {
  background-image: url(../img/kosmo04.svg);
  background-position: center;
  background-repeat: no-repeat;
  height: 160px;
  position: absolute;
  font-weight: 200;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem;
}

header h1.on {
  background-image: url(../img/kosmo01.svg);
  animation: fadeIn .6s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.head_i {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.head_i img {
  width: min(220px, 100%);
  object-fit: cover;
  overflow: hidden;
  position: absolute;
  top: 50%;
  bottom: 50%;
}

#main section {
  display: flex;
  width: 100%;
  height: 600px;
  margin: 0 auto;
  padding: 0;
}

#main {
  background: white;
  transition: 1s;
}

#main.on {
  background: whitesmoke;
}

.s1 {
  display: flex;
}

.s2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
}

.s3 {
  display: flex;
}

.s4 {
  display: flex;
}

.s5 {
  display: flex;
}

.s6 {
  display: flex;
}

.s7 {
  display: flex;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding: 2rem;
}

.link {
  display: block;
  text-align: right;
  border-bottom: solid 1px;
}

.left img {
  width: 100%;
  border-radius: 1rem;
  height: auto;
  object-fit: contain;
}
.left h2 {
  font-size: 1.3rem;
  font-weight: 400;
  width: 80%;
  margin: 0 auto;
}
.left h3 {
  font-size: 1.1rem;
  font-weight: 400;
  width: 80%;
  margin: 0 auto;
}
.left p {
  font-size: .9rem;
  font-weight: 200;
  width: 80%;
  margin: 0 auto;
}
.left span {
  font-size: 1.1rem;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding: 2rem;
}

.right img {
  width: 100%;
  border-radius: 1rem;
  height: auto;
  object-fit: contain;
}
.right h2 {
  font-size: 1.3rem;
  font-weight: 400;
}
.right h3 {
  font-size: 1.3rem;
  font-weight: 400;
}
.right h4 {
  font-size: 1rem;
  font-weight: 400;
  margin: 1rem 0 0 0;
}
.right p {
  font-size: .8rem;
  font-weight: 200;
}
.right span {
  font-size: .9rem;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 2rem;
}

.center img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}
.center h2 {
  font-size: 1.3rem;
  font-weight: 400;
}
.center p {
  font-size: .9rem;
  font-weight: 200;
}
.center span {
  font-size: 1.1rem;
}

#news {
  margin-top: 2rem;
}

.s2 h2 {
  font-weight: 400;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
}

.info {
  width: min(1000px, 90vw);
  margin: 1rem auto;
  padding: 0 2rem;
  text-align: left;
  font-size: 1rem;
  overflow: auto;
  height: 30rem;
  background-color: #fcfcfc;
}

.tile--custom-scrollbar::-webkit-scrollbar {
  width: 10px;
  background-color: #eff1f5;
}

.tile--custom-scrollbar::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: transparent;
}

.tile--custom-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #515769;
  border: 2px solid #eff1f5;
}

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

.info dl {
  font-size: .9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ccc;
}
.info dt {
  font-size: .9rem;
  padding-bottom: 0;
  width: 6rem;
  font-weight: 600;
}

.red {
  color: orangered;
  font-weight: 600;
}

.blue {
  color: royalblue;
  font-weight: 600;
}

.s6 h3 {
  font-weight: 400;
}

#map {
  height: 400px;
  width: 100%;
  /* The height is 400 pixels */
  /* The width is the width of the web page */
  margin-top: 20px;
  margin-bottom: 20px;
}

footer {
  font-size: .7rem;
  font-weight: 200;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form img {
  margin: 1rem;
}

#page-top {
  position: fixed;
  z-index: 2;
  opacity: 0;
  transform: translateX(100px);
  right: 5px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  transform: rotate(180deg);
  font-size: 80%;
  line-height: 1.5rem;
  color: #080F09;
  padding: 0 0 0 25px;
  border-top: solid 1px;
}

#page-top a {
  color: #080F09;
}

#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  border-top: solid 1px;
  transform-origin: left top;
}

#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100px);
  }
}
@media screen and (max-width: 776px) {
  .hlogo {
    z-index: 2;
    top: 27px;
    left: 8px;
    width: 220px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    position: fixed;
  }
  .hlogo img {
    object-fit: contain;
    width: 100%;
  }
  .hlogo .ll {
    max-width: 150px;
  }
  .hlogo .rl {
    max-width: 36px;
  }

  #main section {
    height: auto;
    flex-direction: column;
    max-width: 90vw;
    margin: 0 auto;
  }

  .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin: auto;
    padding: 0;
  }

  .link {
    display: block;
    text-align: right;
    border-bottom: solid 1px;
  }

  .left img {
    width: 100%;
    border-radius: 1rem;
    height: auto;
    object-fit: contain;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .left h2 {
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    margin: 0 auto;
  }
  .left h3 {
    font-size: 1.2rem;
    font-weight: 400;
    width: 100%;
    margin: 0 auto;
  }
  .left p {
    font-size: .8rem;
    font-weight: 200;
    width: 100%;
    margin: 2rem auto 2rem;
  }
  .left span {
    font-size: 1rem;
    font-weight: 400;
  }

  .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin: auto;
    padding: 0;
  }

  .right {
    margin-top: 2rem;
  }
  .right img {
    width: 100%;
    border-radius: 1rem;
    height: auto;
    object-fit: contain;
  }
  .right h2 {
    font-size: 1.2rem;
    font-weight: 400;
  }
  .right h3 {
    font-size: 1.2rem;
    font-weight: 400;
  }
  .right p {
    font-size: .8rem;
    font-weight: 200;
  }
  .right span {
    font-size: 1rem;
    font-weight: 400;
  }

  .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
  }

  .center img {
    width: 100%;
    height: 120px;
    object-fit: contain;
  }
  .center h2 {
    font-size: 1rem;
    font-weight: 600;
  }
  .center p {
    font-size: .8rem;
    font-weight: 200;
  }
  .center span {
    font-size: 1rem;
    font-weight: 400;
  }

  .info dl {
    font-size: .8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ccc;
  }
  .info dt {
    font-size: .8rem;
    padding-bottom: 0;
    width: 6rem;
    font-weight: 600;
  }
}

/*# sourceMappingURL=style.css.map */
