@charset "UTF-8";

/* Lazy Blocks セクションスペーサー */
.c-section {
  display: block;
  width: 100%;
}

.c-section.-spacer {
  margin: 0;
}

.c-section.-lg.-spacer {
  margin: 120px 0;
}

.c-section.-md.-spacer {
  margin: 96px 0;
}

.c-section.-sm.-spacer {
  margin: 64px 0;
}

.c-section.-xs.-spacer {
  margin: 40px 0;
}

@media (max-width: 767px) {
  .c-section.-lg.-spacer {
    margin: 80px 0;
  }

  .c-section.-md.-spacer {
    margin: 64px 0;
  }

  .c-section.-sm.-spacer {
    margin: 48px 0;
  }

  .c-section.-xs.-spacer {
    margin: 32px 0;
  }
}

/* Lazy Blocks Flex レイアウト */
.c-flex {
  flex-wrap: wrap;
  row-gap: 1.5rem;
}

.c-flex.-max2,
.c-flex.-max3,
.c-flex.-max4 {
  flex-direction: row;
}

.c-flex.-max4 .c-flex__item {
  width: calc(25% - 1.125rem);
}

.c-flex.-max3 .c-flex__item {
  width: calc(33.3333% - 1rem);
}

.c-flex.-max2 .c-flex__item {
  width: calc(50% - 0.75rem);
}

.c-flex__img {
  width: 100%;
}

/* Lazy Blocks 画像ボックス */
.c-imgbox {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.c-imgbox__left {
  flex-shrink: 0;
}

.c-imgbox__left img {
  width: 20rem;
  height: auto;
}

.c-imgbox__right {
  flex-shrink: 0;
}

.c-imgbox__right img {
  width: 20rem;
  height: auto;
}

.c-imgbox__text {
  flex: 1;
}

/* 右に画像がある場合、テキストを左に */
.c-imgbox:has(.c-imgbox__right) {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  .c-flex.-max4 .c-flex__item {
    width: calc((100% - 1.5rem) / 2);
  }

  .c-flex.-max3 .c-flex__item {
    width: 100%;
  }

  .c-flex.-max2 .c-flex__item {
    width: 100%;
  }

  .c-imgbox {
    flex-direction: column !important;
  }

  .c-imgbox__left img,
  .c-imgbox__right img {
    width: 100%;
  }
}

.wp-block-table .has-fixed-layout tr > td {
  border-right: unset;
  border-left: unset;
}

@media screen and (max-width: 767px) {
  .wp-block-table .has-fixed-layout tr>td {
    border-top: unset;
    border-bottom: unset;
  }
}
