*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #2f332d;
  background: #f5f1e8;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #f5f1e8;
  --bg-soft: #ede6d8;
  --paper: #fffaf0;
  --mist: #d9d0be;
  --wood: #8b6f47;
  --wood-deep: #6f583a;
  --green: #2d4a3a;
  --green-soft: #dfe7dc;
  --ink: #2f332d;
  --muted: #696f60;
  --line: rgba(139, 111, 71, 0.26);
  --shadow: 0 24px 70px rgba(91, 76, 50, 0.14);
  --mincho: "Shippori Mincho", "Yu Mincho", "游明朝", serif;
  --container: 1160px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

span[style], h1 span, h2 span, h3 span, p span { display: inline-block; }

.section {
  padding: clamp(92px, 11vw, 152px) 0;
}

.section-kicker {
  color: var(--wood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--mincho);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--green);
  letter-spacing: 0.04em;
}

.section-copy {
  color: var(--muted);
  margin-top: 22px;
  font-size: 16px;
}

.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; max-width: 760px; margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1380px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  font-family: var(--mincho);
  font-size: 22px;
}

.logo-text { line-height: 1.25; }
.logo-jp {
  display: block;
  font-family: var(--mincho);
  font-size: 22px;
  color: var(--green);
  letter-spacing: 0.1em;
}
.logo-kana {
  display: block;
  color: var(--wood);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.nav-pc {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--green);
}

.nav-pc a { padding: 12px 0; }
.nav-pc a:hover { color: var(--wood-deep); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-tel {
  text-align: right;
  line-height: 1.35;
}
.tel-num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}
.tel-hours {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.header-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-btn,
.btn-primary {
  color: var(--paper);
  background: var(--green);
  border: 1px solid var(--green);
}

.btn-secondary {
  color: var(--green);
  background: rgba(255, 250, 240, 0.66);
  border: 1px solid var(--line);
}

.header-btn:hover,
.btn:hover { transform: translateY(-2px); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 118px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245,241,232,0.92) 0%, rgba(245,241,232,0.72) 35%, rgba(245,241,232,0.22) 72%),
    url("../images/hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(245,241,232,0), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--wood-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--mincho);
  color: var(--green);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-lead {
  color: var(--ink);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 44px;
}

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

.concept {
  background:
    radial-gradient(circle at 12% 20%, rgba(223,231,220,0.95), rgba(223,231,220,0) 34%),
    var(--bg);
}

.concept-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: min(8vw, 92px);
  align-items: start;
}

.concept-text {
  font-size: 17px;
  color: var(--ink);
}
.concept-text p + p { margin-top: 28px; }

.works { background: var(--paper); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.work-card.large { grid-column: span 2; }

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-body {
  padding: 24px;
}

.work-type {
  color: var(--wood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.work-body h3,
.strength-grid h3 {
  font-family: var(--mincho);
  color: var(--green);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 12px;
}

.work-body p:not(.work-type),
.strength-grid p,
.voice-text {
  color: var(--muted);
  font-size: 15px;
}

.strengths {
  background:
    linear-gradient(180deg, rgba(245,241,232,0.94), rgba(245,241,232,0.94)),
    url("../images/detail.png") center / cover fixed;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.strength-grid article {
  background: rgba(255,250,240,0.82);
  border: 1px solid var(--line);
  padding: 34px;
}

.strength-num {
  color: var(--wood);
  font-family: var(--mincho);
  font-size: 42px;
  line-height: 1;
  opacity: 0.75;
  margin-bottom: 22px;
}

.flow { background: var(--green-soft); }

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 190px;
  padding: 26px 18px;
  background: var(--paper);
  border: 1px solid rgba(45,74,58,0.18);
  counter-increment: flow;
}

.flow-list li::before {
  content: "0" counter(flow);
  color: var(--wood);
  font-family: var(--mincho);
  font-size: 28px;
}

.flow-list span {
  display: block;
  color: var(--green);
  font-family: var(--mincho);
  font-size: 22px;
  margin: 14px 0 8px;
}

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

.voice { background: var(--bg); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-grid article {
  background: var(--paper);
  border-left: 4px solid var(--wood);
  padding: 30px;
}
.voice-name {
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
}

.info { background: var(--paper); }
.info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: min(7vw, 76px);
}

.info-table {
  border-top: 1px solid var(--line);
}
.info-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-table dt {
  color: var(--green);
  font-weight: 700;
}
.info-table dd { color: var(--ink); }
.info-table a { text-decoration: underline; text-underline-offset: 4px; }

.access { background: var(--bg); }
.map {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.map iframe { display: block; }

.contact {
  background:
    linear-gradient(90deg, rgba(45,74,58,0.88), rgba(45,74,58,0.66)),
    url("../images/exterior.png") center / cover no-repeat;
  color: var(--paper);
}
.contact .section-kicker,
.contact .section-title,
.contact p { color: var(--paper); }
.contact-panel {
  max-width: 920px;
}
.contact-panel .btn-secondary {
  background: var(--paper);
}

.site-footer {
  padding: 58px 0 88px;
  color: var(--paper);
  background: var(--green);
}

.footer-inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-logo {
  font-family: var(--mincho);
  font-size: 25px;
  margin-bottom: 12px;
}
.footer-brand p:not(.footer-logo),
.footer-copy { color: rgba(255,250,240,0.78); font-size: 14px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 24px;
  font-size: 14px;
}
.footer-copy {
  width: min(var(--container), calc(100% - 48px));
  margin: 36px auto 0;
}
.footer-demo-note {
  width: min(var(--container), calc(100% - 48px));
  margin: 12px auto 0;
  color: rgba(255,250,240,0.55);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
}

.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav-pc, .header-tel { display: none; }
  .header-inner { min-height: 70px; padding: 0 20px; }
  .concept-grid,
  .info-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card.large { grid-column: span 1; }
  .strength-grid,
  .voice-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 78px 0; }
  .site-header { position: absolute; }
  .header-btn { display: none; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-jp { font-size: 19px; }
  .hero {
    min-height: 760px;
    align-items: end;
    padding: 110px 16px 74px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(245,241,232,0.16) 0%, rgba(245,241,232,0.62) 42%, rgba(245,241,232,0.96) 78%),
      url("../images/hero.png") center / cover no-repeat;
  }
  .hero-eyebrow { font-size: 13px; }
  .hero-title { font-size: clamp(36px, 12vw, 52px); }
  .hero-cta .btn,
  .contact-actions .btn { width: 100%; }
  .works-grid,
  .flow-list { grid-template-columns: 1fr; }
  .work-body,
  .strength-grid article,
  .voice-grid article { padding: 24px; }
  .flow-list li { min-height: auto; }
  .info-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-nav { justify-content: flex-start; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,250,240,0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 36px rgba(91,76,50,0.14);
  }
  .mobile-nav a {
    min-height: 58px;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
  }
  .mobile-nav a.primary {
    color: var(--paper);
    background: var(--green);
  }
}
