﻿


/* ===================================
   詳細ページ用ヒーローセクション
   =================================== */
.detail-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--card-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 30%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(46, 139, 87, 0.1) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .detail-hero::before { display: none; }
}

.detail-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.detail-hero-title .subtitle {
    display: block;
    font-size: clamp(18px, 3vw, 24px);
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 8px;
}

.detail-hero-description {
    font-size: 18px;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* ===================================
   統計データ - より目立つデザイン
   =================================== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--light-green) 100%);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow-medium);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-green) 100%);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px var(--shadow-medium);
    border-color: var(--primary-green);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(46, 139, 87, 0.05) 100%);
}

.stat-number {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 8px;
    display: block;
    letter-spacing: -0.02em;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--primary-green) 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover .stat-number::after {
    opacity: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-label {
    opacity: 1;
}

/* 特定の統計項目に個別のアクセントカラー */
.stat-item:nth-child(1) .stat-number {
    color: var(--accent-orange);
}

.stat-item:nth-child(2) .stat-number {
    color: var(--accent-blue);
}

.stat-item:nth-child(3) .stat-number {
    color: var(--success-green);
}

.stat-item:nth-child(4) .stat-number {
    color: var(--primary-green);
}

/* ===================================
   技術仕組みセクション
   =================================== */
.technical-mechanism {
    padding: 100px 0;
    background: var(--card-bg);
    position: relative;
}

.mechanism-overview {
    max-width: 1200px;
    margin: 0 auto;
}

/* なぜ4分30秒なのか？ セクションの改善 */
.mechanism-explanation {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--card-bg) 100%);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 60px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 12px 40px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.mechanism-explanation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.mechanism-explanation h3 {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--primary-green);
    margin-bottom: 24px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mechanism-explanation h3::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath d='M232 120C232 106.7 242.7 96 256 96s24 10.7 24 24v8c0 13.3-10.7 24-24 24s-24-10.7-24-24v-8zM256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM176 256c0-44.2 35.8-80 80-80s80 35.8 80 80-35.8 80-80 80s-80-35.8-80-80zm80-48c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z'/%3e%3c/svg%3e") no-repeat center;
    mask-size: contain;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mechanism-explanation > p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 4px 16px var(--shadow-light);
}

/* 科学的根拠セクションの改善 */
.research-basis {
    position: relative;
    z-index: 2;
}

.research-basis h4 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

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

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.research-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.research-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--primary-green) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.research-item:hover::before {
    transform: scaleX(1);
}

.research-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-green);
    box-shadow: 0 16px 40px var(--shadow-medium);
}

.research-item h5 {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.research-item:nth-child(1) h5::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath d='M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z'/%3e%3c/svg%3e") no-repeat center;
    mask-size: contain;
}

.research-item:nth-child(2) h5::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3e%3cpath d='M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z'/%3e%3c/svg%3e") no-repeat center;
    mask-size: contain;
}

.research-item:nth-child(3) h5::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath d='M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z'/%3e%3c/svg%3e") no-repeat center;
    mask-size: contain;
}

.research-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* ===================================
   制御メカニズム詳細の改善
   =================================== */
.mechanism-detail {
    background: var(--gray-light);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid var(--gray-medium);
}

.mechanism-detail h3 {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.mechanism-detail h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-green) 100%);
    border-radius: 2px;
}

/* プロセスステップの改善 */
.control-process {
    position: relative;
    margin-bottom: 48px;
}

.control-process::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--accent-green) 100%);
    border-radius: 2px;
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.3);
    border: 4px solid var(--card-bg);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(46, 139, 87, 0.4);
}

.step-content {
    flex: 1;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 4px 16px var(--shadow-light);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateX(8px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--primary-green);
}

.step-content h4 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 12px;
    font-weight: 700;
}

.step-content p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

/* 技術仕様テーブルの改善 */
.technical-specs {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 8px 24px var(--shadow-light);
}

.technical-specs h4 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-light);
}

.spec-table th,
.spec-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.spec-table th {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: white;
    font-weight: 700;
    width: 30%;
}

.spec-table td {
    color: var(--text-dark);
    background: var(--card-bg);
}

.spec-table tr:hover td {
    background: var(--light-green);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

/* ===================================
   機器構成・スペックセクション
   =================================== */
.equipment-specs {
    padding: 80px 0;
    background: var(--gray-light);
}

.equipment-overview {
    max-width: 1000px;
    margin: 0 auto;
}

.equipment-visual {
    text-align: center;
    margin-bottom: 40px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 20px 0;
}

.spec-item {
    background: var(--light-green);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
}

@media (max-width: 768px) {
  .spec-grid {
    grid-template-columns: 1fr; /* 1カラムにする */
    justify-items: center;      /* 子要素を中央寄せ */
  }
  .spec-item {
    width: 100%;                /* 幅いっぱいにしたいなら */
    max-width: 500px;           /* 中央寄せしたい枠幅を指定 */
  }
}

.spec-item h4 {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.spec-item ul {
    list-style: none;
    padding: 0;
}

.spec-item li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
    font-size: 16px;
}

.spec-item li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-size: 12px;
    line-height: 1;
}

