* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}
body {
  margin: 0;
  background: #fff;
  color: #333;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  font-family: "Noto Serif JP", serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:hover {
  opacity: 0.7;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #555;
  outline-offset: 4px;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: "Spectral SC", serif;
  font-weight: 400;
}
h2 {
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.1em;
}
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  font-family: "Spectral SC", serif;
}
.brand {
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 15px;
  line-height: 1;
}
.site-header nav > a:not(.social) {
  padding: 12px;
}
.site-header nav .social-instagram {
  margin: 0 12px;
}
.site-header [aria-current="page"] {
  text-decoration: underline;
  font-weight: 600;
}
.social {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #000;
}
.social svg {
  width: 20px;
  height: 20px;
}
.menu-toggle {
  display: none;
}
.hero {
  margin-top: 60px;
  height: 710px;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news {
  padding: 96px 24px;
  background: #8c8c8c;
  color: #fff;
  text-align: center;
}
.news .entries {
  margin: 58px auto 0;
  max-width: 580px;
}
.entry {
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  text-align: left;
  margin-bottom: 16px;
  line-height: 2;
}
.entry-date {
  font-size: 10px;
  height: 28px;
  letter-spacing: 0.15em;
}
.entry-body {
  min-width: 0;
}
.entry-ja {
  display: block;
  font-size: 14px;
  letter-spacing: 0.15em;
  white-space: pre-line;
}
.entry-en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  white-space: pre-line;
}
.past {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  line-height: 1.4;
  padding: 2px 32px;
  margin-top: 42px;
}
.entry:last-child {
  margin-bottom: 0;
}
.past-arrow {
  font: 900 14px/14px "Font Awesome 6 Free";
}
.featured-works {
  position: relative;
  display: block;
  height: 500px;
  color: #fff;
}
.featured-images {
  height: 100%;
  display: flex;
}
.featured-images img {
  width: 25%;
  height: 100%;
  object-fit: cover;
}
.featured-images img:first-child {
  filter: grayscale(1);
}
.featured-works h2 {
  position: absolute;
  inset: 0;
  background: #0000004d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-works:hover {
  opacity: 1;
}
.featured-works:hover h2 {
  background: #0006;
}
.about-section,
.contact-section {
  position: relative;
  isolation: isolate;
}
.section-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.section-content {
  padding: 192px 24px;
  text-align: center;
  color: #fff;
}
.about-copy {
  max-width: 579px;
  margin: 60px auto 0;
}
.about-copy p {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.15em;
}
.about-copy p + p {
  margin-top: 16px;
  font-size: 13px;
}
.contact-section > .section-backdrop {
  filter: brightness(0.4) contrast(1.5);
}
.contact-content {
  background: #fffc;
  padding: 96px 24px;
  text-align: center;
}
#contact-form {
  width: 400px;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 0;
  padding: 10px 16px;
  /* The original form uses this unloaded family and the browser fallback. */
  font-family: "Noto Serif";
  appearance: none;
  box-shadow: inset 0 0 0 1px #0003;
  line-height: 1.4;
  font-size: 14px;
  color: #333;
}
#contact-form input {
  height: 32px;
}
#contact-form textarea {
  height: 160px;
  resize: none;
}
.send {
  border: 0;
  background: #000;
  color: #fff;
  padding: 14px 20px;
  align-self: stretch;
  width: 100%;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.25em;
}
.send:disabled {
  opacity: 0.5;
  cursor: wait;
}
#contact-result {
  font-size: 12px;
  line-height: 1.7;
}
#contact-result:empty {
  display: none;
}
.cf-turnstile {
  align-self: center;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer {
  height: 295px;
  background: #fff;
  padding: 96px 24px;
  text-align: center;
}
.footer-brand {
  display: block;
  width: max-content;
  margin: auto;
  height: 15px;
  font-family: "Spectral SC", serif;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.1em;
}
.fa-icon {
  font: 400 20px/20px FontAwesome;
}
.social-instagram {
  width: 17.15px;
}
.site-header nav .social-facebook {
  width: 42px;
  height: 42px;
  margin-left: 0;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 12px;
  height: 42px;
  align-items: center;
}
.footer-socials .social {
  width: 42px;
  height: 42px;
}
.site-footer p:not(.footer-brand) {
  font-family: "Playfair Display", serif;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-top: 27px;
}
.gallery-page,
.biography-page {
  margin-top: 60px;
  background: #e6e6e6;
  padding: 60px 24px;
}
.gallery-section {
  max-width: 1100px;
  margin: 0 auto 80px;
}
.gallery-section h1,
.biography-page h1 {
  font-size: 20px;
  line-height: 1.4;
  height: 48px;
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 506px;
  margin: 0 auto 32px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}
.work {
  border: 0;
  padding: 0;
  background: none;
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
}
.work img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work:hover {
  opacity: 0.8;
}
.biography-page h1 {
  max-width: 600px;
  margin-bottom: 42px;
}
.biography-page .entries {
  max-width: 600px;
  padding: 0 10px;
  margin: auto;
}
.biography-page .entry {
  grid-template-columns: 32% 68%;
  margin-bottom: 20px;
}
.biography-page .entry-en {
  font-size: 12px;
}
#lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}
#lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
#lightbox img {
  max-width: min(500px, 100%);
  max-height: 100dvh;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border: 0;
  background: none;
  color: #9d9d9d;
  font-size: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.error-page {
  min-height: 70vh;
  margin-top: 60px;
  padding: 100px 24px;
  text-align: center;
}
.error-page p {
  margin: 24px 0;
}
.error-page a {
  text-decoration: underline;
}
@media (max-width: 840px) {
  .site-header {
    padding: 0 24px;
  }
  .site-header nav {
    gap: 0;
  }
  .news .entries {
    max-width: 440px;
  }
  .about-copy {
    max-width: 460px;
  }
  .about-copy p + p {
    margin-top: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .gallery-section {
    max-width: 660px;
  }
  .section-content {
    padding: 192px 24px;
  }
}
@media (max-width: 540px) {
  .site-header {
    padding: 0 0 0 24px;
  }
  .brand {
    font-size: 20px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 48px;
    height: 48px;
    padding: 17px;
    border: 0;
    background: none;
    justify-content: center;
  }
  .menu-toggle span {
    height: 1px;
    width: 14px;
    background: #333;
  }
  .site-header nav {
    display: none;
  }
  .hero {
    height: 80vh;
  }
  .news {
    padding: 112px 32px;
  }
  .news .entries {
    margin-top: 58px;
  }
  .news .entries {
    padding: 0 10px;
  }
  .news .entry {
    display: block;
    margin-bottom: 40px;
  }
  .news .entry:last-child {
    margin-bottom: 24px;
  }
  .news .entry-date {
    display: block;
    height: 28px;
  }
  .news .entry-body {
    display: block;
  }
  .entry-body {
    padding: 0;
  }
  .featured-works {
    height: 500px;
  }
  .about-copy p {
    font-size: 13px;
  }
  .about-copy p + p {
    margin-top: 12px;
    font-size: 11px;
  }
  .section-content {
    padding: 192px 24px;
  }
  .contact-content {
    padding: 96px 24px;
  }
  .gallery-page {
    padding: 60px 16px;
  }
  .gallery-section h1 {
    max-width: 200px;
  }
  .gallery {
    gap: 20px;
    padding: 10px 0;
  }
  .biography-page {
    padding: 60px 24px;
  }
  .biography-page .entry {
    display: block;
    margin-bottom: 28px;
  }
  .biography-page .entry-date {
    display: block;
    margin-bottom: 4px;
  }
  .biography-page .entry-body {
    display: block;
  }
  .biography-page h1 {
    max-width: 200px;
  }
  #contact-form {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

#mobile-menu {
  padding: 0;
  border: 0;
  width: 100%;
  max-width: 100%;
  height: 480px;
  max-height: 100dvh;
  margin: auto;
  background: transparent;
  color: #333;
  overflow: auto;
  font-family: "Spectral SC", serif;
  letter-spacing: 0.2em;
}
#mobile-menu::backdrop {
  background: rgba(255, 255, 255, 0.95);
}
#mobile-menu .mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 76px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font:
    14px/28px "Spectral SC",
    serif;
  letter-spacing: 0.15em;
}
#mobile-menu .mobile-menu-close span {
  font: 14px/1 "Material Icons";
  letter-spacing: 0;
}
#mobile-menu nav {
  display: flex;
  flex-direction: column;
}
#mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.1em;
}
.mobile-socials {
  padding-top: 12px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.mobile-socials .social {
  width: 42px;
  height: 42px;
  letter-spacing: 0;
}
.mobile-socials .fa-icon {
  font-size: 24px;
  line-height: 24px;
}

.gallery-page {
  padding-bottom: 0;
}
.gallery-section:last-child {
  margin-bottom: 0;
}
.gallery-section:not(:first-child) h1 {
  max-width: 640px;
  height: 50px;
}
.works .site-footer,
.biography .site-footer {
  background: #e6e6e6;
  height: 305px;
}
.works .site-footer p:not(.footer-brand),
.biography .site-footer p:not(.footer-brand) {
  margin-top: 17px;
}
@media (max-width: 540px) {
  .gallery-page {
    padding-top: 36px;
  }
  .gallery-section:not(:first-child) h1 {
    max-width: 200px;
  }
}
.biography-page {
  padding: 60px 0 10px;
  color: #000;
}
.biography-page .entry {
  grid-template-columns: 184px minmax(0, 1fr);
  margin-bottom: 16px;
}
.biography-page .entry:last-child {
  margin-bottom: 0;
}
@media (max-width: 540px) {
  .biography-page {
    padding: 36px 0 10px;
  }
  .biography-page .entries {
    padding: 0 10px;
  }
  .biography-page .entry {
    width: 95%;
    margin: 0 auto 16px;
  }
  .biography-page .entry-date {
    margin-bottom: 0;
  }
}

.material-icon {
  font-family: "Material Icons";
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  word-spacing: normal;
  white-space: nowrap;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #aeaeae;
  opacity: 1;
}

/* Align the first text line despite the different date/body font sizes. */
@media (min-width: 541px) {
  .entry-date {
    padding-top: 2px;
  }
}
