
:root {
    --primary-blue: #0ea5e9;
    --primary-teal: #14b8a6;
    --primary-orange: #f97316;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --npo-green: #059669;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--neutral-700);
    background: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: 10000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: block;
    text-decoration: none;
    position: relative; /* For tooltip positioning */
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
/* Tooltip for logo */
.logo[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

.logo[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    background: var(--neutral-800);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10001; /* Ensure it's above other elements */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none; /* So it doesn't interfere with mouse events on the logo */
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-npo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--npo-green);
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--npo-green);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-600);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: relative;
    z-index: 10000;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--neutral-600);
    font-weight: 500;
    padding: 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: var(--neutral-50);
    color: var(--primary-teal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.08) 0%, 
        rgba(14, 165, 233, 0.08) 50%, 
        rgba(139, 92, 246, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cg fill='%2314b8a6' fill-opacity='0.04'%3E%3Ccircle cx='200' cy='200' r='100'/%3E%3Ccircle cx='800' cy='300' r='80'/%3E%3Ccircle cx='300' cy='700' r='120'/%3E%3Ccircle cx='900' cy='800' r='90'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-vision-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 2rem;
}

.hero-vision-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    animation: bounce 2.5s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-down-arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -15px);
    }
    60% {
        transform: translate(-50%, -8px);
    }
}

/* News Section */
.news {
    background: var(--neutral-50);
}

.news-list {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-100);
    text-decoration: none;
    color: var(--neutral-700);
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: var(--neutral-50);
}

.news-item-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.news-date {
    font-weight: 500;
    color: var(--neutral-600);
    min-width: 90px;
}

.news-category {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: white;
}

.category-event { background: var(--primary-orange); }
.category-notice { background: var(--primary-blue); }
.category-report { background: var(--npo-green); }

.news-title {
    font-weight: 500;
    flex: 1;
}

.news-arrow {
    font-size: 1.5rem;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.news-item:hover .news-arrow { transform: translateX(5px); }

.view-more-container {
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.npo-badge {
    background: linear-gradient(135deg, var(--npo-green), #047857);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--neutral-800);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-teal);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-teal);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-teal);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.hero-visual {
    position: relative;
}

.hero-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--primary-teal);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue), var(--accent-purple));
}

.star-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.npo-label {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: var(--npo-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid var(--npo-green);
}

/* Slideshow container */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2.0s;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.solution-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.solution-card-teal-border {
    border: 1px solid var(--primary-teal);
}

.solution-card-npo-green-border {
    border: 1px solid var(--npo-green);
}

.solution-card-orange-border {
    border: 1px solid var(--primary-orange);
}

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

.solution-card h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.solution-card:nth-child(2) h3 {
    color: var(--npo-green);
}

.solution-card:nth-child(3) h3 {
    color: var(--primary-orange);
}

.activities-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.activities-table-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-teal);
}

.activities-table {
    width: 100%;
    border-collapse: collapse;
}

.activities-table thead {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
}

.activities-table th {
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.activities-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--neutral-200);
    font-size: 0.9rem;
    line-height: 1.5;
}

.activities-table tbody tr:hover {
    background: var(--neutral-50);
}

.activities-table tbody tr:last-child td {
    border-bottom: none;
}

.activities-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.activity-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-teal);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue), var(--accent-purple));
}

.star-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.npo-label {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: var(--npo-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid var(--npo-green);
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--npo-green);
    margin-bottom: 1rem;
}

.mission-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.mission-visual {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-teal);
}

.mission-text {
    flex: 1;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.mission-text h3 {
    font-size: 1.8rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stat-highlight {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-orange);
    display: block;
    margin: 1rem 0;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--neutral-800);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Why NPO Section */
.why-npo-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.npo-reason-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--npo-green);
    position: relative;
    overflow: hidden;
}

.npo-reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--npo-green), #047857);
}

.npo-reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.15);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.npo-reason-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--npo-green);
}

.npo-reason-card p {
    line-height: 1.6;
    color: var(--neutral-600);
}

.story-intro {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--primary-orange);
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--neutral-700);
}

.story-text p:last-child {
    margin-bottom: 0;
}

.npo-vision {
    margin-top: 4rem;
    text-align: center;
}

.vision-quote {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    padding: 3rem;
    border-radius: 20px;
    border-left: 6px solid var(--npo-green);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.vision-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--npo-green);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.vision-quote cite {
    font-size: 0.9rem;
    color: var(--neutral-600);
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-teal);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

