@charset "UTF-8";


/**********************************************/
/**********2カラムレイアウト*******************/
/**********************************************/

.single_layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}


/**********************************************/
/**********メインコンテンツ********************/
/**********************************************/

.single_meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.single_date {
  font-size: 0.78rem;
  color: var(--Darkgray);
  letter-spacing: 0.06em;
}

.single_title {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--Green-d);
  margin-bottom: 0;
  line-height: 1.4;
}

.single_title::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--Yellow);
  margin-top: 20px;
  margin-bottom: 36px;
}

.single_thumb {
  margin-bottom: 40px;
}

.single_thumb img {
  width: 100%;
  height: auto;
  display: block;
}


/**********************************************/
/**********本文スタイル************************/
/**********************************************/

.single_content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--Green-d);
  margin-top: 52px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--Yellow);
}

.single_content h2:first-child {
  margin-top: 0;
}

.single_content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--Green-d);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--Yellow);
}

.single_content p {
  margin-bottom: 1.2em;
  line-height: 1.85;
}

.single_content blockquote {
  background-color: var(--Beige);
  border-left: 3px solid var(--Yellow);
  padding: 16px 20px;
  margin: 24px 0;
}

.single_content blockquote p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.single_content ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.single_content ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.single_content li {
  margin-bottom: 0.4em;
  line-height: 1.85;
}

.single_content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px 0;
}

.single_content a {
  color: var(--Green-d);
  text-decoration: underline;
}


/**********************************************/
/**********前後記事ナビ************************/
/**********************************************/

.post_nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 60px;
}

.post_nav_prev,
.post_nav_next {
  min-width: 0;
}

.post_nav_prev a,
.post_nav_next a {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  height: 95px;
  overflow: hidden;
  background-color: var(--Beige);
  padding: 0 24px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.post_nav_prev a:hover,
.post_nav_next a:hover {
  border-color: var(--Yellow);
  opacity: 0.75;
}

.post_nav_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--Yellow);
  flex-shrink: 0;
  margin: 0 14px;
}

.post_nav_arrow img {
  width: 7px;
  height: 12px;
  display: block;
}


.post_nav_inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.post_nav_next .post_nav_inner {
  text-align: right;
}

.post_nav_label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--Yellow);
  font-weight: 600;
}

.post_nav_title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--Black-l);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post_nav_empty {
  display: block;
}


/**********************************************/
/**********サイドバー**************************/
/**********************************************/

.single_sidebar {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.sidebar_block_head {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--Yellow);
}

.sidebar_block_head .label_row {
  margin-bottom: 0;
}

/* その他の記事 */
.sidebar_post_list {
  display: flex;
  flex-direction: column;
}

.sidebar_post_item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar_post_item:first-child {
  padding-top: 0;
}

.sidebar_post_item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sidebar_post_item a:hover {
  opacity: 0.7;
}

.sidebar_post_thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--Lightgray);
}

.sidebar_post_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar_post_info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}

.sidebar_post_info .cat_tag {
  align-self: flex-start;
  font-size: 0.625rem;
  padding: 0px 10px;
}

.sidebar_post_title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--Green-d);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar_post_date {
  font-size: 0.68rem;
  color: var(--Darkgray);
  letter-spacing: 0.06em;
}

/* カテゴリ */
.sidebar_cat_list {
  display: flex;
  flex-direction: column;
}

.sidebar_cat_item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar_cat_item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--Black-l);
}

.sidebar_cat_item a:hover {
  color: var(--Yellow);
  opacity: 1;
}

.sidebar_cat_count {
  font-size: 0.72rem;
  color: var(--Darkgray);
}


/**********************************************/
/**********レスポンシブ************************/
/**********************************************/

@media screen and (max-width: 768px) {

  .single_layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .single_sidebar {
    position: static;
  }

  .post_nav {
    grid-template-columns: 1fr;
  }

  .post_nav_prev a {
    padding: 0 12px 0 0;
  }

  .post_nav_next a {
    padding: 0 0 0 12px;
  }

  .single_title {
    font-size: 1.7rem;
  }

}
