@charset "UTF-8";

/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/*
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Sans JP', sans-serif;
            line-height: 1.6;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        */
/* ヘッダー */
.header {
    background: linear-gradient(135deg, #97d600, #1e3a5f);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-hours {
    font-size: 14px;
    color: #ccc;
}

.tel-number {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
    white-space: nowrap;
}

.tel-number:hover {
    color: #ffed4e;
}

/* ヒーローセクション */
.hero {
    background-image: url('http://aka-shirt.com/wp-content/uploads/2025/05/bk1.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.fv-top {
    background-color: #f7ffbd;
    text-align: center;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 600;
    color: #ffffff;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    background: white;
    color: #97d600;
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.hero-feature i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #97d600;
}

/* CTA ボタン */
.cta-button {
    display: inline-block;
    background: #fa9c00;
    color: white;
    padding: 15px 30px;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    margin: 10px;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #97d600, #7bc100);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 6px 20px rgba(151, 214, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

/* 緊急性を訴求するバナー */
.urgency-banner {
    background: #fa9c00;
    color: white;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
}


/* セクション共通 */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    text-align: center;
    margin-bottom: 40px;
    color: #97d600;
}

/* 特徴セクション */
.features {
    background: #f7f6e8;
}

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

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 100%;
    height: 120px;
    background: #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
}

.feature-card i {
    font-size: 48px;
    color: #97d600;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #97d600;
}

/* 回収実績セクション */
.achievements {
    background: #97d600;
    color: white;
}

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

.achievement-item {
    padding: 20px;
}

.achievement-number {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 料金セクション */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: #fa9c00;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fa9c00;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.price {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: bold;
    color: #97d600;
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.pricing-card li:before,
.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #97d600;
}

/* 対応エリア */
.area {
    background: #f9fce3;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.area-item {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.area-item:hover {
    transform: translateY(-5px);
}

/* お客様の声 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: #97d600;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.testimonial-card h4 {
    margin-bottom: 15px;
    color: #97d600;
}

.stars {
    color: #ffd700;
    margin-top: 15px;
}

/* FAQ */
.faq {
    background: #f9fce3;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: #97d600;
    color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    opacity: .8;
}

.faq-question:after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-question.active:after {
    content: '\f068';
}

.faq-answer {
    padding: 20px;
    display: none;
    line-height: 1.8;
}

/* フッター */
.footer {
    background: #97d600;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fixed-cta .cta-button {
    padding: 15px 20px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo {
        font-size: 20px;
    }

    .tel-number {
        font-size: 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        margin: 30px 0;
    }

    .hero-feature {
        padding: 10px;
    }

    .section {
        padding: 40px 0;
    }

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

    .feature-card {
        padding: 25px 20px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .pricing-card.popular {
        transform: none;
    }

    .area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fixed-cta {
        bottom: 15px;
        right: 15px;
    }

    .fixed-cta .cta-button {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-button {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
}


/* 769px以上のとき */
@media screen and (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

/* 768px以下のとき */
@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* 作業の様子 */
.work-process {
    background: #f8f9fa;
}

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

.process-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #fa9c00;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.process-image {
    width: 100%;
    height: 150px;
    background: #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.process-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #97d600;
}

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

/* 料金比較表 */
.comparison {
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #97d600;
    color: white;
    font-weight: bold;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table .highlight {
    background: #fff3cd;
    font-weight: bold;
    color: #ff6b35;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, #97d600 0%, #1e4080 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 固定CTA */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .price-highlight {
        font-size: 16px;
        padding: 15px;
    }

    .section {
        padding: 40px 0;
    }

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

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

    .pricing-card.popular,
    .pricing-card.recommended {
        transform: none;
    }

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

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

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-contact {
        flex-direction: column;
        gap: 10px;
    }

    .phone-number {
        font-size: 18px;
    }

    .fixed-cta {
        bottom: 15px;
        right: 15px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .pricing-card {
        padding: 20px;
    }

    .truck-image {
        height: 120px;
    }

    .price {
        font-size: 24px;
    }

    .plan-name {
        font-size: 18px;
    }

    .feature-card {
        padding: 20px;
    }

    .process-card {
        padding: 20px;
    }

    .comparison-table {
        font-size: 10px;
    }

    .cta-button {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
}

/* Filter Section */
.filters {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group,
.sort-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.select-wrapper {
    position: relative;
}

.select {
    appearance: none;
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    min-width: 120px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6B7280;
    font-size: 0.75rem;
}



/* Main Content */

.loading {
    text-align: center;
    padding: 3rem 0;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #E5E7EB;
    border-top: 3px solid #2563EB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.card-info {
    flex: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.customer-name {
    font-weight: 600;
    color: #111827;
    font-size: 1.1rem;
}

.rating-stars {
    display: flex;
    gap: 0.125rem;
    color: #fcd701;
}

.rating-stars .star {
    font-size: 1rem;
}

.customer-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.age-gender {
    background: #f3f7e6;
    color: #97d600;
}

.tag.area {
    background: #F3F4F6;
    color: #374151;
}

.review-text {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.75rem;
    color: #6B7280;
}

.no-results {
    text-align: center;
    padding: 3rem 0;
    color: #6B7280;
}

.no-results .sub-text {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

.contact-info div {
    color: #9CA3AF;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-top {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}



/* 回収実績ページ専用スタイル */

.stats-summary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.stats-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Case Studies Grid */
.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.case-study-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.case-study-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Case Header */
.case-header {
    display: flex;
    align-items: anchor-center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customer-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.customer-name {
    font-weight: 600;
    color: #111827;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.customer-meta {
    font-size: 0.875rem;
    background: #F3F4F6;
    border-radius: 1rem;
    padding: 0.25rem 0.75rem;
    color: #374151;
}

.case-meta {
    text-align: right;
    display: flex;
}

.service-tag,
.time-info {
    display: inline-block;
    background: #DBEAFE;
    color: #1E40AF;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}


/* Before/After Images */
.before-after {
    margin-bottom: 1.5rem;
}

.image-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.image-container {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 100%;
}

.case-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid #E5E7EB;
}

.image-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.image-label.before {
    background: #919191;
}

.image-label.after {
    background: #97d600;
}

.arrow {
    font-size: 1.5rem;
    font-weight: 700;
    color: #97d600;
    flex-shrink: 0;
}

/* Case Details */
.case-details {
    display: grid;
    gap: 1rem;
}

.items-removed {
    background: #F9FAFB;
    padding: 1rem;
    border-radius: 0.5rem;
}

.items-removed span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.items-removed p {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.case-date {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-align: right;
    margin-top: 0.5rem;
}

/* Service Tag Colors */
.service-tag {
    background: #DBEAFE;
    color: #1E40AF;
    margin-right: 10px;
}

.case-study-card[data-service="furniture"] .service-tag {
    background: #FEF3C7;
    color: #92400E;
}

.case-study-card[data-service="appliance"] .service-tag {
    background: #D1FAE5;
    color: #065F46;
}

.case-study-card[data-service="office"] .service-tag {
    background: #E0E7FF;
    color: #3730A3;
}

.case-study-card[data-service="estate"] .service-tag {
    background: #FCE7F3;
    color: #86198F;
}

.case-study-card[data-service="mixed"] .service-tag {
    background: #F3E8FF;
    color: #6B21A8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .divider {
        width: 3rem;
        height: 1px;
    }

    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-meta {
        text-align: left;
    }

    .image-section {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .image-container {
        max-width: 100%;
    }
}


.staff-comment {
    position: relative;
    margin-top: 20px;
}

.staff-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.staff-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #97d600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.staff-name {
    font-weight: 700;
    color: #97d600;
    font-size: 0.95rem;
}

.comment-bubble {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 18px 22px;
    position: relative;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.comment-bubble::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #e9ecef;
}

.comment-bubble::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid white;
}


.step-note {
    background: #f3f7e6;
    border: 1px solid #97d600;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.step-note span {
    color: #97d600;
}



.services-section {
    padding: 4rem 0;
    background: white;
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.service-content {
    padding: 1.5rem;
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.service-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.service-features li {
    padding: 0.25rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
}


.service-price {
    background: #f3f7e6;
    color: #97d600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
}

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

    .service-card {
        margin-bottom: 1rem;
    }
}



/*form*/

#form {
    line-height: 1.6;
    color: #333;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

#form * {
    box-sizing: border-box;
}

/* メインコンテナ */
#form .post_content {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

#form .post_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #97d600;
}

/* フォームコンテナ */
#form .mw_wp_form {
    padding: 0;
}

#form form {
    padding: 40px 30px;
}

#form .in {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* フォームグループのスタイリング */
#form .form-group {
    margin-bottom: 0 !important;
}

/* 見出しのスタイリング */
#form h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    position: relative;
    padding-left: 0;
}

#form h3.required::after {
    content: '必須';
    display: inline-block;
    background: #97d600;
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    position: relative;
    top: -1px;
}

#form h3.any::after {
    content: '任意';
    display: inline-block;
    background: #999;
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    position: relative;
    top: -1px;
}

#form .contacth3-first {
    position: relative;
}

/* 入力フィールドの共通スタイル */
#form .form-control {
    width: 100% !important;
    padding: 16px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

#form .form-control:focus {
    outline: none;
    border-color: #97d600;
    box-shadow: 0 0 0 3px rgba(39, 152, 86, 0.1);
    transform: translateY(-1px);
}

#form .form-control:hover {
    border-color: #97d600;
}

