/* ========================================
   グローバルスタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-blue: #1e5a9e;
    --primary-orange: #ff6b35;
    --dark-blue: #0d2f5a;
    --light-blue: #e8f2fb;
    --accent-orange: #ff8c5a;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-section: #f5f7fa;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* フォント */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
}

body {
    font-family: var(--font-jp);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   ヘッダー
======================================== */
.press-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 30px 0;
    box-shadow: var(--shadow-medium);
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.press-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.press-date {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.company-names {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.company-names .separator {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 16px;
}

/* ========================================
   メインビジュアル
======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(255, 107, 53, 0.05) 50%, var(--bg-white) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 90, 158, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(30px);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.logo-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.lab-logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
}

.main-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.title-main {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark-blue);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.title-sub {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: 0.01em;
}

.hero-tagline {
    font-size: 18px;
    color: var(--text-medium);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   リード文
======================================== */
.lead-section {
    background-color: var(--bg-white);
    padding: 60px 0;
}

.lead-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-orange);
    padding-left: 24px;
    background: var(--bg-section);
    padding: 24px 24px 24px 28px;
    border-radius: 8px;
}

.lead-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ========================================
   セクション共通
======================================== */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--bg-section);
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 2px;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.body-text {
    font-size: 17px;
    line-height: 2;
    color: var(--text-medium);
}

.body-text .highlight {
    background: linear-gradient(transparent 60%, rgba(255, 107, 53, 0.3) 60%);
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   ラボ概要
======================================== */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.overview-item {
    background: var(--bg-white);
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.overview-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.overview-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.8;
}

.overview-value .en-text {
    font-size: 13px;
    color: var(--text-light);
    font-family: var(--font-en);
    display: block;
    margin-top: 4px;
}

/* ========================================
   コスト削減
======================================== */
.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 50px;
    font-weight: 500;
}

/* インフォグラフィック */
.infographic-container {
    max-width: 1100px;
    margin: 0 auto 60px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.infographic-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.infographic-image:hover {
    transform: scale(1.02);
}

/* コスト比較カード */
.cost-comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.comparison-card.traditional {
    border-color: #e0e0e0;
}

.comparison-card.traditional .card-header {
    background: linear-gradient(135deg, #6a6a6a 0%, #4a4a4a 100%);
}

.comparison-card.modern {
    border-color: var(--primary-orange);
}

.comparison-card.modern .card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.card-header {
    padding: 32px 32px 28px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.card-icon {
    font-size: 48px;
    opacity: 0.9;
}

.card-body {
    padding: 40px 32px;
}

.cost-display {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-section);
    border-radius: 12px;
}

.cost-display.highlight {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.2) 100%);
    border: 2px solid var(--primary-orange);
}

.cost-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark-blue);
    display: block;
    line-height: 1.2;
}

.cost-display.highlight .cost-value {
    color: var(--primary-orange);
}

.cost-range {
    font-size: 20px;
    color: var(--text-medium);
    font-weight: 600;
    display: block;
    margin-top: 8px;
}

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

.feature-list li {
    font-size: 16px;
    color: var(--text-medium);
    padding: 14px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 900;
}

.comparison-card.modern .feature-list li::before {
    content: '✓';
    color: var(--primary-orange);
    font-size: 20px;
}

.card-footer {
    padding: 20px 32px;
    background: var(--bg-section);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-medium);
}

.card-footer.success {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1) 0%, rgba(46, 213, 115, 0.2) 100%);
    color: #27ae60;
}

/* ========================================
   提供サービス
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border-top: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-heavy);
    border-top-color: var(--primary-orange);
}

.service-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--light-blue);
    font-family: var(--font-en);
    margin-bottom: 16px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.service-list li {
    font-size: 15px;
    color: var(--text-medium);
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.7;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 18px;
}

/* ========================================
   両社の役割
======================================== */
.roles-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.role-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.role-company {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 24px;
    line-height: 1.6;
}

.role-list {
    list-style: none;
    text-align: left;
}

.role-list li {
    font-size: 16px;
    color: var(--text-medium);
    padding: 14px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.role-list li:last-child {
    border-bottom: none;
}

.role-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-size: 12px;
}

