/* コンテナ */
.post-detail-hero-container {
  width: 100%;
  height: auto;
  padding: 4rem 3rem 4rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.post-detail-hero-content {
  width: 80%;
  padding: 0;
  margin: 0;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

/* 記事内のタグ */
.post-detail-hero-tags {
  margin-top: 0;
}

.tag-large {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0.5rem;
  display: inline-block;
}

/* 記事内のヒーローセクション */
.post-detail-hero-title {
  font-size: 3rem;
  font-weight: var(--text-bold);
  margin-top: 1rem;
}

.post-detail-hero-desc {
  font-size: 1.3rem;
  margin-top: 1rem;
}

.post-detail-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-secondary);
  display: block;
  margin-top: 2rem;
}

.post-detail-content-container {
  width: 90%;
  padding: 2rem 0 6rem 0;
  box-sizing: border-box;
  margin: 0 auto;
}

.post-detail-content {
  width: 60%;
  padding: 0;
  margin: 0 auto;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  box-sizing: border-box;
}

/* 記事内のテキスト */
.post-detail-content h1 {
  font-size: 3rem;
  font-weight: var(--text-bold);
  margin: 1rem 0;
}

.post-detail-content h2 {
  font-size: 1.6rem;
  font-weight: var(--text-bold);
  margin: 2rem 0 0 0;
}

.post-detail-content h3 {
  font-size: 1.2rem;
  font-weight: var(--text-bold);
  margin: 0.5rem 0;
}

.post-detail-content p {
  font-size: 1.15rem;
  margin: 1rem 0;
}

.post-detail-content img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-secondary);
  margin: 2rem 0;
}

.post-detail-content ul {
  font-size: 1.2rem;
  margin: 1rem 0 1rem 0;
  padding: 0 0 0 2rem;
}

/* シェアボタン */
.share-link-text {
  background-color: var(--color-bg-primary);
  color: var(--color-black);
  border: 2px solid #222;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: var(--text-normal);
  margin-top: 2rem;
  text-align: center;
  cursor: pointer;
}

.share-link-text:hover {
  opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .post-detail-hero-container {
    padding: 4rem 1rem;
  }
  .post-detail-hero-content {
    width: 100%;
  }
  .post-detail-content {
    width: 100%;
  }
  .post-detail-content h1 {
    font-size: 1.5rem;
  }
  .post-detail-content h2 {
    font-size: 1.2rem;
  }
  .post-detail-content h3 {
    font-size: 1.1rem;
  }
  .post-detail-content p {
    font-size: 1rem;
  }
  .post-detail-content ul {
    font-size: 1rem;
  }
  .post-detail-content img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
  }
  .post-detail-hero-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin-top: 2rem;
  }
  .post-detail-hero-title {
    font-size: 2rem;
    margin-top: 1rem;
  }
  .post-detail-hero-desc {
    font-size: 1rem;
    margin-top: 1rem;
  }
  .post-detail-hero-tags {
    margin-top: 0;
  }
  .tag-large {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
    display: inline-block;
  }
  .post-detail-hero-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin-top: 2rem;
  }
  .post-detail-content-container {
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .post-detail-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 0;
    margin: 0 auto;
    border-radius: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
}
