@charset "utf-8";
.case36-detail {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

.case36-detail *,
.case36-detail *::before,
.case36-detail *::after {
  box-sizing: border-box;
}

.case36-detail p {
  margin: 0 0 1.4em;
}

.case36-detail h2 {
  margin: 3em 0 1.2em;
  padding: 0 0 0.55em 0.75em;
  border-bottom: 1px solid #d9ded8;
  border-left: 5px solid #4f774e;
  background: #fff;
  color: #2f3b31;
  font-size: 26px;
  line-height: 1.45;
}

.case36-detail h3 {
  margin: 2.2em 0 1em;
  padding: 0.7em 0.9em;
  border-radius: 4px;
  background: #f1f5f0;
  color: #334b36;
  font-size: 21px;
  line-height: 1.5;
}

.case36-detail strong {
  color: #2f5334;
}

.case36-overview {
  margin: 1.5em 0 2.5em;
  padding: 0.6em 1.6em;
  border: 1px solid #d8e0d6;
  border-radius: 6px;
  background: #fafcf9;
}

.case36-overview dl,
.case36-overview dd {
  margin: 0;
}

.case36-overview dl > div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 1em;
  padding: 0.75em 0;
  border-bottom: 1px solid #e4e9e2;
}

.case36-overview dl > div:last-child {
  border-bottom: 0;
}

.case36-overview dt {
  color: #334b36;
  font-weight: 700;
}

.case36-label {
  display: inline-block;
  margin: 2em 0 1em;
  padding: 0.35em 1em;
  border-radius: 999px;
  background: #4f774e;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.case36-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 2em;
}

.case36-gallery--single {
  grid-template-columns: 1fr;
}

.case36-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 5px;
  background: #f3f3f3;
}

.case36-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case36-gallery figcaption {
  padding: 0.7em 0.9em;
  color: #666;
  font-size: 13px;
  text-align: center;
}

.case36-note {
  margin: 2em 0;
  padding: 1.2em 1.4em;
  border-left: 4px solid #759176;
  background: #f7f9f6;
}

.case36-note p:last-child {
  margin-bottom: 0;
}

.case36-contact {
  margin: 3em 0 1em;
  text-align: center;
}

.case36-contact__button {
  display: inline-flex;
  width: min(100%, 420px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  padding: 1em 2em;
  border-radius: 6px;
  background: #4f774e;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.case36-contact__button:hover {
  color: #fff;
  opacity: 0.85;
}

.case36-contact__button span {
  font-size: 13px;
}

.case36-contact__button strong {
  color: #fff;
  font-size: 18px;
}

@media (max-width: 640px) {
  .case36-detail {
    font-size: 15px;
  }

  .case36-detail h2 {
    font-size: 22px;
  }

  .case36-detail h3 {
    font-size: 19px;
  }

  .case36-overview {
    padding: 0.5em 1.2em;
  }

  .case36-overview dl > div {
    grid-template-columns: 1fr;
    gap: 0.1em;
  }

  .case36-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
