/* NPO法人ウェブサイト - メインスタイルシート */

/* ===========================
   カラー変数定義
   =========================== */
:root {
    --primary-color: #393939;      /* ダークグレー（基本色） */
    --accent-orange: #FF7153;      /* オレンジ（アイコン色） */
    --accent-mint: #64F7BF;        /* ミントグリーン（アイコン色） */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --text-gray: #666666;
    --border-color: #ddd;
}

/* ===========================
   リセット・基本設定
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', sans-serif;
    color: var(--primary-color);
    line-height: 1.7;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-orange);
}

/* ナビゲーション */
nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-mint));
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===========================
   サイトお知らせバナー
   =========================== */
.site-announcement {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-mint));
    color: var(--white);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}
.site-announcement .announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.announcement-label {
    background: rgba(255,255,255,0.18);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
}
.announcement-text {
    color: var(--white);
    font-size: 0.95rem;
}
.site-announcement a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}
.site-announcement a:hover {
    opacity: 0.9;
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    background: url('../mediafile/logo/background.png') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-mint);
    font-weight: 500;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), #ff8a73);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 113, 83, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 113, 83, 0.4);
}

/* ===========================
   コンテナ・セクション
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-mint));
    border-radius: 2px;
}

/* ===========================
   活動内容カード
   =========================== */
.activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.activity-card {
    background: var(--white);
    border-radius: 0px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-orange);
}

.activity-card:nth-child(2) {
    border-top-color: var(--accent-mint);
}

.activity-card:nth-child(3) {
    border-top-color: var(--accent-orange);
}

.activity-card:nth-child(4) {
    border-top-color: var(--accent-mint);
}

.activity-card:nth-child(5) {
    border-top-color: var(--accent-orange);
}

.activity-card:nth-child(6) {
    border-top-color: var(--accent-mint);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.activity-card:nth-child(1) .activity-icon {
    color: var(--primary-color);
}

.activity-card:nth-child(2) .activity-icon {
    color: var(--primary-color);
}

.activity-card:nth-child(3) .activity-icon {
    color: var(--primary-color);
}

.activity-card:nth-child(4) .activity-icon {
    color: var(--primary-color);
}

.activity-card:nth-child(5) .activity-icon {
    color: var(--primary-color);
}

.activity-card:nth-child(6) .activity-icon {
    color: var(--primary-color);
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.activity-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===========================
   会員募集セクション
   =========================== */
.membership {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.membership h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.membership-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membership-type {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.membership-type:nth-child(2) {
    border-left-color: var(--accent-mint);
}

.membership-type h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.membership-type p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.membership-type .fee {
    font-weight: bold;
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* ===========================
   事務所情報セクション
   =========================== */
.office-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-grid {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    min-width: 30px;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-content p {
    color: var(--text-gray);
}

/* ===========================
   理事挨拶ページ
   =========================== */
.greeting-section {
    margin-bottom: 4rem;
}

.greeting-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.greeting-header {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.greeting-photo {
    flex-shrink: 0;
}

.greeting-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.greeting-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.greeting-info .position {
    font-size: 1.2rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-weight: 500;
}

.greeting-content {
    color: var(--text-gray);
    line-height: 2;
    font-size: 1.05rem;
}

/* ===========================
   規約・ポリシーページ
   =========================== */
.regulation-section {
    margin-bottom: 4rem;
}

.regulation-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.regulation-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-orange);
    padding-left: 1rem;
}

.regulation-content h4 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.regulation-content p {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.regulation-content ol,
.regulation-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    list-style: decimal;
}

.regulation-content ul {
    list-style: disc;
}

.regulation-content li {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 0.5rem;
}

/* ===========================
   公表書類ページ
   =========================== */
.documents-grid {
    display: grid;
    gap: 2rem;
}

.document-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.document-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.document-icon {
    font-size: 2rem;
    color: var(--accent-orange);
}

.document-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.document-item:hover {
    background: var(--medium-gray);
}

.document-name {
    color: var(--primary-color);
    font-weight: 500;
}

.document-link {
    color: var(--accent-orange);
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent-orange);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.document-link:hover {
    background: var(--accent-orange);
    color: var(--white);
}

.none-document-link {
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* ===========================
   フッター
   =========================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-mint);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

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

/* フッター：ソーシャルアイコン */
.footer-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0 0.75rem;
}
.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: all 0.18s ease;
    text-decoration: none;
}
.social-link i {
    font-size: 1.15rem;
}
.social-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-mint));
    color: var(--white);
}
/* ===========================
   レスポンシブデザイン
   =========================== */

/* タブレット */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav a {
        display: block;
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .greeting-header {
        flex-direction: column;
        gap: 2rem;
    }

    .greeting-photo img {
        width: 150px;
        height: 150px;
    }

    .activities {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .activity-card,
    .membership,
    .office-info,
    .greeting-card,
    .regulation-content,
    .document-card {
        padding: 1.5rem;
    }

    .greeting-photo img {
        width: 120px;
        height: 120px;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ===========================
   ユーティリティクラス
   =========================== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}