/*
Theme Name: Koton (JP Block Theme Starter)
Theme URI: https://example.com/koton
Author: ChatGPT
Author URI: https://chat.openai.com/
Description: 日本語サイト向けの極薄ブロックテーマ・スターター。ヘッダー／フッター／記事一覧／固定ページ／検索／404 のテンプレートを同梱。
Requires at least: 6.3
Tested up to: 6.6
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koton
Tags: block-patterns, one-column, blog, news
*/

:where(.wp-site-blocks){line-height:1.7}
a{ text-decoration-thickness: .1em; text-underline-offset: .18em;}
.wp-block-post-title a{ text-decoration: none}
.wp-block-query-pagination{ gap:.5rem }
.wp-block-navigation__responsive-container{ padding:1rem }

/* ---- ニュースカード共通 ---- */
.news-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.news-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6em;
  color: #333;
  line-height: 1.4;
}
.news-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1em;
}
.news-card blockquote {
  background: #fafafa;
  border-left: 4px solid #ccc;
  margin: 1.2em 0;
  padding: 1em;
  border-radius: 6px;
  color: #555;
  font-style: italic;
}
.news-link-btn {
  display: inline-block;
  margin-top: 0.8em;
  padding: 8px 16px;
  border: 1.5px solid #1a73e8;
  color: #1a73e8;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s ease;
}
.news-link-btn:hover {
  background: #1a73e8;
  color: #fff;
}
.news-comment {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.9em 1em;
  margin-top: 1em;
  border-radius: 6px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
}
@media screen and (min-width:768px){
  .news-card { padding: 28px; }
  .news-card h2 { font-size: 1.6rem; }
}