/* ========================================
   基本設定
======================================== */
:root {
    --primary-color: #0066b3;
    --secondary-color: #003d6b;
    --accent-color: #ff6600;
    --accent-light: #ff8533;
    --accent-dark: #cc5200;
    --text-color: #333;
    --text-light: #666;
    --bg-gray: #f5f5f5;
    --bg-light-gray: #f8f9fa;
    --bg-light: #fafafa;
    --bg-orange-light: #fff5ed;
    --border-color: #ddd;
    --white: #fff;
    --danger: #e74c3c;
    --warning: #f39c12;
    --success: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

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

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    transition: opacity 0.3s;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo a:hover img {
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 15px 30px;
    align-items: center;
    max-width: 900px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

.nav-contact {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.3s;
}

.nav-contact::after {
    display: none;
}

.nav-contact:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* ========================================
   メインビジュアル
======================================== */
.hero {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
}

.hero .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 60px;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-text-box {
    padding: 20px 45px 20px 45px;
    background: rgba(255, 255, 255, 0.75);
    border-left: 6px solid var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
}

.hero-category {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.sp-br {
    display: none;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

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

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-gray);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 18px 60px;
    font-size: 18px;
}

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

.section-gray {
    background: var(--bg-light-gray);
}

.section-orange {
    background: var(--bg-orange-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 1.8;
}

/* ========================================
   サービス概要
======================================== */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.overview-text h3 {
    font-size: 26px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-left: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.overview-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: calc(100% - 10px);
    background: var(--accent-color);
    border-radius: 2px;
}

.overview-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.overview-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.15);
    transform: translateY(-3px);
}

.feature-item i {
    font-size: 36px;
    color: var(--accent-color);
}

.feature-item span {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
}

/* 横並びのアイコン */
.overview-features-horizontal {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature-item-horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
    flex: 1;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-item-horizontal:hover {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.15);
    transform: translateY(-3px);
}

.feature-item-horizontal i {
    font-size: 28px;
    color: var(--accent-color);
}

.feature-item-horizontal span {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.overview-image a {
    display: block;
}

.demo-link {
    text-align: center;
    margin-top: 15px;
}

.demo-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.demo-link a:hover {
    color: var(--secondary-color);
}

.demo-link i {
    font-size: 14px;
}

/* ========================================
   教育現場の課題
======================================== */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.challenge-card {
    background: var(--white);
    padding: 25px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--danger);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.15);
}

.challenge-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--danger), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.challenge-icon i {
    font-size: 24px;
    color: var(--white);
}

.challenge-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--danger);
}

.challenge-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color);
}

/* ========================================
   システムの特徴（課題と解決策の統合）
======================================== */
.challenge-solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.challenge-solution-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    align-items: stretch;
    transition: all 0.3s ease;
    min-height: 120px;
}

.challenge-solution-item:hover {
    box-shadow: none;
    transform: none;
}

.challenge-side,
.solution-side {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.challenge-side:hover,
.solution-side:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.challenge-icon-small {
    width: 40px;
    height: 40px;
    background: var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.challenge-icon-small i {
    font-size: 20px;
    color: var(--white);
}

.solution-side .feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-side .feature-icon i {
    font-size: 20px;
    color: var(--white);
}

.challenge-content,
.solution-content {
    flex: 1;
    text-align: left;
}

.challenge-content h4,
.solution-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--secondary-color);
}

