@charset "UTF-8";

/* ==================================================
   一般財団法人モンゴル日本未来財団 — デザインシステム
   ロゴ由来の配色：紺（信頼）・赤（日本）・金（格式）
================================================== */
:root {
    --brand:        #1b3a6b;   /* ロゴのネイビー */
    --brand-dark:   #12294e;
    --brand-darker: #0d1f3d;
    --brand-soft:   #e9eef7;
    --accent:       #c8102e;   /* ロゴの赤（日の丸） */
    --accent-dark:  #a30d24;
    --accent-soft:  #fbe9ec;
    --gold:         #d4a017;   /* ロゴの金（菊紋） */
    --gold-dark:    #b3860f;
    --gold-soft:    #f9f0d6;
    --danger:       #c0392b;
    --danger-soft:  #fbeceb;
    --ink:          #22262e;
    --ink-soft:     #56606f;
    --line:         #e2e6ee;
    --bg:           #f6f7fa;
    --surface:      #ffffff;
    --surface-alt:  #eef2f8;
    --input-bg:     #f4f6fa;
    --radius:       14px;
    --radius-lg:    22px;
    --shadow-sm:    0 2px 8px rgba(13,31,61,.06);
    --shadow-md:    0 10px 30px -12px rgba(13,31,61,.20);
    --maxw:         1120px;
    --header-h:     78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--ink); background-color: var(--bg);
    font-size: 17px; line-height: 1.9;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--brand-soft); }
.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.section { padding: 5rem 0; }
.section-alt { background: var(--surface-alt); }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.serif-en { font-family: 'Playfair Display', serif; font-style: italic; letter-spacing: .02em; }

