@charset "UTF-8";

/* =========================================
   1. 基本設定 (Base & Reset)
   ========================================= */
:root {
    --main-yellow: #FFC800;
    --sub-yellow: #FFF3CD;
    --accent-color: #4A3F35;
    --white: #FFFFFF;
    --gray-bg: #F9F9F9;
    --footer-bg: #332A24;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: var(--accent-color);
    margin: 0; padding: 0; line-height: 1.8;
    background-color: var(--white); overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
h1, h2, h3, h4, p { margin-top: 0; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.container-fluid { width: 100%; padding: 0 5%; margin: 0 auto; position: relative; z-index: 2; }

/* セクション見出し */
.section-header { margin-bottom: 80px; }
.section-header.center { text-align: center; }
.en-title {
    display: block; font-family: 'Zen Maru Gothic', sans-serif; 
    font-weight: 900; color: var(--main-yellow); 
    font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title { 
    text-align: center; font-size: 2.5rem; font-weight: 900; margin-bottom: 0; 
    position: relative; display: inline-block; z-index: 1; 
}
.section-title::before { 
    content: ''; position: absolute; top: -10px; left: -15px; 
    width: 60px; height: 60px; background: var(--main-yellow); 
    opacity: 0.4; border-radius: 50%; z-index: -1; 
}

section { padding: 100px 0; position: relative; }


/* =========================================
   2. ヘッダー (Island Design)
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
    padding: 25px 40px; pointer-events: none; transition: 0.3s ease;
}
header.scrolled { background: transparent; padding: 15px 40px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: none; padding: 0; }
.logo {
    pointer-events: auto; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 0px 15px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; align-items: center;
}
.logo img { height: 80px; width: auto; }
.hamburger { display: none; pointer-events: auto; }
.nav-menu { pointer-events: auto; }
.nav-menu ul {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 18px 35px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex; gap: 30px; align-items: center;
}
.nav-menu li a { font-weight: 700; font-size: 1rem; color: var(--accent-color); position: relative; padding-bottom: 5px; }
.nav-menu li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background-color: #F57C00; border-radius: 2px; transition: width 0.3s ease-in-out; }
.nav-menu li a:hover::after { width: 100%; }
.header-tel { font-weight: 900 !important; font-size: 1.5rem !important; color: #F57C00 !important; display: flex; align-items: center; gap: 5px; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.nav-menu li a.header-tel::after { display: none; }


/* =========================================
   3. Donationページ メインコンテンツ
   ========================================= */

/* --- 1. Hero --- */
.donation-hero {
    position: relative; width: 100%; height: 70vh; 
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; margin-top: 0;
}
.donation-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: -1; filter: brightness(0.7);
}
.donation-hero-content { text-align: center; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.3); position: relative; z-index: 2; }
.hero-subtitle {
    display: inline-block; background: var(--main-yellow); color: var(--accent-color);
    padding: 5px 20px; border-radius: 50px; font-weight: 900; margin-bottom: 20px;
    letter-spacing: 0.1em;
}
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.4; margin: 0; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 120px; }

/* --- 2. Greeting (ご挨拶) --- */
.greeting-section { background-color: var(--white); }

/* ★変更：縦並び（画像上・テキスト下） */
.greeting-box {
    display: flex; 
    flex-direction: column; /* 縦積み */
    align-items: center; 
    gap: 40px;
    background: var(--white);
    max-width: 900px; /* 読みやすい幅に制限 */
    margin: 0 auto;
}

/* 画像を横長に */
.greeting-image {
    width: 100%;
    position: relative;
}
.greeting-image img {
    width: 100%; 
    height: 350px; /* 高さを指定して横長に */
    object-fit: cover; /* 画像の比率を維持 */
    border-radius: 20px;
    box-shadow: 15px 15px 0 var(--sub-yellow);
}

.greeting-content { width: 100%; }

/* 見出し「ご挨拶」 */
.greeting-content h3 {
    font-size: 1.8rem; font-weight: 900; margin-bottom: 20px;
    line-height: 1.5; color: var(--accent-color);
}

.greeting-content p { font-size: 1.05rem; margin-bottom: 20px; text-align: justify; line-height: 1.9; }
.greeting-sign { margin-top: 40px; text-align: right; font-size: 1.1rem; }

