/* インタビュー記事専用スタイル */

/* プロジェクト特設サイト専用セクション */
.project-showcase-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f3ff 50%, #f0f8ff 100%);
    padding: 2.5rem 0;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.project-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(77, 81, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 111, 97, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.project-showcase-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.project-site-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.project-showcase-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(77, 81, 157, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(77, 81, 157, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(77, 81, 157, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.project-image-wrapper {
    position: relative;
}

.project-showcase-section .project-site-image-container {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(77, 81, 157, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.project-showcase-section .project-site-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(77, 81, 157, 0.3);
}

.project-showcase-section .project-site-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

.project-showcase-section .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(77, 81, 157, 0.9), rgba(255, 111, 97, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.project-showcase-section .project-site-image-container:hover .hover-overlay {
    opacity: 1;
}

.project-showcase-section .hover-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(77, 81, 157, 0.2);
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(77, 81, 157, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 8px 25px rgba(77, 81, 157, 0.2);
}

.tech-icon {
    font-size: 1.2rem;
}

.tech-name {
    font-size: 0.9rem;
}

.image-click-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.8rem;
    margin-bottom: 0;
    opacity: 0.8;
    line-height: 1.4;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .project-showcase-section {
        padding: 2rem 0;
        margin-bottom: 1rem;
    }
    
    .image-click-note {
        font-size: 0.7rem;
        margin-top: 1rem;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tech-stack {
        gap: 1rem;
    }
    
    .tech-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .project-showcase-description {
        margin-bottom: 2rem;
    }
}

/* プロジェクト詳細バッジ */
.project-details-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 0.4rem 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(77, 81, 157, 0.1);
    border: 1px solid rgba(77, 81, 157, 0.1);
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.detail-badge:hover {
    background: rgba(255, 255, 255, 1);
}

.cursor-badge {
    border-left: 4px solid #00d4aa;
}

.cursor-badge .badge-icon {
    color: #00d4aa;
}

.duration-badge {
    border-left: 4px solid #ff6b6b;
}

.duration-badge .badge-icon {
    color: #ff6b6b;
}

.engineer-badge {
    border-left: 4px solid #4ecdc4;
}

.engineer-badge .badge-icon {
    color: #4ecdc4;
}

.detail-badge .badge-icon {
    font-size: 0.9rem;
}

.detail-badge .badge-text {
    font-weight: 600;
}

@media (max-width: 480px) {
    .project-showcase-section {
        padding: 1.5rem 0;
        margin-bottom: 0.5rem;
    }
    
    .project-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .image-click-note {
        font-size: 0.65rem;
        margin-top: 0.6rem;
    }
    
    .project-stats {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .tech-stack {
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .project-details-badges {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .detail-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .detail-badge .badge-icon {
        font-size: 0.8rem;
    }
}
.article-header-image {
    padding: 1rem 0;
    text-align: center;
    background-color: var(--bg-white);
    margin-bottom: 2rem;
}

.header-catchimage {
    width: 90%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.article-title-section {
    text-align: center;
    padding: 6rem 1rem 1rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.article-category {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.article-main-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    text-align: center;
    width: 100%;
}

.article-main-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    line-height: 1.8;
}

.interviewee-section {
    background: linear-gradient(135deg, #f8faff 0%, #fff8f8 50%, #f5f8ff 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 4rem 0;
    border: 1px solid rgba(77, 81, 157, 0.08);
    box-shadow: 0 4px 16px rgba(77, 81, 157, 0.04);
    position: relative;
    overflow: hidden;
}



.interviewee-heading {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.8rem;
}

.interviewee-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.interviewee-content {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.interviewee-photo {
    text-align: center;
}

.interviewee-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 16px rgba(77, 81, 157, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interviewee-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(77, 81, 157, 0.2);
}

.interviewee-info h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.interviewee-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.interviewee-profile {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

.interview-content {
    margin-top: 0;
}

.article-bottom-meta {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.article-bottom-meta .article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

.highlight {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 111, 97, 0.3) 60%);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.question {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 3rem 0 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
}

.answer {
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.answer p {
    margin-bottom: 1.5rem;
}

.footnote {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin: 1rem 0;
    line-height: 1.6;
}

.company-info-section {
    background: rgba(248, 250, 252, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0 1rem;
    border: 1px solid rgba(77, 81, 157, 0.05);
}

.company-info-content {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.company-website {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.website-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.website-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.external-link-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.website-link:hover .external-link-icon {
    opacity: 1;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-radius: 20px;
}

.article-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.article-cta .btn {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 2px solid var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.article-cta .btn:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* 課題・解決策・効果セクション */
.solution-overview {
    margin: 2.5rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-section {
    margin-bottom: 2rem;
}

.solution-section:last-of-type {
    margin-bottom: 0;
}

.solution-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-left: 4px solid var(--accent-color);
    background: rgba(77, 81, 157, 0.03);
}

.solution-title.challenge {
    border-left-color: #ff6b6b;
}

.solution-title.solution {
    border-left-color: #4ecdc4;
}

.solution-title.result {
    border-left-color: #45b7d1;
}

.solution-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0.8rem;
}

.solution-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.solution-content li::before {
    content: '•';
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.1rem;
    flex-shrink: 0;
    color: var(--accent-color);
}

.challenge .solution-content li::before {
    color: #ff6b6b;
}

.solution .solution-content li::before {
    color: #4ecdc4;
}

.result .solution-content li::before {
    color: #45b7d1;
}

.solution-content li:last-child {
    margin-bottom: 0;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 3rem auto;
    border-radius: 1px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-header-image {
        padding: 0.8rem 0;
        margin-bottom: 1.5rem;
    }
    
    .header-catchimage {
        width: 92%;
        max-width: none;
    }
    
    .article-title-section {
        padding: 5rem 0.5rem 0.8rem;
    }
    
    .article-content {
        padding: 0 1.5rem 3rem;
    }
    
    .interviewee-section {
        padding: 1.8rem 1.5rem;
    }
    
    .interviewee-heading {
        font-size: 1.1rem;
        margin-bottom: 1.3rem;
        padding-bottom: 0.6rem;
    }
    
    .interviewee-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.2rem;
    }
    
    .interviewee-profile {
        text-align: left;
        font-size: 0.8rem;
        line-height: 1.45;
    }
    
    .interviewee-image {
        width: 130px;
        height: 130px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .question {
        font-size: 1rem;
        margin: 2rem 0 1rem 0;
    }
    
    .article-cta {
        padding: 3rem 1.5rem;
    }
    
    .article-cta h3 {
        font-size: 1.5rem;
    }
    
    .company-info-section {
        padding: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .website-label, .website-link {
        font-size: 0.85rem;
    }

    .solution-overview {
        margin: 1.8rem 0;
    }

    .solution-section {
        margin-bottom: 1.5rem;
    }

    .solution-title {
        font-size: 0.95rem;
        padding: 0.35rem 0.7rem;
    }

    .solution-content ul {
        padding-left: 0.7rem;
    }

    .solution-content li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .interviewee-section {
        padding: 1.2rem;
    }
    
    .interviewee-image {
        width: 110px;
        height: 110px;
    }
    
    .interviewee-profile {
        font-size: 0.78rem;
        line-height: 1.4;
    }
    
    .company-info-section {
        padding: 1rem;
        margin: 1rem 0 0.5rem;
    }
    
    .company-name {
        font-size: 0.95rem;
    }
    
    .website-label, .website-link {
        font-size: 0.8rem;
    }

    .solution-overview {
        margin: 1.5rem 0;
    }

    .solution-section {
        margin-bottom: 1.2rem;
    }

    .solution-title {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .solution-content li {
        font-size: 0.82rem;
        margin-bottom: 0.35rem;
        line-height: 1.3;
    }
}

/* プロジェクト特設サイトセクション */
.project-site-section {
    text-align: center;
    margin-bottom: 4rem;
}

.project-site-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.project-site-image-container {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    max-width: 600px;
    width: 100%;
}

.project-site-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-site-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-site-image-container:hover .project-site-image {
    transform: scale(1.01);
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(77, 81, 157, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.project-site-image-container:hover .hover-overlay {
    opacity: 1;
}

.hover-text {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.enlarged-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    overflow-y: auto;
    overflow-x: auto;
    padding: 5vh 15vw;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.enlarged-image-overlay.show {
    opacity: 1;
    visibility: visible;
}

.enlarged-image {
    width: 70vw;
    height: auto;
    min-height: 70vh;
    object-fit: contain;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: white;
    border: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: block;
}

.close-enlarged {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    color: white;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close-enlarged:hover {
    background: rgba(0, 0, 0, 1);
    transform: scale(1.1);
}

/* プロジェクト特設サイトセクション - モバイル対応 */
@media (max-width: 768px) {
    .project-site-heading {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-site-image-container {
        max-width: 100%;
    }
    
    .enlarged-image-overlay {
        padding: 3vh 10vw;
    }
    
    .enlarged-image {
        width: 80vw;
        height: auto;
        min-height: 60vh;
        object-fit: contain;
        object-position: top;
    }
    
    .close-enlarged {
        top: 0.5rem;
        right: 0.5rem;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .project-site-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hover-text {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .enlarged-image-overlay {
        padding: 2vh 5vw;
    }
    
    .enlarged-image {
        width: 90vw;
        height: auto;
        min-height: 50vh;
        object-fit: contain;
        object-position: top;
    }
}
