@charset "utf-8";

/*共通*/
.caption_subtitle {
  font-size: 2rem;
}

.skill h2,
.works h2 {
  position: absolute;
  top: 20rem;
  z-index: 1;
  border: 2px solid;
  padding: 1.5rem 2rem;
  display: flex;
  min-width: 320px;
  justify-content: space-between;
  align-items: baseline;
  -webkit-transform: rotate(90deg) translateX(-30px);
  transform: rotate(90deg) translateX(-30px);
}

/*sp表示*/
@media screen and (max-width: 768px) {
  .caption_subtitle {
    font-size: 1.4rem;
  }

  .skill h2,
  .works h2 {
    padding: 1rem 1.5rem;
    top: 15rem;
    min-width: 230px;
  }
}

/*end sp表示*/
/*END 共通*/

/*mv*/
.mv {
  display: flex;
  align-items: center;
  margin: auto;
  height: 70vh;
}

.mv .wrapper {
  position: inherit;
}

h1 {
  width: fit-content;
  max-width: 100%;
  margin: auto;
  position: fixed;
  z-index: -1;
  bottom: 21.5%;
  left: 50%;
  transform: translateX(-50%);
}


.main_txt {
  letter-spacing: 3.5rem;
  font-size: 30rem;
  font-weight: 600;
  line-height: 1;
  color: #1c1e2a;
}


.year {
  font-size: 3.5rem;
  writing-mode: vertical-rl;
  position: absolute;
  left: 10rem;
  top: 5rem;
  position: fixed;
  z-index: -1;
}

.year .slide-in_inner {
  border-left: 2px solid #1c1e2a;
}

/*sp表示*/
@media screen and (max-width: 768px) {
  .mv {
    height: 68vh;
    overflow: hidden;
  }

  h1 {
    bottom: 19.5%;
  }

  .main_txt {
    letter-spacing: .1rem;
    font-size: 10.5rem;
    font-weight: 700;
  }

  .year {
    font-size: 2.4rem;
    left: 3rem;
  }
}

/*end sp表示*/
/*end mv*/


/*about*/
.about {
  background-color: #1c1e2a;
}

.add-recommendItem {
  --item-margin: 26px;
  --magic-num: 42px;
  position: relative;
  padding: var(--item-margin);
}

.add-recommendItem {
  max-width: 900px;
  margin: auto;
  --x-width: 60px;
  --x-height: 48px;
  position: relative;
  clip-path: polygon(var(--x-width) 0, 100% 0, 100% calc(100% - var(--x-width)), calc(100% - var(--x-width)) 100%, 0 100%, 0 var(--x-width));
}

.add-recommendItem::before,
.add-recommendItem::after {
  position: absolute;
  top: var(--item-margin);
  left: var(--item-margin);
  z-index: 10;
  width: 174px;
  height: 2px;
  content: "";
  background: #f7f0ea;
  transform: translate(-50%, 42px);
  transform-origin: left top;
  rotate: -45deg;
}

.add-recommendItem::after {
  top: auto;
  right: var(--item-margin);
  bottom: var(--item-margin);
  left: auto;
  transform: translate(50%, -42px);
  transform-origin: right bottom;
}

.add-recommendItem__inner {
  --x-width: 60px;
  --x-height: 48px;
  position: relative;
  padding: 40px 67px;
  clip-path: polygon(var(--x-width) 0, 100% 0, 100% calc(100% - var(--x-width)), calc(100% - var(--x-width)) 100%, 0 100%, 0 var(--x-width));
  background-color: #1c1e2a;
  border: 2px solid #f7f0ea;
}

.about h2 {
  color: #fff8f3;
  display: flex;
  margin-bottom: 2rem;
  justify-content: space-between;
  align-items: baseline;
}

.about h3 {
  margin-bottom: 1.5rem;
}

.about h3 span {
  display: inline-block;
  padding: 4px 7px 1px;
}

.about h3 .name {
  font-size: 2rem;
  color: #1c1e2a;
  background-color: #fff8f3;
}

.about h3 .name_roman {
  margin-top: 5px;
  font-size: 3.6rem;
  color: #1c1e2a;
  background-color: #d4b2e4;
}

.about h4 {
  display: inline-block;
  padding: 5px 7px;
  margin: 1.5rem auto 1rem;
  font-size: 1.6rem;
  font-weight: normal;
  color: #fff8f3;
  border: 1px solid;
}

.about .general-p {
  color: #fff8f3;
}

