@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: clamp(10px, 0.69vw, 16px);
}

body {
  font-size: 1.6rem;
  line-height: 1;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2B3450;
  background-color: #ffffff;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1em 0;
}

address {
  font-style: normal;
}

fieldset {
  border: none;
}

input[type=date],
input[type=time],
input[type=month],
input[type=week],
input[type=datetime-local] {
  appearance: auto;
  -webkit-appearance: auto;
  color: inherit;
  line-height: normal;
}

input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 1;
  filter: none;
}

input[type=date]::-webkit-datetime-edit {
  color: inherit;
}

.container {
  width: 90%;
  margin: 0 auto;
}
@media (max-width: 935px) {
  .container {
    width: 85%;
  }
}

.kg-header {
  position: fixed !important;
}

.works-page__header {
  padding: 20rem 0 8rem;
  text-align: center;
  background: #ffffff;
}
@media (max-width: 768px) {
  .works-page__header {
    padding: 14rem 0 6rem;
  }
}
.works-page__title .page-title {
  font-size: 4.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.6rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
}
@media (max-width: 768px) {
  .works-page__title .page-title {
    font-size: 3.6rem;
  }
}
.works-page__title .page-subtitle {
  font-size: 1.8rem;
  color: #666666;
  font-weight: 400;
}
.works-page__content {
  padding: 0 0 8rem;
  background: #ffffff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
}
@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.work-card {
  background: #ffffff;
  transition: transform 0.3s ease;
}
.work-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4rem;
  position: relative;
  cursor: pointer;
}
.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.work-card__image .placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #666666;
  font-size: 1.4rem;
  border-radius: 4rem;
}
.work-card:hover .work-card__image img {
  transform: scale(1.05);
}
.work-card__content {
  padding: 1.6rem;
}
.work-card__title {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.work-card__tags .tag {
  font-size: 1.2rem;
  color: #666666;
  background: transparent;
  border: none;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(2) {
  transition-delay: 0.1s;
}
.fade-in-up:nth-child(3) {
  transition-delay: 0.2s;
}
.fade-in-up:nth-child(4) {
  transition-delay: 0.3s;
}
.fade-in-up:nth-child(5) {
  transition-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .works-card__image {
    height: 20rem;
  }
  .works-card__content {
    padding: 2rem;
  }
}
.view-all-button {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 1000;
}
@media (max-width: 768px) {
  .view-all-button {
    bottom: 2rem;
    right: 2rem;
  }
}
.view-all-button .view-all-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.4rem;
  background: #000;
  color: white;
  border-radius: 3rem;
  text-decoration: none;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.view-all-button .view-all-btn:hover {
  background: transparent;
  color: #000;
  border: 2px solid #000;
  transform: translateY(-0.2rem);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
.view-all-button .view-all-btn svg {
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s ease;
}
.view-all-button .view-all-btn:hover svg {
  transform: translate(0.2rem, -0.2rem);
}
@media (max-width: 768px) {
  .view-all-button .view-all-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
  }
  .view-all-button .view-all-btn svg {
    width: 1.6rem;
    height: 1.6rem;
  }
}

.fancybox__track {
  background: rgba(255, 255, 255, 0.5);
}
.fancybox__container {
  background: none;
}/*# sourceMappingURL=works-main.css.map */