/****************************************
 カテゴリページのメインCSS
 初回作成日：2025/12/09
 最終更新日：2025/12/12
 作成者：轟
 このファイルは編集禁止です。
 追加対応が必要な場合は、個別にcssを作成し対応をお願いいたします。
****************************************/

/* layout */



:root {
  --pb20: 20px;
  --mb20: 20px;
  --mb30: 30px;
  --border1: 1px solid #eeeeee;
  --border2: 1px solid #cfcfcf;
  --border3: 1px solid #cccccc;
  --bg-gray: #fafafa;
  --color-link: #004b91;
  --color-blue: #00367c;
  --color-blue-light: #91baf3;
  --color-yellow01: #f1aa00;
  --color-yellow02: #ffecbb;
  --color-yellow03: #fefcef;
}

.c-h1 {
  display: inline-block;
  border-bottom: 3px solid var(--color-blue);
}

@media screen and (max-width: 959px) {
  .c-h1 {
    padding: 0;
    margin-left: 1rem;
  }
}

.contents__intro {
  margin-bottom: var(--mb20);
}

.contents__lv2 {
  margin-bottom: var(--mb30);
  display: grid;
  counter-reset: h3-counter;
}

.contents__lv2:has(.accordion__wrapper) {
  margin-bottom: 0px;
}

.contents__lv3 {
  display: grid;

}

.contents__lv3:has(+ .contents__lv3) {
  margin-bottom: 10px;
}

.contents__lv3:last-child {
  margin-bottom: 0;
}


.contents__lv3 .c-box_btn_02 {
  margin-bottom: 0;
}

.contents__lv3 .c-box_btn_02 li {
  width: calc((100% - 10px) / 2);
  display: block;
  flex: none;
}


.contents__lv3 .c-box_btn_02 li a {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
}

.contents__lv3 .c-box_btn_02 li a img {
  width: 54px;
  height: 54px;
  margin-right: 10px;
}

.contents__lv3 .c-box_btn_02_content {
  width: calc(100% - 64px);
  text-align: left;
  padding-right: 20px;
}

.contents__lv3 .c-box_btn_02_content .__heading {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
}

.contents__lv3 .c-box_btn_02_content .__heading::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  color: var(--color-blue-light);
}

.contents__lv3 .c-box_btn_02_content .__text {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}

@media (max-width: 768px) {
  .contents__lv3 .c-box_btn_02 {
    display: block;
  }

  .contents__lv3 .c-box_btn_02 li {
    width: 100%;
    margin-bottom: 7px;
  }
}

.contents__lv4 {
  padding-bottom: var(--pb20);
  margin-bottom: var(--mb20);
  border-bottom: var(--border1);
  display: grid;

}

.contents__lv4:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.contents__lv5 {
  display: grid;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: var(--border1);
}

.contents__lv5:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contents__lv5 .c-link-primary a {
  color: var(--color-link);
}

.contents__lv5:last-child {
  margin-bottom: 0;
}

.c-content-box {
  padding-bottom: 30px;
}

.c-content-box._border-bottom {
  border-bottom: var(--border1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.c-layout-2column-160 {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
}

.c-layout-2column-vertical {}

.c-layout-2column-160 .__img {
  width: 160px;
  height: 160px;
  border: var(--border2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-layout-2column-160 .__img {
  width: 160px;
  height: 160px;
  border: var(--border2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-layout-2column-160 .__img img {
  width: 95%;
  height: auto;
  border: none;
}

@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 35px;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: stretch;
  list-style-type: none;
  gap: 10px 10px;
}

.c-box_btn_02 li {
  width: calc((100% - 30px) / 4);
  position: relative;
  display: flex;
  flex: 0 0 auto;
}

.c-box_btn_02 li a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  border: var(--border3);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  padding: 10px;
  width: 100%;
  height: 100%;
}

.c-box_btn_02 li a span {
  display: block;
  width: 85%;
  padding: 0;
  margin: 0 auto;
}

.c-box_btn_02 li a img {
  width: auto;
  height: 74px;
  margin: 0 auto;
}

.c-arrow__category-right-blue li::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-blue);
  bottom: 9px;
  right: 9px;
  transform: translateY(-50%);

}

.c-arrow__category-right-blue li::after {
  content: "";
  position: absolute;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 5px;
  height: 5px;
  border: 3px solid transparent;
  border-left: 4px solid #fff;
  bottom: 15px;
  right: 9px;
  transform: translateY(-50%) scale(1);
  transform-origin: center center;
  font-size: 0;
}

.contents__lv3 .c-arrow__category-right-blue li::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-blue);
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  margin-top: 0;
}

