/* ========================================







   7901design







   layout.css







======================================== */

/* ========================================







   BASE







======================================== */

html,
body {
  margin: 0;

  padding: 0;

  width: 100%;
}

body {
  background: #c6ff00;
}

\* {
  box-sizing: border-box;
}

#page,
.site,
.site-content,
.content-area,
.works {
  width: 100%;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;
}
.d7901-footer {
  position: relative;
  display: block;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
  z-index: 10;
}

.d7901-footer__copyright {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #111;
}

.page .entry-header {
  display: none;
}

/* ========================================







   HEADER







======================================== */

.s_header {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  height: 160px;

  margin: 0;

  padding: 0 50px;

  background: #c6ff00;
}

/* ========================================







   LOGO







======================================== */

.s_header .logo {
  position: absolute;

  top: 50%;

  left: 50%;

  margin: 0;

  padding: 0;

  transform: translate(-50%, -50%);
}

.s_header .logo img {
  display: block;

  width: 70px;

  height: auto;

  margin: 0;
}

/* ========================================







   NAVIGATION







======================================== */

.s_header nav {
  margin-left: auto;
}

.s_header nav ul {
  display: flex;

  align-items: center;

  gap: 40px;

  margin: 0;

  padding: 0;

  list-style: none;
}

.s_header nav li {
  margin: 0;

  padding: 0;
}

.s_header nav a {
  color: #000;

  font-size: 14px;

  font-weight: 500;

  line-height: 1;

  text-decoration: none;

  transition: opacity 0.25s ease;
}

.s_header nav a:hover {
  opacity: 0.45;
}

/* ========================================







   LEAD







======================================== */
.lead-wrap {
  position: fixed;
  left: 0;
  bottom: -100px;
  width: 100%;
  overflow: hidden;
  z-index: 100;
  pointer-events: none;
}

@media screen and (max-width: 900px) {
  .lead-wrap {
    bottom: -80px;
  }
}

.lead-track {
  display: flex;
  width: max-content;
  animation: lead-scroll 12s linear infinite;
}

.lead {
  flex-shrink: 0;
  margin: 0;
  padding-right: 0.25em;
  color: #fff;
  font-size: clamp(80px, 14vw, 240px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

@keyframes lead-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================================







   WORK GRID







======================================== */

.works {
  display: grid !important;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  width: 100%;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  gap: 0;
}

/* Twenty Twenty-One のレイアウト解除 */

.works > .work-item {
  position: relative;

  display: block;

  width: 100% !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #c6ff00;
}

/* ========================================







   WORK LINK







======================================== */

.work-item > a {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;

  height: 100%;

  margin: 0;

  padding: 0;

  z-index: 1;

  overflow: hidden;

  cursor: pointer;
}

/* ========================================







   WORK IMAGE







======================================== */

.work-item img {
  position: absolute;

  inset: 0;

  display: block;

  width: 100% !important;

  height: 100% !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  object-fit: cover;

  filter: grayscale(100%);

  transform: scale(1);

  transition:
    filter 0.4s ease,
    transform 0.5s ease;
}

/* ========================================







   #C6FF00 MULTIPLY







======================================== */

.work-item > a::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  background: #c6ff00;

  mix-blend-mode: multiply;

  opacity: 1;

  pointer-events: none;

  transition: opacity 0.4s ease;
}

/* ========================================







   WORK HOVER







======================================== */

.work-item:hover img {
  filter: grayscale(0%);

  transform: scale(1.03);
}

.work-item:hover > a::after {
  opacity: 0;
}

/* ========================================







   FOOTER







======================================== */

.site-footer {
  display: none;
}

/* =========================================







   7901 WORK DETAIL OVERLAY







========================================= */
/* =========================================







   7901 WORK DETAIL OVERLAY







========================================= */

.d7901-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;

  /* GLASS */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* CLOSED */
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  overflow: hidden;
  isolation: isolate;

  transition:
    transform 0.7s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.45s ease,
    visibility 0s linear 0.7s;
}

/* =========================================







   OVERLAY OPEN







========================================= */

.d7901-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    transform 0.7s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.8s ease 0.15s,
    visibility 0s;
}

