@charset "UTF-8";

/* ====================================================
【色設定】
==================================================== */
/* 幅広・全幅ブロック以外にデフォルトコンテンツ幅を指定 */
.postdata>*:not(.alignwide):not(.alignfull) {
  max-width: var(--wp--style--global--content-size);
}

/* 幅広ブロックに幅広コンテンツ幅を指定 */
.postdata>*.alignwide {
  max-width: var(--wp--style--global--wide-size);
}

/* 全幅ブロックを除いて左右にオートマージンを付与する */
.postdata>*:not(.alignfull) {
  margin-right: auto;
  margin-left: auto;
}

/* 共通 */
.editor-styles-wrapper {
  padding-left: var(--wp--custom--gutter);
  padding-right: var(--wp--custom--gutter);
}

.before-after.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5%;
}

.before-after figure {
  display: grid;
  place-items: center;
  height: 317px;
  position: relative;
}

.before-after figure img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  width: auto;
  max-height: 317px;
  border-radius: 20px;
}

.before-after .txt01,
.before-after .txt02 {
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.before-after .txt02 {
  color: #00AEEF;
}

@media (max-width: 800px) {
  .before-after.before-after {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .before-after figure {
    height: 250px;
  }

  .before-after figure img {
    max-height: 250px;
  }

  .before-after p {
    font-size: 1.125rem;
  }
}

.case-table {
  border: 1px solid #333593;
  background-color: #fff;
}

.editor-styles-wrapper .wp-block-flexible-table-block-table>table tr th {
  background-color: revert;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table {
  border: none;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table tr td {
  border: none;
  border-bottom: 1px solid #CCC;
  line-height: 1.5;
  padding: 17px 15px;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table tr:last-child th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table tr:last-child td {
  border-bottom: none;
}

.case-table th {
  background-color: #333593 !important;
  color: #fff;
  font-size: 1rem;
  vertical-align: middle;
  width: 30%;
}

@media (max-width: 800px) {

  .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table tr th,
  .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.case-table>table tr td {
    border-bottom: none;
    padding: 15px;
  }

  .case-table {
    border-bottom: 1px solid #333593;
  }

  .case-table th,
  .case-table td {
    display: block;
    padding: 10px;
    border-bottom: none;
  }

  .case-table th {
    width: 100%;
    font-size: 0.9375rem;
  }

  .case-table td {
    font-size: 0.875rem;
  }
}
