/*
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.8
Requires PHP: 7.2
Version: 1.3
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
*/

/*
 * 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;
}

/* b */
/* AI Weekly Template CSS (external) */
:root{
  --bg: #0b0d10;
  --panel: #11151a;
  --panel-2: #161b22;
  --text: #e6edf3;
  --muted: #9fb0c0;
  --accent: #4da3ff;
  --accent-2: #88ffcc;
  --danger: #ff6b6b;
  --ok: #3dd68c;
  --border: #233040;
  --code: #0f1520;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,0.25);
  --w: min(1100px, 92vw);
  --leading: 1.75;
}
@media (prefers-color-scheme: light){
  :root{
    --bg: #f7f9fc; --panel: #ffffff; --panel-2: #fafcff; --text: #0b1220;
    --muted: #48566a; --accent: #0b6bff; --accent-2: #00a37b; --border: #dfe7ef; --code: #f2f6fb;
  }
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family: system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;line-height:var(--leading)}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
header.site{position:sticky;top:0;z-index:10;background:linear-gradient(180deg, rgba(11,13,16,.95), rgba(11,13,16,.75));backdrop-filter: blur(6px);border-bottom:1px solid var(--border)}
.wrap{width:var(--w);margin-inline:auto;padding:20px}
.title{display:flex;gap:12px;align-items:center}
.title h1{margin:0;font-weight:800;letter-spacing:.2px;font-size:clamp(22px,3.2vw,30px)}
.chip{font-size:12px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--panel-2);color:var(--muted)}
nav.toc{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px}
nav.toc a{font-size:13px;border:1px solid var(--border);padding:6px 10px;border-radius:999px;background:var(--panel)}
main{padding-block:18px}
section{margin:28px 0;padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}
section h2{margin:0 0 10px;font-size:clamp(18px,2.5vw,22px)}
section .sub{color:var(--muted);font-size:13px;margin-bottom:12px}
/* cards */
.cards{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:860px){.cards{grid-template-columns:1fr 1fr}}
.card{border:1px solid var(--border);background:var(--panel-2);border-radius:12px;padding:16px}
.card h3{margin:0 0 6px;font-size:18px}
.meta{font-size:12px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}
.kv{margin:10px 0 0}
.kv b{color:var(--text)}
.pill{display:inline-block;font-size:12px;padding:2px 8px;border-radius:999px;border:1px solid var(--border);background:var(--panel)}
/* figure */
figure{margin:0;border:1px dashed var(--border);border-radius:12px;padding:12px;background:var(--panel-2)}
figcaption{font-size:12px;color:var(--muted);margin-top:6px}
/* lists */
ul{padding-left:1.2em}
li+li{margin-top:.2em}
/* callouts */
.callout{border-left:4px solid var(--accent);padding:10px 12px;background:var(--panel-2);border-radius:8px;margin-top:8px}
.callout.ok{border-left-color:var(--ok)}
.callout.danger{border-left-color:var(--danger)}
/* badges (出典ピル) */
.badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--panel);color:var(--muted)}
.badge:hover{background:var(--panel-2);text-decoration:none}
.badge svg{width:12px;height:12px;opacity:.8}
/* footer, small */
footer{color:var(--muted);font-size:12px;padding:30px 0 60px}
/* print */
@media print{
  header.site, nav.toc{display:none}
  body{background:#fff;color:#000}
  section{break-inside:avoid}
}

ul.cards {
    padding-left: 0;
}
li.card::marker {
  content: none; /* マーカーを削除 */
}