*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #242424;
  color: #fff;
  min-width: 1440px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 41px;
  background: #242424;
  z-index: 100;
}
header .logo {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
header nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  border-radius: 100px;
  padding: 8px 12px 8px 20px;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.arrow-circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #5ab3a4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.arrow-circle svg {
  display: block;
}

.h2-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 0 0;
}
.h2-title h2 {
  font-size: 80px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
@media (max-width: 480px) {
  .h2-title {
    justify-content: center;
    padding-top: 0;
    gap: 8px;
  }
  .h2-title h2 {
    font-size: 48px;
    letter-spacing: 2.4px;
  }
}

.page-wrapper {
  width: 1440px;
  margin: 0 auto;
  padding-top: 80px;
}

.filter-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 51px;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  padding: 8px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  transition: background 0.2s;
}
.filter-btn.active {
  background: #5ab3a4;
}
.filter-btn:hover:not(.active) {
  background: #262626;
}

.detail-card {
  width: 1280px;
  height: 2722px;
  background: #d9d9d9;
  border-radius: 15px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
}

.detail-title-row {
  position: absolute;
  left: 103px;
  top: 80px;
  display: flex;
  align-items: flex-end;
  gap: 39px;
}

.detail-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #203b36;
  line-height: 1;
  white-space: nowrap;
}

.detail-title-tags {
  display: flex;
  gap: 8px;
}

.detail-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 22px;
  border: 1px solid #5ab3a4;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #5ab3a4;
  white-space: nowrap;
}

.detail-arrow-nav {
  position: absolute;
  left: 991px;
  top: 78px;
  background: #ccc;
  border-radius: 100px;
  padding: 10px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.arrow-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  padding: 0;
  transition: transform 0.2s, background 0.4s ease;
}
.arrow-nav-btn.teal,
.arrow-nav-btn.black {
  background: #000000;
}
#btn-prev {
  transform: rotate(180deg);
}
.arrow-nav-btn svg {
  display: block;
}
.arrow-nav-btn:hover {
  transform: scale(1.2);
  background: #5ab3a4;
}
#btn-prev:hover {
  transform: rotate(180deg) scale(1.2);
}
.arrow-nav-btn:active {
  background: #5ab3a4;
}

.detail-close-btn {
  position: absolute;
  left: 1191px;
  top: 30px;
  background: #555555;
  border-radius: 100px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.detail-close-btn svg {
  display: block;
}

.detail-hero {
  position: absolute;
  left: 322px;
  top: 152px;
  width: 632px;
  height: 409px;
  border-radius: 15px;
  overflow: hidden;
  background: #ccc;
}
.detail-hero img {
  position: absolute;
  width: 116.87%;
  height: 120.31%;
  left: 0.01%;
  top: -6.15%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
}
.detail-hero img.is-centered {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -o-object-position: center;
     object-position: center;
}

.detail-site-url {
  position: absolute;
  left: 108px;
  top: 605px;
  width: 1064px;
  text-align: center;
}
.detail-site-url a {
  color: #5ab3a4;
  text-decoration: underline;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.detail-info-row {
  position: absolute;
  left: 216px;
  width: 848px;
  display: flex;
  align-items: center;
}
.detail-info-row--gaiyou {
  top: 673px;
  gap: 135px;
}
.detail-info-row--design {
  top: 745px;
  gap: 39px;
  align-items: flex-start;
  justify-content: space-between;
}
.detail-info-row--days {
  top: 863px;
  gap: 102px;
}
.detail-info-row--role {
  top: 935px;
  gap: 102px;
  margin-bottom: 72px;
}

.info-label-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 16px 3px;
  border-radius: 22px;
  border: 1px solid #5ab3a4;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5ab3a4;
  white-space: nowrap;
  flex-shrink: 0;
}

.info-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #203b36;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1;
}
.info-text--wide {
  line-height: 1.6;
  width: 647px;
}

.detail-screenshot-main {
  position: absolute;
  left: 108px;
  top: 1035px;
  width: 756px;
  max-height: 500px;
  overflow-y: auto;
}
.detail-screenshot-main img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-screenshot-sub {
  position: absolute;
  left: 957px;
  top: 1035px;
  width: 216px;
  max-height: 500px;
  overflow-y: auto;
}
.detail-screenshot-sub img {
  width: 100%;
  height: auto;
  display: block;
}

footer {
  width: 1280px;
  height: 308px;
  background: #000;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin: 0 auto 60px;
}

