@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Sora:wght@800&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: Lato, Roboto, sans-serif;
  color: #271B12;
}

html, body {
  overflow-x: hidden;
}

a {
  color: #ff0000;
  text-decoration: none;
}
a.underline {
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.text-right {
  text-align: right;
}

.mt0 {
  margin-top: 0 !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mbs {
  margin-bottom: 10px !important;
}

[class^=grid-] {
  display: grid;
}

.inl-bk {
  display: inline-block;
}

.flex {
  display: flex;
}

.body-color {
  color: inherit;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: #1909fb;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16vw), 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16vw), 0 100%);
}

header {
  width: calc(100% - 60px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
}
header#top-page::after {
  background: url(/common/images/triangle_yel.svg) no-repeat left 11px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  display: block;
  content: "";
  position: absolute;
  top: 117px;
  right: 27px;
  z-index: 20;
  width: 67.37px;
  height: 30.5px;
}
header .logo {
  margin-top: 15px;
  margin-bottom: 15px;
}
header .nav-menu {
  display: flex;
  justify-content: space-between;
}
@media screen and (min-width: 1024px) {
  header .nav-menu li {
    position: relative;
  }
  header .nav-menu li:hover .sub-menu li, header .nav-menu li:hover .sub-menu:hover li {
    display: block;
  }
  header .nav-menu li:hover .sub-menu li:nth-child(1), header .nav-menu li:hover .sub-menu:hover li:nth-child(1) {
    animation: subMenuSlideIn 0.3s ease-in forwards 0ms;
  }
  header .nav-menu li:hover .sub-menu li:nth-child(2), header .nav-menu li:hover .sub-menu:hover li:nth-child(2) {
    animation: subMenuSlideIn 0.3s ease-in forwards 150ms;
  }
  header .nav-menu li:hover .sub-menu li:nth-child(3), header .nav-menu li:hover .sub-menu:hover li:nth-child(3) {
    animation: subMenuSlideIn 0.3s ease-in forwards 300ms;
  }
  header .nav-menu li:hover .sub-menu li:nth-child(4), header .nav-menu li:hover .sub-menu:hover li:nth-child(4) {
    animation: subMenuSlideIn 0.3s ease-in forwards 450ms;
  }
}
header .nav-menu > li + li {
  margin-left: 60px;
}
header .nav-menu .sub-menu {
  font-size: 80%;
}
@media screen and (min-width: 1024px) {
  header .nav-menu .sub-menu {
    position: absolute;
    transition: transform 0.8s ease-in;
    top: 16px;
    left: 0;
    width: 200px;
  }
  header .nav-menu .sub-menu li {
    display: none;
    opacity: 0;
    margin-top: 10px;
  }
}
header .nav-menu a {
  color: #FEF9F3;
  text-transform: lowercase;
  letter-spacing: 2px;
  transition: color 0.4s ease-out;
}
body#page-404 header .nav-menu a {
  color: #271B12;
}
header .nav-menu a:hover {
  color: #ffc733;
}
body#page-404 header .nav-menu a:hover {
  color: #ffb900;
}
header .nav-menu .sub-menu a {
  transition: background-color 0.4s ease-out;
}
header .nav-menu .sub-menu a::before {
  content: "";
  background-color: #FEF9F3;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  display: inline-block;
}
body#page-404 header .nav-menu .sub-menu a::before {
  background-color: #271B12;
}
header .nav-menu .sub-menu a:hover::before {
  background-color: #ffc733;
}
body#page-404 header .nav-menu .sub-menu a:hover::before {
  background-color: #ffb900;
}

