
/* 日本語テキストの適切な改行設定 */
h1, h2, h3, h4, h5, h6, p, span, a, li {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.9;
    z-index: 1;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.6rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s 0.2s ease both;
}

/* Company Overview */
.company-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.overview-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.overview-item:last-child,
.overview-item:nth-last-child(2) {
    border-bottom: none;
}

.overview-item.full-width {
    grid-column: 1 / -1;
}

.overview-item dt {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.32rem;
}

.overview-item dd {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.business-list {
    list-style: none;
    padding: 0;
}

.business-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.business-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(108, 69, 169, 0.05) 100%);
}

.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.mission-statement h3 {
    font-family: 'Century Gothic', 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-statement p {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: var(--white);
}

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

.member-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-card.ceo {
    grid-column: span 1;
    background: linear-gradient(135deg, rgba(108, 69, 169, 0.05) 0%, rgba(192, 76, 43, 0.05) 100%);
}

.member-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    /* background: linear-gradient(135deg, var(--primary-color), #3b82f6); */

    color: var(--white);
}

.member-card.advisor .member-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.member-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-header .position {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-header .title {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.member-content {
    padding: 2rem;
}

.member-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.member-content p:last-child {
    margin-bottom: 0;
}

.credential {
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Details/Summary Styling */
details {
    margin-top: 1rem;
}

summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition);
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

summary::before {
    content: '▶';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

details[open] summary::before {
    transform: rotate(90deg);
}

summary:hover {
    color: var(--secondary-color);
}

details p {
    margin-top: 1rem;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .overview-item {
        grid-template-columns: 150px 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .overview-item dt {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .overview-item dd {
        font-size: 0.95rem;
    }
    
    .mission-statement h3 {
        font-size: 1.8rem;
    }
    
    .member-header {
        padding: 1.5rem;
    }
    
    .member-content {
        padding: 1.5rem;
    }
}

/* iPhone 12 Pro specific fixes */
@media (max-width: 390px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section .container {
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .page-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .page-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .page-subtitle {
        font-size: 1rem;
        text-align: center;
        line-height: 1.4;
    }
    
    .overview-grid {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .overview-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .overview-item dt {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .overview-item dd {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .mission-statement {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .mission-statement h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .mission-statement p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .member-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .member-header {
        padding: 1.5rem;
        text-align: center;
    }
    
    .member-content {
        padding: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .overview-grid {
        padding: 1.5rem;
    }
    
    .overview-item dt {
        font-size: 1rem;
    }
    
    .overview-item dd {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    .mission-statement {
        padding: 2rem 1.5rem;
    }
}