/*
Theme Name: Portfolio Theme
Description: ポートフォリオサイトのテーマ
Author: kiyuu
Version: 1.0
*/

@charset "UTF-8";

/* ========================
  Foundation
======================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  letter-spacing: 0.05rem;
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

li {
  list-style: none;
}

@media (min-width: 768px) {
  .no-pc {
    display: none;
  }
}

@media (max-width: 767px) {
  .no-sp {
    display: none;
  }
}

/* ========================
  Layout
======================== */
.l-container {
  width: 92.3%;
  max-width: 75rem;
  margin-inline: auto;
}

.l-container--narrow {
  max-width: 56.25rem;
}

.l-container--full {
  width: 100%;
  max-width: none;
}

@media (min-width: 768px) {
  .l-about__pc {
    display: flex;
    column-gap: 3rem;
  }
}

.l-skill-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .l-skill-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
  }
}

.l-works__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3.5rem;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .l-works__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1201px) {
  .l-works__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.l-work-mockup__item {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .l-work-mockup__item--sp {
    flex-direction: row;
  }
}


/* ========================
  Component
======================== */
.c-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  text-align: center;
  background: linear-gradient(160deg, #FFD1DC 0%, #F3FFD1 70%, #D1FFF4 100%);
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  visibility: hidden;
  pointer-events: none;
}

.c-nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.c-nav__link {
  transition: opacity 0.6s ease;
}

.c-nav__link:hover {
  opacity: 0.7;
}

.c-nav--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.c-hamburger {
  position: fixed;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 100;
  width: 3.75rem;
  height: 3.75rem;
  background-color: #fff;
  cursor: pointer;
  box-shadow: 0.5px 0.5px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .c-hamburger:hover {
    opacity: 0.7;
  }
}

.c-hamburger__line {
  width: 1.875rem;
  height: 0.125rem;
  background-color: #666;
  position: absolute;
  left: 1rem;
  transition: 0.3s ease-in-out;
}

.c-hamburger__line:nth-child(1) {
  top: 1.25rem;
}

.c-hamburger__line:nth-child(2) {
  top: 1.875rem;
}

.c-hamburger__line:nth-child(3) {
  top: 2.5rem;
}

.c-hamburger--active .c-hamburger__line:nth-child(1) {
  top: 1.875rem;
  left: 1rem;
  background-color: #666;
  transform: rotate(-45deg);
}

.c-hamburger--active .c-hamburger__line:nth-child(2),
.c-hamburger--active .c-hamburger__line:nth-child(3) {
  top: 1.875rem;
  background-color: #666;
  transform: rotate(45deg);
}

.c-section-title {
  position: relative;
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
  z-index: 1;
  -webkit-text-stroke: 1px #666;
  color: #fff;
}

@media (min-width: 768px) {
  .c-section-title {
    font-size: 2.625rem;
  }
}

.c-section-title::before {
  position: absolute;
  top: -3rem;
  left: -1.25rem;
  font-size: 3.75rem;
  opacity: 0.2;
  -webkit-text-stroke: 0;
  z-index: -1;
}

@media (min-width: 768px) {
  .c-section-title::before {
    font-size: 4.375rem;
  }
}

.c-section-title--works::before {
  content: 'WORKS';
  color: #FFD1DC;
}

.c-section-title--about::before {
  content: 'ABOUT';
  color: #F3FFD1;
  opacity: 0.5;
}

.c-section-title--skill::before {
  content: 'SKILL';
  color: #D1FFF4;
  opacity: 0.5;
}

.c-section-title--contact::before {
  content: 'CONTACT';
  color: #ddd;
  opacity: 0.5;
}

.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.625rem;
  height: 3.125rem;
  margin: 1rem auto 0;
  border: solid 1px #666;
  border-radius: 2rem;
  background-color: #fff;
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .c-btn {
    width: 12.5rem;
    height: 3.75rem;
  }
}

.c-btn--arrow::before,
.c-btn--arrow::after {
  content: '';
  position: absolute;
  right: 0.625rem;
  height: 1px;
  background-color: #666;
  transition: 0.3s;
}

.c-btn--arrow::before {
  width: 5.375rem;
  top: 80%;
}

.c-btn--arrow::after {
  width: 1rem;
  top: 72%;
  transform: rotate(25deg);
}

