/* === 濃紺/重色を完全排除する強制上書きスタイル === */
/* 見出し帯・背景を強制透明化 */
h1, h2, h3, .wp-block-heading,
.c-sectionTitle, .p-sectionTitle, .c-pageTitle, .p-pageTitle,
.c-widget__title, .p-entry__title {
background-color: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* ヘッダー/ナビ背景を白基調に */
header, .l-header, .p-header, .c-gnav, .p-globalNav, .l-header__bar {
background-color: #ffffff !important;
box-shadow: none !important;
border-bottom: 1px solid #f5f5f5 !important;
}
/* ナビリンク(文字色) */
.c-gnav a, .p-globalNav a, .menu-item > a {
color: #004444 !important;
}
.c-gnav a:hover, .p-globalNav a:hover, .menu-item > a:hover {
color: #009999 !important;
}
/* ボタン等の背景が濃紺になるのを防止 */
a.wp-block-button__link, .c-btn, .p-btn, button, input[type=”submit”] {
background-color: #7fffd4 !important; /* aquamarine */
color: #004440 !important;
border: none !important;
box-shadow: none !important;
border-radius: 999px !important;
}
/* カバーブロック(Hero等)のオーバーレイを白薄めに強制 */
.wp-block-cover__background {
background-color: rgba(255,255,255,0.40) !important;
}
.wp-block-cover .has-background-dim {
opacity: 1 !important;
}
/* ボックス・カード要素の濃い枠線・影を除去 */
.c-box, .c-card, .wp-block-group, .wp-block-columns, .wp-block-column {
border: none !important;
box-shadow: none !important;
}
/* インライン style で濃色が指定されている見出しも無効化 */
h1[style*=”background”], h2[style*=”background”], .wp-block-heading[style*=”background”] {
background: transparent !important;
}
/* 濃紺カラーコード (#004864 等) を含む style 属性を白抜き or 透明化 */
*[style*=”#004864″], *[style*=”rgb(0,72,100)”] {
background-color: transparent !important;
color: #005555 !important;
}
/* セクションの背景はすべて白または淡グレー */
.section, .l-main, .p-main, .wp-site-blocks {
background: #ffffff !important;
}
.u-bg–soft, .is-style-soft {
background: #f5f5f5 !important;
}
/* 見出しを下線スタイルにしてアクセントだけ残す */
.c-sectionTitle, .p-sectionTitle, .wp-block-heading.is-style-underline {
border-bottom: 2px solid #7fffd4 !important;
padding-bottom: .4em !important;
}