/*
======================================
ブログ詳細ページ
======================================
*/

.blog-single-post {
  padding: 64px 20px 128px;
  color: #333333;
  line-height: 1.5;
  width: 100%;
}

.blog-single-post__wrapper{
  max-width: 1000px;
  margin: 0 auto;
}

.blog-single-post__date {
  display: block;
  font-size: var(--font-size-base);
  font-weight: bold;
  color: #333333;
  margin-bottom: 16px;
}

/* タイトル */
.blog-single-post__title {
  font-size: var(--font-size-3xl);
  font-weight: bold;
  margin-bottom: 48px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-main);
}

.blog-single-post__thumbnail-image{
  display: block;
  width: 100%;
  object-fit: contain;
  max-width: 1000px;
  height: 400px;
  margin: 0 auto 48px;
}

.blog-single-post__content {
  font-size: var(--font-size-base);
  margin-bottom: 48px;
}

/* 本文 */
.blog-single-post__content p {
  line-height: 1.6;
  word-break: break-word;
  margin-bottom: 24px;
}

.blog-single-post__content h2 {
  font-size: var(--font-size-xl);
  font-weight: bold;
  padding-bottom: 24px;
}

.blog-single-post__content h3 {
  font-size: var(--font-size-lg);
  font-weight: bold;
  padding-bottom: 24px;
}

.blog-single-post__content ul,
.blog-single-post__content ol {
  margin-bottom: 24px;
  padding-left: 2rem;
}

.blog-single-post__content ul {
  list-style: disc;
}

.blog-single-post__content ol {
  list-style: decimal;
}

.blog-single-post__categories {
  font-size: var(--font-size-base);
  color: #333333;
  margin-bottom: 48px;
}

.blog-single-post__category-link {
  text-decoration: none;
  color: white;
  background-color: var(--color-text);
  padding: 2px 16px;
  border-radius: 100px;
  font-size: var(--font-size-sm);
  transition: opacity 0.3s ease;
}

.blog-single-post__category-link:hover {
  opacity: 0.7;
}

.blog-single-post__back-link-wrapper {
  text-align: justify;
}


.blog-single-post__date,
.blog-single-post__title,
.blog-single-post__content,
.blog-single-post__categories,
.blog-single-post__back-link-wrapper {
  margin-right: auto;
  margin-left: auto;
  max-width: 1326px;
}

.blog-single-post__back-link {
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  border-radius: 100px;
  color: white;
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto;
  max-width: 320px;
  padding: 16px 0;
  text-align: center;
  transition: all .3s ease;
  width: 100%;
}

.blog-single-post__back-link:before {
  color: white;
  content: '\f104';
  display: inline-block;
  font-family: 'Font Awesome 6 Free';
  font-size: 16px;
  font-weight: 900;
  margin-right: 8px;
  transition: all .3s ease;
}

.blog-single-post__back-link:hover {
  background-color: white;
  border: 1px solid var(--color-main);
  color: var(--color-main);
}

.blog-single-post__back-link:hover:before {
  color: var(--color-main);
}

@media (max-width: 768px) {

  .blog-single-post__title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .blog-single-post__content {
    margin-bottom: 40px;
  }

  .blog-single-post__back-link-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 599px) {
  .blog-single-post__thumbnail-image{
    height: 280px;
  }
}

.blog-single-post.section--top {
  position: relative;
  z-index: 0;
}

.blog-single-post.section--top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 464px;
  background-image: url(../images/common/bg_top.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  z-index: -1;
}