@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Lato:wght@300;400;700&family=M+PLUS+1p:wght@300;400;500&family=Tangerine:wght@400;700&display=swap");
:root {
  --paper: #f7f8f9;
  --ink: #333;
  --soft: #cbd0d1;
  --accent: #ed3e17;
}

/* Production-only: unpublished work cards */
.production-version .work-card > a,
.production-version .work-category-card {
  cursor: default;
  pointer-events: none;
}

.production-version .work-image-wrap,
.production-version .work-category-image {
  position: relative;
}

.production-version .work-image-wrap::after,
.production-version .work-category-image::after {
  align-items: center;
  background: rgba(45, 50, 52, 0.74);
  color: #fff;
  content: "COMING SOON\A準備中";
  display: flex;
  font-family: "Lato", "M PLUS 1p", sans-serif;
  font-size: 13px;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.14em;
  line-height: 1.8;
  position: absolute;
  text-align: center;
  white-space: pre;
  z-index: 2;
}

.production-version .work-card-action,
.production-version .work-category-link {
  color: #777;
  letter-spacing: 0.1em;
}

.production-version .work-card-action b,
.production-version .work-category-link b {
  display: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Heebo", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  height: 115px;
  justify-content: space-between;
  left: 0;
  padding: 0 80px 0 22px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.logo {
  display: block;
  height: 52px;
  width: 52px;
}

.logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.desktop-nav {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  gap: 50px;
  letter-spacing: 0.1em;
}

.desktop-nav a {
  transition: opacity 180ms ease;
}

.desktop-nav a:hover {
  opacity: 0.55;
}

.desktop-nav .contact-pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 28px;
}

.mobile-menu {
  display: none;
}

.menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 36px;
  list-style: none;
  padding: 6px 0;
  position: relative;
  z-index: 23;
  width: 24px;
}

.menu-button::-webkit-details-marker {
  display: none;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 3px;
  margin: 4px 0;
  width: 24px;
}

.mobile-menu nav {
  align-items: center;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  font-size: 28px;
  font-weight: 500;
  gap: 32px;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.1em;
  position: fixed;
  z-index: 22;
}

.mobile-menu[open] .menu-button span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu[open] .menu-button span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] .menu-button span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  height: 850px;
  margin-left: auto;
  max-width: 1480px;
  overflow: visible;
  position: relative;
  width: calc(100% - 90px);
}

