/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.sub-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.interview-date {
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* イントロ部分 */
.intro {
    background: white;
    padding: 50px 0;
    border-bottom: 3px solid #e8f0fe;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    padding: 30px;
    background: #f8fbff;
    border-radius: 12px;
    border-left: 5px solid #4a7bc8;
}

.intro-text strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* ヒーロー部分 */
.hero {
    background: white;
    padding: 80px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.profile-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    position: relative;
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-name {
    font-size: 2.2rem;
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 600;
}

.profile-title {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 8px;
}

.profile-experience {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 20px;
}

.profile-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.highlight-tag {
    background: linear-gradient(135deg, #2c5aa0, #4a7bc8);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* メインコンテンツ */
.main-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
    max-width: 100%;
}

/* インタビュー記事 */
.interview-article {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    min-width: 0;
}

.interview-section {
    margin-bottom: 60px;
}

.interview-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e8f0fe;
    font-weight: 600;
    word-wrap: break-word;
}

/* Q&Aブロック */
.qa-block {
    margin-bottom: 35px;
}

.qa-block:last-child {
    margin-bottom: 0;
}

.question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: #f0f7ff;
    border-left: 4px solid #4a7bc8;
    border-radius: 0 8px 8px 0;
    word-wrap: break-word;
}

.answer {
    margin-left: 20px;
}

.interview-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    word-wrap: break-word;
}

.interview-text:last-child {
    margin-bottom: 0;
}

.interview-text strong {
    color: #2c5aa0;
    font-weight: 600;
}

.special-note {
    font-size: 0.95rem;
    color: #4a7bc8;
    font-style: italic;
    margin-top: 10px;
    padding: 10px;
    background: #f8fbff;
    border-radius: 6px;
}

/* インタビュー写真 */
.interview-photo {
    margin: 40px 0;
    text-align: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.interview-photo img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.interview-photo.tech-photo img {
    height: 250px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 15px;
}

.photo-caption {
    padding: 20px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    background: #f8fbff;
    border-top: 2px solid #e8f0fe;
}

.photo-caption small {
    color: #4a7bc8;
    font-style: italic;
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* サイドバー */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.company-info-card,
.strengths-card,
.services-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #4a7bc8;
    word-wrap: break-word;
    min-width: 250px;
}

.card-title {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 会社情報カード */
.company-name {
    font-size: 1.2rem;
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 600;
    word-wrap: break-word;
    line-height: 1.4;
}

.company-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.company-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.service-area,
.office-info,
.contact-info {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.service-area:first-of-type {
    border-top: none;
    padding-top: 0;
}

.service-area h6,
.office-info h6,
.contact-info h6 {
    font-size: 1rem;
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info .phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
}

.contact-info a {
    color: #4a7bc8;
    text-decoration: none;
    word-break: break-all;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 強みとサービスのリスト */
.strengths-list,
.services-list {
    list-style: none;
}

.strengths-list li,
.services-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.strengths-list li::before,
.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a7bc8;
    font-weight: bold;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.company-info-with-mascot {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.company-text {
    flex: 1;
}

.footer-company h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4a7bc8;
}

.footer-company p {
    line-height: 1.6;
    color: #bdc3c7;
}

.mascot-character {
    text-align: center;
    flex-shrink: 0;
}

.mascot-character img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: brightness(1.1);
}

.mascot-name {
    font-size: 0.7rem;
    color: #4a7bc8;
    font-weight: 600;
    margin: 0;
}

.footer-contact h6 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #4a7bc8;
}

.footer-contact p {
    margin-bottom: 8px;
    color: #bdc3c7;
}

.emergency-phone {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e74c3c !important;
    margin: 10px 0 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .sub-title {
        font-size: 1.4rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .profile-image {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }
    
    .interview-photo {
        margin: 30px 0;
    }
    
    .interview-photo img {
        height: 250px;
    }
    
    .interview-photo.tech-photo img {
        height: 200px;
    }
    
    .photo-caption {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .interview-article {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .question {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .answer {
        margin-left: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .company-info-with-mascot {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .mascot-character img {
        width: 70px;
        height: 70px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .interview-photo {
        margin: 25px 0;
    }
    
    .interview-photo img {
        height: 200px;
    }
    
    .interview-photo.tech-photo img {
        height: 160px;
    }
    
    .photo-caption {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .interview-article {
        padding: 20px;
    }
    
    .company-info-card,
    .strengths-card,
    .services-card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .question {
        font-size: 0.95rem;
    }
    
    .interview-text {
        font-size: 1rem;
    }
    
    .company-info-with-mascot {
        gap: 15px;
    }
    
    .mascot-character img {
        width: 60px;
        height: 60px;
    }
    
    .mascot-name {
        font-size: 0.6rem;
    }
} 