//*
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;
    --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: var(--text-dark);
    background: var(--white);
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
}

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

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

/* トップページ用ヒーローヘッダー */
.header {
    background: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(23, 154, 174, 0.03) 0%, transparent 70%);
    animation: float 20s infinite linear;
}

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

.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: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.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;
}

.main-tagline {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.sub-tagline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 0 48px;
    line-height: 1.7;
}

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

.phone-mockup {
    max-width: 800px; /* 300px から 400px に変更 */
    width: 100%;
    height: auto;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
    animation: phoneFloat 6s ease-in-out infinite;
}


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

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

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


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


.badge {
    background: var(--background-light);
    padding: 12px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

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

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

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

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    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: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.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: var(--text-light);
    font-size: 14px;
}

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

.main-feature {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--border-radius-large);
    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: var(--white);
    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: var(--text-light);
    margin-bottom: 24px;
}

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

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

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

.sub-feature {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

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

.step {
    text-align: center;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    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: var(--white);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-large);
    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: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.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: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
}

.founder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    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: var(--white);
    padding: 24px 32px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.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: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.news-meta, .media-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.news-badge {
    background: #FF6B6B;
    color: var(--white);
    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: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    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: var(--white);
}

/* 一覧ページの記事タイトルを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: var(--white) !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: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.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: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section の下に追加 */
.stat-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

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

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

/* Client Logos Section */
.client-logos {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

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

.client-logos h3 {
    font-size: 18px;
    color: var(--text-light);
    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: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    padding: 8px 12px;
}

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

.logo-item img {
    max-height: 30px;
    max-width: 100px;
    opacity: 0.7;
    transition: var(--transition);
}

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

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

/* レスポンシブ対応 */
@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: 48px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--white);
    border: 2px solid var(--border-light);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* 記事グリッド */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

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

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

.news-card-date {
    color: var(--text-lighter);
    font-size: 14px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
}

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

.news-card-excerpt {
    color: var(--text-light);
    margin-bottom: 16px;
    flex: 1;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    font-size: 14px;
}
.pagination .page-numbers {
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    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: var(--white);
}

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

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

.article-content {
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.article-header {
    padding: 48px 48px 32px;
    border-bottom: 1px solid var(--border-light);
}

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

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

.article-date {
    color: var(--text-lighter);
    font-size: 14px;
}

.article-title {
    font-size: 32px;
    line-height: 1.3;
}

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

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

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

.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: var(--background-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-light);
}

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

.sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    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: var(--white);
    padding: 80px 0;
    text-align: center;
}

.footer-cta h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 16px;
}

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

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

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);
}

.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: var(--white);
    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: var(--transition);
    font-size: 14px;
}

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

.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: 22px;
    }

    .article-header, .article-body {
        padding: 24px 20px;
    }

    .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: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.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: var(--white);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.media-card-date {
    color: var(--text-lighter);
    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: var(--text-light);
    margin-bottom: 16px;
    flex: 1;
}

.media-source {
    background: var(--background-light);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    margin-bottom: 8px;
    color: var(--text-dark);
    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: var(--text-light);
}

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

.media-article-content {
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.media-article-header {
    padding: 48px 48px 32px;
    border-bottom: 1px solid var(--border-light);
}

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

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

.media-article-date {
    color: var(--text-lighter);
    font-size: 14px;
}

.media-article-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 24px;
}

.media-info-box {
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-large);
    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: var(--white);
    padding: 10px 16px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

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

.media-article-body {
    padding: 48px;
    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: var(--background-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-light);
}

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

.related-media-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.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: var(--text-lighter);
}

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

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.post-count {
    font-size: 12px;
    color: var(--text-lighter);
}

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

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

.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: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-large);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.nav-title {
    font-size: 16px;
    color: var(--text-dark);
    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: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.legal-header {
    padding: 48px 48px 32px;
    border-bottom: 1px solid var(--border-light);
}

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

.legal-updated {
    color: var(--text-light);
    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: var(--text-dark);
}

.legal-body h3 {
    font-size: 20px;
    margin: 24px 0 12px 0;
    color: var(--text-dark);
}

.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: var(--background-light);
    border-top: 1px solid var(--border-light);
}

.legal-contact h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-info {
    margin-top: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

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

.legal-nav {
    background: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    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: var(--text-dark);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.legal-nav a:hover {
    background: var(--background-light);
    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: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
}

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

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

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    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: var(--border-radius);
    display: inline-block;
    transition: var(--transition);
}

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

.contact-form-section {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
}

.contact-form-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.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: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.contact-info-section {
    background: var(--background-light);
    padding: 48px;
    border-radius: var(--border-radius-large);
}

.contact-info-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.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: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
}

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

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

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

.company-vision {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
}

.company-vision h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.company-info {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
}

.company-info h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

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

.info-table th,
.info-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.info-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--text-dark);
    width: 200px;
}

.info-table td {
    color: var(--text-light);
}

.founder-section {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
}

.founder-section h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.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: var(--white);
    font-weight: 600;
    font-size: 24px;
}

.founder-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

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

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