.footer-logo {
  position: absolute;
  left: 108px;
  top: calc(50% - 106px);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.footer-divider {
  position: absolute;
  left: 279.5px;
  top: 47.5px;
  width: 1px;
  height: 214.5px;
  background: #fff;
}

.footer-nav {
  position: absolute;
  left: 325px;
  top: 48px;
  width: 189px;
  display: flex;
  flex-direction: column;
}

.footer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #fff;
  text-decoration: none;
}
.footer-nav-item span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
}
.footer-nav-item .arrow-teal {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #5ab3a4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-nav-item .arrow-teal svg {
  display: block;
}

.footer-copyright {
  position: absolute;
  right: 0;
  top: 0;
  width: 91px;
  height: 308px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-copyright p {
  font-size: 8px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 480px) {
  body {
    min-width: unset;
    max-width: 480px;
  }
  header {
    justify-content: space-between;
    padding: 0 23px;
    position: sticky;
    flex-wrap: nowrap;
  }
  header .logo {
    font-size: 25.6px;
    flex-shrink: 0;
  }
  header nav {
    gap: 1.25vw;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .btn {
    font-size: 2.33vw;
    gap: 2.67vw;
    padding: 1.33vw 2vw 1.33vw 3.33vw;
    border-radius: 80px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  header .arrow-circle {
    width: 2.5vw;
    height: 2.5vw;
  }
  .page-wrapper {
    width: 100%;
  }
  .filter-bar {
    gap: 8px;
    padding: 30px 16px 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .filter-btn {
    width: auto;
    min-width: 72px;
    font-size: 11.2px;
    padding: 6px 14px;
  }
  .detail-card {
    width: calc(100% - 40px);
    height: auto;
    padding: 24px 20px 40px;
    border-radius: 10px;
    overflow: visible;
    margin: 0 20px 40px;
  }
  .detail-title-row,
  .detail-hero,
  .detail-info-row,
  .detail-info-row--gaiyou,
  .detail-info-row--design,
  .detail-info-row--days,
  .detail-info-row--role,
  .detail-screenshot-main,
  .detail-screenshot-sub {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }
  .detail-title-row {
    flex-direction: column;
    gap: 12px;
    margin-top: 70px;
    margin-bottom: 24px;
    align-items: flex-start;
  }
  .detail-title {
    font-size: 24px;
  }
  .detail-title-tags {
    flex-wrap: wrap;
  }
  .detail-tag {
    padding: 2px 8px;
    font-size: 8px;
  }
  .detail-controls {
    position: absolute;
    top: 24px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .detail-arrow-nav {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin-bottom: 0;
  }
  .detail-close-btn {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 0;
  }
  .detail-hero {
    height: 200px;
    margin-bottom: 24px;
  }
  .detail-info-row,
  .detail-info-row--gaiyou,
  .detail-info-row--design,
  .detail-info-row--days,
  .detail-info-row--role {
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .detail-info-row--role {
    margin-bottom: 72px;
  }
  .detail-site-url {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-bottom: 24px;
  }
  .detail-site-url a {
    font-size: 12px;
  }
  .info-label-tag {
    font-size: 12px;
  }
  .info-text {
    font-size: 14px;
    line-height: 1.6;
  }
  .info-text--wide {
    width: 100%;
  }
  .detail-screenshot-main {
    max-height: 500px;
    height: auto;
    overflow-y: auto;
    margin-bottom: 16px;
  }
  .detail-screenshot-sub {
    max-height: 500px;
    height: auto;
    overflow-y: auto;
  }
  footer {
    width: calc(100% - 40px);
    max-width: 402px;
    height: 326px;
    margin: 0 auto 60px;
  }
  .footer-logo {
    left: 40px;
    top: calc(50% - 123px);
  }
  .footer-divider {
    display: none;
  }
  .footer-nav {
    left: 40px;
    top: 96px;
    width: 120px;
    margin-top: 18px;
  }
  .footer-nav-item span {
    font-size: 12px;
  }
  .footer-copyright {
    width: 50px;
    height: 326px;
  }
}

/* ── Overlay ── */
.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.detail-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.detail-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.detail-overlay__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 80px 0 60px;
}
.detail-overlay__page {
  min-height: 100%;
  transform: translateY(16px);
  transition: transform 0.4s ease;
}
.detail-overlay.is-open .detail-overlay__page {
  transform: translateY(0);
}

/*# sourceMappingURL=work-detail.css.map */