@keyframes subMenuSlideIn {
  0% {
    opacity: 0;
    transform: translateX(200px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.wrapper {
  width: calc(100% - 60px);
  margin: auto;
  position: relative;
}

main .top {
  margin-top: 340px;
  padding-top: 100px;
  position: relative;
  z-index: 2;
}
main .top::after {
  background: url(/common/images/triangle_yel.svg) no-repeat left 11px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  display: block;
  content: "";
  position: absolute;
  bottom: -258px;
  left: -45px;
  z-index: 20;
  width: 65.37px;
  height: 37.5px;
}
main .top .skills {
  width: 264px;
  display: flex;
  flex-direction: column;
}
main .top .skills h2 {
  font-weight: 900;
  font-size: 130%;
  line-height: 180%;
  letter-spacing: 0.05em;
  margin-top: 60px;
}
main .top .skills .skill-icons {
  display: grid;
  gap: 20px 13px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 15px;
  margin-bottom: 15px;
  align-items: center;
  justify-items: center;
}
main .top .skills .skill-icons + a {
  text-align: right;
  align-self: flex-end;
}
main .top .skills::after {
  background: url(/common/images/triangle_yel.svg) no-repeat left 11px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  display: block;
  content: "";
  position: absolute;
  bottom: -120px;
  right: -27px;
  z-index: 20;
  width: 78.37px;
  height: 49.5px;
  transform: rotate(180deg);
}
#top-page main .main-title, main .over-title, main .back-title {
  position: absolute;
  font-family: Sora, Lato, Roboto, sans-serif;
  font-size: 490%;
  font-weight: 900;
  z-index: 10;
  top: 0px;
}
#top-page main .main-title {
  mix-blend-mode: overlay;
}
#top-page main .over-title {
  opacity: 0.3;
}
#top-page main .back-title {
  z-index: 0;
}
main .intro {
  font-size: 130%;
  line-height: 166%;
  margin-top: 10px;
}
main .main-hero_img {
  width: 100%;
  position: absolute;
  left: 600px;
  top: -240px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05), 0px 40px 50px -50px rgba(0, 0, 0, 0.25), 0px 20px 50px -20px rgba(0, 0, 0, 0.2), inset 0 -1px 1px 1px rgba(0, 0, 0, 0.6);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