#form .form-control::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

/* セレクトボックス */
#form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    padding-right: 50px;
}

/* テキストエリア */
#form textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* チェックボックスセクション */
#form .dfaii {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

#form .checkboxs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

#form .horizontal-item {
    display: block;
}

#form .mwform-checkbox-field label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

#form .mwform-checkbox-field label:hover {
    border-color: #97d600;
    background: #f0f9f4;
    transform: translateY(-1px);
}

#form .mwform-checkbox-field input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#form .mwform-checkbox-field input[type="checkbox"]:checked {
    background: #97d600;
    border-color: #97d600;
}

#form .mwform-checkbox-field input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#form .mwform-checkbox-field input[type="checkbox"]:checked+.mwform-checkbox-field-text {
    color: #97d600;
    font-weight: 600;
}

#form .mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0px;
}

/* 送信ボタン */
#form .fo-btn {
    margin-top: 32px;
}

#form .submit-btn {
    text-align: center;
}

#form .dfjb {
    display: flex;
    justify-content: center;
}

#form .blue_button {
    background: #fa9c00;
    color: white;
    border: none;
    margin-right: 20px;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 240px;
}

#form .blue_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

#form .blue_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

#form .blue_button:hover::before {
    left: 100%;
}

#form .blue_button:active {
    transform: translateY(0);
}