.about .general-p .link_text {
  color: #fff8f3;
  font-size: 1.6rem;
  margin-top: 1rem;
  display: inline-block;
  cursor: pointer;
}

.about .general-p .link_text::before {
  background: #fff8f3;
  height: 1px;
}

.about .general-p .link_text::after {
  border-top: 2px solid #fff8f3;
  border-right: 2px solid #fff8f3;
}

/*sp表示*/
@media screen and (max-width: 768px) {
  .add-recommendItem {
    --item-margin: 16px;
  }

  .add-recommendItem__inner {
    padding: 30px 30px;
  }

  .about h3 .name {
    font-size: 1.8rem;
  }

  .about h3 .name_roman {
    font-size: 2.6rem;
  }

  .about h4 {
    font-size: 1.4rem;
  }

  .about .general-p .link_text {
    font-size: 1.4rem;
  }
}

/*end sp表示*/

/*end about*/

/*skill*/
.skill {
  background-color: #d4b2e4;
}

.skill h2 {
  left: -11rem;
}

.skill ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 6rem;
  margin-left: 7.5rem;
}

.skill ul::after {
  content: "";
  display: block;
  width: 30%;
  height: 0;
}

.skill ul li {
  width: 30%;
  position: relative;
}

.skill ul li:nth-of-type(n+4) {
  margin-top: 4rem;
}

.icon {
  width: 90%;
  padding: 7rem .5rem 8rem 0;
  margin: auto;
  background-color: #fff8f3;
}

.icon p {
  width: 60%;
  margin: auto;
}

.txt {
  margin-top: -2rem;
}

.txt h3 {
  display: inline-block;
  padding: .2rem 2rem 0;
  font-size: 4rem;
  letter-spacing: .1rem;
  color: #fff8f3;
  background-color: #1c1e2a;
}

.txt p {
  margin-top: 1.5rem;
  font-size: 1.6rem;
  line-height: 1.5;
}

/*sp表示*/
@media screen and (max-width: 768px) {
  .skill h2 {
    left: -8rem;
  }

  .skill ul {
    margin-left: 5.5rem;
    margin-top: 4rem;
    row-gap: 3rem;
  }

  .skill ul li {
    width: 48%;
  }

  .skill ul li:nth-of-type(n+4) {
    margin-top: 0;
  }


  .skill ul li:nth-of-type(5) {
    margin-top: 0;
  }

  .icon {
    width: 94%;
  }

  .txt {
    top: 20rem;
    left: 0rem;
  }

  .txt h3 {
    font-size: 2.8rem;
    padding: .2rem 1rem 0;
  }

  .txt p {
    margin-top: 1rem;
    font-size: 1.4rem;
  }
}

/*end sp表示*/
/*end skill*/

/*works*/
.works {
  background-color: #fff8f3;
}

.works h2 {
  right: -10rem;
  background: linear-gradient(180deg, #fff8f3 0%, #fff8f3 90%, 10%, rgba(255, 0, 0, 0)100%);
}


.works ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 4rem;
  margin-right: 7.5rem;
  row-gap: 5rem;
}

.works ul li {
  width: calc(100% / 3);
  padding-left: 2rem;
  border-right: 1px solid;
}

.works ul li:first-child {
  padding-left: 0;
}


.works ul li:nth-child(3) {
  border-right: none;
}

.works ul li a {
  display: flex;
  padding-right: 2rem;
  align-items: flex-start;
}

.item {
  transition: .3s;
  max-width: 230px;
  margin: auto;
}

.works ul li a:hover .item {
  transform: rotate(-5deg);
}


.slide-text {
  display: flex;
  gap: 20px;
  font-size: 2rem;
  writing-mode: tb;
  scale: -1;
  align-items: center;
  margin-right: 1rem;
}

.slide-text hr {
  display: inline-block;
  width: 12px;
  height: 1px;
  border-color: #707070;
  border-top-width: 1px;
  box-sizing: content-box;
  clear: both;
  color: inherit;
  height: 0;
  margin: 0;
  overflow: visible;
}

/*sp表示*/
@media screen and (max-width: 768px) {
  .works h2 {
    right: -8rem;
    background: linear-gradient(180deg, #fff8f3 0%, #fff8f3 50%, 50%, rgba(255, 0, 0, 0)100%);
  }

  .works ul {
    margin-right: 6.5rem;
  }

  .item {
    max-width: 600px;
  }
}

/*end sp表示*/
/*end works*/