main .main-hero_img img {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
  z-index: 5;
}
main .main-hero_img::after {
  content: "";
  background: url(/images/bg_frame_hero.svg) no-repeat;
  background-size: cover;
  display: block;
  position: absolute;
  top: -34px;
  left: -29px;
  z-index: 3;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
main .content-title {
  font-weight: 800;
  font-size: 300%;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 140px;
}
main #works {
  background: url(/images/works_bg.png) no-repeat center top/cover;
  margin-top: 120px;
  padding-bottom: 230px;
}
main #works .content-title {
  padding-top: 400px;
  color: #FEF9F3;
}
main #works .works-grid, main #works ul.back {
  display: grid;
  gap: 4vw;
  grid-template-columns: repeat(3, 364px);
  grid-template-rows: repeat(3, 364px);
}
main #works .works-grid li:first-child, main #works ul.back li:first-child {
  grid-column: 1/3;
  grid-row: 1/3;
}
main #works .works-grid li:last-child, main #works ul.back li:last-child {
  grid-row: 3;
  grid-column: 1/4;
}
main #works .works-grid li, main #works ul.back li {
  position: relative;
}
main #works .works-grid li:nth-child(1) a, main #works ul.back li:nth-child(1) a {
  background: url(/images/work01.png) no-repeat center/cover;
}
main #works .works-grid li:nth-child(2) a, main #works ul.back li:nth-child(2) a {
  background: url(/images/work02.png) no-repeat center/cover;
}
main #works .works-grid li:nth-child(3) a, main #works ul.back li:nth-child(3) a {
  background: url(/images/work03.png) no-repeat center/cover;
}
main #works .works-grid li:nth-child(4) a, main #works ul.back li:nth-child(4) a {
  background: url(/images/work04.png) no-repeat center/cover;
}
main #works a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 7;
}
main #works a + svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -10px;
  left: 0;
  transition: transform 0.2s ease-out;
  transform: rotate(0deg) translate(0, 0);
}
main #works a.active + svg {
  transform: rotate(177deg) translate(0, 7px);
}
main #works li:last-child a + svg {
  top: 10px;
}
main #about {
  padding-bottom: 200px;
}
main #about .wrapper::after {
  background: url(/common/images/triangle_yel.svg) no-repeat left 11px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  display: block;
  content: "";
  position: absolute;
  bottom: -30px;
  right: 333px;
  z-index: 20;
  width: 65.37px;
  height: 37.5px;
}
main #about .content-title {
  margin-top: 190px;
}
main #about .about_box {
  display: flex;
  justify-content: space-between;
  padding-bottom: 33.33%;
  position: relative;
}
main #about .about_box > li {
  width: 33.33%;
  position: relative;
}
main #about .about_box > li .blackscreen {
  transition: all 0.2s ease-in;
  background-color: #271B12;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 10;
  padding-bottom: 100%;
  opacity: 0;
}
main #about .about_box > li ul {
  position: relative;
}
main #about .about_box > li ul li {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #271B12;
}
main #about .about_box > li .caption {
  color: #FEF9F3;
  font-family: Sora;
  font-weight: 800;
  font-size: 350%;
  line-height: 1.25;
  z-index: 20;
  position: absolute;
  top: 0;
  left: 5%;
  padding-top: 72%;
}
main #about .about_box > li .caption .smalltext {
  font-size: 25%;
  font-family: Lato;
  font-weight: normal;
  display: block;
  text-align: right;
  transform: translateX(70px);
  margin-top: -5px;
}
main #about .about_box::after {
  background: url(/common/images/triangle_purp.svg) no-repeat left 11px top, url(/common/images/triangle_yel.svg) no-repeat left top, url(/common/images/triangle_yel.svg) no-repeat right bottom;
  display: block;
  content: "";
  position: absolute;
  bottom: -85px;
  left: 273px;
  z-index: 20;
  width: 65.37px;
  height: 37.5px;
}
main #experience {
  background: linear-gradient(to right, #3E002C 50%, #271B12 50%);
  padding-bottom: 260px;
}
main #experience .content-title {
  padding-top: 190px;
  position: relative;
  transform: translateX(-10px);
}
main #experience .content-title .over {
  color: #ffb900;
  -webkit-clip-path: polygon(0% 0%, calc(50% + 10px) 0%, calc(50% + 10px) 100%, 0% 100%);
          clip-path: polygon(0% 0%, calc(50% + 10px) 0%, calc(50% + 10px) 100%, 0% 100%);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