#form .ep2 {
    background: #999999;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #form {
        padding: 10px;
    }

    #form form {
        padding: 30px 20px;
    }

    #form .checkboxs {
        grid-template-columns: 1fr 1fr;
    }

    #form .mwform-checkbox-field label {
        padding: 14px 16px;
    }

    #form .blue_button {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    #form .form-control {
        padding: 14px 16px;
    }

    #form .fo-btn {
        margin-top: 30px;
    }

    #form .fo-btn .col-sm-6 {
        order: 2;
        margin-bottom: 10px;
    }

    #form .fo-btn .col-sm-6.submit-btn {
        order: 1;
        margin-bottom: 10px !important;
    }

    #form .fo-btn {
        margin-top: 30px;
    }

    #form .dfjb {
        flex-direction: column;
    }

}

@media (max-width: 480px) {
    #form .post_content {
        border-radius: 12px;
        margin: 0;
    }

    #form form {
        padding: 24px 16px;
    }

    #form .dfaii {
        padding: 20px 16px;
    }

    #form h3 {
        font-size: 15px;
    }

    #form .checkboxs {
        gap: 8px;
    }

    #form .mwform-checkbox-field label {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* アニメーション */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#form .form-group {
    animation: slideInUp 0.6s ease-out;
}

#form .form-group:nth-child(n) {
    animation-delay: calc(0.1s * var(--order, 0));
}