.hero-photo {
  background-color: #dfe5e4;
  background-image: none;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-copy {
  left: -60px;
  position: absolute;
  top: 245px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(60px, 6.2vw, 100px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.hero-script {
  color: var(--accent);
  font-family: "Tangerine", cursive;
  font-size: clamp(76px, 6.25vw, 100px);
  font-weight: 700;
  left: clamp(390px, 35vw, 560px);
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  position: absolute;
  top: 53px;
}

.hero-greeting {
  font-size: 20px;
  font-weight: 300;
  left: -30px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin: 0;
  position: absolute;
  top: 190px;
  white-space: nowrap;
}

.work-jump {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  bottom: 145px;
  display: flex;
  flex-direction: column;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  height: 120px;
  justify-content: center;
  left: 16px;
  letter-spacing: 0.07em;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease;
  width: 120px;
  z-index: 2;
}

.work-jump:hover {
  background: var(--ink);
  color: white;
}

@media (min-width: 1600px) {
  .site-header {
    padding-left: 35px;
  }

  .logo {
    height: 50px;
    width: 50px;
  }

  .desktop-nav {
    gap: 60px;
  }

  .hero-photo {
    background-position: left top;
    width: calc(100vw - 90px);
  }

  .hero-copy {
    left: -66px;
    top: 220px;
  }

  .hero h1 {
    font-size: 96px;
  }

  .hero-script {
    font-size: 95px;
    left: 550px;
    top: 56px;
  }

  .hero-greeting {
    left: -21px;
    top: 190px;
  }

  .work-jump {
    bottom: 155px;
    left: 86px;
  }
}

.section-heading {
  margin-bottom: 101px;
}

.section-heading p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.section-heading h2 {
  font-size: 75px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.13;
  margin: 0;
}

.work-section,
.about-section {
  margin: 0 auto;
  max-width: 1100px;
}

.work-section {
  padding-top: 127px;
}

.works-grid {
  display: grid;
  gap: 70px 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card a {
  display: block;
}

.work-image-wrap {
  aspect-ratio: 1.46 / 1;
  background: #e8ebec;
  border-radius: 12px;
  overflow: hidden;
}

.work-image-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.work-card a:hover img {
  transform: scale(1.03);
}

.work-card-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.work-category {
  border: 1px solid #df704b;
  border-radius: 999px;
  color: #a94a2d;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 6px 15px;
}

.work-card-action {
  align-items: center;
  color: #777;
  display: flex;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  gap: 9px;
  letter-spacing: 0.06em;
}

.work-card-action b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.work-card a:hover .work-card-action b {
  transform: translateX(4px);
}

.work-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
  margin: 15px 0 0;
}

.skills {
  display: flex;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  line-height: 1;
  margin: 10px 0 0;
}

.work-card {
  border-bottom: 1px solid rgba(51, 51, 51, 0.35);
  padding-bottom: 24px;
}

.skills i {
  font-style: normal;
  margin: 0 10px;
}

.work-category-section {
  background: linear-gradient(135deg, #d9ddde 0%, #cbd0d1 100%);
  margin-top: 120px;
  padding: 88px 30px 78px;
}

.work-category-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1100px;
}

.work-category-card {
  display: block;
}

.work-category-heading {
  margin-bottom: 25px;
  text-align: center;
}

.work-category-heading h3 {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0;
}

.work-category-heading p {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin: 7px 0 0;
}

.work-category-image {
  aspect-ratio: 1.48 / 1;
  background: #eef0f0;
  overflow: hidden;
}

.work-category-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.work-category-card:hover .work-category-image img {
  transform: scale(1.04);
}

.work-category-link {
  align-items: center;
  border-bottom: 1px solid rgba(51, 51, 51, 0.75);
  display: flex;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  justify-content: space-between;
  letter-spacing: 0.04em;
  padding: 14px 2px 12px;
}

.work-category-link b,
.work-all-link b {
  font-size: 18px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.work-category-card:hover .work-category-link b,
.work-all-link:hover b {
  transform: translateX(5px);
}

.work-all-link {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: flex;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  height: 58px;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin: 58px auto 0;
  padding: 0 25px 0 31px;
  transition: background 180ms ease, color 180ms ease;
  width: 280px;
}

.work-all-link:hover {
  background: var(--ink);
  color: white;
}

.about-section {
  padding: 144px 0 135px;
}

.about-section .section-heading {
  margin-bottom: 70px;
}

.about-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 517px 1fr;
}

.about-photo {
  border-radius: 32px;
  height: 536px;
  overflow: hidden;
}

.about-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  width: 100%;
}

.about-name {
  align-items: baseline;
  display: flex;
  gap: 0;
}

.about-name h3 {
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0;
}

.about-name p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  margin: 0 0 0 0;
}

.about-text {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin: 0;
}

.view-more {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: flex;
  font-size: 16px;
  height: 60px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin-top: 50px;
  transition: background 180ms ease, color 180ms ease;
  width: 200px;
}

.view-more:hover {
  background: var(--ink);
  color: white;
}

footer {
  background: var(--soft);
  min-height: 530px;
  padding: 116px 90px 55px;
  position: relative;
  text-align: center;
}

footer nav {
  display: flex;
  font-size: 16px;
  font-weight: 500;
  gap: 90px;
  justify-content: center;
  letter-spacing: 0.1em;
}

.footer-contact {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 82px 0 10px;
}

.email-link {
  align-items: center;
  background: white;
  border-radius: 12px;
  display: inline-flex;
  font-size: 16px;
  gap: 14px;
  height: 90px;
  justify-content: center;
  letter-spacing: 0.06em;
  min-width: 326px;
}

.email-link span {
  font-family: sans-serif;
}

.copyright {
  bottom: 36px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin: 0;
  position: absolute;
  right: 140px;
}

@media (max-width: 900px) {
  .site-header {
    height: 62px;
    padding: 0 23px 0 17px;
    position: fixed;
  }

  .logo {
    height: 35px;
    width: 35px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    height: 720px;
    margin-left: 30px;
    max-width: calc(100% - 30px);
    overflow: hidden;
    width: calc(100% - 30px);
  }

  .hero-photo {
    background-position: 52% center;
  }

  .hero-copy {
    left: -9px;
    top: 77px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: 0.06em;
  }

  .hero-script {
    font-size: 44px;
    letter-spacing: 0.05em;
    left: 210px;
    margin: 0;
    top: 26px;
  }

  .hero-greeting {
    font-size: 11px;
    left: 0;
    letter-spacing: 0.025em;
    line-height: 1.45;
    margin: 0;
    top: 68px;
  }

  .work-jump {
    display: none;
  }

  .work-section,
  .about-section {
    margin: 0;
    max-width: none;
    padding-left: 30px;
    padding-right: 30px;
  }

  .work-category-section {
    margin-top: 84px;
    padding: 70px 30px 65px;
  }

  .work-category-grid {
    gap: 46px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-section {
    padding-top: 75px;
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .section-heading h2 {
    font-size: 44px;
    letter-spacing: 0.06em;
    line-height: 1.12;
  }

  .works-grid {
    gap: 52px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card {
    margin-bottom: 0;
    padding-bottom: 20px;
  }

  .work-image-wrap {
    aspect-ratio: 1.44 / 1;
    border-radius: 12px;
  }

  .work-card h3 {
    font-size: 16px;
    letter-spacing: 0.055em;
    line-height: 1.6;
    margin-top: 16px;
  }

  .skills {
    font-size: 12px;
    margin: 8px 0 0;
  }

  .skills i {
    margin: 0 9px;
  }

  .work-card-meta {
    margin-top: 14px;
  }

  .work-category {
    font-size: 11px;
    padding: 5px 12px;
  }

  .work-card-action {
    font-size: 11px;
  }

  .about-section {
    padding-bottom: 96px;
    padding-top: 38px;
  }

  .about-section .section-heading {
    margin-bottom: 25px;
  }

  .about-grid {
    display: block;
  }

  .about-photo {
    border-radius: 22px;
    height: auto;
    margin-bottom: 36px;
  }

  .about-photo img {
    aspect-ratio: 330 / 342;
  }

  .about-name {
    align-items: baseline;
    margin-bottom: 20px;
  }

  .about-name h3 {
    font-size: 30px;
  }

  .about-name p {
    font-size: 15px;
  }

  .about-text {
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }

  .view-more {
    height: 62px;
    margin: 50px auto 0;
    width: 200px;
  }

  footer {
    min-height: 530px;
    padding: 72px 30px 52px;
  }

  footer nav {
    gap: 52px;
  }

  .footer-contact {
    margin-top: 74px;
  }

  .email-link {
    height: 70px;
    min-width: 0;
    width: 100%;
  }

  .copyright {
    bottom: 50px;
    left: 0;
    right: 0;
  }
}

@media (max-width: 374px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-script {
    font-size: 37px;
    left: 185px;
  }

  .skills,
  .work-card h3,
  .about-text {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .works-grid {
    display: block;
  }

  .work-card {
    margin-bottom: 44px;
  }

  .work-card:last-child {
    margin-bottom: 0;
  }

  .work-image-wrap {
    aspect-ratio: 1.46 / 1;
  }

  .work-card-action {
    font-size: 12px;
  }

  .work-category-section {
    margin-top: 72px;
    padding: 64px 30px 60px;
  }

  .work-category-grid {
    display: block;
  }

  .work-category-card {
    margin-bottom: 52px;
  }

  .work-category-heading {
    margin-bottom: 18px;
  }

  .work-all-link {
    margin-top: 10px;
    width: 100%;
  }
}

/* Works index page */
.works-page .site-header {
  position: fixed;
}

.works-page-heading {
  align-items: flex-end;
  display: flex;
  height: 390px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1100px;
  padding-bottom: 86px;
}

.works-page-heading > div > p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.works-page-heading h1 {
  font-size: 95px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  margin: 0;
}

.works-page-lead {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  letter-spacing: 0.055em;
  line-height: 2;
  margin: 0 0 6px;
  max-width: 440px;
}

.works-filter {
  border-bottom: 1px solid rgba(51, 51, 51, 0.3);
  border-top: 1px solid rgba(51, 51, 51, 0.3);
  display: flex;
  gap: 54px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 22px 0;
}

.works-filter label {
  cursor: pointer;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  position: relative;
}

.works-filter label::after {
  background: #df704b;
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.works-filter label:hover::after,
#filter-all:checked ~ .works-filter label[for="filter-all"]::after,
#filter-web-design:checked ~ .works-filter label[for="filter-web-design"]::after,
#filter-landing-page:checked ~ .works-filter label[for="filter-landing-page"]::after,
#filter-banner:checked ~ .works-filter label[for="filter-banner"]::after {
  transform: scaleX(1);
}

.works-filter-input {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#filter-all:focus-visible ~ .works-filter label[for="filter-all"],
#filter-web-design:focus-visible ~ .works-filter label[for="filter-web-design"],
#filter-landing-page:focus-visible ~ .works-filter label[for="filter-landing-page"],
#filter-banner:focus-visible ~ .works-filter label[for="filter-banner"] {
  outline: 2px solid #df704b;
  outline-offset: 7px;
}

#filter-web-design:checked ~ .works-index .work-card:not([data-category="web-design"]),
#filter-landing-page:checked ~ .works-index .work-card:not([data-category="landing-page"]),
#filter-banner:checked ~ .works-index .work-card:not([data-category="banner"]) {
  display: none;
}

.works-index {
  margin: 0 auto;
  max-width: 1100px;
  padding: 90px 0 130px;
}

.works-index-grid {
  display: grid;
  gap: 70px 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.works-index .work-card {
  scroll-margin-top: 120px;
}

.works-index .work-card h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
  margin: 15px 0 0;
}

.works-back-link {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: flex;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  gap: 18px;
  height: 58px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin: 0 auto 130px;
  transition: background 180ms ease, color 180ms ease;
  width: 190px;
}

.works-back-link:hover {
  background: var(--ink);
  color: white;
}

@media (max-width: 900px) {
  .works-page-heading {
    align-items: flex-start;
    display: block;
    height: auto;
    margin: 0;
    padding: 112px 30px 58px;
  }

  .works-page-heading > div > p {
    font-size: 14px;
  }

  .works-page-heading h1 {
    font-size: 44px;
  }

  .works-page-lead {
    font-size: 14px;
    margin-top: 34px;
  }

  .works-filter {
    gap: 36px;
    margin: 0 30px;
    overflow-x: auto;
    padding: 18px 0;
    white-space: nowrap;
  }

  .works-index {
    margin: 0;
    padding: 64px 30px 100px;
  }

  .works-index-grid {
    gap: 52px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-back-link {
    margin-bottom: 100px;
  }
}

@media (max-width: 640px) {
  .works-index-grid {
    display: block;
  }

  .works-index .work-card {
    margin-bottom: 44px;
  }

  .works-index .work-card:last-child {
    margin-bottom: 0;
  }
}

/* Work detail pages */
.work-detail-page .site-header {
  position: fixed;
}

.work-detail-heading {
  margin: 0 auto;
  max-width: 1120px;
  padding: 185px 0 60px;
}

.work-detail-kicker {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}

.work-detail-heading h1 {
  font-size: 55px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.18;
  margin: 0;
}

.work-detail-meta {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.055em;
  line-height: 1.7;
  margin: 12px 0 0;
}

.work-detail-hero {
  aspect-ratio: 1120 / 767;
  background: white;
  border-radius: 22px;
  margin: 0 auto;
  max-width: 1120px;
  overflow: hidden;
}

.work-detail-hero img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.work-detail-info {
  margin: 80px auto 150px;
  max-width: 1120px;
}

.work-detail-row {
  border-bottom: 1px solid rgba(51, 51, 51, 0.22);
  display: grid;
  font-family: "M PLUS 1p", sans-serif;
  gap: 0;
  grid-template-columns: 200px 1fr;
  padding: 28px 0;
}

.work-detail-row:first-child {
  border-top: 1px solid rgba(51, 51, 51, 0.22);
}

.work-detail-row h2,
.work-detail-row p {
  font-size: 15px;
  letter-spacing: 0.045em;
  line-height: 1.9;
  margin: 0;
}

.work-detail-row h2 {
  font-weight: 500;
}

.work-site-link {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: underline;
  text-decoration-color: rgba(51, 51, 51, 0.34);
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.work-site-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.work-site-link span {
  font-size: 18px;
  line-height: 1;
}

.work-capture-section {
  margin: 0 auto 150px;
  max-width: 1120px;
}

.work-capture-heading {
  margin-bottom: 66px;
}

.work-capture-heading p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin: 0 0 5px;
}

.work-capture-heading h2 {
  font-size: 58px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
  margin: 0;
}

.work-capture-grid {
  align-items: start;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) 260px;
}

.work-capture-grid figure {
  margin: 0;
}

.work-capture-grid figcaption {
  font-family: "Lato", sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.work-capture-frame {
  background: white;
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(32, 42, 46, 0.07);
  overflow: hidden;
}

.work-capture-frame img {
  display: block;
  height: auto;
  width: 100%;
}

.work-more-section {
  background: linear-gradient(180deg, #eef0f1 0%, var(--paper) 100%);
  padding: 110px 0 130px;
}

.work-more-heading,
.work-more-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}

.work-more-heading {
  margin-bottom: 72px;
}

.work-more-heading p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin: 0;
}

.work-more-heading h2 {
  font-size: 62px;
  letter-spacing: 0.07em;
  line-height: 1;
  margin: 0;
}

.work-more-grid {
  display: grid;
  gap: 64px 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-view-all {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: flex;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  gap: 32px;
  height: 58px;
  justify-content: center;
  letter-spacing: 0.07em;
  margin: 80px auto 0;
  transition: background 180ms ease, color 180ms ease;
  width: 190px;
}

.work-view-all:hover {
  background: var(--ink);
  color: white;
}

.work-detail-missing {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .work-detail-heading {
    padding: 120px 30px 45px;
  }

  .work-detail-heading h1 {
    font-size: 36px;
  }

  .work-detail-hero {
    border-radius: 18px;
    margin: 0 30px;
  }

  .work-detail-info {
    margin: 55px 30px 100px;
  }

  .work-detail-row {
    grid-template-columns: 125px 1fr;
  }

  .work-capture-section {
    margin: 0 30px 110px;
  }

  .work-capture-grid {
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .work-more-section {
    padding: 80px 30px 100px;
  }

  .work-more-grid {
    gap: 52px 22px;
  }
}

@media (max-width: 640px) {
  .work-detail-heading h1 {
    font-size: 31px;
  }

  .work-detail-hero {
    aspect-ratio: 1.46 / 1;
  }

  .work-detail-row {
    display: block;
    padding: 23px 0;
  }

  .work-detail-row h2 {
    margin-bottom: 10px;
  }

  .work-capture-heading {
    margin-bottom: 42px;
  }

  .work-capture-heading h2 {
    font-size: 43px;
  }

  .work-capture-grid {
    display: block;
  }

  .work-capture-sp {
    margin: 46px auto 0 !important;
    max-width: 230px;
  }

  .work-more-heading {
    margin-bottom: 45px;
  }

  .work-more-heading h2 {
    font-size: 44px;
  }

  .work-more-grid {
    display: block;
  }

  .work-more-grid .work-card {
    margin-bottom: 44px;
  }
}

/* About detail page */
.about-page .site-header {
  position: fixed;
}

.about-detail-heading,
.biography-section,
.strength-section,
.activities-section {
  margin: 0 auto;
  max-width: 1100px;
}

.about-detail-heading {
  height: 398px;
  padding-top: 150px;
}

.about-detail-heading p,
.about-detail-section-heading > p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.about-detail-heading h1 {
  font-size: 95px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  margin: 0;
}

.about-detail-intro {
  height: 675px;
  position: relative;
}

.about-detail-photo {
  background: url("../public/images/profile-hashimoto.jpg") center 12% / cover no-repeat;
  border-radius: 10px 30px 30px 10px;
  height: 525px;
  left: 0;
  max-width: 860px;
  position: absolute;
  top: 0;
  width: calc(50vw - 45px);
}

.about-detail-copy {
  font-family: "M PLUS 1p", sans-serif;
  left: calc(50% + 88px);
  position: absolute;
  top: 60px;
  width: 465px;
}

.about-detail-name {
  align-items: baseline;
  display: flex;
  margin-bottom: 38px;
}

.about-detail-name h2 {
  font-family: "Heebo", sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0;
}

.about-detail-name p {
  font-size: 18px;
  letter-spacing: 0.06em;
  margin: 0 0 0 58px;
}

.about-detail-copy > p {
  font-size: 15px;
  letter-spacing: 0.055em;
  line-height: 2;
  margin: 0;
}

.about-keyword-area {
  left: calc(50% - 272px);
  position: absolute;
  top: 487px;
}

.about-keyword-area > img {
  border-radius: 20px;
  height: 345px;
  object-fit: cover;
  object-position: center 30%;
  width: 300px;
}

.keyword-copy {
  left: 388px;
  position: absolute;
  top: 83px;
  width: 270px;
}

.keyword-label {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.35;
  margin: 0 0 -20px -22px;
  position: relative;
  width: 170px;
  z-index: 2;
}

.keyword-card {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  display: flex;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  height: 140px;
  justify-content: center;
  letter-spacing: 0.06em;
  line-height: 2;
  text-align: center;
  width: 245px;
}

.about-detail-section-heading h2 {
  font-size: 75px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.13;
  margin: 0;
}

.biography-section {
  padding-top: 45px;
}

.timeline {
  margin-top: 80px;
  padding-bottom: 155px;
  position: relative;
}

.timeline::before {
  background: var(--ink);
  bottom: 155px;
  content: "";
  left: 151px;
  position: absolute;
  top: 0;
  width: 1px;
}

.timeline-item {
  display: grid;
  font-family: "M PLUS 1p", sans-serif;
  grid-template-columns: 120px 1fr;
  gap: 58px;
  margin-bottom: 48px;
  min-height: 90px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  background: #999;
  border-radius: 50%;
  content: "";
  height: 13px;
  left: 145px;
  position: absolute;
  top: 4px;
  width: 13px;
}

.timeline-item:last-child::before {
  background: #000;
}

.timeline-item time {
  font-family: "Heebo", sans-serif;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-align: right;
}

.timeline-item h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0 0 4px;
}

.timeline-item p {
  font-size: 15px;
  letter-spacing: 0.045em;
  line-height: 2;
  margin: 0;
}

.strength-section {
  padding-bottom: 180px;
}

.strength-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(4, 250px);
  margin: 108px auto 0;
  width: 1075px;
}

.strength-circle {
  align-items: center;
  border: 2px solid #df704b;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 250px;
  justify-content: center;
  width: 250px;
}

.strength-circle h3 {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin: 0;
}

.strength-circle p {
  color: #bbb;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  margin: 0;
}

.strength-description {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.045em;
  line-height: 2;
  margin: 32px 5px 0;
}

.activities-section {
  padding-bottom: 175px;
}

.activity-block {
  margin-top: 93px;
  padding-left: 40px;
}

.activity-title {
  align-items: baseline;
  display: flex;
  position: relative;
}

.activity-title::before {
  background: #df704b;
  content: "";
  height: 2px;
  left: -40px;
  position: absolute;
  top: 19px;
  width: 30px;
}

.activity-title h3 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  margin: 0;
}

.activity-title p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  margin: 0 0 0 22px;
}

.activity-description {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.045em;
  line-height: 2;
  margin: 39px 0 0;
  max-width: 625px;
}

.activity-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 71px;
}

.activity-grid img {
  border-radius: 9px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dance-grid img {
  aspect-ratio: 327 / 184;
}

.photography-block {
  margin-top: 132px;
}

.photo-grid {
  gap: 25px 20px;
}

.photo-grid img {
  aspect-ratio: 327 / 250;
}

@media (max-width: 900px) {
  .about-detail-heading,
  .biography-section,
  .strength-section,
  .activities-section {
    margin: 0;
    max-width: none;
  }

  .about-detail-heading {
    height: 197px;
    padding: 84px 30px 0;
  }

  .about-detail-heading p,
  .about-detail-section-heading > p {
    font-size: 14px;
  }

  .about-detail-heading h1 {
    font-size: 38px;
    letter-spacing: 0.06em;
  }

  .about-detail-intro {
    height: auto;
    padding-bottom: 80px;
  }

  .about-detail-photo {
    border-radius: 0 22px 22px 0;
    height: 275px;
    max-width: none;
    position: relative;
    width: calc(100% - 35px);
  }

  .about-detail-copy {
    left: auto;
    margin: 44px 30px 0;
    position: relative;
    top: auto;
    width: auto;
  }

  .about-detail-name {
    margin-bottom: 31px;
  }

  .about-detail-name h2 {
    font-size: 30px;
  }

  .about-detail-name p {
    font-size: 15px;
    margin-left: 28px;
  }

  .about-detail-copy > p {
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 2;
  }

  .about-keyword-area {
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    left: auto;
    margin: 34px 0 0 30px;
    position: relative;
    top: auto;
  }

  .about-keyword-area > img {
    border-radius: 20px 0 0 20px;
    height: 226px;
    width: 198px;
  }

  .keyword-copy {
    left: auto;
    position: relative;
    top: auto;
    width: 137px;
  }

  .keyword-label {
    display: none;
  }

  .keyword-card {
    font-size: 12px;
    height: 102px;
    line-height: 1.75;
    width: 137px;
  }

  .biography-section,
  .strength-section,
  .activities-section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .biography-section {
    padding-top: 0;
  }

  .about-detail-section-heading h2 {
    font-size: 38px;
    letter-spacing: 0.06em;
    line-height: 1.15;
  }

  .timeline {
    margin-top: 53px;
    padding-bottom: 120px;
  }

  .timeline::before {
    bottom: 120px;
    left: 77px;
  }

  .timeline-item {
    gap: 19px;
    grid-template-columns: 58px 1fr;
    margin-bottom: 54px;
    min-height: 120px;
  }

  .timeline-item::before {
    height: 11px;
    left: 72px;
    width: 11px;
  }

  .timeline-item time {
    font-size: 14px;
  }

  .timeline-item h3,
  .timeline-item p {
    font-size: 14px;
    letter-spacing: 0.035em;
    line-height: 2;
  }

  .strength-section {
    padding-bottom: 95px;
  }

  .strength-grid {
    display: block;
    margin-top: 52px;
    width: auto;
  }

  .strength-card {
    margin-bottom: 72px;
  }

  .strength-circle {
    height: 250px;
    margin: 0 auto;
    width: 250px;
  }

  .strength-circle h3 {
    font-size: 18px;
  }

  .strength-description {
    font-size: 15px;
    line-height: 2;
    margin: 28px 5px 0;
  }

  .activities-section {
    padding-bottom: 105px;
  }

  .activity-block {
    margin-top: 42px;
    padding-left: 15px;
  }

  .activity-title::before {
    left: -15px;
    top: 13px;
    width: 10px;
  }

  .activity-title h3 {
    font-size: 25px;
  }

  .activity-title p {
    font-size: 13px;
    margin-left: 13px;
  }

  .activity-description {
    font-size: 15px;
    line-height: 2;
    margin-top: 30px;
  }

  .activity-grid {
    display: block;
    margin-top: 30px;
  }

  .activity-grid img {
    margin-bottom: 15px;
  }

  .photography-block {
    margin-top: 90px;
  }
}

/* Service */
.service-home-section {
  background: #eef0f1;
  padding: 120px 30px;
}

.service-home-inner {
  align-items: end;
  display: grid;
  gap: 90px;
  grid-template-columns: minmax(0, 1fr) 470px;
  margin: 0 auto;
  max-width: 1100px;
}

.service-home-inner .section-heading {
  margin: 0;
}

.service-home-copy > p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 15px;
  letter-spacing: 0.055em;
  line-height: 2;
  margin: 0;
}

.service-home-copy .view-more {
  margin-top: 34px;
}

.service-page .site-header {
  position: fixed;
}

.service-page-heading {
  align-items: flex-end;
  display: flex;
  height: 430px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1100px;
  padding-bottom: 82px;
}

.service-page-heading > div > p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
}