.challenge-content p,
.solution-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.arrow-triangle {
    font-size: 40px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-triangle i {
    filter: drop-shadow(2px 0 3px rgba(255, 102, 0, 0.2));
}
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 19px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   比較セクション
======================================== */
.comparison-section {
    background: var(--bg-light);
}

/* ========================================
   比較セクション
======================================== */
.comparison-section {
    background: var(--bg-light);
}

.comparison-table-with-images {
    max-width: 950px;
    margin: 40px auto 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: #e9ecef;
    color: var(--text-color);
}

.comparison-table th {
    padding: 18px 15px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    vertical-align: middle;
}

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

.header-image {
    width: 90px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.comparison-table thead .highlight-col {
    background: rgba(255, 102, 0, 0.08);
    color: var(--text-color);
}

.comparison-table td {
    padding: 20px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 22px;
    font-weight: 700;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .row-header {
    background: var(--white);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    padding-left: 20px;
    white-space: nowrap;
}

.comparison-table .highlight-col {
    background: rgba(255, 102, 0, 0.05);
    color: #495057;
    font-weight: 700;
}

.comparison-table .sub-text {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 5px;
}

.comparison-table-wrapper {
    margin: 50px 0;
    text-align: center;
}

.comparison-table-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-devices {
    margin-top: 60px;
}

.comparison-devices-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.device-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

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

.device-card h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.device-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.device-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* ========================================
   メリット
======================================== */
.benefits-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.benefit-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 48px;
    color: var(--accent-color);
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.benefit-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   システム構成
======================================== */
.system-config-image {
    margin: 50px 0;
    text-align: center;
}

.system-config-image img {
    max-width: 100%;
    height: auto;
}

.system-flow-devices p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.system-flow-wrapper {
    margin: 50px 0;
    text-align: center;
}

.system-flow-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.system-devices {
    margin-top: 60px;
}

.system-devices-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

.system-devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.system-device-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

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

.system-device-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.system-device-card h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.system-device-card p {
    color: var(--text-light);
    font-size: 14px;
}

.system-features-note {
    max-width: 800px;
    margin: 40px auto 0;
}

.system-features-note .system-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.system-features-note .system-feature-item i {
    font-size: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.system-features-note .system-feature-item span {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* システム画面イメージ */
.screen-toggle-container {
    max-width: 900px;
    margin: 50px auto 10px auto;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.screen-image-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    flex: 1;
    max-width: 800px;
}

.screen-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.btn-screen-arrow {
    background: #6c757d;
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-screen-arrow:hover {
    background: #5a6268;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

.btn-screen-prev {
    order: -1;
}

.btn-screen-next {
    order: 1;
}

.screen-caption {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: -10px 0 20px 0;
    text-align: center;
}

.demo-link-box {
    text-align: center;
    margin: 30px 0;
}

.demo-link-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.demo-link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.4);
}

.demo-link-button i:first-child {
    font-size: 20px;
}

.demo-link-button i:last-child {
    font-size: 14px;
}

.system-screens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.screen-image-card {
    transition: all 0.3s ease;
}

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

.screen-image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.screen-caption {
    text-align: center;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.system-features-list {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.system-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.system-feature-item:hover {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.system-feature-item i {
    font-size: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.system-feature-item span {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

.system-image-wrapper {
    margin: 50px 0;
    text-align: center;
}

.system-diagram-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.system-screen-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 20px;
}

.system-screen-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.system-screens {
    max-width: 900px;
    margin: 0 auto;
}

.screen-image {
    text-align: center;
}

.screen-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.screen-caption {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.config-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.config-step {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.config-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.config-icon i {
    font-size: 28px;
    color: var(--white);
}

.config-step h4 {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.config-step p {
    font-size: 14px;
    color: var(--text-light);
}

.config-arrow {
    color: var(--accent-color);
    font-size: 24px;
}

.config-note {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.config-note i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ========================================
   活用シーン
======================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.use-case-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.use-case-image {
    height: 200px;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.use-case-content {
    padding: 30px;
}

.use-case-content h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.use-case-content h3 i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 24px;
}

.use-case-content ul {
    list-style: none;
}

.use-case-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.use-case-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ========================================
   導入事例
======================================== */
.case-study-highlight {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    border: 2px solid rgba(255, 102, 0, 0.1);
}

.case-study-header {
    text-align: center;
    margin-bottom: 40px;
}

.case-study-header h3 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.case-study-header h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.case-study-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.case-study-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* メディア紹介 */
/* メディア紹介 */
.media-intro-section {
    background: var(--white);
}

.media-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.media-category h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.media-category h3 i {
    color: var(--accent-color);
    font-size: 28px;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.media-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.media-item:hover {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.media-org {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.media-program {
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 5px;
}

.media-date {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
}

.media-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.media-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.media-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.media-date {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.media-card h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.media-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-gray);
    border-radius: 10px;
}

/* ========================================
   利用者の声セクション
======================================== */
.testimonials-section {
    /* 背景色は .section-gray から継承 */
}

/* リスト */
.testimonials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 個別アイテム */
.testimonial-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 70px;
    text-align: left;
    justify-content: flex-start;
}

.testimonial-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.testimonial-hidden {
    display: none;
}

/* アバター */
.testimonial-avatar {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 22px;
    color: var(--white);
}

/* 教諭（オレンジ） */
.testimonial-avatar.teacher {
    background: var(--accent-color);
}

/* 校長（オレンジ） */
.testimonial-avatar.principal {
    background: var(--accent-color);
}

/* 自治体職員（オレンジ） */
.testimonial-avatar.government {
    background: var(--accent-color);
}

/* コンテンツ */
.testimonial-content {
    flex: 1;
    text-align: left;
}

/* タイトル（年齢・職業） */
.testimonial-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

/* メッセージテキスト */
.testimonial-message {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* ネイビー色のテキスト強調 */
.testimonial-message .highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

/* メディア紹介（コンパクト） */
.media-compact {
    margin-top: 60px;
    padding-top: 50px;
    border-top: none;
}

/* メディアセクション */
.media-section.section {
    padding: 60px 0 80px 0;
}

.media-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 導入事例セクションの下パディングを調整 */
.case-studies.section {
    padding-bottom: 100px;
}

.media-compact h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
}

.media-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.media-compact-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.media-compact-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.media-compact-item i {
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.media-compact-item span {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.4;
}

.testimonials-image-wrapper {
    margin: 50px 0;
    text-align: center;
}

.testimonials-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.testimonial-icon i {
    font-size: 28px;
    color: var(--white);
}

.testimonial-content h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonial-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-hidden {
    display: none;
}

.testimonials-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--accent-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-more:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more.active i {
    transform: rotate(180deg);
}

/* ========================================
   料金プラン
======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.pricing-featured {
    border: 3px solid var(--accent-color);
    box-shadow: 0 6px 30px rgba(255, 102, 0, 0.15);
}

.pricing-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-title i {
    color: var(--accent-color);
    font-size: 24px;
}

.pricing-summary {
    margin-bottom: 20px;
}

.pricing-summary p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-pricing-details {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-pricing-details:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-pricing-details i {
    transition: transform 0.3s ease;
}

.btn-pricing-details.active i {
    transform: rotate(180deg);
}

.pricing-details {
    margin-top: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-category {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-category:first-child {
    margin-top: 0;
}

.pricing-category i {
    color: var(--accent-color);
    font-size: 18px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-color);
    font-size: 14px;
}

.pricing-feature i {
    color: var(--success);
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-notes {
    text-align: center;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-notes p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-notes i {
    color: var(--accent-color);
    font-size: 16px;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-gray);
}

.pricing-header h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-description {
    color: var(--text-light);
    font-size: 14px;
}

.pricing-body {
    margin-bottom: 30px;
}

.price-section {
    margin-bottom: 30px;
}

.price-section h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-gray);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.price-label {
    font-weight: 500;
    color: var(--text-color);
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.price-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-light);
}

.pricing-features i {
    color: var(--success);
    margin-right: 10px;
}

.pricing-features .no-check {
    padding-left: 28px;
}

.pricing-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
    border-left: 3px solid var(--accent-color);
}

.pricing-note i {
    color: var(--accent-color);
    margin-right: 8px;
}

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

.pricing-notes {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
}

.pricing-notes i {
    color: var(--accent-color);
    margin-right: 8px;
}

.pricing-trial {
    margin-top: 50px;
    padding: 35px 30px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-trial h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.pricing-trial h3 i {
    margin-right: 12px;
}

.pricing-trial p {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========================================
   導入の流れ
======================================== */
.process-timeline {
    max-width: 900px;
    margin: 50px auto 0;
}

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

.process-step::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.process-step h4 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.7;
}

.process-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
}

.process-note i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ========================================
   お問い合わせ
======================================== */
.contact-notice {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 40px;
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* よくある質問 */
.faq-section-wrapper {
    padding: 80px 0;
}

.faq-section-wrapper .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section {
    margin: 50px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.faq-title i {
    color: var(--accent-color);
    font-size: 30px;
}

.faq-list {
    margin-bottom: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 18px 20px;
}

.faq-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-hidden {
    display: none;
}

.faq-question-static {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.faq-q-icon {
    background: var(--accent-color);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.faq-q-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.6;
}

.faq-answer-static {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.faq-a-icon {
    background: var(--secondary-color);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.faq-answer-static p {
    flex: 1;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.8;
    margin: 5px 0 0 0;
}

/* 旧スタイルは保持（もし他で使用されている場合に備えて） */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    color: var(--accent-color);
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    display: none;
    padding: 0 25px 25px 25px;
    background: var(--bg-light);
}

.faq-answer.active {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.faq-a-icon {
    background: var(--secondary-color);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.faq-answer p {
    flex: 1;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.8;
    margin: 5px 0 0 0;
}

.faq-more {
    text-align: center;
    margin-top: 30px;
}

/* デモ・トライアルセクション */
.demo-trial-section {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 152, 0, 0.08));
    border-left: 5px solid var(--accent-color);
    padding: 30px 40px;
    border-radius: 12px;
    margin: 50px auto;
    max-width: 900px;
    text-align: center;
}

.demo-trial-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.demo-trial-section h3 i {
    font-size: 26px;
}

.demo-trial-section p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.contact-method-icon i {
    font-size: 36px;
    color: var(--white);
}

.contact-method-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-method-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-method-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    padding: 15px 25px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    word-break: break-all;
}

.contact-method-card:hover .contact-method-link {
    background: var(--accent-color);
    color: var(--white);
}

.contact-method-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 30px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
}

.contact-method-card:hover .contact-method-button {
    background: var(--accent-color);
    color: var(--white);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* ========================================
   導入事例
======================================== */
.case-study-simple {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.case-study-simple:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.case-study-simple h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.case-study-link {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-study-link i {
    font-size: 18px;
}

/* メディア活動リスト */
.media-activity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.media-activity-secondary {
    margin-top: 30px;
}

.media-activity-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.media-activity-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.media-activity-item > i {
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.media-activity-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
}

.media-activity-item a i.fa-external-link-alt {
    font-size: 14px;
    color: var(--accent-color);
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.media-activity-item a:hover {
    color: var(--accent-color);
}

.media-activity-item a:hover i.fa-external-link-alt {
    opacity: 1;
}

.media-activity-item span {
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
}

/* ========================================
   モーダル
======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--secondary-color);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .system-devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .devices-grid {
        grid-template-columns: 1fr;
    }

    .media-categories {
        grid-template-columns: 1fr;
    }

    .system-screens-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .testimonials-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ナビゲーションメニューを非表示（お問い合わせ以外） */
    .main-nav ul li {
        display: none;
    }

    /* お問い合わせだけは表示 */
    .main-nav ul li:has(.nav-contact) {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav-contact {
        width: 100%;
        text-align: center;
    }

    .hero {
        height: auto;
        min-height: 550px;
    }

    .hero-text-box {
        padding: 35px 28px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .sp-br {
        display: inline;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* システムの特徴 - スマホ表示で縦並び */
    .challenge-solution-item {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 30px;
    }

    .challenge-solution-item:first-child {
        margin-top: 0;
    }

    .challenge-side,
    .solution-side {
        width: 100%;
        margin-bottom: 0;
    }

    .arrow-triangle {
        transform: rotate(90deg);
        margin: 2px 0;
        font-size: 30px;
    }

    .overview-content {
        grid-template-columns: 1fr;
    }

    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .header-image {
        width: 70px;
    }
    
    .comparison-table th {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .comparison-table td {
        padding: 14px 8px;
        font-size: 16px;
    }
    
    .comparison-table .row-header {
        font-size: 12px;
        padding-left: 8px;
    }
    
    .table-header-content {
        gap: 6px;
    }

    .system-devices-grid {
        grid-template-columns: 1fr;
    }

    .system-screens-grid {
        grid-template-columns: 1fr;
    }

    .media-categories {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        gap: 15px;
    }

    .config-diagram {
        flex-direction: column;
    }

    .config-arrow {
        transform: rotate(90deg);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        gap: 25px;
        grid-template-columns: 1fr;
    }

    .contact-method-card {
        padding: 40px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .header-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo img {
        height: 32px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-category {
        font-size: 11px;
    }

    .hero-text-box {
        padding: 28px 22px;
        border-left-width: 4px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}