.cap_box_content {
    border: 1px solid #97d600;
    clear: both;
    margin-top: -2px;
    padding: 1.25em;
    position: relative;
    z-index: 0;
}

.-list-under-dashed>li,
.border_bottom>li {
    border-bottom: 1px dashed hsla(0, 0%, 78%, .5);
    margin-bottom: 0.75em;
    padding-bottom: 0.75em;
    padding-left: 40px;
}

.is-style-check_list li:before {
    color: #97d600;
    font-family: "Font Awesome 5 Free" !important;
    content: "\f00c";
    font-weight: 900;
    position: absolute;
    left: 5px;
}

.single_content table {
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 1.6;
    max-width: 100%;
    text-align: left;
    width: 100%;
}

.single_content th {
    background: #97d600;
    color: #fff;
    vertical-align: middle;
}

.single_content td,
.single_content th {
    border: 1px solid #dcdcdc;
    padding: 0.5em;
}

.cushion {
    font-size: 12px;
    padding: 4px 6px;
    background-color: #F57C00;
    color: #fff;
    font-weight: bold;
    border-radius: 18px;
}

.table-center {
    text-align: center !important;
}

.double {
    color: #ff5050;
}

.symbol {
    font-size: 40px;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-family: system-ui;
}

.batsu {
    color: #007eff;
}

.single-cicrle {
    color: #ff9000;
}

.triangle {
    color: #05788d;
}

.memo {
    margin-bottom: 1.5em;
    padding: 1em;
    background: #fff3e5;
    color: #545454;
}

.memo_ttl {
    margin-bottom: 5px;
    color: #ffb36b;
    font-size: 1.2em;
    font-weight: bold;
}

.memo p {
    margin-bottom: 0;
}

.memo_ttl:before {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 0 3px 0 0;
    border-radius: 50%;
    background: #ffb36b;
    color: #fff;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    text-align: center;
    vertical-align: middle;
    content: "\f303";
}

.memo.alert {
    background: #ffebeb;
    margin-top: 20px;
}

.memo.alert .memo_ttl {
    color: #ff8376;
}

.memo.alert .memo_ttl:before {
    background: #ff8376;
    content: "\f12a";
}

.li-check {
    border: 2px solid #97d600;
    margin-bottom: 20px;
}

.li-check ul {
    background: none;
    position: relative;
    padding: 20px;
}

.li-mainbdr ul,
.li-mainbdr ol,
.li-mainbdr ul,
.li-mainbdr ol {
    border-color: #97d600;
}

.li-check li:before {
    position: absolute;
    left: 1em;
    color: #97d600;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f00c";
    left: 5px;
}

.li-check li {
    line-height: 2.4em;
    border-bottom: 1px dashed hsla(0, 0%, 78%, .9);
    padding-left: 24px;
}

.box-title {
    font-weight: bold;
}

.box29 .box-title {
    display: inline-block;
    position: relative;
    top: 0px;
    padding: 2px 9px;
    background: #113758;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

.sng-box .li-check ul,
.sng-box .li-check {
    border: none !important;
}

.box29 .box-title:before {
    padding-right: 4px;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f0eb";
}

.box29 {
    margin: 2em 0;
    border: solid 2px #113758;
    background: #fff;
}

.sgb-css-id-8 .sng-box {
    /*border: none;*/
    max-width: 800px;
    margin: 8px auto;
    font-weight: unset;
}

.sgb-css-id-8 .wp-block-columns {
    box-shadow: var(--wp--custom--shadow--medium, 0 6px 13px -3px rgba(0, 12, 66, 0.1), 0 0px 1px rgba(0, 30, 100, 0.1));
    background: #fff;
    padding: 0;
    display: flex;
    margin-bottom: 0;
    border-radius: calc(var(--sgb--custom--box-radius, 6)* 1px);
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 0;
    overflow: hidden;
}

.sgb-css-id-8 .wp-block-columns>* {
    width: 100%;
}

.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
}

