body {
  font-family: "Times New Roman", "A1 Mincho", "YuMincho",
    "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  color: #545454;
  background-repeat: no-repeat;
  background-position: top center;
}

.pchidden {
  display: none;
}

.sp-show {
  display: none;
}

.sp-menu-logo {
  position: absolute;
  width: 45%;
  top: 10px;
  left: 0;
}

/* --- menu --- */
.menu {
  display: flex;
  justify-content: space-between;
  width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.menu .home {
  font-size: 45px;
  color: #000000;
}

.menu .top img {
  max-width: 410px;
}

.menu ul {
  display: flex;
  justify-content: space-between;
  width: 500px;
  font-size: 18px;
  color: #060606;
}

.menu li {
  position: relative;
}

.menu .menu-active:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #060606;
  border-radius: 3px;
  top: 30px;
  left: 45%;
}

/* --- first-view --- */
.first-view {
  position: relative;
  height: 440px;
  z-index: -1;

  background-image: url("../images/data/toppage_main.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* --- about-us --- */
.about-us {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 30px 60px;
  position: relative;
  top: -50px;
  border-radius: 3px;
  background-color: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.about-us .logo {
  width: 100%;
  text-align: center;
  padding: 10px 0 20px 0;
}

.about-us .about-us-logo {
  width: 300px;
}

.about-us .about-us-text {
  text-align: center;
  line-height: 1.75rem;
}

.about-us:before {
  content: "";
  display: block;
  background-image: url(../images/symbol.png);
  background-size: cover;
  width: 100px;
  height: 80px;
  position: absolute;
  top: -30px;
  left: calc(50% - 62.5px);
}

/* works */
.works {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.work {
  margin-bottom: 140px;
}

.work .work-img {
  display: block;
  transition: box-shadow 0.5s;
}

.work .work-img:hover {
  box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 1);
  transition: box-shadow 0.5s;
}

.work .work-img img {
  width: 100%;
}

.work .work-text {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.work .work-title {
  font-size: 80px;
  margin-left: -4%;
  margin-top: -50px;
  color: #060606;
}

.work .work-text_sign {
  display: none;
}

.work .work-sub_title {
  margin-top: 1rem;
}

.work .work-sub_title span {
  color: #7d7d7d;
  letter-spacing: 2px;
}

.work .work-sub_title.smp {
  display: none;
}

/* Contact */
.contact {
  border-top: 2px solid #eb6161;
  border-bottom: 2px solid #eb6161;
  position: relative;
}

.contact:before {
  content: "";
  display: block;
  background-image: url(../images/symbol.png);
  background-size: cover;
  width: 122px;
  height: 88px;
  position: absolute;
  top: -39px;
  left: calc(50% - 61px);
}

.contact .contact-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 420px;
  padding: 60px;
}

.contact .contact-body-title {
  font-size: 32px;
  padding: 30px;
}

.contact .contact-body-text {
  line-height: 30px;
  text-align: center;
}

.contact-btn {
  margin-top: 61px;
}

.contact .contact-body-button {
  width: 310px;
  height: 70px;
  border: 1px solid #545454;
  border-radius: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact .contact-body-button span {
  margin-left: 24px;
}

.contact .contact-body-text.smp {
  display: none;
}

/* --- footer --- */
.footer {
  margin-top: 30px;
  background-color: #87397a;
  color: #ffffff;
  height: 300px;
}

.footer .side-left {
  position: fixed;
  top: 50%;
  left: -60px;
  transform: rotate(90deg);
  color: #000000;
}

.footer .side-right {
  position: fixed;
  top: 50%;
  right: -10px;
  transform: rotate(90deg);
  color: #000000;
}

.footer .wrapper {
  display: flex;
  flex-direction: column;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 50px 0;
}

.footer .wrapper .wrapper-top {
  display: flex;
  width: 100%;
  height: 50%;
  justify-content: end;
}

.footer .wrapper-top a {
  width: 30px;
  height: 30px;
  margin-left: 20px;
}

.footer .wrapper .wrapper-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
  height: 50%;
}

.footer .home {
  font-size: 45px;
}

.footer ul {
  display: flex;
  justify-content: space-between;
  width: 500px;
  font-size: 18px;
}

.footer .smp-footer-menu {
  display: none;
}

.x_icon {
  width: 30px;
  height: 30px;
}

/* tablet */
@media screen and (min-width: 520px) and (max-width: 1200px) {
  body {
    font-size: 14px;
  }

  .menu {
    width: 100%;
    margin: 0;
    padding: 20px 10px;
  }

  .menu .top img {
    width: 80%;
  }

  .menu .home {
    font-size: 33px;
  }

  .menu ul {
    width: 100%;
    margin: 0;
    justify-content: flex-end;
  }

  .menu li {
    margin-left: 20px;
  }

  .about-us {
    top: -150px;
  }

  .works {
    width: 90%;
  }

  .footer .home {
    font-size: 36px;
    margin-left: 20px;
  }

  .footer .wrapper {
    width: 100%;
    height: auto;
    margin: 0 auto 0;
    padding: 80px 20px 40px;
  }

  .footer .side-left,
  .footer .side-right {
    display: none;
  }

  .footer ul {
    width: 100%;
    justify-content: flex-end;
  }

  .footer li {
    margin: 0 10px;
  }
}

/* SP */
@media screen and (max-width: 520px) {
  .pchidden {
    display: block;
  }

  .sp-show {
    display: inline;
  }

  .sp-hide {
    display: none;
  }

  .menu {
    width: 100%;
  }

  .menu.active {
    display: none;
  }

  .menu .top {
    font-size: 35px;
    max-width: 40%;
    position: relative;
  }

  .menu .top img {
    margin-left: 10px;
    max-width: 100%;
  }

  .menu .menu-icon {
    width: 25px;
    height: 19px;
    background-size: contain;
    background-image: url("../images/menu-icon.png");
    position: absolute;
    right: 20px;
  }

  .menu ul {
    display: none;
  }

  .menu-smp {
    display: none;
  }

  .menu-smp.active {
    display: block;
  }

  .menu-smp .menu-title {
    z-index: 20;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 38px;
    color: #000;
  }

  .menu-smp .menu-close {
    width: 25px;
    height: 25px;
    background-size: contain;
    background-image: url("../images/top-close.png");
    z-index: 30px;
    position: fixed;
    top: 30px;
    right: 20px;
  }

  .menu-smp {
    width: 100%;
    height: 100%;
    margin: 0;
    padding-left: 20px;
    background-color: #ffffff;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
  }

  .menu-smp .menu-list {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .menu-smp .menu-list li {
    font-size: 36px;
    margin: 20px 0;
  }

  .first-view {
    height: 375px;
  }

  /* --- about-us --- */
  .about-us {
    width: auto;
    margin: 0 15px 10px;
    padding: 20px 15px 30px;
    font-size: 14px;
    position: relative;
  }

  .about-us:before {
    width: 90px;
    height: 70px;
    top: -35px;
    left: calc(50% - 45px);
  }

  .about-us .about-us-logo {
    max-width: 300px;
    width: 70%;
  }

  /* work */
  .works {
    width: 100%;
  }

  .work .work-img img {
    min-height: 250px;
  }

  .work .work-text {
    justify-content: start;
    align-items: end;
    margin-left: 10px;
  }

  .work .work-title {
    font-size: 20px;
    margin-left: 0;
    margin-top: 0;
  }

  .work .work-text_sign {
    display: block;
    margin: 0 9px;
    font-size: 20px;
  }

  .work .work-sub_title {
    margin-top: 0;
  }

  .work .work-sub_title span {
    letter-spacing: 0;
  }

  .work .work-sub_title.pc {
    display: none;
  }

  .work .work-sub_title.smp {
    display: inline;
  }

  /* contact */
  .contact .contact-body {
    height: auto;
  }

  .contact .contact-body-text {
    display: none;
  }

  .contact .contact-body-text.smp {
    font-size: 14px;
    display: block;
  }

  .contact .contact-body-button {
    margin-top: 34px;
  }

  /* footer */
  .footer {
    height: auto;
    min-height: 350px;
  }

  .footer .wrapper {
    width: auto;
    min-height: 350px;
    padding: 30px 0;
  }

  .footer .wrapper .wrapper-top {
    padding-right: 20px;
  }

  .footer .wrapper .wrapper-bottom {
    flex-grow: 1;
    padding-left: 25px;
  }

  .footer .side-right,
  .footer .side-left,
  .footer .wrapper-bottom ul {
    display: none;
  }

  .footer .smp-footer-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    padding-left: 25px;
    max-width: 50%;
    gap: 15px;
  }
}