.service-page-heading h1 {
  font-size: 95px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  margin: 0;
}

.service-page-heading > p {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  letter-spacing: 0.055em;
  line-height: 2;
  margin: 0 0 6px;
  max-width: 455px;
}

.service-list {
  border-top: 1px solid rgba(51, 51, 51, 0.28);
  margin: 0 auto 120px;
  max-width: 1100px;
}

.service-card {
  align-items: center;
  border-bottom: 1px solid rgba(51, 51, 51, 0.28);
  display: grid;
  gap: 40px;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  min-height: 220px;
  padding: 42px 10px;
}

.service-card-number {
  color: #9b9b9b;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.service-card-type {
  color: #a94a2d;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.service-card-body h2 {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0;
}

.service-card-body > p:last-child {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  letter-spacing: 0.045em;
  line-height: 1.9;
  margin: 18px 0 0;
}

.service-status {
  border: 1px solid #df704b;
  border-radius: 999px;
  color: #a94a2d;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 9px 18px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .service-home-section {
    padding: 85px 30px;
  }

  .service-home-inner {
    align-items: start;
    gap: 46px;
    grid-template-columns: 1fr;
  }

  .service-page-heading {
    align-items: flex-start;
    display: block;
    height: auto;
    padding: 112px 30px 62px;
  }

  .service-page-heading > div > p {
    font-size: 14px;
  }

  .service-page-heading h1 {
    font-size: 52px;
  }

  .service-page-heading > p {
    margin-top: 34px;
  }

  .service-list {
    margin: 0 30px 90px;
  }
}

