﻿/* =========================================
   基本設定（色・フォント）
========================================= */
:root {
    --primary-color: #0a192f;
    --accent-color: #e6b422;
    --support-color: #e73E90;
    --text-color: #333;
    --light-gray: #f4f4f4;
}

body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding-top: 100px; /* 固定ヘッダー対策 */
}

h1, h2, h3 {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    letter-spacing: 0.05em;
}

/* =========================================
   固定ヘッダー
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
}

/* =========================================
   PCナビゲーション
========================================= */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* =========================================
   ハンバーガーメニュー（スマホ）
========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

.nav-links.active {
    right: 0;
}

.no-scroll {
    overflow: hidden;
}

/* =========================================
   ヒーローセクション
========================================= */
.hero {
    position: relative;
    height: 250px;
    padding-top: 70px;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('../img/index_background1.png');
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
}

.hero h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #fff, #e6d8a8);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    background: linear-gradient(90deg, #fff, #e6d8a8);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 0.95rem;
    margin: 0;
}

/* 光の筋アニメーション */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: lightMove 6s infinite linear;
    pointer-events: none;
}

@keyframes lightMove {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
}

/* =========================================
   プロジェクト概要
========================================= */
.project-summary {
    background: var(--light-gray);
    padding: 5px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.project-card {
    background: white;
    padding: 20px;
    border-top: 5px solid var(--accent-color);
    border-left: 1px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =========================================
   フッター
========================================= */
footer {
    background: rgba(10, 25, 47, 0.95);
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
}

.footer-sub {
    font-size: 0.8rem;
    color: #ccc;
}

/* =========================================
   ご寄付ページ（最適化済み）
========================================= */


.donation-top,
.donation-section {
    padding-top: 20px;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 60px;
    background: #fff;
    line-height: 1.8;
}

.donation-top h1,
.donation-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.donation-top p,
.donation-text {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
}

.donation-box {
    background: #fafafa;
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    margin: 20px auto 40px;
    max-width: 450px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    font-size: 1rem;
}

/* QRコード */
.qr-area {
    text-align: center;
    margin-top: 40px;
}

.qr-area img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* フォーム */
.contact-form-section {
    padding: 40px 10% 80px;
    background: var(--light-gray);
    text-align: center;
}

.donation-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.donation-form label {
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

.donation-form input,
.donation-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.btn-submit {
    margin-top: 25px;
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-submit:hover {
    opacity: 0.9;
}