main #experience .content-title::after {
  content: "My Experience";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #ff0000;
}
main #experience .exp-grid {
  display: grid;
  gap: 60px 300px;
  grid-template-columns: repeat(2, 1fr);
}
main #experience .exp-grid > *:nth-child(n+3) {
  border-left: 1px dashed;
  padding-left: 20px;
  position: relative;
}
main #experience .exp-grid > *:nth-child(n+3)::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: -60px;
  z-index: 20;
  width: 40px;
  height: 25px;
}
main #experience .exp-grid > *:nth-child(n+3).edu::before {
  background: url(/common/images/triangle_purp.svg) no-repeat right bottom/29px auto, url(/common/images/triangle_yel.svg) no-repeat left top/29px auto;
}
main #experience .exp-grid > *:nth-child(n+3).work::before {
  background: url(/common/images/triangle_yel.svg) no-repeat right bottom/29px auto, url(/common/images/triangle_purp.svg) no-repeat left top/29px auto;
}
main #experience .exp-grid > *:nth-child(5), main #experience .exp-grid > *:nth-child(4) {
  align-self: start;
}
main #experience .exp-grid .edu {
  grid-column: 1/2;
  border-color: #ffb900;
}
main #experience .exp-grid .edu h2, main #experience .exp-grid .edu h3, main #experience .exp-grid .edu .subtitle, main #experience .exp-grid .edu a {
  color: #ffb900;
}
main #experience .exp-grid .work {
  grid-column: 2/3;
  border-color: #ff3333;
}
main #experience .exp-grid .work h2, main #experience .exp-grid .work h3, main #experience .exp-grid .work .subtitle, main #experience .exp-grid .work a {
  color: #ff0000;
}
main #experience .exp-grid h2 {
  font-weight: 800;
  font-size: 280%;
  line-height: 1.2;
  text-transform: uppercase;
}
main #experience .exp-grid .date {
  font-style: italic;
  font-size: 80%;
  line-height: 1.23;
}
main #experience .exp-grid h3 {
  font-weight: 800;
  font-size: 220%;
  line-height: 1.2;
  margin-top: 4px;
  text-transform: uppercase;
}
main #experience .exp-grid h3:not(.narrow) {
  letter-spacing: 0.1em;
}
main #experience .exp-grid h3 .narrow {
  letter-spacing: 0.07em;
}
main #experience .exp-grid .subtitle {
  font-size: 115%;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-bottom: 27px;
}
main #experience .exp-grid h4 {
  font-weight: bold;
  letter-spacing: 0.05em;
}
main #experience .exp-grid .details-text {
  font-weight: 300;
}
main #experience .exp-grid .details-text:not(:last-child) {
  margin-bottom: 20px;
}
main #experience .exp-grid h4, main #experience .exp-grid .details-text {
  line-height: 1.6;
}
main #experience .exp-grid .date, main #experience .exp-grid .subtitle, main #experience .exp-grid h4, main #experience .exp-grid .details-text {
  color: #FEF9F3;
}
main #experience a.white {
  color: #FEF9F3;
  position: relative;
}
main #experience a.white::after {
  background: url(/common/images/triangle_yel.svg) no-repeat right bottom, url(/common/images/triangle_purp.svg) no-repeat left top;
  display: block;
  content: "";
  position: absolute;
  bottom: -54px;
  right: -55px;
  z-index: 20;
  width: 52.37px;
  height: 30.5px;
  transform: rotate(180deg);
}
main #contact {
  padding-bottom: 200px;
}
main #contact .wrapper::after {
  background: url(/common/images/triangle_yel.svg) no-repeat left 11px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  display: block;
  content: "";
  position: absolute;
  bottom: -150px;
  left: -60px;
  z-index: 20;
  width: 78.37px;
  height: 49.5px;
  transform: rotate(180deg);
}
main #contact .content-title {
  margin-top: 190px;
  position: relative;
}
main #contact .content-title::after {
  background: url(/common/images/triangle_yel.svg) no-repeat right bottom, url(/common/images/triangle_purp.svg) no-repeat left top;
  display: block;
  content: "";
  position: absolute;
  top: -120px;
  right: -55px;
  z-index: 20;
  width: 52.37px;
  height: 30.5px;
}
main #contact form {
  width: 710px;
  margin: auto;
  display: grid;
  grid-template-columns: 190px auto;
  gap: 30px;
}
main #contact form .field {
  position: relative;
}
main #contact form .field label {
  color: #aaa;
  position: absolute;
  top: 16px;
  left: 16px;
}
main #contact form .field label, main #contact form .field input, main #contact form .field textarea {
  transition: all 0.4s;
}
main #contact form .field input, main #contact form .field textarea {
  width: 100%;
  background: #271B12;
  border-radius: 3px;
  color: #FEF9F3;
  padding: 12px 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-family: Lato, Roboto, sans-serif;
  font-size: 88%;
  line-height: 1.7;
  border: none;
  cursor: text;
}
main #contact form .field input:-webkit-autofill, main #contact form .field input:-webkit-autofill:hover, main #contact form .field input:-webkit-autofill:focus, main #contact form .field textarea:-webkit-autofill, main #contact form .field textarea:-webkit-autofill:hover, main #contact form .field textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #FEF9F3;
  -webkit-box-shadow: 0 0 0px 1000px #6e0021 inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}
