/*
Theme Name: 参謀プログラム - 共通スタイル
Description: 全ページ共通のスタイルシート
Version: 1.0.0
*/

/* 変数定義 */
:root {
    --text-color: #000;
    --bg-color1: #fff;
    --bg-color2: #fbfcfd;
    --color1: #003F73;
    --color2: #2888CC;
    --color3: #C8E8FF;
    --color4: #EDF6FF;
    --color-accent: #FFC107;
}

/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.arrow {
    font-size: .6rem;
    margin-left: 8px;
    color: var(--color1);
    background: var(--color4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 4px 8px;
    border-radius: 50%;
}

/* Header */
header {
    background: var(--bg-color1);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    padding: 0 24px;
    width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000;
}

.header-inner {
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 24px;
}

.logo img {
    height: 100%;
}

.header-nav {
    flex: 1;
    height: 100%;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    height: 100%;
    justify-content: flex-end;
}

.header-nav li {
    position: relative;
    height: 100%;
}

.header-nav a {
    font-weight: bold;
    color: var(--text-color);
    transition: color 0.3s, background 0.3s;
    padding: 0 16px;
    align-items: center;
    display: flex;
    height: 100%;
}

.header-nav a:hover {
    color: var(--color1);
    background: #f8fafc;
}

/* Slide Menu - モバイルのみ表示 */
.slide-menu-overlay,
.slide-menu {
    display: none;
}

@media (max-width: 1024px) {
    .slide-menu-overlay,
    .slide-menu {
        display: block;
    }
}

/* Hamburger Menu Toggle - PCでは非表示 */
.menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 3000;
    }
}

.menu-toggle span {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle span::before {
    top: -12px;
}

.menu-toggle span::after {
    top: 12px;
}

.menu-toggle:hover span,
.menu-toggle:hover span::before,
.menu-toggle:hover span::after {
    background: var(--color1);
}

.slide-menu.active + .menu-toggle {
    z-index: 3000;
}

.slide-menu.active + .menu-toggle span::before {
    display: none;
    transition: display 0.3s;
}

.slide-menu.active + .menu-toggle span {
    transform: rotate(45deg);
    transform-origin: center;
}

.slide-menu.active + .menu-toggle span::after {
    top: 0;
    transform: rotate(-90deg);
    transform-origin: center;
}

/* Slide Menu Overlay */
.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.slide-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Menu */
.slide-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--bg-color1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.slide-menu.active {
    right: 0;
}

.slide-menu-content {
    padding: 70px 0 30px;
}

.slide-menu-list {
    list-style: none;
}

.slide-menu-list li {
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-menu-list li a {
    display: block;
    padding: 18px 25px;
    font-size: 0.95rem;
    color: var(--text-color);
    flex: 1;
    transition: background 0.3s;
}

.slide-menu-list li a:hover {
    background: #f8fafc;
}

.expand-icon {
    padding: 18px 25px;
    color: var(--color1);
    font-size: 1.1rem;
    cursor: pointer;
}

.slide-menu-divider {
    height: 20px;
    background: #f8fafc;
}

/* ボタン */
.btn-primary,
.btn-secondary {
    color: var(--bg-color1);
    border: none;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color1);
}

.btn-secondary {
    background-color: var(--color2);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(7, 7, 7, 0.3);
}

/* 共通セクション */
section {
    padding: 64px 20px;
}

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

/* Footer */
footer {
    color: var(--bg-color1);
}

.footer-content {
    max-width: 1200px;
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4.8rem;
    margin: 0 auto;
    padding: 5.6rem 0 8rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-menu {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-right ul {
    list-style: none;
}

.footer-right li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding: .4rem 0;
    background-color: var(--color1);
    color: var(--bg-color1);
    font-size: 0.9rem;
}

/* お知らせ関連（全ページ共通） */
.news-box {
    background: #fbfcfd;
    border-radius: 20px;
    padding: 50px 60px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: inset 0 1px 2px 0 #fff, inset 0 -1px 1px 0 rgba(4, 24, 80, .2), 0 4px 16px 0 rgba(0, 30, 111, .18);
}

.news-box-narrow {
    max-width: 800px;
    padding: 40px 50px;
    margin: 0 auto;
}

.news-title {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 30px;
    font-weight: bold;
}

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

.news-item {
    border-bottom: 1px solid #e5e7eb;
}

.news-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.news-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: opacity 0.3s;
}

.news-link:hover {
    opacity: 0.7;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.news-date {
    color: #1a365d;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.news-tag:hover {
    background: #bbdefb;
    color: #0d47a1;
}

.news-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.news-category:hover {
    background: #bbdefb;
    color: #0d47a1;
}

.news-text {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.news-more a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color1);
    font-size: 0.9rem;
    font-weight: bold;
}

.news-more span {
    font-size: 0.7rem;
}

/* ページネーション */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s;
}

