:root {
  --ink: #22211e;
  --muted: #6f6a62;
  --paper: #f8f5ef;
  --white: #fffdf8;
  --wood: #9b6f43;
  --green: #365342;
  --line: #ded6ca;
  --charcoal: #151716;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 14, 12, 0.72), rgba(12, 14, 12, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.7);
  background: rgba(255, 253, 248, 0.1);
  font-family: serif;
  font-size: 20px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand small {
  color: rgba(255, 253, 248, 0.72);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}

.nav a {
  color: rgba(255, 253, 248, 0.9);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 12, 0.72), rgba(12, 14, 12, 0.32) 42%, rgba(12, 14, 12, 0.06)),
    linear-gradient(0deg, rgba(12, 14, 12, 0.32), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92vh;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 76px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #b98c57;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 600;
  line-height: 1.08;
}

.hero-copy {
  margin-bottom: 14px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lead {
  max-width: 600px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 17px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.58);
  background: rgba(255, 253, 248, 0.08);
}

.intro,
.section,
.contact-section,
.proposal-note {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.proposal-note {
  display: flex;
  margin-top: 26px;
  padding: 16px 18px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--wood);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

.proposal-note strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.intro {
  display: grid;
  padding: 88px 0 72px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.reason-copy h2,
.contact-section h2 {
  margin-bottom: 16px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.25;
}

.intro p:last-child,
.section-heading p,
.reason-copy p,
.contact-section p {
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

.section-heading {
  display: flex;
  margin-bottom: 34px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p:last-child {
  max-width: 420px;
  margin-bottom: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.work-large {
  grid-row: span 2;
}

.work-photo {
  min-height: 220px;
  background-position: center;
  background-size: cover;
}

.work-large .work-photo {
  min-height: 468px;
}

.photo-1 {
  background-image: url("assets/kaiteki-site/juutaku_ikedagaikan.JPG");
}

.photo-2 {
  background-image:
    linear-gradient(rgba(32, 38, 31, 0.05), rgba(32, 38, 31, 0.05)),
    url("assets/kaiteki-site/juutaku_ikedatenjou.JPG");
  background-position: center;
}

.photo-3 {
  background-image:
    linear-gradient(rgba(46, 34, 22, 0.12), rgba(46, 34, 22, 0.12)),
    url("assets/modern-tea-room-concept.png");
  background-position: center;
}

.work-card div:last-child {
  padding: 22px;
}

.work-card span,
.service-list span {
  color: var(--wood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.work-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.45;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list article {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.service-list h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.service-list p {
  color: var(--muted);
  font-size: 15px;
}

.reason-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.reason-points {
  display: grid;
  gap: 14px;
}

.reason-points div {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-left: 4px solid var(--green);
  background: var(--white);
}

.reason-points strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  font-weight: 600;
}

.reason-points span {
  color: var(--muted);
}

.flow {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.flow li {
  display: flex;
  min-height: 170px;
  align-items: center;
  padding: 18px 12px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  font-weight: 700;
}

.flow span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
}

.flow strong,
.flow small {
  display: block;
}

.flow strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.flow small {
  max-width: 210px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.contact-section {
  display: flex;
  margin-bottom: 72px;
  padding: clamp(34px, 6vw, 62px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: var(--charcoal);
}

.contact-section .section-kicker,
.contact-section p {
  color: rgba(255, 253, 248, 0.76);
}

.footer {
  display: flex;
  padding: 28px clamp(20px, 4vw, 56px);
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 253, 248, 0.72);
  background: #101211;
  font-size: 14px;
}

.footer strong {
  color: var(--white);
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .intro,
  .reason-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro,
  .reason-section,
  .contact-section {
    display: grid;
  }

  .section-heading,
  .proposal-note,
  .contact-section,
  .footer {
    align-items: start;
    flex-direction: column;
  }

  .works-grid,
  .service-list,
  .flow {
    grid-template-columns: 1fr;
  }

  .work-large .work-photo {
    min-height: 300px;
  }

  .service-list article {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-top: 112px;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .reason-points div {
    display: block;
  }

  .reason-points strong,
  .reason-points span {
    display: block;
  }
}
