@charset "UTF-8";

:root {
  --color-black: #11100e;
  --color-dark: #1a1815;
  --color-bg: #f7f4ef;
  --color-white: #fff;
  --color-text: #191919;
  --color-muted: #6f6a61;
  --color-accent: #b6a98f;
  --font-en: "Cormorant Garamond", serif;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

.cursor {
  position: fixed;
  z-index: 9999;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 4vw, 72px);
  color: #fff;
  mix-blend-mode: difference;
}

.header__logo,
.footer__logo {
  display: grid;
  justify-items: center;
  gap: 2px;
  line-height: 1;
  letter-spacing: .22em;
}

.header__logo span,
.footer__logo span {
  font-family: var(--font-en);
  font-size: 11px;
}

.header__logo strong,
.footer__logo strong {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: .12em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.header__nav a {
  position: relative;
}

.header__nav a:not(.header__contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}

.header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__contact {
  padding: 16px 26px;
  background: rgba(255,255,255,.85);
  color: #111;
}

.header__menu {
  display: none;
}

.mv {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.mv__bg {
  position: absolute;
  inset: 0;
}

.mv__bg img {
  height: 112%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.mv__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2) 58%, rgba(0,0,0,.14)),
    linear-gradient(0deg, rgba(0,0,0,.34), transparent 42%);
}

.mv__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 88%);
  padding: 120px 0 80px clamp(26px, 7vw, 126px);
}

.mv__label {
  margin: 0 0 28px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .22em;
}

.mv__title {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6.4vw, 96px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: .08em;
}

.mv__text {
  margin: 0 0 36px;
  max-width: 660px;
  font-size: 15px;
  line-height: 2.15;
  color: rgba(255,255,255,.9);
}

.mv__buttons,
.contact__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 190px;
  padding: 15px 26px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.button span,
.text-link span {
  position: relative;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.button span::after,
.text-link span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.button:hover,
.text-link:hover {
  opacity: .72;
  transform: translateY(-2px);
}

.button--white {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.button--outline {
  color: #fff;
  border-color: rgba(255,255,255,.78);
}

.button--dark {
  color: var(--color-text);
}

.button--line {
  background: #20b746;
  color: #fff;
  border-color: #20b746;
}

.mv__scroll {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 3vw, 42px);
  bottom: 46px;
  color: rgba(255,255,255,.72);
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .22em;
}

.mv__scroll::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 70px;
  margin-bottom: 16px;
  background: rgba(255,255,255,.45);
}

.section {
  padding: clamp(82px, 9vw, 150px) clamp(24px, 5vw, 86px);
}

.section__head {
  max-width: 860px;
  margin-bottom: clamp(42px, 5vw, 74px);
}

.section__en {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
}

.section__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.1vw, 52px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .08em;
}

.section__text {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

.works {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(28px, 4vw, 72px);
  padding-top: 0;
  background: #fff;
}

.works__side {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: clamp(64px, 7vw, 110px);
}

.works__lead {
  margin: 24px 0 48px;
  color: var(--color-muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  transition: transform .3s ease, opacity .3s ease;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: #e7e2d9;
}

.work-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #111;
  grid-column: span 4;
}

.work-card--large {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 620px;
}

.work-card--wide {
  grid-column: span 8;
}

.work-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, opacity .7s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,0) 54%);
  opacity: 0;
  transition: opacity .4s ease;
}

.work-card:hover img {
  transform: scale(1.08);
  opacity: .72;
}

.work-card:hover::after {
  opacity: 1;
}

.work-card__body {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}

.work-card:hover .work-card__body {
  opacity: 1;
  transform: translateY(0);
}

.work-card__body p {
  margin: 0 0 4px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
}

.work-card__body h3 {
  margin: 0;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 500;
}

.service {
  background: var(--color-bg);
}

.service__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #ddd4c6;
  border-left: 1px solid #ddd4c6;
}

.service-card {
  min-height: 280px;
  padding: 0 0 clamp(24px, 2.5vw, 40px);
  border-right: 1px solid #ddd4c6;
  border-bottom: 1px solid #ddd4c6;
  background: rgba(255,255,255,.5);
  overflow: hidden;
  transition: background .3s ease, transform .3s ease;
}

.service-card:hover {
  background: #fff;
  transform: translateY(-4px);
}

.service-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.08);
}

.service-card span {
  display: block;
  padding: 0 clamp(20px, 2.2vw, 36px);
  margin-bottom: 18px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  padding: 0 clamp(20px, 2.2vw, 36px);
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 500;
  letter-spacing: .06em;
}

.service-card p {
  margin: 0;
  padding: 0 clamp(20px, 2.2vw, 36px);
  color: var(--color-muted);
  font-size: 13px;
}