.contents__lv3 .c-arrow__category-right-blue li::after {
  content: "";
  position: absolute;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 5px;
  height: 5px;
  border: 3px solid transparent;
  border-left: 4px solid #fff;
  top: 50%;
  right: 9px;
  transform: translateY(-50%) scale(1);
  transform-origin: center center;
  margin-top: 0;
  font-size: 0;
}

@media (max-width: 959px) {
  .c-box_btn_02 {
    gap: 5px 5px;
  }

  .c-box_btn_02 li {
    width: calc((100% - 10px) / 2);
    margin-bottom: 0px;
  }

  .c-box_btn_02 li:last-child {
    margin-bottom: 0;
  }

  .c-box_btn_02 li a span {
    font-size: 15px;
  }
}

.c-layout-1column {
  margin-bottom: 20px;
  border-bottom: var(--border1);
  padding-bottom: 20px;
}

/* 見出し */

.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 var(--mb20);
}

.c-title__h2-primary span {
  display: flex;
  align-items: center;
  position: relative;
  margin: 10px 0;
  padding: 4px 0 2px 5px;
  border-left: 8px solid var(--color-blue);
  padding-left: 5px;
}

.c-title__h2-primary.__old span {
  border-left: 8px solid #f1aa00;
}

.c-title__h3-primary {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-blue);
  margin: 0 0 var(--mb20);
  position: relative;
  padding-left: 25px;
  counter-increment: h3-counter;
}

.c-title__h3-primary:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

/* ナンバーを表示する場合のクラス */
.c-title__h3-primary.--numbered:before {
  content: counter(h3-counter);
}

.c-title__h3-primary.__old {
  color: var(--color-yellow01);
}


.c-title__h4-primary {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 15px;
  line-height: 1;
}

.c-title__h5-primary-square {
  position: relative;
  padding-left: 20px;
}

.c-title__h5-primary-square::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 12px;
  background-color: #dd2c00;
}

.c-title__h5-primary-square.__old::before {
  background-color: var(--color-yellow01);
}

.c-title__primary-red {
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  position: relative;
  padding-left: 20px;
}

.c-title__primary-red::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 12px;
  background-color: var(--color-blue-light);
}

.c-title__primary-yellow {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 15px;
  line-height: 1;
  color: #000;
  position: relative;
  padding-left: 20px;
}

.c-title__primary-yellow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 12px;
  height: 12px;
  background-color: #f1aa00;
}

/* テキスト */

.c-font-bold {
  font-weight: 700;
}

.c-text-nomargin {
  margin: 0;
}

/* リスト */

.list__evaluate {
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .__text ul.list__evaluate {
    padding-inline-start: 21px;
  }
}

.list__evaluate li {
  list-style: none;
  position: relative;
  margin-bottom: 20px;
}

.list__evaluate li.list__evaluate--good:before {
  content: "";
  background-image: url("https://tools.itembox.design/item/common/img01/icon__double-circle-red.png");
  background-size: contain;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  position: absolute;
  top: 3px;
  left: -21px;
}

.list__evaluate li.list__evaluate--average:before {
  content: "";
  background-image: url("https://tools.itembox.design/item/common/img01/icon__triangle-red.png");
  background-size: contain;
  display: inline-block;
  width: 16px;
  height: 15px;
  margin-right: 10px;
  position: absolute;
  top: 3px;
  left: -21px;
}

/* 特殊余白パターン */

.c-title__h2-primary:has(+ .c-box_btn_02) {
  margin-bottom: 16px;
}

.contents__lv2.accordion__wrapper:has(+ .contents__lv2.accordion__wrapper) {
  margin-bottom: 0;
}

.contents__lv2.accordion__wrapper+.contents__lv2.accordion__wrapper {
  margin-top: 0;
}



/* hover */

.box_btn_02 li:hover {
  opacity: 0.7;
}

.box_btn_02 li:hover ::before {
  opacity: 0.7;
}

/* アコーディオン用CSS */

.accordion__wrapper {}

.accordion__item {}

.accordion__item.contents__lv3 {
  margin-bottom: 0;
}

.accordion-item:has(> .accordion-title.active) {
  gap: 28px;
}

/* .accordion-content .contents__lv4 {
  margin-bottom: 0;
} */



.accordion-title {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.accordion-title:hover {
  opacity: 0.7;
}

/* .accordion-title .c-title__h2-primary span:after {
  content: "+";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: bold;
  color: #00367c;
  line-height: 1;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
} */

.accordion-title .c-title__h2-primary {
  border: 1px solid #cccccc;
}

.accordion-title .c-title__h2-primary span {
  margin: 10px;
}

.accordion-title .c-title__h2-primary span .i_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 0px;
  margin-top: -7px;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: .2s;
}

