/* ヒーローセクション追加スタイル */
.hero {
    background: linear-gradient(to bottom, #05103a, #0a2550);
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.hero .subtitle {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: #fff;
    position: relative;
    z-index: 2;
}

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

/* シノプスアニメーション */
.synapse-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
    opacity: 0.4;
}

/* ミッションセクション */
.mission {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.mission .section-heading h2 {
    color: #05103a;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.mission .section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

.mission-description strong {
    color: #05103a;
    font-weight: 700;
}

.mission .quote {
    font-style: italic;
    background-color: #f0f4f8;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 30px 0;
    color: #444;
    font-size: 1.2rem;
    line-height: 1.6;
    border-radius: 5px;
}

.mission-vision {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-top: 30px;
}

.mission-vision strong {
    color: #0a2550;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 70px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.8rem;
    }
    
    .mission .section-heading h2 {
        font-size: 2rem;
    }
    
    .mission-description, 
    .mission .quote, 
    .mission-vision {
        font-size: 1.1rem;
        padding: 0 15px;
    }
}

/* ソリューションセクション */
.solutions {
    background-color: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.solution-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-item:hover {
    background-color: #eef2f7;
    transform: translateY(-3px);
}

.solution-item i {
    font-size: 2.2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.solution-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 会社概要セクション */
.company {
    background-color: #f5f5f5;
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.company-details {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.company-table th, .company-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    background-color: #f9f9f9;
    width: 30%;
}

.company-environment {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.company-environment h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.company-environment p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.map-container {
    margin: 30px 0;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* 学術監修顧問セクション */
.academic-advisor {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 60px;
    margin-bottom: 60px;
}

.academic-advisor h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
    font-size: 1.8rem;
    text-align: center;
}

.advisor-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.advisor-image {
    flex: 0 0 220px;
}

.advisor-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.advisor-photo:hover {
    transform: scale(1.02);
}

.advisor-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.advisor-info h4 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.advisor-quote {
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 4px solid #3498db;
    padding-left: 20px;
}

.advisor-title {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.advisor-background {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.advisor-description {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.advisor-media {
    font-size: 0.95em;
    color: #7f8c8d;
    background-color: #eef2f7;
    padding: 10px;
    border-radius: 5px;
}

.cta-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* お問い合わせセクション */
.contact {
    background-color: #eef2f7;
    padding-bottom: 80px;
}

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

.contact-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-container p {
    margin-bottom: 40px;
    color: #555;
}

.contact-form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form iframe {
    width: 100%;
    min-height: 1200px;
    border: none;
    border-radius: 10px;
}

/* 会社概要の画像 */
.company-image {
    margin: 20px 0 30px;
    text-align: center;
}

.company-overview-image {
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    display: block;
}

/* 拠点・環境とアクセスセクション */
.office-image {
    margin: 30px 0;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.office-photo {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.company-access {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.company-access h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.access-info {
    margin-bottom: 25px;
    line-height: 1.7;
}

.access-info p {
    margin-bottom: 15px;
}

.official-image {
    margin: 30px 0;
    max-width: 100%;
    text-align: center;
}

.building-photo {
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.image-caption {
    font-size: 0.85rem;
    color: #777;
    text-align: right;
    margin-top: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .office-photo,
    .building-photo {
        max-width: 100%;
    }
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

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

/* レスポンシブ対応 - 追加 */
@media (max-width: 768px) {
    .company-info {
        flex-direction: column;
    }
    
    .academic-advisor {
        padding: 20px;
    }
    
    .advisor-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .advisor-image {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .advisor-info {
        text-align: left;
        min-width: auto;
        width: 100%;
    }
    
    .contact-form iframe {
        min-height: 1300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}
