@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho&family=Smooch+Sans:wght@100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  text-decoration: none;
  list-style: none;
}

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Shippori Mincho", serif;
  font-weight: 300;
}

main {
  background-image: url(../image/background.svg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 120px;
  width: 100%;
  height: calc(100vh - 120px - 70px);
}

header .header {
  position: fixed;
  display: block;
  width: 100%;
  height: 120px;
  top: 0;
  background-color: #1a1134;
}
header .logo {
  font-family: "Smooch Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-size: 20px;
  position: fixed;
  text-align: center;
  top: 30px;
  left: 30px;
  padding-top: 5px;
  width: 145px;
  height: 60px;
  color: #fffcef;
  border: 2px solid #fffcef;
  /* border-radius: 10px; */
}
header .ham {
  position: fixed;
  display: block;
  width: 60px;
  height: 60px;
  border: 2px solid #fffcef;
  /* border-radius: 10px; */
  /* background-color: #fff; */
  top: 30px;
  right: 30px;
  z-index: 30;
  cursor: pointer;
}
header .ham span {
  position: absolute;
  display: block;
  align-items: center;
  background-color: #fffcef;
  height: 2px;
  width: 30px;
  right: 14px;
  transition: all 0.7s ease;
  z-index: 30;
}
header .ham span:nth-child(1) {
  top: 15px;
}
header .ham span:nth-child(2) {
  top: 28px;
}
header .ham span:nth-child(3) {
  bottom: 15px;
}
header .ham.active {
  border: 2px solid #fffcef;
}
header .ham.active span {
  background-color: #fffcef;
}
header .ham.active span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
header .ham.active span:nth-child(2) {
  opacity: 0%;
}
header .ham.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

.menu {
  position: fixed;
  display: block;
  width: 100%;
  height: 100lvh;
  background-color: rgba(1, 0, 33, 0.8862745098);
  top: -100%;
  right: 0px;
  padding-top: 240px;
  transition: all 0.7s ease;
  opacity: 0%;
  z-index: 20;
}
.menu ul li {
  display: block;
  padding-bottom: 70px;
  padding-left: 30px;
  /* text-align: right; */
}
.menu ul li::after {
  content: "";
  position: absolute;
  display: block;
  width: 220px;
  left: 30px;
  margin-top: -2px;
}
.menu ul li a {
  font-size: 40px;
  color: #fffcef;
  cursor: pointer;
}
.menu ul li a div {
  position: absolute;
  display: block;
  right: 30px;
  margin-top: -60px;
  width: 60px;
  height: 60px;
  background-color: #fffcef;
}
.menu ul li a div::before, .menu ul li a div::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 17.5px;
  width: 30px;
  height: 2px;
  /* border-radius: 9999px; */
  background-color: rgba(1, 0, 33, 0.8862745098);
  transform-origin: calc(100% - 1px) 50%;
}
.menu ul li a div::before {
  transform: rotate(45deg);
}
.menu ul li a div::after {
  transform: rotate(-45deg);
}
.menu.active {
  top: 0;
  opacity: 100%;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translate(80%);
  }
}
.slider {
  width: 100%;
  height: 70px;
  background-color: #1a1134;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffcef;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.slider p {
  padding: 20px;
  font-size: 30px;
  animation: slide 3s linear infinite alternate-reverse;
}

.page-container {
  margin-left: auto;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background-color: #ffffff;
  padding: 60px 50px;
  color: rgba(1, 0, 33, 0.8862745098);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 2px solid rgba(1, 0, 33, 0.8862745098);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.page-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.works-container {
  margin-left: auto;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  background-color: #ffffff;
  padding: 60px 50px;
  color: rgba(1, 0, 33, 0.8862745098);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 2px solid rgba(1, 0, 33, 0.8862745098);
  border-right: 2px solid rgba(1, 0, 33, 0.8862745098);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.works-container::-webkit-scrollbar {
  display: none;
}

.page-title {
  font-size: 32px;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(1, 0, 33, 0.8862745098);
  padding-bottom: 10px;
  width: 100%;
  letter-spacing: 0.05em;
}

.profile-content, .contact-content {
  width: 100%;
  margin-bottom: 40px;
}
.profile-content .profile-header, .contact-content .profile-header {
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 15px;
}
.profile-content .profile-header .profile-name, .contact-content .profile-header .profile-name {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.profile-content .profile-header .profile-title, .contact-content .profile-header .profile-title {
  font-size: 14px;
  color: rgba(1, 0, 33, 0.7);
  letter-spacing: 0.1em;
}
.profile-content .profile-text p, .profile-content p, .contact-content .profile-text p, .contact-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  margin-bottom: 60px;
}
.works-grid .work-item {
  width: 100%;
  transition: transform 0.3s ease;
}
.works-grid .work-item:hover {
  transform: translateY(-5px);
}
.works-grid .work-item .video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border: 1px solid rgba(1, 0, 33, 0.8862745098);
}
.works-grid .work-item .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.works-grid .work-item h3 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/*# sourceMappingURL=style.css.map */
