/*
Theme Name: ヤマエイ青果
Description: 長崎県諫早市の青果卸売業者ヤマエイ青果のオフィシャルWordPressテーマ。新鮮な野菜・生鮮青果を飲食店・給食業者へ安定供給する企業サイト用テーマです。
Author: ヤマエイ青果
Version: 1.0
Text Domain: yamaei-seika
*/

:root {
    --primary-color: #1a472a;
    --secondary-color: #2d5a3d;
    --accent-color: #4a8060;
    --light-green: #e8f5e9;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --background-light: #fafafa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Header */
.header {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-image {
    transition: var(--transition);
    max-height: 80px;
    width: auto;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4KICAgIDxwYXRoIGQ9Ik0yMDAgNTBMMjUwIDEwMEgyNTBMMjAwIDUweiIgZmlsbD0iIzFhNDcyYSIvPgogICAgPHBhdGggZD0iTTIwMCA1MEwxNTAgMTAwSDE1MEwyMDAgNTB6IiBmaWxsPSIjMWE0NzJhIi8+CiAgICA8cG9seWdvbiBwb2ludHM9IjIwMCw1MCAxNTAsMTAwIDEzMCwxNTAgMTMwLDI1MCAxNTAsMzAwIDI1MCwzMDAgMjcwLDI1MCAyNzAsMTUwIDI1MCwxMDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzFhNDcyYSIgc3Ryb2tlLXdpZHRoPSI0Ii8+CiAgICA8dGV4dCB4PSIyMDAiIHk9IjE3MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9InNlcmlmIiBmb250LXNpemU9IjQwIiBmaWxsPSIjMWE0NzJhIj7lsbE8L3RleHQ+Cjwvc3ZnPg==');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ヒーロー画像（LCP最適化） */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Hero with Logo Background */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4KICAgIDxwb2x5Z29uIHBvaW50cz0iMjAwLDUwIDE1MCwxMDAgMTMwLDE1MCAxMzAsMjUwIDE1MCwzMDAgMjUwLDMwMCAyNzAsMjUwIDI3MCwxNTAgMjUwLDEwMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMSkiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

.hero-content .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 2rem;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Section Common Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-height: 100px;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.feature-item strong {
    color: #8B4513;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    margin-bottom: 6px;
    display: block;
    line-height: 1.2;
}

.feature-item p {
    color: #8B4513;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
    opacity: 0.9;
    line-height: 1.3;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.about-image > img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
    display: block;
    border-radius: 20px 20px 0 0;
}

.about-image:hover > img {
    transform: scale(1.02);
}

.about-image .logo-message {
    background: var(--white);
    padding: 28px 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
    overflow: visible;
    border-radius: 0 0 20px 20px;
}

.about-image .logo-message p {
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: left;
    width: 100%;
    max-width: 100%;
    letter-spacing: 0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Stats Section */
.stats {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

/* 統計セクションの単位を30%小さく */
.stats .stat-number span,
.stats-grid .stat-number span {
    font-size: 2.1rem !important; /* 3remの70%を絶対値で指定 */
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 統計セクション注釈 */
.stats .stats-note {
    text-align: right !important;
    margin-top: 30px !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 0.6rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic !important;
    opacity: 0.8 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd23f);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f7931e, #ffd23f);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #ffd23f, #4ecdc4);
}

.service-card:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.25);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(247, 147, 30, 0.25);
    border-color: rgba(247, 147, 30, 0.3);
}

.service-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(255, 210, 63, 0.25);
    border-color: rgba(255, 210, 63, 0.3);
}

.service-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-content {
    padding: 28px;
    position: relative;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.service-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-top: 16px;
}

/* Products Section */
.products {
    background: var(--background-light);
}

.products-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-content {
    padding: 28px;
}

.product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-content p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-producer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

.product-producer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.product-producer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Flow Section */
.flow {
    background: var(--white);
}

.flow-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--light-green);
}

.flow-item {
    position: relative;
    padding: 40px 0;
    display: flex;
    align-items: center;
    gap: 40px;
}

.flow-item:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.flow-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.flow-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.flow-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Company Info Section */
.company-info {
    background: var(--background-light);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.company-details {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.company-details h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-table {
    width: 100%;
    flex: 1;
}

.info-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 16px 0;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 140px;
}

.company-map {
    height: 100%;
    min-height: 500px;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
}

.map-placeholder h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Modern Map Container Styles */
.modern-map-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 71, 42, 0.08);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Map Header */
.map-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.map-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.map-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.location-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-header-text h4 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.map-header-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Interactive Map Wrapper */
.interactive-map-wrapper {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid rgba(26, 71, 42, 0.08);
}

.default-map-embed iframe,
.custom-map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* Map Actions */
.map-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.map-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-action-btn.primary {
    background: var(--primary-color);
    color: var(--white);
}

.map-action-btn.primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 71, 42, 0.3);
}

.map-action-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.map-action-btn.secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Access Cards */
.access-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    align-items: stretch;
}

.access-card {
    background: var(--background-light);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(26, 71, 42, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.access-card:hover::before {
    transform: scaleX(1);
}

.access-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 71, 42, 0.1);
}

.access-card-icon {
    width: 48px;
    height: 48px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.access-card:hover .access-card-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

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

.access-card-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.2;
    flex-shrink: 0;
}

.access-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.access-card-content li {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.access-card-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.access-card-content li:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Responsive Design for Map */
@media (max-width: 768px) {
    .map-header {
        padding: 20px;
    }
    
    .map-header-content {
        gap: 12px;
    }
    
    .location-icon {
        width: 40px;
        height: 40px;
    }
    
    .map-header-text h4 {
        font-size: 1.2rem;
    }
    
    .access-cards {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 12px;
    }
    
    .map-actions {
        position: static;
        justify-content: center;
        padding: 16px 20px;
        background: var(--white);
        border-top: 1px solid rgba(26, 71, 42, 0.08);
    }
    
    .map-action-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Customer Reviews Section */
.customer-reviews {
    background: var(--white);
}

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

.review-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 71, 42, 0.08);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.review-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.review-card:hover .review-image::after {
    opacity: 1;
}

.review-content-wrapper {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.review-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.review-info h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.review-info h4 a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.review-stars {
    font-size: 0.9rem;
    color: #ffa500;
}

.review-content {
    margin-bottom: 20px;
    flex: 1;
}

.review-content p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-content p::before {
    display: none;
}

.review-category {
    display: inline-block;
    background: var(--light-green);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-top: auto;
}

/* Reviews Summary */
.reviews-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.reviews-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.summary-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.summary-stat .stat-number span {
    font-size: 2.1rem !important; /* 3remの70%を絶対値で指定 */
}

.summary-stat .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        margin-bottom: 0;
    }
    
    .review-image {
        height: 180px;
    }
    
    .review-content-wrapper {
        padding: 20px;
    }
    
    .review-header {
        gap: 12px;
    }
    
    .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .reviews-summary {
        padding: 40px 30px;
    }
    
    .summary-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 30px;
    }
    
    .summary-stat .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .review-image {
        height: 160px;
    }
    
    .review-content-wrapper {
        padding: 18px;
    }
    
    .review-header {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .review-info h4 {
        font-size: 1rem;
    }
    
    .review-content {
        margin-bottom: 15px;
    }
    
    .review-content p {
        font-size: 0.9rem;
        padding-left: 15px;
    }
    
    .review-category {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* Contact Section - Modern LINE-focused Design */
.contact {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 50%, #d4f1e8 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 40%;
    height: 140%;
    background: linear-gradient(45deg, rgba(0, 195, 0, 0.08) 0%, rgba(26, 71, 42, 0.12) 100%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 40%;
    height: 140%;
    background: linear-gradient(-45deg, rgba(0, 195, 0, 0.06) 0%, rgba(74, 128, 96, 0.10) 100%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite reverse;
    z-index: 0;
}

.contact .section-title {
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.contact .section-title::after {
    background: var(--accent-color);
}

.contact .section-subtitle {
    color: var(--text-gray);
    position: relative;
    z-index: 2;
}

/* Main LINE CTA */
.line-cta-main {
            background: linear-gradient(135deg, #00c300 0%, #00a300 100%);
            border-radius: 30px;
            padding: 50px;
            margin: 60px auto;
            max-width: 800px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 195, 0, 0.2);
            z-index: 2;
        }

        .line-cta-main::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: rotate 30s linear infinite;
        }

        .line-cta-content {
            position: relative;
            z-index: 1;
            text-align: center;
            color: white;
        }

        .line-cta-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.2);
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
            backdrop-filter: blur(10px);
        }

        .line-cta-title {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 800;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .line-cta-subtitle {
            font-size: 1.1rem;
            opacity: 0.95;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .line-button-mega {
            background: rgba(255,255,255,0.95);
            color: #00c300;
            padding: 20px 40px;
            text-decoration: none;
            border-radius: 60px;
            font-size: 1.3rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 15px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .line-button-mega::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.6s;
        }

        .line-button-mega:hover::before {
            left: 100%;
        }

        .line-button-mega:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            color: #00a300;
        }

        .line-icon-mega {
            width: 32px;
            height: 32px;
            background: #00c300;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }

        /* Benefits Grid */
        .line-benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin: 40px 0;
            position: relative;
            z-index: 2;
        }

        .line-benefit {
            background: rgba(255,255,255,0.8);
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 195, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .line-benefit::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #00c300, #00a300);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .line-benefit:hover::before {
            transform: scaleX(1);
        }

        .line-benefit:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 195, 0, 0.1);
            background: rgba(255,255,255,0.95);
        }

        .line-benefit-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #00c300, #00a300);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 24px;
            color: white;
            box-shadow: 0 8px 20px rgba(0, 195, 0, 0.3);
        }

        .line-benefit h4 {
            font-size: 1.2rem;
            color: var(--primary-color);
            margin-bottom: 10px;
            font-weight: 700;
        }

        .line-benefit p {
            color: var(--text-gray);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Alternative Contact Methods */
        .alternative-contact {
            margin-top: 60px;
            position: relative;
            z-index: 2;
        }

        .alternative-title {
            text-align: center;
            font-size: 1.1rem;
            color: var(--text-gray);
            margin-bottom: 30px;
            position: relative;
        }

        .alternative-methods {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .alternative-method {
            background: rgba(255,255,255,0.6);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            min-width: 200px;
            border: 1px solid rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .alternative-method::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.5s;
        }

        .alternative-method:hover::before {
            left: 100%;
        }

        .alternative-method:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            background: rgba(255,255,255,0.8);
        }

        .alternative-icon {
            font-size: 2rem;
            margin-bottom: 15px;
            opacity: 0.7;
        }

        .alternative-method h4 {
            font-size: 1rem;
            color: var(--primary-color);
            margin-bottom: 8px;
            font-weight: 600;
        }

        .alternative-method p {
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.5;
        }

        /* Business Info */
        .business-info-modern {
            background: rgba(255,255,255,0.7);
            border-radius: 20px;
            padding: 40px;
            margin-top: 50px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 195, 0, 0.1);
            position: relative;
            z-index: 2;
        }

        .business-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            text-align: center;
        }

        .business-info-item {
            position: relative;
        }

        .business-info-item h5 {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 1rem;
        }

        .business-info-item p {
            color: var(--text-gray);
            font-size: 0.95rem;
            line-height: 1.6;
        }

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translateY(-15px) rotate(3deg) scale(1.05); 
    }
    66% { 
        transform: translateY(-25px) rotate(-2deg) scale(0.95); 
    }
}

        /* Responsive */
        @media (max-width: 768px) {
            .line-cta-main {
                padding: 40px 30px;
                margin: 40px 20px;
            }
            
            .line-button-mega {
                padding: 18px 30px;
                font-size: 1.1rem;
            }
            
            .line-benefits {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .alternative-methods {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }
            
            .business-info-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
        }

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat-x;
    background-size: 100px 20px;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-image-container {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* .footer-logo .logo-image-container:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3)) !important;
} */

