現在の採用した設定でコードスニペットに設定している。
.page-header-title::before {
content: "";
position: absolute;
top: 40%; /* ← 50% から 40% や 45% に減らすと上に移動します */
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
background-image: url("ここに画像のURLを貼り付け");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
z-index: -1;
opacity: 0.4;
}
/* 青い帯の外にはみ出た要素を隠す */
.page-header {
overflow: hidden;
}
