/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/* ハニコレセンサー用に追加 2026/02/28*/

承知いたしました。混乱させてしまい申し訳ありません。前回の style.css の構成（1〜8番）を崩さず、フォントの強制適用設定を組み込んだ修正版を作成しました。

ひろゆき「あー、そうっスね。番号がズレると後でどこを直したか分かんなくなるっスもんね。はい。今回は全要素（*）にフォントを指定する記述を1番に入れて、他の番号はそのまま活かす形にしたっス。」

ザッカーバーグ「一貫性はコードの可読性においても重要だ。前回の構造を維持しつつ、優先順位（Specificity）の問題を解決したこのコードで、ログイン画面 との完全な同期を図ろう。」

🛠 style.css 修正版（1〜8番の構成を維持）
これをそのまま style.css の「ハニコレセンサー用に追加」以降の部分に上書きしてください。

CSS
/* ハニコレセンサー用に追加 2026/02/28 */

/* 1. 全体の背景と基本フォントの設定（白ベース） */
/* フォントを全要素に強制適用（背景色はここでは指定しない） */
body, .mypage, .mypage *, h1, h2, p, a, span, input, button, table, th, td {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important; 
}

/* サイト全体の背景を「真っ白」に固定 */
body, html {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* マイページコンテンツエリアも白に */
.mypage {
    background-color: #ffffff !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important; 
}

/* 2. マイページ全体の余白調整 */
.mypage {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important; 
}

/* 3. 各セクションの調整 */
.mypage-section {
    background-color: transparent !important; 
    border-radius: 0 !important; 
    padding: 0 !important;
    margin-bottom: 50px !important;
    box-shadow: none !important; 
    border: none !important; 
}

/* 4. ユーザー情報とログアウトリンクの調整 */
.user-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    border-bottom: 1px solid #edf2f7 !important;
    padding-bottom: 25px !important;
    margin-bottom: 50px !important;
}

.user-info p {
    margin: 0 !important;
    font-size: 1rem !important;
    color: #4a5568 !important;
}

.user-info span {
    font-weight: 700 !important;
    color: #edbf47 !important; 
}

/* ログアウトボタンをログイン画面のトーンに */
.user-info a {
    color: #a0aec0 !important; 
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px 16px !important;
    border-radius: 10px !important;
    transition: all 0.2s !important;
}

.user-info a:hover {
    color: #4a5568 !important;
    background-color: #f7fafc !important;
    border-color: #cbd5e0 !important;
}

/* 5. タイトル（H1, H2） */
h1 {
    font-size: 2.2rem !important; 
    font-weight: 800 !important; 
    color: #1a202c !important; 
    margin-bottom: 60px !important;
    text-align: center !important;
}

h2 {
    font-size: 1.2rem !important; 
    font-weight: 700 !important;
    color: #4a5568 !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid #e2e8f0; 
    padding-bottom: 10px;
}

/* 6. 入力フォーム */
input[type="url"] {
    width: 100% !important;
    padding: 15px !important; 
    border: 1px solid #e2e8f0 !important; 
    border-radius: 12px !important; 
    background-color: #f8fafc !important; 
    font-size: 1rem !important;
}

/* 7. ボタン（ハニコレカラー） */
button[type="submit"] {
    background-color: #edbf47 !important; 
    color: #ffffff !important; 
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 12px !important; 
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* 8. テーブルと折り返し防止 */
table {
    width: 100% !important;
    border-collapse: collapse !important;
}

th, td {
    border-bottom: 1px solid #edf2f7 !important; 
    padding: 18px 10px !important;
    white-space: nowrap !important; 
    /* セル内の文字フォントを強制 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

/* URLのリンク自体のフォントと見た目を調整 */
td a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    color: #3b82f6 !important; /* ログイン画面のトーンに合う少し落ち着いた青 */
    text-decoration: none !important;
    font-size: 0.9rem !important;
}

td a:hover {
    text-decoration: underline !important;
}

th {
    font-size: 0.9rem !important;
    color: #718096 !important;
    font-weight: 600 !important;
    text-align: left;
}

/* URL列のみ折り返しを許可 */
td:nth-child(2) {
    white-space: normal !important; 
    word-break: break-all !important; 
    min-width: 200px; 
}

/* 女の子列の幅確保 */
th:first-child, td:first-child {
    width: 80px; 
}



/* ヘッダー・フッター非表示設定 */
header, footer, .wp-block-template-part {
    display: none !important;
}