/* =========================
   Portfolio / Base
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #159bd3;
  background: #fff;
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   Intro Screen
   ========================= */

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;

  animation: introFade 3.8s ease forwards;
}

.intro-copy {
  text-align: center;
  color: #78c9e6;

  opacity: 0;
  animation: copyFade 2s ease forwards;
}

.intro-copy p {
  margin: 0;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 300;
  line-height: 2.2;
}

@keyframes copyFade {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes introFade {
  0% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


/* =========================
   Hero
   ========================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero > img {
  width: 100%;
  display: block;
}

.hero-title {
  position: absolute;
  left: 26%;
  top: 42%;
  color: #fff;
  text-align: left;
}

.hero-title p {
  margin: 0 0 6px;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.3;
}

.hero-title h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: 0.1em;
  transform: scaleY(0.9);
  transform-origin: left center;
}

.hero-title span {
  display: block;
  margin-top: 8px;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.1em;
  transform: scaleY(0.9);
  transform-origin: left center;
}

.hero-title small {
  display: block;
  margin-top: 10px;
  margin-left: 15em;
  font-size: 20px;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

/* =========================
   Hero Menu
   ========================= */

.hero-menu {
  position: absolute;
  left: 26%;
  top: 70%;
  width: auto;
  height: auto;

  display: flex;
  gap: 40px;
}

.hero-menu a {
  position: relative;
  width: 60px;
  height: 60px;
  display: block;
  text-align: center;
}

.hero-menu a img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-menu a span {
  position: absolute;
  left: 55px;
  top: 50%;
  width: auto;

  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;

  color: #159bd3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;

  opacity: 0;
}

.hero-menu a:hover img {
  transform: scale(1.08);
}

.hero-menu a:hover span {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}


/* =========================
   Common
   ========================= */

main {
  width: 100%;
}

.pickup,
.other-works {
  width: min(1100px, 88%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  transform: scaleY(0.9);
  transform-origin: left center;
}

.section-heading p {
  max-width: 720px;
  font-size: 15px;
  line-height: 2.1;
}


/* =========================
   PICK UP
   ========================= */

.pickup {
  padding: 150px 0 170px;
}

.pickup-list {
  border-top: 1px solid #159bd3;
}

.pickup-item {
  display: block;
  padding: 38px 10px;
  border-bottom: 1px solid #159bd3;
  transition:
    padding-left 0.3s ease,
    background-color 0.3s ease;
}

.pickup-item span {
  display: block;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.5;
  font-weight: 400;
}

.pickup-item small {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pickup-item:hover {
  padding-left: 25px;
  background: rgba(21, 155, 211, 0.04);
}


/* =========================
   OTHER WORKS
   ========================= */

.other-works {
  padding: 100px 0 180px;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 35px;
  align-items: start;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.category span {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.category:hover img {
  transform: translateY(-6px);
}


/* =========================
   Footer
   ========================= */

.footer {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.footer-visual {
  width: 100%;
}

.footer-info {
  position: relative;
  z-index: 2;
  width: min(1100px, 88%);
  margin: 0 auto;
  padding: 60px 0 40px;
  font-size: 13px;
}

.footer-info p:first-child {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.footer-info small {
  display: block;
  margin-top: 30px;
  font-size: 10px;
  letter-spacing: 0.08em;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {

  .pickup,
  .other-works {
    width: 86%;
  }

  .pickup {
    padding: 100px 0 110px;
  }

  .other-works {
    padding: 70px 0 110px;
  }

  .category-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 20px;
  }

  .category img {
    width: 70px;
    height: 70px;
  }

  .footer {
    min-height: 300px;
  }
}