/*
Theme Name: shigotoi_kazuno2025_mdb
Theme URI: https://xn--n8jozl7ep9b03fa.com/
Author: tasuku_nmt
Description: 子ども向けに楽しい雰囲気でリニューアルされたMDBベースの独自テーマ
Version: 1.0
Tags: responsive, mdb, child-friendly
*/

/* カラーパレット（ルート変数） */
:root {
    --color-primary: #ff9f1c;      /* 明るく元気なオレンジ */
    --color-accent: #ffe066;       /* 優しい黄色（背景・強調） */
    --color-warm-bg: #fff8ef;      /* クリーム背景 */
    --color-text: #333333;         /* 基本文字色 */
    --color-white: #ffffff;
    --color-hover: #ff6f00;
    --mdb-body-font-family: 'Zen Maru Gothic', 'serif';
}
/* 全体の基本フォントと背景 */
body {
    font-family: var(--mdb-body-font-family) !important;
    font-weight: 700;
    background-color: var(--color-warm-bg);
    color: var(--color-text);
    line-height: 2.4;
}
.container{
    max-width: 960px;
}
/* リンク */
a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    color: var(--color-hover);
    text-decoration: underline;
}
/* ボタン・カード・ナビ等の角丸 */
.btn,
.nav-link,
.card,
.badge {
    border-radius: 12px;
}
/* ボタンhoverアニメーション */
.btn:hover {
    transform: scale(1.02);
    transition: 0.2s ease-in-out;
}
/* 背景ユーティリティの上書き（MDBに合わせたカラー） */
.bg-primary {
    background-color: var(--color-primary) !important;
}
.bg-accent {
    background-color: var(--color-accent) !important;
}
.bg-warm {
    background-color: var(--color-warm-bg) !important;
}
/* テキストカラー */
.text-primary {
    color: var(--color-primary) !important;
}
.text-accent {
    color: var(--color-accent) !important;
}
/* バッジカラー */
.badge-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.badge-accent {
    background-color: var(--color-accent);
    color: var(--color-text);
}
.small{
    font-size: 14px !important;
}
.main-content h2{
    display: block;
    width: fit-content;
    margin: 0 auto 1.5rem;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-text);
    padding: 0.2em 1em;
    background: linear-gradient(transparent 75%, var(--color-accent) 75%);
    border-radius: 0.5rem;
}

.animated-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInChar 0.6s ease forwards;
    font-size: .5em;
}
.animated-title span.emphasis {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--color-primary);
}
@keyframes fadeInChar {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animated-title span:nth-child(1) {
    animation-delay: 0s;
}
.animated-title span:nth-child(2) {
    animation-delay: 0.05s;
}
.animated-title span:nth-child(3) {
    animation-delay: 0.1s;
}
.animated-title span:nth-child(4) {
    animation-delay: 0.15s;
}
.animated-title span:nth-child(5) {
    animation-delay: 0.2s;
}
.animated-title span:nth-child(6) {
    animation-delay: 0.25s;
}
.animated-title span:nth-child(7) {
    animation-delay: 0.3s;
}
.animated-title span:nth-child(8) {
    animation-delay: 0.35s;
}
.animated-title span:nth-child(9) {
    animation-delay: 0.4s;
}
.animated-title span:nth-child(10) {
    animation-delay: 0.45s;
}
.animated-title span:nth-child(11) {
    animation-delay: 0.5s;
}
.animated-title span:nth-child(12) {
    animation-delay: 0.55s;
}
.animated-title span:nth-child(13) {
    animation-delay: 0.6s;
}
.animated-title span:nth-child(14) {
    animation-delay: 0.65s;
}
.animated-title span:nth-child(15) {
    animation-delay: 0.7s;
}
.animated-title span:nth-child(16) {
    animation-delay: 0.75s;
}
.animated-title span:nth-child(17) {
    animation-delay: 0.8s;
}
.animated-title span:nth-child(18) {
    animation-delay: 0.85s;
}
.animated-title span:nth-child(19) {
    animation-delay: 0.9s;
}
.animated-title span:nth-child(20) {
    animation-delay: 0.95s;
}
.animated-title span:nth-child(21) {
    animation-delay: 1s;
}
.animated-title span:nth-child(22) {
    animation-delay: 1.05s;
}
.animated-title span:nth-child(23) {
    animation-delay: 1.1s;
}
.animated-title span:nth-child(24) {
    animation-delay: 1.15s;
}
.animated-title span:nth-child(25) {
    animation-delay: 1.2s;
}
.animated-title span:nth-child(26) {
    animation-delay: 1.25s;
}
.animated-title span:nth-child(27) {
    animation-delay: 1.3s;
}
.animated-title span:nth-child(28) {
    animation-delay: 1.35s;
}
.animated-title span:nth-child(29) {
    animation-delay: 1.4s;
}
.animated-title span:nth-child(30) {
    animation-delay: 1.45s;
}