@charset "UTF-8";

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #221713;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  line-height: 1.8;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin: 0;
  line-height: 1;
}

.logo img {
  width: 180px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.fv {
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.92) 45%,
      rgba(255,255,255,0.4) 100%
    ),
    url("../img/main_img.png") center center / cover no-repeat;
}

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

.fv-label {
  margin: 0 0 18px;
  color: #7b6259;
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.fv h2 {
  margin: 0;
  font-size: clamp(25px, 5vw, 58px);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.fv-text {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: 17px;
}

.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 34px;
  color: #fff;
  background: #221713;
  border-radius: 999px;
  font-weight: 700;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.75;
}

.section {
  padding: 100px 0;
}

.section-gray {
  background: #f7f5f3;
}

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

.section-title {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.section-lead {
  margin: 0 0 42px;
  color: #6b5a54;
  font-size: 17px;
}

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

.card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #eadfda;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(34, 23, 19, 0.05);
}

.text-block {
  max-width: 860px;
}

.text-block p {
  margin: 0 0 24px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.company-list {
  margin: 0;
  border-top: 1px solid #e5ddd9;
}

.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #e5ddd9;
}

.company-list dt,
.company-list dd {
  padding: 22px 0;
}

.company-list dt {
  font-weight: 700;
}

.company-list dd {
  margin: 0;
}

.contact {
  text-align: center;
  background: #221713;
  color: #fff;
}

.contact .section-lead {
  color: #d8cec9;
}

.contact-mail {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
}

.footer {
  padding: 28px 20px;
  text-align: center;
  color: #fff;
  background: #160f0c;
}

.footer small {
  font-size: 12px;
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }

  .logo img {
    width: 140px;
  }

  .nav {
    display: none;
  }

.fv {
  min-height: 620px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.88) 100%
    ),
    url("../img/main_img.png") center center / cover no-repeat;
}

  .fv-text {
    font-size: 15px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .section-lead {
    font-size: 15px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .company-list div {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .company-list dt,
  .company-list dd {
    padding: 0;
  }

  .company-list dt {
    margin-bottom: 4px;
  }

  .contact-mail {
    font-size: 22px;
  }
}