.footer-logo .logo-image-container img {
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-info {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-info p {
    margin: 0;
    font-size: 0.95rem;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo .logo-image-container {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto 15px !important;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .footer-info {
        margin-bottom: 15px;
    }
    
    .footer-info p {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 75px;
    }
    
    .footer-text-logo {
        height: 60px !important;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* フッターテキストロゴ */
.footer-text-logo {
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

/* .footer-text-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
} */

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

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

/* アニメーション完了後のwill-changeをリセット */
.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    will-change: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        max-height: 70px;
    }
    
    .footer-text-logo {
        height: 56px !important;
    }
    
    /* 会社概要の画像をモバイルで非表示 */
    .about-image {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 20px 0;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle:hover {
        color: var(--secondary-color);
    }
    
    /* モバイルメニューが開いているときの背景オーバーレイ */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* モバイルメニューが開いているときのbodyスクロール防止 */
    body.menu-open {
        overflow: hidden;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    .hero-content .description {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .about-content,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .flow-timeline::before {
        left: 40px;
    }
    
    .flow-item {
        flex-direction: column !important;
        text-align: left;
    }
    
    .flow-number {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 75px;
    }
    
    .footer-text-logo {
        height: 60px !important;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* フッターテキストロゴ */
.footer-text-logo {
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

/* .footer-text-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
} */ /* ローチE��ング画面 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loading-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.loading-text-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-text-logo-image {
    height: 100%;
    width: auto;
    max-width: 300px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ローチE��ング画面表示中はbodyのスクロールを無効匁E*/
body.loading {
    overflow: hidden;
}

/* LINE相諁E��ロート�Eタン */
.line-float-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: floatBounce 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.line-float-button:hover {
    transform: scale(1.1);
}

.line-float-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.line-float-image {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.line-float-link:hover .line-float-image {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* モバイル対忁E*/
@media (max-width: 768px) {
    .line-float-button {
        bottom: 20px;
        right: 20px;
    }
    
    .line-float-image {
        max-width: 150px;
        max-height: 150px;
    }
}

/* ブログ関連記事スタイル */
.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.post-navigation a:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* ブログカチE��リー・タグスタイル */
.post-categories a:hover,
.post-tags a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr !important;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .post-navigation > div {
        width: 100%;
    }
    
    .post-navigation a {
        width: 100%;
        justify-content: space-between;
    }
}

/* =====================================================
   ブログペ�Eジ スタイル
   ===================================================== */

/* ブログメイン */
.blog-main {
    min-height: 100vh;
    background: var(--background-light);
}

/* =====================================================
   ヒ�Eローエリア
   ===================================================== */

/* 個別記事ヒーロー */
.blog-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding-top: 72px;
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 71, 42, 0.95) 0%, rgba(26, 71, 42, 0.7) 50%, rgba(26, 71, 42, 0.4) 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 50px;
    color: var(--white);
}

.blog-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-icon {
    font-size: 1.1rem;
}

.meta-categories {
    display: flex;
    gap: 8px;
}

.category-badge {
    padding: 4px 14px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.category-badge:hover {
    background: rgba(255,255,255,0.3);
}

/* アーカイブヒーロー */
.archive-hero, .category-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    text-align: center;
    overflow: hidden;
}

.archive-hero-bg, .category-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.archive-hero-bg::before, .category-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.archive-hero-content, .category-hero-content {
    position: relative;
    z-index: 1;
    padding: 50px 20px;
    color: var(--white);
}

.archive-hero-icon, .category-hero-badge {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.category-hero-badge {
    font-size: 1rem;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.archive-hero-title, .category-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.archive-hero-desc, .category-hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.archive-hero-count, .category-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.count-number, .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.count-label, .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =====================================================
   パンくずリスチE
   ===================================================== */

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    opacity: 0.5;
}

.breadcrumb-list a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    opacity: 1;
}

.breadcrumb-list li[aria-current="page"] {
    opacity: 0.7;
}

/* =====================================================
   カチE��リーナビゲーション
   ===================================================== */

.category-nav-section {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.category-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-nav-scroll {
    display: flex;
    gap: 8px;
    padding: 15px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.category-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--background-light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.category-nav-item:hover {
    background: var(--light-green);
    color: var(--primary-color);
}

.category-nav-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-count {
    font-size: 0.75rem;
    padding: 2px 6px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.category-nav-item.active .nav-count {
    background: rgba(255,255,255,0.2);
}

/* =====================================================
   コンチE��・レイアウチE
   ===================================================== */

.blog-container, .archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.blog-layout, .archive-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.archive-main-content {
    min-width: 0;
}

/* =====================================================
   記事コンチE��チE
   ===================================================== */

.blog-article {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.blog-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-green);
}

.blog-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.blog-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.blog-content p {
    margin-bottom: 25px;
}

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

.blog-content ul, .blog-content ol {
    margin: 25px 0;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: var(--light-green);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.blog-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-content a:hover {
    color: var(--accent-color);
}

/* =====================================================
   タグセクション
   ===================================================== */

.post-tags-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-green);
}

.tags-label {
    font-weight: 600;
    color: var(--text-gray);
    margin-right: 15px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag-link {
    padding: 6px 14px;
    background: var(--background-light);
    color: var(--text-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--light-green);
    color: var(--primary-color);
}

/* =====================================================
   SNSシェアボタン
   ===================================================== */

.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.share-buttons-top {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-green);
}

.share-buttons-bottom {
    margin-top: 50px;
    padding: 30px;
    background: var(--light-green);
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
}

.share-label {
    font-weight: 600;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.share-cta-text {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--background-light);
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-buttons-bottom .share-btn {
    width: auto;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-twitter:hover {
    background: #000;
    color: #fff;
}

.share-facebook:hover {
    background: #1877F2;
    color: #fff;
}

.share-line:hover {
    background: #00C300;
    color: #fff;
}

.share-copy:hover {
    background: var(--primary-color);
    color: #fff;
}

.share-copy.copied {
    background: var(--primary-color);
    color: #fff;
}

/* =====================================================
   ブログCTA
   ===================================================== */

.blog-cta {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-cta-content {
    position: relative;
    z-index: 1;
}

.blog-cta-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.blog-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #00C300;
    color: var(--white);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,195,0,0.3);
}

.blog-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,195,0,0.4);
}

.cta-icon {
    font-size: 1.3rem;
}

/* =====================================================
   記事ナビゲーション
   ===================================================== */

.post-navigation {
    margin-top: 50px;
}

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

.nav-link {
    display: block;
    padding: 25px;
    background: var(--background-light);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: var(--light-green);
    transform: translateY(-3px);
}

.nav-direction {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-title {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-thumbnail {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.3;
}

.nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.nav-next .nav-thumbnail {
    right: auto;
    left: 20px;
}

.nav-empty {
    background: transparent;
}

/* =====================================================
   サイドバー
   ===================================================== */

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-green);
}

/* プロフィールウィジェチE�� */
.widget-profile {
    text-align: center;
}

.profile-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.widget-profile h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.widget-profile p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.profile-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

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

/* カチE��リーリスチE*/
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--background-light);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.category-list li.current a {
    color: var(--primary-color);
    font-weight: 600;
}

.cat-count {
    font-size: 0.8rem;
    padding: 2px 10px;
    background: var(--background-light);
    border-radius: 10px;
    color: var(--text-gray);
}

/* 最新記事�E人気記亁E*/
.recent-posts, .popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-posts li, .popular-posts li {
    margin-bottom: 15px;
}

.recent-posts a, .popular-posts a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.recent-posts a:hover, .popular-posts a:hover {
    opacity: 0.8;
}

.recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-info, .popular-info {
    flex: 1;
    min-width: 0;
}

.recent-title, .popular-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-date, .popular-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.rank-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* タグクラウチE*/
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 12px;
    background: var(--background-light);
    color: var(--text-gray);
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--light-green);
    color: var(--primary-color);
}

/* LINE CTAウィジェチE�� */
.line-cta-box {
    background: linear-gradient(135deg, #00C300 0%, #00A300 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
}

.line-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.line-cta-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.line-cta-box p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 15px;
}

.line-cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--white);
    color: #00C300;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.line-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* =====================================================
   記事カードグリチE��
   ===================================================== */

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

.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.post-card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.post-card-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    font-size: 3rem;
}

.post-card-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-card-content {
    padding: 25px;
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.reading-time {
    padding: 2px 8px;
    background: var(--background-light);
    border-radius: 10px;
}

.post-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.post-card-more svg {
    transition: var(--transition);
}

.post-card:hover .post-card-more svg {
    transform: translateX(5px);
}

/* フィーチャー記亁E*/
.post-card-featured {
    grid-column: span 2;
}

.post-card-featured .post-card-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.post-card-featured .post-card-thumb {
    height: 100%;
    min-height: 300px;
}

.post-card-featured .post-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.post-card-featured .post-card-title {
    font-size: 1.5rem;
    -webkit-line-clamp: 3;
}

.post-card-featured .post-card-excerpt {
    -webkit-line-clamp: 4;
}

.featured-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

/* =====================================================
   ペ�Eジネ�Eション
   ===================================================== */

.archive-pagination {
    margin-top: 50px;
}

.pagination-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-list li a,
.pagination-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    background: var(--white);
    border: 2px solid var(--light-green);
    border-radius: 10px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pagination-list li a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination-list li span.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* =====================================================
   関連記事セクション
   ===================================================== */

.related-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid var(--light-green);
}

.related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.title-icon {
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-card-link {
    display: block;
    text-decoration: none;
}

.related-card-thumb {
    height: 180px;
    overflow: hidden;
}

.related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-card:hover .related-card-thumb img {
    transform: scale(1.05);
}

.related-card-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    font-size: 3rem;
}

.related-card-content {
    padding: 20px;
}

.related-card-cat {
    display: inline-block;
    padding: 3px 10px;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-card-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* =====================================================
   フッターCTA
   ===================================================== */

.archive-footer-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.footer-cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.footer-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

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

.cta-line {
    background: #00C300;
    color: var(--white);
}

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

/* =====================================================
   戻る�Eタン
   ===================================================== */

.back-to-home {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--light-green);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

/* =====================================================
   記事なし�E状慁E
   ===================================================== */

.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 20px;
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-posts h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-posts p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* =====================================================
   子カチE��リーセクション
   ===================================================== */

.child-categories-section {
    background: var(--white);
    padding: 30px 20px;
}

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

.child-categories-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.child-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.child-category-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--light-green);
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
}

.child-category-card:hover {
    background: var(--primary-color);
}

.child-cat-name {
    color: var(--primary-color);
    font-weight: 600;
}

.child-category-card:hover .child-cat-name {
    color: var(--white);
}

.child-cat-count {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.child-category-card:hover .child-cat-count {
    color: rgba(255,255,255,0.8);
}

/* 現在のカチE��リーウィジェチE�� */
.current-cat-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.current-cat-stat {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.current-cat-stat .stat-number {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.current-cat-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* 関連カチE��リーリスチE*/
.related-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-cat-list li {
    margin-bottom: 0;
}

.related-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--background-light);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.related-cat-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* =====================================================
   レスポンシチE
   ===================================================== */

@media (max-width: 1024px) {
    .blog-layout, .archive-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .widget-profile, .widget-line-cta {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 350px;
    }
    
    .blog-hero-title {
        font-size: 1.8rem;
    }
    
    .archive-hero-title, .category-hero-title {
        font-size: 1.8rem;
    }
    
    .blog-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-article {
        padding: 30px 20px;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card-featured {
        grid-column: span 1;
    }
    
    .post-card-featured .post-card-link {
        grid-template-columns: 1fr;
    }
    
    .post-card-featured .post-card-thumb {
        min-height: 200px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .widget-profile, .widget-line-cta {
        grid-column: span 1;
    }
    
    .share-buttons-bottom .share-icons {
        flex-direction: column;
        width: 100%;
    }
    
    .share-buttons-bottom .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .blog-cta {
        padding: 40px 25px;
    }
    
    .blog-cta h3 {
        font-size: 1.4rem;
    }
    
    .footer-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .footer-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .back-to-home {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-back {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 1.5rem;
    }
    
    .archive-hero-title, .category-hero-title {
        font-size: 1.5rem;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }
    
    .category-nav-item {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* =====================================================
   コードブロチE��・インラインコードスタイル
   ===================================================== */

/* インラインコーチE*/
.blog-content code,
.post-content code,
article code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    color: #e83e8c;
    word-break: break-word;
}

/* preタグ冁E�EcodeはリセチE�� */
.blog-content pre code,
.post-content pre code,
article pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    color: inherit;
}

/* コードブロチE���E�Ere�E�E*/
.blog-content pre,
.post-content pre,
article pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 25px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
    border: 1px solid #333;
    tab-size: 4;
    -moz-tab-size: 4;
}

/* コードブロチE��冁E�EコーチE*/
.blog-content pre code,
.post-content pre code,
article pre code {
    display: block;
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
}

/* シンタチE��スハイライト風のカラーリング */
.blog-content pre code.language-html,
.blog-content pre code.language-xml {
    color: #9cdcfe;
}

.blog-content pre code.language-css {
    color: #ce9178;
}

.blog-content pre code.language-javascript,
.blog-content pre code.language-js {
    color: #dcdcaa;
}

.blog-content pre code.language-php {
    color: #b5cea8;
}

/* スクロールバ�Eのスタイル */
.blog-content pre::-webkit-scrollbar,
.post-content pre::-webkit-scrollbar,
article pre::-webkit-scrollbar {
    height: 8px;
}

.blog-content pre::-webkit-scrollbar-track,
.post-content pre::-webkit-scrollbar-track,
article pre::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 4px;
}

.blog-content pre::-webkit-scrollbar-thumb,
.post-content pre::-webkit-scrollbar-thumb,
article pre::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.blog-content pre::-webkit-scrollbar-thumb:hover,
.post-content pre::-webkit-scrollbar-thumb:hover,
article pre::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* =====================================================
   チE�Eブルスタイル
   ===================================================== */

.blog-content table,
.post-content table,
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-green);
}

.blog-content table thead,
.post-content table thead,
article table thead {
    background: var(--primary-color);
    color: var(--white);
}

.blog-content table th,
.post-content table th,
article table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    vertical-align: middle;
}

.blog-content table td,
.post-content table td,
article table td {
    padding: 15px 20px;
    border: 1px solid var(--light-green);
    vertical-align: top;
}

/* rowspan/colspan対応 */
.blog-content table td[rowspan],
.post-content table td[rowspan],
article table td[rowspan] {
    vertical-align: middle;
    background: var(--background-light);
    font-weight: 600;
}

.blog-content table tbody tr:hover td,
.post-content table tbody tr:hover td,
article table tbody tr:hover td {
    background: var(--light-green);
}

/* rowspanセルはホバー時も背景を維持 */
.blog-content table tbody tr:hover td[rowspan],
.post-content table tbody tr:hover td[rowspan],
article table tbody tr:hover td[rowspan] {
    background: var(--background-light);
}

/* テーブルのレスポンシブ対応 */
.blog-content .table-wrapper,
.post-content .table-wrapper,
article .table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.blog-content .table-wrapper table,
.post-content .table-wrapper table,
article .table-wrapper table {
    margin: 0;
    box-shadow: none;
}

@media (max-width: 768px) {
    .blog-content table,
    .post-content table,
    article table {
        display: table;
        min-width: 100%;
    }
    
    .blog-content table th,
    .post-content table th,
    article table th,
    .blog-content table td,
    .post-content table td,
    article table td {
        padding: 12px 15px;
        white-space: normal;
        word-break: break-word;
    }
}

/* =====================================================
   定義リスト（dl/dt/dd）
   ===================================================== */

.blog-content dl,
.post-content dl,
article dl {
    margin: 30px 0;
}

.blog-content dt,
.post-content dt,
article dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 20px;
    padding: 10px 15px;
    background: var(--light-green);
    border-radius: 8px 8px 0 0;
}

.blog-content dt:first-child,
.post-content dt:first-child,
article dt:first-child {
    margin-top: 0;
}

.blog-content dd,
.post-content dd,
article dd {
    margin: 0;
    padding: 15px 20px;
    background: var(--background-light);
    border-radius: 0 0 8px 8px;
    border-left: 3px solid var(--primary-color);
}

/* =====================================================
   詳細/サマリー�E�Eetails/summary�E�E
   ===================================================== */

.blog-content details,
.post-content details,
article details {
    margin: 30px 0;
    background: var(--white);
    border: 2px solid var(--light-green);
    border-radius: 12px;
    overflow: hidden;
}

.blog-content summary,
.post-content summary,
article summary {
    padding: 20px 25px;
    background: var(--light-green);
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.blog-content summary:hover,
.post-content summary:hover,
article summary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.blog-content summary::marker,
.post-content summary::marker,
article summary::marker {
    color: var(--primary-color);
}

.blog-content details[open] summary,
.post-content details[open] summary,
article details[open] summary {
    border-bottom: 2px solid var(--light-green);
}

.blog-content details > *:not(summary),
.post-content details > *:not(summary),
article details > *:not(summary) {
    padding: 20px 25px;
}

/* =====================================================
   ボタンスタイル�E�EordPressブロチE���E�E
   ===================================================== */

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.wp-block-button__link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--primary-color) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* =====================================================
   マ�Eカー・ハイライチE
   ===================================================== */

.blog-content mark,
.post-content mark,
article mark {
    background: linear-gradient(transparent 60%, #ffeb3b 60%);
    padding: 0 4px;
}

/* =====================================================
   水平線！Er�E�E
   ===================================================== */

.blog-content hr,
.post-content hr,
article hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, var(--light-green), var(--primary-color), var(--light-green));
    margin: 50px 0;
    border-radius: 2px;
}

/* =====================================================
   画像キャプション�E�Eigure/figcaption�E�E
   ===================================================== */

.blog-content figure,
.post-content figure,
article figure {
    margin: 30px 0;
}

.blog-content figure.aligncenter,
.post-content figure.aligncenter,
article figure.aligncenter {
    text-align: center;
}

.blog-content figure img,
.post-content figure img,
article figure img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.blog-content figcaption,
.post-content figcaption,
article figcaption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
    font-style: italic;
}