@media (max-width: 640px) {
  .service-home-inner .section-heading h2 {
    font-size: 48px;
  }

  .service-card {
    align-items: start;
    gap: 18px;
    grid-template-columns: 42px 1fr;
    padding: 32px 0;
  }

  .service-card-body h2 {
    font-size: 22px;
  }

  .service-status {
    grid-column: 2;
    justify-self: start;
  }
}

/* OFFWAN legal documents */
.legal-page {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}

.legal-shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 72px 40px 120px;
}

.legal-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 88px;
}

.legal-brand-mark {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  height: 44px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 44px;
}

.legal-brand-name {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.legal-header {
  border-bottom: 1px solid rgba(51, 51, 51, 0.28);
  margin-bottom: 64px;
  padding-bottom: 54px;
}

.legal-eyebrow {
  color: #a94a2d;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.legal-header h1 {
  font-family: "M PLUS 1p", sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.25;
  margin: 0;
}

.legal-date,
.legal-lead {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  letter-spacing: 0.045em;
  line-height: 2;
}

.legal-date {
  color: #777;
  margin: 28px 0 0;
}

.legal-lead {
  margin: 24px 0 0;
}

.legal-content {
  font-family: "M PLUS 1p", sans-serif;
}

.legal-section {
  margin-top: 58px;
}

.legal-section:first-child {
  margin-top: 0;
}

.legal-section h2 {
  border-left: 2px solid var(--accent);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.55;
  margin: 0 0 22px;
  padding-left: 18px;
}

.legal-section p,
.legal-section li {
  font-size: 14px;
  letter-spacing: 0.035em;
  line-height: 2.05;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section ul + p {
  margin-top: 18px;
}

.legal-section a {
  text-decoration: underline;
  text-decoration-color: rgba(51, 51, 51, 0.45);
  text-underline-offset: 0.18em;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.5em;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-email {
  overflow-wrap: anywhere;
}

.legal-end {
  border-top: 1px solid rgba(51, 51, 51, 0.28);
  color: #777;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-top: 80px;
  padding-top: 28px;
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 36px 24px 80px;
  }

  .legal-brand {
    margin-bottom: 58px;
  }

  .legal-header {
    margin-bottom: 48px;
    padding-bottom: 40px;
  }

  .legal-header h1 {
    font-size: 36px;
  }

  .legal-section {
    margin-top: 46px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 13px;
    line-height: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