main #contact form .field input::-moz-placeholder, main #contact form .field textarea::-moz-placeholder {
  opacity: 0;
  -moz-transition: inherit;
  transition: inherit;
}
main #contact form .field input::placeholder, main #contact form .field textarea::placeholder {
  opacity: 0;
  transition: inherit;
}
main #contact form .field input:not(:-moz-placeholder-shown) + label, main #contact form .field textarea:not(:-moz-placeholder-shown) + label {
  cursor: text;
  top: -18px;
  left: -6px;
  transform: scale(0.7);
  font-weight: bold;
  color: #555;
}
main #contact form .field input:focus-within + label, main #contact form .field input:not(:placeholder-shown) + label, main #contact form .field textarea:focus-within + label, main #contact form .field textarea:not(:placeholder-shown) + label {
  cursor: text;
  top: -18px;
  left: -6px;
  transform: scale(0.7);
  font-weight: bold;
  color: #555;
}
main #contact form .field textarea:not(:-moz-placeholder-shown) + label {
  left: -9px;
}
main #contact form .field textarea:focus-within + label,
main #contact form .field textarea:not(:placeholder-shown) + label {
  left: -9px;
}
main #contact form > *:nth-child(3) {
  grid-column: 1/3;
}
main #contact form > *:last-child {
  justify-self: end;
  grid-column: 2/3;
}
main #contact form .field input {
  height: 50px;
}
main #contact form .field textarea {
  height: 240px;
  resize: vertical;
}
main #contact form .btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: url(/images/btn_bg.svg) no-repeat right bottom #ff0000;
  color: #FEF9F3;
  padding: 10px 48px;
  box-shadow: 0px 20px 50px -20px rgba(62, 0, 44, 0.35), 0px 5px 20px -10px rgba(193, 1, 93, 0.4);
  border-radius: 6px;
  font-weight: 900;
  font-size: 115%;
  line-height: 1.7;
  letter-spacing: 0.05em;
  transition: all 0.2s ease-in;
}
main #contact form .btn:hover {
  background-color: #ff2424;
}
main #contact form .btn:active {
  transform: translateY(4px);
}

.to_top {
  background: rgba(255, 255, 255, 0.3137254902);
  width: 45px;
  height: 45px;
  box-shadow: 0px 16.6667px 27.7778px -11.1111px rgba(0, 0, 0, 0.25), 0px 55.5556px 111.111px -27.7778px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  position: fixed;
  right: 10%;
  bottom: 100px;
  z-index: 10;
}
.to_top a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.to_top img {
  width: 4.5px;
  margin-left: 2px;
}

footer {
  background-color: #3E002C;
  padding: 20px 0 0;
}
body#page-404 footer {
  background-color: #271B12;
}
@media screen and (min-width: 1300px) {
  footer {
    padding: 30px 0 0;
  }
}
footer .sns-icons {
  display: flex;
  justify-content: space-between;
  width: 290px;
  margin: 10px auto 16px;
}
@media screen and (min-width: 1300px) {
  footer .sns-icons {
    margin-bottom: 23px;
  }
}
footer .sns-icons li a svg {
  width: 20px;
  height: auto;
  transition: fill 0.4s ease-out;
  fill: #FEF9F3;
}
footer .sns-icons li a:hover svg {
  fill: #ffc733;
}
footer .copy {
  color: #FEF9F3;
  text-align: center;
  font-size: 80%;
  width: 100%;
  padding: 10px;
  line-height: 1.2;
}

