/* ===================================
   リセット & ベーススタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #ffffff;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    background: transparent;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===================================
   共通スタイル
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: #1a1a1a;
    line-height: 1.4;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 80px 0 40px;
    color: #1a1a1a;
}

.highlight-title {
    color: #f900dc;
}

.text-accent {
    color: #f900dc;
    font-weight: 700;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
}

.btn-primary {
    background: #f900dc;
    color: #fff;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.btn-primary:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.8);
}

.btn-secondary {
    background: #fff;
    color: #f900dc;
    border: 2px solid #f900dc;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.8);
}

.btn-secondary:hover {
    background: #f900dc;
    color: #fff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.btn-secondary:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.8);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.125rem;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 35px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1a1a1a;
}

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

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f900dc;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    padding: 10px 25px;
    background: #f900dc;
    color: #fff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 0, 220, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    padding: 140px 60px 100px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #1a1a1a;
    animation: fadeInUp 1s ease;
    max-width: 100%;
}

.hero-title-mobile {
    display: none;
}

.hero-subtitle-mobile {
    display: none;
}

.hero-title-desktop {
    display: block;
}

.hero-subtitle-desktop {
    display: block;
}

.hero-hearts {
    margin: 20px 0;
    animation: fadeInUp 1s ease 0.2s both;
}

.pixel-hearts {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   私たちについてセクション
   =================================== */
.about-section {
    padding: 120px 60px 200px;
    background: transparent;
}

.about-problem,
.about-solution,
.about-results {
    margin-bottom: 150px;
}

.about-problem {
    margin-bottom: 320px;
}

.about-solution {
    margin-bottom: 320px;
}

.about-results {
    margin-bottom: 80px;
}

/* 問題カード */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    background: #f8f9fc;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: #f900dc;
    box-shadow: 0 10px 30px rgba(249, 0, 220, 0.15);
}

.problem-icon {
    font-size: 3rem;
    color: #f900dc;
    margin-bottom: 20px;
}

.problem-card p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}

/* 原因リスト */
.reason-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-item {
    text-align: center;
    max-width: 280px;
}

.reason-number {
    font-size: 4rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
}

.reason-icon {
    font-size: 4rem;
    color: #000;
    margin-bottom: 15px;
}

.reason-item p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

/* 解決策 */
.solution-content {
    max-width: 800px;
    margin: 0 auto;
}

.solution-text {
    text-align: center;
}

.solution-lead {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 2;
}

.solution-text p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    line-height: 2;
}

.solution-highlight {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    border-left: 5px solid #f900dc;
}

.solution-highlight p {
    font-size: 1.25rem;
    line-height: 2;
    margin: 0;
}

/* 実績カード */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.result-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.result-card:hover .result-image img {
    transform: scale(1.02);
}

.result-content {
    padding: 30px;
    text-align: center;
}

.result-category {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: #000;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

.result-description {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
}

.results-more {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #000;
    border-radius: 50px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* ===================================
   実績一覧ページ
   =================================== */
.results-archive-section {
    padding: 120px 60px;
    background: #fff;
    min-height: 100vh;
}

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

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #000;
}

.page-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
}

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

.result-archive-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.result-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.result-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-archive-card:hover .result-card-image img {
    transform: scale(1.05);
}

.result-card-content {
    padding: 30px;
}

.result-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

/* ===================================
   サービスセクション
   =================================== */
.service-section {
    padding: 120px 60px;
    background: transparent;
}

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

.service-card {
    background: #f8f9fc;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: #f900dc;
    color: #fff;
}

.service-card:hover .service-icon {
    color: #fff;
}

