:root {
  --ink: #24211e;
  --muted: #716c63;
  --olive: #858e52;
  --olive-dark: #747d45;
  --orange: #cb7c31;
  --warm-white: #fbfaf7;
  --line: #e9e6df;
  --header-h: 113px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(570px, 2.2fr) minmax(280px, 1fr) 114px 114px;
  align-items: stretch;
  background: rgba(255,255,255,.98);
  position: relative;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.brand {
  display: flex;
  align-items: center;
  padding: 17px 25px 14px 39px;
  min-width: 0;
}
.brand-mark { width: 55px; color: #bd7330; flex: 0 0 auto; }
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; stroke-linejoin: miter; }
.brand-copy { display: flex; flex-direction: column; margin-left: 10px; min-width: 0; }
.brand-tagline { font-size: 12px; letter-spacing: .09em; white-space: nowrap; }
.brand-name { font-size: 30px; letter-spacing: .08em; line-height: 1.3; white-space: nowrap; }

.global-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  white-space: nowrap;
}
.global-nav a {
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 17px;
  position: relative;
}
.global-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 13px;
  background: #a9a49b;
  transform: translateY(-50%);
}
.global-nav a:hover { color: var(--olive-dark); }

.header-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 20px 8px 6px;
  white-space: nowrap;
}
.contact-label { font-size: 12px; letter-spacing: .06em; }
.phone { font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.28; letter-spacing: .02em; }
.phone span { color: var(--olive-dark); font-size: 15px; vertical-align: middle; }
.contact-hours { font-size: 11px; letter-spacing: .02em; }
.header-cta {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  transition: filter .2s ease;
}
.header-cta:hover { filter: brightness(.92); }
.header-cta svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linejoin: round; }
.header-cta--olive { background: linear-gradient(135deg, #788047, #989d63); }
.header-cta--orange { background: linear-gradient(135deg, #c57329, #dc9349); }
.menu-button { display: none; }

.hero {
  position: relative;
  height: 572px;
  overflow: hidden;
  background: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 29.45%;
  background-image: url("assets/hero-house.jpg");
  background-size: cover;
  background-position: center;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 14%;
  background: linear-gradient(90deg, rgba(255,255,255,.74), rgba(255,255,255,0));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 35%;
  min-width: 500px;
  height: 100%;
  padding: 113px 0 0 6.75%;
  background: linear-gradient(90deg, #fff 0%, #fff 85%, rgba(255,255,255,0) 100%);
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 3.05vw, 48px);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: .15em;
  white-space: nowrap;
}
.hero p {
  margin: 22px 0 29px;
  font-size: 17px;
  line-height: 2;
  letter-spacing: .08em;
}
.primary-button {
  width: 238px;
  height: 60px;
  background: linear-gradient(135deg, #7d864c, #929b5d);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  box-shadow: 0 8px 18px rgba(89, 97, 48, .12);
  transition: transform .2s ease, filter .2s ease;
}
.primary-button:hover { transform: translateY(-2px); filter: brightness(.96); }
.primary-button span { font-size: 21px; font-weight: 400; }

.features {
  min-height: 170px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 6.8%;
  background: #fff;
  border-bottom: 1px solid #f2f0eb;
}
.feature {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.feature-icon { width: 65px; height: 65px; fill: none; stroke: var(--olive); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: .07em; white-space: nowrap; }
.feature p { margin: 0; font-size: 12px; line-height: 2; letter-spacing: .03em; }

.news {
  min-height: 170px;
  display: grid;
  grid-template-columns: 265px minmax(520px, 1fr) 385px;
  align-items: center;
  gap: 28px;
  padding: 30px 7.1% 28px;
  background: #fff;
}
.news-heading-block h2 { margin: 0 0 26px; font-size: 18px; font-weight: 500; letter-spacing: .1em; }
.news-heading-block a { color: var(--olive-dark); font-size: 13px; letter-spacing: .1em; }
.news-heading-block a span { margin-left: 10px; }
.news-list { display: grid; gap: 17px; }
.news-list a { display: grid; grid-template-columns: 108px 1fr; gap: 0; font-size: 13px; letter-spacing: .02em; }
.news-list a:hover span { color: var(--olive-dark); }
.news-list time { font-family: Georgia, "Times New Roman", serif; color: #4e4b47; }
.document-card {
  min-height: 120px;
  background: #f3f0eb;
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
  padding: 8px 15px 8px 9px;
  gap: 10px;
}
.document-card img { width: 145px; height: 104px; object-fit: cover; object-position: center; }
.document-card p { margin: 0 0 4px; font-size: 11px; letter-spacing: .08em; }
.document-card h2 { margin: 0 0 9px; font-size: 17px; font-weight: 500; letter-spacing: .09em; white-space: nowrap; }
.document-card a {
  min-height: 34px;
  background: var(--olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
}

.below-fold {
  min-height: 260px;
  background: #f6f3ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 9%;
}
.below-fold .eyebrow { color: var(--olive-dark); letter-spacing: .25em; font-size: 12px; }
.below-fold h2 { font-size: 32px; font-weight: 400; letter-spacing: .08em; margin: 12px 0; }
.below-fold p { line-height: 2; }
.below-fold > a { border-bottom: 1px solid var(--olive); padding: 12px 0; color: var(--olive-dark); }
.site-footer { background: #25251f; color: #eee; text-align: center; padding: 45px 20px; font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif; }
.footer-brand { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: .12em; }
.site-footer p { font-size: 12px; margin: 14px 0; color: #c8c7c0; }
.site-footer small { color: #8d8d86; }

@media (max-width: 1280px) {
  :root { --header-h: 96px; }
  .site-header { grid-template-columns: 270px 1fr 245px 94px 94px; }
  .brand { padding-left: 22px; }
  .brand-mark { width: 48px; }
  .brand-name { font-size: 25px; }
  .global-nav a { padding: 8px 10px; font-size: 12px; }
  .phone { font-size: 21px; }
  .header-cta { font-size: 13px; }
  .hero { height: 540px; }
  .hero-content { padding-top: 105px; min-width: 450px; }
  .features { padding-inline: 3.5%; }
  .feature { grid-template-columns: 56px 1fr; gap: 10px; }
  .feature-icon { width: 50px; }
  .feature h2 { font-size: 15px; }
  .feature p { font-size: 11px; }
  .news { grid-template-columns: 235px 1fr 340px; padding-inline: 4.5%; }
  .document-card { grid-template-columns: 115px 1fr; }
  .document-card img { width: 115px; }
  .document-card h2 { font-size: 14px; }
}

@media (max-width: 1020px) {
  .site-header {
    height: 78px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    position: sticky;
    top: 0;
  }
  .brand { padding: 0; margin-right: auto; }
  .brand-mark { width: 42px; }
  .brand-tagline { font-size: 9px; }
  .brand-name { font-size: 22px; }
  .menu-button {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 22;
  }
  .menu-button span:not(.sr-only) { display: block; width: 26px; height: 1px; background: #302d29; transition: .25s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .global-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: rgba(255,255,255,.98);
    display: grid;
    padding: 24px 26px 30px;
    transform: translateY(-125%);
    transition: transform .28s ease;
    box-shadow: 0 18px 30px rgba(0,0,0,.08);
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .global-nav a + a::before { display: none; }
  .header-contact, .header-cta { display: none; }

  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-photo { position: relative; inset: auto; height: 57vw; min-height: 350px; order: 1; background-position: center; }
  .hero-photo::before { display: none; }
  .hero-content {
    order: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 50px 8% 58px;
    background: #fff;
  }
  .hero h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.55; white-space: normal; }
  .hero p { font-size: 16px; }
  .features { grid-template-columns: 1fr 1fr; gap: 0; padding: 22px 6%; }
  .feature { min-height: 125px; padding: 18px 10px; }
  .news { grid-template-columns: 1fr; gap: 26px; padding: 45px 7%; }
  .news-heading-block { display: flex; justify-content: space-between; align-items: center; }
  .news-heading-block h2 { margin: 0; }
  .document-card { max-width: 480px; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding-inline: 14px; }
  .brand-mark { width: 36px; }
  .brand-copy { margin-left: 7px; }
  .brand-tagline { display: none; }
  .brand-name { font-size: 20px; }
  .global-nav { inset: 68px 0 auto 0; }
  .hero-photo { min-height: 280px; height: 66vw; background-position: 58% center; }
  .hero-content { padding: 38px 7% 45px; }
  .hero h1 { font-size: 31px; letter-spacing: .1em; }
  .hero p { font-size: 14px; margin: 18px 0 25px; }
  .primary-button { width: 220px; }
  .features { grid-template-columns: 1fr; padding: 8px 7%; }
  .feature { min-height: 114px; border-bottom: 1px solid var(--line); grid-template-columns: 64px 1fr; }
  .feature:last-child { border-bottom: 0; }
  .feature-icon { width: 52px; }
  .feature h2 { font-size: 16px; }
  .feature p { font-size: 11px; }
  .news { padding: 38px 7%; }
  .news-heading-block { align-items: flex-end; gap: 15px; }
  .news-heading-block h2 { font-size: 17px; }
  .news-list a { grid-template-columns: 1fr; gap: 5px; padding-bottom: 15px; border-bottom: 1px solid var(--line); line-height: 1.7; }
  .document-card { grid-template-columns: 105px 1fr; padding: 8px; }
  .document-card img { width: 105px; height: 94px; }
  .document-card p { font-size: 9px; }
  .document-card h2 { font-size: 13px; white-space: normal; }
  .document-card a { font-size: 10px; }
  .below-fold { align-items: flex-start; flex-direction: column; gap: 22px; padding: 48px 7%; }
  .below-fold h2 { font-size: 26px; }
}

/* ===== 施工事例ページ ===== */
.global-nav a[aria-current="page"] { color: var(--olive-dark); font-weight: 700; }
.page-head { text-align: center; padding: 58px 7% 30px; }
.page-head-en { color: var(--olive-dark); letter-spacing: .32em; font-size: 13px; font-weight: 700; margin: 0; }
.page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: .12em; margin: 8px 0 16px; }
.page-head-lead { color: #4a463f; font-size: 15px; line-height: 1.95; margin: 0; }
.works-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0 7% 36px; }
.works-tabs a { padding: 9px 24px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: #4a463f; transition: .2s ease; }
.works-tabs a:hover { border-color: var(--olive); color: var(--olive-dark); }
.works-tabs a.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1060px; margin: 0 auto; padding: 0 7% 24px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(60,50,35,.12); }
.work-thumb { display: block; height: 300px; background-size: cover; background-position: center; background-color: #ece7de; }
.work-body { padding: 18px 22px 24px; }
.work-cat { display: inline-block; background: var(--olive); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 13px; border-radius: 3px; letter-spacing: .06em; }
.work-cat.orange { background: var(--orange); }
.work-body h2 { font-size: 19px; font-weight: 700; letter-spacing: .05em; line-height: 1.5; margin: 13px 0 9px; }
.work-body p { font-size: 14px; line-height: 1.85; color: #4a463f; margin: 0 0 15px; }
.work-more { color: var(--olive-dark); font-size: 14px; font-weight: 700; }
.work-more span { margin-left: 8px; }
.works-cta { text-align: center; padding: 20px 7% 74px; }
.works-cta > p { font-size: 16px; line-height: 1.9; margin: 0 0 22px; }
.works-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.ghost-button { display: inline-flex; align-items: center; gap: 20px; min-width: 200px; height: 58px; justify-content: center; border: 1.5px solid var(--olive); border-radius: 4px; color: var(--olive-dark); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.ghost-button span { font-size: 19px; }
@media (max-width: 1020px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .page-head { padding-top: 40px; }
  .page-head h1 { font-size: 28px; }
  .works-grid { grid-template-columns: 1fr; }
  .works-cta-buttons { flex-direction: column; align-items: center; }
}