/* Programs Section */
.programs {
    background: var(--neutral-50);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--neutral-200);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-teal);
}

.program-header {
    padding: 2rem;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.program-card:nth-child(1) .program-header {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
}

.program-card:nth-child(2) .program-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.program-card:nth-child(3) .program-header {
    background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
}

.program-card:nth-child(4) .program-header {
    background: linear-gradient(135deg, var(--primary-orange), #ea580c);
}

.program-content {
    padding: 2rem;
}

.program-content ul {
    list-style: none;
}

.program-content li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-100);
    position: relative;
    padding-left: 1.5rem;
}

.program-content li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

/* Content Examples Section */
.content-examples {
    background: white;
    padding: 4rem 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.example-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--neutral-200);
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.example-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.example-content {
    padding: 1.5rem;
    text-align: center;
}

.example-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neutral-800);
}

.example-content p {
    font-size: 0.9rem;
    color: var(--neutral-600);
}

/* Activities Section */
.activities {
    background: var(--neutral-50);
}

.activities-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.activities-table-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-teal);
}

.activities-table {
    width: 100%;
    border-collapse: collapse;
}

.activities-table thead {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
}

.activities-table th {
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.activities-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--neutral-200);
    font-size: 0.9rem;
    line-height: 1.5;
}

.activities-table tbody tr:hover {
    background: var(--neutral-50);
}

.activities-table tbody tr:last-child td {
    border-bottom: none;
}

.activities-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.activity-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-teal);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background: white;
    padding: 2rem 1rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--neutral-200);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
    border-color: var(--primary-teal);
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.4;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--neutral-800), var(--neutral-900));
    color: white;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
   .nav-links {
       display: none;
   }

   .mobile-menu {
       display: flex;
   }

   .hero-content {
       grid-template-columns: 1fr;
       gap: 3rem;
       text-align: center;
   }

   .about-content {
       grid-template-columns: 1fr;
       gap: 3rem;
   }

   .mission-content {
       flex-direction: column;
       gap: 3rem;
   }

   .mission-visual {
       flex: none;
   }

   .hero-buttons {
       justify-content: center;
   }

   .contact-buttons {
       flex-direction: column;
       align-items: center;
   }

   .nav {
       padding: 1rem;
   }

   .section {
    padding: 3rem 0;
  }

  .logo-content {
      display: none;
  }

  .activities-content {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .activities-table-container {
      overflow-x: auto;
  }
  
  .activities-table {
      min-width: 600px;
  }
  
  .activities-table th,
  .activities-table td {
      padding: 0.8rem;
      font-size: 0.8rem;
  }

  /* フォントサイズの調整 */
  .mission-title {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .mission-text h3 {
      font-size: 1.5rem;
  }
  
  .stat-highlight {
      font-size: 2.5rem;
  }

  .hero-subtitle {
      font-size: 1.1rem;
  }

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

  /* パディングの調整 */
  .mission-text {
      padding: 2rem;
  }
  
  .hero-card {
      padding: 2rem;
  }
  
  .contact-info {
      padding: 2rem;
  }

  .story-intro {
      padding: 2rem;
  }

  .npo-reason-card {
      padding: 2rem;
  }

  .vision-card {
      padding: 2rem;
  }

  .program-content {
      padding: 1.5rem;
  }

  .section-container {
      padding: 0 1rem;
  }

  .mission-container {
      padding: 0 1rem;
  }

  /* テーブルのモバイル最適化 */
  .activities-table th {
      font-size: 0.75rem;
      padding: 0.8rem 0.5rem;
  }

  .activities-table td {
      font-size: 0.75rem;
      padding: 0.8rem 0.5rem;
  }

  /* カードグリッドの調整 */
  .vision-grid {
      grid-template-columns: 1fr;
  }

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

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

  .why-npo-content {
      grid-template-columns: 1fr;
  }

  .team-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
      flex-direction: column;
      width: 100%;
  }
  
  .btn-primary, .btn-secondary {
      width: 100%;
      text-align: center;
  }

  .contact-buttons {
      flex-direction: column;
      width: 100%;
  }

  .contact-buttons .btn-primary,
  .contact-buttons .btn-secondary {
      width: 100%;
  }

  .logo-icon {
      width: 35px;
      height: 35px;
      font-size: 1.1rem;
  }

  .nav {
      padding: 0.5rem 1rem;
  }

  .hero {
      min-height: 90vh;
  }

  .mission-title {
      font-size: 1.8rem;
  }

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

  .stat-highlight {
      font-size: 2rem;
  }

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

  .member-avatar {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
  }

  .star-icon {
      font-size: 3rem;
  }

  .vision-icon,
  .reason-icon {
      font-size: 2.5rem;
  }

  .example-image {
      height: 150px;
      font-size: 1.5rem;
  }
}