.c-btn--arrow:hover::before,
.c-btn--arrow:hover::after {
  right: -1rem;
}

.c-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  column-gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.c-feature-card--about {
  justify-content: center;
  max-width: 31.25rem;
  margin-inline: auto;
  background-color: #F3FFD1;
}

.c-feature-card--skill {
  flex: 1;
  min-width: 30%;
  background-color: #D1FFF4;
}

.c-feature-card__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
}

.c-feature-card__heading {
  margin-bottom: 0.625rem;
  padding-bottom: 0.1875rem;
  text-align: center;
  font-family: "Questrial", sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.3125rem;
  border-bottom: dotted 1px #666;
}

.c-works__title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 400;
}

.c-works-card__thumb {
  overflow: hidden;
  box-shadow: 0.5px 0.5px 8px rgba(0, 0, 0, 0.2);
}

.c-works-card__thumb img {
  transition: transform 0.5s ease;
}

.c-works-card__title {
  font-size: 1.25rem;
  font-weight: 400;
}

@media (min-width: 768px) {
  .c-works-card__title {
    font-size: 1.25rem;
  }
}

.c-works-card__link:hover {
  text-decoration: underline;
}

.c-works-card__link:hover .c-works-card__thumb img {
  transform: scale(1.1);
}

.c-tag-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.5rem;
}

.c-tag {
  display: inline-block;
  padding: 0.3125rem 0.625rem;
  font-size: 0.75rem;
  background-color: #FFD1DC;
  border-radius: 2rem;
  transition: all 0.5s ease;
}

.c-tag:hover {
  opacity: 0.5;
}

.p-work__title {
  font-size: 1.6rem;
  font-weight: 400;
}

@keyframes floatUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.p-work__top {
  display: flex;
  flex-direction: column-reverse;
  animation: floatUp 3s ease;
}

