/* single.css - 記事詳細ページ */
@charset "UTF-8";

.single-content {
  padding-top: 40px;
  padding-bottom: 80px;
}

.single-header {
  border-bottom: solid 2px #ebecf0;
  margin-bottom: 48px;
  padding-bottom: 32px;
  position: relative;
}
.single-header::after {
  content: "";
  width: 80px;
  height: 2px;
  background-color: #bfa7bc;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.single-date {
  font-size: 14px;
  margin-bottom: 8px;
}

.single-cats {
  margin-bottom: 16px;
}
.single-cat {
  background-color: #bfa7bc;
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin-right: 8px;
  padding: 2px 12px;
}

.single-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.5;
}

.single-body {
  line-height: 2;
  margin-bottom: 64px;
}
.single-body p { margin-bottom: 24px; }
.single-body img { max-width: 100%; margin-bottom: 16px; }

.single-nav {
  display: flex;
  justify-content: space-between;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  padding: 16px 0;
  margin-bottom: 40px;
  font-size: 14px;
}
.single-nav a { color: #707070; text-decoration: none; }
.single-nav a:hover { opacity: 0.7; }

.single-back {
  text-align: center;
}
.single-back a {
  color: #bfa7bc;
  font-size: 14px;
  text-decoration: none;
}
.single-back a:hover { opacity: 0.7; }

@media screen and (max-width: 767px) {
  .single-title { font-size: 22px; }
  .single-nav { flex-direction: column; gap: 12px; }
}
