/* キッズチェア比較テーブル */
.kids-chairs-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.kids-chairs-comparison-table__header {
  border: 1px solid #ddd;
  padding: 12px;
  background-color: #f5f5f5;
  text-align: left;
}

.kids-chairs-comparison-table__cell {
  border: 1px solid #ddd;
  padding: 12px;
  vertical-align: top;

}

.kids-chairs-comparison-table__cell__img {
  display: flex;
  flex-wrap: no-wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .kids-chairs-comparison-table__cell__img {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.kids-chairs-comparison-table__cell img {
  display: block;
  margin-top: 8px;
  max-width: 50px;
  height: auto;
}

/* よくある質問（FAQ） */
.kids-faq {
  margin: 0 20px 0;
}

.kids-faq__item {
  margin-bottom: 20px;
}

.kids-faq__item:last-child {
  margin-bottom: 0;
}

.kids-faq__question {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.kids-faq__q-mark {
  font-weight: bold;
  margin-right: 8px;
}

.kids-faq__q-text {
  flex: 1;
}

.kids-faq__answer {
  display: flex;
  align-items: flex-start;
  background-color: #fff7f7;
  padding: 12px;
}

.kids-faq__a-mark {
  font-weight: bold;
  margin-right: 8px;
}

.kids-faq__a-text {
  flex: 1;
}

/* キッズ食器メガメニュー */
.c-box_btn_02 .kids-mega-menu {
  position: relative;
}

.c-box_btn_02 .kids-mega-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kids-mega-child {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 400px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 0px;
  box-sizing: border-box;
}

.kids-mega-menu:hover .kids-mega-child {
  display: block;
}

.kids-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.kids-mega-list li {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  border-right: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}

.kids-mega-list li:nth-child(4n+3),
.kids-mega-list li:nth-child(4n+4) {
  background-color: #f1f1f1;
}

.kids-mega-list li a {
  display: block;
  padding: 8px 10px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 1.3rem;
  font-weight: normal;
  border: none;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}

/* style_category_main.cssの.c-box_btn_02 li aのスタイルをオーバーライド */
.kids-mega-list li a,
.kids-mega-list li a span,
.kids-mega-list li a img {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 10px;
  border: none;
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
}

.kids-mega-list li a:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

/* スマホ表示ではメガメニューを無効化 */
@media (max-width: 767px) {
  .kids-mega-child {
    display: none !important;
  }

  .kids-mega-menu:hover .kids-mega-child {
    display: none !important;
  }
}

/* 素材から選ぶテーブル */

table.comparison {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size: 12px;
  border-right: 1px solid #ccc;
  border-top: none;
}

table.comparison th.none {
  width: 10%;
  text-align: center;
  font-weight: bold;
  background: none;
  white-space: nowrap;
  border-left: none;
  vertical-align: middle;
  word-wrap: break-word;
  word-break: break-all;
  position: relative;
}

table.comparison th.title01 {
  width: 45%;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #1f722b;
  padding: 10px;
  white-space: nowrap;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
  word-wrap: break-word;
  word-break: break-all;
  position: relative;
  border-radius: 5px 5px 0 0;
}

table.comparison th.title02 {
  width: 45%;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #5f9f31;
  padding: 10px;
  white-space: nowrap;
  border-left: none;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
  word-wrap: break-word;
  word-break: break-all;
  position: relative;
  border-radius: 5px 5px 0 0;
}

table.comparison td {
  font-size: 14px;
  background: #fff;
  padding: 10px;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.8;
}

table.comparison td span {
  color: #ff5803;
  font-weight: bold;
}

table.comparison td.item {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background-color: #666;
  color: #fff;
  vertical-align: middle;
}