/* ヘッダー / ナビ */
.site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); opacity: .85; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-corp { font-size: .68rem; color: var(--ink-soft); font-weight: 500; letter-spacing: .04em; }
.brand-name { font-size: 1.04rem; font-weight: 700; color: var(--brand-darker); letter-spacing: .01em; }
.brand-sub  { font-size: .62rem; color: var(--ink-soft); font-weight: 500; letter-spacing: .06em; }
.site-nav ul { display: flex; align-items: center; gap: .2rem; list-style: none; }
.site-nav a { display: inline-block; color: var(--ink); font-size: .92rem; font-weight: 500; padding: .55rem .7rem; border-radius: 999px; transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.site-nav a.active { color: var(--brand-dark); font-weight: 700; }
.site-nav a.nav-cta { background: var(--accent); color: #fff; margin-left: .4rem; padding: .55rem 1.2rem; box-shadow: 0 4px 12px -4px rgba(200,16,46,.55); }
.site-nav a.nav-cta:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: none; background: transparent; cursor: pointer; position: relative; border-radius: 10px; }
.nav-toggle span { display: block; position: absolute; left: 11px; width: 24px; height: 2.5px; background: var(--brand-darker); border-radius: 2px; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ボタン */
.btn { display: inline-flex; align-items: center; gap: .5rem; justify-content: center; font-weight: 700; font-size: 1rem; padding: .95rem 2rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: .25s; line-height: 1.2; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(200,16,46,.65); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #3a2c02; box-shadow: 0 8px 20px -8px rgba(212,160,23,.7); }
.btn-gold:hover { background: var(--gold-dark); color: #3a2c02; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 1.1rem 2.4rem; }

/* ヒーロー */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, #0d1f3d 0%, #1b3a6b 60%, #24468040 100%); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroFade 21s infinite; }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
@keyframes heroFade { 0%{opacity:0} 4%{opacity:.5} 30%{opacity:.5} 34%{opacity:0} 100%{opacity:0} }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(13,31,61,.82) 0%, rgba(13,31,61,.55) 50%, rgba(13,31,61,.30) 100%); }
.hero-deco { position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; z-index: 2; background: radial-gradient(circle, rgba(212,160,23,.28), transparent 70%); border-radius: 50%; }
.hero-logo { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); z-index: 3; width: 250px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 14px 44px rgba(0,0,0,.42); }
.hero-content { position: relative; z-index: 3; color: #fff; padding: 5.5rem 0; width: 100%; }
.hero-eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .18em; font-weight: 600; background: rgba(212,160,23,.22); border: 1px solid rgba(212,160,23,.5); color: #f4dd9a; padding: .35rem 1.1rem; border-radius: 999px; margin-bottom: 1.5rem; }
.hero-content h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 700; line-height: 1.4; letter-spacing: .03em; margin-bottom: 1.2rem; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.hero-content h1 .gold { color: var(--gold); }
.hero-content .lead { font-size: clamp(1rem, 2vw, 1.18rem); max-width: 34em; margin-bottom: 2.2rem; color: rgba(255,255,255,.95); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-content .serif-en { display: block; font-size: 1rem; opacity: .85; margin-bottom: 1.6rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* セクション見出し */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { display: inline-block; color: var(--gold-dark); font-weight: 700; font-size: .85rem; letter-spacing: .12em; margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; color: var(--brand-darker); line-height: 1.4; }
.section-head p { color: var(--ink-soft); margin-top: 1rem; }

/* 挨拶 / リード */
.intro-split { display: grid; grid-template-columns: 1fr .85fr; gap: 3rem; align-items: center; }
.intro-body .lead-text { font-size: 1.1rem; color: var(--ink); margin-bottom: 1.4rem; }
.intro-body p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.intro-media { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(135deg,#12294e,#1b3a6b); padding: 5px; }
.intro-media img { width: 100%; border-radius: 8px; display: block; }
.signature { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 2px solid var(--gold-soft); font-size: .92rem; color: var(--ink-soft); line-height: 1.9; }
.signature strong { color: var(--brand-darker); }

/* 3本柱 */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem 2rem; box-shadow: var(--shadow-sm); transition: .3s; display: flex; flex-direction: column; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.pillar-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; }
.pillar-icon svg { width: 34px; height: 34px; color: var(--brand); }
.pillar h3 { font-size: 1.22rem; color: var(--brand-darker); margin-bottom: .7rem; }
.pillar p { color: var(--ink-soft); font-size: .96rem; flex-grow: 1; }

/* お知らせ */
.news-list { list-style: none; max-width: 860px; margin: 0 auto; }
.news-item { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding: 1.2rem .4rem; border-bottom: 1px solid var(--line); }
.news-item:first-child { border-top: 1px solid var(--line); }
.news-date { font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .95rem; min-width: 6.2em; }
.news-tag { font-size: .75rem; padding: .22rem .7rem; border-radius: 999px; background: #e2e8e6; font-weight: 700; color: var(--ink-soft); }
.news-tag.new       { background: var(--accent-soft); color: var(--accent-dark); }
.news-tag.up        { background: var(--gold-soft); color: var(--gold-dark); }
.news-tag.important { background: var(--danger-soft); color: var(--danger); }
.news-item .news-text { flex: 1 1 300px; }

/* 公告 / アラート */
.alert-box { background: var(--danger-soft); border: 1px solid #f0c9c4; border-left: 5px solid var(--danger); padding: 1.6rem 1.9rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.alert-box h3 { color: #8f2a20; margin-bottom: .6rem; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.alert-box p { color: #6f342e; font-size: .95rem; }
.alert-box .from { margin-top: .8rem; font-weight: 700; }

/* CTA バンド */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; left:-60px; bottom:-80px; width:280px; height:280px; background: radial-gradient(circle, rgba(212,160,23,.25), transparent 70%); border-radius:50%; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 40em; margin: 0 auto 2rem; }

/* ページヘッダー */
.page-hero { position: relative; background: linear-gradient(120deg, var(--brand-darker), var(--brand-dark)); color: #fff; padding: 2.8rem 0; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(212,160,23,.35), transparent 70%); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; }
.page-hero .page-sub { display: block; margin-top: .35rem; font-size: .82rem; letter-spacing: .16em; opacity: .8; font-family: 'Playfair Display', serif; font-style: italic; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 .4rem; opacity: .6; }

/* 記事 */
.content-block { background: var(--surface); padding: 2.8rem; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.article h2 { color: var(--brand-darker); font-size: 1.5rem; margin: 2.6rem 0 1rem; padding-left: 1rem; border-left: 5px solid var(--gold); }
.article > h2:first-child, .content-block > h2:first-child { margin-top: 0; }
.article h3 { color: var(--brand-dark); font-size: 1.18rem; margin: 2rem 0 .8rem; }
.article p { margin-bottom: 1.4rem; }
.article ul { margin: 0 0 1.6rem 1.4rem; }
.article li { margin-bottom: .7rem; }
.lead-text { font-size: 1.12rem; color: var(--ink); }

/* 定義テーブル / 役員テーブル */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 30%; background: var(--surface-alt); font-weight: 700; color: var(--brand-darker); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.officer-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.officer-table thead th { background: var(--brand); color: #fff; padding: .9rem 1rem; text-align: left; font-weight: 700; }
.officer-table tbody td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.officer-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.officer-table td:first-child { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* リンク集 */
.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.link-card { display: block; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); transition: .25s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--accent); }
.link-card strong { display: block; color: var(--brand-darker); font-size: 1.02rem; margin-bottom: .2rem; }
.link-card span { color: var(--ink-soft); font-size: .88rem; }

/* 準備中 */
.prep { text-align: center; max-width: 640px; margin: 0 auto; padding: 3rem 1rem; }
.prep .prep-icon { font-size: 3rem; margin-bottom: 1rem; }
.prep h2 { color: var(--brand-darker); font-size: 1.5rem; margin-bottom: 1rem; }
.prep p { color: var(--ink-soft); }

/* 寄付 */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1rem; }
.donate-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.donate-card h3 { color: var(--brand-darker); font-size: 1.2rem; margin-bottom: .8rem; display:flex; align-items:center; gap:.5rem; }
.donate-card .bank-row { padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.donate-card .bank-row:last-child { border-bottom: none; }
.donate-card .bank-row b { color: var(--brand-dark); }

/* フォーム */
.form-note { background: var(--brand-soft); color: var(--brand-dark); padding: 1rem 1.3rem; border-radius: var(--radius); font-size: .92rem; margin-bottom: 2rem; }
.form-error { display:none; background: var(--danger-soft); color:#8f2a20; border:1px solid #f0c9c4; padding:1rem 1.3rem; border-radius:var(--radius); margin-bottom:1.5rem; font-size:.92rem; }
.form-group { margin-bottom: 1.6rem; }
.form-label { display: block; font-weight: 700; margin-bottom: .5rem; color: var(--brand-darker); }
.form-label .req { background: var(--danger); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 999px; margin-left: 8px; font-weight: 700; }
.form-label .opt { background: var(--ink-soft); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 999px; margin-left: 8px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; padding: .95rem 1rem; border: 1.5px solid #cdd4e0; border-radius: 10px; background: var(--input-bg); font-family: inherit; font-size: 1rem; color: var(--ink); transition: .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.hpot { position: absolute; left: -9999px; }
.btn-submit { background: var(--accent); color: #fff; padding: 1.1rem 3rem; border: none; border-radius: 999px; font-weight: 700; font-size: 1.1rem; cursor: pointer; display: block; margin: 2.4rem auto 0; width: 100%; max-width: 420px; transition: .25s; box-shadow: 0 8px 20px -8px rgba(200,16,46,.65); }
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-2px); }
.contact-methods { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; margin-bottom:2rem; }
.contact-methods .m { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem 1.6rem; box-shadow:var(--shadow-sm); }
.contact-methods .m h3 { color:var(--brand-darker); font-size:1.05rem; margin-bottom:.5rem; }
.contact-methods .m p { color:var(--ink-soft); font-size:.95rem; }

/* フッター */
.site-footer { background: var(--brand-darker); color: rgba(255,255,255,.72); padding: 4rem 0 1.6rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .footer-mark { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .footer-mark img { width: 52px; height: 52px; border-radius: 8px; background:#fff; }
.footer-name { font-size: 1.1rem; color: #fff; font-weight: 700; line-height: 1.5; }
.footer-en { font-size: .82rem; margin-top: .3rem; opacity: .7; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: .9rem; letter-spacing: .04em; }
.footer-col p { font-size: .9rem; line-height: 1.9; }
.footer-col a { color: rgba(255,255,255,.8); }
.footer-col a:hover { color: #fff; }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-links a { color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,.55); }

/* ユーティリティ */
.reveal.is-armed { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* レスポンシブ */
@media (max-width: 1024px) {
    .hero-logo { width: 190px; right: 4%; }
}
@media (max-width: 820px) {
    .hero-logo { display: none; }
}
@media (max-width: 900px) {
    .pillars { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .intro-split { grid-template-columns: 1fr; gap: 2rem; }
    .intro-media { order: -1; }
    .donate-grid, .link-list, .contact-methods { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .section { padding: 3.5rem 0; }
    .nav-toggle { display: block; }
    .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .site-nav.open { transform: translateY(0); }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .8rem 5%; }
    .site-nav a { padding: 1rem .8rem; border-radius: 12px; font-size: 1.05rem; }
    .site-nav a.nav-cta { margin: .6rem 0 0; text-align: center; }
    .hero { min-height: 540px; }
    .hero-content { padding: 4rem 0; }
    .content-block { padding: 1.6rem; }
    .info-table th, .info-table td { display: block; width: 100%; }
    .info-table th { border-bottom: none; padding-bottom: .3rem; }
    .officer-table { font-size: .88rem; }
    .officer-table thead th, .officer-table tbody td { padding: .6rem .5rem; }
    .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal.is-armed { opacity: 1; transform: none; transition: none; }
    .hero-slide { animation: none; }
}