/* =========================================







   OVERLAY CONTENT FADE







========================================= */
.d7901-overlay__content {
  opacity: 0;

  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.d7901-overlay.is-open .d7901-overlay__content {
  opacity: 1;
}
/* =========================================







   OVERLAY SCROLL







========================================= */

.d7901-overlay__scroll {
  position: relative;

  width: 100%;

  height: 100%;

  overflow-x: hidden;

  overflow-y: auto;

  overscroll-behavior: contain;

  -webkit-overflow-scrolling: touch;
}

/* =========================================







   OVERLAY CONTENT







========================================= */

.d7901-overlay__content {
  position: relative;

  width: 100%;

  min-height: 100vh;

  padding: 120px 5vw 120px;

  box-sizing: border-box;
}

/* =========================================







   CLOSE BUTTON







========================================= */

.d7901-overlay__close {
  position: fixed;

  top: 30px;

  right: 40px;

  z-index: 1000001;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 60px;

  height: 60px;

  margin: 0;

  padding: 0;

  appearance: none;

  -webkit-appearance: none;

  border: 0;

  background: transparent;

  color: #000;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 48px;

  font-weight: 300;

  line-height: 1;

  cursor: pointer;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.d7901-overlay__close:hover {
  opacity: 0.45;

  transform: rotate(90deg);
}

/* =========================================







   BODY LOCK







========================================= */

body.d7901-is-open {
  overflow: hidden;
}

/* =========================================







   WORK DETAIL







========================================= */

.d7901-work-detail {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================







   WORK DETAIL HEADER







========================================= */

.d7901-work-detail__header {
  display: block;
  width: 100%;
  margin: 0 0 60px;
  padding: 0;
}

/* =========================================







   WORK NUMBER







========================================= */

.d7901-work-detail__number {
  margin: 0 0 12px;
  padding: 0;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
}

/* =========================================







   WORK TITLE







========================================= */

.d7901-work-detail__title {
  margin: 0;
  padding: 0;
  color: #000;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

/* =========================================







   WORK MAIN VISUAL







========================================= */

.d7901-work-detail__visual {
  position: relative;

  width: 100%;

  margin: 0 0 80px;

  padding: 0;

  overflow: hidden;
}

.d7901-work-detail__visual img {
  position: relative !important;

  top: auto !important;

  left: auto !important;

  display: block;

  width: 100% !important;

  height: auto !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  object-fit: contain;

  filter: none !important;

  transform: none !important;
}

/* =========================================







   WORK DETAIL BODY







========================================= */

.d7901-work-detail__body {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 16px;
  line-height: 2;
}

/* =========================================







   BODY PARAGRAPH







========================================= */

.d7901-work-detail__body p {
  margin: 0 0 2em;

  padding: 0;
}

/* =========================================







   BODY H2







========================================= */

.d7901-work-detail__body h2 {
  margin: 100px 0 30px;

  padding: 0;

  font-size: clamp(28px, 4vw, 60px);

  font-weight: 500;

  line-height: 1.1;
}

/* =========================================







   BODY H3







========================================= */

.d7901-work-detail__body h3 {
  margin: 60px 0 20px;

  padding: 0;

  font-size: 24px;

  font-weight: 500;

  line-height: 1.3;
}

/* =========================================







   BODY IMAGE







========================================= */

.d7901-work-detail__body img {
  position: relative !important;

  top: auto !important;

  left: auto !important;

  display: block;

  width: 70% !important;

  height: auto !important;

  max-width: none !important;

  margin: 70px 0 !important;

  padding: 0 !important;

  object-fit: contain;

  filter: none !important;

  transform: none !important;
}

/* =========================================







   BODY LINKS







========================================= */

.d7901-work-detail__body a {
  color: #000;

  text-decoration: underline;

  text-underline-offset: 4px;

  transition: opacity 0.25s ease;
}

.d7901-work-detail__body a:hover {
  opacity: 0.45;
}

/* =========================================







   LOADING







========================================= */

.d7901-loading {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  min-height: 75vh;

  margin: 0;

  padding: 0;

  color: #000;

  font-size: 11px;

  font-weight: 500;

  letter-spacing: 0.2em;
}

/* =========================================







   ERROR







========================================= */

.d7901-error {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  min-height: 75vh;

  margin: 0;

  padding: 0;

  color: #000;

  font-size: 14px;
}

/* ========================================







   TABLET







======================================== */

@media screen and (max-width: 1024px) {
  /* HEADER */

  .s_header {
    height: 130px;

    padding: 0 30px;
  }

  /* LOGO */

  .s_header .logo img {
    width: 60px;
  }

  /* NAV */

  .s_header nav ul {
    gap: 30px;
  }

  .s_header nav a {
    font-size: 12px;
  }

  /* WORK GRID */

  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* LEAD */

  .lead {
    font-size: 9vw;
  }

  /* OVERLAY */

  .d7901-overlay__content {
    padding: 100px 30px 100px;
  }

  .d7901-overlay__close {
    top: 25px;

    right: 25px;

    width: 50px;

    height: 50px;

    font-size: 42px;
  }

  .d7901-work-detail__header {
    grid-template-columns:
      100px
      minmax(0, 1fr);

    margin-bottom: 50px;
  }

  .d7901-work-detail__visual {
    margin-bottom: 60px;
  }
}

/* ========================================







   SMARTPHONE







======================================== */

@media screen and (max-width: 767px) {
  /* HEADER */

  .s_header {
    height: 40px;

    padding: 0 20px;
  }

  /* LOGO */

  .s_header .logo {
    left: 20px;

    transform: translateY(-50%);
  }

  .s_header .logo img {
    width: 55px;
  }

  /* NAV */

  .s_header nav ul {
    gap: 20px;
  }

  .s_header nav a {
    font-size: 11px;
  }

  /* WORK */

  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* LEAD */

  .lead {
    font-size: 11vw;
  }

  /* OVERLAY */

  .d7901-overlay__content {
    padding: 90px 20px 70px;
  }

  .d7901-overlay__close {
    top: 18px;

    right: 18px;

    width: 42px;

    height: 42px;

    font-size: 36px;
  }

  /* DETAIL */

  .d7901-work-detail__header {
    display: block;

    margin-bottom: 40px;
  }

  .d7901-work-detail__number {
    margin-bottom: 20px;
  }

  .d7901-work-detail__title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .d7901-work-detail__visual {
    margin-bottom: 50px;
  }

  .d7901-work-detail__body {
    width: 100%;

    font-size: 14px;

    line-height: 1.9;
  }

  .d7901-work-detail__body h2 {
    margin-top: 70px;
  }

  .d7901-work-detail__body img {
    width: 100% !important;
    margin: 40px 0 !important;
  }
}

/* ========================================







   VERY SMALL







======================================== */

@media screen and (max-width: 480px) {
  .s_header {
    padding: 15px;
  }

  .s_header .logo {
    left: 15px;
    padding-top: 15px;
  }

  .s_header .logo img {
    width: 70px;
  }

  .s_header nav ul {
    gap: 14px;
  }

  .s_header nav {
    padding-top: 15px;
  }

  .s_header nav a {
    font-size: 10px;
  }
}
