/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

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

td,
th {
  padding: 0;
}

@font-face {
  font-family: "metropolis";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/metropolis/Metropolis-Regular.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: normal;
  font-style: italic;
  src: url("../fonts/metropolis/Metropolis-RegularItalic.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-RegularItalic.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: 500;
  font-style: normal;
  src: url("../fonts/metropolis/Metropolis-Medium.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: 500;
  font-style: italic;
  src: url("../fonts/metropolis/Metropolis-MediumItalic.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-MediumItalic.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/metropolis/Metropolis-SemiBold.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: 600;
  font-style: italic;
  src: url("../fonts/metropolis/Metropolis-SemiBoldItalic.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-SemiBoldItalic.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: bold;
  font-style: normal;
  src: url("../fonts/metropolis/Metropolis-Bold.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "metropolis";
  font-weight: bold;
  font-style: italic;
  src: url("../fonts/metropolis/Metropolis-BoldItalic.woff") format("woff");
  src: url("../fonts/metropolis/Metropolis-BoldItalic.woff2") format("woff2");
}
@font-face {
  font-family: "inter";
  src: url("../fonts/InterVariable.ttf") format("opentype");
}
@font-face {
  font-family: "inter";
  src: url("../fonts/InterVariable-Italic.ttf") format("opentype");
  font-style: italic;
}
html {
  font-family: metropolis, inter, sans-serif;
  font-size: 16px;
  color: #FEFAF5;
}
@media (min-width: 850px) {
  html {
    font-size: 20px;
  }
}

h1, h2, h3 {
  font-family: metropolis, inter, sans-serif;
  font-weight: 600;
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: clamp(76px, -8.571px + 10.571vw, 150px);
}

h2, .project h1 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 600;
}
@media (min-width: 850px) {
  h2, .project h1 {
    font-size: 56px;
    margin-bottom: 24px;
  }
}

h2, .inner-page h1 {
  display: flex;
  flex-direction: column;
  width: 4.65em;
}
h2 span:nth-of-type(1), .inner-page h1 span:nth-of-type(1) {
  margin-bottom: 0px;
}
h2 span:nth-of-type(2), .inner-page h1 span:nth-of-type(2) {
  align-self: flex-end;
}

.inner-page h1 {
  width: 4.35em;
  line-height: 0.95em;
  font-size: clamp(76px, 12px + 8vw, 132px);
  margin-left: -5px;
}
@media (min-width: 850px) {
  .inner-page h1 {
    margin-left: -9px;
  }
}

.project h1 {
  font-size: 36px;
  text-wrap: balance;
}
@media (min-width: 850px) {
  .project h1 {
    font-size: 56px;
  }
}

.project h2 {
  font-size: 30px;
  width: auto;
}
@media (min-width: 850px) {
  .project h2 {
    font-size: inherit;
    margin-bottom: 16px;
  }
}

p, :not(h1, h2, h3) > span, :not(h1, h2, h3) > figcaption, nav {
  letter-spacing: 0.2px;
}

p, .label {
  text-wrap: balance;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 16px;
}
p:last-of-type, .label:last-of-type {
  margin-bottom: 0px;
}
@media (min-width: 850px) {
  p, .label {
    font-size: 20px;
    line-height: 1.3;
  }
}

.lead {
  margin: 0;
  margin-left: -2px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}
@media (min-width: 850px) {
  .lead {
    font-size: 24px;
    font-weight: 500;
  }
  .lead a {
    font-weight: 500;
  }
}
.lead br {
  display: none;
}
@media (min-width: 850px) {
  .lead br {
    display: inherit;
  }
}

.label {
  padding-top: 8px;
  display: block;
  font-weight: 500;
}
@media (min-width: 850px) {
  .label {
    padding-top: 12px;
  }
}

.label.title {
  color: #FEFAF5;
}

a {
  color: #A3968F;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s 0s ease-out;
}
a:not(:has(.category-label)):hover {
  color: #FEFAF5;
  transition: color 0.1s 0s ease-in;
}
a:visited {
  color: auto;
}

p a, span a, a.small {
  position: relative;
}
p a::before, span a::before, a.small::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.045em;
  background: currentColor;
  bottom: 0px;
  right: 0;
  pointer-events: none;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s 0s;
}
p a:hover, p a:focus, span a:hover, span a:focus, a.small:hover, a.small:focus {
  text-decoration: none;
}
p a:hover::before, p a:focus::before, span a:hover::before, span a:focus::before, a.small:hover::before, a.small:focus::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
  transition: transform 0.3s 0.1s;
  text-decoration: none;
}

nav.main a, nav.main li {
  font-weight: 500;
}
@media (min-width: 850px) {
  nav.main a, nav.main li {
    font-size: inherit;
    font-weight: 500;
  }
}
nav.main a.active, nav.main a.home-link, nav.main li.active, nav.main li.home-link {
  color: #FEFAF5;
}
nav.main .home-link {
  font-weight: 500;
  color: #FEFAF5;
}
nav.main .nav-list li a {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  font-weight: 600;
}
@media (min-width: 850px) {
  nav.main .nav-list li a {
    font-size: inherit;
    font-size: 24px;
    font-weight: 500;
  }
}
nav.sub-menu a, nav.sub-menu li {
  font-size: 20px;
  font-weight: 500;
}
@media (min-width: 850px) {
  nav.sub-menu a, nav.sub-menu li {
    font-size: inherit;
    font-weight: 500;
  }
}
nav.sub-menu a.active, nav.sub-menu a.home-link, nav.sub-menu li.active, nav.sub-menu li.home-link {
  color: #FEFAF5;
}

.hero nav a {
  color: #FEFAF5;
}

.hint a {
  font-size: 18px;
  font-weight: 400;
}
.hint a:active, .hint a:hover {
  text-decoration: none;
}
@media (min-width: 850px) {
  .hint a {
    font-size: 24px;
    font-weight: 500;
  }
}

::selection {
  background-color: #FEFAF5;
  color: #0B0604;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: #0B0604;
}

blockquote {
  padding: 0;
  margin: 0;
}

.no-scroll {
  height: 100vh;
  overflow: hidden;
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 64px;
}
@media (min-width: 850px) {
  .grid12 {
    grid-column-gap: clamp(20px, 3vw, 80px);
    grid-row-gap: 64px;
  }
}
.grid12 .row1-s {
  grid-row: 1/span 1;
}
.grid12 .row2-s {
  grid-row: 2/span 1;
}
.grid12 .row3-s {
  grid-row: 3/span 1;
}
.grid12 .row4-s {
  grid-row: 4/span 1;
}
.grid12 .row5-s {
  grid-row: 5/span 1;
}
.grid12 .row6-s {
  grid-row: 6/span 1;
}
.grid12 .row7-s {
  grid-row: 7/span 1;
}
@media (min-width: 850px) {
  .grid12 .row1-l {
    grid-row: 1/span 1;
  }
}
@media (min-width: 850px) {
  .grid12 .row2-l {
    grid-row: 2/span 1;
  }
}
@media (min-width: 850px) {
  .grid12 .row3-l {
    grid-row: 3/span 1;
  }
}
@media (min-width: 850px) {
  .grid12 .row4-l {
    grid-row: 4/span 1;
  }
}

footer {
  margin: 0 20px;
  margin-top: 300px;
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 850px) {
  footer {
    margin: 0 auto;
    width: min(2000px, 100vw - clamp(20px, 3vw, 80px) * 2);
    margin-top: 384px;
    flex-direction: row;
  }
}
footer p.lead {
  align-self: flex-start;
  margin-bottom: 96px;
}
@media (min-width: 850px) {
  footer p.lead {
    width: 27em;
  }
}
footer > a {
  align-self: flex-end;
  text-align: right;
  text-wrap: nowrap;
}
nav.main {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  padding-top: 14px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
nav.main input {
  display: none;
}
@media (min-width: 850px) {
  nav.main {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: baseline;
    top: clamp(20px, 2.5vw, 41px);
    left: clamp(20px, 3vw, 80px);
    right: clamp(20px, 3vw, 80px);
    padding: 0;
    background: none;
  }
}
nav.main .mobile-navbar {
  flex-shrink: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 850px) {
  nav.main .mobile-navbar {
    padding: 0;
    align-items: flex-start;
  }
}
nav.main .mobile-navbar a.home-link {
  font-size: 24px;
}
nav.main .mobile-navbar label {
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav.main .mobile-navbar label .nav-icon {
  display: block;
}
nav.main .mobile-navbar label .nav-icon svg {
  height: 34px;
  width: 34px;
  transition: all 0.2s 0.1s;
  fill: #FEFAF5;
  stroke: #FEFAF5;
  stroke-width: 1.4px;
}
@media (min-width: 850px) {
  nav.main .mobile-navbar label {
    display: none;
  }
}
nav.main ul.nav-list {
  position: absolute;
  top: 0;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 0;
  transition: height 0.4s 0.2s cubic-bezier(0.76, 0, 0.24, 1);
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #0B0604;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 850px) {
  nav.main ul.nav-list {
    position: unset;
    padding: 0;
    background: none;
    width: 100%;
    height: auto;
    overflow: visible;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
  }
}
nav.main ul.nav-list li {
  overflow: hidden;
  line-height: 1.2em;
  margin-top: 16px;
}
nav.main ul.nav-list li:last-of-type {
  margin-bottom: 50px;
}
@media (min-width: 850px) {
  nav.main ul.nav-list li {
    height: auto;
    overflow: visible;
    margin-right: 32px;
    margin-bottom: 0;
    margin-top: 0;
  }
  nav.main ul.nav-list li:last-of-type {
    margin-right: 0;
  }
}
nav.main ul.nav-list li a {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.3s 0s;
  position: relative;
}
nav.main ul.nav-list li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.045em;
  background: currentColor;
  bottom: 0px;
  right: 0;
  pointer-events: none;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s 0s;
}
nav.main ul.nav-list li a:hover, nav.main ul.nav-list li a:focus {
  text-decoration: none;
}
nav.main ul.nav-list li a:hover::before, nav.main ul.nav-list li a:focus::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
  transition: transform 0.3s 0.1s;
  text-decoration: none;
}
nav.main ul.nav-list li a:before {
  height: 0.06em;
  bottom: -2px;
}
@media (min-width: 850px) {
  nav.main ul.nav-list li a {
    transform: none;
  }
}
nav.main #nav-trigger:checked ~ ul.nav-list {
  touch-action: pinch-zoom;
  height: 100dvh;
  transition: height 0.5s 0.1s cubic-bezier(0.76, 0, 0.24, 1);
}
@media (min-width: 850px) {
  nav.main #nav-trigger:checked ~ ul.nav-list {
    height: auto;
  }
}
nav.main #nav-trigger:checked ~ ul.nav-list a {
  transform: translateY(0%);
  transition: transform 0.4s 0.5s;
}
@media (min-width: 850px) {
  nav.main #nav-trigger:checked ~ ul.nav-list a {
    transform: none;
  }
}
nav.main #nav-trigger:checked ~ .mobile-navbar label .nav-icon svg {
  transform: rotate(45deg) scale(1.03);
  transition: all 0.2s 0.1s;
}