/* =====================================================
   画像�E回り込み
   ===================================================== */

.blog-content img[align="left"],
.post-content img[align="left"],
article img[align="left"] {
    float: left;
    margin: 0 25px 20px 0;
    border-radius: 12px;
}

.blog-content img[align="right"],
.post-content img[align="right"],
article img[align="right"] {
    float: right;
    margin: 0 0 20px 25px;
    border-radius: 12px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* =====================================================
   引用ブロチE��強匁E
   ===================================================== */

.blog-content blockquote cite,
.post-content blockquote cite,
article blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: normal;
}

.blog-content blockquote cite::before,
.post-content blockquote cite::before,
article blockquote cite::before {
    content: " E";
}

/* ネストされた引用 */
.blog-content blockquote blockquote,
.post-content blockquote blockquote,
article blockquote blockquote {
    margin: 20px 0 0 20px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.5);
    border-left: 3px solid var(--accent-color);
}

/* =====================================================
   見�Eしアンカーリンク
   ===================================================== */

.blog-content h2[id],
.blog-content h3[id],
.blog-content h4[id],
.post-content h2[id],
.post-content h3[id],
.post-content h4[id] {
    scroll-margin-top: 100px;
}

/* H5, H6 スタイル */
.blog-content h5,
.post-content h5,
article h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.blog-content h6,
.post-content h6,
article h6 {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 20px 0 10px;
    font-weight: 600;
}

