:root {
  color-scheme: light;
  --paper: #f5f2ec;
  --ink: #16181d;
  --muted: #5d6066;
  --night: #0c0e13;
  --gold: #b3924c;
  --line: #d9d3c5;
  --line-dark: #2b2e35;
  --display: "Bodoni Moda", "Times New Roman", serif;
  --mincho: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --gutter: clamp(24px, 5.6vw, 88px);
  --section-space: 140px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/2.1 var(--sans);
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; width: 100%; object-fit: cover; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.wrap {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }

.signature {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  width: var(--signature-width, 62px);
  color: var(--signature-line, var(--line));
}

.signature::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--gold);
}

.signature::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px 22px;
}

.section-heading__en {
  font: 400 var(--heading-size, 76px)/1 var(--display);
  letter-spacing: -.035em;
}

.section-heading__ja {
  color: var(--muted);
  font: 400 13px/1.6 var(--sans);
  letter-spacing: .2em;
  white-space: nowrap;
}

.section-intro {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  color: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 27px;
}

.brand {
  display: grid;
  justify-items: start;
  text-decoration: none;
}

.brand__word {
  font: 400 32px/1 var(--display);
  letter-spacing: .18em;
}

.brand__company {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .14em;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(13px, 2.4vw, 34px);
}

.site-nav a, .footer-nav a {
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.site-nav a:hover, .footer-nav a:hover { text-decoration: underline; }

.site-nav .site-nav__contact {
  padding: 8px 20px;
  border: 1px solid rgb(255 255 255 / .68);
  border-radius: 999px;
  background: #101216;
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 640px;
  height: 100vh;
  place-items: center;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}

.hero__photo,
.hero::after {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero__photo {
  z-index: -2;
  object-position: 54% center;
}

.hero::after {
  content: "";
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgb(12 14 19 / .49), transparent 71%),
    linear-gradient(0deg, rgb(12 14 19 / .8), transparent 31%, transparent 74%, rgb(12 14 19 / .56));
}

.hero__copy {
  padding-inline: 20px;
  text-align: center;
}

.hero__label {
  font-size: 11px;
  letter-spacing: .35em;
}

.hero h1 {
  margin-top: 18px;
  font: 400 40px/1.6 var(--mincho);
  letter-spacing: .12em;
}

.hero__caption {
  position: absolute;
  inset: auto 0 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgb(255 255 255 / .7);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .25em;
}

.hero__caption .signature {
  --signature-width: 43px;
  --signature-line: rgb(255 255 255 / .45);
}

.manifesto .wrap, .company .wrap {
  border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
}

.manifesto { --heading-size: 84px; }

.manifesto__content {
  max-width: 590px;
  margin: 47px 0 0 auto;
}

.manifesto__content .signature { margin-bottom: 28px; }

.manifesto__lead, .contact__lead {
  margin-bottom: 16px;
  font: 500 30px/1.65 var(--mincho);
}

.services__intro {
  margin-bottom: 42px;
  justify-content: space-between;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(170px, 25vw, 280px);
  align-items: center;
  column-gap: 44px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.service:last-child { border-bottom: 1px solid var(--line); }

.service--featured {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  border: 0;
}

.service__photo { aspect-ratio: 16 / 9; }

.service--featured .service__photo {
  aspect-ratio: 2.65;
  object-position: center 56%;
}

.service__body {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
}

.service--featured .service__body {
  max-width: 755px;
  padding-block: 28px 34px;
}

.number {
  font: 400 40px/1 var(--display);
  font-variant-numeric: lining-nums;
}

.service__copy h3 {
  margin-bottom: 6px;
  font: 500 24px/1.55 var(--mincho);
}

.service__copy p, .strengths__list p { color: var(--muted); }

.works {
  --heading-size: 84px;
  --signature-line: var(--line-dark);
  background: var(--night);
  color: #fff;
}

.works__intro .section-intro { margin-bottom: 18px; }
.works .section-heading__ja { color: rgb(255 255 255 / .8); }

.works__intro p {
  margin-bottom: 47px;
  color: rgb(255 255 255 / .8);
}

.works__list { border-bottom: 1px solid var(--line-dark); }

.works__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 18px;
  padding-block: 16px 19px;
  border-top: 1px solid var(--line-dark);
}

.works__name {
  font: 400 72px/1.12 var(--display);
  letter-spacing: .08em;
}

.works__location {
  color: rgb(255 255 255 / .5);
  font-size: 10px;
  letter-spacing: .25em;
  white-space: nowrap;
}

.works__photo {
  height: 420px;
  object-position: center 55%;
}

.strengths { --heading-size: 72px; }
.strengths__intro { margin-bottom: 42px; }
.strengths__list { border-bottom: 1px solid var(--line); }

.strengths__list li {
  display: grid;
  grid-template-columns: 65px minmax(235px, 1fr) minmax(0, 1.6fr);
  gap: 10px 21px;
  align-items: baseline;
  padding-block: 25px;
  border-top: 1px solid var(--line);
}

.strengths__list h3 { font: 500 22px/1.6 var(--mincho); }

.company { --heading-size: 64px; }

.company__layout {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
  gap: 28px 46px;
  align-items: start;
}

.company__intro .signature { margin-top: 26px; }

.company__facts > div {
  display: grid;
  grid-template-columns: 83px minmax(0, 1fr);
  gap: 10px 16px;
  align-items: baseline;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.company__facts > div:last-child { border-bottom: 1px solid var(--line); }

.company__facts dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
}

.contact { --heading-size: 84px; }

.contact__layout {
  display: grid;
  grid-template-columns: minmax(315px, 1fr) minmax(0, 1fr);
  gap: 26px 46px;
  align-items: start;
}

.contact__intro .signature { margin-bottom: 19px; }
.contact__copy { padding-top: 20px; }
.contact__lead { font-size: 28px; }

.contact__link {
  display: inline-block;
  margin-top: 25px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  text-underline-offset: 4px;
}

.contact__link:hover { text-decoration: underline; }

.site-footer {
  --signature-line: var(--line-dark);
  overflow: hidden;
  padding-block: 45px 24px;
  background: var(--night);
  color: #fff;
}

.site-footer__signature { width: 100%; }

.site-footer__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 25px;
  margin-block: 18px 36px;
}

