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

:root {
  --bg: #f8f7f5;
  --text: #1a1a1a;
  --sub: #666;
  --muted: #999;
  --line: rgba(0,0,0,0.11);
  --line-strong: rgba(0,0,0,0.24);
  --gold: #ae9252;
  --paper: #fbfaf7;
  --hero-band: #f0eeec;
  --content: 1180px;
  --page-pad: max(24px, calc((100vw - var(--content)) / 2 + 24px));
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.u-nowrap {
  white-space: nowrap;
}

.eyebrow {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  min-height: 112px;
  justify-content: space-between;
  left: 0;
  padding: 0 48px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  width: clamp(128px, 10.8vw, 168px);
}

.brand img {
  display: block;
  height: auto;
  width: 100%;
}

.site-header nav {
  display: flex;
  gap: clamp(34px, 4vw, 64px);
}

.site-header nav a {
  font-family: var(--font-en);
  font-size: clamp(15px, 1.05vw, 19px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.menu-button {
  appearance: none;
  background: transparent;
  border: 0;
  display: none;
  height: 34px;
  padding: 0;
  width: 34px;
}

.menu-button span {
  background: var(--text);
  display: block;
  height: 2px;
  margin-left: auto;
  transition: opacity 0.2s, transform 0.2s;
  width: 28px;
}

.menu-button span + span {
  margin-top: 7px;
}

.hero {
  background: var(--hero-band);
  display: block;
  min-height: 100svh;
  padding: 112px 0 0;
  text-align: left;
}

.hero__inner {
  background: var(--hero-band) url("../images/s-lp-fv.webp") center center / cover no-repeat;
  display: block;
  margin: 0;
  max-width: none;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.hero__inner::before {
  display: none;
}

h1 {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  left: clamp(136px, 14.8vw, 284px);
  min-height: 0;
  position: relative;
  top: clamp(206px, 25.4vh, 260px);
  width: min(47vw, 760px);
  z-index: 1;
}

.hero__message {
  margin-left: 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.hero__message h1 {
  font-size: clamp(31px, 2.55vw, 46px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.48;
  max-width: none;
  white-space: nowrap;
}

.hero__line {
  display: inline;
}

.hero__message h1::after {
  display: none;
}

.hero__lead {
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 25px);
  font-weight: 400;
  letter-spacing: 0.17em;
  line-height: 2;
  margin-top: clamp(22px, 2.2vw, 34px);
  white-space: nowrap;
}

.hero__kicker {
  color: #555;
  font-family: var(--font-en);
  font-size: clamp(12px, 0.98vw, 17px);
  font-weight: 400;
  letter-spacing: 0.42em;
  line-height: 1;
  margin-top: clamp(30px, 3vw, 44px);
}

.hero__link {
  align-items: center;
  align-self: flex-start;
  display: inline-flex;
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 400;
  gap: clamp(44px, 4vw, 70px);
  letter-spacing: 0.12em;
  line-height: 1;
  margin-left: 0;
  margin-top: clamp(48px, 4.8vw, 78px);
  padding-bottom: 15px;
  position: relative;
  z-index: 2;
}

.hero__link::before {
  background: var(--text);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 88px;
}

.hero__link::after {
  content: "→";
  font-family: var(--font-en);
  font-size: clamp(30px, 2.3vw, 42px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.7;
}


.process-rail {
  color: var(--text);
  display: grid;
  gap: 40px;
  justify-items: start;
  position: relative;
}

.process-rail::before {
  background: var(--line-strong);
  content: "";
  height: calc(100% - 18px);
  left: 8px;
  position: absolute;
  top: 9px;
  width: 1px;
}

.process-rail span {
  align-items: center;
  display: grid;
  font-size: 15px;
  font-weight: 900;
  gap: 16px;
  grid-template-columns: 18px auto;
  line-height: 1;
  position: relative;
}

.process-rail span::before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  justify-self: center;
  width: 8px;
}

.wireframe-board {
  background: rgba(251,250,247,0.62);
  border: 1px solid rgba(0,0,0,0.28);
  box-shadow: 20px 28px 60px rgba(0,0,0,0.06);
  min-height: clamp(360px, 40vw, 500px);
  padding: clamp(22px, 3vw, 34px);
  transform: rotate(-5deg);
}

.wireframe-board__bar {
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  gap: 8px;
  padding-bottom: 14px;
}

.wireframe-board__bar span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.wireframe-board__hero {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.44fr 1fr;
  margin-top: 30px;
}

.wireframe-board__hero > div:first-child,
.wireframe-board__grid span,
.wireframe-board__wide {
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--line-strong) 50%, transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), var(--line-strong) 50%, transparent calc(50% + 1px));
  border: 1px solid var(--line-strong);
}

.wireframe-board__hero > div:first-child {
  aspect-ratio: 1;
}

.wireframe-board__hero > div:last-child {
  padding-top: 8px;
}

.wireframe-board__hero > div:last-child span {
  background: var(--line-strong);
  display: block;
  height: 2px;
  margin-bottom: 16px;
  width: 100%;
}

.wireframe-board__hero > div:last-child span:nth-child(2) {
  width: 76%;
}

.wireframe-board__hero > div:last-child span:nth-child(3) {
  background: rgba(174,146,82,0.36);
  border: 1px solid rgba(174,146,82,0.58);
  height: 30px;
  margin-top: 30px;
  width: 58%;
}

.wireframe-board__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.wireframe-board__grid span {
  aspect-ratio: 4 / 3;
}

.wireframe-board__wide {
  aspect-ratio: 10 / 2.6;
  margin-top: 38px;
}

.button {
  align-items: center;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
  display: inline-flex;
  font-weight: 800;
  justify-content: space-between;
  margin-top: clamp(34px, 4vw, 54px);
  min-height: 66px;
  min-width: min(100%, 360px);
  padding: 0 30px;
  transition: background 0.25s, color 0.25s;
}

.button::after {
  content: "→";
  font-family: var(--font-en);
  margin-left: 34px;
}

.button:hover {
  background: transparent;
  color: var(--text);
}

.section {
  border-top: 1px solid var(--line);
  padding: 92px var(--page-pad);
}

.section-head {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 54px;
  max-width: var(--content);
}

.section h2,
.contact-section h1 {
  border-bottom: 1px solid var(--text);
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  padding-bottom: 6px;
}

.section-head p {
  color: var(--sub);
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.55;
}

.service-section {
  background: #fff;
  padding-top: clamp(82px, 8vw, 124px);
}

.service-title {
  margin-bottom: clamp(48px, 6vw, 82px);
  text-align: center;
}

.service-title h2 {
  border: 0;
  color: #333;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 58px);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0 0 22px;
  position: relative;
}

.service-title h2::after {
  background: rgba(0,0,0,0.12);
  bottom: 0;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 72px;
}

.service-cards {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
}

.service-cards article {
  text-align: center;
}

.service-cards h3 {
  color: #555;
  font-size: clamp(21px, 1.9vw, 30px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.service-cards span {
  color: #aaa;
  display: block;
  font-family: var(--font-en);
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 20px;
}

.service-icon {
  align-items: center;
  display: flex;
  height: clamp(108px, 10vw, 138px);
  justify-content: center;
  margin: clamp(36px, 4.4vw, 56px) auto clamp(34px, 4.4vw, 54px);
  width: clamp(108px, 10vw, 138px);
}

.service-icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.service-cards p {
  color: #333;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.05;
  text-align: left;
}

.works-section {
  background: #fffdf8;
  border-top: 0;
  padding-bottom: clamp(96px, 9vw, 142px);
  padding-top: clamp(84px, 8vw, 124px);
}

.works-title {
  margin-bottom: clamp(52px, 6vw, 78px);
  text-align: center;
}

.works-title h2 {
  border: 0;
  color: #333;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 58px);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0 0 22px;
  position: relative;
}

.works-title h2::after {
  background: rgba(0,0,0,0.12);
  bottom: 0;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 72px;
}

.works-gallery {
  display: grid;
  gap: clamp(40px, 4.6vw, 64px) clamp(28px, 3.8vw, 44px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
}

.work-card {
  display: block;
  min-width: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.work-card:hover {
  opacity: 0.74;
  transform: translateY(-2px);
}

.work-card figure {
  aspect-ratio: 16 / 10;
  background: #f7f3eb;
  border: 1px solid #e5ded3;
  box-shadow: 0 18px 34px rgba(0,0,0,0.05);
  overflow: hidden;
  width: 100%;
}

.work-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.work-card--smorning img {
  object-position: left center;
}

.work-card span {
  color: #8f877c;
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-top: 16px;
  text-transform: uppercase;
}

.faq-list p {
  color: var(--sub);
  font-size: 14px;
  line-height: 2;
}

.faq-list {
  border-top: 1px solid var(--line);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 900;
  list-style: none;
  padding: 26px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  font-family: var(--font-en);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 780px;
  padding: 0 0 28px;
}

.contact-section {
  border-top: 1px solid var(--line);
  padding: 112px var(--page-pad) 124px;
}

.contact-section--page {
  border-top: 0;
  min-height: calc(100vh - 80px);
  padding-top: 180px;
}

.contact-section h1 {
  font-family: var(--font-jp);
}

.contact-section p:not(.eyebrow) {
  color: var(--sub);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 2;
  margin-top: 34px;
}

.contact-form {
  margin-top: clamp(52px, 6vw, 84px);
  max-width: 760px;
}

.form-field {
  display: block;
}

.form-field + .form-field {
  margin-top: 34px;
}

.form-field span {
  color: var(--sub);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.form-field input,
.form-field select,
.form-field textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.7;
  min-height: 64px;
  outline: none;
  padding: 8px 0 16px;
  width: 100%;
}

.form-field textarea {
  min-height: 220px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--text);
}

.form-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 44px;
}

.form-actions p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.form-actions button {
  align-items: center;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  gap: 28px;
  justify-content: center;
  min-height: 68px;
  min-width: 210px;
  padding: 0 34px;
  transition: background 0.25s, color 0.25s;
}

.form-actions button:hover {
  background: transparent;
  color: var(--text);
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-family: var(--font-en);
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: 0.1em;
  padding: 32px var(--page-pad);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header nav {
    gap: 18px;
  }

  .hero__inner {
    background-position: center center;
  }

  .hero__copy {
    left: clamp(58px, 10.6vw, 132px);
    top: clamp(174px, 22.4vh, 232px);
    width: min(58vw, 680px);
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 620px;
  }

  .service-cards article + article {
    margin-top: 28px;
  }

  .works-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    padding: 0 22px;
  }

  .brand {
    height: 40px;
    width: 118px;
  }

  .site-header nav {
    display: none;
  }

  .site-header::after {
    display: none;
  }

  .site-header.is-open nav {
    background: rgba(251,250,247,0.96);
    border: 1px solid var(--line);
    box-shadow: 0 22px 48px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 190px;
    padding: 22px;
    position: fixed;
    right: 22px;
    top: 70px;
  }

  .menu-button {
    align-items: center;
    background:
      linear-gradient(var(--text), var(--text)) center 7px / 28px 2px no-repeat,
      linear-gradient(var(--text), var(--text)) center 16px / 28px 2px no-repeat,
      linear-gradient(var(--text), var(--text)) center 25px / 28px 2px no-repeat;
    display: flex;
    flex: 0 0 34px;
    justify-content: center;
    position: relative;
    right: auto;
    top: auto;
    z-index: 25;
  }

  .menu-button::before,
  .menu-button::after {
    display: none;
  }

  .menu-button span {
    display: none;
  }

  .site-header.is-open .menu-button::before {
    display: none;
  }

  .site-header.is-open .menu-button {
    background:
      linear-gradient(45deg, transparent calc(50% - 1px), var(--text) calc(50% - 1px), var(--text) calc(50% + 1px), transparent calc(50% + 1px)) center / 30px 30px no-repeat,
      linear-gradient(-45deg, transparent calc(50% - 1px), var(--text) calc(50% - 1px), var(--text) calc(50% + 1px), transparent calc(50% + 1px)) center / 30px 30px no-repeat;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 0;
  }

  .hero__inner {
    aspect-ratio: 750 / 540;
    background: var(--hero-band) url("../images/s-lp-fv-sp-compact-short.webp") center top / cover no-repeat;
    min-height: 0;
  }

  .hero__copy {
    justify-content: flex-start;
    left: clamp(28px, 9.4vw, 70px);
    min-height: 0;
    padding-top: 0;
    position: absolute;
    top: clamp(70px, 22vw, 165px);
    width: min(59vw, 445px);
  }

  .hero__message h1 {
    font-size: clamp(23px, 5.35vw, 40px);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.36;
    white-space: normal;
  }

  .hero__line {
    display: block;
  }

  .hero__lead {
    font-size: clamp(12px, 2.55vw, 19px);
    letter-spacing: 0.16em;
    line-height: 1.55;
    margin-top: clamp(16px, 3.9vw, 29px);
    white-space: nowrap;
  }

  .hero__kicker {
    font-size: clamp(9px, 1.6vw, 12px);
    letter-spacing: 0.25em;
    margin-top: clamp(18px, 4.3vw, 32px);
  }

  .hero__link {
    display: none;
  }

  .button {
    justify-content: space-between;
    width: 100%;
  }

  .section,
  .contact-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .service-section {
    padding-top: 78px;
  }

  .service-title {
    margin-bottom: 54px;
  }

  .service-icon {
    height: 112px;
    margin: 34px auto;
    width: 112px;
  }

  .service-cards p {
    line-height: 2;
  }

  .works-gallery {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc(100vw - 88px);
  }

  .work-card span {
    margin-top: 18px;
  }

  .contact-section {
    padding-top: 84px;
    padding-bottom: 96px;
  }

  .contact-form {
    margin-top: 44px;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-actions button {
    justify-content: space-between;
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-left: 22px;
    padding-right: 22px;
  }
}