.role-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.connector-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--accent-orange) 100%);
    color: white;
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
}

.connector-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-medium);
    white-space: nowrap;
}

/* ========================================
   代表者コメント
======================================== */
.comments-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.comment-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.comment-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 24px 32px;
}

.comment-company {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0.95;
}

.comment-name {
    font-size: 18px;
    font-weight: 700;
}

.comment-body {
    padding: 32px;
}

.comment-body p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-medium);
    position: relative;
    padding-left: 24px;
}

.comment-body p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 48px;
    color: var(--primary-orange);
    font-family: Georgia, serif;
    opacity: 0.3;
}

/* ========================================
   今後の展開
======================================== */
.future-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.future-list li {
    font-size: 18px;
    color: var(--text-medium);
    padding: 20px 0;
    padding-left: 48px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.8;
}

.future-list li:last-child {
    border-bottom: none;
}

.future-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-size: 20px;
}

.future-list strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ========================================
   会社概要
======================================== */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
}

.company-info-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-medium);
}

.company-info-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-orange);
}

.company-info-table {
    width: 100%;
}

.company-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.company-info-table tr:last-child {
    border-bottom: none;
}

.company-info-table th,
.company-info-table td {
    padding: 16px 0;
    text-align: left;
    vertical-align: top;
}

.company-info-table th {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-medium);
    width: 100px;
}

.company-info-table td {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ========================================
   お問い合わせ
======================================== */
.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
}

.contact-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: 0.02em;
}

.contact-company {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.contact-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    width: 100%;
}

.contact-detail {
    font-size: 18px;
    margin: 8px 0;
    color: white;
}

@media (max-width: 768px) {
    .contact-detail {
        font-size: 16px;
    }
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 32px 0;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 13px;
    opacity: 0.8;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 992px) {
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .role-connector {
        flex-direction: row;
    }
    
    .connector-icon {
        transform: rotate(90deg);
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .title-main {
        font-size: 32px;
    }
    
    .title-sub {
        font-size: 20px;
    }
    
    .hero-tagline {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .lead-text {
        font-size: 16px;
        padding: 20px;
    }
    
    .infographic-container {
        padding: 20px;
        margin-bottom: 40px;
    }

    .cost-comparison-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-header {
        padding: 24px 20px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .card-title {
        font-size: 19px;
    }

    .card-icon {
        font-size: 40px;
    }

    .card-body {
        padding: 28px 20px;
    }

    .cost-value {
        font-size: 36px;
    }

    .cost-range {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .company-info-card {
        padding: 32px 24px;
    }
    
    .contact-box {
        padding: 32px 24px;
    }
    
    .comment-header,
    .comment-body {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .press-header {
        padding: 20px 0;
    }
    
    .press-date {
        font-size: 20px;
    }
    
    .company-names {
        font-size: 12px;
        flex-direction: column;
        gap: 8px;
    }
    
    .company-names .separator {
        display: none;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .title-main {
        font-size: 26px;
    }
    
    .title-sub {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cost-amount {
        font-size: 32px;
    }
    
    .cost-range {
        font-size: 20px;
    }
    
    .service-number {
        font-size: 36px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .company-info-table th {
        font-size: 12px;
        width: 80px;
    }
    
    .company-info-table td {
        font-size: 14px;
    }
}

/* ========================================
   印刷用スタイル
======================================== */
@media print {
    body {
        background: white;
    }
    
    .section {
        page-break-inside: avoid;
        background: white !important;
    }
    
    .press-header {
        background: white;
        color: var(--text-dark);
        border-bottom: 2px solid var(--border-color);
    }
    
    .hero-section {
        background: white;
    }
    
    .cost-box,
    .service-card,
    .role-card,
    .comment-card,
    .company-info-card,
    .contact-box {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
    
    .cost-after {
        background: white;
        color: var(--text-dark);
    }
    
    .contact-box {
        background: white;
        color: var(--text-dark);
    }
    
    .comment-header {
        background: white;
        color: var(--text-dark);
        border-bottom: 2px solid var(--border-color);
    }
    
    @page {
        margin: 2cm;
    }
}