/*######################################################################

		Contents

************************************************************************/

:root {
  --font-size-12: .75rem;
  --font-size-14: .875rem;
  --font-size-15: .9375rem;
  --font-size-16: 1rem;
  --font-size-18: 1.125rem;
  --font-size-20: 1.25rem;
  --font-size-23: 1.4375rem;
  --font-size-25: 1.5625rem;
  --font-size-30: 1.875rem;
  --font-size-35: 2.1875rem;
  --font-size-48: 3rem;
  --font-size-56: 3.5rem;
  --font-size-60: 3.75rem;
  --font-size-72: 4.5rem;
  --font-size-80: 5rem;
  --font-size-88: 5.5rem;
  --font-size-128: 8rem;
}

.index-header {
  margin-block: 70px 35px;
}

.index-header__title {
  font-size: var(--font-size-35);
  font-weight: 700;
  text-align: center;
}

.index-container {
  margin-inline: auto;
  padding-inline: 40px;
  max-width: 1280px;
}

@media not all and (min-width: 768px){
  .index-container {
    padding-inline: 20px;
  }
}

.index-contents__wrap {
  display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.index-contents__main {
  width: 1000px;
}

.index-contents__sidebar {
  width: 160px;
}

@media not all and (min-width: 768px){
  .index-contents__sidebar.__archive {
    display: none;
  }

  .index-contents__sidebar {
    margin-inline: auto;
    text-align: center;
  }
}

.index-contents__sidebar-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: var(--font-size-20);
}

.index-contents__sidebar-heading::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 7px;
  background-color: #3D4850;
}

.index-contents__sidebar-cat-list li {
  margin-bottom: 20px;
  margin-left: 10px;
}

.index-contents__sidebar-cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-18);
}

.index-contents__sidebar-cat-list a::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 4px;
  background-color: #979797;
}


/*
	archive
/////////////////////////////////////////////////////////*/

.index-contents__main-list {
  margin-bottom: 80px;
  border-bottom: 1px solid #979797;
}

.index-contents__main-item {
  border-top: 1px solid #979797;
}

.index-contents__main-item a {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  padding: 40px 120px 40px 20px;
}

@media (any-hover: hover) {
  .index-contents__main-item a:hover {
    text-decoration: none;
    background-color: #eee;
  }
}

.index-contents__main-item a:focus-visible {
  text-decoration: none;
  background-color: #eee;
}

@media not all and (min-width: 768px){
  .index-contents__main-item a {
    padding: 30px 70px 30px 10px;
  }
}

.index-contents__main-item a::after {
  content: '';
  position: absolute;
  top: 50px;
  right: 10px;
  width: 29px;
  height: 9px;
  background-image: url(./assets/images/icon/index-archve-icon-arrow.svg);
}

.index-contents__time {
  display: block;
  width: 160px;
  font-weight: 500;
}

.index-contents__text {
  width: calc(100% - 160px);
  font-weight: 700;
}

@media not all and (min-width: 768px){
  .index-contents__time {
    width: 120px;
  }

  .index-contents__text {
    width: calc(100% - 120px);
  }
}

.index-container .__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #9C9C9C;
  font-size: calc(--font-size-18);
}

.index-container .__cat::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 7px;
}

.index-container .__cat.kenzai-new::before {
  background-color: #D6463D;
}
.index-container .__cat.kenzai-news::before {
  background-color: #1A9FFF;
}
.index-container .__cat.kenzai-know::before {
  background-color: #FFE81A;
}
.index-container .__cat.products::before {
  background-color: #FF771A;
}
.index-container .__cat.sougo::before {
  background-color: #DFDEDE;
}
.index-container .__cat.kenzai::before {
  background-color: #419818;
}
.index-container .__cat.food::before {
  background-color: #0663A6;
}

.index-contents__main-item-title {
  font-size: var(--font-size-20);
  font-weight: 500;
}

@media not all and (min-width: 768px){
  h3.index-contents__main-item-title {
    margin-left: -120px;
  }
}

.pagenation {
  margin-bottom: 110px;
}

.pagenation ol {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
}

.pagenation .__action {
  padding: 10px;
  line-height: 1;
}

.pagenation a {
  display: block;
  padding: 10px;
  line-height: 1;
  transition: .3s ease;
}

.pagenation .__prev a .__text,
.pagenation .__next a .__text {
  display: block !important;
  position: absolute;
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  white-space: nowrap;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  contain: strict !important;
  opacity: 0 !important;
}

.pagenation .__prev a {
  width: 25px;
  height: 25px;
  background-image: url(./assets/images/icon/index-prev-icon.svg);
  background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
  border: 1px solid #3D4850;
}

.pagenation .__next a {
  width: 25px;
  height: 25px;
  background-image: url(./assets/images/icon/index-next-icon.svg);
  background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
  border: 1px solid #3D4850;
}

@media (any-hover: hover) {
  .pagenation .__prev a:hover {
    transform: translateX(-5px);
  }
}

.pagenation .__prev a:focus-visible {
  transform: translateX(-5px);
}

@media (any-hover: hover) {
  .pagenation .__next a:hover {
    transform: translateX(5px);
  }
}

.pagenation .__next a:focus-visible {
  transform: translateX(5px);
}


/*
	single
/////////////////////////////////////////////////////////*/

.index-single__header {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #979797;
}

.index-single__header .__cat {
  margin-bottom: 0;
  font-weight: 700;
}

.index-single__header .index-contents__time {
  color: #9C9C9C;
  font-size: var(--font-size-18);
  font-weight: 700;
}

.index-single__header h1 {
  margin-top: 10px;
  font-size: var(--font-size-25);
  font-weight: 500;
}

.index-single__main {
  margin-bottom: 100px;
}

@media not all and (min-width: 768px){
  .index-single__main {
    margin-bottom: 70px;
  }
}

.index-single__main p {
  margin-bottom: 40px;
}

.index-single__main img {
  display: inline-block;
  margin: 40px 20px;
  max-width: 100%;
}

@media not all and (min-width: 768px){
  .index-single__main img {
    margin: 10px 0;
  }
}

.index-contents__back {
  margin-bottom: 100px;
}

@media not all and (min-width: 768px){
  .index-contents__back {
    margin-inline: auto;
    margin-bottom: 70px;
    width: fit-content;
  }
}

.index-contents__back a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.index-contents__back a::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 14px;
  background-image: url(./assets/images/icon/index-contents-icon-back-arrow.svg);
  background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}