* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  color: #243228;
  background: #f7f5ef;
  line-height: 1.85;
  font-size: 17px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(109, 88, 59, 0.12);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-en {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2f5f43;
}

.logo-ja {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #8a6238;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 16px;
  font-weight: 700;
}

.nav-button,
.primary-button {
  background: #2f6b48;
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(47, 107, 72, 0.22);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.8);
  color: #2f6b48;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(47, 107, 72, 0.24);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #2f5f43;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(244, 239, 231, 0.90) 0%, rgba(244, 239, 231, 0.68) 42%, rgba(244, 239, 231, 0.18) 100%),
    url("./assets/hero-renovation.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #f7f5ef);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 52px;
  align-items: center;
  padding: 88px 0;
}

.hero-copy {
  max-width: 700px;
  padding: 34px 36px;
  border-radius: 30px;
  background: rgba(255, 252, 246, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 28px 70px rgba(78, 61, 35, 0.16);
  backdrop-filter: blur(10px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(138, 98, 56, 0.18);
  color: #735234;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: #2f6b48;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.3;
  margin-bottom: 24px;
}


.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-text {
  max-width: 640px;
  font-size: 18px;
  color: #3f4b40;
}

.hero-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-points div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(138, 98, 56, 0.14);
}

.hero-points strong {
  display: block;
  margin-bottom: 4px;
  color: #2f6b48;
  font-size: 14px;
}

.hero-points span {
  display: block;
  color: #5a645a;
  font-size: 14px;
  line-height: 1.7;
}

.hero-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(250,246,237,0.88));
  border: 1px solid rgba(136, 102, 60, 0.15);
  box-shadow: 0 24px 60px rgba(55, 44, 28, 0.18);
  border-radius: 28px;
  padding: 34px;
  backdrop-filter: blur(8px);
}

.card-label {
  color: #8a6238;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 13px;
}

.hero-card-note {
  margin-top: 18px;
  color: #5d645a;
  font-size: 14px;
}

.hero-card ul,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-card li,
.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}

.hero-card li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2f6b48;
  font-weight: 900;
}

.section {
  padding: 92px 0;
}

.light {
  background:
    linear-gradient(180deg, rgba(237, 242, 232, 0.7), rgba(250, 247, 239, 0.9));
}

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

.card,
.flow-item,
.company-table,
.contact-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(117, 95, 61, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(67, 58, 38, 0.08);
}

.card {
  padding: 30px;
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #dfead5, #f3e1c2);
  color: #2f6b48;
  font-weight: 900;
  margin-bottom: 18px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}


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

.flow-item {
  padding: 26px;
}

.flow-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2f6b48;
  color: white;
  font-weight: 900;
  margin-bottom: 16px;
}

.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(117, 95, 61, 0.13);
  text-align: left;
}

.company-table th {
  width: 170px;
  color: #2f6b48;
  background: rgba(230, 238, 224, 0.8);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.contact {
  background: #f1eee5;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 42px;
}

.tel {
  font-size: 27px;
  font-weight: 900;
  color: #2f6b48;
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea,
button {
  width: 100%;
  font: inherit;
  border-radius: 14px;
  border: 1px solid rgba(117, 95, 61, 0.18);
  padding: 14px 16px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  border: 0;
  background: #2f6b48;
  color: white;
  font-weight: 800;
  cursor: pointer;
}


.trust-strip {
  margin-top: -26px;
  position: relative;
  z-index: 2;
}

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

.trust-item {
  padding: 18px 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(117, 95, 61, 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(67, 58, 38, 0.08);
}

.trust-item strong {
  display: block;
  color: #2f6b48;
  font-size: 16px;
  margin-bottom: 6px;
}

.trust-item span {
  display: block;
  color: #5d645a;
  font-size: 14px;
  line-height: 1.7;
}

.showcase {
  padding-top: 74px;
}

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

.showcase-card {
  min-height: 280px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(117,95,61,0.12);
  box-shadow: 0 18px 46px rgba(67, 58, 38, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.88));
}

.showcase-card > * {
  position: relative;
  z-index: 1;
}

.showcase-a {
  background: linear-gradient(135deg, #e7efe1, #f7eee0);
}

.showcase-b {
  background: linear-gradient(135deg, #edf1e4, #e2e7d7);
}

.showcase-c {
  background: linear-gradient(135deg, #f4ebdd, #e8efe5);
}

.showcase-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  color: #735234;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.showcase-card h3 {
  margin-bottom: 10px;
}

.works-layout {
  align-items: stretch;
}

.works-image-panel {
  min-height: 360px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(117,95,61,0.12);
  box-shadow: 0 18px 46px rgba(67, 58, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.24)),
    url("./assets/hero-renovation.png");
  background-size: cover;
  background-position: center;
}

.works-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244,239,231,0.05), rgba(244,239,231,0.18));
}

.works-image-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #6f5234;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(67, 58, 38, 0.12);
}

.strengths-section {
  background: linear-gradient(180deg, rgba(248,245,238,0.95), rgba(240,242,234,0.9));
}

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

.strength-card {
  padding: 28px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(117,95,61,0.12);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(67, 58, 38, 0.08);
}

.strength-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #dfead5, #f3e1c2);
  color: #2f6b48;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-mini-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(117,95,61,0.12);
  color: #5d645a;
}

.contact-mini-box strong {
  color: #2f6b48;
}

.card p,
.flow-item p,
.strength-card p,
.showcase-card p,
.company-table td,
.company-table th,
.contact-box p,
.contact-mini-box,
input,
textarea,
button {
  font-size: 16px;
}

.card h3,
.flow-item h3,
.showcase-card h3,
.strength-card h3,
.hero-card h2 {
  font-size: 22px;
}

.hero-card li,
.check-list li,
.hero-card-note {
  font-size: 16px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    border-bottom: 1px solid rgba(109, 88, 59, 0.12);
  }

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

  .menu-button {
    display: block;
  }

  .hero-grid,
  .two-column,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 26px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .works-image-panel {
    min-height: 300px;
  }

  .cards,
  .flow,
  .showcase-grid,
  .trust-grid,
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .logo-en {
    font-size: 20px;
  }

  .logo-ja {
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .section {
    padding: 66px 0;
  }

  .contact-box {
    padding: 26px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
}
