*, h2, h3 {
  margin: 0;
  padding: 0
}
img, section {
  max-width: 100%
}
.about-text, .description p, .service-item p {
  line-height: 1.9
}
.nav-list a, a {
  text-decoration: none
}
.hamburger, header {
  background: 0 0;
  position: fixed
}
#contact, .description h3, .heading-wrapper, .service-item h3, footer {
  text-align: center
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  color: #3e3e3e;
  line-height: 1.5
}
img {
  display: block
}
p {
  color: #7a7470;
  font-weight: 500
}
a {
  color: inherit
}
ul {
  list-style: none
}
h1 {
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  font-size: clamp(28px, 6vw, 56px)
}
h2, h3 {
  font-family: "Noto Sans JP", sans-serif
}
h2 {
  font-weight: 400;
  font-size: clamp(16px, 1rem + .6vw, 20px);
  text-shadow: #f2eee9 1px 0 8px;
  letter-spacing: .08em;
  line-height: 1.4
}
.about-text, h3 {
  letter-spacing: .05em
}
h2::first-line {
  font-family: Quattrocento, serif;
  font-weight: 700;
  font-size: clamp(28px, 2rem + 2vw, 48px)
}
h3 {
  font-weight: 600;
  font-size: clamp(20px, 1rem + 1vw, 22px)
}
.scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 1002
}
.scrollbar_bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e3b4a4, #bcd1da);
  transform-origin: left
}
[data-animate] {
  opacity: 0;
  transform: translateY(30px) scale(.9);
  transition: opacity 1.2s ease-out var(--delay, 0s), transform 1.2s cubic-bezier(.22, 1, .36, 1) var(--delay, 0s)
}
[data-animate].is-inview {
  opacity: 1;
  transform: translateY(0) scale(1)
}
.nav-list a.is-active::after {
  transform: scaleX(1)
}
section {
  padding: 64px 16px;
  margin: 0 auto
}
.heading-wrapper {
  max-width: 1280px;
  padding-bottom: 40px;
  margin: 0 auto
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px
}
header {
  width: 100%;
  top: 0;
  left: 0;
  transition: background .3s;
  z-index: 1000
}
header.scrolled {
  background: rgba(255, 255, 255, .9)
}
.hamburger, .nav-list {
  display: none
}
.nav-list a {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: 16px;
  position: relative;
  display: inline-block;
  color: #3e3e3e;
  padding: 3px 0
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #7a7470;
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s
}
.nav-list a:hover::after {
  transform: scaleX(1);
  transition: .3s
}
.hamburger {
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
  top: 16px;
  right: 16px;
  z-index: 1001
}
#works, .hero-grid {
  background: #bcd1da
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #3e3e3e;
  border-radius: 2px;
  transition: .3s
}
.hamburger.open span:first-child {
  transform: rotate(45deg) translate(7px, 7px)
}
.hamburger.open span:nth-child(2) {
  opacity: 0
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px)
}
.work-item figure.can-zoom::after, .work-item figure.has-link a::after {
  content: "";
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  transform: translateY(-4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  opacity: 0;
  position: absolute
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 16px;
  width: 100%;
  height: 70vh;
  position: relative
}
.hero-title {
  align-self: start;
  justify-self: start;
  z-index: 10
}
.hero-title img {
  max-width: 150px
}
.parallax-container {
  grid-area: 1/1/9/7;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #f2eee9;
  z-index: 1;
  touch-action: none;
  cursor: grab
}
.parallax-container .parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none
}
.parallax-container:active {
  cursor: grabbing
}
.side-visual-left, .side-visual-right, .side-visual-top {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat
}
.side-visual-top {
  grid-area: 1/7/4/9;
  background-image: url('../images/blue-check.png')
}
.side-visual-left {
  grid-area: 4/6/7/8;
  z-index: 5;
  justify-self: center;
  align-self: center
}
.side-visual-left p {
  font-size: clamp(56px, 4.8vw, 88px);
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: transparent;
  background-image: url("../images/blue-mottled.png");
  -webkit-background-clip: text
}
.side-visual-right {
  grid-area: 4/8/7/9;
  background-image: url('../images/blue-randomdot.png')
}
.hero-heading {
  grid-area: 7/7/9/9;
  z-index: 10
}
.hero-heading p {
  color: #3e3e3e;
  font-size: clamp(18px, 4vw, 24px);
  padding: 1rem 0
}
@media (max-width:1024px) {
  .nav-list.open a {
    display: block;
    font-size: 24px;
    color: #3e3e3e;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background .2s, text-decoration-color .2s
  }
  .hero-title, header.scrolled .hamburger {
    display: flex
  }
  .nav-list.open a.is-active::after, .nav-list.open a[aria-current=location]::after {
    transform: scaleX(0) !important;
    opacity: 0 !important
  }
  @media (prefers-reduced-motion:reduce) {
    .nav-list.open {
      animation: none !important
    }
  }
  .nav-list.open {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: max(64px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(5px);
    animation: .2s ease-out navFadeIn
  }
  @keyframes navFadeIn {
    from {
      opacity: 0
    }
    to {
      opacity: 1
    }
  }
  .hero-title {
    grid-column: 1;
    grid-row: 1;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    padding-left: 16px;
    gap: 8px
  }
  .hero-title img {
    width: 30px
  }
  .hero-title h1 {
    font-size: 24px
  }
  .side-visual-left, .side-visual-right, .side-visual-top {
    display: none
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #f2eee9;
    height: auto;
    padding: 1rem 0
  }
  .parallax-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    height: auto
  }
  .hero-heading, .parallax-container {
    padding: 0 1rem
  }
  .hero-heading {
    text-align: center
  }
}
@media (min-width:1025px) {
  .nav-list {
    display: flex;
    gap: 24px;
    position: fixed;
    top: 16px;
    left: 16px
  }
  header.scrolled .nav-list {
    display: none
  }
  .hamburger, header.scrolled .hamburger {
    display: none !important
  }
  .parallax-container .parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 100%;
    width: auto;
    margin: auto;
    object-fit: cover;
    object-position: center center;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none
  }
  .hero-title {
    grid-column: 8/9;
    grid-row: 1/span 8;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding-top: 1rem
  }
}
.side-visual-right, .side-visual-top {
  transform: translateY(var(--svy, 0));
  transition: transform .1s linear
}
#about {
  background: #e9e1ce
}
.about-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 56% 1fr;
  align-items: center;
  gap: 32px
}
.portrait {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  height: auto;
  transform: rotate(2deg);
  box-shadow: 4px 6px 10px rgba(0, 0, 0, .1);
  border-radius: 5px;
  filter: saturate(40%);
  transition: .3s
}
.portrait:hover {
  transform: rotate(0);
  filter: saturate(100%);
  transition: .3s
}
#service {
  background-color: #e3b4a4
}
.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}
.service-item {
  padding: 8%;
  background: #f2eee9;
  border-radius: 8px
}
.service-image-wrapper {
  width: 170px;
  height: 170px;
  margin: 1rem auto;
  border-radius: 50%;
  border: 2px solid #7a7470;
  background: #fffaf5;
  display: flex;
  align-items: center;
  justify-content: center
}
.service-image-wrapper img {
  width: 120px;
  height: 120px
}
.service-item h3 {
  margin-bottom: .75rem
}
.service-item p {
  margin: 8px 8px 0
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px
}
.work-item {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  padding: 16px 0
}
.work-item figure img {
  margin: 0 auto;
  aspect-ratio: 1/1;
  width: 90%;
  max-width: 300px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center
}
.work-item .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  justify-content: center
}
.work-item .tag {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  border-radius: 9999px;
  background: #7a7470;
  color: #fff;
  user-select: none;
  cursor: default
}
.work-item .tag:focus, .work-item .tag:hover {
  outline: 0;
  background: #44413e
}
.work-item figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 5px
}
.work-item figure.has-link a {
  position: relative;
  display: block
}
.work-item figure.has-link a::after {
  border-radius: 9999px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M14 3h7v7h-2V6.41L10.41 15 9 13.59 17.59 5H14V3z'/%3E%3Cpath fill='%23fff' d='M5 5h4v2H7v10h10v-2h2v4H5V5z'/%3E%3C/svg%3E") center/16px 16px no-repeat, rgba(0, 0, 0, .55)
}
.work-item figure.can-zoom {
  cursor: zoom-in
}
.work-item figure.can-zoom::after {
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center/16px 16px no-repeat rgba(0, 0, 0, .55)
}
.work-item figure:hover img {
  transform: scale(1.02);
  filter: brightness(1.1);
  transition: .3s
}
.work-item figure.can-zoom:hover::after, .work-item figure.has-link:hover a::after {
  opacity: 1;
  transform: translateY(0)
}
.description {
  padding: 8%
}
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s step-end;
  z-index: 1000
}
.image-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s, visibility
}
.image-modal img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}
.image-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 9999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer
}
.image-modal .modal-close:hover {
  background: rgba(0, 0, 0, .75)
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0
}
#contact {
  background: #caa890
}
.airmail-border {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border: 16px solid;
  border-image: repeating-linear-gradient(-45deg, #e3b4a4 0, #e3b4a4 10px, #e9e1ce 10px, #e9e1ce 20px, #bcd1da 20px, #bcd1da 30px, #e9e1ce 30px, #e9e1ce 40px) 16;
  background: #f2eee9;
  padding: 2rem
}
.airmail-border p {
  text-align: left
}
.form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 100px;
  height: 100px;
  margin: 1rem auto;
  transition: .3s;
  background-image: linear-gradient(180deg, #e3b4a4 0, #bcd1da 100%);
  box-shadow: 0 4px 6px rgba(188, 209, 218, .4)
}
.form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(188, 209, 218, .8);
  filter: brightness(1.08);
  transition: .3s
}
.form-button img {
  width: 80%;
  color: #fff
}
footer {
  background: #3e3e3e;
  padding: 32px 0
}
footer p {
  color: #f2eee9;
  font-size: 12px
}
@media(max-width:768px) {
  .about-grid {
    padding: 0 1rem
  }
  .about-grid, .works-grid {
    grid-template-columns: 1fr
  }
  section {
    padding: 8% 0
  }
}