@media (min-width: 768px) {
  .p-work__top {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .p-work__title {
    flex: 1;
    text-align: center;
  }

  .p-work__img {
    flex: 1;
  }
}

.c-footer__copyright {
  text-align: center;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .c-footer__copyright {
    font-size: 1rem;
  }
}

.c-fadeIn-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.c-fadeIn-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

.animate__animated {
  opacity: 0;
}

/* ========================
  Project
======================== */
/* メインビジュアル
------------------------------------------ */
.p-mv {
  position: relative;
  height: 100vh;
  background: #FFD1DC;
  background: linear-gradient(160deg, #FFD1DC 0%, #F3FFD1 70%, #D1FFF4 100%);
}

@keyframes textFloat {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.p-mv-text {
  position: absolute;
  top: 35%;
  right: 3.85%;
  text-align: right;
  animation: textFloat 5s ease;
}

.p-mv-text__title {
  margin-bottom: 0.625rem;
  color: #fff;
  font-size: 2rem;
  letter-spacing: 0.3125rem;
  text-shadow: 0.5px 0.5px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .p-mv-text__title {
    letter-spacing: 0.5rem;
    font-size: 3rem;
  }
}

.p-mv-text__title+p {
  font-size: 1rem;
  letter-spacing: 0.125rem;
  line-height: 1.8;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .p-mv-text__title+p {
    font-size: 1.125rem;
  }
}

.custom-shape-divider-bottom-1771636772 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1771636772 svg {
  position: relative;
  display: block;
  width: calc(130% + 1.3px);
  height: 3.125rem;
}

.custom-shape-divider-bottom-1771636772 .shape-fill {
  fill: #fff;
}

@media (min-width: 768px) {
  .custom-shape-divider-bottom-1771636772 svg {
    height: 6.25rem;
  }
}

/* WORKS(TOP)
------------------------------------------ */
.p-works {
  padding-top: 3rem;
  background-color: #fff;
}

.swiper-wrapper {
  padding: 1rem 0;
  transition-timing-function: linear;
}

.swiper-slide img {
  box-shadow: 0.5px 0.5px 8px rgba(0, 0, 0, 0.2);
}

/* ABOUT
------------------------------------------ */
.p-about {
  padding-top: 3rem;
  background-color: #fff;
}

.c-feature-card__logo img {
  width: 7.5rem;
  margin-bottom: 1rem;
}

.bi-arrow-through-heart::before {
  font-size: 1.25rem;
}

.p-about__timeline li {
  display: flex;
  align-items: center;
}

.timeline-date {
  position: relative;
  flex: 0 0 6.25rem;
  margin-right: 0.625rem;
  padding: 0.5rem 0;
  text-align: center;
  font-family: "Questrial", sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  background-color: #FFF4D1;
  border-radius: 1.5625rem;
}

.timeline-content {
  flex: 1 0;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 1rem;
  border-left: solid 3px #F3FFD1;
}

.timeline-date::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 0.625rem;
  height: 0.625rem;
  background-color: #FFF4D1;
  border-radius: 50%;
  transform: translateY(-0.3125rem);
}

@media (min-width: 768px) {
  .p-about__profile {
    gap: 2rem;
    max-width: 65.5rem;
    margin-inline: auto;
  }

  .profile-img img {
    width: 9.375rem;
    margin-bottom: 0;
  }

  .profile-text h3 {
    font-size: 2rem;
  }

  .p-about__timeline {
    max-width: 65.5rem;
    margin-inline: auto;
  }
}

/* SKILL
------------------------------------------ */
.p-skill {
  padding-top: 3rem;
  background-color: #fff;
}

.c-feature-card--skill i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.375rem;
}

/* WORKS(実績一覧)
------------------------------------------ */
.c-works__title::before {
  position: absolute;
  content: '';
  top: 50%;
  width: 4.375rem;
  height: 0.0625rem;
  left: -0.625rem;
  background-color: #666;
}

/* WORK(実績詳細)
------------------------------------------ */
.p-work-info__item {
  display: flex;
  flex-direction: column;
  border-top: solid 1px #EFE8DD;
}

.p-work-info__item:last-child {
  border-bottom: solid 1px #EFE8DD;
}

.p-work-info__heading {
  font-size: 0.75rem;
  font-weight: 500;
}

.p-work__mockup {
  background: linear-gradient(160deg, #FFD1DC 0%, #F3FFD1 70%, #D1FFF4 100%);
}

.p-work-mockup__heading {
  text-align: center;
  font-family: "Questrial", sans-serif;
  font-weight: 400;
}

.p-work-phone {
  width: 20rem;
  height: 40rem;
  margin-inline: auto;
  border: solid 8px #999;
  border-radius: 2rem;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.p-work-phone__screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.p-work-phone__screen img {
  width: 100%;
  height: auto;
  display: block;
}

.p-work-browser {
  max-width: 900px;
  margin-inline: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.p-work-browser__top {
  height: 40px;
  background-color: #eee;
  display: flex;
  align-items: center;
  padding-left: 12px;
  gap: 8px;
}

.p-work-browser__top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
}

.p-work-browser__body {
  height: 500px;
  overflow-y: auto;
}

.p-work-browser__body img {
  width: 100%;
  display: block;
}

/* CONTACT
------------------------------------------ */
.p-contact {
  position: relative;
  height: 40vh;
  padding-top: 6.25rem;
  background: linear-gradient(160deg, #D1FFF4 0%, #FFD1DC 100%);
}

.custom-shape-divider-top-1774246715 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1774246715 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 3.125rem;
}

@media (min-width: 768px) {
  .custom-shape-divider-top-1774246715 svg {
    height: 6.25rem;
  }
}

.custom-shape-divider-top-1774246715 .shape-fill {
  fill: #FFFFFF;
}

/* ========================
  Utility
======================== */
.u-mt-8 {
  margin-top: 0.5rem;
}

.u-mt-16 {
  margin-top: 1rem;
}

.u-mt-70 {
  margin-top: 4.375rem;
}

.u-mt-80 {
  margin-top: 5rem;
}

.u-mb-8 {
  margin-bottom: 0.5rem;
}

.u-mb-16 {
  margin-bottom: 1rem;
}

.u-mb-32 {
  margin-bottom: 2rem;
}

.u-mb-48 {
  margin-bottom: 3rem;
}

.u-mb-60 {
  margin-bottom: 3.75rem;
}

.u-ml-70 {
  margin-left: 4.375rem;
}

.u-pt-10 {
  padding-top: 0.625rem;
}

.u-pt-32 {
  padding-top: 2rem;
}

.u-pt-90 {
  padding-top: 5.625rem;
}

.u-pb-10 {
  padding-bottom: 0.625rem;
}

.u-pb-32 {
  padding-bottom: 2rem;
}

.u-pl-5 {
  padding-left: 0.3125rem;
}