#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-image: url("../img/about_bg.png"); */
  background-size: cover;
  background-position: center;
}

#about-title {
  font-size: 36px;
  padding-top: 80px;
  color: #515151;
}

#about-subtitle {
  font-size: 22px;
  font-weight: 500;
  color: #515151;
  text-align: center;
  margin: 40px auto 20px;
  max-width: 800px;
  line-height: 1.7;
  position: relative;
  padding: 0 20px;
}

#about-subtitle::before,
#about-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #515151, transparent);
}

#about-subtitle::before {
  left: -80px;
}

#about-subtitle::after {
  right: -80px;
}

#about-content {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 80px 20px;
}

.about-item {
  width: 50%;
}

.about-item p {
  font-size: 18px;
  line-height: 1.8;
  color: #515151;
  margin-bottom: 30px;
  text-align: left;
}

.about-item btn {
  display: block;
  margin: 60px auto 0;
  width: fit-content;
}

.about-item iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
  border-radius: 10px;
}

/* タブレット表示用のメディアクエリ */
@media (max-width: 1024px) {
  #about-title {
    font-size: 32px;
  }
}

/* スマホ表示用のメディアクエリ */
@media (max-width: 768px) {
  #about-title {
    font-size: 24px;
  }
  
  #about-subtitle {
    font-size: 18px;
    margin: 30px auto 15px;
    padding: 0 10px;
  }
  
  #about-subtitle::before,
  #about-subtitle::after {
    display: none;
  }
  
  #about-content {
    flex-direction: column;
    padding: 60px 20px;
  }
  
  .about-item {
    width: 100%;
  }
  
  .about-video {
    order: 1;
    margin-bottom: 40px;
  }
  
  .about-text {
    order: 2;
  }
}
