* {
  box-sizing: border-box;
}

/*=============================================
* body
*=============================================*/
body {
  color: #2B2B2B;
  font-family: 'Noto Sans JP';
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.02em;
  background: #fff;
  min-width: inherit;
  min-height: inherit;
  max-height: 100%;
}

@media only screen and (min-width: 1000px) {
  body {
    font-size: 20px;
    line-height: 45px;
    letter-spacing: 0;
    text-align: left;
  }
}

@media only screen and (max-width: 999px) {
  :root {
    --app-height: 100%;
  }
  html.open,
  body.menu-open {
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
  }
}

/*=============================================
* <main>
*=============================================*/
main {
  clear: both;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 30px;
}

a:hover {
  text-decoration: none;
}

a, img {
  transition: 0.3s all ease-in-out;
}

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

/*=============================================
* <header>
*=============================================*/
body.nav--opened,
body.nav--opened *,
body.nav--opened *:hover,
body.nav--opened *:focus,
body.nav--opened *:active {
  /*    cursor: none !important;*/
  touch-action: none !important;
  pointer-events: none !important;
}

body.nav--opened .hamburger,
body.nav--opened #menu-toggle,
body.nav--opened #menu-toggle * {
  touch-action: auto !important;
  pointer-events: visible !important;
}

.nav--opened {
  overflow: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: none !important;
  pointer-events: none !important;
}

.nav--opened #menu-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
  overflow: auto;
  right: 0;
}

.nav--opened #pagetop,
.nav--opened #ft-fixed {
  opacity: 0;
  visibility: hidden;
}

header {
  height: 60px;
  padding: 13px 0 13.56px;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 8;
}

header .logo {
  width: 240px;
  margin-left: 7.5vw;
}

@media only screen and (max-width: 370px) {
  header .logo {
    width: 220px;
    margin-left: 5vw;
  }
}

@media screen and (max-width: 999px) {
  header .menu-toggle {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    max-width: 305px;
    width: 100%;
    top: 0;
    right: -305px;
    bottom: 0;
    transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    z-index: 99;
    background: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 700;
    line-height: 29px;
  }
  header .menu-toggle .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
  }
  header .menu-toggle .navi {
    margin-bottom: 40px;
  }
  header .menu-toggle .navi li + li {
    margin-top: 40px;
  }
  header .menu-toggle .contact li a {
    display: block;
    color: #fff;
    padding: 26px 0 25px;
  }
  header .menu-toggle .contact li + li {
    margin-top: 20px;
  }
  header .menu-toggle .contact .ct a {
    background: #7CD1FA;
  }
  header .menu-toggle .contact .apply a {
    background: #FF7E7E;
  }
}

@media screen and (max-width: 999px) and (max-height: 600px) {
  header .menu-toggle .navi {
    margin-bottom: 30px;
  }
  header .menu-toggle .navi li + li {
    margin-top: 30px;
  }
}

@media only screen and (min-width: 1000px) {
  header {
    height: 80px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header .logo {
    width: 16.7vw;
    margin-left: 3.1vw;
  }
  header .logo a:hover img {
    opacity: 0.8;
  }
  header .menu-toggle {
    font-size: 1.4vw;
    line-height: 2.1vw;
    letter-spacing: 0;
    font-weight: 700;
  }
  header .menu-toggle nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  header .menu-toggle .navi {
    display: flex;
    justify-content: flex-end;
    margin-right: 1.7vw;
  }
  header .menu-toggle .navi li + li {
    margin-left: 2.3vw;
  }
  header .menu-toggle .navi a.active,
  header .menu-toggle .navi a:hover {
    /* color: #666; */
    color: #5DBD6E;
  }
  header .menu-toggle .contact {
    width: 16.7vw;
  }
  header .menu-toggle .contact li a {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #7CD1FA;
    color: #fff;
    text-align: center;
    height: 80px;
  }
  header .menu-toggle .contact li a:hover {
    background: #4eb8eb;
  }
}

@media only screen and (min-width: 1800px) {
  header .logo {
    width: 300px;
    margin-left: 56px;
  }
  header .menu-toggle {
    font-size: 25px;
    line-height: 37px;
  }
  header .menu-toggle .navi {
    margin-right: 30px;
  }
  header .menu-toggle .navi li + li {
    margin-left: 42px;
  }
  header .menu-toggle .contact {
    width: 300px;
  }
}

.has-nav #ft-fixed {
  opacity: 1;
  visibility: visible;
}

.remodal {
  width: 100%;
  padding: 0;
  transform: translate3d(0, 0, 0);
  color: #2B2B2B;
  background: #fff;
  border-radius: 5vw;
  padding: 14.0vw 7.5vw 7.5vw;
}

.remodal h2 {
  font-size: 4.5vw;
  line-height: 6.8vw;
  letter-spacing: 0;
  margin-bottom: 3.5vw;
}

