@charset "UTF-8";
:root {
  --main-color: #e6e7e6;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  color: black;
  font-family: "Arimo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

picture {
  display: block;
}

.bgparallax {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  z-index: -3;
  background-color: var(--main-color);
}
.bgparallax::before {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100dvh;
  background: linear-gradient(145deg, rgba(182, 242, 245, 0.76), rgba(124, 42, 232, 0.5));
}

.bgparallax__pic {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background-color: var(--main-color);
}
.bgparallax__pic img {
  object-position: 70% bottom;
}

/* fv 画像アニメーション */
.animation-inset, .bgparallax__pic,
.bgparallax::before {
  animation-name: inset;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes inset {
  0% {
    -webkit-clip-path: inset(0 100% 100% 0);
    clip-path: inset(0 100% 100% 0);
  }
  100% {
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }
}
.fv {
  height: 100dvh;
  display: flex;
}

.fv__side-box {
  position: relative;
  background-color: var(--main-color);
  width: 20%;
  height: 100%;
  font-size: 1rem;
  letter-spacing: 0.14em;
}
@media (min-width: 1024px) {
  .fv__side-box {
    font-size: 1.25rem;
  }
}

.fv__name,
.fv__job {
  transform: rotate(-90deg);
  transform-origin: left center;
  position: absolute;
  padding: 10px;
  left: 50%;
  white-space: nowrap;
}

.fv__name {
  bottom: 10%;
}

.fv__job {
  bottom: 60%;
}

.fv__main-box {
  width: 80%;
  position: relative;
}

.fv__title {
  position: absolute;
  bottom: 20px;
  left: 10px;
  padding: 20px;
  color: #ffffff;
  font-weight: bold;
  font-size: clamp(2.5rem, 1.73rem + 3.29vw, 4.688rem);
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left top;
  display: inline-flex;
}
.fv__title span {
  display: inline-block;
  transform: translateX(200vw);
  opacity: 1;
  animation-name: fall;
  animation-duration: 0.3s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}
.fv__title span:nth-child(1) {
  animation-delay: 0.1s;
}
.fv__title span:nth-child(2) {
  animation-delay: 0.2s;
}
.fv__title span:nth-child(3) {
  animation-delay: 0.3s;
}
.fv__title span:nth-child(4) {
  animation-delay: 0.4s;
}
.fv__title span:nth-child(5) {
  animation-delay: 0.5s;
}
.fv__title span:nth-child(6) {
  animation-delay: 0.6s;
}
.fv__title span:nth-child(7) {
  animation-delay: 0.7s;
}
.fv__title span:nth-child(8) {
  animation-delay: 0.8s;
}
.fv__title span:nth-child(9) {
  animation-delay: 0.9s;
}
.fv__title span:nth-child(10) {
  animation-delay: 1s;
}
@keyframes fall {
  0% {
    transform: translateX(200vw);
  }
  100% {
    transform: translateX(0);
  }
  @media (min-width: 768px) {
    .fv__title {
      bottom: 0;
    }
  }
  @media (min-width: 1024px) {
    .fv__title {
      bottom: -40px;
    }
  }
}

.gnav {
  position: absolute;
  bottom: 15px;
  right: 0px;
  padding: 10px;
  color: #ffffff;
}
@media (min-width: 1024px) {
  .gnav {
    bottom: 40px;
  }
}

.gnav__list {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  display: flex;
}
@media (min-width: 1024px) {
  .gnav__list {
    font-size: 1.25rem;
  }
}

.gnav__item {
  border-right: 2px solid #ffffff;
  padding: 0 5px;
}
.gnav__item:nth-child(4) {
  border-right: none;
}

.inner {
  max-width: 1170px;
  padding: 70px 20px 0;
  margin: 0 auto;
}

.wrapper {
  display: grid;
  padding: 70px 0;
  row-gap: 50px;
}

.section-heading {
  font-size: 2.1875rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.section-heading span {
  display: inline-block;
  transform: translateY(-100%);
  opacity: 0;
}
.section-heading.is-visible {
  opacity: 1;
}
.section-heading.is-visible span {
  animation-name: title-animation;
  animation-duration: 0.3s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
.section-heading span:nth-child(1) {
  animation-delay: 0s;
}
.section-heading span:nth-child(2) {
  animation-delay: 0.1s;
}
.section-heading span:nth-child(3) {
  animation-delay: 0.2s;
}
.section-heading span:nth-child(4) {
  animation-delay: 0.3s;
}
.section-heading span:nth-child(5) {
  animation-delay: 0.4s;
}
.section-heading span:nth-child(6) {
  animation-delay: 0.5s;
}
.section-heading span:nth-child(7) {
  animation-delay: 0.6s;
}
.section-heading span:nth-child(8) {
  animation-delay: 0.7s;
}
.section-heading span:nth-child(9) {
  animation-delay: 0.8s;
}

@keyframes title-animation {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.work,
.skill {
  margin-top: -1px;
}

.work {
  background-color: var(--main-color);
}

.work__content {
  padding: 20px 0;
  display: grid;
  grid-gap: 20px;
}
@media (min-width: 768px) {
  .work__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}
@media (min-width: 1024px) {
  .work__content {
    padding: 40px 0;
  }
}

.work-card {
  font-size: 1rem;
  font-weight: normal;
  display: flex;
  font-size: 0.875rem;
}

.work-card--reverse {
  flex-direction: row-reverse;
}

.work-card__main {
  padding: 10px;
}

.work-card__title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 20px 10px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
}

.work-card__pic {
  position: relative;
  max-width: 400px;
  width: 100%;
  height: auto;
  aspect-ratio: 7/5;
  overflow: hidden;
  cursor: pointer;
}
.work-card__pic img {
  object-position: top;
}
.work-card__pic picture {
  height: 100%;
  width: 100%;
}

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.zoom-icon::before {
  content: "+";
}

.work-card__skill {
  padding: 10px;
  margin: 10px auto 0 auto;
  text-align: center;
  letter-spacing: 0.1em;
}

.material-symbols-outlined {
  vertical-align: middle;
}

.popup-overlay {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-window {
  background: white;
  padding: 40px 20px;
  width: 80%;
  max-height: 80vh; /* 高さを画面の80%に制限 */
  overflow: auto; /* はみ出した場合スクロール */
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-window__top-pic {
  max-width: 700px;
  margin: 0 auto;
}

.popup-window__pic-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.popup-window__sub-pic {
  max-width: 350px;
}
.popup-window__sub-pic img {
  object-fit: contain;
}

.popup-window__title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-window__title span {
  margin-left: 5px;
}

.popup-window__text {
  padding: 15px 0;
  line-height: 1.4;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .popup-window__text {
    font-size: 1rem;
  }
}

.popup-close {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #000000;
}

.popup-overlay:checked {
  display: flex;
}

.skill {
  background-color: var(--main-color);
}

.skill__content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 30px 0 70px;
}
@media (min-width: 1024px) {
  .skill__content {
    padding: 50px 0 90px;
  }
}

.skill-card {
  width: 100%;
  max-width: 380px;
  min-width: 300px;
  display: flex;
  padding: 10px 20px;
  background-color: #ffffff;
  align-items: center;
}

.skill-card__icon {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
}
.skill-card__icon .img80 {
  width: 80%;
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.skill-card__title {
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.skill-card__text {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 10px;
}

.about {
  color: #ffffff;
  padding-bottom: 70px;
}

.about__content {
  max-width: 850px;
  position: relative;
  margin: 0 auto;
}

.about__text-box {
  max-width: 500px;
  width: 70%;
}

.about__heading {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%) rotate(90deg);
}

.about__name {
  font-size: 1.5625rem;
  font-weight: bold;
}

.about__text {
  margin-top: 35px;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.contact {
  background-color: var(--main-color);
}

.contact__content {
  display: grid;
  row-gap: 20px;
  padding: 30px 0 70px;
  width: 80%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact__content {
    grid-template-columns: 1fr 3fr 1fr;
    justify-content: space-between;
    align-items: center;
  }
}

.contact__message {
  text-align: right;
  letter-spacing: 0.15em;
  margin-top: 20px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .contact__message {
    transform: rotate(-90deg);
  }
}

.contact__pic {
  max-width: 450px;
  margin: 0 auto;
}

.contact__info {
  margin: 0 0 auto;
}
@media (min-width: 768px) {
  .contact__info {
    margin: inherit;
  }
}

.contact__name {
  font-size: 1.75rem;
  font-weight: bold;
}

.contact__e-mail {
  font-size: 0.875rem;
  margin-top: 30px;
}

.page_top {
  font-size: clamp(35px, 6vw, 50px);
  position: fixed;
  right: 2%;
  bottom: 2%;
  opacity: 0.7;
  animation: 1.5s ease 0s infinite normal none running bound;
}

@keyframes bound {
  50% {
    bottom: 2.5%;
  }
}/*# sourceMappingURL=style.css.map */