.sgb-css-id-8 .sgb-heading {
    margin: 0 !important;
}

.sgb-css-id-8 .sng-box ul,
.sgb-css-id-8 .sng-box ol {
    margin: 16px 0;
    padding: 0.2em 1.45em;
    border: none;
}

.sgb-css-id-8 li:last-child {
    border-bottom: 0;
}

.li-chevron li,
.li-check li,
.li-yubi li,
.li-niku li {
    list-style-type: none !important;
    padding: 0.5em 0;
    line-height: 1.5;
    padding-left: 40px;

}

.li-check .sgb-css-id-4 li:before {
    content: "\f111" !important;
    font-weight: 300 !important;
    position: absolute;
    left: 5px;
    font-family: "Font Awesome 5 Free" !important;
    width: 1.25em;
    color: #97d600 !important;
    display: block !important;
    transform: none;
}

.sgb-heading__inner {
    display: block;
    font-weight: 900;
    line-height: 1.4;
}

.li-check .sgb-css-id-7 li:before {
    content: "\f00d" !important;
    font-weight: 900;
    position: absolute;
    left: 5px;
    font-family: "Font Awesome 5 Free" !important;
    width: 1.25em;
    color: #f7931f !important;
    transform: none;
}

.sgb-css-id-8 {
    border: none;
    max-width: 800px;
    margin: 8px auto;
    font-weight: unset;
}

.sgb-css-id-8 .wp-block-columns.is-not-stacked-on-mobile>.wp-block-column:not(:first-child) {
    margin-left: 0;
    margin-top: 0 !important;
}

ul.sgb-css-id-4,
ul.sgb-css-id-7 {
    padding: 0 10px 0 10px;
}

.sgb-css-id-8 li,
.sgb-css-id-7 li {
    border-bottom: dashed 2px #dadada;
    font-size: 15px;
    padding-left: 1.4em !important;
    margin-top: 0 !important;
}

.outline-blockmerit {
    background-color: #b4e0fa24;
    padding: 0 !important;
}

.li-check ul {
    background: none;
}

.wp-block-sgb-list {
    margin-top: 6px !important;
}

.inline-blockmerit {
    background-color: #97d600;
    border-color: transparent;
    font-size: 1em;
    text-align: center;
}

.outline-blockdemerit {
    background-color: #ffebeb52;
    padding: 0 !important;
}

.inline-blockdemerit {
    background-color: #f7931f;
    border-color: transparent;
    font-size: 1em;
    text-align: center;
}

.box1 {
    padding: 0;
}

.sgb-heading--type2 {
    border: 2px solid transparent;
    border-radius: 2px;
    padding: 0.75em 0.65em;
}

.meritto,
.demeritto {
    position: relative;
    padding: 20px 20px 20px 30px;
    margin: 4em 0 2em !important;
}

.meritto {
    border: 3px solid #97d600;
}

.demeritto {
    border: 3px solid #f7931f;
}

.meritto .box-title,
.demeritto .box-title {
    position: absolute;
    top: -42px;
    left: -3px;
    color: white;
    line-height: 32px;
    padding: 5px 13px 3px;
    border-radius: 10px 10px 0 0;
}

.meritto .box-title {
    background: #97d600;
}

.demeritto .box-title {
    background: #f7931f;
}

.meritto .box-title:before,
.demeritto .box-title:before {
    margin-right: 10px;
    font-size: 1.2em;
}

.meritto .box-title:before {
    content: "\f599";
}

.demeritto .box-title:before {
    content: "\f119";
}

.meritto ul,
.demeritto ul {
    list-style: none;
}

.meritto li,
.demeritto li {
    padding: .5em 0 !important;
    padding-left: 6px !important;
}

.meritto li:before,
.demeritto li:before {
    margin-left: -20px;
    margin-right: 10px;
}

.meritto li:before {
    content: "\f164" !important;
    color: #97d600 !important;
    transform: none !important;
    font-size: 16px;
}

.demeritto li:before {
    content: "\f165" !important;
    color: #f7931f !important;
    transform: none !important;
    font-size: 16px;
}