.button--line {
  background: #20b746;
  color: #fff;
  border-color: #20b746;
}

.button--instagram {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.about {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(42px, 6vw, 110px);
  align-items: center;
  background: #fff;
}

.about__image {
  overflow: hidden;
  min-height: 620px;
}

.about__image img {
  height: 112%;
  object-fit: cover;
}

.about__content p:not(.section__en) {
  margin: 30px 0 38px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 2.25;
}

.flow {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--color-dark);
}

.flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.42)), url("../images/material.jpg");
  background-size: cover;
  background-position: center;
  opacity: .8;
}

.flow__inner {
  position: relative;
  z-index: 2;
  padding: clamp(82px, 8vw, 130px) clamp(24px, 5vw, 86px);
}

.section__head--dark .section__title {
  color: #fff;
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.18);
}

.flow__list li {
  padding: 32px 24px;
  background: rgba(0,0,0,.32);
}

.flow__list span {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 24px;
  margin-bottom: 18px;
}

.flow__list strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}

.flow__list p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.strength {
  background: #fff;
}

.strength__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 34px);
}

.strength-card {
  background: #f8f6f1;
}

.strength-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.strength-card h3 {
  margin: 24px 24px 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
}

.strength-card p {
  margin: 0;
  padding: 0 24px 30px;
  color: var(--color-muted);
  font-size: 14px;
}

.contact {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.contact__bg {
  position: absolute;
  inset: 0;
}

.contact__bg img {
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: blur(1px);
  transform: scale(1.04);
}

.contact__content {
  position: relative;
  z-index: 2;
  width: min(980px, 88%);
  text-align: center;
}

.contact__content h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .08em;
}

.contact__content p:not(.section__en) {
  margin: 0 auto 36px;
  max-width: 640px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.contact__buttons {
  justify-content: center;
}

.footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 44px clamp(24px, 5vw, 86px);
  color: rgba(255,255,255,.86);
  background: #111;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .12em;
}

.footer__copy {
  margin: 0;
  font-size: 11px;
  color: rgba(255,255,255,.58);
}

.js-blur,
.js-fade-up {
  opacity: 0;
}

@media (max-width: 1280px) {
  .service__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .flow__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .cursor {
    display: none;
  }

  html {
    scroll-padding-top: 70px;
  }

  .header {
    padding: 18px 20px;
    mix-blend-mode: normal;
    color: #fff;
  }

  .header__logo strong {
    font-size: 28px;
  }

  .header__logo span {
    font-size: 9px;
  }

  .header__menu {
    position: relative;
    z-index: 1001;
    display: grid;
    gap: 8px;
    width: 42px;
    padding: 10px 0;
    border: 0;
    background: transparent;
  }

  .header__menu span {
    display: block;
    height: 1px;
    background: #fff;
    transition: transform .3s ease;
  }

  .header__menu.is-open span:first-child {
    transform: translateY(4.5px) rotate(20deg);
  }

  .header__menu.is-open span:last-child {
    transform: translateY(-4.5px) rotate(-20deg);
  }

  .header__nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    background: rgba(17,16,14,.96);
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header__contact {
    margin-top: 10px;
    padding: 14px 34px;
  }

  .mv__content {
    width: 100%;
    padding: 110px 24px 90px;
    justify-content: flex-end;
  }

  .mv__title {
    font-size: clamp(42px, 13vw, 60px);
  }

  .mv__text {
    font-size: 14px;
  }

  .mv__buttons,
  .contact__buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .mv__scroll {
    display: none;
  }

  .section {
    padding: 78px 20px;
  }

  .works {
    display: block;
    padding: 78px 20px;
  }

  .works__side {
    position: static;
    padding-top: 0;
    margin-bottom: 38px;
  }

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

  .work-card,
  .work-card--large,
  .work-card--wide {
    grid-column: span 1;
    grid-row: auto;
    min-height: 230px;
  }

  .work-card--large {
    grid-column: span 2;
    min-height: 380px;
  }

  .work-card__body {
    opacity: 1;
    transform: none;
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .work-card::after {
    opacity: 1;
  }

  .work-card__body h3 {
    font-size: 21px;
  }

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

  .strength__grid,
  .flow__list,
  .about {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 16px;
  }

  .about__image {
    min-height: 390px;
  }

  .about__content p:not(.section__en) {
    font-size: 14px;
  }

  .flow__inner {
    padding: 78px 20px;
  }

  .contact {
    min-height: 620px;
  }

  .contact__content {
    width: calc(100% - 40px);
  }

  .footer {
    padding: 36px 20px;
    text-align: center;
    justify-items: center;
  }

  .footer__nav {
    justify-content: center;
  }
}
