@charset "UTF-8";
.single__header {
  margin-bottom: 32px;
  border-bottom: 1px solid #eee;
  padding-bottom: 24px;
}

.single__date {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-bottom: 8px;
}

.single__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.single__taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: #f0f0f0;
  color: #555;
}

.tag {
  color: #999;
}

.single__thumb {
  margin-bottom: 42px;
}

.single__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single__body {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 60px;
}

.single__body h2 {
  font-size: 1.8rem;
}

.single__body p {
  font-weight: 400;
  margin-bottom: 60px;
}

.single__body p + p {
  margin-top: 1em;
}

.single__footer {
  margin-top: 40px;
  text-align: center;
}

.single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  border-bottom: 1px solid #000;
  padding-bottom: 4px;
}

.cmn__navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
}

.cmn__navigation a {
  font-size: 0.9rem;
}

.single-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.single {
  flex: 1 1 auto;
}

.single-sidebar {
  flex: 0 0 320px;
  max-width: 320px;
}

.single-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.single-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-sidebar__item + .single-sidebar__item {
  margin-top: 16px;
}

.single-sidebar__item a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.single-sidebar__thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.single-sidebar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-sidebar__thumb .no-thumb {
  font-size: 0.7rem;
  color: #999;
}

.single-sidebar__meta {
  flex: 1;
}

.single-sidebar__date {
  font-size: 0.75rem;
  color: #999;
  display: block;
  margin-bottom: 4px;
}

.single-sidebar__title {
  font-size: 0.85rem;
  line-height: 1.5;
}

.single-sidebar__none {
  font-size: 0.85rem;
  color: #888;
}

.single-sidebar__item a:hover .single-sidebar__title {
  text-decoration: underline;
}

.more-button-wrapper {
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .single-layout {
    flex-direction: column;
  }

  .single {
    width: 100%;
  }

  .single-sidebar {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .single-sidebar__item a {
    align-items: flex-start;
  }

  .single__title {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .case .single__title {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .single__body h2 {
    font-size: 1.5rem;
  }
  .single__body p {
    font-size: 0.9rem;
  }
}


/**********************************************/
/**********タグエリア***************************/
/**********************************************/
.case-tags {
  margin-top: 24px;
  margin-bottom: 40px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.case-tags__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.case-tags__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.case-tags__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.case-tags__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-tags__item a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background-color: #f5f5f5;
  color: #555;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.case-tags__item a:hover {
  background-color: #222;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .case-tags {
    margin-bottom: 30px;
  }
}


/**********************************************/
/**********タグエリア***************************/
/**********************************************/
.single_contact {
  max-width: 750px;
  background-color: var(--Lightgray);
  padding: 30px 60px;
  line-height: 1.9;
  text-align: center;
  margin: 30px auto 0;
  border-radius: 12px;
}

.single_contact p {
  margin-bottom: 20px;;
}

.single_contact .nav_contact_btn {
  position: static;
  width: auto;
  margin: 0;
}

.single_contact .nav_contact_btn a {
  background-color: var(--red);
  color: var(--White);
  font-weight: 500;
  font-size: 0.85rem;
  text-align: center;
  padding: 4px 40px 4px 24px;
  border-radius: 24px;
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  position: relative;
}

.single_contact .nav_contact_btn a::after {
  content: '';
  display: inline-block;
  width: 21px;
  height: 21px;
  background-image: url('../img/w_arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.single_contact .nav_contact_btn a:hover {
  opacity: 0.8;
}

.single_contact .nav_contact_btn a:hover::after {
  transform: translateY(-50%) translateX(4px);
}

@media screen and (max-width: 768px) {
  .single_contact {
    padding: 24px 16px;
  }
}