.meritto li:before,
.meritto .box-title:before,
.demeritto li:before,
.demeritto .box-title:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
}

.wp-block-sgb-list .li-check {
    border: none;
}

.js-scrollable td,
.js-scrollable th {
    white-space: normal;
    min-width: 166px;
    max-width: 330px
}

.js-scrollable table {
    margin-bottom: 0;
}

.js-scrollable {
    margin-bottom: 30px;
}

.scroll-hint-icon {
    width: 150px;
    height: 100px;
}

.scroll-hint-text {
    font-size: 14px;
    margin-top: 10px;
}

.js-scrollable th {
    background: #97d600;
}

.tate thead td {
    background: #97d600;
}

.js-scrollable td,
.js-scrollable th {
    text-align: center;
}

table.tate .fixed01 {
    position: sticky;
    left: 0;
    color: #fff;
    background: #97d600 !important;
    font-weight: bold;
    text-align: center;
    z-index: 9999;
}

/*吹き出し（会話形式）[say]*/
.say {
    display: table;
    overflow: hidden;
    width: 100%;
    margin: 1.5em 0;
}

.faceicon {
    display: table-cell;
    width: 110px;
    padding-right: 20px;
    text-align: center;
    vertical-align: top;
}

.faceicon img {
    width: 100%;
    background: #fff;
    height: auto;
    border: solid 3px #eaedf2;
    border-radius: 50%;
}

.faceicon span {
    font-size: 11px;
    font-weight: bold;
    margin-top: 0;
    line-height: 1;
    display: block;
    text-align: center;
}

.chatting {
    display: table-cell;
    position: relative;
    width: calc(100% - 100px);
    font-size: 0.95em;
    vertical-align: top;
}

.sc {
    display: inline-block;
    text-align: left;
    padding: 13px;
    font-size: 16px;
    border: solid 2px #d5d5d5;
    border-radius: 12px;
    background: #fff;
    word-break: break-word;
}

.sc:before {
    display: inline-block;
    position: absolute;
    top: 18px;
    left: -23px;
    border: 12px solid transparent;
    border-right: 12px solid #d5d5d5;
    content: "";
}

.sc:after {
    display: inline-block;
    position: absolute;
    top: 18px;
    left: -20px;
    border: 12px solid transparent;
    border-right: 12px solid #fff;
    content: "";
}

.sc p {
    margin: 5px 0;
    padding: 0;
}

/*吹き出し（右）*/
.right {
    text-align: right;
}

.right .faceicon {
    padding: 0 0 0 20px;
}

.right .sc:before,
.right .sc:after {
    right: -23px;
    left: auto;
    border: 12px solid transparent;
    border-left: 12px solid #d5d5d5;
}

.right .sc:after {
    right: -20px;
    border-left-color: #fff;
}


/*#content h2 {
    text-align: left;
    background: #97d600;
    padding: 0.75em 1em;
    color: #fff;
    position: relative;
    margin: 30px auto;
}

#content h2::before {
    position: absolute;
    display: block;
    pointer-events: none;
    content: "";
    top: -4px;
    left: 0;
    width: 100%;
    height: calc(100% + 4px);
    box-sizing: content-box;
    border-top: solid 2px #97d600;
    border-bottom: solid 2px #97d600;
}

#content h3 {
    position: relative;
    margin-top: 64px;
    margin-bottom: 20px;
    padding-bottom: 6px;
    font-size: 20px;
    line-height: 1;
    border-bottom: 4px solid #fff;
    border-image: linear-gradient(90deg, #97d600 13.19%, #97d600 56.59%);
    border-image-slice: 1;
}

#content h4 {
    font-size: 18px;
    border-left: solid 4px #97d600;
    margin: 40px 0 24px;
    padding-left: 8px;
    line-height: 2;
}*/



/* 回収実績ページ用完全版CSS（style.cssに追加） */

/* ========================================
   ページネーション
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    color: #97d600;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #97d600;
    color: white;
    border-color: #97d600;
}

.pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #999;
}

.pagination .prev,
.pagination .next {
    font-size: 14px;
    padding: 10px 20px;
}

/* ========================================
   フィルター機能
======================================== */
.filters {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.filter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group,
.sort-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #97d600;
    white-space: nowrap;
}

