/* Explicit choices from the block inspector. Unconfigured blocks use their usual styles. */
.is-style-gap0  { gap: 0 !important; }
.is-style-gap1  { gap: 1px !important; }
.is-style-gap5  { gap: 5px !important; }
.is-style-gap10 { gap: 10px !important; }
.is-style-gap20 { gap: 20px !important; }
.is-style-gap30 { gap: 30px !important; }
.is-style-gap40 { gap: 40px !important; }
.is-style-gap80 { gap: 80px !important; }

.is_flex   { display: flex !important; }
.is_column { flex-direction: column !important; }
.is_row    { flex-direction: row !important; }

.wp-block-columns.tb_p20lr_p120 {
  padding-block: 20px;
  padding-inline: calc(20px + 100px * var(--fluid-progress, 0));
}

.size_ss   { font-size: 12px !important; }
.size_s    { font-size: calc(12px + 2px * var(--fluid-progress, 0)) !important; }
.size_m    { font-size: calc(14px + 2px * var(--fluid-progress, 0)) !important; }
.size_l    { font-size: calc(16px + 4px * var(--fluid-progress, 0)) !important; }
.size_xl   { font-size: calc(18px + 6px * var(--fluid-progress, 0)) !important; }
.size_xxl  { font-size: calc(20px + 16px * var(--fluid-progress, 0)) !important; }
.size_xxxl { font-size: calc(24px + 18px * var(--fluid-progress, 0)) !important; }
.size_sp32_pc64  { font-size: calc(32px + 32px * var(--fluid-progress, 0)) !important; }
.size_sp40_pc72  { font-size: calc(40px + 32px * var(--fluid-progress, 0)) !important; }
.size_sp64_pc120 { font-size: calc(64px + 56px * var(--fluid-progress, 0)) !important; }

.pc-left   { text-align: left !important; }
.pc-center { text-align: center !important; }
.pc-right  { text-align: right !important; }

.wp-block-image.img-pc-left   { text-align: left; }
.wp-block-image.img-pc-center { text-align: center; }
.wp-block-image.img-pc-right  { text-align: right; }
.wp-block-image:is(.img-pc-left, .img-pc-center, .img-pc-right) img { display: inline-block; }

@media (max-width: 899px) {
  .sp-left   { text-align: left !important; }
  .sp-center { text-align: center !important; }
  .sp-right  { text-align: right !important; }

  .wp-block-image.img-sp-left   { text-align: left; }
  .wp-block-image.img-sp-center { text-align: center; }
  .wp-block-image.img-sp-right  { text-align: right; }
  .wp-block-image:is(.img-sp-left, .img-sp-center, .img-sp-right) img { display: inline-block; }
}

ul.list01 > li { list-style: disc outside; }
ul.list01 > li::marker, ol.list01 > li::marker { color: #cf7c4c; }

/* Inline formats shared by the editor and the published page. */
.point_title_pink, .point_title_yellow, .point_title_green, .point_title_blue, .point_title_orange {
  width: fit-content;
  padding: .25rem 1.5rem;
  border-radius: 100vh;
  font-weight: 700;
  white-space: nowrap;
  color: var(--txt_4, #fff);
}
.point_title_pink   { background: var(--cl_2, #c25155); }
.point_title_yellow { background: var(--cl_6, #f2d45a); color: var(--txt_3, #444); }
.point_title_green  { background: var(--main, #1b6240); }
.point_title_blue   { background: var(--cl_4, #4c79a6); }
.point_title_orange { background: var(--cl_1, #cf7c4c); }

.editor-styles-wrapper .rich-text:focus :is(.point_title_pink, .point_title_yellow, .point_title_green, .point_title_blue, .point_title_orange)[data-rich-text-format-boundary] {
  background-color: #f3f3f3 !important;
  color: #333 !important;
}

.txt_green    { color: var(--green, #1b6240) !important; }
.txt_pink     { color: var(--pink, #c25155) !important; }
.txt_blue     { color: var(--blue, #2e5985) !important; }
.txt_kanon    { color: var(--kanon, #703059) !important; }
.txt_shion    { color: var(--shion, #1b6240) !important; }
.txt_casashion { color: var(--casashion, #d4a200) !important; }

.under_line {
  text-decoration: underline solid;
  text-decoration-skip-ink: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

/* Responsive breaks inserted by the rich-text toolbar. */
.u-br-sp { display: none; }
.u-br-pc { display: inline; }
@media screen and (max-width: 899px) {
  .u-br-sp { display: inline; }
  .u-br-pc { display: none; }
}

.editor-styles-wrapper :is(.u-br-sp, .u-br-pc) {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  margin: 0 .35em;
}
.editor-styles-wrapper :is(.u-br-sp, .u-br-pc) br { display: none; }
.editor-styles-wrapper :is(.u-br-sp, .u-br-pc)::before {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
  color: #fff;
}
.editor-styles-wrapper .u-br-sp::before { content: "SP改行"; background: #e85b8f; }
.editor-styles-wrapper .u-br-pc::before { content: "PC改行"; background: #3b82f6; }
