/* layout */

.c-content-box {
  padding-bottom: 30px;
}

.c-content-box._border-bottom {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.c-layout-2column-160 {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
}

.c-layout-2column-160 .__img img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  border: 1px solid #cfcfcf;
}

@media (max-width: 768px) {
  .c-layout-2column-160 {
    display: block;
  }

  .c-layout-2column-160 .__img {
    display: flex;
    justify-content: center;
    margin: 4px auto 20px;
  }
}



/* link button */

.c-box_btn_02 {
  width: 100%;
  margin: 0 auto 20px;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  list-style-type: none;
  gap: 10px 10px;
}

.c-box_btn_02 li {
  width: calc((100% - 20px) / 3);
  position: relative;
}

.c-box_btn_02 li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  border: 1px solid #ccc;
  font-size: 16px;
  line-height: 1.4;
}

.c-box_btn_02 li a span {
  width: calc(100% - 60px);
  padding: 0 10px;
}

.c-box_btn_02 li a img {
  width: auto;
  height: 60px;
  margin: 7px 25px 7px 0;
}

@media (max-width: 768px) {
  .c-box_btn_02 {
    display: block;
  }

  .c-box_btn_02 li {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* 見出し */

.fs-body-category .fs-c-heading--page, .fs-body-search .fs-c-heading--page {
  margin-bottom: 32px;
}

.c-title__h2-primary {
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  color: #3c3c3c;
  margin: 0 0 28px;
  padding: 4px 0 2px 5px;
  border-left: 8px solid #dd2c00;
}

.c-title__h3-primary {
  font-size: 18px;
  font-weight: bold;
  color: #dd2c00;
  margin: 0 0 20px;
}

.c-title__h4-primary {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 16px;
  line-height: 1;
}

.c-title__h5-primary {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 16px;
  line-height: 1;
}

/* テキスト */

.c-font-bold {
  font-weight: 700;
}

/* 特殊余白パターン */

.c-title__h2-primary:has(+ .c-box_btn_02) {
  margin-bottom: 16px;
}

/* hover */

.box_btn_02 li:hover {
  opacity: 0.7;
}

.box_btn_02 li:hover ::before {
  opacity: 0.7;
}

/* アコーディオン用CSS */
.accordion-title:has(> .c-title__h2-primary) {
  margin-bottom: 28px;
}

.accordion-title .c-title__h2-primary {
  padding: 4px 0 2px 5px;
  margin: 10px;
}

.accordion-title {
  border: 1px solid #cccccc;
}


.accordion-title {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.accordion-title:hover {
  opacity: 0.7;
}

.accordion-title:after {
  content: '';
  position: absolute;
  right: 20px;
  top: 44%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-left: 2px solid #3c3c3c;
  border-top: 2px solid #3c3c3c;
  transform: translateY(-50%) rotate(225deg);
  transition: transform 0.3s ease;
}

.accordion-title.active:after {
  transform: translateY(-50%) rotate(45deg);
  top: 56%;
}

/* @media (min-width: 769px) {
  .accordion-title:hover:after {
    transform: translateY(-50%) rotate(225deg);
    top: 44%;
  }
} */

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion-content.active {
  max-height: 2000px;
  /* 十分に大きな値 */
}

/* h3要素のアコーディオン対応 */
.c-title__h3-primary.accordion-title {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  border: 1px solid #cccccc;
  padding: 10px 20px;
  margin-bottom: 0;
}

.accordion-title:has(> .c-title__h3-primary) {
  margin-bottom: 24px;
}

.accordion-title .c-title__h3-primary {
  padding: 0;
  margin: 7px;
}

/* コンテンツ */

.c-text-primary {
  font-size: 14px;
  margin: 0 0 28px;
  line-height: 2.2rem;
}

.c-banner-area {
  margin-bottom: 26px;
}

.c-link-primary {
  margin-bottom: 20px;
  line-height: 1;
}

.c-layout-right {
  text-align: right;
}