/*
Theme Name: oshi-times
Theme URI: https://oshi-times.example.com
Author: oshi-times
Author URI: https://oshi-times.example.com
Description: 芸能人・インフルエンサー・アイドル・推し活に特化したエンタメニュースメディアテーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oshi-times
Tags: news, entertainment, custom-menu, featured-images, threaded-comments
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* CSS変数・レイアウト・コンポーネントは functions.php でエンキュー */

/* ベースリセット */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* タイポグラフィ */
.hero-title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-black);
  line-height: 1.4;
}

.card-title {
  font-size: var(--font-size-card);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.section-head {
  font-size: var(--font-size-section);
  font-weight: var(--font-weight-black);
}

/* グラデーションテキスト */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* スクリーンリーダー用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WordPressコア */
.alignleft {
  float: left;
  margin-right: var(--space-md);
}

.alignright {
  float: right;
  margin-left: var(--space-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-sm);
}

.sticky {
  /* スティッキー投稿用 */
}

.bypostauthor {
  /* 投稿者コメント用 */
}
