@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
.pc-py-5{padding-bottom:0.5em!important;padding-top:0.5em!important}
.pc-py-10{padding-bottom:1em!important;padding-top:1em!important}
.ls-nn-pd-lf-0 {
    padding-left: 0 !important;
    list-style: none !important;
}

/* 背景を平行四辺形 */
.heikoshihenkei-5 {
    clip-path: polygon(5% 0,100% 0,95% 100%,0 100%);
}

.heikoshihenkei-10 {
    clip-path: polygon(10% 0,100% 0,90% 100%,0 100%);
}

/* フロント（表示側）＋ 編集画面（ブロックエディタ） 両方に効かせる */
.post_content h3.tt-wh-bg-pd-al-5,
.editor-styles-wrapper h3.tt-wh-bg-pd-al-5{
  display: block !important;          /* blockのまま扱う */
  width: fit-content !important;      /* 文字幅に縮める（重要） */
  max-width: 100%;
  padding: 0.5em !important;          /* 必要なら */
  box-sizing: border-box;
}

/* 中央寄せ：左右auto */
.post_content h3.tt-wh-bg-pd-al-5.has-text-align-center,
.editor-styles-wrapper h3.tt-wh-bg-pd-al-5.has-text-align-center{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 右寄せ：左auto */
.post_content h3.tt-wh-bg-pd-al-5.has-text-align-right,
.editor-styles-wrapper h3.tt-wh-bg-pd-al-5.has-text-align-right{
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* 左寄せ：右auto（念のため） */
.post_content h3.tt-wh-bg-pd-al-5.has-text-align-left,
.editor-styles-wrapper h3.tt-wh-bg-pd-al-5.has-text-align-left{
  margin-left: 0 !important;
  margin-right: auto !important;
}
