@charset "UTF-8";
/* ====================================
   Variables - 変数
   ==================================== */
:root {
  --psi-color-primary-blue: #24a4db;
  --psi-color-dark-blue: #165ea3;
  --psi-color-accent-yellow: #f3fe01;
  --psi-color-text-dark: #000;
  --psi-color-text-gray: #333;
  --psi-color-bg-white: #fff;
}

/* ====================================
   Main Section - メインキャッチコピー
   ==================================== */
.psi-main {
  padding: 20px 20px 60px;
  background-color: var(--psi-color-bg-white);
}

.psi-main__container {
  max-width: 1200px;
  margin: 0 auto;
}

.psi-main__catchcopy {
  font-family: "Noto Serif JP", serif;
  font-size: 70px;
  font-weight: 400;
  color: var(--psi-color-text-dark);
  line-height: 1.29;
  margin: 0;
}
.psi-main__catchcopy span {
  display: block;
}

/* ====================================
   Lead Section - リード文
   ==================================== */
.psi-lead {
  padding: 0 20px 60px;
  background-color: var(--psi-color-bg-white);
}

.psi-lead__container {
  max-width: 1200px;
  margin: 0 auto;
}

.psi-lead__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--psi-color-text-dark);
  line-height: 2.125;
  margin: 0;
}

.psi-lead__br--pc {
  display: block;
}

/* ====================================
   Projects Section - プロジェクト一覧
   ==================================== */
.psi-projects {
  padding: 0 20px 100px;
}

.psi-projects__container {
  max-width: 1200px;
  margin: 0 auto;
}

.psi-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

/* ====================================
   Project Card - プロジェクトカード
   ==================================== */
.psi-project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.psi-project-card:hover {
  transform: translateY(-8px);
}
.psi-project-card:hover .psi-project-card__image img {
  transform: scale(1.05);
}

.psi-project-card__thumbnail {
  position: relative;
  aspect-ratio: 571/411;
  overflow: visible;
  margin-bottom: 120px;
}

.psi-project-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.psi-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.psi-project-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.psi-project-card__overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.psi-project-card__number {
  position: absolute;
  bottom: -100px;
  left: 20px;
  z-index: 2;
}
@media (max-width: 768px) {
  .psi-project-card__number {
    bottom: -10vw;
  }
}

.psi-project-card__number-text {
  display: grid;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 180px;
  font-weight: 400;
  width: 160px;
  place-items: center;
  place-content: center;
  color: var(--psi-color-text-dark);
  line-height: 1;
  background-color: var(--psi-color-bg-white);
}

.psi-project-card__number-line {
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--psi-color-accent-yellow);
}

.psi-project-card__content {
  padding-left: 15px;
}

.psi-project-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: 41px;
  font-weight: 500;
  color: var(--psi-color-text-dark);
  line-height: 1.46;
  margin: 0 0 8px;
}
.psi-project-card__title span {
  display: block;
}

.psi-project-card__subtitle {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--psi-color-text-dark);
  line-height: 1.5;
  margin: 0;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
  .psi-main__catchcopy {
    font-size: 56px;
  }
  .psi-project-card__number-text {
    font-size: 140px;
  }
  .psi-project-card__title {
    font-size: 32px;
  }
  .psi-projects__grid {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .psi-main {
    padding: 60px 20px;
  }
  .psi-main__catchcopy {
    font-size: 42px;
    text-align: center;
  }
  .psi-lead {
    padding: 0 20px 60px;
  }
  .psi-lead__text {
    font-size: 15px;
    line-height: 2;
    text-align: left;
  }
  .psi-lead__br--pc {
    display: none;
  }
  .psi-projects {
    padding: 0 20px 80px;
  }
  .psi-projects__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .psi-project-card__thumbnail {
    margin-bottom: 80px;
  }
  .psi-project-card__number-text {
    font-size: 100px;
    padding: 0 15px 15px 0;
  }
  .psi-project-card__number-line {
    width: 80px;
    height: 3px;
    margin-left: 15px;
  }
  .psi-project-card__title {
    font-size: 28px;
  }
  .psi-project-card__subtitle {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .psi-project-card__thumbnail {
    margin-bottom: 60px;
  }
  .psi-main {
    padding: 10vw 0;
  }
  .psi-main__catchcopy {
    font-size: 6vw;
  }
  .psi-project-card__number-text {
    font-size: 20vw;
    width: 22vw;
  }
  .psi-project-card__number-line {
    width: 60px;
  }
  .psi-project-card__title {
    font-size: 24px;
  }
  .psi-project-card__subtitle {
    font-size: 13px;
  }
}