.site-footer__word {
  font: 400 26vw/.92 var(--display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 96;
  text-align: center;
  letter-spacing: .015em;
  color: rgb(255 255 255 / .14);
}

.site-footer__copyright {
  margin-top: 27px;
  color: rgb(255 255 255 / .65);
  font-size: 12px;
}

@media (max-width: 760px) {
  :root {
    --gutter: 24px;
    --section-space: 72px;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 19px;
  }

  .brand__word { font-size: 25px; }
  .brand__company { margin-top: 4px; }
  .site-nav, .footer-nav { gap: 6px 14px; }
  .site-nav a, .footer-nav a { font-size: 11px; letter-spacing: .07em; }
  .site-nav .site-nav__contact { padding: 3px 10px; }

  .hero__photo { object-position: 72% center; }
  .hero__label { letter-spacing: .26em; }
  .hero h1 { font-size: clamp(21px, 6.25vw, 30px); }
  .hero__caption { inset-block-end: 23px; gap: 11px; }

  .section-heading { column-gap: 13px; }
  .section-heading__en { font-size: 40px; }

  .manifesto .wrap, .company .wrap { padding-bottom: 30px; }
  .manifesto__content { margin-top: 29px; }
  .manifesto__content .signature { margin-bottom: 17px; }

  .manifesto__lead, .contact__lead { font-size: 23px; }

  .services__intro, .strengths__intro { margin-bottom: 26px; }
  .service { grid-template-columns: minmax(0, 1fr) minmax(65px, 25%); gap: 10px; padding-block: 17px; }
  .service--featured { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .service__body { grid-template-columns: 31px minmax(0, 1fr); gap: 9px; }
  .service--featured .service__body { padding-block: 19px 22px; }
  .service--featured .service__photo { aspect-ratio: 1.9; }
  .service__copy h3 { font-size: 19px; }
  .service__copy p { font-size: 13px; }
  .service .number { font-size: 26px; }

  .works__intro .section-intro { gap: 14px; }
  .works__intro p { margin-bottom: 30px; }
  .works__list li { flex-wrap: wrap; padding-block: 12px; }
  .works__name { font-size: clamp(27px, 8.5vw, 50px); }
  .works__photo { height: 56vw; }

  .strengths__list li { grid-template-columns: 43px minmax(0, 1fr); gap: 5px 10px; padding-block: 19px; }
  .strengths__list h3 { font-size: 19px; }
  .strengths__list p { grid-column: 2; }

  .company__layout, .contact__layout { grid-template-columns: minmax(0, 1fr); }
  .company__intro .signature { margin-top: 17px; }
  .contact__copy { padding-top: 0; }

  .site-footer { padding-block: 30px 20px; }
  .site-footer__top { flex-direction: column; margin-bottom: 29px; }
  .site-footer__copyright { margin-top: 16px; }
}

/* デモ3追加分 */
.hero__catch {
  margin-block: 18px 12px;
  font: 400 14px/1.6 var(--mincho);
  letter-spacing: .2em;
}

.hero h1 {
  margin-top: 0;
  font-size: 36px;
}

.service--text { grid-template-columns: minmax(0, 1fr); }

.service__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
}

.service__items li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
}

