body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}
body li, html li {
  list-style: none;
}

.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 5px 0;
  transition: 0.3s ease;
}
@media (max-width: 480px) {
  .hamburger {
    display: block;
  }
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}
.loading__text {
  font-size: 2rem;
  font-family: "DM Serif Text", serif;
  color: black;
  white-space: normal;
  overflow-wrap: break-word;
  display: inline;
  position: relative;
  padding-right: 5px;
  text-align: center;
}
.loading__text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: black;
  margin-left: 2px;
  vertical-align: bottom;
  animation: blinkCursor 1s steps(2, start) infinite;
}
.loading.slide-out {
  animation: slideOut 1s forwards;
}

@keyframes slideOut {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes blinkCursor {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}
.container {
  display: flex;
  height: 100vh;
  width: 100%;
}
@media (max-width: 480px) {
  .container {
    flex-direction: column;
  }
}
.container .sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 20%;
  height: 100vh;
  padding: 20px;
  z-index: 999;
}
.container .sidebar .sidebar__logo {
  position: absolute;
  top: 5%;
}
.container .sidebar .sidebar__logo .header-pic {
  width: 70px;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 480px) {
  .container .sidebar .sidebar__logo .header-pic {
    display: none;
  }
}
.container .sidebar nav {
  position: absolute;
  bottom: 5%;
}
@media (max-width: 480px) {
  .container .sidebar nav {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.container .sidebar nav ul {
  padding: 0;
  margin: 0;
}
.container .sidebar nav ul a {
  cursor: pointer;
  color: black;
  transition: color 0.3s ease-in-out;
}
.container .sidebar nav ul a:hover {
  color: rgb(130, 186, 255);
}
@media (max-width: 480px) {
  .container .sidebar nav ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .container .sidebar {
    width: 100%;
    left: -100%;
    transition: left 0.3s ease;
  }
  .container .sidebar.active {
    left: 0;
  }
}
.container .main-content {
  margin-left: 20%;
  width: 80%;
  position: absolute;
  top: 0;
  right: 0;
}
@media (max-width: 480px) {
  .container .main-content {
    width: 100%;
    margin-left: 0;
    position: relative;
  }
}
.container .main-content .section-common, .container .main-content .legacy-section, .container .main-content .portfolio-section, .container .main-content .main-section {
  height: 100vh;
  text-align: center;
}
.container .main-content .main-section {
  position: relative;
  width: 100%;
}
.container .main-content .main-section .slideshow-container {
  position: relative;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.container .main-content .main-section .slideshow-container .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.container .main-content .main-section .slideshow-container .slide img {
  width: 100%;
  height: 70%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.container .main-content .main-section .slideshow-container .slide.active {
  opacity: 1;
  z-index: 1;
}
.container .main-content .main-section .main-sec-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 100%;
}
.container .main-content .main-section .main-sec-content .title {
  font-size: 5rem;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 10px;
}
@media (max-width: 480px) {
  .container .main-content .main-section .main-sec-content .title {
    font-size: 3rem;
  }
}
.container .main-content .main-section .main-sec-content .sub-title {
  font-size: 2rem;
  margin-top: 10px;
}
@media (max-width: 480px) {
  .container .main-content .main-section .main-sec-content .sub-title {
    font-size: 1.3rem;
  }
}
.container .main-content .main-section .main-sec-content .about-title {
  font-size: 1.5rem;
}
.container .main-content .main-section .main-sec-content .about-explain {
  font-size: 1rem;
  margin-top: 30px;
}
@media (max-width: 480px) {
  .container .main-content .main-section .main-sec-content .about-explain {
    width: 90%;
    margin: 20px auto;
  }
}
.container .main-content .main-section .main-sec-content ul {
  padding: 0;
}
.container .main-content .main-section .main-sec-content ul li {
  margin-bottom: 1rem;
}
.container .main-content .main-section .main-sec-content ul li h3 {
  margin: 0 0 0.3rem 0;
}
.container .main-content .portfolio-section {
  height: auto;
  margin-top: 50px;
  margin-bottom: 100px;
}
.container .main-content .portfolio-section .title {
  font-size: 8rem;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2rem;
}
@media (max-width: 480px) {
  .container .main-content .portfolio-section .title {
    font-size: 3rem;
    letter-spacing: 1.5rem;
  }
}
.container .main-content .portfolio-section a {
  text-decoration: none;
  width: 60%;
}
@media (max-width: 480px) {
  .container .main-content .portfolio-section a {
    margin: 0 auto;
  }
}
.container .main-content .portfolio-section__flex {
  display: flex;
  justify-content: space-around;
  margin: 100px auto 200px auto;
}
@media (max-width: 480px) {
  .container .main-content .portfolio-section__flex {
    flex-direction: column;
  }
}
.container .main-content .portfolio-section__img {
  width: 50%;
  margin: auto 50px;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 10px 10px 5px rgb(174, 174, 174);
  transition: all 0.5s ease;
  cursor: pointer;
}
@media (max-width: 480px) {
  .container .main-content .portfolio-section__img {
    width: 90%;
    margin: 20px auto;
  }
}
.container .main-content .portfolio-section__img:hover {
  filter: brightness(70%);
  transform: translateY(4px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.container .main-content .portfolio-section__content {
  text-align: center;
  margin: auto;
}
.container .main-content .portfolio-section__content .title {
  font-size: 1.5rem;
}
.container .main-content .legacy-section {
  background-color: white;
  position: relative;
}
@media (max-width: 480px) {
  .container .main-content .legacy-section {
    height: 70vh;
  }
}
.container .main-content .legacy-section .legacy {
  margin: 50px auto;
  position: absolute;
  top: 10%;
  right: 5%;
}
@media (max-width: 480px) {
  .container .main-content .legacy-section .legacy {
    left: 20%;
  }
}
.container .main-content .legacy-section .legacy .legacy-content {
  margin: 100px auto auto 10%;
}
.container .main-content .legacy-section .legacy .legacy-content .explain {
  margin: 20px;
}
.container .main-content .legacy-section .legacy-pic {
  width: 60%;
  height: 100%;
}
@media (max-width: 480px) {
  .container .main-content .legacy-section .legacy-pic {
    width: 60%;
    height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.container .main-content .legacy-section .title {
  font-size: 8rem;
  letter-spacing: 2rem;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  background-color: rgb(131, 204, 131);
}
@media (max-width: 480px) {
  .container .main-content .legacy-section .title {
    font-size: 2.5rem;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
  }
}
.container .main-content .legacy-section .sub-title {
  font-size: 1.5rem;
}
.container .main-content .legacy-section .values {
  margin: 10% auto;
}
.container .main-content .legacy-section .values .values-content {
  margin: 5% auto;
  width: 50%;
}
.container .main-content .legacy-section .values .values-content h3 {
  text-align: center;
  margin: 3% auto;
}
.container .main-content .legacy-section .values .values-content p {
  text-align: left;
}/*# sourceMappingURL=home.css.map */