.spec-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.spec-image {
    border-radius: 12px;
    padding: 10px;
    display: flex;
    justify-content: center; /* 水平方向中央 */
    align-items: center;     /* 垂直方向中央（高さがあるとき） */
}

.detailed-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.detailed-spec-table th,
.detailed-spec-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 16px;
}

.detailed-spec-table th {
    background: var(--light-green);
    color: var(--text-dark);
    font-weight: 600;
    width: 30%;
}

.detailed-spec-table td {
    color: var(--text-dark);
}

/* ===================================
   設置・工事詳細セクション
   =================================== */
.installation-details {
    padding: 80px 0;
    background: var(--card-bg);
}

.installation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.feature-highlight {
    background: var(--light-green);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow-medium);
}

.feature-highlight h3 {
    color: var(--primary-green);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-highlight p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 16px;
}

.installation-process {
    max-width: 1000px;
    margin: 0 auto;
}

.installation-process h3 {
    color: var(--primary-green);
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

/* プロセスタイムライン */
.process-timeline {
    position: relative;
}

.timeline-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 32px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 4px 16px var(--shadow-light);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 2px;
}

.timeline-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-content h4 {
    color: var(--primary-green);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 16px;
}

.timeline-details {
    background: var(--light-green);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    border: 1px solid var(--gray-medium);
}

.timeline-details ul {
    list-style: none;
    padding: 0;
}

.timeline-details li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
    font-size: 16px;
}

.timeline-details li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* ===================================
   電力見える化機能セクション
   =================================== */
.power-visualization {
    padding: 80px 0;
    background: var(--gray-light);
}

.visualization-overview {
    max-width: 1000px;
    margin: 0 auto;
}

.visual-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.visual-feature {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.visual-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow-medium);
}

.visual-feature h3 {
    color: var(--primary-green);
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
}

.visual-feature p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 16px;
}

.data-examples {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 4px 24px var(--shadow-light);
}

.data-examples h3 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 700;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.data-category {
    background: var(--light-green);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-medium);
}

.data-category h4 {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
}

.data-category ul {
    list-style: none;
    padding: 0;
}

.data-category li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
    font-size: 16px;
}

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

.sample-reports {
    border-top: 1px solid var(--gray-medium);
    padding-top: 32px;
}

.sample-reports h4 {
    color: var(--primary-green);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.report-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* ===================================
   業種別詳細事例セクション（スッキリデザイン）
   =================================== */
.industry-cases {
    padding: 100px 0;
    background: var(--card-bg);
    position: relative;
}

.industry-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--card-bg) 100%);
    z-index: 1;
}

.industry-cases .container {
    position: relative;
    z-index: 2;
}

/* タブナビゲーション（シンプル化） */
.case-tabs {
    margin: 60px 0;
}

.case-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
    background: var(--light-green);
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--gray-medium);
}

