@charset "UTF-8";
/*========= base ===========*/
html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: 500;
  color: #333;
  line-height: 2.0;
}

h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  vertical-align: bottom;
}

ul, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  overflow: hidden;
}

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

a:hover {
  transition: .3s;
  opacity: 0.6;
}

section {
  margin-bottom: 120px;
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.content-wrapper ul br {
  display: none;
}

@media (max-width: 500px) {
  .content-wrapper ul br {
    display: block;
  }
}

.header {
  width: 100%;
}

.header .header-nav {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .header-nav h1 {
  margin-left: 30px;
}

.header .header-nav nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 500px) {
  .header .header-nav nav ul {
    display: none;
  }
}

.header .header-nav nav ul li {
  margin-right: 50px;
}

.nav-container {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

.nav-container .nav {
  background: #fff;
  position: absolute;
  right: 0;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.5, 0, 0.5, 1);
  z-index: 99;
  height: auto;
}

.nav-container .nav .nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3em 6em;
}

.nav__item {
  margin-bottom: 3em;
}

.nav__link {
  text-decoration: none;
  color: #333;
}

.nav__link:hover {
  color: #333;
}

.nav__toggle {
  position: absolute;
  top: 2em;
  left: 0;
  transform: translateX(-100%);
  background: #fff;
  padding: 1.5em .5em;
  border: 0;
  border-radius: .25em 0 0 .25em;
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 2.5em;
  height: 3px;
  background: #333;
  transition: transform 350ms ease-in-out, opacity 200ms linear;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  bottom: 8px;
}

.hamburger::after {
  top: 8px;
}

/* Navigation open styles */
.nav-open .nav {
  transform: translateX(0);
  box-shadow: 0 0 4em rgba(0, 0, 0, 0.537);
}

/* Change this stuff below */
.nav-open .hamburger {
  transform: rotate(45deg);
}

.nav-open .hamburger::before {
  opacity: 0;
}

.nav-open .hamburger::after {
  transform: rotate(90deg) translate(-6px);
}

@media (min-width: 500px) {
  .nav {
    display: none;
  }
}

.mainvisual {
  position: relative;
  height: 600px;
}

.mainvisual img {
  width: 70%;
  height: 500px;
  object-fit: cover;
  margin-left: 30%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s;
}

@media (max-width: 500px) {
  .mainvisual img {
    width: 100%;
    margin-left: 0;
  }
}

.mainvisual h2 {
  position: absolute;
  top: 44%;
  left: 6%;
  background: rgba(255, 255, 255, 0.6);
  font-size: 3rem;
  padding: 1rem;
}

.bg1 {
  background: #e8e7e7;
  height: 700px;
  width: 45%;
  position: absolute;
  top: -18%;
  left: 0;
  z-index: -1;
}

@media (max-width: 500px) {
  .bg1 {
    width: 65%;
  }
}

.greeting h2 {
  margin-bottom: 50px;
  text-align: center;
}

.greeting .contents {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 500px) {
  .greeting .contents {
    display: block;
  }
}

.side {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s;
}

.greeting .contents figure {
  width: 50%;
}

@media (max-width: 500px) {
  .greeting .contents figure {
    width: 100%;
  }
}

.greeting .content {
  width: 48%;
  margin-right: 30px;
  opacity: 0;
  transform: translateX(200px);
  transition: all 1s;
}

@media (max-width: 500px) {
  .greeting .content {
    width: 100%;
  }
}

.greeting p {
  text-align: center;
}

@media (max-width: 500px) {
  .greeting p {
    padding: 0 10px;
    line-height: 1.7;
  }
}

.work {
  width: 100%;
  padding-top: 40px;
  position: relative;
}

.work::before {
  content: '';
  background: #e8e7e7;
  position: absolute;
  width: 100%;
  height: 300px;
  z-index: -1;
}

.work h2 {
  margin-bottom: 60px;
  text-align: center;
}

.work ul {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-right: 7%;
  margin-left: 7%;
}

@media (max-width: 500px) {
  .work ul {
    display: block;
  }
}

.work ul li {
  width: 30%;
}

@media (max-width: 500px) {
  .work ul li {
    width: 100%;
  }
}

.work ul li figure {
  margin: 0;
  width: 95%;
}

@media (max-width: 500px) {
  .work ul li figure {
    width: 100%;
  }
}

.work h3 {
  text-align: center;
  padding: 15px 0;
  font-size: 20px;
}

.work p {
  width: 80%;
  margin: 0 auto;
  font-size: 15px;
}

@media (max-width: 500px) {
  .work p {
    margin-bottom: 40px;
    line-height: 1.5;
  }
}

.one {
  opacity: 0;
  transform: translateY(-100px);
  transition: all 1s;
}

.two {
  opacity: 0;
  transform: translateY(-100px);
  transition: all 1.8s;
}

.three {
  opacity: 0;
  transform: translateY(-100px);
  transition: all 2.6s;
}

.news .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 180px;
  padding-right: 20px;
  padding-left: 20px;
}

.news h2 {
  margin-bottom: 50px;
  text-align: center;
}

.news li {
  border-bottom: dotted 1px #dedede;
  padding-top: 20px;
  padding-bottom: 20px;
}

.news li a {
  color: #333333;
}

.news li a:hover {
  opacity: 0.6;
}

.news li time {
  font-size: 0.75em;
  color: #949494;
  padding-right: 0px;
  margin-right: 80px;
}

.recruit {
  position: relative;
}

.recruit-img img {
  width: 80%;
  height: 400px;
  margin-right: 20%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(-200px);
  transition: all 1.4s;
}

@media (max-width: 500px) {
  .recruit-img img {
    width: 100%;
  }
}

.recruit-img::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 500px) {
  .recruit-img::after {
    width: 100%;
  }
}

.recruit h2 a {
  position: absolute;
  top: 45%;
  right: 52%;
  width: 250px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.6);
  line-height: 60px;
  text-align: center;
}

@media (max-width: 500px) {
  .recruit h2 a {
    right: 20%;
  }
}

.bg2 {
  position: absolute;
  background: #e8e7e7;
  height: 400px;
  width: 45%;
  top: -20%;
  right: 0;
  z-index: -1;
}

@media (max-width: 500px) {
  .bg2 {
    width: 280px;
  }
}

footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}

@media (max-width: 500px) {
  footer .content-wrapper ul {
    display: none;
  }
}

.address {
  margin-left: 30px;
}

.address p {
  line-height: 1.8;
}

footer ul {
  display: flex;
}

footer ul li {
  margin-right: 50px;
}

.copylight p {
  text-align: center;
  font-size: 0.75rem;
  margin: 0;
  line-height: 100px;
  color: #333;
  background-color: #e8e7e7;
}

.mainvisual h2::after {
  content: '';
  border-right: 2px solid;
  animation: flashing 0.6s linear infinite;
}

@keyframes flashing {
  0% {
    opacity: 0;
  }
}

#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #333;
  opacity: 0.6;
  border-radius: 50%;
}

#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -25px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