.service-icon {
    font-size: 3.5rem;
    color: #f900dc;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ご利用の流れ */
.service-flow {
    background: transparent;
    padding: 60px 40px;
    border-radius: 30px;
    margin-top: 60px;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.step-number {
    width: 55px;
    height: 55px;
    background: #f900dc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.step-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 1.4rem;
    color: #f900dc;
    flex-shrink: 0;
    margin: 0 8px;
}

/* ===================================
   ニュースセクション
   =================================== */
.news-section {
    padding: 120px 60px;
    background: transparent;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    margin-bottom: 20px;
}

.news-link {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    text-decoration: none;
    color: inherit;
}

.news-link:hover {
    transform: translateX(5px);
    border-left-color: #f900dc;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-link:hover .news-title {
    color: #f900dc;
}

.news-date {
    font-size: 1rem;
    color: #f900dc;
    font-weight: 700;
    min-width: 110px;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}

/* ===================================
   会社概要セクション
   =================================== */
.company-section {
    padding: 120px 60px;
    background: transparent;
}

.company-table {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
}

.company-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    min-height: 70px;
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    flex: 0 0 180px;
    background: #f8f9fc;
    color: #333;
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid #e0e0e0;
}

.company-value {
    flex: 1;
    padding: 20px 30px;
    background: #fff;
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* 会社概要固定ページ専用スタイル */
.company-page {
    min-height: 60vh;
    padding-top: 150px;
}

.company-page .section-title {
    font-size: 2.5rem;
}

/* ===================================
   投稿詳細ページ
   =================================== */
.post-detail-section {
    padding: 120px 60px;
    background: transparent;
    min-height: 60vh;
}

.post-article {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 15px;
}

.post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.post-date {
    display: inline-block;
    font-size: 1rem;
    color: #f900dc;
    font-weight: 700;
    margin-bottom: 20px;
}

.post-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
}

.post-content {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
    margin-bottom: 60px;
}

.post-content p {
    margin-bottom: 30px;
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 50px 0 25px;
    color: #1a1a1a;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1a1a1a;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.post-footer {
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact-section {
    padding: 120px 60px;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

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

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

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-email {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-email a:hover {
    opacity: 0.8;
}

/* ===================================
   言語切り替えボタン
   =================================== */
.lang-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lang-toggle:hover {
    background: #f900dc;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 0, 220, 0.5);
}

.lang-toggle:active {
    transform: scale(0.95);
}

.lang-text {
    font-size: 1rem;
    line-height: 1;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: transparent;
    color: #1a1a1a;
    padding: 80px 60px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

.footer-logo .logo-img {
    height: 35px;
    width: auto;
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 10px;
}

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

.footer-nav a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.5;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 1024px) {
    .header-content {
        padding: 22px 0;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.4;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .flow-steps {
        gap: 15px;
    }
    
    .flow-step {
        min-width: 110px;
        max-width: 160px;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .step-content h4 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.78rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
    
    /* 実績一覧ページ - タブレット */
    .results-archive-section {
        padding: 100px 30px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .results-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .result-card-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .header-content {
        justify-content: center;
        position: relative;
        padding: 25px 0;
    }
    
    .logo-img {
        height: 40px;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-toggle {
        position: absolute;
        right: 0;
    }

    .container {
        padding: 0 15px;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.4;
    }

    .hero-title-desktop {
        display: none !important;
    }

    .hero-title-mobile {
        display: block !important;
    }

    .hero-subtitle-desktop {
        display: none !important;
    }

    .hero-subtitle-mobile {
        display: block !important;
    }

    .pixel-hearts {
        max-width: 200px;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .hero-section,
    .about-section,
    .service-section,
    .news-section,
    .contact-section {
        padding: 80px 15px 120px;
    }

    .subsection-title {
        font-size: 1.5rem;
        margin: 60px 0 30px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reason-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .about-problem {
        margin-bottom: 200px;
    }
    
    .about-solution {
        margin-bottom: 200px;
    }
    
    .about-results {
        margin-bottom: 80px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    
    .result-image {
        height: 250px;
    }

    .news-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .company-row {
        flex-direction: column;
        min-height: auto;
    }

    .company-label {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        padding: 15px 20px;
    }

    .company-value {
        flex: none;
        width: 100%;
        padding: 15px 20px;
        text-align: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-email {
        font-size: 1.125rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
    
    /* 実績グリッド - スマホは1カラム */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .result-image {
        height: 280px;
    }
    
    /* 実績一覧ページ - スマホ */
    .results-archive-section {
        padding: 80px 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .results-archive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .result-card-image {
        height: 200px;
    }
    
    .result-card-content {
        padding: 25px 20px;
    }
    
    .result-card-title {
        font-size: 1rem;
    }

    /* スマホで全要素を中央配置 */
    .reason-item,
    .service-card,
    .result-card,
    .flow-step,
    .news-item {
        margin-left: auto;
        margin-right: auto;
    }

    .problem-item,
    .solution-content {
        text-align: center;
    }

    .about-problem p,
    .about-solution p {
        text-align: center;
    }

    /* 投稿詳細ページのスマホ対応 */
    .post-detail-section {
        padding: 80px 15px;
    }

    .post-article {
        padding: 30px 20px;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-content {
        font-size: 1rem;
    }

    /* 会社概要固定ページのスマホ対応 */
    .company-page {
        padding-top: 100px;
    }

    .company-page .section-title {
        font-size: 1.75rem;
    }

    /* 言語切り替えボタンのスマホ対応 */
    .lang-toggle {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 0.8rem;
    }

    .lang-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero-title-desktop {
        display: none !important;
    }

    .hero-title-mobile {
        display: block !important;
    }

    .hero-subtitle-desktop {
        display: none !important;
    }

    .hero-subtitle-mobile {
        display: block !important;
    }

    .pixel-hearts {
        max-width: 180px;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 14px 30px;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .contact-email {
        font-size: 1rem;
        flex-direction: column;
    }
}