/* About Page Specific Styles */

/* Hero Section */
.about-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #e91e63 0%, #ff69b4 50%, #ffc0cb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.about-hero .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Simplified floating shapes */
.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 25%;
    animation-delay: 2s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    bottom: 25%;
    left: 20%;
    animation-delay: 3s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    bottom: 40%;
    right: 10%;
    animation-delay: 4s;
}

.shape-6 {
    width: 45px;
    height: 45px;
    top: 50%;
    left: 50%;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Simplified particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particle 8s linear infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    left: 40%;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    left: 60%;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: 1s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 3s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    left: 90%;
    animation-delay: 5s;
}

@keyframes particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* About Content Section */
.about-content {
    padding: 4rem 0;
    background: #f9f9f9;
}

/* Simple Organization Description */
.about-organization {
    text-align: center;
    margin-bottom: 3rem;
}

.organization-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    padding: 0 2rem;
}

/* Simple About Sections */
.about-sections {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    background: white;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.section-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.about-section:hover .section-icon {
    transform: scale(1.1);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

/* 大きなフォントサイズのセクション */
.section-large-text {
    font-size: 1.15rem;
    line-height: 2;
}

.section-large-text p {
    font-size: 1.15rem;
}

.section-large-text h4 {
    font-size: 1.5rem;
}

.section-content p {
    margin-bottom: 1.2rem;
}

.section-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-content .signature {
    text-align: right;
    font-weight: 500;
    color: #333;
    margin-top: 2rem;
}

.organization-info p {
    margin-bottom: 0.8rem;
}

/* Mission List */
.business-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.business-list li {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 5px solid #ff6b9d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.business-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
}

.business-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 15px;
    color: #ff6b9d;
}

.about-section .section-title {
    text-align: center;
    border-bottom: 2px solid #ff6b9d;
    display: inline-block;
    padding: 0 20px 10px;
    margin-bottom: 2rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.mission-list {
    text-align: left;
}

.mission-list p {
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
}

.mission-list p:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Simple Call to Action Section */
.cta-section {
    margin-top: 3rem;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    color: var(--primary-color);
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* Organization Table Styles */
.organization-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.organization-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.organization-table tr:last-child {
    border-bottom: none;
}

.organization-table th {
    background: linear-gradient(135deg, #ff6b9d 0%, #b67a93 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
    width: 30%;
    vertical-align: top;
}

.organization-table td {
    padding: 1rem;
    color: #333;
    line-height: 1.6;
}

.organization-table td a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.organization-table td a:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
    }

    .about-hero .hero-title {
        font-size: 2.2rem;
    }

    .about-hero .hero-subtitle {
        font-size: 1rem;
    }

    .about-content {
        padding: 2rem 0;
    }

    .organization-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-sections {
        padding: 0 1rem;
    }

    .about-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-content {
        font-size: 0.9rem;
    }

    .cta-section {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 2rem 1rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    /* Hide floating shapes on mobile for better performance */
    .floating-shape {
        display: none;
    }

    /* Reduce particle count on mobile */
    .particle-4,
    .particle-5,
    .particle-6 {
        display: none;
    }

    /* Organization table responsive */
    .organization-table {
        font-size: 0.9rem;
    }

    .organization-table th,
    .organization-table td {
        padding: 0.75rem;
        display: block;
        width: 100%;
    }

    .organization-table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .organization-table td {
        padding-top: 0;
        padding-bottom: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .organization-table tr:last-child td {
        border-bottom: none;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}