.accordion-title .c-title__h2-primary span .i_box .one_i {
  display: block;
  width: 18px;
  height: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: .2s;
  position: relative;
}

.accordion-title .c-title__h2-primary span .i_box .one_i:after {
  display: flex;
  content: '';
  background-color: var(--color-blue);
  border-radius: 10px;
  width: 15px;
  height: 3px;
  position: absolute;
  top: 6px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
  transition-duration: .2s;
}

.accordion-title .c-title__h2-primary span .i_box .one_i:before {
  display: flex;
  content: '';
  background-color: var(--color-blue);
  border-radius: 10px;
  position: absolute;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
  width: 3px;
  height: 15px;
  top: 0;
  left: 6px;
}

.accordion-title.active .c-title__h2-primary span .i_box .one_i:after {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}


.accordion-title.active .c-title__h2-primary span .i_box .one_i:before {
  width: 0;
  height: 0;
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-content.active {
  max-height: 5000px;
  /* 十分に大きな値 */
}

.accordion-content.active>div:last-child {
  padding-bottom: 24px;
}

/* h2要素のアコーディオン対応 */

.accordion-title:has(.c-title__h2-primary) {
  margin-bottom: 20px;
}

.accordion-title:has(.c-title__h2-primary)+.accordion-content>.c-text-primary {
  margin-top: 0px;
}

/* 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: 30px;
}

.accordion-title .c-title__h3-primary {
  padding: 0;
  margin: 7px;
}


.accordion-content>.c-text-primary {
  margin-top: 20px;
}

/* コンテンツ */

.c-intro-text-primary {
  font-size: 16px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.c-text-primary {
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

.c-title__h2-primary+.c-text-primary,
.c-title__h3-primary+.c-text-primary,
.c-title__h4-primary+.c-text-primary,
.c-title__h5-primary+* {
  margin-bottom: 20px;
}

.c-banner-area {
  margin-bottom: 26px;
}

.c-link-primary {
  line-height: 1;
}

.c-link-primary a {
  font-size: 15px;
  display: block;
}

.c-link-primary a:not(:first-child) {
  margin-top: 16px;
}

.c-layout-right {
  text-align: right;
}

.contents__lv5>*+.c-link-primary {
  margin-top: 20px;
}

/* リスト */

.list {
  padding-inline-start: 17px;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list:last-child {
  margin-bottom: 0;
}


.list:has(+ .c-link-primary) {
  margin-bottom: 28px;
}


@media (max-width: 768px) {
  .list {
    padding-inline-start: 20px;
  }
}

/*徹底比較*/

.c-layout-comparison {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.c-layout-comparison a {
  display: block;
  position: relative;
  width: 100%;
  color: #dd2c00;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #ccc;
  padding: 6px 10px;
}

.c-layout-comparison a:visited {
  color: #dd2c00;
}

.c-layout-comparison a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.c-layout-comparison.__old a {
  color: var(--color-yellow01);
}

.c-layout-comparison.__old a:visited {
  color: var(--color-yellow01);
}

.c-layout-comparison.__old a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.c-layout-comparison a::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url(https://tools.itembox.design/item/category/img/img_cateogry_compare_arrow.png) no-repeat center center / contain;
}

/* テーブルスタイル（divベース） */
.c-table-type {
  width: 100%;
  margin: 20px 0 0 0;
  background: #ffffff;
  border: var(--border3);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.c-table-type__row {
  display: flex;
  border-bottom: var(--border3);
}

.c-table-type__row:last-child {
  border-bottom: none;
}

.c-table-type__label {
  position: relative;
  font-weight: 500;
  padding: 12px 15px 12px 34px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  width: 30%;
  background-color: var(--bg-gray);
  border-right: 1px solid #e0e0e0;
}

.c-table-type__label::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: var(--color-blue-light);
}

.c-table-type__value {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  color: #666;
}

@media (max-width: 768px) {
  .c-table-type {
    font-size: 13px;
  }

  .c-table-type__row {
    flex-direction: column;
  }

  .c-table-type__label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
  }

  .c-table-type__value {
    padding-top: 8px;
  }

}

/* プロのアドバイスボックス */
.c-advice-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--color-yellow03);
  border: 2px solid var(--color-yellow01);
  border-radius: 4px;
}

.c-advice-box__label {
  flex-shrink: 0;
  background-color: var(--color-yellow01);
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 30px;
  white-space: nowrap;
  line-height: 1.4;
}

.c-advice-box__content {
  flex: 1;
}

.c-advice-box__title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin: 0 0 5px 0;
  line-height: 1.5;
}

.c-advice-box__text {
  font-size: 15px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .c-advice-box {
    flex-direction: column;
    gap: 12px;
  }

  .c-advice-box__label {
    width: 100%;
    text-align: center;
  }
}