/*
Theme Name: Imako Theme2
Author: imako
*/

/* ------------------------------------------- */
/* --- 1. 基本スタイル・変数 --- */
/* ------------------------------------------- */

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

:root {
    --primary-color: #179aae;
    --primary-light: #1db0c6;
    --primary-dark: #147a8a;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-lighter: #999999;
    --background-light: #fafbfc;
    --white: #ffffff;
    --border-light: #e8ecef;
    --shadow-light: 0 2px 12px rgba(23, 154, 174, 0.08);
    --shadow-medium: 0 4px 24px rgba(23, 154, 174, 0.12);
    --shadow-heavy: 0 8px 32px rgba(23, 154, 174, 0.16);
    --border-radius: 8px;
    --border-radius-large: 16px;
    --accent-color: #E8527C;
    --accent-bg: #FDF0F4;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------- */
/* --- 2. ヘッダー関連 --- */
/* ------------------------------------------- */

/* トップページ用ヒーローヘッダー */




/* 全ページ共通ナビゲーションヘッダー */
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: none;
    padding: 16px 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.fixed-header.visible {
    transform: translateY(0);
}

.header-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo, .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-light);
}


/* ------------------------------------------- */
/* --- 3. トップページ セクション --- */
/* ------------------------------------------- */

/* ヒーローセクションコンテンツ */
.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 1fr 1fr から変更してテキスト部分を少し広く */
    gap: 60px; /* 80px から 60px に変更して画像をより近づける */
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text .logo {
    font-size: 56px;
    margin-bottom: 16px;
}







.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}




.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    cursor: pointer;
}



.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: none;
}



/* ヒーローセクション全体の設定も確認 */
.header {
    position: relative;
    z-index: 1;
}


.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.badge {
    background: transparent; /* #fafbfc から transparent に変更 */
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}


.badge {
    background: #fafbfc;
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 共通セクションスタイル */
.section {
    padding: 80px 0;
}

.section-alt {
    background: #fafbfc;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
    max-width: 700px;
    margin: 0 auto;
}

/* 「こんな経験ありませんか？」セクション */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.problem-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.problem-icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.problem-card p {
    color: #666;
    font-size: 14px;
}

/* 主要サービスセクション */
.main-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 64px 0;
}

.main-feature {
    background: #fff;
    padding: 48px 40px;
    border-radius: 14px;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.main-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.feature-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.main-feature h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.main-feature p {
    color: #666;
    margin-bottom: 24px;
}

.feature-button {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-button:hover {
    background: var(--primary-light);
}

.sub-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sub-feature {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.sub-feature:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

/* 使い方セクション */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
}

.step-number {
    background: var(--primary-color);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* FAQセクション */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 16px;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.faq-answer.active {
    padding: 0 24px 24px;
    max-height: 500px; /* Adjust as needed */
}

/* 開発きっかけセクション */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: left;
}

.founder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    padding: 32px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
}

.founder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 24px;
}

.founder-info {
    text-align: left;
}

/* お知らせ・メディア掲載（トップページ） */
.news-list, .media-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.news-item, .media-item {
    background: #fff;
    padding: 24px 32px;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item:hover, .media-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.news-content, .media-content {
    flex: 1;
}

.news-title, .media-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);  /* ←メインカラーに変更 */
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.news-title:hover, .media-title:hover {
    color: var(--primary-dark);  /* ←ホバー時は少し濃く */
}


.news-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.news-meta, .media-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #666;
}

.news-badge {
    background: #FF6B6B;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* もっと見るボタンの幅を記事と同じにする */
.load-more-news-btn, .load-more-btn {
    background: transparent;
    color: var(--primary-color);
    padding: 16px 32px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 32px auto 0; /* 中央配置のためautoを両側に */
    display: block;
    text-decoration: none;
    text-align: center;
    width: auto; /* 幅を100%に設定 */
    max-width: 200px; /* 記事と同じ最大幅 */
}

.load-more-news-btn:hover, .load-more-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 一覧ページの記事タイトルをimakoカラーに */
.news-card-title, .media-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    color: var(--primary-color); /* imakoのメインカラーに変更 */
    line-height: 1.4;
}

.news-card-title:hover, .media-card-title:hover {
    color: var(--primary-dark); /* ホバー時は少し濃く */
}

/* 一覧ページでの固定ヘッダー調整 */
.archive .fixed-header,
.category .fixed-header {
    transform: translateY(0) !important;
    position: static !important;
    box-shadow: none !important;
    background: #fff !important;
    backdrop-filter: none !important;
}