.case-tab-button {
    padding: 12px 20px;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

/* 業種別アイコンの追加 */
.case-tab-button[data-case="medical"]::after {
    content: '\f0fa'; /* fas fa-user-md */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.case-tab-button[data-case="manufacturing"]::after {
    content: '\f1b3'; /* fas fa-industry */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.case-tab-button[data-case="commercial"]::after {
    content: '\f54e'; /* fas fa-store */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.case-tab-button[data-case="office"]::after {
    content: '\f1ad'; /* fas fa-building */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.case-tab-button[data-case="hotel"]::after {
    content: '\f236'; /* fas fa-bed */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.case-tab-button.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.case-tab-button:hover:not(.active) {
    border-color: var(--primary-green);
    background: rgba(46, 139, 87, 0.05);
}

/* タブコンテンツエリア（シンプル化） */
.case-tab-content {
    display: none;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 4px 16px var(--shadow-light);
}

.case-tab-content.active {
    display: block;
}

/* ケース詳細ヘッダー（シンプル化） */
.case-detail h3 {
    color: var(--primary-green);
    font-size: clamp(20px, 4vw, 28px);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    padding: 16px;
    background: var(--light-green);
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
}

/* 概要グリッド（シンプル化） */
.case-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.case-info,
.case-results {
    background: var(--light-green);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-medium);
}

.case-info h4,
.case-results h4 {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-info h4::before {
    content: '\f1ad'; /* fas fa-building */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1em;
}

.case-results h4::before {
    content: '\f200'; /* fas fa-chart-bar */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1em;
}

/* テーブルデザイン（シンプル化） */
.case-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.case-table th,
.case-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 16px;
}

.case-table th {
    background: var(--primary-green);
    color: white;
    font-weight: 600;
    width: 35%;
}

.case-table td {
    color: var(--text-dark);
    font-weight: 500;
}

.case-table tr:last-child th,
.case-table tr:last-child td {
    border-bottom: none;
}

/* メトリクス表示（シンプル化） */
.result-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.metric {
    text-align: center;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px 16px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.metric-value {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 800;
    margin-bottom: 6px;
    display: block;
    color: var(--primary-green);
}

.metric:nth-child(1) .metric-value {
    color: var(--accent-orange);
}

.metric:nth-child(2) .metric-value {
    color: var(--primary-green);
}

.metric:nth-child(3) .metric-value {
    color: var(--accent-blue);
}

.metric-label {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    opacity: 0.8;
}

/* 課題と解決策エリア（シンプル化） */
.case-details {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--gray-medium);
}

.case-details h4 {
    color: var(--primary-green);
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.challenge-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.challenge,
.solution {
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--gray-medium);
}

.challenge {
    background: #FFEBEE;
    border-color: #F44336;
}

.solution {
    background: #E8F5E8;
    border-color: var(--success-green);
}

.challenge h5 {
    color: #D32F2F;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.challenge h5::before {
    content: '\f071'; /* fas fa-exclamation-triangle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1em;
}

.solution h5 {
    color: var(--success-green);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution h5::before {
    content: '\f058'; /* fas fa-check-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1em;
}

.challenge ul,
.solution ul {
    list-style: none;
    padding: 0;
}

.challenge li,
.solution li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.5;
}

.challenge li::before {
    content: '\f00d'; /* fas fa-times */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: #F44336;
}

.solution li::before {
    content: '\f00c'; /* fas fa-check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--success-green);
}

/* ===================================
   ROI計算セクション
   =================================== */
.roi-calculation {
    padding: 80px 0;
    background: var(--gray-light);
}

.roi-overview {
    max-width: 1000px;
    margin: 0 auto;
}

.roi-formula {
    text-align: center;
    margin-bottom: 60px;
}

.roi-formula h3 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 700;
}

.formula-box {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 4px 24px var(--shadow-light);
}

.formula {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.numerator {
    color: var(--primary-green);
}

.denominator {
    color: var(--accent-orange);
}

/* ===================================
   CO2削減・SDGsセクション
   =================================== */
.co2-sdgs {
    padding: 80px 0;
    background: var(--card-bg);
}

/* ===================================
   FAQセクション
   =================================== */
.faq {
    padding: 80px 0;
    background: var(--gray-light);
}

.faq-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--gray-medium);
    box-shadow: 0 4px 16px var(--shadow-light);
}

.faq-category h3 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 16px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-question i {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px 0 0;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 20px 20px 0;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
}

/* ===================================
   競合比較セクション
   =================================== */
.competitor-comparison {
    padding: 80px 0;
    background: var(--card-bg);
}

.comparison-table-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 24px var(--shadow-light);
    border: 1px solid var(--gray-medium);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 16px;
}

.comparison-table th {
    background: var(--light-green);
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.comparison-table td {
    color: var(--text-dark);
    text-align: center;
}

.comparison-table .esco-column {
    background: var(--primary-green);
    color: var(--dark-green); /* 白から濃い緑色に変更 */
    font-weight: 600;
}

.comparison-table .highlight {
    background: rgba(46, 139, 87, 0.1);
    font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .case-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .challenge-solution {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .spec-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .stat-item {
        padding: 24px 16px;
    }
    
    .mechanism-explanation {
        padding: 32px 24px;
    }
    
    .mechanism-explanation h3 {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .control-process::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin: 0 auto;
    }
    
    .process-step:hover .step-content {
        transform: translateY(-4px);
    }
    
    .case-tab-nav {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 8px;
    }
    
    .case-tab-button {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    .case-tab-content {
        padding: 24px;
    }
    
    .result-metrics {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .metric {
        padding: 16px 12px;
    }
    
    .case-details {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 20px 12px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .mechanism-explanation {
        padding: 24px 16px;
    }
    
    .research-item {
        padding: 24px;
    }
    
    .mechanism-detail {
        padding: 32px 24px;
    }
    
    .case-tab-content {
        padding: 20px 16px;
    }
    
    .case-info,
    .case-results {
        padding: 20px;
    }
    
    .challenge,
    .solution {
        padding: 20px;
    }
    
    .result-metrics {
        grid-template-columns: 1fr;
    }
}

/* アニメーション効果の追加 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.research-item {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.research-item:nth-child(1) { animation-delay: 0.2s; }
.research-item:nth-child(2) { animation-delay: 0.4s; }
.research-item:nth-child(3) { animation-delay: 0.6s; }

.process-step {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.5s; }
.process-step:nth-child(4) { animation-delay: 0.7s; }

.metric {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.metric:nth-child(1) { animation-delay: 0.1s; }
.metric:nth-child(2) { animation-delay: 0.2s; }
.metric:nth-child(3) { animation-delay: 0.3s; }

.challenge,
.solution {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.challenge { animation-delay: 0.2s; }
.solution { animation-delay: 0.4s; }