/* 基本設定 */
:root {
    --primary-color: #2c3e50;    /* 武道の落ち着き */
    --accent-color: #e67e22;     /* 子どもの活気・暖かさ */
    --soft-bg: #fdfaf5;          /* 柔らかな和紙のような色 */
    --text-color: #333;
    --success-green: #27ae60;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: var(--soft-bg);
    color: var(--text-color);
    line-height: 1.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.logo-area p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--accent-color);
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent-color);
}


.btn-contact {
    display: inline-block;      /* aタグでもボタンのサイズを保つために必要 */
    background: var(--primary-color);
    color: white;
    text-decoration: none;      /* リンクの下線を消す */
    padding: 10px 25px;         /* 少しクリックしやすいサイズに調整 */
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    border: none;
}

.btn-contact:hover {
    background: var(--accent-color); /* ホバー時にオレンジ色に変化 */
    color: white;
    transform: translateY(-2px);    /* 軽く浮き上がる演出 */
}

/* ヒーローエリア */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('https://images.unsplash.com/photo-1521412644187-c49fa3b3336d?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.hero h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    margin: 20px 0;
}

.btn-main {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 3つの柱 */
.section-title {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    margin: 60px 0 40px;
}

.intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-top: 5px solid var(--accent-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    font-size: 2rem;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-family: 'Noto Serif JP', serif;
}

.skill-tag {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* 活動プロジェクト */
.activities-section {
    background: #f0f2f5;
    padding: 80px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.project-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-body {
    padding: 25px;
}

.tag-orange { background: #ffeaa7; color: #d35400; padding: 3px 10px; border-radius: 5px; font-size: 0.8rem; }
.tag-green { background: #dff9fb; color: #0984e3; padding: 3px 10px; border-radius: 5px; font-size: 0.8rem; }
.tag-blue { background: #d1f2eb; color: #16a085; padding: 3px 10px; border-radius: 5px; font-size: 0.8rem; }

.progress-info {
    margin: 20px 0;
}

.bar {
    background: #eee;
    height: 8px;
    border-radius: 4px;
    margin-top: 5px;
}

.fill {
    background: var(--success-green);
    height: 100%;
    border-radius: 4px;
}

.btn-project {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-project:hover {
    background: var(--primary-color);
    color: white;
}

/* フッター・モーダル等 */
footer {
    background: #222;
    color: #999;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}