.archive body,
.category body {
    padding-top: 0 !important;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* ------------------------------------------- */
/* --- 4. 一覧ページ・記事ページ共通 --- */
/* ------------------------------------------- */

/* パンくずリスト */
.breadcrumb {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* ページヘッダー */
.page-header {
    text-align: center;
    margin-bottom: 64px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section の下に追加 */
.stat-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Client Logos Section */
.client-logos {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.client-logos .container {
    text-align: center;
}

.client-logos h3 {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    font-weight: 500;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: #fafbfc;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    padding: 8px 12px;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.logo-item img {
    max-height: 30px;
    max-width: 100px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
}

/* Placeholder for logos */
.logo-placeholder {
    width: 100%;
    height: 25px;
    background: linear-gradient(45deg, #999, #eee);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

/* デスクトップ表示の確保（769px以上） */
@media (min-width: 769px) {
    .service-card {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    
    .service-features {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .logo-item {
        height: 40px;
        padding: 6px 8px;
    }
    
    .logo-placeholder {
        font-size: 9px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .logo-item {
        height: 35px;
        padding: 4px 6px;
    }
    
    .logo-placeholder {
        font-size: 8px;
        height: 18px;
    }
}

/* ------------------------------------------- */
/* --- 5. 一覧ページ（archive.php） --- */
/* ------------------------------------------- */

/* カテゴリーフィルター */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.filter-tab {
    background: #f5f5f5;
    border: none;
    color: #666;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.filter-tab:hover {
    background: #eee;
    color: #333;
}

.filter-tab.active {
    background: #179aae;
    color: #fff;
}

/* 記事グリッド */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto 64px;
}

.news-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    background: transparent;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    overflow: visible;
}

.news-card:hover {
    background: #f8f9fa;
    margin: 0 -16px;
    padding: 28px 16px;
    border-radius: 12px;
    transform: none;
    box-shadow: none;
}

.news-card-content {
    flex: 1;
    min-width: 0;
    padding: 0;
}

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

.news-card-category {
    font-size: 0.72rem;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(23, 154, 174, 0.08);
    color: #179aae;
    font-weight: 600;
}

.news-card-date {
    color: #999;
    font-size: 0.78rem;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 8px;
    display: block;
    text-decoration: none;
}

.news-card-title:hover {
    color: #179aae;
}

.news-card-excerpt {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    font-size: 14px;
}
.pagination .page-numbers {
    background: #fff;
    border: 1px solid #eee;
    color: #666;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 44px;
    text-align: center;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ------------------------------------------- */
/* --- 6. 記事単体ページ（single.php） --- */
/* ------------------------------------------- */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
}

.article-content {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
}

.article-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid #eee;
}

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

.article-category {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
}

.article-date {
    color: #999;
    font-size: 13px;
}

.article-title {
    font-size: 22px !important;
    line-height: 1.4;
}

.article-body {
    padding: 40px;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 22px;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.article-body h3 {
    font-size: 18px;
    margin: 32px 0 12px;
}

.article-body h4 {
    font-size: 16px;
    margin: 24px 0 10px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul, .article-body ol {
    margin: 16px 0 16px 24px;
}

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

.article-body blockquote {
    background: #fafbfc;
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: #666;
}

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

.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 32px 24px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}


/* ------------------------------------------- */
/* --- 7. フッター --- */
/* ------------------------------------------- */

.footer-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.footer-cta h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.footer-cta .cta-button {
    background: #fff;
    color: var(--primary-color);
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------- */
/* --- 8. アニメーション & レスポンシブ --- */
/* ------------------------------------------- */

/* アニメーション */
@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-10px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ (タブレット) */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-image {
        order: -1;
    }
    .phone-mockup {
        max-width: 250px;
    }

    .problem-cards,
    .main-features-grid,
    .how-it-works {
        grid-template-columns: 1fr;
    }

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

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
    }
    .filter-tab {
        white-space: nowrap;
    }

    .article-layout {
        gap: 48px;
    }

    .sidebar {
        order: -1; /* Place sidebar above content on mobile */
    }

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

/* レスポンシブ (スマートフォン) */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }

    .problem-cards {
        gap: 16px;
    }

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

    .article-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .article-header {
        padding: 16px 16px 12px;
    }
    
    .article-body {
        padding: 16px;
    }

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

/* ------------------------------------------- */
/* --- メディア掲載ページ専用スタイル --- */
/* ------------------------------------------- */

/* メディア掲載一覧ページ */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.media-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.media-card-content {
    padding: 32px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.media-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.media-card-category {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.media-card-date {
    color: #999;
    font-size: 14px;
}

.media-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.media-card-title:hover {
    color: var(--primary-color);
}

.media-card-excerpt {
    color: #666;
    margin-bottom: 16px;
    flex: 1;
}

.media-source {
    background: #fafbfc;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.external-link:hover {
    text-decoration: underline;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: #666;
}

/* メディア掲載記事詳細ページ */
.media-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
}

.media-article-content {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
}

.media-article-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid #eee;
}

.media-article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.media-article-category {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.media-article-date {
    color: #999;
    font-size: 14px;
}

.media-article-title {
    font-size: 22px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px;
}
}

.media-info-box {
    background: #fafbfc;
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.media-info-item {
    margin-bottom: 12px;
    font-size: 14px;
}

.media-info-item:last-child {
    margin-bottom: 0;
}

.external-link-button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.external-link-button:hover {
    background: var(--primary-light);
}

.media-article-body {
    padding: 32px 40px;
    line-height: 1.8;
}

.media-article-body h2 {
    font-size: 24px;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
}

.media-article-body h3 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.media-article-body p {
    margin-bottom: 16px;
}

.media-article-body ul, .media-article-body ol {
    margin: 16px 0 16px 24px;
}

.media-article-body li {
    margin-bottom: 8px;
}

.media-article-body blockquote {
    background: #fafbfc;
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: #666;
}

/* メディア詳細ページサイドバー */
.media-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.related-media-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.related-media-item:last-child {
    border-bottom: none;
}

.related-media-title {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.related-media-title:hover {
    color: var(--primary-color);
}

.related-media-date {
    font-size: 12px;
    color: #999;
}

.media-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fafbfc;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.post-count {
    font-size: 12px;
    color: #999;
}

.category-link:hover .post-count {
    color: rgba(255, 255, 255, 0.8);
}

/* 記事ナビゲーション */
.post-navigation {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #eee;
}

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

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.nav-direction {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* レスポンシブ対応（タブレット・スマートフォン） */
@media (max-width: 1024px) {
    .media-article-layout {
        grid-template-columns: 1fr;
    }
    
    .media-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .media-article-layout {
        gap: 48px;
    }
    
    .media-article-header, .media-article-body {
        padding: 32px 24px;
    }
    
    .media-article-title {
        font-size: 24px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .media-card-content {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .media-article-header, .media-article-body {
        padding: 24px 16px;
    }
    
    .media-article-title {
        font-size: 20px;
    }
    
    .media-info-box {
        padding: 16px;
    }
    
    .media-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 記事ページの前後ナビゲーションとフッター間にスペースを追加 */
.post-navigation {
    margin-bottom: 80px; /* フッターとの間に大きめのスペースを追加 */
}

/* 記事ページ全体の下部マージンも調整 */
.article-layout,
.media-article-layout {
    margin-bottom: 40px;
}

/* ========================================
   法的事項ページ（プライバシーポリシー・利用規約）
======================================== */

.legal-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    padding: 80px 0;
}

.legal-content {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
}

.legal-header {
    padding: 48px 48px 32px;
    border-bottom: 1px solid #eee;
}

.legal-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.legal-updated {
    color: #666;
    font-size: 14px;
}

.legal-body {
    padding: 48px;
    line-height: 1.8;
}

.legal-body h2 {
    font-size: 24px;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    color: #333;
}

.legal-body h3 {
    font-size: 20px;
    margin: 24px 0 12px 0;
    color: #333;
}

.legal-body p {
    margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
    margin: 16px 0 16px 24px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-contact {
    padding: 32px 48px;
    background: #fafbfc;
    border-top: 1px solid #eee;
}

.legal-contact h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.contact-info {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.legal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.legal-nav {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 32px 24px;
}

.legal-nav h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 12px;
}

.legal-nav a {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legal-nav a:hover {
    background: #fafbfc;
    color: var(--primary-color);
}

/* ========================================
   お問い合わせページ
======================================== */

.contact-page-layout {
    padding: 80px 0;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.contact-form-section {
    background: #fff;
    padding: 48px;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 48px;
}

.contact-form-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #333;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background: var(--primary-color);
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-light);
}

.contact-info-section {
    background: #fafbfc;
    padding: 48px;
    border-radius: 14px;
}

.contact-info-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.info-item p {
    color: #666;
}

/* ========================================
   会社概要ページ
======================================== */

.company-page-layout {
    padding: 80px 0;
}

.company-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-vision {
    background: #fff;
    padding: 48px;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 48px;
}

.company-vision h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #333;
}

.vision-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #666;
}

.company-info {
    background: #fff;
    padding: 48px;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 48px;
}

.company-info h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #333;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.info-table th {
    background: #fafbfc;
    font-weight: 600;
    color: #333;
    width: 200px;
}

.info-table td {
    color: #666;
}

.founder-section {
    background: #fff;
    padding: 48px;
    border-radius: 14px;
    border: 1px solid #eee;
    margin-bottom: 48px;
}

.founder-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #333;
}

.founder-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.founder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 24px;
}

.founder-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: #333;
}

.founder-info p {
    color: #666;
    font-size: 14px;
}

.message-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #666;
}

.company-stats {
    background: #fafbfc;
    padding: 48px;
    border-radius: 14px;
}

.company-stats h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: #333;
    text-align: center;
}

.company-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #eee;
}

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.stat-item .stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   レスポンシブ対応
======================================== */

@media (max-width: 1024px) {
    .legal-page-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .legal-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .legal-header,
    .legal-body,
    .legal-contact,
    .contact-form-section,
    .company-vision,
    .company-info,
    .founder-section,
    .company-stats {
        padding: 32px 24px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .info-table th {
        width: 120px;
    }
    
    .founder-profile {
        flex-direction: column;
        text-align: center;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .partner-main-title {
        font-size: 32px;
    }
    
    .hero-description-title {
        font-size: 20px;
    }
    
    .partner-description {
        font-size: 16px;
    }
    
    .tablet-image {
        max-width: 280px;
    }
    
    .partner-content .service-intro,
    .partner-content .store-benefits,
    .partner-content .partner-stats,
    .partner-content .target-stores,
    .partner-content .how-it-works,
    .partner-content .partner-stores,
    .partner-content .contact-section {
        padding: 32px 24px;
    }
    
    .connection-sides {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .connection-bridge {
        margin: 16px 0;
    }
    
    .bridge-line {
        transform: rotate(90deg);
        width: 60px;
    }
    
    .benefit-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .flow-steps-horizontal {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .target-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 16px;
    }
    
    .partner-logo {
        height: 50px;
        padding: 6px 8px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .stats-sub {
        justify-content: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   加盟店募集LP（plp- prefix）
======================================== */

/* --- Body & Reset --- */
.plp-body { margin:0; padding:0; }

/* --- LP Header --- */
.plp-header { position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(255,255,255,.95); backdrop-filter:blur(12px); border-bottom:1px solid #eee; padding:0 24px; height:56px; }
.plp-header-inner { max-width:1080px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; height:100%; }
.plp-logo { font-size:22px; font-weight:700; color:var(--primary-color); text-decoration:none; }
.plp-nav { display:flex; gap:24px; align-items:center; }
.plp-nav a { color:#666; text-decoration:none; font-size:13px; font-weight:500; transition:color .2s; }
.plp-nav a:hover { color:var(--primary-color); }
.plp-header-cta { background:var(--primary-color); color:#fff !important; padding:8px 22px; border-radius:50px; font-size:13px; font-weight:600; text-decoration:none; transition:all 0.3s ease; }
.plp-header-cta:hover { background:var(--primary-light); }

/* --- Hero --- */
.plp-hero { padding:112px 0 64px; background:linear-gradient(180deg,#fafbfc 0%,#fff 100%); position:relative; overflow:hidden; }
.plp-hero::before { content:''; position:absolute; top:-80px; right:-80px; width:360px; height:360px; border:2px solid rgba(23,154,174,.08); border-radius:50%; }
.plp-hero-inner { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; position:relative; z-index:1; }
.plp-badge { display:inline-block; font-size:13px; font-weight:600; color:var(--primary-color); background:rgba(23,154,174,.1); padding:6px 20px; border-radius:50px; margin-bottom:12px; }
.plp-hero-tablet { font-size:15px; font-weight:700; color:var(--accent-color); margin-bottom:14px; }
.plp-hero-h1 { font-size:44px; font-weight:700; margin-bottom:14px; line-height:1.3; }
.plp-hero-h1 span { color:var(--primary-color); }
.plp-hero-sub { font-size:16px; color:#666; margin-bottom:24px; line-height:1.9; }
.plp-hero-dual { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:28px; }
.plp-hero-pill { background:#fff; border:1px solid #eee; border-radius:14px; padding:18px 16px; box-shadow:none; transition:all 0.3s ease; }
.plp-hero-pill:hover { transform:translateY(-2px); box-shadow:none; border-color:var(--primary-color); }
.plp-pill-head { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.plp-pill-icon { width:32px; height:32px; background:rgba(23,154,174,.06); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.plp-pill-head h3 { font-size:14px; font-weight:600; }
.plp-hero-pill p { font-size:12px; color:#666; line-height:1.6; }
.plp-btn-primary { display:inline-flex; align-items:center; gap:8px; background:var(--primary-color); color:white; padding:16px 40px; border-radius:50px; font-size:16px; font-weight:600; text-decoration:none; box-shadow:none; transition:all 0.3s ease; border:none; cursor:pointer; }
.plp-btn-primary:hover { background:var(--primary-light); transform:translateY(-2px); box-shadow:none; }
.plp-arrow { transition:transform .3s; }
.plp-btn-primary:hover .plp-arrow { transform:translateX(4px); }
.plp-hero-note { font-size:13px; color:#999; margin-top:12px; }
.plp-hero-visual img { width:100%; max-width:400px; height:auto; filter:drop-shadow(0 8px 24px rgba(23,154,174,.12)); border-radius:14px; }
.plp-hero-stats { margin-top:40px; display:flex; gap:40px; padding-top:28px; border-top:1px solid #eee; }
.plp-hs-num { font-size:36px; font-weight:700; line-height:1; color:var(--primary-color); }
.plp-hs-unit { font-size:14px; font-weight:400; }
.plp-hs-lbl { font-size:12px; color:#999; margin-top:2px; }

/* --- Media Band --- */
.plp-media-band { background:#fff; padding:28px 0; border-bottom:1px solid #eee; }
.plp-media-inner { display:flex; justify-content:center; align-items:center; gap:36px; flex-wrap:wrap; }
.plp-media-label { font-size:12px; font-weight:700; color:#999; letter-spacing:1px; flex-shrink:0; }
.plp-media-logos { display:flex; align-items:center; gap:28px; flex-wrap:wrap; justify-content:center; }
.plp-ml { max-height:44px; max-width:120px; opacity:.7; transition:opacity .3s; display:flex; align-items:center; }
.plp-ml:hover { opacity:1; }
.plp-ml img { max-height:44px; max-width:120px; width:auto; height:auto; object-fit:contain; }
.plp-ml-feat { background:rgba(23,154,174,.1); padding:8px 14px; border-radius:6px; max-height:none; max-width:none; opacity:.85; }
.plp-ml-feat img { max-height:40px; max-width:140px; }

/* --- Sections --- */
.plp-sec { padding:80px 0; }
.plp-sec-w { background:#fff; }
.plp-sec-g { background:#fafbfc; }
.plp-sec-header { text-align:center; margin-bottom:52px; }
.plp-sec-badge { display:inline-block; font-size:12px; font-weight:700; color:var(--primary-color); background:rgba(23,154,174,.1); padding:4px 16px; border-radius:4px; letter-spacing:1px; margin-bottom:14px; text-transform:uppercase; }
.plp-sec-badge-accent { color:var(--accent-color); background:var(--accent-bg); }
.plp-sec-title { font-size:30px; font-weight:600; margin-bottom:12px; line-height:1.5; }
.plp-hl { color:var(--primary-color); }
.plp-sec-sub { font-size:15px; color:#666; max-width:560px; margin:0 auto; }

/* --- Pain Cards --- */
.plp-pain-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:900px; margin:0 auto; }
.plp-pain-card { background:#fff; padding:24px 22px 28px; border-radius:14px; text-align:center; border:1px solid #eee; box-shadow:none; transition:all 0.3s ease; position:relative; }
.plp-pain-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--accent-color); border-radius:16px 16px 0 0; }
.plp-pain-card:hover { transform:translateY(-4px); box-shadow:none; }
.plp-pain-illust { width:100%; height:140px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; overflow:hidden; }
.plp-pain-illust img { max-width:100%; max-height:140px; object-fit:contain; }
.plp-pain-card h3 { font-size:15px; font-weight:600; margin-bottom:8px; }
.plp-pain-card p { font-size:13px; color:#666; line-height:1.7; }

/* --- Solution Cards --- */
.plp-sol-list { display:flex; flex-direction:column; gap:20px; max-width:760px; margin:0 auto; }
.plp-sol-card { display:flex; gap:20px; align-items:center; padding:28px; background:#fff; border-radius:14px; border:1px solid #eee; box-shadow:none; transition:all 0.3s ease; }
.plp-sol-card:hover { transform:translateY(-3px); box-shadow:none; border-color:var(--primary-color); }
.plp-sol-illust { width:120px; height:100px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.plp-sol-illust img { max-width:100%; max-height:100px; object-fit:contain; }
.plp-sol-num { width:44px; height:44px; background:var(--primary-color); color:white; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:700; flex-shrink:0; }
.plp-sol-body { flex:1; }
.plp-sol-body h3 { font-size:16px; font-weight:600; margin-bottom:6px; }
.plp-sol-body p { font-size:14px; color:#666; line-height:1.8; }

/* --- Feature Cards --- */
.plp-feat-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:740px; margin:0 auto; }
.plp-feat-card { background:#fff; padding:28px 22px; border-radius:14px; text-align:center; border:1px solid #eee; box-shadow:none; transition:all 0.3s ease; }
.plp-feat-card:hover { transform:translateY(-4px); box-shadow:none; }
.plp-feat-icon { width:52px; height:52px; background:rgba(23,154,174,.06); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:24px; margin:0 auto 14px; }
.plp-feat-card h3 { font-size:15px; font-weight:600; margin-bottom:8px; }
.plp-feat-card p { font-size:13px; color:#666; line-height:1.7; }

/* --- Data Grid --- */
.plp-data-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:800px; margin:0 auto; }
.plp-data-card { background:#fff; border-radius:24px; border:1px solid #eee; box-shadow:none; padding:40px 32px; text-align:center; }
.plp-data-card h4 { font-size:12px; font-weight:600; letter-spacing:1px; margin-bottom:24px; text-transform:uppercase; }
.plp-data-teal { background:var(--primary-color); border:none; color:white; position:relative; overflow:hidden; }
.plp-data-teal::before { content:''; position:absolute; top:-40px; right:-40px; width:140px; height:140px; border:2px solid rgba(255,255,255,.12); border-radius:50%; }
.plp-data-teal h4 { color:rgba(255,255,255,.8); }
.plp-ds-row { display:flex; justify-content:center; gap:32px; position:relative; z-index:1; }
.plp-ds-num { font-size:44px; font-weight:700; line-height:1; }
.plp-ds-unit { font-size:16px; font-weight:400; }
.plp-ds-lbl { font-size:12px; opacity:.7; margin-top:4px; }
.plp-demo-row { display:flex; justify-content:center; gap:32px; }
.plp-demo-item { text-align:center; }
.plp-demo-label { font-size:12px; color:#999; margin-bottom:8px; }
.plp-demo-ring { width:96px; height:96px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 8px; }
.plp-demo-ring-inner { width:64px; height:64px; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-direction:column; }
.plp-demo-pct { font-size:22px; font-weight:700; color:var(--primary-color); line-height:1; }
.plp-demo-pct-u { font-size:10px; color:#999; }
.plp-ring-70 { background:conic-gradient(var(--primary-color) 0deg 252deg,#eee 252deg 360deg); }
.plp-ring-80 { background:conic-gradient(var(--primary-color) 0deg 288deg,#eee 288deg 360deg); }
.plp-demo-desc { font-size:13px; font-weight:600; color:#666; }
.plp-data-growth { grid-column:1/-1; }
.plp-growth-chart { position:relative; height:180px; margin:0 auto; overflow:hidden; }
.plp-growth-svg { width:100%; height:100%; }
.plp-growth-hl { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:20px; flex-wrap:wrap; }
.plp-gh-item { display:flex; align-items:center; gap:8px; }
.plp-gh-arrow { color:var(--accent-color); font-size:28px; font-weight:900; line-height:1; }
.plp-gh-text { font-size:14px; font-weight:600; }
.plp-gh-text strong { font-size:22px; color:var(--primary-color); }

/* --- Flow --- */
.plp-flow-row { display:flex; justify-content:center; align-items:center; gap:0; max-width:500px; margin:0 auto; }
.plp-flow-card { flex:1; text-align:center; padding:32px 24px; background:#fff; border-radius:14px; border:1px solid #eee; box-shadow:none; transition:all 0.3s ease; }
.plp-flow-card:hover { transform:translateY(-4px); box-shadow:none; }
.plp-flow-num { width:36px; height:36px; background:var(--primary-color); color:white; border-radius:50%; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
.plp-flow-icon { font-size:32px; margin-bottom:10px; display:block; }
.plp-flow-card h3 { font-size:15px; font-weight:600; margin-bottom:4px; }
.plp-flow-card p { font-size:12px; color:#666; }
.plp-flow-conn { width:48px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.plp-flow-conn svg { width:32px; height:32px; color:var(--primary-color); opacity:.4; }
.plp-flow-badge { display:inline-block; background:rgba(23,154,174,.1); color:var(--primary-color); font-size:14px; font-weight:700; padding:6px 20px; border-radius:50px; margin-top:32px; }

/* --- News --- */
.plp-news-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:800px; margin:0 auto; }
.plp-news-box { background:#fff; border-radius:14px; border:1px solid #eee; box-shadow:none; padding:28px; }
.plp-news-box h3 { font-size:15px; font-weight:600; margin-bottom:16px; padding-bottom:10px; border-bottom:2px solid #eee; }
.plp-news-item { display:flex; gap:10px; align-items:baseline; padding:8px 0; border-bottom:1px solid #f3f3f3; font-size:13px; }
.plp-news-item:last-child { border-bottom:none; }
.plp-nd { font-size:11px; color:#999; flex-shrink:0; }
.plp-nt { font-size:10px; padding:2px 7px; border-radius:3px; font-weight:700; flex-shrink:0; }
.plp-nt-n { background:rgba(23,154,174,.1); color:var(--primary-color); }
.plp-nt-m { background:var(--accent-bg); color:var(--accent-color); }
.plp-nx a { color:#333; text-decoration:none; }
.plp-nx a:hover { color:var(--primary-color); }
.plp-news-empty { font-size:13px; color:#999; padding:12px 0; }

/* --- Partner Logos --- */
.plp-logo-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; max-width:620px; margin:0 auto; }
.plp-logo-cell { background:#fff; border-radius:8px; border:1px solid #eee; aspect-ratio:1; display:flex; align-items:center; justify-content:center; padding:6px; overflow:hidden; transition:all 0.3s ease; }
.plp-logo-cell:hover { transform:scale(1.05); box-shadow:none; border-color:var(--primary-color); }
.plp-logo-cell img { width:100%; height:100%; object-fit:contain; border-radius:6px; }

/* --- Form --- */
.plp-form-sec { padding:80px 0; background:linear-gradient(180deg,#fafbfc 0%,#eef9fb 100%); position:relative; overflow:hidden; }
.plp-form-sec::before { content:''; position:absolute; top:-60px; right:-60px; width:280px; height:280px; border:2px solid rgba(23,154,174,.08); border-radius:50%; }
.plp-form-card { max-width:640px; margin:0 auto; background:#fff; border-radius:24px; box-shadow:none; padding:48px 44px; position:relative; z-index:1; }
.plp-form-card h2 { font-size:26px; text-align:center; margin-bottom:8px; }
.plp-form-card h2 span { color:var(--primary-color); }
.plp-form-desc { text-align:center; font-size:14px; color:#666; margin-bottom:32px; }
.plp-fg { margin-bottom:20px; }
.plp-fg label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; }
.plp-req { color:var(--accent-color); font-size:12px; margin-left:4px; }
.plp-fi { width:100%; padding:12px 16px; border:1px solid #eee; border-radius:8px; font-size:15px; font-family:inherit; transition:border-color .2s; background:#fff; color:#333; box-sizing:border-box; }
.plp-fi:focus { outline:none; border-color:var(--primary-color); box-shadow:0 0 0 3px rgba(23,154,174,.1); }
.plp-form-submit { text-align:center; margin-top:28px; }
.plp-form-btn { display:inline-flex; align-items:center; gap:8px; background:var(--primary-color); color:white; padding:16px 48px; border-radius:50px; font-size:16px; font-weight:600; border:none; cursor:pointer; font-family:inherit; box-shadow:none; transition:all 0.3s ease; }
.plp-form-btn:hover { background:var(--primary-light); transform:translateY(-2px); box-shadow:none; }
.plp-form-btn:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.plp-form-note { text-align:center; font-size:13px; color:#999; margin-top:12px; }
.plp-form-ok { display:none; text-align:center; padding:40px 20px; }
.plp-ck { font-size:48px; display:block; margin-bottom:16px; }
.plp-form-ok h3 { font-size:20px; font-weight:600; margin-bottom:8px; color:var(--primary-color); }
.plp-form-ok p { font-size:14px; color:#666; line-height:1.8; }

/* --- Scroll Popup --- */
.plp-scroll-popup { position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(120%); z-index:180; background:#fff; border-radius:24px; box-shadow:0 12px 48px rgba(0,0,0,.18); padding:28px 32px; max-width:420px; width:calc(100% - 32px); transition:transform .5s cubic-bezier(.34,1.56,.64,1),opacity .4s; opacity:0; }
.plp-scroll-popup.plp-pop-show { transform:translateX(-50%) translateY(0); opacity:1; }
.plp-scroll-popup.plp-pop-hide { transform:translateX(-50%) translateY(120%); opacity:0; }
.plp-pop-close { position:absolute; top:12px; right:12px; width:28px; height:28px; border-radius:50%; background:#fafbfc; border:1px solid #eee; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:14px; color:#999; transition:all 0.3s ease; }
.plp-pop-close:hover { background:#eee; color:#333; }
.plp-pop-badges { display:flex; gap:8px; justify-content:center; margin-bottom:14px; flex-wrap:wrap; }
.plp-pop-badge { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:700; padding:6px 14px; border-radius:50px; }
.plp-pop-badge-pink { background:var(--accent-bg); color:var(--accent-color); }
.plp-pop-badge-teal { background:rgba(23,154,174,.1); color:var(--primary-color); }
.plp-pop-title { text-align:center; font-size:18px; font-weight:700; margin-bottom:6px; line-height:1.4; }
.plp-pop-title span { color:var(--primary-color); }
.plp-pop-sub { text-align:center; font-size:13px; color:#666; margin-bottom:18px; }
.plp-pop-cta { display:block; width:100%; text-align:center; background:var(--primary-color); color:white; padding:14px; border-radius:50px; font-size:15px; font-weight:600; text-decoration:none; border:none; cursor:pointer; font-family:inherit; box-shadow:none; transition:all 0.3s ease; }
.plp-pop-cta:hover { background:var(--primary-light); transform:translateY(-1px); }

/* --- Modal --- */
.plp-modal-overlay { position:fixed; inset:0; z-index:200; background:rgba(0,0,0,.5); backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s; }
.plp-modal-overlay.plp-modal-open { opacity:1; visibility:visible; }
.plp-modal-box { background:#fff; border-radius:24px; box-shadow:0 24px 64px rgba(0,0,0,.2); padding:40px 36px; width:100%; max-width:440px; position:relative; transform:translateY(24px) scale(.96); transition:transform .3s; }
.plp-modal-overlay.plp-modal-open .plp-modal-box { transform:translateY(0) scale(1); }
.plp-modal-close { position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%; background:#fafbfc; border:1px solid #eee; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:18px; color:#999; transition:all 0.3s ease; }
.plp-modal-close:hover { background:#eee; color:#333; }
.plp-modal-box h2 { font-size:22px; text-align:center; margin-bottom:6px; }
.plp-modal-box h2 span { color:var(--primary-color); }
.plp-modal-box .plp-form-desc { font-size:13px; margin-bottom:24px; }
.plp-modal-box .plp-fg { margin-bottom:16px; }
.plp-modal-box .plp-fi { padding:14px 16px; font-size:16px; }
.plp-modal-box .plp-form-btn { width:100%; justify-content:center; padding:16px; font-size:16px; }
.plp-modal-box .plp-form-note { margin-top:10px; }

/* --- Floating Banner --- */
.plp-fbanner { position:fixed; bottom:0; left:0; right:0; z-index:90; background:#fff; border-top:1px solid #eee; box-shadow:0 -4px 24px rgba(0,0,0,.08); padding:12px 24px; transform:translateY(100%); transition:transform .4s ease; }
.plp-fbanner.plp-fbanner-show { transform:translateY(0); }
.plp-fbanner-in { max-width:1080px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.plp-fbanner-text { font-size:14px; font-weight:600; }
.plp-fbanner-text span { color:var(--primary-color); }
.plp-fbanner-sub { font-size:12px; color:#999; font-weight:400; }
.plp-fbanner-cta { display:flex; gap:10px; align-items:center; flex-shrink:0; }
.plp-fb-btn { display:inline-flex; align-items:center; gap:6px; background:var(--primary-color); color:white; padding:10px 28px; border-radius:50px; font-size:14px; font-weight:600; text-decoration:none; transition:all 0.3s ease; }
.plp-fb-btn:hover { background:var(--primary-light); }
.plp-fb-sub { font-size:13px; color:var(--primary-color); text-decoration:none; font-weight:600; }
.plp-fb-sub:hover { text-decoration:underline; }

/* --- Footer --- */
.plp-footer { background:#fafbfc; text-align:center; padding:24px; font-size:12px; color:#999; border-top:1px solid #eee; padding-bottom:72px; }
.plp-footer-links { display:flex; justify-content:center; gap:24px; margin-bottom:12px; flex-wrap:wrap; }
.plp-footer-links a { color:#666; text-decoration:none; font-size:12px; }
.plp-footer-links a:hover { color:var(--primary-color); }
.plp-footer p { margin:0; }

/* --- Reveal Animation --- */
.plp-body .fade-in { opacity:0; transform:translateY(24px); transition:opacity .6s ease,transform .6s ease; }
.plp-body .fade-in.visible { opacity:1; transform:translateY(0); }

/* --- Mobile --- */
@media(max-width:768px) {
    .plp-hero { padding:88px 0 48px; }
    .plp-hero-inner { grid-template-columns:1fr; gap:32px; text-align:center; }
    .plp-hero-h1 { font-size:32px; }
    .plp-hero-visual { order:-1; }
    .plp-hero-visual img { max-width:240px; }
    .plp-hero-dual { grid-template-columns:1fr; }
    .plp-hero-stats { flex-direction:row; gap:24px; justify-content:center; }
    .plp-sec-title { font-size:24px; }
    .plp-pain-grid { grid-template-columns:1fr; }
    .plp-pain-illust { height:120px; }
    .plp-pain-illust img { max-height:120px; }
    .plp-sol-card { flex-direction:column; text-align:center; }
    .plp-sol-illust { width:100%; height:80px; }
    .plp-sol-illust img { max-height:80px; }
    .plp-feat-grid { grid-template-columns:1fr; }
    .plp-data-grid { grid-template-columns:1fr; }
    .plp-news-grid { grid-template-columns:1fr; }
    .plp-logo-grid { grid-template-columns:repeat(4,1fr); }
    .plp-flow-row { flex-direction:column; gap:0; }
    .plp-flow-conn { transform:rotate(90deg); width:auto; height:40px; }
    .plp-form-card { padding:32px 20px; }
    .plp-btn-primary { font-size:15px; padding:14px 32px; }
    .plp-media-label { display:none; }
    .plp-fbanner-sub { display:none; }
    .plp-ds-num { font-size:34px; }
    .plp-hs-num { font-size:28px; }
    .plp-nav { display:none; }
    .plp-modal-box { padding:32px 20px; max-width:100%; }
    .plp-scroll-popup { padding:22px 20px; bottom:16px; }
    .plp-pop-title { font-size:16px; }
}


/* ========================================
   近日リリース予告セクション専用スタイル + 新要素
======================================== */

/* ヘッダーナビゲーション拡張 */
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.scroll-link {
    cursor: pointer;
}

/* 新サービスバッジ（メインサービスセクション用） */
.featured-service {
    border: 2px solid #FF6C6C !important;
    background: linear-gradient(145deg, #fff, #fafbfc) !important;
    position: relative;
    overflow: hidden;
}

.featured-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6C6C, #ff8a8a);
}

.new-service-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.new-service-badge {
    display: inline-block;
    background: #FF6C6C;
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    border: 2px solid #FF6C6C;
}

/* 新サービスセクション用のバッジ */
.new-service-section-badge {
    display: inline-block;
    background: #FF6C6C;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 2px solid #FF6C6C;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 加盟店テキストリスト */
.partner-text-list {
    background: #fafbfc;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #eee;
    text-align: center;
}

.partner-text-list p {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

.coming-soon-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s infinite linear;
}

.coming-soon-content {
    position: relative;
    z-index: 2;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon-section .section-title {
    color: #fff;
    font-size: 42px;
    margin-bottom: 16px;
}

.coming-soon-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0.95;
}

.coming-soon-section .section-subtitle {
    color: #fff;
    opacity: 0.9;
    font-size: 18px;
    margin-bottom: 48px;
}

.coming-soon-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
}

.preview-feature {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.preview-feature:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.preview-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.preview-feature h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-feature p {
    color: #fff;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.6;
}

.notify-section {
    text-align: center;
    margin-top: 48px;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notify-section h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.notify-section p {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: 16px;
}

.notify-button {
    background: #fff;
    color: var(--primary-color);
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* 新サービス予告バッジ */
.feature-badge.new-service {
    background: #FF6C6C;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* ========================================
   LINE登録促進セクション
======================================== */

.line-promotion-section {
    background: #fff;
    border: 2px solid #00B900;
    border-radius: 14px;
    margin: 0 24px;
    position: relative;
    overflow: hidden;
}

.line-promotion-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 24px;
}

.line-promotion-header {
    margin-bottom: 48px;
}

.line-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.line-promotion-title {
    font-size: 32px;
    font-weight: 700;
    color: #00B900;
    margin-bottom: 16px;
}

.line-promotion-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.line-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.line-benefit {
    background: #fafbfc;
    border: 2px solid #E8F5E8;
    padding: 32px 24px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.line-benefit:hover {
    transform: translateY(-4px);
    border-color: #00B900;
    box-shadow: none;
}

.line-benefit .benefit-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.line-benefit h4 {
    font-size: 16px;
    color: #00B900;
    margin-bottom: 8px;
    font-weight: 600;
}

.line-benefit p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.line-cta-section {
    margin-top: 48px;
}

.line-register-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #00B900;
    color: #fff;
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 185, 0, 0.3);
    margin-bottom: 16px;
}

.line-register-button:hover {
    background: #00A000;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 185, 0, 0.4);
}

.line-logo {
    background: #fff;
    color: #00B900;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.line-note {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .line-promotion-section {
        margin: 0 12px;
    }
    
    .line-promotion-content {
        padding: 40px 20px;
    }
    
    .line-promotion-title {
        font-size: 26px;
    }
    
    .line-promotion-subtitle {
        font-size: 16px;
    }
    
    .line-benefits {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 32px 0;
    }
    
    .line-benefit {
        padding: 24px 20px;
    }
    
    .line-register-button {
        padding: 16px 28px;
        font-size: 16px;
    }
    
    .line-icon {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .line-promotion-title {
        font-size: 22px;
    }
    
    .line-register-button {
        padding: 14px 24px;
        font-size: 15px;
    }
}
.stats-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .stats-grid-three {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }
    
    .coming-soon-section .section-title {
        font-size: 32px;
    }
    
    .coming-soon-subtitle {
        font-size: 20px;
    }
    
    .coming-soon-section .section-subtitle {
        font-size: 16px;
    }
    
    .coming-soon-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .preview-feature {
        padding: 24px 20px;
    }
    
    .notify-section {
        padding: 32px 24px;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .coming-soon-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .coming-soon-section .section-title {
        font-size: 28px;
    }
    
    .coming-soon-subtitle {
        font-size: 18px;
    }
    
    .notify-button {
        padding: 14px 24px;
        font-size: 14px;
    }
}/* ========================================
   近日リリース予告セクション専用スタイル
======================================== */

.coming-soon-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s infinite linear;
}

.coming-soon-content {
    position: relative;
    z-index: 2;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon-section .section-title {
    color: #fff;
    font-size: 42px;
    margin-bottom: 16px;
}

.coming-soon-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0.95;
}

.coming-soon-section .section-subtitle {
    color: #fff;
    opacity: 0.9;
    font-size: 18px;
    margin-bottom: 48px;
}

.coming-soon-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
}

.preview-feature {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.preview-feature:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.preview-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.preview-feature h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-feature p {
    color: #fff;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.6;
}

.notify-section {
    text-align: center;
    margin-top: 48px;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notify-section h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.notify-section p {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: 16px;
}

.notify-button {
    background: #fff;
    color: var(--primary-color);
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* 新サービス予告バッジ */
.feature-badge.new-service {
    background: #FF6B6B;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .coming-soon-section .section-title {
        font-size: 32px;
    }
    
    .coming-soon-subtitle {
        font-size: 20px;
    }
    
    .coming-soon-section .section-subtitle {
        font-size: 16px;
    }
    
    .coming-soon-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .preview-feature {
        padding: 24px 20px;
    }
    
    .notify-section {
        padding: 32px 24px;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .coming-soon-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .coming-soon-section .section-title {
        font-size: 28px;
    }
    
    .coming-soon-subtitle {
        font-size: 18px;
    }
    
    .notify-button {
        padding: 14px 24px;
        font-size: 14px;
    }
}
/* ========================================
   新トップページ用スタイル（2024年12月更新）
   ※トップページのみに適用
======================================== */

/* ヒーロー縦並びレイアウト */
.hero-content-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-text-center {
    animation: fadeInUp 0.8s ease-out;
}

.hero-text-center .logo {
    font-size: 56px;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-image-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image-center .phone-mockup {
    max-width: 450px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transform: none;
    animation: none;
}

.hero-description-center {
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description-center .hero-description {
    font-size: 18px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.8;
    max-width: none;
}

/* What is it セクション */
.what-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.what-content p {
    font-size: 18px;
    line-height: 2;
    color: #666;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.app-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.app-btn-primary {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(23, 154, 174, 0.3);
}

.app-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-light);
    box-shadow: none;
}

.app-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(23, 154, 174, 0.4);
}

/* メディア掲載ロゴセクション */
/* メディア掲載セクション - 6列レイアウト */
.media-coverage-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(23, 154, 174, 0.2);
}

.media-coverage-header {
    text-align: center;
    margin-bottom: 56px;
}

.media-coverage-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.media-coverage-header p {
    font-size: 16px;
    color: #666;
}

.media-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
}

.media-logo-card {
    background: transparent;
    border-radius: 0;
    padding: 4px;
    box-shadow: none;
    border: none;
    transition: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-logo-card::before {
    display: none;
}

.media-logo-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.media-logo-card:hover::before {
    transform: none;
}

.media-logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.media-logo-card img {
    max-height: 100px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: none;
    filter: none;
}

.media-logo-card:hover img {
    filter: none;
    transform: none;
}

/* 特定のメディアロゴを2倍に拡大 */
.media-logo-card.media-logo-large img {
    max-height: 200px;
}

.media-logo-card.media-logo-large .media-logo-inner {
    min-height: 240px;
}

/* Featured メディアカード */
.media-logo-featured {
    position: relative;
    background: transparent;
    border: none;
}

.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(23, 154, 174, 0.3);
}

.media-logo-featured img {
    max-height: 130px;
}

/* 遅延アニメーション用のデータ属性 - 削除済み */

/* 導入店舗セクション - 6列レイアウト */
.partner-stores-section {
    background: #fafbfc;
    padding: 80px 0;
    position: relative;
}

.partner-header {
    text-align: center;
    margin-bottom: 56px;
}

.partner-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.partner-header p {
    font-size: 16px;
    color: #666;
}

.partner-logos-wrapper {
    position: relative;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo-item {
    background: transparent;
    border-radius: 0;
    padding: 4px;
    box-shadow: none;
    border: none;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    position: relative;
}

.partner-logo-item::before {
    display: none;
}

.partner-logo-item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.partner-logo-item:hover::before {
    opacity: 0;
}

.partner-logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.partner-logo-item img {
    max-height: 130px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: none;
}

.partner-logo-item:hover img {
    filter: none;
    transform: none;
}

/* 遅延アニメーション用のデータ属性 - 削除済み */

/* お知らせ・メディア横並びセクション(トップページ専用) */
.news-media-section {
    background: #fafbfc;
    padding: 80px 0;
}

.news-media-section .news-media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.news-media-section .news-box,
.news-media-section .media-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 36px;
    box-shadow: none;
}

.news-media-section .news-box h3,
.news-media-section .media-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 14px;
    border-bottom: 2px solid #eee;
}

.news-media-section .news-item,
.news-media-section .media-item {
    padding: 16px 12px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-media-section .news-item:last-child,
.news-media-section .media-item:last-child {
    border-bottom: none;
}

.news-media-section .news-item:hover,
.news-media-section .media-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
    transform: none;
    box-shadow: none;
}

.news-media-section .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

/* おしゃれなカテゴリータグ（トップページ専用） */
.news-media-section .news-category,
.news-media-section .media-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    color: #5a6169;
    border: 1px solid #e9ecef;
    letter-spacing: 0.3px;
}

.news-media-section .news-category::before,
.news-media-section .media-category::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.news-media-section .news-category.area-expansion::before {
    background: #4ECDC4;
}

.news-media-section .news-category.feature-release::before {
    background: #179aae;
}

.news-media-section .news-category.survey-report::before {
    background: #9b8ac4;
}

.news-media-section .media-category.web::before {
    background: #5c7cfa;
}

.news-media-section .media-category.tv::before {
    background: #f06595;
}

.news-media-section .media-category.newspaper::before {
    background: #868e96;
}

.news-media-section .media-category.magazine::before {
    background: #20c997;
}

.news-media-section .media-category.radio::before {
    background: #fcc419;
}

.news-media-section .news-title,
.news-media-section .media-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0;
}

.news-media-section .news-title a,
.news-media-section .media-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-media-section .news-title a:hover,
.news-media-section .media-title a:hover {
    color: var(--primary-color);
}

.news-media-section .media-source {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* 機能セクション（トップページ専用） - サービスカードデザイン */
.features-service {
    padding: 80px 0;
}

.features-service .container {
    padding: 0;
}

/* 空席リクエストメインカード */
.feature-main-card {
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
    border-radius: 24px;
    padding: 48px 40px;
    margin: 0 auto 60px auto;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(23, 154, 174, 0.2);
}

.feature-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-main-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-main-title {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.feature-main-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-main-description {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 24px;
    max-width: 700px;
}

/* 特徴リスト */
.feature-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 50px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 30px 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.feature-main-image {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.feature-main-image img {
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
}

.feature-main-cta {
    margin-top: 30px;
}

.feature-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #333;
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    color: white;
}

.feature-main-btn .btn-arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.feature-main-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* その他の機能 */
.other-features-header {
    margin: 80px 0 40px 0;
}

.section-subtitle-small {
    font-size: 24px;
    color: #666;
    font-weight: 600;
}

.other-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.other-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

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

.other-feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.other-feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.other-feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.service-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    width: 100%;
}

.feature-mini-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 160px;
    min-width: 0;
}

.feature-mini-card * {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
}

.feature-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-mini-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-mini-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.feature-mini-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 16px;
    flex: 1;
}

.feature-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.feature-mini-card:hover .feature-arrow {
    transform: translateX(4px);
}

/* Instagramセクション */
/* Instagramセクション - 改善版 */
.instagram-section {
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.instagram-background-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 148, 51, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.instagram-background-decoration::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(188, 24, 136, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.instagram-badge {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-feed-container {
    position: relative;
    z-index: 1;
}

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

.instagram-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.instagram-feed-wrapper {
    margin: 48px auto 40px;
    max-width: 1100px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.instagram-feed-wrapper::before {
    display: none;
}

/* Smash Balloon Instagram Feed のカスタマイズ */
.instagram-feed-wrapper #sb_instagram {
    padding: 0 !important;
}

.instagram-feed-wrapper .sbi_photo_wrap {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instagram-feed-wrapper .sbi_photo_wrap:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.instagram-feed-wrapper .sbi_item {
    margin-bottom: 20px !important;
}

.instagram-follow {
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.3);
    position: relative;
    overflow: hidden;
}

.instagram-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(220, 39, 67, 0.4);
    color: white;
}

.instagram-btn:hover::before {
    opacity: 1;
}

.instagram-btn svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* LINE登録セクション */
.line-section {
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
    padding: 60px 0;
    text-align: center;
}

.line-content {
    max-width: 600px;
    margin: 0 auto;
}

.line-section h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.line-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.line-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #06C755;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.line-btn svg {
    width: 24px;
    height: 24px;
}

/* トップページ用レスポンシブ */
@media (max-width: 968px) {
    .news-media-section .news-media-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-text-center .logo {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .news-media-section {
        padding: 50px 0;
    }
    
    .news-media-section .news-box,
    .news-media-section .media-box {
        padding: 24px;
    }
    
    .hero-image-center .phone-mockup {
        max-width: 350px;
    }
    
    .hero-image-center {
        margin-bottom: 24px;
    }
    
    .hero-description-center .hero-description {
        font-size: 16px;
        margin: 0 0 20px;
    }
    
    /* Featuresセクション - タブレット */
    .features-service .container {
        padding: 0 30px;
    }
    
    .feature-main-card {
        padding: 60px 40px;
        width: 95%;
    }
    
    .feature-main-title {
        font-size: 32px;
    }
    
    .feature-main-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-main-description {
        font-size: 16px;
    }
    
    .feature-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-main-image img {
        max-width: 300px;
        max-height: 300px;
    }
    
    .feature-main-btn {
        padding: 18px 40px;
        font-size: 16px;
    }
    
    .other-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-mini-card {
        padding: 20px;
    }
    
    .feature-mini-card h4 {
        font-size: 16px;
    }
    
    .feature-mini-card p {
        font-size: 13px;
    }
    
    .features-grid {
        gap: 24px;
        margin-top: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .line-section {
        padding: 40px 0;
    }
    
    .line-section h2 {
        font-size: 24px;
    }
    
    .media-coverage-section {
        padding: 50px 0;
    }
    
    .media-coverage-header h3 {
        font-size: 24px;
    }
    
    .media-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .media-logo-card {
        padding: 16px;
    }
    
    .media-logo-inner {
        min-height: 140px;
    }
    
    .media-logo-card img {
        max-height: 130px;
    }
    
    .media-logo-card.media-logo-large img {
        max-height: 260px;
    }
    
    .media-logo-card.media-logo-large .media-logo-inner {
        min-height: 280px;
    }
    
    .media-logo-featured img {
        max-height: 170px;
    }
    
    .partner-stores-section {
        padding: 50px 0;
    }
    
    .partner-header h3 {
        font-size: 24px;
    }
    
    .partner-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .partner-logo-item {
        padding: 16px;
        min-height: 210px;
    }
    
    .partner-logo-item img {
        max-height: 195px;
    }
    
    .instagram-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .instagram-feed-wrapper {
        padding: 24px;
    }
    
    .instagram-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .instagram-btn {
        padding: 16px 36px;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .hero-text-center .logo {
        font-size: 32px;
    }
    
    /* Featuresセクション - スマホ */
    .features-service {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 30px 20px;
        margin-bottom: 30px;
        gap: 24px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    /* Featuresセクション - スマホ */
    .features-service {
        padding: 50px 0;
    }
    
    .features-service .container {
        padding: 0 20px;
    }
    
    .feature-main-card {
        padding: 40px 20px;
        width: 100%;
    }
    
    .feature-main-title {
        font-size: 26px;
        flex-direction: column;
        gap: 12px;
    }
    
    .feature-main-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-main-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .feature-benefits {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefit-item {
        padding: 24px 16px;
    }
    
    .benefit-icon {
        font-size: 40px;
    }
    
    .feature-main-image {
        margin: 30px 0;
    }
    
    .feature-main-image img {
        max-width: 260px;
        max-height: 260px;
    }
    
    .feature-main-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .other-features-header {
        margin: 60px 0 30px 0;
    }
    
    .section-subtitle-small {
        font-size: 20px;
    }
    
    .other-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .other-feature-card {
        padding: 30px 20px;
    }
    
    .other-feature-icon {
        font-size: 48px;
    }
    
    .instagram-section {
        padding: 50px 0;
    }
    
    .instagram-feed-wrapper {
        margin: 32px auto 30px;
        padding: 20px;
    }
    
    .instagram-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    .media-coverage-section {
        padding: 40px 0;
    }
    
    .media-coverage-header {
        margin-bottom: 32px;
    }
    
    .media-coverage-header h3 {
        font-size: 22px;
    }
    
    .media-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .media-logo-card {
        padding: 12px;
    }
    
    .media-logo-inner {
        min-height: 180px;
    }
    
    .media-logo-card img {
        max-height: 165px;
    }
    
    .media-logo-card.media-logo-large img {
        max-height: 165px;
    }
    
    .media-logo-card.media-logo-large .media-logo-inner {
        min-height: 180px;
    }
    
    .media-logo-featured img {
        max-height: 165px;
    }
    
    .partner-stores-section {
        padding: 40px 0;
    }
    
    .partner-header {
        margin-bottom: 32px;
    }
    
    .partner-header h3 {
        font-size: 22px;
    }
    
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .partner-logo-item {
        padding: 12px;
        min-height: 180px;
    }
    
    .partner-logo-item img {
        max-height: 165px;
    }
}

/* ------------------------------------------- */
/* --- What is it Dual Card Layout --- */
/* ------------------------------------------- */

.what-content-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 32px;
}

.what-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.what-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.what-card-request {
    border: 2px solid var(--primary-color);
    position: relative;
}

.what-card-request::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.what-card-badge {
    display: inline-block;
    background: #fafbfc;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.what-card-badge-primary {
    background: var(--primary-color);
    color: #fff;
}

.what-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.what-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    flex-grow: 1;
}

.what-card-note {
    font-size: 13px;
    color: #999;
    margin-top: 12px;
    flex-grow: 0;
}

.app-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fafbfc;
    color: var(--primary-color);
    padding: 14px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.app-btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.what-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    padding: 20px 0;
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 24px;
}

/* ------------------------------------------- */
/* --- Feature Sub Card (Congestion Map) --- */
/* ------------------------------------------- */

.feature-sub-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: none;
    margin-bottom: 32px;
}

.feature-sub-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-sub-description {
    color: #666;
    line-height: 1.8;
}

.feature-sub-image {
    display: flex;
    justify-content: center;
}

.feature-sub-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ------------------------------------------- */
/* --- Feature Card Accent Variant ----------- */
/* ------------------------------------------- */

.feature-card-accent {
    background: linear-gradient(135deg, #e8f8fb 0%, #f0fbfd 100%);
    border: 2px solid rgba(23, 154, 174, 0.15);
}

.feature-sub-cta {
    margin-top: 24px;
}

.feature-sub-cta .feature-cta-note {
    font-size: 13px;
    color: #999;
    margin-top: 12px;
}

.feature-cta-note {
    font-size: 13px;
    color: #999;
    margin-top: 12px;
    text-align: center;
}

/* ------------------------------------------- */
/* --- Responsive: What is it & Features --- */
/* ------------------------------------------- */

@media (max-width: 768px) {
    .what-content-dual {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-sub-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 24px;
    }
    
    .feature-result-visual {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .what-flow-arrow {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .what-card {
        padding: 30px 20px;
    }
    
    .what-card h3 {
        font-size: 20px;
    }
    
    .feature-sub-card {
        padding: 24px 20px;
    }
    
    .feature-sub-title {
        font-size: 20px;
    }
}

/* ------------------------------------------- */
/* --- Partner & Contact CTA Section --- */
/* ------------------------------------------- */

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

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

.cta-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.cta-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.cta-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.cta-benefits {
    width: 100%;
    margin-bottom: 30px;
}

.benefit {
    font-size: 15px;
    color: #333;
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.benefit:last-child {
    border-bottom: none;
}

.cta-contact-info {
    width: 100%;
    margin-bottom: 30px;
}

.contact-item {
    font-size: 15px;
    color: #333;
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.cta-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.cta-btn-partner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.cta-btn-partner:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 107, 0.4);
    color: white;
}

.cta-btn-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(23, 154, 174, 0.3);
}

.cta-btn-contact:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(23, 154, 174, 0.4);
    color: white;
}

.cta-card-btn .btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cta-card-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* レスポンシブ: タブレット */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-card {
        padding: 40px 30px;
    }
    
    .cta-icon {
        font-size: 56px;
    }
    
    .cta-card h3 {
        font-size: 24px;
    }
}

/* レスポンシブ: スマホ */
@media (max-width: 600px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-grid {
        gap: 24px;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .cta-icon {
        font-size: 48px;
    }
    
    .cta-card h3 {
        font-size: 22px;
    }
    
    .cta-card p {
        font-size: 15px;
    }
    
    .benefit, .contact-item {
        font-size: 14px;
    }
    
    .cta-card-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        font-size: 15px;
    }
}
/* ------------------------------------------- */
/* --- 追加: 3サービスカードレイアウト --- */
/* ------------------------------------------- */

.what-content-triple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.what-content-triple .what-card {
    display: flex;
    flex-direction: column;
}

.what-content-triple .what-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.what-content-triple .what-card p {
    flex: 1;
}

.what-card-magazine {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 32px 24px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-card-magazine:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.what-lead-text {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* レスポンシブ: 3カラム → 1カラム */
@media (max-width: 768px) {
    .what-content-triple {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .what-content-triple {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .what-content-triple .what-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* ------------------------------------------- */
/* --- サービスカード（アイコン版） --- */
/* ------------------------------------------- */

.what-icon-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.what-icon-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px 28px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(23, 154, 174, 0.10);
}

.what-icon-card-featured {
    border: 2px solid var(--primary-color);
}

.what-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(23, 154, 174, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.what-icon-circle-primary {
    background: var(--primary-color);
}

.what-icon-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
    background: rgba(23, 154, 174, 0.1);
    color: var(--primary-color);
}

.what-icon-badge-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.what-icon-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
    line-height: 1.5;
}

.what-icon-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 24px;
    flex: 1;
}

.what-icon-btn {
    display: inline-block;
    padding: 11px 30px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(23, 154, 174, 0.08);
    color: var(--primary-color);
    border: 1.5px solid rgba(23, 154, 174, 0.2);
}

.what-icon-btn:hover {
    background: rgba(23, 154, 174, 0.15);
    border-color: var(--primary-color);
}

.what-icon-btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.what-icon-btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
}

@media (max-width: 768px) {
    .what-icon-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .what-icon-card {
        padding: 32px 24px 28px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .what-icon-cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .what-icon-cards .what-icon-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* ------------------------------------------- */
/* --- 導入店舗 2列マーキー --- */
/* ------------------------------------------- */

.partner-marquee-wrap {
    overflow: hidden;
    padding: 8px 0 0;
}

.partner-marquee {
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.partner-marquee::before,
.partner-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fafbfc, transparent);
}

.partner-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fafbfc, transparent);
}

.partner-marquee-track {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
}

.partner-marquee-left {
    animation: marquee-left 60s linear infinite;
}

.partner-marquee-right {
    animation: marquee-left 60s linear infinite;
}

.partner-marquee:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.partner-marquee-item {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.partner-marquee-item:hover {
    box-shadow: none;
}

.partner-marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-marquee-item:hover img {
    transform: scale(1.05);
}



/* =========================================== */
/* === デザインリニューアル（全体上書き） === */
/* =========================================== */

/* --- リセット: 旧スタイルの打ち消し --- */
.header::before {
    display: none;
}

@keyframes float { 0%,100% { transform: none; } }
@keyframes phoneFloat { 0%,100% { transform: none; } }
@keyframes fadeInUp { 0%,100% { opacity: 1; transform: none; } }

/* --- ヒーローセクション --- */
.header {
    background: #ffffff;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.hero-blob {
    position: absolute;
    z-index: 0;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: #179aae;
    top: -120px;
    left: -80px;
    opacity: 0.9;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.hero-blob-2 {
    width: 380px;
    height: 380px;
    background: #c4ecf0;
    bottom: -60px;
    left: 20px;
    opacity: 0.5;
    border-radius: 50% 60% 40% 50% / 40% 50% 60% 50%;
}

.header .container {
    position: relative;
    z-index: 1;
}

.hero-content-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text-center {
    animation: none;
}

/* --- ロゴ: ダークグレー --- */
.hero-text-center .logo,
.logo {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    letter-spacing: 6px;
    margin-bottom: 12px;
}

.nav-logo {
    color: #179aae;
}

/* --- タグライン --- */
.main-tagline {
    font-size: 1.2rem;
    color: #444;
    font-weight: 500;
    margin-bottom: 12px;
}

.sub-tagline {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* --- スマホ画像 --- */
.hero-image-center {
    animation: none;
    margin-bottom: 24px;
}

.hero-image-center .phone-mockup,
.phone-mockup {
    max-width: 280px;
    transform: none;
    animation: none;
    filter: none;
}

.hero-description-center {
    animation: none;
}

.hero-description-center .hero-description {
    display: none;
}

/* --- CTAボタン --- */
.cta-button,
.cta-button.cta-button-large {
    background: #179aae;
    color: #fff;
    border-radius: 28px;
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    box-shadow: none;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover,
.cta-button.cta-button-large:hover {
    background: #147a8a;
    transform: none;
    box-shadow: none;
}

.cta-button span {
    display: none;
}

/* --- 固定ヘッダーナビ --- */
.nav-cta {
    border-radius: 24px;
    padding: 10px 22px;
    font-size: 13px;
}

/* =========================================== */
/* --- セクション共通 --- */
/* =========================================== */

.section {
    padding: 72px 0;
    background: #ffffff;
}

.section-alt {
    background: #fafbfc;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
}

.section-label {
    font-size: 12px;
    color: #179aae;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 6px;
    text-align: center;
}

/* =========================================== */
/* --- What is imako サービスカード --- */
/* =========================================== */

.what-lead-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #777;
    font-size: 0.92rem;
    line-height: 1.8;
}

.what-icon-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.what-icon-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 36px 24px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.what-icon-card-featured {
    border: 2px solid #179aae;
}

.what-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(23, 154, 174, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.what-icon-circle-primary {
    background: #179aae;
}

.what-icon-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(23, 154, 174, 0.08);
    color: #179aae;
}

.what-icon-badge-primary {
    background: #179aae;
    color: #fff;
}

.what-icon-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.5;
}

.what-icon-card p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.7;
    margin: 0 0 20px;
}

.what-icon-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 22px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(23, 154, 174, 0.06);
    color: #179aae;
    border: 1px solid rgba(23, 154, 174, 0.18);
    transition: all 0.3s ease;
}

.what-icon-btn:hover {
    background: rgba(23, 154, 174, 0.12);
    border-color: #179aae;
}

.what-icon-btn-primary {
    background: #179aae;
    color: #fff;
    border-color: #179aae;
}

.what-icon-btn-primary:hover {
    background: #147a8a;
}

/* =========================================== */
/* --- メディア掲載 --- */
/* =========================================== */

.media-coverage-section {
    background: #fafbfc;
    padding: 36px 0;
}

.media-coverage-header {
    text-align: center;
    margin-bottom: 20px;
}

.media-coverage-header p {
    color: #999;
    font-size: 13px;
}

.media-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.media-logo-card,
.media-logo-card.media-logo-large,
.media-logo-card.media-logo-featured {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    width: auto;
    flex: none;
}

.media-logo-card::before {
    display: none;
}

.media-logo-inner {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.media-logo-card img,
.media-logo-card.media-logo-large img,
.media-logo-featured img {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.media-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 0.8;
}

.featured-badge {
    display: none;
}

/* =========================================== */
/* --- 導入店舗 --- */
/* =========================================== */

.partner-stores-section {
    background: #ffffff;
    padding: 56px 0;
}

.partner-header h3 {
    color: #333;
    font-size: 22px;
    font-weight: 700;
}

.partner-header p {
    color: #999;
    font-size: 13px;
}

/* =========================================== */
/* --- ニュース & メディア --- */
/* =========================================== */

.news-media-section {
    background: #fafbfc;
}

/* =========================================== */
/* --- Features サービス詳細 --- */
/* =========================================== */

.features-service {
    background: #ffffff;
}

.feature-sub-card {
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: none;
    margin-bottom: 24px;
}

.feature-card-accent {
    background: rgba(23, 154, 174, 0.03);
    border: 1px solid rgba(23, 154, 174, 0.1);
}

.feature-sub-title {
    color: #333;
    font-weight: 700;
}

.feature-sub-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.feature-main-badge {
    background: rgba(23, 154, 174, 0.08);
    color: #179aae;
    border-radius: 12px;
    font-size: 0.78rem;
    padding: 4px 14px;
}

.feature-main-btn {
    background: #179aae;
    color: #fff;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 0.88rem;
    box-shadow: none;
}

.feature-main-btn:hover {
    background: #147a8a;
    box-shadow: none;
}

.feature-cta-note {
    color: #999;
    font-size: 0.78rem;
}

/* =========================================== */
/* --- How to Use --- */
/* =========================================== */

.how-it-works {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step {
    box-shadow: none;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    padding: 28px 20px;
    text-align: center;
}

.step h3 {
    color: #333;
    font-size: 0.92rem;
}

.step p {
    color: #777;
    font-size: 0.82rem;
    line-height: 1.7;
}

.step-number {
    background: #179aae;
    color: #fff;
    box-shadow: none;
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin: 0 auto 16px;
}

@media (max-width: 768px) {
    .how-it-works {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================== */
/* --- FAQ --- */
/* =========================================== */

.faq-section {
    background: #ffffff;
}

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

.faq-item {
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.faq-question {
    color: #333;
    font-size: 0.95rem;
    padding: 18px 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: auto;
    height: auto;
    background: none;
    color: #179aae;
    border-radius: 0;
    font-size: 20px;
    font-weight: 400;
    flex-shrink: 0;
}

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

.faq-answer.active {
    padding: 0 0 18px 0;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.8;
}

/* =========================================== */
/* --- Instagram --- */
/* =========================================== */

.instagram-section {
    background: #fafbfc;
}

.instagram-background-decoration {
    display: none;
}

.instagram-badge {
    background: rgba(23, 154, 174, 0.08);
    color: #179aae;
}

.instagram-btn {
    border-radius: 24px;
    box-shadow: none;
}

/* =========================================== */
/* --- LINE --- */
/* =========================================== */

.line-section {
    background: #ffffff;
}

.line-content {
    border-radius: 16px;
    box-shadow: none;
    border: none;
    background: #fafbfc;
    padding: 48px 32px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.line-content h2 {
    color: #333;
    font-size: 1.2rem;
}

.line-content p {
    color: #777;
}

.line-btn {
    border-radius: 24px;
}

/* =========================================== */
/* --- 最終CTA --- */
/* =========================================== */

.final-cta-section {
    padding: 64px 24px;
    background: #ffffff;
}

.final-cta-box {
    background: linear-gradient(135deg, #179aae 0%, #1db0c6 50%, #147a8a 100%);
    border-radius: 20px;
    padding: 56px 32px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.final-cta-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.final-cta-box p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 28px;
}

.final-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-primary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    color: #179aae;
    transition: all 0.3s ease;
}

.final-cta-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.final-cta-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.final-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.final-cta-line {
    margin-top: 20px;
}

.final-cta-line-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.final-cta-line-btn:hover {
    color: #fff;
}

/* =========================================== */
/* --- フッター --- */
/* =========================================== */

.footer {
    background: #fafbfc;
    border-top: 1px solid #eee;
    padding: 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 28px;
}

.footer-top {
    display: flex;
    gap: 60px;
    margin-bottom: 36px;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: #179aae;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 4px;
}

.footer-brand-text {
    font-size: 12px;
    color: #aaa;
}

.footer-nav {
    display: flex;
    gap: 40px;
    flex: 1;
    flex-wrap: wrap;
}

.footer-section h4 {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.footer-links a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #179aae;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    margin-top: 0;
}

.footer-bottom p {
    color: #bbb;
    font-size: 12px;
}

/* =========================================== */
/* --- マーキー（導入店舗） --- */
/* =========================================== */

.partner-marquee-wrap {
    overflow: hidden;
    padding: 8px 0 0;
}

.partner-marquee {
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.partner-marquee::before,
.partner-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.partner-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.partner-marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
}

.partner-marquee-left {
    animation: marquee-left 60s linear infinite;
}

.partner-marquee-right {
    animation: marquee-left 60s linear infinite;
}

.partner-marquee:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-marquee-item {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.partner-marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-marquee-item:hover img {
    transform: scale(1.05);
}

/* =========================================== */
/* --- レスポンシブ --- */
/* =========================================== */

@media (max-width: 768px) {
    .hero-blob-1 {
        width: 280px;
        height: 280px;
        top: -80px;
        left: -60px;
    }
    .hero-blob-2 {
        width: 200px;
        height: 200px;
        bottom: -30px;
        left: 0;
    }
    .what-icon-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-top {
        flex-direction: column;
        gap: 28px;
    }
    .footer-nav {
        gap: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .what-icon-cards {
        grid-template-columns: 1fr 1fr;
    }
    .what-icon-cards .what-icon-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* =========================================== */
/* --- LINE 固定バナー --- */
/* =========================================== */

.line-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 20px;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.line-banner-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.line-banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 0.88rem;
    color: #333;
    font-weight: 500;
}

.line-banner-btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    background: #06C755;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.line-banner-btn:hover {
    background: #05a847;
}

.line-banner-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #bbb;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
}

.line-banner-close:hover {
    color: #888;
}

@media (max-width: 480px) {
    .line-banner-text span {
        font-size: 0.78rem;
    }
}

/* =========================================== */
/* --- ヒーロー内メディアロゴ --- */
/* =========================================== */

.hero-media-strip {
    margin-top: 48px;
    text-align: center;
}

.hero-media-strip p {
    font-size: 12px;
    color: #999;
    margin: 0 0 16px;
}

.hero-media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-media-logos img {
    height: 100px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hero-media-logos img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-media-logos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px 8px;
        justify-items: center;
        max-width: 340px;
        margin: 0 auto;
    }
    .hero-media-logos img {
        height: 56px;
        max-width: 100px;
    }
}

/* =========================================== */
/* --- ニュース & メディア掲載 リニューアル --- */
/* =========================================== */

.news-media-section {
    background: #fafbfc;
    padding: 64px 0;
}

.news-media-section .news-box,
.news-media-section .media-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 36px 36px;
    box-shadow: none;
}

.news-media-section .news-box h3,
.news-media-section .media-box h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eee;
}

.news-media-section .news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.news-media-section .news-date,
.news-media-section .media-date {
    font-size: 0.78rem;
    color: #999;
}

.news-media-section .news-category,
.news-media-section .media-category {
    display: inline-block;
    font-size: 0.68rem;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(23, 154, 174, 0.08);
    color: #179aae;
    font-weight: 600;
    border: none;
}

.news-media-section .news-title a,
.news-media-section .media-title a {
    font-size: 0.88rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.6;
}

.news-media-section .news-title a:hover,
.news-media-section .media-title a:hover {
    color: #179aae;
}

.news-media-section .media-source {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .news-media-section .news-media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================== */
/* --- パンくず & お知らせ モバイル修正 --- */
/* =========================================== */

.breadcrumb-nav {
    flex-wrap: wrap;
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 11px;
        gap: 4px;
    }

    .news-media-section .news-box,
    .news-media-section .media-box {
        padding: 24px 20px;
    }

    .news-media-section .news-item,
    .news-media-section .media-item {
        padding: 12px 8px;
    }

    .news-media-section .news-title a,
    .news-media-section .media-title a {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .news-media-section .news-meta {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 4px;
    }

    .news-media-section .news-date,
    .news-media-section .media-date {
        font-size: 0.72rem;
    }

    .news-media-section .news-category,
    .news-media-section .media-category {
        font-size: 0.62rem;
        padding: 1px 8px;
    }
}

/* =========================================== */
/* --- 記事ページ: 見出し極太修正 & テーブル --- */
/* =========================================== */

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.media-article-body h1,
.media-article-body h2,
.media-article-body h3,
.media-article-body h4 {
    font-weight: 700;
}

.article-body h1 strong,
.article-body h2 strong,
.article-body h3 strong,
.article-body h4 strong,
.article-body h1 b,
.article-body h2 b,
.article-body h3 b,
.article-body h4 b,
.media-article-body h1 strong,
.media-article-body h2 strong,
.media-article-body h3 strong,
.media-article-body h4 strong,
.media-article-body h1 b,
.media-article-body h2 b,
.media-article-body h3 b,
.media-article-body h4 b {
    font-weight: inherit;
}

/* テーブル レスポンシブ */
.article-body table,
.media-article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.article-body th,
.article-body td,
.media-article-body th,
.media-article-body td {
    padding: 12px 16px;
    border: 1px solid #eee;
    text-align: left;
}

.article-body th,
.media-article-body th {
    background: #fafbfc;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .article-body table,
    .media-article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        font-size: 0.78rem;
    }

    .article-body th,
    .article-body td,
    .media-article-body th,
    .media-article-body td {
        padding: 10px 12px;
        min-width: 100px;
    }
}

/* --- 記事見出し スマホサイズ調整 --- */
@media (max-width: 768px) {
    .article-title,
    .media-article-body h1 {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .article-body h1 {
        font-size: 1.3rem;
    }

    .article-body h2,
    .media-article-body h2 {
        font-size: 1.1rem;
    }

    .article-body h3,
    .media-article-body h3 {
        font-size: 1rem;
    }
}

/* --- 記事 スマホ縦間隔を詰める --- */
@media (max-width: 768px) {
    .article-header {
        padding: 20px 16px 16px;
    }

    .article-meta {
        margin-bottom: 12px;
        gap: 10px;
    }

    .article-title {
        line-height: 1.4;
        margin-bottom: 0;
    }

    .article-body {
        padding: 16px;
        line-height: 1.7;
    }

    .article-body h2 {
        margin: 20px 0 10px;
    }

    .article-body h3 {
        margin: 16px 0 8px;
    }

    .article-body p {
        margin-bottom: 12px;
    }
}

/* --- 見出し: 連続時の自動間隔 --- */
.article-body h2:first-child,
.article-body h3:first-child,
.media-article-body h2:first-child,
.media-article-body h3:first-child {
    margin-top: 0;
}

.article-body h2 + h3,
.media-article-body h2 + h3 {
    margin-top: 16px;
}

.article-body p + h2,
.article-body p + h3,
.article-body ul + h2,
.article-body ul + h3,
.article-body ol + h2,
.article-body ol + h3,
.article-body table + h2,
.article-body table + h3 {
    margin-top: 40px;
}

/* =========================================== */
/* --- 記事詳細ページ レイアウト修正 --- */
/* =========================================== */

.media-article-layout-single {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 0;
}

.media-article-content-single {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
}

.media-article-content-single .media-article-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid #eee;
}

.media-article-content-single .media-article-meta {
    margin-bottom: 12px;
}

.media-article-content-single .media-article-title {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #333;
    font-weight: 700;
}

.media-article-content-single .media-article-body {
    padding: 32px 40px;
    line-height: 1.8;
    color: #444;
}

.media-article-content-single .media-article-body h2 {
    font-size: 1.15rem;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #179aae;
    color: #333;
}

.media-article-content-single .media-article-body h3 {
    font-size: 1rem;
    margin: 32px 0 12px;
    color: #333;
}

.media-article-content-single .media-article-body h4 {
    font-size: 1rem;
    margin: 24px 0 10px;
    color: #333;
}

.media-article-content-single .media-article-body p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.media-article-content-single .media-article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 16px 0;
}

.media-article-content-single .media-article-body th,
.media-article-content-single .media-article-body td {
    padding: 12px 16px;
    border: 1px solid #eee;
    text-align: left;
}

.media-article-content-single .media-article-body th {
    background: #fafbfc;
    font-weight: 600;
    color: #333;
}

.media-article-content-single .media-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* サイドバー的な関連記事エリア */
.media-article-sidebar-single {
    margin-top: 40px;
}

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

    .media-article-content-single .media-article-header {
        padding: 16px 16px 12px;
    }

    .media-article-content-single .media-article-title {
        font-size: 1.2rem;
    }

    .media-article-content-single .media-article-body {
        padding: 16px;
    }

    .media-article-content-single .media-article-body h2 {
        font-size: 1.1rem;
        margin: 28px 0 12px;
    }

    .media-article-content-single .media-article-body h3 {
        font-size: 1rem;
        margin: 24px 0 10px;
    }

    .media-article-content-single .media-article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        font-size: 0.8rem;
    }

    .media-article-content-single .media-article-body th,
    .media-article-content-single .media-article-body td {
        padding: 8px 12px;
        min-width: 90px;
    }
}

/* =========================================== */
/* --- ニュース一覧ページ リニューアル --- */
/* =========================================== */

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

a.news-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

a.news-card:hover {
    background: #fafbfc;
    margin: 0 -16px;
    padding: 28px 16px;
    border-radius: 12px;
}

.news-card-thumb {
    width: 180px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    flex: 1;
    min-width: 0;
}

a.news-card .news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 8px;
    display: block;
}

a.news-card .news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

a.news-card .news-card-date {
    font-size: 0.78rem;
    color: #999;
}

a.news-card .news-card-category {
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(23, 154, 174, 0.08);
    color: #179aae;
    font-weight: 600;
}

a.news-card .news-card-excerpt {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    color: #666;
    background: #f5f5f5;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: #eee;
    color: #333;
}

.filter-tab.active {
    background: #179aae;
    color: #fff;
}

.pagination {
    max-width: 800px;
    margin: 40px auto;
}

@media (max-width: 768px) {
    a.news-card {
        gap: 16px;
        padding: 20px 0;
    }

    .news-card-thumb {
        width: 100px;
        height: 72px;
        border-radius: 8px;
    }

    a.news-card .news-card-title {
        font-size: 0.92rem;
    }

    a.news-card .news-card-excerpt {
        display: none;
    }

    a.news-card:hover {
        margin: 0 -8px;
        padding: 20px 8px;
    }
}

/* --- トップお知らせ サムネイル --- */
.news-media-section a.news-item.has-thumb {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    align-items: center;
}

.news-item-thumb {
    width: 160px;
    min-width: 160px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.news-item-body {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .news-item-thumb {
        width: 80px;
        min-width: 80px;
        height: 50px;
    }
}

/* --- トップ: 統合ニュースリスト --- */
.news-unified-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.news-more-btn {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: #179aae;
    border: 1px solid rgba(23, 154, 174, 0.3);
    background: #fff;
    transition: all 0.3s ease;
}

.news-more-btn:hover {
    background: rgba(23, 154, 174, 0.06);
    border-color: #179aae;
}

/* --- 一覧ページ: メディアソース --- */
.news-card-source {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0 0 4px;
}

/* --- フィルター: 親子構造 --- */
.filter-group {
    max-width: 800px;
    margin: 0 auto 32px;
}

.filter-group > .filter-tabs {
    margin-bottom: 16px;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.filter-section-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    min-width: 80px;
    flex-shrink: 0;
}

.filter-section .filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .filter-section-label {
        min-width: auto;
    }
}

/* --- フィルター: 親タブ + 子タブ展開式 --- */
.filter-tabs-main {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 12px;
}

.filter-tabs-sub {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 28px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.filter-tab-sub {
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 0.76rem;
    font-weight: 500;
    text-decoration: none;
    color: #888;
    background: transparent;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.filter-tab-sub:hover {
    color: #179aae;
    border-color: #179aae;
}

.filter-tab-sub.active {
    background: #179aae;
    color: #fff;
    border-color: #179aae;
}

/* --- 記事詳細: アイキャッチ画像 --- */
.media-article-thumbnail {
    padding: 0;
    border-bottom: 1px solid #eee;
}

.media-article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================== */
/* --- ガイド & ブログ カード --- */
/* =========================================== */

.content-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.content-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.content-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.content-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-card-body {
    padding: 20px;
    flex: 1;
}

.content-card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card-body p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-cards-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .content-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .content-card {
        flex-direction: row;
    }

    .content-card-thumb {
        width: 100px;
        min-width: 100px;
        aspect-ratio: auto;
        height: 80px;
    }

    .content-card-body {
        padding: 12px 16px;
    }

    .content-card-body h3 {
        font-size: 0.88rem;
    }
}
