:root {
  --ink: #24211d;
  --muted: #66635e;
  --line: #ded8cc;
  --paper: #fbfaf6;
  --cream: #f4efe6;
  --green: #526f3c;
  --green-dark: #334925;
  --rust: #c75f31;
  --rust-dark: #a74924;
  --shadow: 0 24px 70px rgba(52, 44, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

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

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

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.35em;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  min-height: 108px;
  padding: 22px 42px;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(222, 216, 204, 0.75);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand__name {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand__tagline {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 38px);
  margin-right: 36px;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 24px;
  height: 2px;
  background: var(--rust);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.2s ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.site-nav a.is-active {
  color: var(--rust);
}

.contact-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  padding: 0 34px;
  color: #fff;
  background: var(--rust);
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(177, 80, 38, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-button:hover,
.primary-link:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--green-dark);
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 108px);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 248, 242, 0.92) 0%, rgba(250, 248, 242, 0.68) 27%, rgba(250, 248, 242, 0.06) 57%),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2200&q=86") center / cover;
}

.hero__content {
  position: relative;
  width: min(520px, calc(100% - 48px));
  padding: clamp(88px, 11vw, 180px) 0 120px;
  margin-left: clamp(28px, 6vw, 72px);
}

.hero__title,
.section-heading h1,
.section-heading h2,
.split h2,
.message h2,
.contact h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.hero__title {
  font-size: clamp(2.2rem, 5.1vw, 4.65rem);
}

.hero__text {
  margin: 34px 0 40px;
  font-weight: 700;
  color: #33302b;
}

.news {
  display: grid;
  grid-template-columns: 180px auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 92px;
  padding: 0 clamp(28px, 5vw, 72px);
  background: #fffdf9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news__label {
  color: var(--rust);
  font-weight: 700;
  font-size: 1.08rem;
}

.news time {
  font-weight: 500;
  color: #393530;
}

.news a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #453f38;
  font-weight: 700;
}

.section {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(78px, 9vw, 136px) 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-heading h1,
.section-heading h2,
.split h2,
.message h2,
.contact h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.85rem);
}

.section-heading h1::after {
  display: block;
  width: 70px;
  height: 2px;
  margin: 30px auto 0;
  background: var(--rust);
  content: "";
}

.section-heading p {
  margin: 30px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(26px, 3vw, 52px);
  text-align: center;
  border-left: 1px solid var(--line);
}

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

.service-card__icon,
.wide-card__icon {
  color: var(--green);
  font-size: 4.2rem;
}

.service-card h2,
.wide-card h2 {
  margin: 12px 0 22px;
  color: var(--green-dark);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.service-card p {
  min-height: 112px;
  margin: 0 0 34px;
  font-size: 0.98rem;
  color: #45423c;
}

.service-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

ul {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  text-align: left;
}

li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  font-weight: 700;
  color: #403c36;
}

li::before {
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.wide-card {
  display: grid;
  grid-template-columns: 300px 1fr 360px;
  align-items: center;
  gap: 42px;
  margin-top: 86px;
  padding: 30px 30px 30px 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.wide-card p {
  margin: 0;
  font-weight: 700;
}

.wide-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.split > p,
.message__body > p {
  color: var(--muted);
  font-weight: 700;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.work-list article {
  padding: 38px;
  background: #fffdf9;
}

.work-list article + article {
  border-left: 1px solid var(--line);
}

.work-list span {
  color: var(--green);
  font-family: "Noto Serif JP", serif;
  font-size: 2.2rem;
}

.work-list h3 {
  margin: 12px 0 14px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
}

.work-list p {
  margin: 0;
  color: var(--muted);
}

.message {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
}

.message__photo {
  min-height: 540px;
  background: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1100&q=82") center / cover;
}

.signature {
  margin-top: 26px;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  text-align: right;
}

.company {
  padding-top: 60px;
}

.company-table {
  width: min(920px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 24px 22px;
}

.company-table dt {
  color: var(--green-dark);
  font-weight: 700;
  background: #f7f3ec;
}

.contact {
  padding: clamp(78px, 9vw, 120px) 28px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(42, 62, 30, 0.84), rgba(42, 62, 30, 0.84)),
    url("https://images.unsplash.com/photo-1449844908441-8829872d2607?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact .eyebrow {
  color: #f0c2aa;
}

.contact h2 {
  width: min(820px, 100%);
  margin: 0 auto 34px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(28px, 5vw, 72px);
  color: #fff;
  background: #27231f;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 18px 26px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    margin-right: 12px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 26px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - 52px));
    gap: 0;
    margin: 0;
    padding: 14px 22px;
    background: #fffdf9;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .work-list {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .service-card,
  .service-card:last-child,
  .work-list article + article {
    border: 0;
  }

  .service-card {
    padding: 0;
  }

  .service-card p {
    min-height: 0;
  }

  .wide-card,
  .split,
  .message {
    grid-template-columns: 1fr;
  }

  .wide-card {
    padding: 30px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 78px;
    padding: 14px 18px;
  }

  .brand__name {
    font-size: 1.08rem;
  }

  .brand__tagline {
    font-size: 0.72rem;
  }

  .contact-button {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero__image {
    background:
      linear-gradient(180deg, rgba(250, 248, 242, 0.96) 0%, rgba(250, 248, 242, 0.72) 38%, rgba(250, 248, 242, 0.04) 100%),
      url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=86") center / cover;
  }

  .hero__content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 68px;
  }

  .primary-link {
    width: 100%;
    min-height: 62px;
    padding: 0 20px;
  }

  .news {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 22px;
  }

  .section {
    width: min(100% - 36px, 1320px);
  }

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

  .wide-card {
    gap: 24px;
    margin-top: 52px;
    padding: 22px;
  }

  .message__photo {
    min-height: 360px;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
