/* 虹紺ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-11 {
    background: -webkit-linear-gradient(90deg, #001f3f 0%, #00509d 40%, #002d72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 虹橙ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-12 {
    background: -webkit-linear-gradient(90deg, #ff6f3c 0%, #ffba08 40%, #ff6f3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 虹紫ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-13 {
    background: -webkit-linear-gradient(90deg, #6a11cb 0%, #2575fc 40%, #6a11cb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 虹緑ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-14 {
    background: -webkit-linear-gradient(90deg, #11998e 0%, #38ef7d 40%, #11998e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 虹桃ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-15 {
    background: -webkit-linear-gradient(90deg, #ff9a9e 0%, #fecfef 40%, #ff9a9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 虹青ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-16 {
    background: -webkit-linear-gradient(90deg, #00c6ff 0%, #0072ff 40%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 虹赤ーグラデーションフォント */
.wp-block-paragraph.is-style-fontcolor01,
.is-style-fontcolor01-17 {
    background: -webkit-linear-gradient(90deg, #d31027 0%, #ea384d 40%, #d31027 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* 背景ゴールド */
.wp-block-paragraph.is-style-goriweb-haikei-gold,
.is-style-goriweb-haikei-gold {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #c8a03a;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}


/* 背景シルバー */
.wp-block-paragraph.is-style-goriweb-haikei-silver,
.is-style-goriweb-haikei-silver {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #e5e8ea;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}


/* 背景紺 */
.wp-block-paragraph.is-style-goriweb-haikei-navy,
.is-style-goriweb-haikei-navy {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #0b3458;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}

/* 背景ブルー */
.wp-block-paragraph.is-style-goriweb-haikei-blue,
.is-style-goriweb-haikei-blue {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #0073e6;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}
  

/* 背景緑 */
.wp-block-paragraph.is-style-goriweb-haikei-green,
.is-style-goriweb-haikei-green {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #2d8659;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}




/* 背景赤 */
.wp-block-paragraph.is-style-goriweb-haikei-red,
.is-style-goriweb-haikei-red {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #e60000;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}

/* 背景オレンジ */
.wp-block-paragraph.is-style-goriweb-haikei-orange,
.is-style-goriweb-haikei-orange {
    display: table;
	   
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    background: #ff9900;
    color: #ffffff;
    font-size: 1.2em;
	position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
	width: auto !important;
}





/* 01 背景ー虹紺 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-01,
.is-style-goriweb-haikei-niji-01 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #00274d), color-stop(50%, #004c8c), color-stop(100%, #002d72));
    background-image: -webkit-linear-gradient(left, #00274d 0%, #004c8c 50%, #002d72 100%);
    background-image: linear-gradient(to right, #00274d 0%, #004c8c 50%, #002d72 100%);
}

/* 02 背景ー虹橙 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-02,
.is-style-goriweb-haikei-niji-02 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #ff512f), color-stop(50%, #f09819), color-stop(100%, #ff512f));
    background-image: -webkit-linear-gradient(left, #ff512f 0%, #f09819 50%, #ff512f 100%);
    background-image: linear-gradient(to right, #ff512f 0%, #f09819 50%, #ff512f 100%);
}

/* 03 背景ー虹紫 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-03,
.is-style-goriweb-haikei-niji-03 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #8e2de2), color-stop(50%, #4a00e0), color-stop(100%, #8e2de2));
    background-image: -webkit-linear-gradient(left, #8e2de2 0%, #4a00e0 50%, #8e2de2 100%);
    background-image: linear-gradient(to right, #8e2de2 0%, #4a00e0 50%, #8e2de2 100%);
}

/* 04 背景ー虹緑 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-04,
.is-style-goriweb-haikei-niji-04 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #56ab2f), color-stop(50%, #a8e063), color-stop(100%, #56ab2f));
    background-image: -webkit-linear-gradient(left, #56ab2f 0%, #a8e063 50%, #56ab2f 100%);
    background-image: linear-gradient(to right, #56ab2f 0%, #a8e063 50%, #56ab2f 100%);
}

/* 05 背景ー虹桃 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-05,
.is-style-goriweb-haikei-niji-05 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #ff9a9e), color-stop(50%, #fad0c4), color-stop(100%, #ff9a9e));
    background-image: -webkit-linear-gradient(left, #ff9a9e 0%, #fad0c4 50%, #ff9a9e 100%);
    background-image: linear-gradient(to right, #ff9a9e 0%, #fad0c4 50%, #ff9a9e 100%);
}

/* 06 背景ー虹青 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-06,
.is-style-goriweb-haikei-niji-06 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #36d1dc), color-stop(50%, #5b86e5), color-stop(100%, #36d1dc));
    background-image: -webkit-linear-gradient(left, #36d1dc 0%, #5b86e5 50%, #36d1dc 100%);
    background-image: linear-gradient(to right, #36d1dc 0%, #5b86e5 50%, #36d1dc 100%);
}

/* 07 背景ー虹赤 */
.wp-block-paragraph.is-style-goriweb-haikei-niji-07,
.is-style-goriweb-haikei-niji-07 {
    display: table;
       
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: auto !important;
    color: #fff;
    padding: 1rem 1.5rem; 
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #d31027), color-stop(50%, #ea384d), color-stop(100%, #d31027));
    background-image: -webkit-linear-gradient(left, #d31027 0%, #ea384d 50%, #d31027 100%);
    background-image: linear-gradient(to right, #d31027 0%, #ea384d 50%, #d31027 100%);
}


/* 四角形の囲み */

.wp-block-paragraph.is-style-custom-gradient-title,.is-style-custom-gradient-title {
  display: inline-flex;
  gap: 4px;
}


.wp-block-paragraph.is-style-custom-gradient-title,.is-style-custom-gradient-title span {
  width: 40px;
  height: 40px;
  border: 2px solid #333333;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 円形の囲み */

.wp-block-paragraph.is-style-custom-circle-title, 
.is-style-custom-circle-title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem; /* 管理画面での影響を抑えるために小さめに調整 */
  text-align: center;
  width: max-content; /* 必要最小幅に調整 */
  height: auto; /* 高さをコンテンツに応じて設定 */
  aspect-ratio: 1; /* 縦横比を強制的に1:1に保つ */
  min-width: 5em; /* 最小幅を設定 */
  padding: 1em; /* 適度な余白 */
  border: 2px solid black; /* 円形の境界線 */
  border-radius: 50%; /* 円形を作成 */
  background-color: white;
  box-sizing: border-box; /* パディングとボーダーを含めてサイズ計算 */
  margin: 10px;
  overflow: hidden; /* サイズオーバーの要素を隠す */
}

#editor .is-style-custom-gradient-title {
  width: 100px!important; /* 100%指定を解除 */
  height: 100px!important; /* 高さも同様に解除 */
  max-width: none; /* 最大幅の制限を解除 */
  max-height: none; /* 最大高さの制限を解除 */
  font-size: 0.7rem; /* 管理画面用に文字サイズを調整 */
}


#editor .is-style-custom-circle-title {
  width: auto !important; /* 100%指定を解除 */
  height: auto !important; /* 高さも同様に解除 */
  max-width: none; /* 最大幅の制限を解除 */
  max-height: none; /* 最大高さの制限を解除 */
  aspect-ratio: 1; /* 縦横比を1:1に設定 */
  display: inline-flex; /* フレックスで中央揃えを維持 */
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  padding: 0.5em; /* 適切な余白 */
  border: 2px solid black; /* 円形の境界線 */
  border-radius: 50%; /* 円形に設定 */
  background-color: white; /* 背景色 */
  font-size: 0.7rem; /* 管理画面用に文字サイズを調整 */
  margin: 5px; /* 間隔を調整 */
}
