@charset "UTF-8";
.font-en {
  font-family: "Lexend", sans-serif;
}

html,
body {
  height: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

@media (max-width: 768px) {
  html,
  body {
    scroll-snap-type: none;
  }
}
h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #1e1e1e;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #1e1e1e;
  border-bottom: 3px solid #1e1e1e;
  display: inline;
  margin: 0 auto;
}

h2.title-jp {
  font-size: clamp(1.2rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #1e1e1e;
}

p {
  color: #1e1e1e;
  font-size: 1rem;
  line-height: 1.6;
}

/* Common */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #1e1e1e;
  background: #f5f5f5;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
}

a {
  color: #007bff;
  text-decoration: none;
}

.container {
  max-width: 90vw;
}

/* Components */
/* ===== font ===== */
.nav-jp {
  font-size: 0.7rem;
}

.nav-en {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-top: 2px;
  font-family: "Lexend", sans-serif;
  line-height: 0.7;
  display: block;
}

/* ===== Header ===== */
.custom-header {
  background: white;
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  z-index: 99999;
}
.custom-header .navbar-brand {
  font-size: 20px;
  letter-spacing: 0.5px;
}
.custom-header .nav-link {
  color: #1e1e1e;
  font-size: 14px;
  padding: 8px 14px !important;
  margin-right: 6px;
  transition: 0.2s;
}
.custom-header .nav-link:hover {
  color: #1e1e1e;
}
.custom-header .btn {
  font-size: 14px;
  padding: 6px 18px;
}

/* モバイル時 */
@media (max-width: 991px) {
  .custom-header .nav-link {
    padding: 12px !important;
    margin-right: 0;
  }
}
/* dropdown */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    min-width: 240px;
    border-radius: 0;
    border: none;
    background: #1e1e1e;
  }
  .navbar .dropdown-menu a {
    color: #fff;
  }
  .navbar .dropdown:hover .dropdown-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu {
    font-size: 0.9rem;
    padding: 5px 0 0;
  }
  .dropdown-item {
    text-align: center;
    min-width: 80px;
  }
  .dropdown-item::after {
    content: "";
    display: block;
    background-color: #fff;
    width: 0px;
    height: 2px;
    border-radius: 3px;
    margin: 0 auto;
    transition: all 0.3s;
    margin-top: 5px;
  }
  .dropdown-item:hover {
    background: #1e1e1e;
  }
  .dropdown-item:hover::after {
    width: 30px;
  }
}
/* to top button */
#to-top {
  display: block;
  visibility: hidden;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.to-top:hover {
  transform: translateY(-4px);
}

#to-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* Pages */
/* ===============================
   Works Hero
================================ */
.works-hero {
  padding: 100px 0 80px;
  background: #fff;
}

.works-hero .material-symbols-outlined {
  font-size: 100px;
  margin-bottom: 12px;
}

.works-hero .works-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.works-hero .works-desc {
  margin-top: 10px;
  font-size: 1rem;
  color: #777;
}

/* ===============================
   Works Detail
================================ */
.works-detail {
  background: #e9e1e3;
}

/* ===============================
   Works Item（Desktop）
================================ */
.works-item {
  position: relative;
  padding: 2dvb 0;
  width: 100%;
  z-index: 1;
}

/* works item scroll animation */
.works-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.works-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.works-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 350px;
  background-color: #3f3b3c;
  transform: translateY(-50%);
  z-index: -1;
}

/* ===============================
   Works Image
================================ */
.works-image {
  background: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-image-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.works-image img {
  cursor: pointer;
  transition: filter 0.3s ease;
}
.works-image img :hover {
  filter: brightness(1.3);
}

.works-image-main {
  margin-bottom: 16px;
}

.works-image-main img {
  width: 100%;
  height: auto;
  display: block;
}

/* sub images */
.works-image-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.works-image-sub .thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.works-image-sub .thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* hover */
.works-image img {
  cursor: pointer;
  transition: filter 0.3s ease;
}

.works-image img:hover {
  filter: brightness(1.3);
}

/* ===============================
   Vertical Main Image Layout
================================ */
.works-item.is-vertical .works-image-inner {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.works-item.is-vertical .works-image-main {
  flex: 0 0 65%;
  margin-bottom: 0;
}

.works-item.is-vertical .works-image-sub {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ===============================
   Works Info
================================ */
.works-info {
  background: #3f3b3c;
  color: #fff;
  padding: 32px;
}

.works-meta {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.works-meta dt {
  font-weight: 600;
  color: #fff;
}

.works-meta dd {
  margin: 0;
  color: #fff;
}

@media (max-width: 768px) {
  .works-meta {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .works-meta dt {
    margin-top: 12px;
  }
  .works-meta dd {
    margin-left: 0;
  }
}
/* ===============================
   Responsive（Mobile）
================================ */
@media (max-width: 768px) {
  .container {
    max-width: 700px;
  }
  .works-item::before {
    transform: translateY(-30%);
  }
  .works-image {
    display: flex;
    justify-content: center;
  }
  .works-image-sub {
    grid-template-columns: repeat(2, 1fr);
  }
  .works-info {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 24px 20px;
  }
}
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 9999;
  cursor: pointer;
}

.lightbox.is-active {
  display: block;
}

.lightbox-content {
  position: absolute;
  inset: 40px 20px;
  overflow-y: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.lightbox-content img {
  max-height: 90vh;
  margin: 0 auto;
  display: block;
  cursor: default;
}

.lightbox-content-web {
  align-items: start;
}

.lightbox-content-web img {
  max-width: 600px;
  max-height: none;
}

/* close button */
.lightbox-close {
  position: absolute;
  top: 60px;
  right: 60px;
  font-size: 20px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 99;
}

.works-info {
  background: #3f3b3c;
  color: #fff;
  padding: 32px;
}

.works-info .title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.works-info .desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #fff;
}

.works-info .tool {
  font-size: 0.75rem;
  color: #ccc;
}

/* reverse layout */
.works-item.reverse .row {
  flex-direction: row-reverse;
}/*# sourceMappingURL=works.css.map */