.hero nav.main .mobile-navbar {
  overflow: hidden;
}
.hero nav.main .mobile-navbar .home-link {
  transform: translateY(200%);
  transition: transform 0.6s 0s;
}
.hero nav.main #nav-trigger:checked ~ .mobile-navbar .home-link {
  transform: translateY(0%);
  transition: transform 0.4s 0.5s;
}

section.works-grid {
  margin: 0 20px;
}
@media (min-width: 850px) {
  section.works-grid {
    margin: 0 auto;
    width: min(2000px, 100vw - clamp(20px, 3vw, 80px) * 2);
  }
}
section.works-grid h2 {
  width: 4.35em;
}
section.works-grid .grid-item {
  grid-column: 1/12;
  height: auto;
}
@media (min-width: 850px) {
  section.works-grid .grid-item a .title {
    position: relative;
  }
  section.works-grid .grid-item a .title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1.2px;
    background: currentColor;
    bottom: 1px;
    right: 0;
    pointer-events: none;
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
  }
  section.works-grid .grid-item a:hover img {
    transform: scale(1);
    transition: transform 0.2s 0s ease-in;
  }
  section.works-grid .grid-item a:hover .title {
    text-decoration: none;
  }
  section.works-grid .grid-item a:hover .title::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
    text-decoration: none;
  }
}
section.works-grid .grid-item div, section.works-grid .grid-item figure {
  margin: 0;
  overflow: hidden;
  display: block;
}
section.works-grid .grid-item img {
  width: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.4s 0s ease-out;
}
section.works-grid .grid-item span, section.works-grid .grid-item figcaption {
  float: left;
}
section.works-grid .grid-item span:nth-of-type(2), section.works-grid .grid-item figcaption:nth-of-type(2) {
  float: right;
}
section.works-grid .grid-item:nth-of-type(1) {
  grid-column: 1/span 12;
  grid-row: 1/span 1;
}
@media (min-width: 850px) {
  section.works-grid .grid-item:nth-of-type(1) {
    grid-column: 1/span 8;
  }
}
section.works-grid .grid-item:nth-of-type(2) {
  grid-column: 3/span 8;
  grid-row: 2/span 1;
}
@media (min-width: 850px) {
  section.works-grid .grid-item:nth-of-type(2) {
    grid-column: 9/span 4;
    grid-row: 1/span 1;
  }
}
section.works-grid .grid-item:nth-of-type(3) {
  grid-column: 3/span 8;
  grid-row: 3/span 1;
}
@media (min-width: 850px) {
  section.works-grid .grid-item:nth-of-type(3) {
    grid-column: 1/span 4;
    grid-row: 2/span 1;
  }
}
section.works-grid .grid-item:nth-of-type(4) {
  grid-column: 1/span 12;
  grid-row: 4/span 1;
}
@media (min-width: 850px) {
  section.works-grid .grid-item:nth-of-type(4) {
    grid-column: 5/span 8;
    grid-row: 2/span 1;
  }
}

