/*
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Oswald', sans-serif;
font-family: 'Otomanopee One', sans-serif;
*/

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/**********************Navbar************************/
.navbar {
  height: 107px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  overflow: hidden;
  background-color: #ffff;

}

.lefth {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
}


.righth {
  font-family: 'Otomanopee One', sans-serif;
  padding-left: 10%;
  padding-top: 15%;
  font-size: 5rem;
  font-weight: 400;
}

.righth3 {
  font-family: 'Otomanopee One', sans-serif;
  padding-left: 10%;
  padding-bottom: 10%;
  padding-top: 5%;
}

.leftp {
  padding-top: 10%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.rightp {
  color: #777;
  padding: 10%;
  padding-top: 5%;
  font-size: 1.15rem;
}

li {
  float: right;
}

li a:hover:not(.active) {
  color: #fff;
  transform: translateY(-0.3rem);
  text-shadow: -3px 6px 6px rgba(0, 0, 0, 0.65);
}

.horizontalnav {
  float: right;
  display: block;
  color: black;
  text-align: center;
  padding: 30px 20px;
  text-decoration: none;
  font-weight: 100;
}

.square {
  margin-top: 14px;
  margin-right: 12px;
  height: 20px;
  width: 20px;
  background-color: #2F5D62;
  float: left;
}

li .Headname {
  float: left;
  color: black;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  padding-top: 15px;
}

li .Headname:hover:not(.active) {
  color: #2F5D62;
}

.horizontalnav:hover:not(.active) {
  color: #2F5D62;
  transform: translateY(-0.3rem);
  text-shadow: -3px 6px 6px rgba(0, 0, 0, 0.57);
}


/*****************Landing Page **********************/

.landing {
  padding-top: 107px;
  background: linear-gradient(to right, #5E8B7E 0%, #5E8B7E 40%, #000000 40%, white 40%, white 100%);
  height: 780px;
  display: flex;
  justify-content: center;
}

.block {
  padding-top: 10%;
  height: 500px;
  width: 68%;

}

.left {
  background-color: #A7C4BC;
  width: 45%;
  height: 500px;
  float: left;
  position: relative;
  box-shadow: -12px 10px 20px -5px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -12px 10px 20px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -12px 10px 20px -5px rgba(0, 0, 0, 0.75);
}

.right {
  height: 500px;
  width: 55%;
  float: right;
}

.centered {

  padding-top: 10%;
  text-align: center;
}

.centered .profile {
  width: 150px;
  border-radius: 50%;
}

.leftfooter {
  background-color: #fff;
  height: 10%;
  bottom: 0;
  position: absolute;
  width: 100%;
}

.logo {

  padding: 4%;
  width: 20px;
  height: 20px;
}

.logo:hover:not(.active) {
  transform: translateY(-0.3rem);
  box-shadow: -3px 6px 6px rgba(0, 0, 0, 0.57);
}

.hl {
  padding-top: 10%;
  margin: auto;
  border-bottom: 4px solid #2F5D62;
  width: 20%;
}


.btn {
  background: #2F5D62;
  -webkit-border-radius: 26;
  -moz-border-radius: 26;
  border-radius: 26px;
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  margin-left: 10%;
  top: 10%;
}

.btn:hover:not(.active) {
  color: #2F5D62;
  background-color: #fff;
  text-decoration: none;
  transform: translateY(-0.3rem);
  box-shadow: -3px 6px 6px rgba(0, 0, 0, 0.57);
  border: solid #2F5D62 2px;
}

.btn2 {

  -webkit-border-radius: 26;
  -moz-border-radius: 26;
  border-radius: 26px;
  font-family: Arial;
  color: #2F5D62;
  font-size: 14px;
  background: #fff;
  padding: 10px 20px 10px 20px;
  border: solid #2F5D62 2px;
  text-decoration: none;
  margin-left: 5%;
}

.btn2:hover {
  background: #2F5D62;
  color: #fff;
  text-decoration: none;
  transform: translateY(-0.3rem);
  box-shadow: -3px 6px 6px rgba(0, 0, 0, 0.57);
}

.phnbtn {
  display: none;
}

.navigation {
  display: none;
}

/***********************************footer**************/

.footer {
  height: 130px;
  background-color: white;
}

.copy {
  color: #777;
  padding-left: 4%;
  padding-top: 4%;
  font-size: .75rem;
  float: left;
}

.grid-container {
  text-align: center;
  display: grid;
  grid-template-columns: 58% 14% 14% 14%;
  padding: 10px;
}

.footerh {
  padding: 8%;
}

.footerp {
  color: #777;
  text-decoration: none;
}

.footerp:hover:not(.active) {
  color: #2F5D62;
  transform: translateY(-0.3rem);
  text-shadow: -3px 6px 6px rgba(0, 0, 0, 0.57);
}

.footlogo {
  padding: 2%;
  width: 15px;
  height: 15px;
}

.footlogo:hover:not(.active) {
  transform: translateY(-0.3rem);
  box-shadow: -3px 6px 6px rgba(0, 0, 0, 0.57);
}




/*Responsive*/

@media only screen and (max-width: 893px) {
  .rightp {
    font-size: 1.05rem;
  }

  .lefth {
    font-size: 2.1rem;
  }
}

@media only screen and (max-width: 794px) {
  .block {
    width: 85%;
  }

  .righth3 {
    font-size: 1rem;
  }

  .lefth {
    font-size: 2rem;
  }
}



@media only screen and (max-width:750px) {
  .landing {
    background: linear-gradient(to bottom, #fff 0%, #fff 26%, #000000 26%, #5E8B7E 26%, #5E8B7E 100%);
    height: 180vh;
  }

  .left {
    width: 100%;
    float: none;
    height: 100%;
  }

  .right {
    width: 100%;
    float: none;
  }

  .horizontalnav {
    display: none;
  }

  .rightp {
    color: #000000;
  }

  .btn {
    display: none;
  }

  .btn2 {
    display: none;
  }

  .phnbtn {
    display: revert;
    margin-left: 0;
  }

  span {
    display: none;
  }

  .leftp {
    display: none;
  }

  .hl {
    margin-bottom: 10%;
  }

  .grid-container {
    text-align: center;
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
  }


  /*******navbar************/
  .navigation {
    display: revert;
  }

  .navigation__checkbox {
    display: none;
  }

  .navigation__button {
    background-color: #fff;
    height: 3rem;
    width: 3rem;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    border-radius: 50%;
    z-index: 2000;
  }

  .navigation__background {
    height: 2.8rem;
    width: 2.8rem;
    border-radius: 50%;
    position: fixed;
    top: 1.6rem;
    right: 1.6rem;
    background-image: radial-gradient(#A7C4BC, #A7C4BC);
    z-index: 1000;
    transition: .8s;

  }

  .navigation__nav {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0%;
    z-index: 1500;
    opacity: 0;
    width: 0;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .navigation__list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    width: 100%;
  }

  .navigation__item {
    margin: 1rem;
  }

  .navigation__link:link,
  .navigation__link:visited {
    display: inline-block;
    font-size: .85rem;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    color: #2F5D62;
    padding: 2rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
  }

  .navigation__checkbox:checked~.navigation__background {
    transform: scale(80);
  }

  .navigation__checkbox:checked~.navigation__nav {
    opacity: 1;
    width: 100%;
  }

  .navigation__icon {
    position: relative;
    margin-top: 1.5rem;
    margin-left: .3rem;
  }

  .navigation__icon,
  .navigation__icon::before,
  .navigation__icon::after {
    width: 2.3rem;
    height: 2.5px;
    background-color: #333;
    display: inline-block;
  }




  .navigation__icon::before,
  .navigation__icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: all .2s;
  }

  .navigation__icon::before {
    top: -.8rem;
  }

  .navigation__icon::after {
    top: .8rem;
  }

  .navigation__button:hover .navigation__icon::before {
    top: -1rem;
  }

  .navigation__button:hover .navigation__icon::after {
    top: 1rem;
  }

  .navigation__checkbox:checked+.navigation__button .navigation__icon {
    background-color: transparent;
  }

  .navigation__checkbox:checked+.navigation__button .navigation__icon::before {
    top: 0;
    transform: rotate(135deg);
  }

  .navigation__checkbox:checked+.navigation__button .navigation__icon::after {
    top: 0;
    transform: rotate(-135deg);
  }

}

@media only screen and (max-width: 450px) {
  .left {
    height: 80%;
  }
  .landing{
    height: 150vh;
  }
}