/*
Theme Name: AI Hakken Lab
Description: 5秒でわかるAIニュース。docs/サンプル/template.html（2026年10月9日）の標準デザインを記事ページ・冒頭・ヘッダーに固定したテーマです。
Version: 3.10.1
Requires at least: 6.0
Requires PHP: 7.4
Author: AI Hakken Lab
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-hakkenlab
*/
/* Shared article and poster styles are generated in assets/article.css. */
.reading-start { margin: 1.5rem 0 2rem; padding: 1rem 1.25rem; border: 1px solid #d8e6df; border-radius: 12px; background: #f5faf7; }
.reading-start p { margin: 0 0 .6rem; }
.reading-start ul { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin: 0; padding-left: 1.25rem; }
.reading-start a { text-underline-offset: .2em; }
/* TOP page (Version 3.10.0): one slot for the 28-day challenge's daily posts. */
.series-box{margin:0 0 34px;padding:20px 24px 22px;border:1px solid var(--line);border-radius:18px;background:#fff}
.list-header--series h2::after{content:' / SERIES'}
.series-box__note{margin:0 0 12px;font-size:14px;line-height:1.85;color:var(--text)}
.series-box__latest{margin:0 0 16px;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.series-box__latest time{margin-right:6px;color:var(--muted);font-size:13px}
.series-box__label{display:inline-block;margin-right:6px;padding:1px 9px;border-radius:999px;background:#f5faf7;color:#3d6b5a;font-size:12px;font-weight:700}
@media(max-width:720px){.series-box{padding:18px 18px 20px}}
.breadcrumbs{margin:0 0 18px;font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.breadcrumbs a{color:inherit}.x-source-quote{overflow-wrap:anywhere}
.related-posts{margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff}.related-posts h2{font-size:24px}.related-posts li{margin:12px 0;overflow-wrap:anywhere}
h1,h2,h3,h4,h5,h6{font-family:var(--sans);font-weight:900;overflow-wrap:anywhere}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{z-index:100000;top:8px;left:8px;width:auto;height:auto;padding:12px 16px;margin:0;clip:auto;background:#fff;color:var(--ink)}
.site-main{min-height:55vh;padding:34px 42px 60px}.single .site-main{padding:0}.page-heading{margin-bottom:28px}.archive-title,.page-title{font-size:clamp(26px,4vw,42px);line-height:1.35;margin:0 0 14px}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.post-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden}.post-card__image{display:block;aspect-ratio:1200/630;overflow:hidden;background:var(--soft)}.post-card__image img{width:100%;height:100%;object-fit:cover}.post-card__placeholder{display:grid;place-items:center;height:100%;background:var(--deep);color:#fff;font-weight:900;font-size:30px}.post-card__body{padding:23px;flex:1;display:flex;flex-direction:column}.post-card__title{font-size:23px;line-height:1.5;margin:12px 0}.post-card__title a{color:var(--ink);text-decoration:none}.post-card__excerpt{font-size:16px;color:var(--text)}.post-card__meta{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:12px;margin-top:auto}.post-card__categories a{font-size:14px;text-decoration:none}
.pagination,.post-navigation{margin-top:36px}.nav-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.page-numbers,.post-navigation a,.button-link{display:inline-block;padding:10px 15px;border-radius:12px;background:#fff}.page-numbers.current{background:var(--orange-dark);color:#fff}.page-entry,.comments-area,.no-results,.not-found{padding:30px;border-radius:24px;background:#fff}.comments-area{margin-top:30px}.comment-form input:not([type=submit]),.comment-form textarea,.search-form input[type=search],.wpcf7 input:not([type=checkbox]):not([type=submit]),.wpcf7 textarea{width:100%;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit}.comment-form input[type=submit],.search-form input[type=submit],.wpcf7 input[type=submit]{padding:12px 22px;border:0;background:var(--orange-dark);color:#fff;border-radius:10px;font:inherit}.wpcf7 input[type=checkbox]{width:auto}.wpcf7 label{display:block}.search-form{display:flex;gap:10px}.search-form label{flex:1;min-width:0}.custom-logo{width:auto;max-width:min(320px,70vw);max-height:64px}
@media(max-width:720px){.site-main{padding:28px 18px 40px}.single .site-main{padding:0}.post-grid{grid-template-columns:1fr}.post-card__title{font-size:21px}.page-entry,.comments-area{padding:22px 18px}.search-form{flex-direction:column}}

/* TOP page (Version 3.3.0): site intro, apricot featured story, thumbnail-right news list. */
.site-intro{margin:0 0 24px;padding:18px 24px 19px;border:1px solid var(--line);border-left:6px solid var(--orange);border-radius:6px 18px 18px 6px;background:#fff}
.site-intro__lead{margin:0 0 6px;font-size:clamp(17px,2.2vw,20px);font-weight:900;line-height:1.5;letter-spacing:-.03em;color:var(--ink)}
.site-intro__text{margin:0;font-size:14px;line-height:1.85;color:var(--text)}
.latest-header{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:space-between;align-items:baseline;margin:0 0 19px;padding:4px 0 18px;border-bottom:1px solid #ebbba7}
.latest-header .archive-title{margin:0;font-size:clamp(25px,3.25vw,34px);line-height:1.3;letter-spacing:-.06em}
.latest-header__note{margin:0;font-size:12px;font-weight:700;color:var(--muted)}
.home-feature{position:relative;isolation:isolate;overflow:hidden;min-height:369px;margin:0 0 33px;padding:40px 43px 36px;border:1px solid #e6ae98;border-radius:38px 15px 38px 15px;background:linear-gradient(110deg,#fff4e8,#ffdcc9 75%,#ffd1b9);color:#4c2820}
.home-feature::after{content:'NEW';position:absolute;right:15px;bottom:-58px;font-size:220px;font-weight:900;line-height:1;letter-spacing:-.13em;color:#ae50340d;pointer-events:none}
.home-feature__inner{position:relative;z-index:2;max-width:940px}
.home-feature p{margin:0 0 13px;font-size:clamp(14px,1.62vw,17px);line-height:1.86;letter-spacing:-.01em;color:#65483e}
.home-feature .feature-label{display:inline-flex;margin:0 0 22px;padding:8px 14px;border-radius:30px;background:#fff9ee;box-shadow:0 3px 10px #a85f4614;font-size:12px;font-weight:900;line-height:1.3;letter-spacing:.1em;color:#ad4e37}
.home-feature h2{max-width:900px;margin:0 0 19px;font-size:clamp(32px,5.2vw,53px);font-weight:900;line-height:1.36;letter-spacing:-.055em;color:#4c2820}
.home-feature h2 a{color:inherit;text-decoration:none}.home-feature h2 a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:8px}
.home-feature .quick-label{display:flex;gap:6px;align-items:center;margin:0 0 12px;font-size:14px;font-weight:900;letter-spacing:0;line-height:1.86;color:#ad4e37}
.home-feature .quick-main{max-width:825px;margin:0 0 13px;font-size:clamp(14px,1.62vw,17px);font-weight:400;line-height:1.86;letter-spacing:-.01em;color:#65483e}
.home-feature .quick-facts{margin:0 0 24px}.home-feature .quick-audience,.home-feature .quick-small{margin:0 0 4px;font-size:12px;line-height:1.6;color:#846257}
.home-feature .fact-label{display:inline;margin:0 8px 0 0;font-size:inherit;letter-spacing:.05em;color:#ad4e37}
.home-feature .button-link{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;margin-top:12px;padding:12px 22px;border-radius:12px;background:#422921;color:#fff;font-size:13px;font-weight:900;line-height:1.3;text-decoration:none;transition:transform .2s ease,opacity .2s ease}
.home-feature .button-link:hover{transform:translateY(-2px);opacity:.9}.home-feature .button-link .arrow{font-size:17px;font-weight:800}
.news-list-section{margin:0 0 30px}
.list-header{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 15px}
.list-header h2{margin:0;font-size:22px;font-weight:900;letter-spacing:-.055em}.list-header h2::after{content:' / FEED';margin-left:8px;font-size:11px;font-weight:650;letter-spacing:.13em;color:#759b8b}
.list-header--original h2::after{content:' / ORIGINAL'}
.news-list{border-top:1px solid #c7dbd2}
.story{display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-areas:'m art' 'body art';column-gap:19px;row-gap:6px;min-width:0;min-height:155px;padding:18px 0;border-bottom:1px solid #dce1d9}
.story-meta{grid-area:m;align-self:end;display:flex;align-items:center;flex-wrap:wrap;gap:9px;line-height:1.4}
.story-body{grid-area:body;min-width:0}
.story-title{margin:0 0 6px;font-size:20px;font-weight:900;line-height:1.48;letter-spacing:-.045em;overflow-wrap:anywhere}
.story-title a{color:var(--ink);text-decoration:none}.story-title a:hover{text-decoration:underline;text-underline-offset:4px}
.story-summary{margin:0;font-size:13px;line-height:1.72;color:#59635d;overflow-wrap:anywhere}
.story-tag{display:inline-flex;align-items:center;min-height:24px;padding:3px 10px;border-radius:30px;background:#f7e6dd;color:#a94b35;font-size:11px;font-weight:900;line-height:1.4;white-space:nowrap;text-decoration:none}
.story-tag--column{background:#e6efea;color:#2a7654}
.story-date{font-size:11px;font-weight:750;letter-spacing:.015em;white-space:nowrap;color:#66736d}
.story-art{grid-area:art;align-self:center;display:block;text-decoration:none;aspect-ratio:1200/630;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#263c45,#81ada0)}
.story-art picture{display:contents}
.story-art img{display:block;width:100%;height:100%;object-fit:cover}
.story-art__placeholder{display:grid;place-items:center;height:100%;padding:6px;color:#fff;font-size:16px;font-weight:900;letter-spacing:-.04em;text-align:center}
@media(max-width:720px){
.site-intro{margin-bottom:20px;padding:16px 18px 17px}.site-intro__text{font-size:13px}
.latest-header{padding-bottom:13px;margin-bottom:14px}.latest-header .archive-title{font-size:27px}.latest-header__note{font-size:11px}
.home-feature{min-height:0;margin-bottom:26px;padding:25px 23px 27px;border-radius:17px}.home-feature::after{opacity:.45}
.home-feature .feature-label{margin-bottom:18px;font-size:10px}.home-feature h2{margin-bottom:18px;font-size:32px;line-height:1.35}
.home-feature .quick-label{font-size:12px}.home-feature .quick-main{font-size:13px;line-height:1.85}.home-feature .quick-audience,.home-feature .quick-small{font-size:11px}.home-feature .button-link{min-height:42px;padding:11px 15px;font-size:12px}
.list-header h2{font-size:20px}
.story{grid-template-columns:minmax(0,1fr) 112px;column-gap:11px;min-height:123px;padding:15px 0}
.story-title{font-size:19px}.story-summary{display:none}.story-tag{padding:2px 8px;font-size:10px}.story-date{font-size:10px}.story-art__placeholder{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.home-feature .button-link{transition:none}}

/* Official widgets manage their own height; never reserve a fixed frame. */
.entry-content .twitter-tweet{margin:20px auto!important;max-width:550px;overflow-wrap:anywhere}
