/* ================================
   基本設定
================================ */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #d4af37;
    --accent-color: #2563eb;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav a.active::after,
.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

.blog-link {
    color: var(--accent-color) !important;
}

.btn-login {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 24px;
    border-radius: 5px;
}

.btn-login:hover {
    background: #2a4a70;
}

/* ================================
   ヒーローセクション
================================ */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4a70 100%);
    color: white;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* 統計情報 */
.hero-stats {
    background: white;
    padding: 40px 0;
    margin-top: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 5px;
}

/* ================================
   セクション共通
================================ */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* ================================
   協会理念・ビジョン
================================ */
.vision {
    background: var(--bg-light);
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-main {
    text-align: center;
    margin-bottom: 60px;
}

.vision-main h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.vision-main p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.point-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.point-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.point-item h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.point-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ================================
   理事長挨拶
================================ */
.greeting-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.greeting-image {
    position: sticky;
    top: 100px;
}

.greeting-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.greeting-profile {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.greeting-profile h4 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.greeting-profile h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.greeting-profile p {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 15px;
}

.profile-details {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.profile-details p {
    font-size: 13px;
    margin-bottom: 5px;
}

.greeting-message h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.4;
}

.greeting-message p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.signature {
    margin-top: 40px;
}

.signature img {
    height: 60px;
}

/* ================================
   ニュース
================================ */
.news {
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.link-more {
    color: var(--accent-color);
    font-weight: 500;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 100px 120px 1fr;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-date {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.news-category {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    height: fit-content;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   認定資格の紹介
================================ */
.certification-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
}

.cert-levels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.cert-level {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.cert-level:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.cert-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 1px;
}

.cert-badge.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    color: white;
}

.cert-badge.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #b8b8b8 100%);
    color: white;
}

.cert-badge.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: var(--primary-color);
}

.cert-badge.platinum {
    background: linear-gradient(135deg, #e5e4e2 0%, #d3d3d3 100%);
    color: var(--primary-color);
}

.cert-level h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cert-level p {
    color: var(--text-secondary);
    font-size: 14px;
}

.cert-cta {
    text-align: center;
}

/* ================================
   フッター
================================ */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-english {
    font-size: 12px;
    opacity: 0.7;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: white;
    opacity: 0.8;
    font-size: 14px;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* ================================
   レスポンシブ対応
================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid,
    .vision-points,
    .cert-levels {
        grid-template-columns: 1fr;
    }
    
    .greeting-content {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }
}