.page-numbers:hover {
    background: var(--color4);
    color: var(--color1);
    border-color: var(--color2);
}

.page-numbers.current {
    background: var(--color1);
    color: #fff;
    border-color: var(--color1);
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0 16px;
}

/* 旧スタイル（互換性のため維持） */
.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-item a,
.pagination-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-item a:hover {
    background: var(--color4);
    color: var(--color1);
    border-color: var(--color2);
}

.pagination-item .current {
    background: var(--color1);
    color: #fff;
    border-color: var(--color1);
}

.pagination-item .prev,
.pagination-item .next {
    padding: 0 16px;
}

/* 個別記事ページ */
.single-news {
    padding: 80px 20px;
    background: #fff;
}

.news-article {
    margin-bottom: 40px;
}

.news-article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.news-article-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a365d;
    line-height: 1.4;
    margin: 0;
}

.news-article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.news-article-content h2 {
    font-size: 1.5rem;
    color: #1a365d;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color4);
}

.news-article-content h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin: 25px 0 12px;
}

.news-article-content p {
    margin-bottom: 20px;
}

.news-article-content ul,
.news-article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.news-article-content li {
    margin-bottom: 8px;
}

.news-article-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--color2);
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.news-article-footer {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.news-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tags-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-tag-link {
    display: inline-block;
    padding: 4px 10px;
    color: #fff;
    background: var(--color2);
    border-radius: 12px;
    font-size: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-tag-link:hover {
    background: var(--color1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: #fff;
}

/* ソリューション関連スタイル - LP風レイアウト */
.solutions-archive {
    padding: 80px 20px;
    background: #fff;
}

.solutions-box {
    max-width: 1200px;
    margin: 0 auto;
}

.archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.solutions-title {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 20px;
    font-weight: bold;
}

.archive-description {
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* タイル型一覧 - LAVIE製品タイル風 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.solution-tile {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.solution-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color1), var(--color2));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-tile:hover::before {
    transform: scaleX(1);
}

.solution-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--color2);
}

.tile-icon {
    margin-bottom: 20px;
    text-align: center;
}

.tile-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.tile-icon-placeholder {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-icon-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color1);
}

.tile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tile-title {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 12px;
    font-weight: bold;
    line-height: 1.3;
}

.tile-benefit {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.tile-challenges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.challenge-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f9ff;
    color: #0369a1;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tile-action {
    margin-top: auto;
}

.tile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--color1), var(--color2));
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.tile-btn:hover {
    background: linear-gradient(135deg, var(--color2), var(--color1));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tile-btn-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.tile-btn:hover .tile-btn-arrow {
    transform: translateX(2px);
}

/* フィルタリング機能 */
.solution-filters {
    margin-bottom: 40px;
    text-align: center;
}

.filter-title {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 20px;
    font-weight: bold;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #e3f2fd;
    border-color: var(--color2);
    color: var(--color1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color1), var(--color2));
    border-color: var(--color1);
    color: #fff;
    font-weight: 600;
}

/* アニメーション用 */
.solution-tile {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.no-solutions {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
}

/* 個別ソリューションページ - サービス機能説明ページ風 */
.single-solution {
    background: #fff;
}

.solution-service {
    max-width: none;
}

/* 共通セクションスタイル */
.section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color1), var(--color2));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ヒーローセクション */
.solution-hero {
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
    text-align: center;
}

.hero-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-before,
.hero-after {
    flex: 1;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
}

.hero-label {
    font-size: 0.9rem;
    color: var(--color1);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    font-weight: 500;
}

.hero-arrow {
    font-size: 2rem;
    color: var(--color1);
    font-weight: bold;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a365d;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* 3層構造の価値提案 */
.value-proposition {
    background: #f8fafc;
}

.three-layers-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.layer-item {
    flex: 1;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.layer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.layer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.layer-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.layer-title {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 15px;
    font-weight: bold;
}

.layer-desc {
    color: #64748b;
    line-height: 1.6;
}

.layer-connector {
    font-size: 2rem;
    color: var(--color1);
    font-weight: bold;
}

/* 具体的な支援プロセス */
.support-process {
    background: #fff;
}

.process-duration {
    text-align: center;
    margin-bottom: 40px;
}

.duration-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color1), var(--color2));
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.process-timeline {
    position: relative;
    margin-top: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--color1), var(--color2));
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color1), var(--color2));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.step-content {
    flex: 1;
    padding: 30px 40px;
    background: #f8fafc;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin: 0 80px;
}

.step-title {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 15px;
    font-weight: bold;
}

.step-desc {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.deliverables h4 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 10px;
    font-weight: 600;
}

