:root {
  --font-body-family: "Noto Sans JP", serif;
}

body {
  background-color: #fefcf8;
  font-family: var(--font-body-family);
}

.hero-img {
  height: 100vh;
}

.spacing {
  letter-spacing: 1.5rem;
}

.small-spacing {
  letter-spacing: 0.5rem;
}

.bg-primary {
  background-color: #fbf7ea;
  color: #0e0c0c;
}

.footer-width {
  width: 76rem;
}

.image-section {
  position: relative;
  width: 100%;
  height: 400px;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .footer-width {
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .about-details {
    text-align: center;
  }

  .about-image-wrapper {
    margin: 0 auto;
  }
}

nav ul li a {
  position: relative;
  font-weight: medium;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #555;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 50%;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 25px;
  background-color: red;
  border-left: 3px solid red;
}

.sub-title {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  text-align: center;
  margin-top: 4px;
}

.line {
  height: 2px;
  width: 50px;
  background-color: red;
  margin: 10px auto 20px;
  
}

.image-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.number-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: black;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
}

.description-title {
  font-weight: bold;
  display: flex;
  align-items: center;
}

.description-title::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 2px;
  background-color: black;
  margin-right: 8px;
}

.description-text {
  margin-top: 4px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}