/* --- 3. Guidelines (募集要項) --- */
.guidelines-section { background-color: var(--gray-bg); }
.guidelines-card {
    background: var(--white); padding: 60px; border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 900px; margin: 0 auto;
}
.guidelines-list { display: grid; gap: 0; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; }
.guidelines-item {
    display: flex; border-bottom: 1px solid #ddd;
}
.guidelines-item:last-child { border-bottom: none; }
.guidelines-item dt {
    width: 30%; background: var(--sub-yellow); padding: 25px;
    font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.guidelines-item dd {
    width: 70%; padding: 25px; margin: 0; background: var(--white);
}
.guidelines-item dd ul { list-style: disc; padding-left: 20px; }
.guidelines-item dd ul li { margin-bottom: 5px; }

/* 目標金額等の強調を削除 */
.guidelines-item dd { font-size: 1.05rem; }

.method-title { font-weight: 900; color: var(--accent-color); margin-bottom: 10px; display: block; }
.bank-group-title { font-weight: 900; color: var(--accent-color); margin-bottom: 10px; }

.bank-info {
    background: #fff;
    border: 3px dashed var(--main-yellow);
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    margin-bottom: 15px;
}
.bank-info p { margin-bottom: 5px; }
.note { font-size: 0.9rem; color: #666; margin-top: 5px; }

.contact-in-table { margin-top: 10px; }
.contact-in-table p { margin-bottom: 5px; }


/* =========================================
   4. フッター & ローディング
   ========================================= */
#footer { background-color: var(--footer-bg); color: var(--white); padding: 80px 0 30px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; }
.footer-logo { font-size: 1.3rem; font-weight: 900; margin-bottom: 20px; }
.footer-address { font-style: normal; font-size: 0.95rem; line-height: 1.8; opacity: 0.8; }
.footer-nav ul { display: flex; flex-direction: column; gap: 15px; }
.footer-nav li a { color: rgba(255,255,255,0.8); font-size: 0.95rem; transition: 0.3s; }
.footer-nav li a:hover { color: var(--main-yellow); padding-left: 5px; }
.social-label { font-weight: 700; margin-bottom: 15px; opacity: 0.7; font-size: 0.9rem; }
.insta-link { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 50px; color: #fff; font-weight: 700; transition: 0.3s; }
.insta-link:hover { background: #E1306C; color: #fff; transform: translateY(-3px); }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.5; }

#loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--sub-yellow); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
#loading.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; color: var(--accent-color); }
.loading-sun { font-size: 4rem; color: var(--main-yellow); margin-bottom: 10px; animation: sunSpin 4s linear infinite; }
.loading-text { font-weight: 900; font-size: 1.2rem; letter-spacing: 0.1em; animation: textPulse 2s ease-in-out infinite; }
@keyframes sunSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes textPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }


/* =========================================
   5. スマホ対応 (Mobile)
   ========================================= */
@media (max-width: 768px) {
    header { padding: 10px 0; pointer-events: auto; }
    .header-btn { display: none; }
    .hamburger { display: block; width: 30px; height: 25px; position: relative; cursor: pointer; z-index: 1001; margin-right: 20px; }
    .hamburger span { position: absolute; left: 0; width: 100%; height: 3px; background-color: var(--accent-color); border-radius: 3px; transition: 0.3s; }
    .hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 11px; } .hamburger span:nth-child(3) { bottom: 0; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 11px; background-color: var(--white); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 11px; background-color: var(--white); }

    .logo { background: transparent; padding: 0; box-shadow: none; border-radius: 0; backdrop-filter: none; margin-left: 20px; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: var(--accent-color); display: flex; flex-direction: column; justify-content: center; transition: 0.4s ease; z-index: 1000; padding: 20px; }
    .nav-menu.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.2); }
    .nav-menu ul { display: flex; flex-direction: column; gap: 30px; width: 100%; text-align: center; background: transparent; padding: 0; box-shadow: none; }
    .nav-menu li a { color: var(--white); display: block; padding: 10px; }
    .header-tel { color: var(--white) !important; justify-content: center; }

    /* Donation調整 */
    .donation-hero { height: 60vh; }
    .hero-title { font-size: 2.2rem; }
    
    /* ご挨拶画像 (スマホ) */
    .greeting-image img { height: 250px; }
    
    .guidelines-card { padding: 30px 20px; }
    .guidelines-item { flex-direction: column; border-bottom: none; margin-bottom: 20px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
    .guidelines-item dt { width: 100%; padding: 15px; }
    .guidelines-item dd { width: 100%; padding: 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .footer-nav ul { align-items: flex-start; }
}