.hero {
  height: 100svh;
  margin-bottom: 96px;
  background: url("../img/hero_gradient_darkened7_w4000_nosRGB.webp") no-repeat;
  background-size: 175%;
  background-size: clamp(600px, 175vw, 850px);
  background-position: top 44px right -30px;
}
@media (min-width: 850px) {
  .hero {
    height: 135vh;
    margin-bottom: -48px;
    background-size: 100%;
    background-position: top -50px right 0;
  }
}
.hero .hero-wrapper {
  height: 100svh;
  padding: 9px 20px 0 20px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 850px) {
  .hero .hero-wrapper {
    height: 100vh;
    padding: 0 clamp(20px, 3vw, 80px) 0 clamp(20px, 3vw, 80px);
  }
}
.hero h1 {
  height: 65svh;
  margin-left: -8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 850px) {
  .hero h1 {
    height: 100vh;
    margin-top: clamp(14px, 1.9vw, 38px);
  }
}
.hero h1 span:nth-of-type(2) {
  text-align: right;
}
.hero p {
  max-width: 25em;
  margin-top: 4px;
}
@media (min-width: 850px) {
  .hero p {
    position: absolute;
    top: 50%;
    transform: translate(0, -55%);
    margin-top: 0;
  }
}
.hero .hint {
  position: absolute;
  bottom: 24px;
  right: 0;
  left: 0;
}
.hero .hint a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  width: 8em;
  margin: 0 auto;
}
.hero .hint a img {
  width: 1.2em;
  margin-top: 6px;
}

