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

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border: none;
  background: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

:where(a) {
  text-underline-offset: 0.1ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg) {
  max-inline-size: 100%;
  block-size: auto;
  vertical-align: bottom;
}

:where(p, li, dt, dd, th, td, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}

:where(picture) {
  display: block;
}

:where(i, em) {
  font-style: normal;
}

/* Utillity
----------------------------------------------- */
.ul-disc > li {
  list-style: disc;
  margin-left: 1.2em;
}

.ol-decimal > li {
  list-style: decimal;
  margin-left: 1.2em;
}

.hidden {
  display: none;
}

.hidden-pc {
  display: none;
}

@media (width <= 768px) {
  .hidden-pc {
    display: block;
  }
  .hidden-pc.inline {
    display: inline-block;
  }
  .hidden-tab {
    display: none;
  }
}
@media (width <= 520px) {
  .hidden-tab {
    display: block;
  }
  .hidden-tab.inline {
    display: inline-block;
  }
  .hidden-sp {
    display: none;
  }
}
.taR {
  text-align: right;
}

.taL {
  text-align: left;
}

.taC {
  text-align: center;
}

.indent {
  padding-left: 1em;
  text-indent: -1em;
}

a img {
  backface-visibility: hidden;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  a:hover img {
    opacity: 0.8;
  }
}

*[class|=logo] a {
  text-decoration: none;
}
*[class|=logo] a:hover {
  text-decoration: none;
}
*[class|=logo] a:hover img {
  opacity: 1;
}

a.tel {
  text-decoration: none;
}
a.tel img {
  opacity: 1;
}

/* Modules
----------------------------------------------- */
.intersection.group {
  opacity: 1;
}
.intersection.group > * {
  opacity: 0;
  transform: translateY(1em);
}
.intersection.group > *:nth-child(1) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 0.2s;
}
.intersection.group > *:nth-child(2) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 0.8s;
}
.intersection.group > *:nth-child(3) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 1.4s;
}
.intersection.group > *:nth-child(4) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 2s;
}
.intersection.group > *:nth-child(5) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 2.6s;
}
.intersection.group > *:nth-child(6) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 3.2s;
}
.intersection.group > *:nth-child(7) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 3.8s;
}
.intersection.group > *:nth-child(8) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 4.4s;
}
.intersection.group > *:nth-child(9) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 5s;
}
.intersection.group > *:nth-child(10) {
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  transition-delay: 5.6s;
}
.intersection.fade {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 1.4s 0.1s ease-out, translate 1.4s 0.1s ease-out;
}
.intersection.view.group > * {
  opacity: 1;
  transform: translateY(0);
}
.intersection.view.fade {
  opacity: 1;
  translate: 0 0;
}

figure {
  margin-bottom: 0;
}

/*
Light 300
Regular 400
Medium 500
SemiBold 600
Bold 700
Black 900
*/
/*

  FONT
----------------------------------------------- */
:root {
  font-size: 1px;
  --color-font-base: #101828;
  --font-base: "hiragino-kaku-gothic-pron", sans-serif;
  --font-en: "neue-haas-grotesk-display", sans-serif;
}

body {
  color: var(--color-font-base);
  font-family: var(--font-base);
  font-size: 16rem;
}
:is(p) {
  line-height: 1.7;
}

:is(li, dt, dd, th, td, address) {
  line-height: 1.5;
}

:is(input, textarea, select) {
  font-size: 16px;
}

:where(a) {
  color: inherit;
}
:where(a):hover {
  text-decoration: none;
}