.company-stats {
    background: var(--background-light);
    padding: 48px;
    border-radius: var(--border-radius-large);
}

.company-stats h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
    text-align: center;
}

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

.stat-item {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    text-align: center;
    border: 1px solid var(--border-light);
}

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

.stat-item .stat-label {
    color: var(--text-light);
    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;
    }
}

/* ========================================
   加盟店募集ページ
======================================== */

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

/* ヒーローセクション */
.partner-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-large);
    margin-bottom: 64px;
    overflow: hidden;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 48px;
}

.hero-text-content {
    color: var(--white);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.2;
    color: var(--white);
    opacity: 0.9;
}

.partner-main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--white);
}

.hero-description-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--white);
}

.partner-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    color: var(--white);
}

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

.tablet-mockup {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
}

.tablet-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(0deg);
}

.tablet-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

/* サービス紹介 */
.service-intro {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
}

.service-intro h2 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--text-dark);
    text-align: center;
}

.intro-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

.connection-diagram {
    max-width: 700px;
    margin: 0 auto;
}

.connection-sides {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    border: 2px solid var(--primary-color);
}

.user-side, .store-side {
    text-align: center;
    flex: 1;
}

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

.user-side h4, .store-side h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.user-side p, .store-side p {
    color: var(--text-light);
    font-size: 14px;
}

.connection-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 32px;
    position: relative;
}

.bridge-line {
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 8px;
}

.bridge-icon {
    font-size: 32px;
    margin-bottom: 4px;
}

.bridge-text {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.usage-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.flow-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

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

.flow-item p {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

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

/* メリット */
.store-benefits {
    background: var(--background-light);
    padding: 48px;
    border-radius: var(--border-radius-large);
    margin-bottom: 48px;
}

.store-benefits h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-align: center;
}

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

.benefit-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* 導入店舗一覧 */
.partner-stores {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
    text-align: center;
}

.partner-stores h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

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

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    padding: 8px 12px;
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.partner-logo img {
    max-height: 40px;
    max-width: 100px;
    opacity: 0.8;
    transition: var(--transition);
}

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

/* 実績 */
.partner-stats {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    margin-bottom: 48px;
    text-align: center;
}

.partner-stats h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

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

.stat-highlight .stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.stat-description {
    color: var(--text-light);
    font-size: 14px;
    max-width: 200px;
}

.stats-sub {
    display: flex;
    gap: 32px;
}

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

.sub-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

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

/* ターゲット（こんな店舗様におすすめ）- 2×2グリッドレイアウト */
.target-stores {
    background: var(--background-light);
    padding: 48px;
    border-radius: var(--border-radius-large);
    margin-bottom: 48px;
}

.target-stores h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-align: center;
}

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

.target-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

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

.target-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.target-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}



/* お問い合わせ */
.contact-section {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
}

.contact-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-dark);
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-primary,
.contact-email {
    text-align: center;
    padding: 32px 24px;
    background: var(--background-light);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
}

.contact-primary h3,
.contact-email h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-primary p,
.contact-email p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.primary-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

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

.email-cta {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    display: inline-block;
    transition: var(--transition);
}

.email-cta:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-note {
    background: var(--background-light);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.contact-note h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-note li {
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.contact-note li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* レスポンシブ対応 */
@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;
    }
    
    .service-intro,
    .store-benefits,
    .partner-stats,
    .target-stores,
    .how-it-works,
    .partner-stores,
    .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;
    }
    
    .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;
    }
    
    /* ターゲットカードをモバイルでは1列に */
    .target-grid {
        grid-template-columns: 1fr;
    }
    

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

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

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

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.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: var(--white);
    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: var(--white);
    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: var(--background-light);
    padding: 32px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-light);
    text-align: center;
}

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

.coming-soon-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    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: var(--white);
    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: var(--white);
    font-size: 42px;
    margin-bottom: 16px;
}

.coming-soon-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0.95;
}

.coming-soon-section .section-subtitle {
    color: var(--white);
    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: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.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: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-feature p {
    color: var(--white);
    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: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notify-section h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
}

.notify-section p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: 16px;
}

.notify-button {
    background: var(--white);
    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: var(--transition);
    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: var(--white);
    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: var(--white);
    border: 2px solid #00B900;
    border-radius: var(--border-radius-large);
    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: var(--text-light);
    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: var(--background-light);
    border: 2px solid #E8F5E8;
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    transition: var(--transition);
}

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

.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: var(--text-light);
    line-height: 1.5;
}

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

.line-register-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #00B900;
    color: var(--white);
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    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: var(--white);
    color: #00B900;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.line-note {
    color: var(--text-light);
    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: var(--white);
    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: var(--white);
    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: var(--white);
    font-size: 42px;
    margin-bottom: 16px;
}

.coming-soon-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0.95;
}

.coming-soon-section .section-subtitle {
    color: var(--white);
    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: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.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: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-feature p {
    color: var(--white);
    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: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notify-section h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
}

.notify-section p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: 16px;
}

.notify-button {
    background: var(--white);
    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: var(--transition);
    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: var(--white);
    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;
    }
}