/* Animations */
.loading {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}
/* Logo Design Sectionに関するCSS */
#logo-design {
    background: var(--neutral-800);
}

#logo-design .section-title {
    color: white;
}

.logo-design-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--neutral-200);
}

.logo-design-content .designer-credit {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    text-align: center;
}

.logo-design-content h3 {
    font-size: 1.2rem;
    color: var(--neutral-700);
    margin-bottom: 1rem;
    font-weight: 700;
}

.logo-design-content p {
    line-height: 1.8;
    color: var(--neutral-600);
}

/* SNS Share Buttons Component */
.share-buttons {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
}
.share-buttons p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--neutral-700);
    font-size: 1rem;
}
.share-buttons a {
    display: inline-block;
    margin: 0 0.75rem;
    font-size: 2.2rem;
    color: var(--neutral-500);
    transition: color 0.3s ease, transform 0.3s ease;
}
.share-buttons a:hover {
    transform: translateY(-4px);
}
.share-buttons .share-x:hover { color: #000000; /* X brand color */ }
.share-buttons .share-facebook:hover { color: #1877F2; /* Facebook brand color */ }
.share-buttons .share-instagram:hover { color: #E4405F; /* Instagram brand color */ }

/* Added for inline style removal */

.content-examples .section-header h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.example-image {
    background-size: cover;
    background-position: center;
}

.example-image-activity-01 { background-image: url('../img/activity-01.jpg'); }
.example-image-activity-02 { background-image: url('../img/activity-02.jpg'); }
.example-image-activity-03 { background-image: url('../img/activity-03.jpg'); }
.example-image-activity-04 { background-image: url('../img/activity-04.jpg'); }
.example-image-activity-05 { background-image: url('../img/activity-05.jpg'); }
.example-image-activity-06 { background-image: url('../img/activity-06.jpg'); }
.example-image-generative-ai { background-image: url('../img/example-generative-ai.png'); }
.example-image-programming-beginner { background-image: url('../img/example-programming-beginner.png'); }
.example-image-robocon-challenge { background-image: url('../img/example-robocon-challenge.jpg'); }
.example-image-contest-challenge { background-image: url('../img/example-contest-challenge.png'); }
.example-image-app-dev { background-image: url('../img/example-app-dev.png'); }
.example-image-inquiry-learning { background-image: url('../img/example-inquiry-learning.png'); }

#about .section-title {
    color: var(--npo-green);
}

.mission-text {
    text-align: center;
}

.mission-container .section-container {
    margin-top: 20px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.solution-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.solution-card.solution-card--teal {
    border: 1px solid var(--primary-teal);
}

.solution-card.solution-card--green {
    border: 1px solid var(--npo-green);
}

.solution-card.solution-card--orange {
    border: 1px solid var(--primary-orange);
}

.solution-card .icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.solution-card.solution-card--teal h3 {
    color: var(--primary-teal);
}

.solution-card.solution-card--green h3 {
    color: var(--npo-green);
}

.solution-card.solution-card--orange h3 {
    color: var(--primary-orange);
}

.member-avatar {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #14b8a6;
    color: transparent;
    font-size: 0;
}

.member-avatar.member-avatar-yamaguchi { background-image: url('../img/icon/yamaguchi.png'); }
.member-avatar.member-avatar-jun { background-image: url('../img/icon/jun.png'); }
.member-avatar.member-avatar-rie { background-image: url('../img/icon/rie.png'); }
.member-avatar.member-avatar-tamanari { background-image: url('../img/icon/tamanari.png'); }
.member-avatar.member-avatar-monica { background-image: url('../img/icon/monica.png'); }
.member-avatar.member-avatar-aki { background-image: url('../img/icon/aki.png'); }
.member-avatar.member-avatar-kiyoko { background-image: url('../img/icon/kiyoko.png'); }

#partners .program-card:nth-child(1) .program-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

#partners .program-card:nth-child(2) .program-header {
    background: linear-gradient(135deg, var(--primary-orange), #ea580c);
}

#partners .program-card:nth-child(3) .program-header {
    background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
}

#contact .section-title {
    color: white;
}

#contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}
