:root {
  --ink: #16231f;
  --green: #1e4b3e;
  --gold: #ba8a4a;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --red: #9d3e35;
  --line: #ded7c9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.85;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: auto;
}
.top {
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}
.header {
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ece7dc;
  background: rgba(255, 253, 248, 0.97);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo__mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand-logo__word {
  font-family: serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.15em;
  line-height: 1;
  white-space: nowrap;
}
.brand-logo__word > span {
  color: var(--red);
}
.brand-logo__word small {
  display: block;
  margin-top: 6px;
  color: #4f5d58;
  font-family: Georgia, serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.34em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
}
.nav a {
  text-decoration: none;
}
.tel {
  background: var(--green);
  color: #fff !important;
  padding: 10px 18px;
  font-weight: 700;
}
.page-head {
  background: var(--cream);
  padding: 72px 0 64px;
}
.crumb {
  font-size: 0.8rem;
  color: #68716d;
  margin-bottom: 22px;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.82rem;
}
.page-head h1 {
  font-family: serif;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 10px 0 0;
  max-width: 900px;
}
section {
  padding: 80px 0;
}
.section-title {
  font-family: serif;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  line-height: 1.5;
  margin: 0 0 30px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(20, 32, 28, 0.9);
  color: #fff;
  padding: 4px 9px;
  font-size: 0.72rem;
}
.card-body {
  padding: 24px;
}
.card-body h2 {
  font-family: serif;
  font-size: 1.35rem;
  line-height: 1.6;
  margin: 0 0 8px;
}
.meta {
  font-size: 0.88rem;
  color: #65706b;
}
.more {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.work-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.work-compare figure {
  margin: 0;
}
.work-compare img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.work-compare figcaption {
  font-size: 0.8rem;
  color: #6b746f;
  margin-top: 6px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fact {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-size: 0.78rem;
  color: #7a817d;
}
.fact dd {
  margin: 3px 0 0;
  font-weight: 700;
}
.story {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.story h2 {
  font-family: serif;
  font-size: 1.4rem;
  margin: 0;
}
.story p {
  margin-top: 0;
}
.spec {
  background: var(--cream);
  padding: 28px 32px;
}
.spec dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
}
.spec dt,
.spec dd {
  padding: 12px 0;
  border-bottom: 1px solid #d8d0c2;
}
.spec dd {
  margin: 0;
  font-weight: 700;
}
.cta {
  background: var(--green);
  color: #fff;
  text-align: center;
}
.cta h2 {
  font-family: serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin: 0 0 10px;
}
.buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  text-decoration: none;
  font-weight: 700;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-white {
  background: #fff;
  color: var(--green);
}
footer {
  background: #101a17;
  color: #ced5d1;
  padding: 42px 0 92px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.footer-brand {
  font-family: serif;
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
}
.footer-meta {
  text-align: right;
  font-size: 0.85rem;
}
.mobile-bar {
  display: none;
}
@media (max-width: 760px) {
  .top .wrap span:last-child,
  .nav a:not(.tel) {
    display: none;
  }
  .header {
    height: 65px;
  }
  .brand-logo {
    gap: 7px;
  }
  .brand-logo__mark {
    width: 40px;
    height: 40px;
  }
  .brand-logo__word {
    font-size: 1.22rem;
  }
  .brand-logo__word small {
    font-size: 0.45rem;
    margin-top: 4px;
  }
  .page-head {
    padding: 52px 0 45px;
  }
  .cards,
  .work-compare,
  .facts,
  .story {
    grid-template-columns: 1fr;
  }
  .story {
    gap: 12px;
  }
  .spec dl {
    grid-template-columns: 1fr;
  }
  .spec dd {
    padding-top: 0;
  }
  .footer-grid {
    display: block;
  }
  .footer-meta {
    text-align: left;
    margin-top: 20px;
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
  }
  .mobile-bar a {
    padding: 14px 8px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
  }
  .mobile-bar a:first-child {
    background: var(--green);
  }
  .mobile-bar a:last-child {
    background: var(--gold);
    color: var(--ink);
  }
  section {
    padding: 58px 0;
  }
  .wrap {
    width: min(100% - 28px, 1080px);
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery figcaption {
  font-size: 0.82rem;
  color: #68716d;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery .wide {
    grid-column: 1/-1;
  }
}
.post-compare img {
  object-position: center 24%;
}
.work-process {
  margin-top: 24px;
}
.work-process img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.work-process figcaption {
  font-size: 0.82rem;
  color: #68716d;
  margin-top: 6px;
}
.about-lead {
  font-size: 1.12rem;
  max-width: 800px;
}
.representative {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.representative-photo {
  margin: 0;
}
.representative-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 30%;
}
.representative-photo figcaption {
  font-size: 0.85rem;
  color: #68716d;
  margin-top: 10px;
}
.message h2 {
  font-family: serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.5;
  margin-top: 0;
}
.signature {
  margin-top: 28px;
  text-align: right;
}
.signature b {
  font-family: serif;
  font-size: 1.35rem;
  margin-left: 14px;
}
.philosophy {
  background: var(--cream);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.philosophy-card {
  background: #fff;
  padding: 30px;
  border-top: 3px solid var(--gold);
}
.philosophy-card b {
  font-family: serif;
  font-size: 1.35rem;
}
.principle {
  max-width: 900px;
  padding: 34px 36px;
  border-left: 4px solid var(--gold);
  background: #fff;
}
.principle h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}
.principle p {
  margin: 0;
  font-size: 1.08rem;
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}
.purpose-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}
.purpose-card h3 {
  margin: 4px 0 14px;
  font-family: serif;
  font-size: 1.5rem;
}
.values-label {
  margin-top: 54px;
}
.values-five {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.company-table {
  border-top: 1px solid var(--line);
}
.company-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.company-row dt {
  color: #68716d;
}
.company-row dd {
  margin: 0;
  font-weight: 700;
}
.qualifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qualifications li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.history {
  border-left: 2px solid var(--gold);
  padding-left: 30px;
}
.history p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .representative,
  .philosophy-grid,
  .purpose-grid,
  .values-five {
    grid-template-columns: 1fr;
  }
  .principle,
  .purpose-card,
  .philosophy-card {
    padding: 24px;
  }
  .representative {
    gap: 28px;
  }
  .company-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .qualifications {
    grid-template-columns: 1fr;
  }
}
.community-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 34px;
}
.community-grid figure {
  margin: 0;
}
.community-grid img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.community-grid figure:first-child img {
  object-position: center 38%;
}
.community-grid figcaption {
  font-size: 0.82rem;
  color: #68716d;
  margin-top: 7px;
}
@media (max-width: 760px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .community-grid img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .community-grid figure:first-child img {
    aspect-ratio: 4/5;
  }
}