.about {
  margin: 128px 20px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (min-width: 850px) {
  .about {
    margin: 256px auto;
    flex-direction: row;
  }
}
.about div {
  margin-bottom: 20px;
}
@media (min-width: 850px) {
  .about div {
    margin-bottom: 0px;
    margin-right: 64px;
  }
}
.about p {
  max-width: 19em;
}
@media (min-width: 850px) {
  .about p {
    max-width: 25.5em;
  }
}
.about img {
  max-width: 15em;
  max-width: 19em;
  object-fit: cover;
}
@media (min-width: 850px) {
  .about img {
    max-width: 390px;
  }
}

@media (min-width: 850px) {
  .about.alt {
    align-items: flex-start;
  }
}
@media (min-width: 850px) {
  .about.alt h2 {
    order: 1;
  }
}
@media (min-width: 850px) {
  .about.alt div {
    order: 3;
    margin-bottom: 0px;
  }
}
@media (min-width: 850px) {
  .about.alt div p {
    font-size: 20px;
    max-width: 18.5em;
    line-height: 1.3;
  }
}
.about.alt img {
  max-width: 15em;
}
@media (min-width: 850px) {
  .about.alt img {
    order: 2;
    max-width: 370px;
    margin: 0 48px;
  }
}

header.inner-page {
  padding: 100px 20px 0 20px;
}
@media (min-width: 850px) {
  header.inner-page {
    padding: 180px clamp(20px, 3vw, 80px) 30px clamp(20px, 3vw, 80px);
  }
}
@media (min-width: 1150px) {
  header.inner-page {
    display: flex;
    align-items: last baseline;
  }
}
header.inner-page h1 {
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
header.inner-page nav.sub-menu {
  margin-top: 128px;
  margin-bottom: 24px;
  flex-grow: 2;
}
@media (min-width: 850px) {
  header.inner-page nav.sub-menu {
    margin-top: 80px;
    margin-bottom: 0px;
    padding-left: clamp(28px, -11.429px + 3.429vw, 40px);
  }
}
@media (min-width: 1150px) {
  header.inner-page nav.sub-menu {
    font-size: clamp(20px, -6.286px + 2.286vw, 28px);
  }
}
header.inner-page nav.sub-menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  max-width: 839px;
}
@media (min-width: 850px) {
  header.inner-page nav.sub-menu ul {
    flex-direction: row;
    justify-content: space-between;
  }
}
header.inner-page nav.sub-menu ul li {
  margin-right: 24px;
  margin-bottom: 8px;
}
@media (min-width: 850px) {
  header.inner-page nav.sub-menu ul li {
    margin-right: 0px;
    margin-bottom: 0px;
  }
}
header.inner-page nav.sub-menu ul li a {
  position: relative;
}
header.inner-page nav.sub-menu ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.045em;
  background: currentColor;
  bottom: 0px;
  right: 0;
  pointer-events: none;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s 0s;
}
header.inner-page nav.sub-menu ul li a:hover, header.inner-page nav.sub-menu ul li a:focus {
  text-decoration: none;
}
header.inner-page nav.sub-menu ul li a:hover::before, header.inner-page nav.sub-menu ul li a:focus::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
  transition: transform 0.3s 0.1s;
  text-decoration: none;
}
header.inner-page nav.sub-menu ul li a:before {
  height: 0.06em;
  bottom: -2px;
}

