:root {
  --ink: #111;
  --paper: #fff;
  --sub: #444;
  --line: 1px solid var(--ink);
  --hair: 1px solid #d6d6d6;
  --en: "Saira Semi Condensed", "Zen Kaku Gothic New", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Sans", sans-serif;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .06em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
h2, h3, dt { font-weight: 500; }
ul { list-style: none; }
.wrap { width: min(100% - 48px, 960px); margin-inline: auto; }

/* header */
.header {
  position: sticky; top: 0; z-index: 10;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: var(--paper);
  border-bottom: var(--hair);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 78px; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: 14px; }
.header nav a { text-decoration: none; white-space: nowrap; padding-block: 6px; border-bottom: 1px solid transparent; }
.header nav a:hover { border-bottom-color: var(--ink); }
.header nav .nav-contact { padding: 6px 18px; border: var(--line); }
.header nav .nav-contact:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero {
  min-height: calc(100svh - var(--header-h) - 80px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px 56px;
  text-align: center;
}
.hero h1 { width: min(78%, 360px); }
.hero-house { width: 100%; }
.hero-word { width: 46%; margin: 9% auto 0; }
.catch { margin-top: 72px; font-size: clamp(17px, 2vw, 20px); font-weight: 400; letter-spacing: .26em; word-break: keep-all; }
.place { margin-top: 12px; font-size: 12px; font-weight: 300; color: var(--sub); }

/* 屋根の垂木をイメージした細い線 */
.rafters {
  width: min(100% - 48px, 360px); height: 14px; margin-inline: auto;
  border-top: 1px solid var(--ink);
  background: repeating-linear-gradient(115deg, var(--ink) 0 1px, transparent 1px 14px);
}

.concept { padding-block: clamp(80px, 12vw, 140px); text-align: center; }
.concept-label { margin-top: 10px; font-size: 12px; }
.concept-title { margin-block: 56px 32px; font-size: clamp(23px, 3.2vw, 30px); font-weight: 400; line-height: 1.6; letter-spacing: .26em; }
.concept-text { font-size: clamp(14px, 1.7vw, 16px); line-height: 2.6; }
.concept span { display: inline-block; }

/* sections */
.section { padding-block: clamp(56px, 8vw, 96px); border-top: var(--hair); display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.en { font-family: var(--en); font-weight: 300; font-size: 26px; line-height: 1.1; letter-spacing: .34em; }
.heading h2 { margin-top: 10px; font-size: 12px; }

.materials li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 36px; align-items: center; padding-block: 32px; border-bottom: var(--hair); }
.materials li:first-child { padding-top: 0; }
.materials li:last-child { border-bottom: 0; padding-bottom: 0; }
.materials img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.maker { margin-bottom: 6px; font-family: var(--en); font-weight: 300; font-size: 17px; letter-spacing: .24em; }
.materials h3 { font-size: 16px; }
.materials h3 + p { font-size: 13px; color: var(--sub); }


.company > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-block: 18px; border-bottom: var(--hair); }
.company > div:first-child { padding-top: 0; }
.company dt { font-size: 13px; }
.company dd { font-size: 14px; }
.map { font-size: 13px; text-underline-offset: 4px; }
.map-embed { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 32px; border: 0; filter: grayscale(1); }

/* contact：外壁の縦格子をイメージ */
.contact {
  padding: clamp(40px, 8vw, 88px) 24px;
  background: repeating-linear-gradient(90deg, transparent 0 11px, #dcdcdc 11px 12px);
  border-block: var(--hair);
}
.contact-box { max-width: 560px; margin-inline: auto; padding: 56px 24px; background: var(--paper); border: var(--line); text-align: center; }
.contact-box .en { font-size: 22px; }
.contact-box h2 { margin-top: 16px; font-size: 15px; font-weight: 400; }
.who { margin-top: 8px; font-size: 13px; color: var(--sub); }
.who span { display: inline-block; }
.tel { display: inline-block; margin-top: 20px; font-family: var(--en); font-weight: 300; font-size: clamp(32px, 6vw, 44px); line-height: 1.2; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.fax { font-size: 13px; color: var(--sub); }
.mail { display: inline-block; margin-top: 28px; padding: 14px 36px; background: var(--ink); color: var(--paper); border: var(--line); text-decoration: none; font-size: 14px; }
.mail:hover { background: var(--paper); color: var(--ink); }
.sns { margin-top: 24px; font-size: 13px; }
.sns a, .footer-sns a { display: inline-block; padding-block: 10px; text-underline-offset: 4px; }
.map { display: inline-block; padding-block: 10px; }
.sns span, .footer-sns a { font-family: var(--en); letter-spacing: .16em; }
.footer-sns { font-size: 14px; }

.footer { padding: 64px 24px 32px; text-align: center; }
.footer img { width: 150px; margin-inline: auto; }
.footer p { margin-top: 24px; color: var(--sub); }

@media (max-width: 720px) {
  :root { --header-h: 88px; }
  .header { flex-direction: column; justify-content: center; gap: 0; padding-block: 2px 6px; }
  .brand { padding-block: 8px 4px; }
  .brand img { width: 64px; }
  .header nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 13px; }
  .header nav a { padding-block: 8px; }
  .header nav .nav-contact { padding: 6px 10px; }
  .map-embed { aspect-ratio: 4 / 3; }
  .hero { min-height: 0; padding-block: 56px 64px; }
  .catch { margin-top: 56px; font-size: 16px; letter-spacing: .16em; }
  .section { grid-template-columns: 1fr; }
  .en { font-size: 24px; }
  .materials li { grid-template-columns: 1fr; row-gap: 16px; }
  .maker { font-size: 15px; }
  .company > div { grid-template-columns: 1fr; gap: 4px; }
}