.deliverable-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deliverable-item {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: var(--color1);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 導入価格（目安） */
.pricing-section {
    background: #f8fafc;
}

.price-display {
    text-align: center;
    margin-bottom: 30px;
}

.price-label {
    display: block;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 15px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-from,
.price-to {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color1);
}

.price-separator {
    font-size: 2rem;
    color: #64748b;
    margin: 0 10px;
}

.price-unit {
    font-size: 1.5rem;
    color: var(--color1);
    font-weight: bold;
}

.price-notes {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 実績リンク */
.related-cases {
    background: #fff;
}

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

.case-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.case-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 12px;
    font-weight: bold;
}

.case-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-link {
    color: var(--color1);
    font-weight: 600;
    font-size: 0.9rem;
}

.no-cases {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.all-cases-link {
    text-align: center;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, var(--color1), var(--color2));
    color: #fff;
    text-align: center;
}

.cta-section .section-title {
    color: #fff;
}

.cta-section .section-title::after {
    background: #fff;
}

.cta-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.cta-section .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* ナビゲーション */
.solution-navigation {
    background: #f8fafc;
    padding: 60px 20px;
    border-top: 1px solid #e5e7eb;
}

.solution-nav-links {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.solution-nav-prev,
.solution-nav-next {
    display: flex;
    align-items: center;
}

.solution-nav-prev {
    justify-content: flex-start;
}

.solution-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.solution-nav-prev a,
.solution-nav-next a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color1);
    font-weight: 600;
    text-decoration: none;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.solution-nav-prev a:hover,
.solution-nav-next a:hover {
    color: var(--color2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 戻るリンク */
.solution-back-link {
    text-align: center;
    padding: 40px 20px 80px;
}

.news-navigation {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.news-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-nav-prev,
.news-nav-next {
    display: flex;
    align-items: center;
}

.news-nav-prev {
    justify-content: flex-start;
}

.news-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.news-nav-prev a,
.news-nav-next a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color1);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.news-nav-prev a:hover,
.news-nav-next a:hover {
    color: var(--color2);
}

.news-back-link {
    text-align: center;
    margin-top: 30px;
}

.news-back-link .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* レスポンシブ */
@media (max-width: 1200px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }
    .header-inner {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .layer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .before-after {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .solution-tile {
        padding: 16px;
        min-height: 200px;
    }
    
    .tile-icon-img {
        width: 48px;
        height: 48px;
    }
    
    .tile-icon-placeholder {
        width: 48px;
        height: 48px;
    }
    
    .tile-icon-text {
        font-size: 1rem;
    }
    
    .tile-title {
        font-size: 0.95rem;
    }
    
    .tile-benefit {
        font-size: 0.8rem;
    }
    
    .tile-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .filter-buttons {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
    section {
        padding: 80px 16px;
    }
    
    .container {
        max-width: 100%;
    }
    
    .news-box {
        padding: 24px;
        border-radius: 16px;
    }
    
    .news-box-narrow {
        padding: 30px 24px;
        max-width: 100%;
    }
    
    .news-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .news-category {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .news-tag-link {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .news-link {
        flex-wrap: wrap;
    }
    
    .news-meta {
        width: 100%;
    }
    
    .news-text {
        width: 100%;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .pagination-item a,
    .pagination-item span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .solutions-box {
        padding: 30px 24px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-box {
        padding: 30px 24px;
    }
    
    .solution-article-title {
        font-size: 1.6rem;
    }
    
    .solution-article-content {
        font-size: 0.95rem;
    }
    
    .solution-article-content h2 {
        font-size: 1.3rem;
    }
    
    .solution-article-content h3 {
        font-size: 1.1rem;
    }
    
    .solution-nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .solution-nav-next {
        text-align: left;
    }
    
    .related-solutions-grid {
        grid-template-columns: 1fr;
    }
    
    /* サービス機能説明ページ モバイル対応 */
    .solution-hero {
        padding: 60px 20px 40px;
    }
    
    .hero-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-arrow {
        transform: rotate(90deg);
    }
    
    .solution-title {
        font-size: 2rem;
    }
    
    .section-content {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .three-layers-diagram {
        flex-direction: column;
        gap: 20px;
    }
    
    .layer-connector {
        transform: rotate(90deg);
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
    }
    
    .step-number {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 20px;
    }
    
    .step-content {
        margin: 0;
    }
    
    .price-from,
    .price-to {
        font-size: 2.5rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .solution-nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-nav-next {
        text-align: left;
    }
    
    .news-article-title {
        font-size: 1.6rem;
    }
    
    .news-article-content {
        font-size: 0.95rem;
    }
    
    .news-article-content h2 {
        font-size: 1.3rem;
    }
    
    .news-article-content h3 {
        font-size: 1.1rem;
    }
    
    .news-nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-nav-next {
        text-align: left;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .layer-grid {
        grid-template-columns: 1fr;
    }
    
    .layer-tile-image {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 20px;
    }
}