/* =====================================================
   追加・削除チE��スチE
   ===================================================== */

.blog-content del,
.post-content del,
article del {
    color: var(--text-gray);
    text-decoration: line-through;
}

.blog-content ins,
.post-content ins,
article ins {
    background: #e6ffe6;
    text-decoration: none;
    padding: 0 4px;
}

/* =====================================================
   スモールチE��スチE
   ===================================================== */

.blog-content small,
.post-content small,
article small {
    font-size: 0.85em;
    color: var(--text-gray);
}

/* =====================================================
   レスポンシブ修正
   ===================================================== */

/* モバイルファースト�Eベ�Eススタイル */
.blog-container, .archive-container {
    padding: 30px 15px;
}

.blog-layout, .archive-layout {
    gap: 30px;
}

/* タブレチE���E�E68px以下！E*/
@media (max-width: 768px) {
    /* コンチE��のパディング調整 */
    .blog-container, .archive-container {
        padding: 30px 15px;
    }
    
    .blog-layout, .archive-layout {
        gap: 30px;
    }
    
    /* ヒ�Eローエリア */
    .blog-hero {
        min-height: 300px;
        padding-top: 72px;
    }
    
    .blog-hero-content {
        padding: 40px 15px 30px;
    }
    
    .archive-hero, .category-hero {
        padding-top: 72px;
    }
    
    .archive-hero-content, .category-hero-content {
        padding: 40px 15px;
    }
    
    /* タイトルサイズ */
    .blog-hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .archive-hero-title, .category-hero-title {
        font-size: 1.6rem;
    }
    
    /* パンくずリスチE*/
    .breadcrumb-list {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    /* カチE��リーナビ */
    .category-nav-container {
        padding: 0 15px;
    }
    
    .category-nav-item {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* 記事コンチE��チE*/
    .blog-article {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .blog-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .blog-content h2 {
        font-size: 1.4rem;
        margin: 40px 0 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px;
    }
    
    .blog-content h4 {
        font-size: 1.1rem;
        margin: 25px 0 12px;
    }
    
    .blog-content p {
        margin-bottom: 20px;
    }
    
    .blog-content img {
        margin: 20px 0;
    }
    
    /* コードブロチE�� */
    .blog-content pre,
    .post-content pre,
    article pre {
        padding: 20px 15px;
        font-size: 0.85rem;
        margin: 25px -15px;
        border-radius: 0;
    }
    
    /* チE�Eブル */
    .blog-content table,
    .post-content table,
    article table {
        font-size: 0.85rem;
        margin: 25px -15px;
        border-radius: 0;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .blog-content table thead,
    .post-content table thead,
    article table thead {
        display: table-header-group;
    }
    
    .blog-content table tbody,
    .post-content table tbody,
    article table tbody {
        display: table-row-group;
    }
    
    .blog-content table th,
    .post-content table th,
    article table th,
    .blog-content table td,
    .post-content table td,
    article table td {
        padding: 10px 12px;
        white-space: nowrap;
        min-width: 100px;
    }
    
    /* 引用ブロチE�� */
    .blog-content blockquote {
        margin: 25px -15px;
        padding: 20px 20px;
        border-radius: 0;
    }
    
    /* リスチE*/
    .blog-content ul,
    .blog-content ol {
        margin: 20px 0;
        padding-left: 20px;
    }
    
    /* シェアボタン */
    .share-buttons-top {
        flex-direction: column;
        gap: 12px;
    }
    
    .share-buttons-top .share-icons {
        width: 100%;
        justify-content: center;
    }
    
    .share-buttons-bottom {
        padding: 25px 20px;
    }
    
    .share-buttons-bottom .share-icons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .share-buttons-bottom .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 記事カードグリチE�� */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .post-card-featured {
        grid-column: span 1;
    }
    
    .post-card-featured .post-card-link {
        grid-template-columns: 1fr;
    }
    
    .post-card-featured .post-card-thumb {
        min-height: 200px;
    }
    
    .post-card-thumb {
        height: 180px;
    }
    
    .post-card-content {
        padding: 20px;
    }
    
    .post-card-title {
        font-size: 1.1rem;
    }
    
    /* 関連記亁E*/
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-card-thumb {
        height: 160px;
    }
    
    /* ナビゲーション */
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nav-link {
        padding: 20px;
    }
    
    .nav-title {
        font-size: 0.95rem;
    }
    
    /* サイドバー */
    .blog-sidebar {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .widget-profile,
    .widget-line-cta {
        grid-column: span 1;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    /* CTA */
    .blog-cta {
        padding: 35px 20px;
        border-radius: 16px;
    }
    
    .blog-cta h3 {
        font-size: 1.3rem;
    }
    
    .blog-cta p {
        font-size: 1rem;
    }
    
    .blog-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* フッターCTA */
    .archive-footer-cta {
        padding: 50px 20px;
    }
    
    .footer-cta-content h2 {
        font-size: 1.4rem;
    }
    
    .footer-cta-content p {
        font-size: 1rem;
    }
    
    .footer-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 25px;
    }
    
    /* 戻る�Eタン */
    .back-to-home {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-back {
        width: 100%;
        max-width: 100%;
        padding: 14px 25px;
    }
}

/* スマ�Eトフォン�E�E80px以下！E*/
@media (max-width: 480px) {
    /* コンチE��のパディング */
    .blog-container, .archive-container {
        padding: 20px 10px;
    }
    
    /* ヒ�Eロー */
    .blog-hero {
        min-height: 280px;
    }
    
    .blog-hero-content {
        padding: 30px 10px 25px;
    }
    
    .archive-hero-content, .category-hero-content {
        padding: 30px 10px;
    }
    
    .blog-hero-title {
        font-size: 1.4rem;
    }
    
    .archive-hero-title, .category-hero-title {
        font-size: 1.4rem;
    }
    
    .archive-hero-icon, .category-hero-badge {
        font-size: 2rem;
    }
    
    /* パンくずリスチE*/
    .breadcrumb-list {
        font-size: 0.8rem;
    }
    
    /* カチE��リーナビ */
    .category-nav-container {
        padding: 0 10px;
    }
    
    .category-nav-item {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    /* 記事コンチE��チE*/
    .blog-article {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .blog-content {
        font-size: 0.95rem;
    }
    
    .blog-content h2 {
        font-size: 1.3rem;
        margin: 30px 0 15px;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
        margin: 25px 0 12px;
    }
    
    .blog-content h4 {
        font-size: 1rem;
    }
    
    /* コードブロチE�� */
    .blog-content pre,
    .post-content pre,
    article pre {
        padding: 15px 10px;
        font-size: 0.8rem;
        margin: 20px -10px;
    }
    
    /* チE�Eブル */
    .blog-content table,
    .post-content table,
    article table {
        font-size: 0.8rem;
        margin: 20px -10px;
    }
    
    .blog-content table th,
    .post-content table th,
    article table th,
    .blog-content table td,
    .post-content table td,
    article table td {
        padding: 8px 10px;
        min-width: 80px;
    }
    
    /* 引用 */
    .blog-content blockquote {
        margin: 20px -10px;
        padding: 15px 15px;
    }
    
    /* 記事カーチE*/
    .post-card-thumb {
        height: 160px;
    }
    
    .post-card-content {
        padding: 15px;
    }
    
    .post-card-title {
        font-size: 1rem;
    }
    
    .post-card-excerpt {
        font-size: 0.85rem;
    }
    
    /* サイドバー */
    .sidebar-widget {
        padding: 15px;
    }
    
    .widget-title {
        font-size: 1rem;
    }
    
    /* CTA */
    .blog-cta {
        padding: 30px 15px;
    }
    
    .blog-cta h3 {
        font-size: 1.2rem;
    }
    
    .blog-cta-icon {
        font-size: 2.5rem;
    }
    
    /* フッターCTA */
    .archive-footer-cta {
        padding: 40px 15px;
    }
    
    .footer-cta-content h2 {
        font-size: 1.2rem;
    }
}

/* 横スクロール防止 */
body {
    overflow-x: hidden;
}

/* 画像�E最大幁E*/
.blog-content img,
.post-content img,
article img {
    max-width: 100%;
    height: auto;
}

/* 長いURLめE��語�E折り返し */
.blog-content,
.post-content,
article {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* チE�EブルラチE��ー�E�忁E��に応じて使用�E�E*/
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
}

.table-responsive table {
    margin: 0;
}

/* =====================================================
   モバイル表示 完�E修正
   優先度を上げるためE!important を使用
   ===================================================== */

/* 基本設宁E*/
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

* {
    box-sizing: border-box !important;
}

/* タブレチE��以丁E*/
@media screen and (max-width: 1024px) {
    .blog-layout,
    .archive-layout {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .blog-sidebar {
        margin-top: 40px !important;
    }
}

/* モバイル */
@media screen and (max-width: 768px) {
    /* ヒ�Eローセクション */
    .blog-hero {
        min-height: 280px !important;
        padding-top: 72px !important;
    }
    
    .blog-hero-content {
        padding: 30px 15px 25px !important;
    }
    
    .blog-hero-title {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
    }
    
    .blog-hero-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .meta-item {
        font-size: 0.85rem !important;
    }
    
    .category-badge {
        padding: 3px 10px !important;
        font-size: 0.8rem !important;
    }
    
    /* アーカイブヒーロー */
    .archive-hero,
    .category-hero {
        min-height: auto !important;
        padding-top: 72px !important;
    }
    
    .archive-hero-content,
    .category-hero-content {
        padding: 30px 15px !important;
    }
    
    .archive-hero-title,
    .category-hero-title {
        font-size: 1.5rem !important;
    }
    
    .archive-hero-icon {
        font-size: 2.5rem !important;
    }
    
    /* パンくずリスチE*/
    .breadcrumb {
        margin-bottom: 15px !important;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem !important;
        gap: 5px !important;
    }
    
    /* カチE��リーナビ */
    .category-nav-section {
        top: 72px !important;
    }
    
    .category-nav-container {
        padding: 0 10px !important;
    }
    
    .category-nav-scroll {
        padding: 10px 0 !important;
        gap: 6px !important;
    }
    
    .category-nav-item {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    /* コンチE�� */
    .blog-container,
    .archive-container {
        padding: 20px 10px !important;
        max-width: 100% !important;
    }
    
    /* レイアウチE*/
    .blog-layout,
    .archive-layout {
        display: block !important;
        gap: 0 !important;
    }
    
    .archive-main-content {
        width: 100% !important;
    }
    
    /* 記事本斁E��リア */
    .blog-article {
        padding: 20px 15px !important;
        border-radius: 12px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 記事コンチE��チE*/
    .blog-content {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .blog-content h2 {
        font-size: 1.3rem !important;
        margin: 30px 0 15px !important;
        padding-bottom: 10px !important;
    }
    
    .blog-content h3 {
        font-size: 1.15rem !important;
        margin: 25px 0 12px !important;
    }
    
    .blog-content h4 {
        font-size: 1.05rem !important;
        margin: 20px 0 10px !important;
    }
    
    .blog-content h5 {
        font-size: 1rem !important;
        margin: 18px 0 8px !important;
    }
    
    .blog-content h6 {
        font-size: 0.95rem !important;
        margin: 15px 0 8px !important;
    }
    
    .blog-content p {
        margin-bottom: 18px !important;
        word-wrap: break-word !important;
    }
    
    .blog-content img {
        max-width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        border-radius: 8px !important;
    }
    
    .blog-content ul,
    .blog-content ol {
        margin: 18px 0 !important;
        padding-left: 20px !important;
    }
    
    .blog-content li {
        margin-bottom: 8px !important;
    }
    
    /* 引用ブロチE�� */
    .blog-content blockquote {
        margin: 20px 0 !important;
        padding: 15px !important;
        border-radius: 0 8px 8px 0 !important;
    }
    
    .blog-content blockquote blockquote {
        margin: 15px 0 0 10px !important;
        padding: 12px !important;
    }
    
    /* コードブロチE�� */
    .blog-content pre,
    .post-content pre,
    article pre {
        padding: 15px !important;
        margin: 20px -15px !important;
        border-radius: 0 !important;
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .blog-content code {
        font-size: 0.85rem !important;
        padding: 2px 5px !important;
        word-break: break-all !important;
    }
    
    .blog-content pre code {
        font-size: 0.8rem !important;
        word-break: normal !important;
    }
    
    /* チE�Eブル */
    .blog-content table,
    .post-content table,
    article table {
        display: block !important;
        width: 100% !important;
        margin: 20px -15px !important;
        padding: 0 15px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 0 !important;
    }
    
    .blog-content table thead,
    .blog-content table tbody,
    .blog-content table tr {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
    }
    
    .blog-content table th,
    .blog-content table td {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        word-wrap: break-word !important;
    }
    
    /* 定義リスチE*/
    .blog-content dt {
        padding: 8px 12px !important;
        font-size: 0.95rem !important;
    }
    
    .blog-content dd {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
    }
    
    /* 詳細/サマリー */
    .blog-content summary {
        padding: 15px !important;
        font-size: 0.95rem !important;
    }
    
    .blog-content details > *:not(summary) {
        padding: 15px !important;
    }
    
    /* 水平緁E*/
    .blog-content hr {
        margin: 30px 0 !important;
    }
    
    /* 画像回り込み解除 */
    .blog-content img[align="left"],
    .blog-content img[align="right"] {
        float: none !important;
        display: block !important;
        margin: 20px auto !important;
        max-width: 100% !important;
    }
    
    /* figure/figcaption */
    .blog-content figure {
        margin: 20px 0 !important;
    }
    
    .blog-content figcaption {
        font-size: 0.85rem !important;
        margin-top: 10px !important;
    }
    
    /* シェアボタン */
    .share-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .share-buttons-top {
        margin-bottom: 25px !important;
        padding-bottom: 20px !important;
    }
    
    .share-buttons-top .share-icons {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .share-buttons-bottom {
        margin-top: 30px !important;
        padding: 20px 15px !important;
    }
    
    .share-buttons-bottom .share-icons {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .share-buttons-bottom .share-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }
    
    /* タグセクション */
    .post-tags-section {
        margin-top: 30px !important;
        padding-top: 20px !important;
    }
    
    .tags-list {
        gap: 8px !important;
    }
    
    .tag-link {
        padding: 5px 12px !important;
        font-size: 0.85rem !important;
    }
    
    /* CTA */
    .blog-cta {
        margin-top: 30px !important;
        padding: 25px 15px !important;
        border-radius: 12px !important;
    }
    
    .blog-cta-icon {
        font-size: 2.5rem !important;
    }
    
    .blog-cta h3 {
        font-size: 1.2rem !important;
    }
    
    .blog-cta p {
        font-size: 0.95rem !important;
    }
    
    .blog-cta-button {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* ナビゲーション */
    .post-navigation {
        margin-top: 30px !important;
    }
    
    .nav-grid {
        display: block !important;
    }
    
    .nav-link {
        padding: 15px !important;
        margin-bottom: 10px !important;
    }
    
    .nav-link:last-child {
        margin-bottom: 0 !important;
    }
    
    .nav-direction {
        font-size: 0.8rem !important;
    }
    
    .nav-title {
        font-size: 0.9rem !important;
    }
    
    .nav-thumbnail {
        display: none !important;
    }
    
    /* 記事カーチE*/
    .posts-grid {
        display: block !important;
    }
    
    .post-card {
        margin-bottom: 20px !important;
    }
    
    .post-card-featured .post-card-link {
        display: block !important;
    }
    
    .post-card-thumb {
        height: 180px !important;
    }
    
    .post-card-content {
        padding: 18px !important;
    }
    
    .post-card-title {
        font-size: 1.05rem !important;
    }
    
    .post-card-excerpt {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .post-card-meta {
        font-size: 0.8rem !important;
        gap: 10px !important;
    }
    
    /* 関連記亁E*/
    .related-section {
        margin-top: 30px !important;
        padding-top: 30px !important;
    }
    
    .related-title {
        font-size: 1.2rem !important;
    }
    
    .related-grid {
        display: block !important;
    }
    
    .related-card {
        margin-bottom: 15px !important;
    }
    
    .related-card-thumb {
        height: 160px !important;
    }
    
    .related-card-content {
        padding: 15px !important;
    }
    
    .related-card-title {
        font-size: 0.95rem !important;
    }
    
    /* サイドバー */
    .blog-sidebar {
        display: block !important;
        margin-top: 30px !important;
    }
    
    .sidebar-widget {
        margin-bottom: 20px !important;
        padding: 18px !important;
        border-radius: 12px !important;
    }
    
    .widget-title {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    
    .widget-profile h3 {
        font-size: 1.1rem !important;
    }
    
    .widget-profile p {
        font-size: 0.85rem !important;
    }
    
    .profile-logo {
        width: 60px !important;
        height: 60px !important;
    }
    
    .category-list a,
    .popular-posts a,
    .recent-posts a {
        padding: 10px 0 !important;
        font-size: 0.9rem !important;
    }
    
    .rank-number {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
    }
    
    .recent-thumb {
        width: 50px !important;
        height: 50px !important;
    }
    
    .tag-cloud {
        gap: 6px !important;
    }
    
    .tag-item {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }
    
    .line-cta-box {
        padding: 20px 15px !important;
    }
    
    .line-cta-box h4 {
        font-size: 1rem !important;
    }
    
    .line-cta-box p {
        font-size: 0.85rem !important;
    }
    
    .line-cta-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* フッターCTA */
    .archive-footer-cta {
        padding: 40px 15px !important;
    }
    
    .footer-cta-content h2 {
        font-size: 1.3rem !important;
    }
    
    .footer-cta-content p {
        font-size: 0.95rem !important;
    }
    
    .footer-cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .cta-btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    
    /* 戻る�Eタン */
    .back-to-home {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 30px !important;
    }
    
    .btn-back {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    
    /* No posts */
    .no-posts {
        padding: 50px 20px !important;
    }
    
    .no-posts-icon {
        font-size: 3rem !important;
    }
    
    .no-posts h2 {
        font-size: 1.2rem !important;
    }
    
    /* ペ�Eジネ�Eション */
    .archive-pagination {
        margin-top: 30px !important;
    }
    
    .pagination-list {
        gap: 5px !important;
    }
    
    .pagination-list li a,
    .pagination-list li span {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 10px !important;
        font-size: 0.85rem !important;
    }
    
    /* 子カチE��リー */
    .child-categories-section {
        padding: 20px 15px !important;
    }
    
    .child-categories-title {
        font-size: 1rem !important;
    }
    
    .child-categories-grid {
        gap: 8px !important;
    }
    
    .child-category-card {
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
    }
}

/* 趁E��画面 */
@media screen and (max-width: 400px) {
    .blog-hero-title {
        font-size: 1.3rem !important;
    }
    
    .blog-content {
        font-size: 0.9rem !important;
    }
    
    .blog-content h2 {
        font-size: 1.2rem !important;
    }
    
    .blog-content h3 {
        font-size: 1.1rem !important;
    }
    
    .blog-article {
        padding: 15px 12px !important;
    }
    
    .blog-container,
    .archive-container {
        padding: 15px 8px !important;
    }
}

/* =====================================================
   固定�Eージ スタイル
   ===================================================== */

/* ペ�Eジメイン */
.page-main {
    min-height: 100vh;
    background: var(--background-light);
}

/* =====================================================
   ペ�Eジヒ�Eロー
   ===================================================== */

.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding-top: 72px;
    overflow: hidden;
}

.page-hero.has-thumbnail {
    min-height: 350px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-default {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.page-hero-default::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 71, 42, 0.9) 0%, rgba(26, 71, 42, 0.6) 50%, rgba(26, 71, 42, 0.3) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 40px;
    color: var(--white);
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-hero-excerpt {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 700px;
}

/* =====================================================
   ペ�EジコンチE��
   ===================================================== */

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* サイドバーありの場吁E*/
.page-container:has(.page-sidebar) {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

/* =====================================================
   ペ�Eジ記亁E
   ===================================================== */

.page-article {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

/* ペ�EジコンチE��チE*/
.page-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-green);
}

.page-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.page-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 25px;
}

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

.page-content ul,
.page-content ol {
    margin: 25px 0;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: var(--light-green);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.page-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content a:hover {
    color: var(--accent-color);
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-green);
}

.page-content table thead {
    background: var(--primary-color);
    color: var(--white);
}

.page-content table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.page-content table td {
    padding: 15px 20px;
    border: 1px solid var(--light-green);
}

.page-content table tbody tr:hover td {
    background: var(--light-green);
}

/* =====================================================
   子�Eージセクション
   ===================================================== */

.child-pages-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--light-green);
}

.child-pages-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.child-page-card {
    display: block;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--light-green);
}

.child-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.child-page-thumb {
    height: 160px;
    overflow: hidden;
}

.child-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.child-page-card:hover .child-page-thumb img {
    transform: scale(1.05);
}

.child-page-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    font-size: 3rem;
}

.child-page-content {
    padding: 20px;
}

.child-page-content h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.child-page-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.child-page-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* =====================================================
   ペ�EジCTA
   ===================================================== */

.page-cta {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-cta-content {
    position: relative;
    z-index: 1;
}

.page-cta-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.page-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.page-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =====================================================
   ペ�Eジサイドバー
   ===================================================== */

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-list li {
    margin-bottom: 0;
}

.page-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--background-light);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.page-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.page-list li.current a {
    color: var(--primary-color);
    font-weight: 600;
}

/* =====================================================
   ペ�Eジフッターナビ
   ===================================================== */

.page-footer-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* =====================================================
   レスポンシチE
   ===================================================== */

@media (max-width: 1024px) {
    .page-container:has(.page-sidebar) {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 250px;
    }
    
    .page-hero.has-thumbnail {
        min-height: 280px;
    }
    
    .page-hero-content {
        padding: 30px 15px 25px;
    }
    
    .page-hero-title {
        font-size: 1.6rem;
    }
    
    .page-hero-excerpt {
        font-size: 1rem;
    }
    
    .page-container {
        padding: 30px 15px;
    }
    
    .page-article {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .page-content {
        font-size: 1rem;
    }
    
    .page-content h2 {
        font-size: 1.4rem;
        margin: 35px 0 20px;
    }
    
    .page-content h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px;
    }
    
    .child-pages-section {
        margin-top: 35px;
        padding-top: 30px;
    }
    
    .child-pages-title {
        font-size: 1.3rem;
    }
    
    .child-pages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .child-page-thumb {
        height: 140px;
    }
    
    .page-cta {
        margin-top: 35px;
        padding: 35px 20px;
        border-radius: 16px;
    }
    
    .page-cta h3 {
        font-size: 1.3rem;
    }
    
    .page-cta p {
        font-size: 1rem;
    }
    
    .page-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-cta-buttons .cta-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .page-footer-nav {
        flex-direction: column;
        align-items: center;
        padding: 0 15px 40px;
    }
    
    .page-footer-nav .btn-back {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.4rem;
    }
    
    .page-article {
        padding: 20px 15px;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content h2 {
        font-size: 1.25rem;
    }
    
    .page-cta {
        padding: 30px 15px;
    }
    
    .page-cta-icon {
        font-size: 2.5rem;
    }
    
    .page-cta h3 {
        font-size: 1.2rem;
    }
}

/* =====================================================
   CTA背景画像スタイル
   ===================================================== */

/* ブログCTA背景画像対忁E*/
.blog-cta.has-bg-image {
    position: relative;
    background: none;
}

.blog-cta.has-bg-image::before {
    display: none;
}

.blog-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 20px;
    overflow: hidden;
}

.blog-cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, var(--cta-overlay-opacity, 0.85)) 0%, rgba(45, 90, 61, var(--cta-overlay-opacity, 0.85)) 100%);
}

.blog-cta.has-bg-image .blog-cta-content {
    position: relative;
    z-index: 1;
}

/* ペ�EジCTA背景画像対忁E*/
.page-cta.has-bg-image {
    position: relative;
    background: none;
}

.page-cta.has-bg-image::before {
    display: none;
}

.page-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 20px;
    overflow: hidden;
}

.page-cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, var(--cta-overlay-opacity, 0.85)) 0%, rgba(45, 90, 61, var(--cta-overlay-opacity, 0.85)) 100%);
}

.page-cta.has-bg-image .page-cta-content {
    position: relative;
    z-index: 1;
}

/* CTAボタンスタイル�E��E通！E*/
.blog-cta-buttons,
.page-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-cta .cta-btn,
.page-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.blog-cta .cta-primary,
.page-cta .cta-primary {
    background: var(--white);
    color: var(--primary-color);
}

.blog-cta .cta-line,
.page-cta .cta-line {
    background: #00C300;
    color: var(--white);
}

.blog-cta .cta-btn:hover,
.page-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* レスポンシチE*/
@media (max-width: 768px) {
    .blog-cta-bg,
    .page-cta-bg {
        border-radius: 16px;
    }
    
    .blog-cta-buttons,
    .page-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-cta .cta-btn,
    .page-cta .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 25px;
    }
}

@media (max-width: 480px) {
    .blog-cta-bg,
    .page-cta-bg {
        border-radius: 12px;
    }
}

/* =====================================================
   CTA斁E��シャドウ
   ===================================================== */

/* ブログCTA */
.blog-cta h3 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.2);
}

.blog-cta p {
    text-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 2px 10px rgba(0,0,0,0.15);
}

/* ペ�EジCTA */
.page-cta h3 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.2);
}

.page-cta p {
    text-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 2px 10px rgba(0,0,0,0.15);
}

/* 野菜アイコン削除 */
.blog-cta-icon,
.page-cta-icon {
    display: none;
}

/* =====================================================
   ヘッダーメニュー CTAボタンスタイル
   ===================================================== */

.nav-menu li.menu-cta {
    margin-left: 10px;
}

.nav-menu li.menu-cta a {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
    transition: all 0.3s ease;
}

.nav-menu li.menu-cta a:hover {
    background: linear-gradient(135deg, #FF6B00 0%, #FF5500 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

/* スクロール時のヘッダー */
.site-header.scrolled .nav-menu li.menu-cta a {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: var(--white) !important;
}

/* モバイルメニュー */
@media (max-width: 768px) {
    .nav-menu li.menu-cta {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .nav-menu li.menu-cta a {
        display: inline-block;
        padding: 12px 30px;
        border-radius: 8px;
    }
}

/* =====================================================
   カチE��リー一覧ペ�Eジ スタイル
   ===================================================== */

.categories-main {
    min-height: 100vh;
    background: var(--background-light);
}

/* ヒ�Eロー */
.categories-hero {
    position: relative;
    padding: 120px 20px 60px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.categories-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.categories-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.categories-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.categories-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.categories-hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* コンチE�� */
.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* カチE��リーグリチE�� */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* カチE��リーカーチE*/
.category-card {
    display: block;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-card-thumb {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.category-card-content {
    padding: 25px;
}

.category-card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.category-card-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.category-card-count {
    color: var(--text-gray);
}

.category-card-link {
    color: var(--primary-color);
    font-weight: 600;
}

.category-card:hover .category-card-link {
    color: var(--accent-color);
}

/* カチE��リーなぁE*/
.no-categories {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

/* フッター */
.categories-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* レスポンシチE*/
@media (max-width: 768px) {
    .categories-hero {
        padding: 100px 15px 40px;
    }
    
    .categories-hero-title {
        font-size: 1.8rem;
    }
    
    .categories-container {
        padding: 30px 15px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card-thumb {
        height: 150px;
    }
    
    .category-card-content {
        padding: 20px;
    }
    
    .category-card-title {
        font-size: 1.2rem;
    }
    
    .categories-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-footer .btn-back {
        width: 100%;
        max-width: 280px;
    }
}

/* =====================================================
   ブログトップ�Eージ スタイル
   ===================================================== */

.blog-top-main {
    min-height: 100vh;
    background: var(--background-light);
}

/* ヒ�Eロー */
.blog-top-hero {
    position: relative;
    padding: 120px 20px 60px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.blog-top-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.blog-top-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-top-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-top-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.blog-top-hero-desc {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* コンチE�� */
.blog-top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* セクション共送E*/
.blog-section {
    margin-bottom: 70px;
}

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

.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1rem;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-block;
    padding: 14px 35px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

/* =====================================================
   おすすめ記事セクション
   ===================================================== */

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

.featured-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 1件だけの場合はフル幅 */
.featured-grid .featured-card:only-child {
    grid-column: span 3;
}

/* 2件の場合 */
.featured-grid .featured-card:first-child:nth-last-child(2) {
    grid-column: span 2;
}

.featured-card-thumb {
    position: relative;
    height: 250px;
}

.featured-grid .featured-card:only-child .featured-card-thumb,
.featured-grid .featured-card:first-child:nth-last-child(2) .featured-card-thumb {
    height: 300px;
}

.featured-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.featured-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: var(--white);
}

.featured-card-cat {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.featured-main .featured-card-title {
    font-size: 1.6rem;
}

.featured-card-date {
    font-size: 0.85rem;
    opacity: 0.8;
}

.no-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    position: absolute;
    inset: 0;
}

/* =====================================================
   カチE��リーセクション�E�コンパクト版�E�E
   ===================================================== */

.categories-grid.compact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid var(--light-green);
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.category-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.category-tag-name {
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.category-tag:hover .category-tag-name {
    color: var(--white);
}

.category-tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.category-tag:hover .category-tag-count {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* =====================================================
   最新記事セクション
   ===================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    display: block;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-card-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.post-card-thumb .no-thumb-placeholder {
    position: relative;
}

.post-card-content {
    padding: 20px;
}

.post-card-cat {
    display: inline-block;
    padding: 3px 10px;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-card-title {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* =====================================================
   人気記事セクション
   ===================================================== */

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.popular-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.popular-item:nth-child(1) .popular-rank {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.popular-item:nth-child(2) .popular-rank {
    background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
}

.popular-item:nth-child(3) .popular-rank {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
}

.popular-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-thumb .no-thumb-placeholder.small {
    width: 100%;
    height: 100%;
}

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-title {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* =====================================================
   ブログトップCTA
   ===================================================== */

.blog-top-cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-bottom: 50px;
}

.blog-top-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-top-cta.has-bg-image {
    background: none;
}

.blog-top-cta.has-bg-image::before {
    display: none;
}

.blog-top-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-top-cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-top-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, var(--cta-overlay-opacity, 0.85)) 0%, rgba(45, 90, 61, var(--cta-overlay-opacity, 0.85)) 100%);
}

.blog-top-cta-content {
    position: relative;
    z-index: 1;
}

.blog-top-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.blog-top-cta p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.blog-top-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* フッター */
.blog-top-footer {
    display: flex;
    justify-content: center;
}

/* =====================================================
   レスポンシチE
   ===================================================== */

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-grid .featured-card:only-child,
    .featured-grid .featured-card:first-child:nth-last-child(2) {
        grid-column: span 1;
    }
    
    .featured-grid .featured-card:only-child {
        grid-column: span 2;
    }
    
    .featured-card-thumb {
        height: 220px;
    }
    
    .featured-grid .featured-card:only-child .featured-card-thumb {
        height: 280px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-top-hero {
        padding: 100px 15px 40px;
    }
    
    .blog-top-hero-title {
        font-size: 2rem;
    }
    
    .blog-top-container {
        padding: 40px 15px;
    }
    
    .blog-section {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid .featured-card:only-child,
    .featured-grid .featured-card:first-child:nth-last-child(2),
    .featured-grid .featured-card:first-child:nth-last-child(3),
    .featured-grid .featured-card:first-child:nth-last-child(3) ~ .featured-card {
        grid-column: span 1;
    }
    
    .featured-card-thumb {
        height: 200px;
    }
    
    .featured-grid .featured-card:only-child .featured-card-thumb {
        height: 220px;
    }
    
    .featured-card-content {
        padding: 20px;
    }
    
    .featured-card-title {
        font-size: 1.1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card-thumb {
        height: 160px;
    }
    
    .popular-item {
        padding: 12px;
    }
    
    .popular-thumb {
        width: 70px;
        height: 50px;
    }
    
    .popular-title {
        font-size: 0.95rem;
    }
    
    .blog-top-cta {
        padding: 40px 20px;
        border-radius: 16px;
    }
    
    .blog-top-cta h3 {
        font-size: 1.4rem;
    }
    
    .blog-top-cta p {
        font-size: 1rem;
    }
    
    .blog-top-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-top-cta-buttons .cta-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .blog-top-hero-title {
        font-size: 1.6rem;
    }
    
    .category-tag {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .featured-card-thumb {
        height: 180px;
    }
}

/* =====================================================
   ブログアーカイブ�Eージ�E�Eome.php�E�スタイル
   ===================================================== */

/* ブログアーカイブヒーロー */
.blog-archive-hero {
    position: relative;
    padding: 140px 20px 60px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.blog-archive-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.blog-archive-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-archive-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-archive-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.blog-archive-hero-desc {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* フィーチャー記亁E*/
.post-card-featured {
    grid-column: 1 / -1;
}

.post-card-featured .post-card-link {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.post-card-featured .post-card-thumb {
    height: auto;
    min-height: 300px;
}

.post-card-featured .post-card-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-featured .post-card-title {
    font-size: 1.5rem;
    -webkit-line-clamp: 3;
}

.post-card-featured .post-card-excerpt {
    -webkit-line-clamp: 4;
    margin-bottom: 20px;
}

/* 投稿カード調整 */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.post-card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.post-card-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    font-size: 3rem;
}

.post-card-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-card-content {
    padding: 20px;
}

.post-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.post-card-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.post-card:hover .post-card-more {
    color: var(--accent-color);
}

/* サイドバー追加スタイル */
.widget-latest .latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-latest .latest-posts li {
    margin-bottom: 15px;
}

.widget-latest .latest-posts li:last-child {
    margin-bottom: 0;
}

.widget-latest .latest-posts a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.widget-latest .latest-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.widget-latest .latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-latest .no-thumb-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    font-size: 1.2rem;
}

.widget-latest .latest-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-latest .latest-title {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-latest .latest-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.widget-latest .latest-posts a:hover .latest-title {
    color: var(--primary-color);
}

/* アーカイブフチE��ーCTA背景画像対忁E*/
.archive-footer-cta.has-bg-image {
    position: relative;
    background: none;
}

.archive-footer-cta.has-bg-image::before {
    display: none;
}

.archive-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.archive-cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, var(--cta-overlay-opacity, 0.85)) 0%, rgba(45, 90, 61, var(--cta-overlay-opacity, 0.85)) 100%);
}

.archive-footer-cta.has-bg-image .footer-cta-content {
    position: relative;
    z-index: 1;
}

/* レスポンシチE*/
@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-card-featured .post-card-link {
        grid-template-columns: 1fr;
    }
    
    .post-card-featured .post-card-thumb {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-archive-hero {
        padding: 120px 15px 40px;
    }
    
    .blog-archive-hero-title {
        font-size: 2rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card-featured .post-card-content {
        padding: 25px;
    }
    
    .post-card-featured .post-card-title {
        font-size: 1.3rem;
    }
    
    .post-card-thumb {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .blog-archive-hero {
        padding: 110px 10px 30px;
    }
    
    .blog-archive-hero-title {
        font-size: 1.6rem;
    }
    
    .post-card-featured .post-card-thumb {
        min-height: 200px;
    }
    
    .post-card-featured .post-card-title {
        font-size: 1.2rem;
    }
    
    .post-card-thumb {
        height: 160px;
    }
}

/* =====================================================
   会社概要�E代表挨拶ペ�Eジ スタイル
   ===================================================== */

.company-main {
    min-height: 100vh;
    background: var(--background-light);
}

/* ヒ�Eロー */
.company-hero {
    position: relative;
    padding: 140px 20px 60px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.company-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.company-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.company-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.company-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* コンチE�� */
.company-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* セクション */
.company-section {
    margin-bottom: 80px;
}

.company-heading {
    font-size: 1.8rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 12px;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* 代表挨拶 */
.message-header {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-color);
}

.message-catch {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.8;
}

.message-body {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.message-photo {
    flex: 0 0 280px;
}

.message-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.5;
}

.photo-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 12px;
}

.message-text {
    flex: 1;
}

.story-block {
    margin-bottom: 25px;
}

.story-block p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: justify;
}

.story-block strong {
    color: var(--primary-color);
}

.text-highlight {
    background: linear-gradient(transparent 60%, rgba(255, 193, 7, 0.3) 60%);
    font-weight: 700;
}

.message-signature {
    text-align: right;
    margin-top: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.8;
}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-table tr {
    border-bottom: 1px solid var(--light-green);
}

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

.company-table th,
.company-table td {
    padding: 20px 25px;
    text-align: left;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.7;
}

.company-table th {
    background: var(--background-light);
    width: 30%;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.company-table td {
    color: var(--text-dark);
}

/* マッチE*/
.company-map {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.company-map iframe {
    display: block;
}

.access-info {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.access-info p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-dark);
}

.access-info p + p {
    margin-top: 10px;
    color: var(--text-gray);
}

/* フッター */
.company-footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* レスポンシチE*/
@media (max-width: 768px) {
    .company-hero {
        padding: 120px 15px 40px;
    }
    
    .company-hero-title {
        font-size: 1.8rem;
    }
    
    .company-container {
        padding: 40px 15px;
    }
    
    .company-section {
        margin-bottom: 60px;
    }
    
    .company-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .message-header {
        padding: 30px 20px;
    }
    
    .message-catch {
        font-size: 1.2rem;
    }
    
    .message-body {
        flex-direction: column;
        gap: 30px;
    }
    
    .message-photo {
        flex: none;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .story-block p {
        font-size: 1rem;
        text-align: left;
    }
    
    .message-signature {
        font-size: 1rem;
    }
    
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }
    
    .company-table th {
        background: none;
        color: var(--accent-color);
        border-bottom: none;
        padding-bottom: 5px;
        font-size: 0.9rem;
    }
    
    .company-table td {
        padding-top: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--light-green);
    }
    
    .company-table tr:last-child td {
        border-bottom: none;
    }
    
    .company-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .company-hero-title {
        font-size: 1.5rem;
    }
    
    .message-catch {
        font-size: 1.1rem;
    }
    
    .company-heading {
        font-size: 1.3rem;
    }
}

/* =====================================================
   検索結果ペ�Eジ スタイル
   ===================================================== */

.search-main {
    min-height: 100vh;
    background: var(--background-light);
}

/* 検索ヒ�Eロー */
.search-hero {
    position: relative;
    padding: 140px 20px 60px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.search-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.search-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.search-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.search-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.search-hero-query {
    font-size: 1.2rem;
    opacity: 0.95;
}

.search-hero-query strong {
    color: var(--white);
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 1.1em;
}

.search-count {
    display: inline-block;
    margin-left: 10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
}

/* 検索フォーム */
.search-form-section {
    background: var(--white);
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
}

.search-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-green);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background: var(--secondary-color);
}

/* 検索結果コンチE�� */
.search-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* 検索結果リスチE*/
.search-results {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.search-result-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-result-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.search-result-link {
    display: flex;
    gap: 25px;
    text-decoration: none;
    color: inherit;
}

.search-result-thumb {
    flex: 0 0 200px;
    height: 150px;
    overflow: hidden;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.search-result-item:hover .search-result-thumb img {
    transform: scale(1.05);
}

.search-result-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* サムネイルがある場合は左パディングを調整 */
.search-result-thumb + .search-result-content {
    padding-left: 0;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.search-result-cat,
.search-result-type {
    padding: 3px 10px;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
}

.search-result-meta time {
    color: var(--text-gray);
}

.search-result-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.search-result-excerpt {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.search-result-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.search-result-item:hover .search-result-more {
    color: var(--accent-color);
}

/* ペ�Eジネ�Eション */
.search-pagination {
    margin-top: 50px;
}

/* 検索結果なぁE*/
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-results > p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

.search-tips {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 30px;
    padding: 20px 30px;
    background: var(--background-light);
    border-radius: 12px;
    list-style: none;
}

.search-tips li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.search-tips li::before {
    content: '✁E;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.no-results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* レスポンシチE*/
@media (max-width: 768px) {
    .search-hero {
        padding: 120px 15px 40px;
    }
    
    .search-hero-title {
        font-size: 1.6rem;
    }
    
    .search-hero-query {
        font-size: 1rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-button {
        justify-content: center;
    }
    
    .search-container {
        padding: 30px 15px;
    }
    
    .search-result-link {
        flex-direction: column;
        gap: 0;
    }
    
    .search-result-thumb {
        flex: none;
        height: 180px;
    }
    
    .search-result-content {
        padding: 20px;
    }
    
    .search-result-title {
        font-size: 1.1rem;
    }
    
    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .no-results-actions .btn-back {
        width: 100%;
        max-width: 250px;
    }
}

/* =====================================================
   サイドバー検索フォーム スタイル
   ===================================================== */

.widget-search {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.sidebar-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.sidebar-search-input:focus {
    border-color: var(--primary-color);
}

.sidebar-search-input::placeholder {
    color: var(--text-gray);
}

.sidebar-search-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-search-btn:hover {
    background: var(--secondary-color);
}

/* =====================================================
   ブログフッターナビ スタイル
   ===================================================== */

.blog-footer-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 50px 20px;
    background: var(--background-light);
}

@media (max-width: 480px) {
    .blog-footer-nav {
        flex-direction: column;
        align-items: center;
        padding: 40px 15px;
    }
    
    .blog-footer-nav .btn-back {
        width: 100%;
        max-width: 280px;
    }
}

/* =====================================================
   会社概要CTAリンク
   ===================================================== */

.about-cta {
    text-align: center;
    margin-top: 50px;
}

.about-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.about-cta-link .arrow {
    font-size: 1.3rem;
    transition: var(--transition);
}

.about-cta-link:hover .arrow {
    transform: translateX(5px);
}

/* =====================================================
   物流�E配送セクション
   ===================================================== */

.logistics-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--light-green);
}

.logistics-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.logistics-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.logistics-image img {
    width: 100%;
    height: auto;
    display: block;
}

.logistics-text {
    flex: 1;
}

.logistics-text h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.logistics-text > p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.logistics-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.logistics-features li {
    padding: 15px 20px;
    background: var(--background-light);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-left: 4px solid var(--accent-color);
}

.logistics-features li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 3px;
}

/* レスポンシチE*/
@media (max-width: 768px) {
    .about-cta-link {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .logistics-section {
        margin-top: 50px;
        padding-top: 40px;
    }
    
    .logistics-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .logistics-text h3 {
        font-size: 1.3rem;
    }
    
    .logistics-features {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   トップ�Eージ ブログおすすめセクション
   ===================================================== */

.blog-recommend {
    background: var(--background-light);
}

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

.blog-recommend-card {
    display: block;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-recommend-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-recommend-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-recommend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-recommend-card:hover .blog-recommend-thumb img {
    transform: scale(1.05);
}

.blog-recommend-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background-light) 100%);
    font-size: 3rem;
}

.blog-recommend-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-recommend-content {
    padding: 20px;
}

.blog-recommend-title {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-recommend-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.blog-recommend-cta {
    text-align: center;
}

.blog-recommend-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition);
}

.blog-recommend-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.blog-recommend-btn .arrow {
    font-size: 1.2rem;
    transition: var(--transition);
}

.blog-recommend-btn:hover .arrow {
    transform: translateX(5px);
}

/* レスポンシチE*/
@media (max-width: 1024px) {
    .blog-recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-recommend-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-recommend-thumb {
        height: 200px;
    }
    
    .blog-recommend-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

