/* Home Page Styles */

/* Tech Showcase Section */
.tech-showcase {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-showcase-content {
    text-align: center;
}

.tech-showcase-intro {
    margin-bottom: 60px;
}

.tech-showcase-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 20px;
}

.tech-showcase-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto;
}

.tech-showcase-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech-highlight {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.tech-highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tech-highlight-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.tech-highlight-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 10px;
}

.tech-highlight-text {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
}

.tech-showcase-cta {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .tech-showcase-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-highlight {
        padding: 30px 25px;
    }
    
    .tech-showcase-title {
        font-size: 1.8rem;
    }
}

/* Fullscreen Hero */
.fullscreen-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2471a3 0%, #1a2b3c 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'),
        linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(26, 43, 60, 0.9) 100%);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.fullscreen-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-text-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-main-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: #2471a3; /* さらに濃い青色でコントラスト比を改善 - WCAG AA対応 */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a2b3c;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: #333; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Service Section */
.service-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.service-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.service-section .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.service-section .section-header .section-subtitle {
    font-size: 1rem;
    color: #666;
}

.service-intro {
    text-align: center;
    margin-bottom: 80px;
}

.service-diagram {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.diagram-circle {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.diagram-item {
    position: absolute;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.diagram-item:hover {
    transform: scale(1.05);
}

.diagram-item-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2471a3, #1a5276);
    color: white;
}

.diagram-item-2 {
    bottom: 60px;
    left: 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.diagram-item-3 {
    bottom: 60px;
    right: 0;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.diagram-content h4 {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-header {
    margin-bottom: 20px;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 5px;
}

.service-card-subtitle {
    color: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-card-description {
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-details {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.service-card-details.active .detail-list {
    display: block;
}

.detail-title {
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 15px;
}

.detail-list {
    list-style: none;
    margin-bottom: 20px;
}

.detail-list li {
    padding: 5px 0;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    position: relative;
    padding-left: 20px;
}

.detail-list li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #2471a3; /* より濃い青色でコントラスト比を改善 */
}

.btn-expand {
    background: none;
    border: none;
    color: #2471a3; /* より濃い青色でコントラスト比を改善 */
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

/* Case Section */
.case-section {
    padding: 100px 0;
    background: white;
}

.case-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.case-section .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.case-section .section-header .section-subtitle {
    font-size: 1rem;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
}

.case-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    margin-bottom: 60px;
}

.case-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.case-showcase-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-showcase-item:hover {
    transform: translateY(-5px);
}

.case-showcase-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-showcase-item:hover .case-showcase-image img {
    transform: scale(1.05);
}

.case-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.case-showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.case-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.case-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.case-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.case-more {
    text-align: center;
}

/* News/Tech Section */
.news-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.news-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.news-section .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.news-section .section-header .section-subtitle {
    font-size: 1rem;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.tech-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2471a3;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 8px 0;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    position: relative;
    padding-left: 20px;
}

.tech-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2471a3; /* より濃い青色でコントラスト比を改善 */
}

.tech-note {
    text-align: center;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Dual Section */
.dual-section {
    background: linear-gradient(135deg, #1a2b3c 0%, #2c3e50 100%);
    color: white;
}

.dual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.dual-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

.dual-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dual-item:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dual-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.dual-subtitle {
    color: #85C1E9; /* dual sectionは背景が暗いので明るい色に調整 */
    margin-bottom: 20px;
    font-size: 14px;
}

.dual-text {
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
    color: white;
    text-align: center;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.download-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    /* opacityを削除してコントラスト比を改善 */
}

.download-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    /* opacityを削除してコントラスト比を改善 */
}

.support-features {
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-list li {
    font-weight: 600;
    /* opacityを削除してコントラスト比を改善 */
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.seo-box {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-text h2 {
    font-size: 1.5rem;
    color: #1a2b3c;
    margin-bottom: 20px;
    text-align: center;
}

.seo-text p {
    line-height: 1.8;
    color: #444; /* より濃い色でコントラスト比を改善 - WCAG AA対応 */
    text-align: justify;
}

.info-table {
    max-width: 1160px;
    margin: 0 auto;
}

.info-table table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.info-table table tr {
    border-bottom: 1px solid #ddd;
}

.info-table table th {
    font-weight: 500;
    text-align: left;
    padding: 20px;
    vertical-align: middle;
    width: 25%;
    background-color: #f8f9fa;
}

.info-table table td {
    padding: 20px;
    vertical-align: middle;
}

.info-table table a {
    color: #1a2b3c;
    font-weight: bold;
    transition: all 0.3s ease;
}

.info-table table a:hover {
    color: #2471a3; /* より濃い青色でコントラスト比を改善 */
}

.c-nap h3 {
    font-size: 1.45rem;
    border-bottom: 2px solid #2471a3;
    margin-bottom: 20px;
    padding-bottom: 5px;
    color: #1a2b3c;
}

.section-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-text {
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Additional Utility Classes */
.u-mt60 {
    margin-top: 60px !important;
}

.u-pt40 {
    padding-top: 40px !important;
}

.u-mb20 {
    margin-bottom: 20px !important;
}

/* Button Styles */
.c-btn {
    text-align: center;
}

.c-btn-anchor {
    background: #1a2b3c;
    color: #fff !important;
    display: inline-block;
    font-weight: bold;
    padding: 15px 20px;
    position: relative;
    text-decoration: none;
    transition: 0.2s;
    max-width: 500px;
    width: 30%;
    border-radius: 4px;
}

.c-btn-anchor:hover {
    background: #2471a3; /* より濃い青色でコントラスト比を改善 */
    text-decoration: none;
}

/* Feature List Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .dual-container {
        grid-template-columns: 1fr;
    }
    
    .dual-item:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feature-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .case-showcase {
        grid-template-columns: 1fr;
    }
    
    .seo-section {
        padding: 60px 20px;
    }
    
    .seo-box {
        padding: 0 20px;
    }
    
    .seo-text h2 {
        font-size: 1.3rem;
        text-align: left;
    }
    
    .seo-text p {
        text-align: left;
    }
    
    .c-nap {
        padding: 0 20px;
    }
    
    .c-nap h3 {
        font-size: 1.2rem;
        margin: 0 0 20px 0;
    }
    
    .info-table {
        padding: 0 20px;
    }
    
    .info-table table th {
        display: block;
        padding: 20px 20px 5px 20px;
        width: 100%;
    }
    
    .info-table table td {
        display: block;
        padding: 5px 20px 20px 20px;
    }
    
    /* Button responsive */
    .c-btn-anchor {
        width: 90%;
    }
}