body#page-404 main {
  min-height: calc(100vh - 98px - 55px);
}
@media screen and (min-width: 1024px) {
  body#page-404 main {
    min-height: calc(100vh - 120px - 68px);
  }
}
body#page-404 .wrapper {
  padding-top: 200px;
}
@media screen and (max-width: 1023px) {
  body#page-404 .wrapper {
    padding-top: 100px;
  }
}
body#page-404 .flex {
  justify-content: space-between;
}
@media screen and (max-width: 1023px) {
  body#page-404 .flex {
    flex-direction: column;
  }
}
body#page-404 .img-box, body#page-404 .text-box {
  margin-bottom: 40px;
}
@media screen and (min-width: 1024px) {
  body#page-404 .img-box, body#page-404 .text-box {
    width: 46%;
  }
}
@media screen and (max-width: 1023px) {
  body#page-404 .img-box {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
body#page-404 h1 {
  font-weight: 900;
  font-size: 300%;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 30px;
}
@media screen and (max-width: 1023px) {
  body#page-404 h1 {
    font-size: 150%;
  }
}
body#page-404 .text-box {
  line-height: 1.75;
  font-size: 110%;
  display: flex;
  flex-direction: column;
}
body#page-404 .btn {
  margin-top: 50px;
  margin-bottom: 30px;
}
body#page-404 .btn a {
  border-radius: 4px;
  padding: 15px 20px;
}
@media screen and (max-width: 1023px) {
  body#page-404 .btn a {
    padding: 12px 16px;
  }
}
body#page-404 .btn-main a {
  background: #ffb900;
  color: #FEF9F3;
  text-transform: uppercase;
  font-size: 80%;
  font-weight: 700;
  transition: background 0.4s ease-out;
}
body#page-404 .btn-main a:hover {
  background: #ff9d00;
}