.demo3__intro {
  justify-content: space-between;
  margin-bottom: 42px;
}

.audience__grid,
.flow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(20px, 4vw, 54px);
}

.audience__item,
.flow__step,
.faq__item {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.audience__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.audience__label {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .18em;
}

.audience__item h3,
.flow__step h3 {
  margin-bottom: 8px;
  font: 500 22px/1.6 var(--mincho);
}

.audience__body,
.flow__step p,
.flow__note,
.faq__item p { color: var(--muted); }

.audience__item a {
  margin-top: auto;
  padding-top: 16px;
  text-underline-offset: 5px;
}

.flow__step .number {
  display: block;
  margin-bottom: 12px;
}

.flow__note {
  margin-top: 30px;
  font-size: 12px;
}

.works__related { margin-top: 42px; }

.works__related h3 {
  margin-bottom: 12px;
  font: 500 18px/1.6 var(--mincho);
}

.works__related dl { border-bottom: 1px solid var(--line-dark); }

.works__related dl > div {
  display: grid;
  grid-template-columns: minmax(125px, .25fr) minmax(0, 1fr);
  gap: 4px 20px;
  align-items: baseline;
  padding-block: 12px;
  border-top: 1px solid var(--line-dark);
}

.works__related dt {
  font: 400 22px/1.2 var(--display);
  letter-spacing: .05em;
}

.works__related dd {
  color: rgb(255 255 255 / .8);
  font-size: 13px;
}

.faq__list { border-bottom: 1px solid var(--line); }

.faq__item { padding-bottom: 22px; }

.faq__item h3 {
  margin-bottom: 8px;
  font: 500 18px/1.6 var(--mincho);
}

@media (max-width: 760px) {
  .hero__catch { font-size: 12px; }
  .hero h1 { font-size: clamp(21px, 6.25vw, 30px); }
  .demo3__intro { margin-bottom: 26px; }

  .audience__grid,
  .flow__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .audience__item h3,
  .flow__step h3 { font-size: 19px; }

  .flow__step .number { font-size: 30px; }
  .works__related { margin-top: 30px; }
  .works__related dl > div { grid-template-columns: minmax(0, 1fr); }
  .works__related dt { font-size: 19px; }
}
