こちらのcharityのsectionに背景を設定しており、そちらを円形に切り取ったデザインにしたかったのでclip-pathを使用しました。しかし、そうすると背景をはみ出す文字が一緒に切り取られてしまい、見えなくなってしまいます。文字を切り取らずに表示させることは可能でしょうか?説明不足であれば追記いたします。ご回答よろしくお願いいたします。
html
1<section id="charity"> 2 <div class="charity-bg"> 3 <div class="charity-text"> 4 <h1 class="title">募金</h1> 5 <div class="charity-discription"> 6 <span>募金をお願い致します。</span> 7 </div> 8 <a href="charity.html" class="button-square">募金する</a> 9 </div> 10 </div> 11</section>
css
1#charity { 2 background-image: url(../image/top/pc/charity.jpg); 3 background-size: cover; 4 background-repeat: no-repeat; 5 background-position: 25%; 6 -webkit-clip-path: ellipse(80% 100% at 50% 0); 7 clip-path: ellipse(80% 40% at 50% 0); 8 9 .title { 10 font-size: 10vh; 11 } 12 13 span { 14 font-size: 3vh; 15 } 16 17 a { 18 all: initial; 19 } 20 21 .button-square { 22 position: relative; 23 display: block; 24 width: 18rem; 25 padding: 2rem 5%; 26 margin: 2rem auto; 27 font-size: 1.6rem; 28 color: #ffffff; 29 border: 1px #ffffff solid; 30 background: #04141A; 31 transition: .3s; 32 text-align: center; 33 border-radius: 10px; 34 text-decoration: none; 35 } 36} 37 38.charity-bg { 39 background-color: rgb(255 255 255 / 35%); 40 height: 100%; 41 width: 100%; 42} 43 44.charity-text { 45 display: flex; 46 text-align: center; 47 align-items: center; 48 justify-content: center; 49 height: 100%; 50 flex-direction: column; 51} 52 53.charity-discription { 54 margin-top: 5vh; 55}

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。