@media (prefers-reduced-motion: no-preference) {
  .slideup {
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(100px);
  }
  .slideup.active {
    opacity: 1;
    transform: translateY(0);
  }
  .delay {
    margin-top: 100px;
    transition: all 0.3s;
  }
  .delay + .delay {
    margin-top: 200px;
  }
  .delay.delayed {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .slideupleft {
    transition: all 0.3s;
    opacity: 0;
    transform: translate(100px, 100px);
  }
  .slideupleft.active {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@media screen and (min-width: 1024px) and (max-width: 1660px) {
  body {
    font-size: 90%;
  }
}
@media screen and (min-width: 1660px) and (max-width: 1024px) {
  body {
    font-size: 90%;
  }
}
@media screen and (max-width: 1300px) {
  canvas {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(50% - 16vw), 0 50%);
            clip-path: polygon(0 0, 100% 0, 100% calc(50% - 16vw), 0 50%);
  }
  main .top {
    margin-top: 16vw;
  }
  main .main-hero_img {
    width: 70vw;
    top: -4vw;
  }
}
@media screen and (max-width: 768px) {
  canvas {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(40% - 16vw), 0 40%);
            clip-path: polygon(0 0, 100% 0, 100% calc(40% - 16vw), 0 40%);
  }
  a.underline {
    padding-bottom: 2px;
  }
  .sp-none {
    display: none;
  }
  header, .wrapper {
    width: calc(100% - 30px);
  }
  header .logo {
    max-width: 120px;
  }
  header::after {
    top: 70px;
    right: 0;
  }
  #top-page main .main-title, #top-page main .over-title, #top-page main .back-title {
    font-size: 300%;
  }
  #top-page main .intro {
    font-size: 110%;
  }
  #top-page main .content-title {
    font-size: 200%;
    margin-bottom: 60px;
  }
  #top-page main .main-hero_img {
    left: 0;
    top: 140px;
    width: 100%;
  }
  #top-page main .main-hero_img::after {
    display: none;
  }
  #top-page main .top {
    padding-top: 50px;
  }
  #top-page main .top::after {
    left: 0;
    bottom: -79px;
    transform: rotate(180deg);
  }
  #top-page main .top .skills {
    width: 100%;
    align-items: flex-start;
    margin-top: 200px;
  }
  #top-page main .top .skills::after {
    display: none;
  }
  #top-page main .top .skills .skill-icons {
    width: 240px;
    gap: 10px 5px;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #top-page main #works {
    margin-top: 0;
    padding-bottom: 60px;
  }
  #top-page main #works .content-title {
    padding-top: 200px;
  }
  #top-page main #works a + svg {
    display: none;
  }
  #top-page main #works .works-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 160px);
    gap: 5.5vw;
  }
  #top-page main #works .works-grid li:first-child {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  #top-page main #works .works-grid li:last-child {
    grid-column: 1/2;
    grid-row: 4/5;
  }
  #top-page main #about {
    padding-bottom: 70px;
    position: relative;
  }
  #top-page main #about .content-title {
    margin-top: 90px;
  }
  #top-page main #about .wrapper::after {
    right: 15px;
    bottom: -22px;
  }
  #top-page main #about .about_box {
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
  }
  #top-page main #about .about_box li {
    width: 100%;
    height: 160px;
  }
  #top-page main #about .about_box::after {
    display: none;
  }
  #top-page main #about .about_box > li .caption {
    padding-top: 70px;
    font-size: 200%;
  }
  #top-page main #about .about_box > li .caption .smalltext {
    font-size: 55%;
    transform: translateX(0px);
    width: 90vw;
  }
  #top-page main #about .about_box > li ul li {
    overflow: hidden;
  }
  #top-page main #about::after {
    bottom: 14px;
    left: 15px;
    display: block;
    content: "";
    position: absolute;
  }
  #top-page main #experience {
    background: #271B12;
    padding-bottom: 30px;
  }
  #top-page main #experience .content-title {
    padding-top: 90px;
    margin-bottom: 96px;
    white-space: nowrap;
  }
  #top-page main #experience .content-title::after {
    display: none;
  }
  #top-page main #experience .content-title .over {
    -webkit-clip-path: none;
            clip-path: none;
  }
  #top-page main #experience .exp-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
  #top-page main #experience .exp-grid .edu, #top-page main #experience .exp-grid .work {
    grid-column: 1/2;
    width: 100vw;
    transform: translateX(-15px);
    padding: 55px 15px 20px;
  }
  #top-page main #experience .exp-grid .edu:nth-child(-n+2), #top-page main #experience .exp-grid .work:nth-child(-n+2) {
    display: none;
  }
  #top-page main #experience .exp-grid .edu::before, #top-page main #experience .exp-grid .work::before {
    text-align: right;
    top: 30px;
    left: 15px;
    width: 19.68px;
    height: 12.79px;
    background-size: 14.45px auto !important;
  }
  #top-page main #experience .exp-grid .edu::after, #top-page main #experience .exp-grid .work::after {
    position: absolute;
    top: 34px;
    left: 45px;
    content: "";
    display: block;
    width: calc(100% - 15px - 45px);
    height: 1px;
  }
  #top-page main #experience .exp-grid .edu h3, #top-page main #experience .exp-grid .work h3 {
    position: relative;
    font-size: 150%;
  }
  #top-page main #experience .exp-grid .edu h3::before, #top-page main #experience .exp-grid .work h3::before {
    position: absolute;
    top: -58px;
    right: 0;
    text-align: right;
    font-size: 50%;
    letter-spacing: 2px;
    opacity: 0.7;
  }
  #top-page main #experience .exp-grid > *:nth-child(n+3) {
    border-left: none;
  }
  #top-page main #experience .exp-grid .edu {
    background: #3E002C;
  }
  #top-page main #experience .exp-grid .edu::after {
    background: repeating-linear-gradient(to right, #ffb900 1px, #ffb900 3px, transparent 3px, transparent 5px);
  }
  #top-page main #experience .exp-grid .edu h3::before {
    content: "EDUCATION";
    color: #ffb900;
  }
  #top-page main #experience .exp-grid .work {
    background: #271B12;
  }
  #top-page main #experience .exp-grid .work::after {
    background: repeating-linear-gradient(to right, #ff3333 1px, #ff3333 3px, transparent 3px, transparent 5px);
  }
  #top-page main #experience .exp-grid .work h3::before {
    content: "WORK";
    color: #ff0000;
  }
  #top-page main #experience .exp-grid + p.text-right {
    margin-top: 20px;
    text-align: left;
    margin-left: 38px;
  }
  #top-page main #experience a.white::after {
    width: 28px;
    height: 16.31px;
    left: -38px;
    bottom: auto;
    right: auto;
    top: 0;
    background-size: 19.45px 13.1px;
  }
  #top-page main #contact {
    padding-bottom: 60px;
  }
  #top-page main #contact .content-title {
    margin-top: 90px;
  }
  #top-page main #contact .content-title::after {
    width: 32px;
    height: 19.99px;
    background-size: 22.97px 15.47px;
    right: 0;
    top: -70px;
  }
  #top-page main #contact form {
    grid-template-columns: 100%;
    width: 100%;
  }
  #top-page main #contact form > *:last-child,
  #top-page main #contact form > *:nth-child(3) {
    grid-column: auto;
  }
  #top-page main #contact form .btn {
    width: 100%;
    border-radius: 55px;
  }
  #top-page main #contact .wrapper::after {
    bottom: -50px;
    left: 0;
  }
  footer {
    padding-top: 20px;
  }
  footer .sns-icons {
    margin-bottom: 13px;
  }
  footer .sns-icons li a svg {
    width: 16px;
  }
  footer .copy {
    padding-bottom: 4px;
  }
  main #contact .wrapper::after,
  main .top::after {
    width: 42px;
    height: 27px;
    background: url(/common/images/triangle_yel.svg) no-repeat left 6.53px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  }
  main #about .wrapper::after,
  header::after {
    background: url(/common/images/triangle_yel.svg) no-repeat left 6px top, url(/common/images/triangle_purp.svg) no-repeat left top, url(/common/images/triangle_purp.svg) no-repeat right bottom;
  }
  main #about::after {
    background: url(/common/images/triangle_purp.svg) no-repeat left 6px top, url(/common/images/triangle_yel.svg) no-repeat left top, url(/common/images/triangle_yel.svg) no-repeat right bottom;
  }
  main #about .wrapper::after,
  header::after,
  main #about::after {
    width: 40px;
    height: 22.95px;
  }
  main #contact .wrapper::after,
  main .top::after,
  main #about .wrapper::after,
  header::after,
  main #about::after {
    background-size: 20.42px 13.75px;
  }
}
@media screen and (max-width: 350px) {
  body {
    font-size: 75%;
  }
}
@media screen and (max-width: 1023px) {
  header {
    z-index: 25;
  }
  header nav {
    position: fixed;
    z-index: 25;
    transform: translateX(220px);
    width: 220px;
    transition: all 0.4s ease-out;
    display: flex;
    height: 100vh;
    background: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    padding: 15px 15px 15px 30px;
    box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 0.25);
  }
  header nav .nav-menu {
    flex-direction: column;
    width: auto;
    font-size: 120%;
  }
  header nav .nav-menu > li + li {
    margin-left: 0;
    margin-top: 30px;
  }
  header nav .nav-menu .sub-menu {
    display: block;
    text-align: right;
  }
  header nav .nav-menu .sub-menu li {
    margin-top: 15px;
  }
  header nav .nav-menu a {
    color: #333;
  }
  header nav.opened {
    transform: translateX(0px);
  }
  .sp-menu-btn .line {
    display: block;
    background: #FEF9F3;
    height: 2px;
    border-radius: 1px;
  }
  body#page-404 .sp-menu-btn .line {
    background: #271B12;
  }
  .sp-menu-btn .line {
    width: 18px;
  }
  .sp-menu-btn .line + .line {
    margin-top: 3px;
  }
  .x-btn {
    width: 18px;
    height: auto;
    margin-left: auto;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .x-btn {
    display: none;
  }
  .wrapper {
    width: calc(100% - 130px);
  }
}
@media screen and (min-width: 1280px) {
  .wrapper {
    width: 1196px;
  }
  main #works .works-grid, main #works ul.back {
    gap: 52px;
  }
}
@media screen and (min-width: 1490px) {
  header {
    width: 1440px;
  }
}
@media screen and (min-width: 1980px) {
  header {
    width: 1660px;
  }
}