.en {
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

/*

  LAYOUT
----------------------------------------------- */
@media (width <= 768px) {
  body.isOpenMenu {
    overflow: hidden;
  }
}

@media (width <= 768px) {
  .main_contents {
    padding-top: 100px;
  }
}

/*
  HEADER
----------------------------------------------- */
.header {
  padding-inline: calc(50dvw - 640px);
}
@media (width < 1360px) {
  .header {
    padding-inline: 40px;
  }
}
.header {
  display: flex;
  align-items: center;
  background: #fff;
}
@media (width > 768px) {
  .header {
    height: 114px;
  }
}
@media (width <= 768px) {
  .header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
  }
}
.header .logo {
  position: relative;
  z-index: 2;
  margin-right: auto;
}
.header .logo a {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (width <= 768px) {
  .header .logo img {
    width: 174px;
  }
}

/*
  MENU
----------------------------------------------- */
.gnav {
  display: flex;
}
@media (width > 768px) {
  .gnav {
    align-items: center;
    gap: 55px;
  }
}
@media (width <= 768px) {
  .gnav {
    flex-direction: column;
    gap: 80px;
    position: fixed;
    inset: 0;
    background: #fff;
    padding: 140px 40px 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s;
  }
}
.gnav ul {
  display: flex;
}
@media (width > 768px) {
  .gnav ul {
    gap: 32px;
  }
}
@media (width <= 768px) {
  .gnav ul {
    flex-direction: column;
    gap: 30px;
  }
}
.gnav ul a {
  position: relative;
  text-decoration: none;
}
.gnav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  background-color: currentColor;
  transform: scale(0, 1);
  transform-origin: right;
  transition: transform 0.4s;
}
.gnav ul a:hover::after {
  transform-origin: left;
  transform: scale(1, 1);
}
.gnav ul a {
  color: #364153;
  font-family: var(--font-en);
  text-decoration: none;
}
@media (width > 768px) {
  .gnav ul a {
    font-size: 18rem;
  }
}
@media (width <= 768px) {
  .gnav ul a {
    font-size: 38px;
  }
}
.gnav .language {
  display: flex;
  font-size: 18rem;
  font-family: var(--font-en);
}
@media (width <= 768px) {
  .gnav .language {
    margin-right: 30px;
  }
}
.gnav .language > * {
  color: #949494;
}
.gnav .language > * + *::before {
  margin-inline: 7px;
  content: "/";
  color: #364153;
}
.gnav .language .active {
  color: #364153;
}

.isOpenMenu .gnav {
  opacity: 1;
  pointer-events: inherit;
}

/*
  BUTTON MENU
----------------------------------------------- */
.btnMenu {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  background-color: #fff;
  width: 34px;
  height: 34px;
}
@media (width > 768px) {
  .btnMenu {
    display: none;
  }
}
.btnMenu span, .btnMenu::before, .btnMenu::after {
  content: "";
  grid-area: 1/1;
  background: var(--color-font-base);
  height: 1px;
  width: 34px;
  transition: 0.2s;
}
.btnMenu::before {
  transform: translateY(-6px);
}
.btnMenu::after {
  transform: translateY(6px);
}

.isOpenMenu .btnMenu span {
  opacity: 0;
  display: none;
}
.isOpenMenu .btnMenu::before {
  transform: none;
  rotate: 160deg;
}
.isOpenMenu .btnMenu::after {
  transform: none;
  rotate: -160deg;
}

/*
  FOOTER
----------------------------------------------- */
.get_in_touch {
  padding-inline: calc(50dvw - 510px);
}
@media (width < 1100px) {
  .get_in_touch {
    padding-inline: 40px;
  }
}
.get_in_touch {
  padding-top: 100px;
  display: grid;
}
@media (width > 768px) {
  .get_in_touch {
    margin-top: 100px;
    gap: 50px;
  }
}
@media (width <= 768px) {
  .get_in_touch {
    margin-top: 100px;
    gap: 25px;
  }
}
.get_in_touch h2 {
  font-weight: 450;
  font-size: 46rem;
  font-style: italic;
  letter-spacing: 0.02em;
}
@media (width <= 768px) {
  .get_in_touch h2 {
    margin-bottom: 25px;
  }
}
.get_in_touch p {
  line-height: 1.6;
}
.get_in_touch a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7em;
  width: 208px;
  height: 56px;
  background-color: #101828;
  color: #fff;
  text-decoration: none;
}

.footer {
  margin-top: 200px;
  padding-inline: calc(50dvw - 640px);
}
@media (width < 1360px) {
  .footer {
    padding-inline: 40px;
  }
}
.footer {
  border-top: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  height: 121px;
}
@media (width <= 768px) {
  .footer {
    justify-content: center;
    padding-inline: 0;
  }
}
.footer .copyright {
  color: #99A1AF;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (width <= 768px) {
  .footer .copyright {
    font-size: 12rem;
  }
}

/*
  modules
----------------------------------------------- */
.works-list {
  display: grid;
}
@media (width > 768px) {
  .works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 100px;
  }
}
@media (width <= 768px) {
  .works-list {
    gap: 90px;
  }
}
.works-list .card {
  display: grid;
  text-decoration: none;
  line-height: 1.6;
}
.works-list .card:hover img {
  scale: 1.05;
  opacity: 1;
}
.works-list .image {
  aspect-ratio: 460/402;
  overflow: hidden;
}
.works-list .image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: inherit;
  max-height: inherit;
  transition: scale 0.6s;
}
.works-list .title {
  margin-top: 1em;
}
@media (width > 768px) {
  .works-list .title {
    font-size: 20rem;
  }
}
@media (width <= 768px) {
  .works-list .title {
    font-size: 18rem;
  }
}
.works-list .category {
  margin-top: 8px;
  color: #6A7282;
  font-family: var(--font-en);
}
@media (width <= 768px) {
  .works-list .category {
    font-size: 14rem;
  }
}