// ------------------------------------------
// WordPress Overrides
// Responsive properties (margin, padding, etc.) handled by PHP dynamic CSS
// ------------------------------------------

.entry-content .wp-block-zenblocks-button-basic,
.entry-content .wp-block-zenblocks-button-basic.wp-block-zenblocks-button-basic {
  .wp-block-zenblocks-button-basic-content {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    div:not([class*="-text-micro"]):not([class*="-text-sub"]):not([class*="-copy-micro"]):not([class*="-copy-sub"]),
    p:not([class*="-text-micro"]):not([class*="-text-sub"]):not([class*="-copy-micro"]):not([class*="-copy-sub"]),
    // アイコン関連のspanを除外（アイコンコンテナ・レスポンシブアイコンspan）
    span:not(.char):not([class*="-text-micro"]):not([class*="-text-sub"]):not([class*="-copy-micro"]):not([class*="-copy-sub"]):not([class*="button-basic-icon"]):not([class~="icon-pc"]):not([class~="icon-md"]):not([class~="icon-tb"]):not([class~="icon-sp"]) {
      display: block;
      width: 100%;
      margin: 0 !important;
      padding: 0 !important;
    }
  }
}

.wp-block-zenblocks-button-basic.wp-block-zenblocks-button-basic {
  > a,
  > button {
    .wp-block-zenblocks-button-basic-text {
      width: 100%;
      .default {
        display: inline-block;
        width: 100%;
      }
      .hover {
        display: inline-block;
        width: 100%;
      }
    }
  }
}