section.project {
  padding: 50px 20px 0 20px;
}
section.project p, section.project h2 {
  font-size: 16px;
}
@media (min-width: 850px) {
  section.project {
    padding: 0px clamp(20px, 3vw, 80px) 0px clamp(20px, 3vw, 80px);
  }
}
section.project .grid12 {
  grid-row-gap: 0px;
}
section.project .grid12 header {
  grid-column: 1/span 12;
  margin-top: 60px;
  margin-bottom: 30px;
}
@media (min-width: 850px) {
  section.project .grid12 header {
    grid-column: 2/span 5;
    margin-top: 0px;
    margin-bottom: 0px;
  }
}
section.project .grid12 .textblock-right {
  grid-column: 2/span 10;
}
@media (min-width: 850px) {
  section.project .grid12 .textblock-right {
    grid-column: 7/span 5;
  }
}
section.project .grid12 .textblock-right.row2-s {
  grid-column: 1/span 12;
}
@media (min-width: 850px) {
  section.project .grid12 .textblock-right.row2-s {
    grid-column: 7/span 5;
  }
}
section.project .grid12 .textblock-left {
  grid-column: 2/span 10;
  margin-bottom: 16px;
}
@media (min-width: 850px) {
  section.project .grid12 .textblock-left {
    grid-column: 2/span 5;
  }
}
section.project .grid12 > .img-row {
  grid-column: 1/span 12;
}
section.project .img-row {
  margin: 60px 0;
}
@media (min-width: 850px) {
  section.project .img-row {
    margin: 140px 0;
  }
}
section.project .img-row img {
  width: 100%;
  margin-bottom: 20px;
  object-fit: cover;
}
@media (min-width: 850px) {
  section.project .img-row img {
    height: clamp(200px, 35vw, 550px);
    margin-bottom: 0px;
  }
}
section.project .img-row.row3-s img:nth-of-type(1) {
  grid-column: 1/span 12;
}
section.project .img-row.row3-s img:nth-of-type(2) {
  grid-column: 1/span 12;
}
section.project .img-row.row5-s img:nth-of-type(1) {
  grid-column: 1/span 12;
}
section.project .img-row.row5-s img:nth-of-type(2) {
  grid-column: 1/span 12;
}
@media (min-width: 850px) {
  section.project .img-row.row2-l img:nth-of-type(1) {
    grid-column: 1/span 4;
    object-position: top left;
  }
}
@media (min-width: 850px) {
  section.project .img-row.row2-l img:nth-of-type(2) {
    grid-column: 5/span 8;
    object-position: top;
  }
}
@media (min-width: 850px) {
  section.project .img-row.row4-l img:nth-of-type(1) {
    grid-column: 1/span 8;
    object-position: top right;
  }
}
@media (min-width: 850px) {
  section.project .img-row.row4-l img:nth-of-type(2) {
    grid-column: 9/span 4;
    object-position: center;
  }
}

*, *:before, *:after {
  box-sizing: border-box;
}