.remodal .blk {
  width: 55.8vw;
  margin: 0 auto;
}

.remodal .blk .col .img {
  margin-bottom: 3.8vw;
}

.remodal .blk .col .box a {
  display: block;
  background: #FA777C;
  color: #fff;
  border-radius: 5vw;
  padding: 3.8vw 3.8vw 2.5vw;
}

.remodal .blk .col .box .sttl {
  background: #fff;
  color: #FA777C;
  font-size: 3.3vw;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 4.8vw;
  padding: 1vw;
  border-radius: 2.5vw;
  margin-bottom: 2vw;
}

.remodal .blk .col .box .ttl {
  font-size: 3.8vw;
  line-height: 5.5vw;
  font-weight: 700;
  letter-spacing: 0;
}

.remodal .blk .col + .col {
  margin-top: 7.5vw;
}

/* Close button */
.remodal-close {
  display: block;
  overflow: visible;
  width: 17.8vw;
  height: 7.5vw;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
  text-decoration: none;
  border: 0;
  outline: 0;
  background: transparent;
  background-image: url("../img/shared/close.png");
  background-repeat: no-repeat;
  background-size: 100%;
  top: 2.6vw;
  right: 7.5vw;
  position: absolute;
  z-index: 1;
}

@media screen and (min-width: 1000px) {
  .remodal {
    max-width: 1000px;
    border-radius: 20px;
    padding: 60px;
  }
  .remodal h2 {
    font-size: 20px;
    line-height: 29px;
    margin-bottom: 36px;
  }
  .remodal .blk {
    max-width: 650px;
    width: 100%;
  }
  .remodal .blk .col {
    max-width: 300px;
    width: 49%;
  }
  .remodal .blk .col .img {
    margin-bottom: 20px;
  }
  .remodal .blk .col .box a {
    border-radius: 20px;
    padding: 20px 20px 12px;
  }
  .remodal .blk .col .box a:hover {
    background: #f7555c;
  }
  .remodal .blk .col .box .sttl {
    font-size: 18px;
    line-height: 27px;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .remodal .blk .col .box .ttl {
    font-size: 21px;
    line-height: 31px;
  }
  .remodal .blk .col + .col {
    margin-top: 0;
  }
  .remodal-close {
    width: 102px;
    height: 43px;
    top: 10px;
    right: 20px;
  }
  .remodal-close:hover {
    opacity: 0.7;
  }
}

/*=============================================
* <footer>
*=============================================*/
#pagetop {
  width: 70px;
  position: fixed;
  right: 10px;
  bottom: 20vw;
  z-index: 9;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
  opacity: 0;
  visibility: hidden;
}

#pagetop.visible {
  opacity: 1;
  visibility: visible;
}

.nav--opened #pagetop {
  opacity: 0;
  visibility: hidden;
}

@media screen and (min-width: 1000px) {
  #pagetop {
    bottom: 10px;
  }
  #pagetop:hover {
    opacity: 0.8;
  }
}

footer {
  background: #5DBD6E;
  color: #fff;
  padding: 31px 0 100px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  font-weight: 500;
}

footer .logo {
  width: 245px;
  margin-bottom: 23px;
}

footer .txt-info {
  line-height: 22px;
  margin-bottom: 22px;
}

footer .link a {
  text-decoration: underline;
}

@media screen and (min-width: 1000px) {
  footer {
    padding: 40px 0 43px;
    font-size: 15px;
  }
  footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  footer .logo {
    width: 300px;
    margin-bottom: 0px;
  }
  footer .logo a:hover img {
    opacity: 0.8;
  }
  footer .txt-info {
    line-height: 25px;
    margin-bottom: 0px;
    padding-right: 70px;
  }
  footer .col-right {
    display: block;
    text-align: right;
    margin-right: 60px;
  }
  footer .link {
    margin-bottom: 4px;
  }
  footer .link a:hover {
    text-decoration: none;
  }
}

@media screen and (min-width: 1320px) {
  footer .col-right {
    margin-right: 0;
  }
}

/*=============================================
* .socialbuttons
*=============================================*/
/*=============================================
* copyright
*=============================================*/
.db {
  display: block;
}

.df {
  display: flex;
}

.jcfs {
  justify-content: flex-start;
}

.jcc {
  justify-content: center;
}

.jcsb {
  justify-content: space-between;
}

.jcfe {
  justify-content: flex-end;
}

.aifs {
  align-items: flex-start;
}

.aic {
  align-items: center;
}

.aife {
  align-items: flex-end;
}

.sp {
  display: block;
}

.pc {
  display: none;
}

@media only screen and (min-width: 1000px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  .df-pc {
    display: flex;
  }
}

/* --------------------------------------------------------------------- */
/* ef */
/* --------------------------------------------------------------------- */
@-webkit-keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-delay: 0.3s;
}