.select-wrapper {
    position: relative;
}

.select {
    appearance: none;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    min-width: 120px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    color: #333;
}

.select:focus {
    outline: none;
    border-color: #97d600;
    box-shadow: 0 0 0 3px rgba(151, 214, 0, 0.1);
}

.select:hover {
    border-color: #97d600;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #97d600;
    font-size: 12px;
}

/* ========================================
   統計情報
======================================== */
.stats-summary {
    background: rgba(151, 214, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.stats-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #97d600;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* ========================================
   スニペット表示（アーカイブページ用）
======================================== */
/* スニペットグリッド */
.case-snippets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* スニペットカード */
.case-snippet-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

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

/* サムネイル画像 */
.case-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.case-snippet-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.service-tag-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(151, 214, 0, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* カード内容 */
.case-snippet-content {
    padding: 20px;
}

/* ヘッダー部分 */
.case-snippet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.customer-info-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.customer-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.customer-details-compact {
    flex: 1;
}

.customer-name-compact {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    margin-bottom: 2px;
}

.customer-meta-compact {
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2px 8px;
    display: inline-block;
}

.work-date-compact {
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

/* サマリー部分 */
.case-snippet-summary {
    margin-bottom: 15px;
}

.room-info {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.room-tag,
.time-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.room-tag {
    background: #e3f2fd;
    color: #1976d2;
}

.time-tag {
    background: #f3e5f5;
    color: #7b1fa2;
}

.items-preview {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.items-preview i {
    color: #97d600;
    font-size: 12px;
}

.comment-preview {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
}

/* フッター部分 */
.case-snippet-footer {
    text-align: right;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #97d600;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-button:hover {
    background: #7bc100;
    transform: translateX(3px);
    color: white;
}

.detail-button i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.detail-button:hover i {
    transform: translateX(3px);
}

/* ========================================
   詳細表示（シングルページ用）
======================================== */
/* 詳細表示グリッド */
.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* 詳細表示カード */
.case-study-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

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

/* ケースヘッダー */
.case-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    flex-shrink: 0;
}

.customer-details {
    flex: 1;
}

.customer-name {
    font-weight: 700;
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.customer-meta {
    font-size: 13px;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 5px 12px;
    color: #666;
    display: inline-block;
    margin-bottom: 10px;
}

.case-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.service-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.time-info {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 10px;
}

/* Before/After画像 */
.before-after {
    margin-bottom: 20px;
}

.image-section {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.image-container {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 100%;
}

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.case-image:hover {
    transform: scale(1.02);
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.image-label.before {
    background: linear-gradient(135deg, #666, #999);
}

.image-label.after {
    background: linear-gradient(135deg, #97d600, #7bc100);
}

.arrow {
    font-size: 24px;
    font-weight: 700;
    color: #97d600;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* スタッフコメント */
.staff-comment {
    position: relative;
    margin-top: 20px;
}

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

.staff-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #97d600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.staff-name {
    font-weight: 700;
    color: #97d600;
    font-size: 14px;
}

.comment-bubble {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 16px 20px;
    position: relative;
    line-height: 1.6;
    color: #555;
    /*font-size: 14px;*/
}

.comment-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e9ecef;
}

.comment-bubble::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #f8f9fa;
}

/* ステップノート */
.step-note {
    background: linear-gradient(135deg, #f3f7e6, #e8f3d3);
    border: 2px solid #97d600;
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 20px;
    /*font-size: 14px;*/
    line-height: 1.5;
}

.step-note span {
    color: #97d600;
    font-weight: 700;
}

/* ケース詳細 */
.case-date {
    font-size: 12px;
    color: #999;
}

/* ========================================
   サービスタグの色分け
======================================== */
.case-study-card[data-service="furniture"] .service-tag,
.case-snippet-card[data-service="furniture"] .service-tag-overlay {
    background: #fa9c00;
    color: white;
}

.case-study-card[data-service="appliance"] .service-tag,
.case-snippet-card[data-service="appliance"] .service-tag-overlay {
    background: #97d600;
    color: white;
}

.case-study-card[data-service="office"] .service-tag,
.case-snippet-card[data-service="office"] .service-tag-overlay {
    background: #b56ff2;
    color: white;
}

.case-study-card[data-service="estate"] .service-tag,
.case-snippet-card[data-service="estate"] .service-tag-overlay {
    background: #f37b64;
    color: white;
}

.case-study-card[data-service="mixed"] .service-tag,
.case-snippet-card[data-service="mixed"] .service-tag-overlay {
    background: #82bfd8;
    color: white;
}

/* ========================================
   詳細ページ専用スタイル
======================================== */
.breadcrumb {
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #97d600;
    text-decoration: none;
    font-weight: 500;
}

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

.case-detail-container .case-study-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.case-details-table h3,
.case-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #97d600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

/* テーブルスタイル */
.single_content table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.single_content th {
    background: linear-gradient(135deg, #97d600, #7bc100);
    font-weight: 600;
    text-align: center;
}

.single_content td {
    background: white;
    font-weight: 500;
}

.single_content tr:nth-child(even) td {
    background: #f8f9fa;
}

/* ========================================
   共通要素
======================================== */
/* No Results表示 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h3 {
    color: #97d600;
    margin-bottom: 15px;
    font-size: 24px;
}

.no-results .sub-text {
    font-size: 14px;
    margin-top: 10px;
    color: #999;
}

/* ローディング状態 */
.loading {
    text-align: center;
    padding: 60px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #97d600;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* アニメーション効果 */
.case-study-card,
.case-snippet-card {
    animation: fadeInUp 0.6s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {

    /* フィルター */
    .filters {
        padding: 15px;
    }

    .filter-content {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .filter-group,
    .sort-group {
        justify-content: center;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .select {
        min-width: 100%;
        font-size: 13px;
    }

    /* 統計情報 */
    .stats-info {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* スニペットカード */
    .case-snippets-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }

    .case-thumbnail {
        height: 150px;
    }

    .case-snippet-content {
        padding: 15px;
    }

    .case-snippet-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .customer-info-compact {
        gap: 8px;
    }

    .customer-avatar-small {
        width: 35px;
        height: 35px;
    }

    .customer-name-compact {
        font-size: 15px;
    }

    .work-date-compact {
        align-self: flex-end;
    }

    /* 詳細カード */
    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
    }

    .image-section {
        flex-direction: column;
        gap: 15px;
    }

    .arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }

    .image-container {
        max-width: 100%;
    }

    .case-image {
        height: 180px;
    }

    .customer-avatar {
        width: 50px;
        height: 50px;
    }

    .customer-name {
        font-size: 16px;
    }

    /* パンくず・その他 */
    .breadcrumb {
        padding: 10px 15px;
        font-size: 12px;
        margin: 0 15px 15px;
    }

    .case-detail-container {
        margin: 0 15px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination .page-numbers {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    /* スニペット */
    .case-snippets-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case-thumbnail {
        height: 140px;
    }

    .room-info {
        flex-wrap: wrap;
        gap: 5px;
    }

    .items-preview,
    .comment-preview {
        font-size: 12px;
    }

    .detail-button {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* 詳細 */
    .customer-info {
        min-width: auto;
    }

    .customer-meta {
        font-size: 12px;
    }

    .service-tag,
    .time-info {
        font-size: 11px;
        padding: 3px 8px;
    }

    .comment-bubble {
        padding: 12px 15px;
        font-size: 13px;
    }

    .step-note {
        padding: 12px 15px;
        font-size: 13px;
    }

    .case-image {
        height: 150px;
    }

    .select {
        min-width: 80px;
        padding: 6px 25px 6px 10px;
    }
}

/* ========================================
   ホバー効果
======================================== */
.case-study-card:hover .customer-avatar,
.case-snippet-card:hover .customer-avatar-small {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.case-study-card:hover .service-tag,
.case-snippet-card:hover .service-tag-overlay {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}