/*
Theme Name: Tax Matching Theme
Theme URI: https://example.com
Description: 税理士マッチングサイト用テーマ - 管理しやすく、更新しやすく、壊れにくい設計
Version: 2.0.0
Author: InfinityDesign
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tax-matching-theme

設計思想:
- 管理しやすさ最優先
- データとロジックの分離
- 拡張性の確保
*/

/* ========================================
   基本スタイル
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   サービスカード（一覧ページ用）
   ======================================== */

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.service-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    position: relative;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    z-index: 10;
}

.service-card__badge--premium {
    background-color: #f0ad4e;
}

.service-card__badge--standard {
    background-color: #5bc0de;
}

.service-card__badge--basic {
    background-color: #999;
}

.service-card__thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.service-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card__content {
    padding: 15px;
}

.service-card__title {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card__title a {
    color: #333;
    text-decoration: none;
}

.service-card__title a:hover {
    color: #0066cc;
}

.service-card__office {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.service-card__catchcopy {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.service-card__meta {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-bottom: 15px;
}

.service-card__meta-item {
    font-size: 13px;
    margin-bottom: 5px;
}

.service-card__meta-label {
    font-weight: bold;
    color: #666;
}

.service-card__button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #0066cc;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.service-card__button:hover {
    background-color: #0052a3;
}

/* ========================================
   サービス詳細ページ
   ======================================== */

.service-single {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.service-single__header {
    margin-bottom: 30px;
}

.service-single__title {
    font-size: 32px;
    margin-bottom: 15px;
}

.service-single__catchcopy {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.service-single__meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.service-single__meta-item {
    font-size: 14px;
}

.service-single__meta-label {
    font-weight: bold;
    color: #666;
    margin-right: 5px;
}

.service-single__section-title {
    font-size: 24px;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.service-single__thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.service-single__content {
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-single__contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-single__contact-button {
    flex: 1;
    min-width: 200px;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.service-single__contact-button:hover {
    opacity: 0.8;
}

.service-single__contact-button--website {
    background-color: #0066cc;
    color: #fff;
}

.service-single__contact-button--tel {
    background-color: #46b450;
    color: #fff;
}

.service-single__contact-button--email {
    background-color: #f0ad4e;
    color: #fff;
}

/* ========================================
   一覧ページ
   ======================================== */

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

.archive-header__title {
    font-size: 36px;
    margin-bottom: 15px;
}

.archive-header__description {
    font-size: 16px;
    color: #666;
}

/* ========================================
   フィルター
   ======================================== */

.service-filter {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.service-filter__row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.taxonomy-filter {
    flex: 1;
    min-width: 200px;
}

.taxonomy-filter__label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.taxonomy-filter__select,
.service-filter__select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.service-filter__actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.service-filter__button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.service-filter__button--submit {
    background-color: #0066cc;
    color: #fff;
}

.service-filter__button--reset {
    background-color: #999;
    color: #fff;
}

/* ========================================
   パンくずリスト
   ======================================== */

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb__list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb__item::after {
    content: "›";
    margin-left: 10px;
    color: #999;
}

.breadcrumb__item:last-child::after {
    content: "";
}

.breadcrumb__item a {
    color: #0066cc;
    text-decoration: none;
}

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

/* ========================================
   ページネーション
   ======================================== */

.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 5px;
}

.pagination a,
.pagination .current {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination .current {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

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

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .service-filter__row {
        flex-direction: column;
    }
    
    .service-single__contact-buttons {
        flex-direction: column;
    }
    
    .service-single__contact-button {
        min-width: 100%;
    }
}

/* ========================================
   フロントページ
   ======================================== */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Site Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.site-nav__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.site-nav__link {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
}

.site-nav__link:hover {
    color: #0066cc;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 4px 0;
}

/* Hero Section - 背景画像 */
.hero {
    background-image: url('images/hero-image.png');
    background-size: 80%;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    color: #1a1a1a;
    padding: 100px 20px 80px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.hero__title {
    font-size: 48px;
    margin: 0 0 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a1a;
    max-width: 600px;
}

.hero__description {
    font-size: 18px;
    margin: 0 0 32px;
    line-height: 1.7;
    color: #555;
    max-width: 600px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 48px;
}

.hero__button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.hero__button--primary {
    background: #0066cc;
    color: #fff;
    border: 2px solid #0066cc;
}

.hero__button--primary:hover {
    background: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
}

.hero__button--secondary {
    background: #fff;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.hero__button--secondary:hover {
    background: #0066cc;
    color: #fff;
}

.hero__trust-signals {
    display: flex;
    gap: 48px;
    justify-content: flex-start;
}

.trust-signal {
    text-align: center;
}

.trust-signal__number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #0066cc;
}

.trust-signal__label {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Section */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

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

.section-header__title {
    font-size: 36px;
    margin: 0 0 16px;
    color: #333;
}

.section-header__description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

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

.section-footer__link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.section-footer__link:hover {
    text-decoration: underline;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.industry-card {
    display: block;
    padding: 32px 24px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.industry-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.industry-card__title {
    font-size: 20px;
    margin: 0 0 8px;
    color: #333;
}

.industry-card__count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Issue Grid */
.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.issue-card {
    display: block;
    padding: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.issue-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.issue-card__title {
    font-size: 18px;
    margin: 0 0 8px;
    color: #333;
}

.issue-card__count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step {
    text-align: center;
}

.step__number {
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
}

.step__title {
    font-size: 24px;
    margin: 0 0 16px;
    color: #333;
}

.step__description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

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

.feature {
    text-align: center;
}

.feature__title {
    font-size: 20px;
    margin: 0 0 16px;
    color: #333;
}

.feature__description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 24px 0;
}

.faq-item__toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    padding: 0;
}

.faq-item__toggle:hover {
    color: #0066cc;
}

.faq-item__answer {
    display: none;
    margin-top: 16px;
    color: #666;
    line-height: 1.6;
}

/* Final CTA - ビジネスライク */
.final-cta {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.final-cta__title {
    font-size: 36px;
    margin: 0 0 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.final-cta__description {
    font-size: 18px;
    margin: 0 0 32px;
    color: #555;
}

.final-cta__button {
    display: inline-block;
    padding: 16px 48px;
    background: #0066cc;
    color: #fff;
    border: 2px solid #0066cc;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.final-cta__button:hover {
    background: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 48px 20px 24px;
}

.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-nav__title {
    font-size: 18px;
    margin: 0 0 16px;
    color: #fff;
}

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

.footer-nav__item {
    margin-bottom: 8px;
}

.footer-nav__link {
    color: #ccc;
    text-decoration: none;
}

.footer-nav__link:hover {
    color: #fff;
}

.site-info {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #555;
}

.site-info__text {
    margin: 0;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    
    .site-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e0e0e0;
    }
    
    .site-nav__menu {
        flex-direction: column;
        gap: 0;
    }
    
    .site-nav__item {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        text-align: center;
        background-position: center;
        background-size: 100%;
    }
    
    .hero__container {
        padding-left: 20px;
    }
    
    .hero__title {
        font-size: 32px;
        max-width: 100%;
    }
    
    .hero__description {
        max-width: 100%;
    }
    
    .hero__cta {
        flex-direction: column;
        justify-content: center;
    }
    
    .hero__trust-signals {
        flex-direction: column;
        gap: 24px;
        justify-content: center;
    }
    
    .section-header__title {
        font-size: 28px;
    }
}


/* ========================================
   Archive Page - Enhanced Design
   ======================================== */

.archive-page {
    background-color: #f8f9fa;
}

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

/* Archive Header - Enhanced */
.archive-page .archive-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: none;
}

.archive-page .archive-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.archive-page .archive-header__description {
    font-size: 1.125rem;
    opacity: 0.95;
    color: #fff;
}

/* Service Filter - Enhanced */
.archive-page .service-filter {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
}

.service-filter__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.service-filter__field {
    display: flex;
    flex-direction: column;
}

.service-filter__field .service-filter__label,
.service-filter__field .taxonomy-filter__label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9375rem;
}

.service-filter__field .service-filter__select,
.service-filter__field .taxonomy-filter__select {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.service-filter__field .service-filter__select:focus,
.service-filter__field .taxonomy-filter__select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.archive-page .service-filter__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Enhanced */
.archive-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.archive-page .button--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.archive-page .button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.archive-page .button--secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.archive-page .button--secondary:hover {
    background: #f8f9fa;
}

.button__icon {
    font-size: 1.125rem;
}

/* Service Archive - Enhanced */
.archive-page .service-archive {
    margin-bottom: 60px;
}

.archive-page .service-archive__count {
    margin-bottom: 24px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.archive-page .service-archive__count p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.archive-page .service-archive__count strong {
    color: #667eea;
    font-size: 1.25rem;
}

/* Service Cards - Enhanced */
.archive-page .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.archive-page .service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: none;
}

.archive-page .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.archive-page .service-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.archive-page .service-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.archive-page .service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

.archive-page .service-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-page .service-card__title a:hover {
    color: #667eea;
}

.archive-page .service-card__excerpt {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.archive-page .service-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.archive-page .service-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: #666;
}

.archive-page .service-card__tag--featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.archive-page .service-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.archive-page .service-card__link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.archive-page .service-card__link:hover {
    color: #764ba2;
}

/* No Results - Enhanced */
.archive-page .service-archive__no-results {
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.no-results-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 32px;
}

/* Featured Section - Enhanced */
.archive-page .service-archive__featured {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.archive-page .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    color: #333;
}

/* Pagination - Enhanced */
.archive-page .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.archive-page .pagination__link,
.archive-page .pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-page .pagination__link {
    background: #fff;
    color: #667eea;
    border: 2px solid #e0e0e0;
}

.archive-page .pagination__link:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.archive-page .pagination__current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: 2px solid transparent;
}

.archive-page .pagination__prev,
.archive-page .pagination__next {
    font-weight: 700;
}

/* Responsive - Archive Page */
@media (max-width: 768px) {
    .archive-page .archive-header__title {
        font-size: 2rem;
    }
    
    .archive-page .archive-header__description {
        font-size: 1rem;
    }
    
    .archive-page .service-filter {
        padding: 24px 20px;
    }
    
    .service-filter__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .archive-page .service-filter__actions {
        flex-direction: column;
    }
    
    .archive-page .button {
        width: 100%;
    }
    
    .archive-page .service-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .archive-page .service-archive__no-results {
        padding: 40px 24px;
    }
    
    .no-results-icon {
        font-size: 3rem;
    }
    
    .no-results-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .archive-page .archive-header {
        padding: 40px 0;
    }
    
    .archive-page .archive-header__title {
        font-size: 1.75rem;
    }
    
    .archive-page .service-filter {
        padding: 20px 16px;
    }
    
    .archive-page .button {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
}

/* ========================================
   サービス別ページ
   ======================================== */

.service-page {
    background: #f8f9fa;
}

.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.service-hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.service-content {
    padding: 60px 20px;
    background: #fff;
}

.service-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper {
    line-height: 1.8;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #555;
}

.content-wrapper p {
    margin-bottom: 15px;
}

.service-reasons {
    padding: 60px 20px;
    background: #f8f9fa;
}

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

.reason-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reason-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.reason-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.reason-description {
    color: #666;
    line-height: 1.7;
}

.service-pricing {
    padding: 60px 20px;
    background: #fff;
}

.pricing-content {
    max-width: 800px;
    margin: 30px auto;
    line-height: 1.8;
}

.pricing-note {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 20px;
}

.service-flow {
    padding: 60px 20px;
    background: #f8f9fa;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.flow-step {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.step-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

.service-faq {
    padding: 60px 20px;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 30px auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
}

.service-final-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* ========================================
   利用の流れページ
   ======================================== */

.how-to-use-page {
    background: #f8f9fa;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

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

.flow-steps-detailed {
    max-width: 900px;
    margin: 0 auto;
}

.flow-step-detailed {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-visual {
    flex-shrink: 0;
    text-align: center;
}

.step-number-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 3rem;
}

.step-content {
    flex: 1;
}

.step-content .step-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.step-content .step-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.step-details {
    list-style: none;
    padding-left: 0;
}

.step-details li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.step-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.flow-arrow-large {
    text-align: center;
    font-size: 3rem;
    color: #667eea;
    margin: 20px 0;
}

.features-section {
    padding: 60px 20px;
    background: #fff;
    margin-top: 40px;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

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

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

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

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    margin-top: 40px;
}

.cta-section .cta-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.cta-section .cta-description {
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.95;
    margin-bottom: 30px;
}

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

.contact-page {
    background: #f8f9fa;
    padding: 40px 20px;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-group.required label:after {
    content: " *";
    color: #e74c3c;
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.privacy-notice {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}

.privacy-notice a {
    color: #667eea;
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   共通ボタンスタイル
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: #fff;
}

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

.btn-loading {
    opacity: 0.7;
}

/* ========================================
   共通レイアウト
   ======================================== */

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

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .flow-step-detailed {
        flex-direction: column;
        text-align: center;
    }
    
    .step-visual {
        margin: 0 auto;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .flow-arrow-large {
        transform: rotate(90deg);
    }
    
    .reasons-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
}


/* ヘッダー部分 - シンプルで清潔感のあるデザイン */
.service-single__header {
    background: #fff;
    border-bottom: 3px solid #0066cc;
    padding: 40px 40px 30px;
    position: relative;
}

.service-single__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #1a1a1a;
}

.service-single__catchcopy {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #555;
}

/* メタ情報 - 整理されたタグ表示 */
.service-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.service-single__meta-item {
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

.service-single__meta-label {
    font-weight: 600;
    margin-right: 6px;
    color: #333;
}

.service-single__meta-item a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 4px;
}

.service-single__meta-item a:hover {
    text-decoration: underline;
}

/* バッジ - 控えめなデザイン */
.service-single__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.service-single__badge--premium {
    background-color: #ff9800;
}

.service-single__badge--standard {
    background-color: #2196f3;
}

.service-single__badge--basic {
    background-color: #757575;
}

/* アイキャッチ画像 - 全体表示 */
.service-single__thumbnail {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.service-single__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 600px;
}

/* 本文 - 読みやすさ重視 */
.service-single__content {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

.service-single__content h2 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    font-weight: 600;
}

.service-single__content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-single__content p {
    margin-bottom: 16px;
}

.service-single__content ul,
.service-single__content ol {
    margin: 16px 0;
    padding-left: 30px;
}

.service-single__content li {
    margin-bottom: 10px;
}

/* セクション共通スタイル - ビジネスライク */
.service-single__section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* 編集部のおすすめポイント - 白背景にボーダー */
.service-single__editor-review {
    padding: 30px;
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.service-single__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #ff9800;
}

.service-single__rating-label {
    font-weight: 600;
    color: #333;
}

.service-single__rating-value {
    font-size: 1.2rem;
    color: #ff9800;
}

.service-single__editor-content {
    line-height: 1.8;
    color: #555;
}

/* こんな人におすすめ - シンプルなボックス */
.service-single__recommended {
    padding: 30px;
    max-width: 900px;
    margin: 40px auto;
    background: #f9f9f9;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
}

.service-single__recommended-content {
    line-height: 1.8;
    color: #555;
}

.service-single__recommended-content ul {
    list-style: none;
    padding-left: 0;
}

.service-single__recommended-content li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.service-single__recommended-content li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-size: 0.8rem;
}

/* 相談について - 整理された表示 */
.service-single__consultation {
    padding: 30px;
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.service-single__consultation h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    margin-top: 20px;
    font-weight: 600;
}

.service-single__consultation-method ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-single__consultation-method li {
    background: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    border: 1px solid #0066cc;
    color: #0066cc;
    font-weight: 500;
    font-size: 0.9rem;
}

.service-single__response-time p {
    font-size: 1rem;
    color: #555;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #0066cc;
}

/* お問い合わせボタン - ビジネス向けデザイン */
.service-single__contact {
    padding: 40px;
    max-width: 900px;
    margin: 60px auto;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
}

.service-single__contact .service-single__section-title {
    text-align: center;
    border-bottom: none;
    margin-bottom: 25px;
}

.service-single__contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.service-single__contact-button {
    display: inline-block;
    padding: 14px 32px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: 2px solid #0066cc;
}

.service-single__contact-button:hover {
    background: #0052a3;
    border-color: #0052a3;
}

.service-single__contact-button--website {
    background: #0066cc;
    border-color: #0066cc;
}

.service-single__contact-button--website:hover {
    background: #0052a3;
    border-color: #0052a3;
}

.service-single__contact-button--tel {
    background: #4caf50;
    border-color: #4caf50;
}

.service-single__contact-button--tel:hover {
    background: #388e3c;
    border-color: #388e3c;
}

.service-single__contact-button--email {
    background: #fff;
    color: #0066cc;
    border-color: #0066cc;
}

.service-single__contact-button--email:hover {
    background: #0066cc;
    color: #fff;
}

/* 関連サービス - シンプルな背景 */
.service-single__related {
    padding: 50px 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.service-single__related .service-single__section-title {
    text-align: center;
}

/* 警告メッセージ - 控えめなデザイン */
.notice {
    padding: 16px 20px;
    margin: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #ffc107;
}

.notice-warning {
    background: #fffbf0;
    color: #856404;
}

.notice p {
    margin: 0;
    font-weight: 500;
}

/* パンくずリスト - シンプルなデザイン */
.breadcrumb {
    padding: 12px 40px;
    background: #fafafa;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

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

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* サービス詳細情報テーブル - ビジネス向けテーブル */
.service-detail-table {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.service-detail-table th {
    background: #f5f5f5;
    color: #1a1a1a;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    width: 30%;
    border-bottom: 2px solid #e0e0e0;
}

.service-detail-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.service-detail-table tr:last-child td {
    border-bottom: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .service-single__header {
        padding: 30px 20px 25px;
    }
    
    .service-single__title {
        font-size: 1.6rem;
    }
    
    .service-single__catchcopy {
        font-size: 1rem;
    }
    
    .service-single__meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-single__badge {
        position: static;
        display: inline-block;
        margin-top: 15px;
    }
    
    .service-single__thumbnail {
        margin: 20px;
    }
    
    .service-single__content,
    .service-single__editor-review,
    .service-single__recommended,
    .service-single__consultation,
    .service-single__contact,
    .service-single__related {
        padding: 20px;
    }
    
    .service-single__section-title {
        font-size: 1.3rem;
    }
    
    .service-single__contact-buttons {
        flex-direction: column;
    }
    
    .service-single__contact-button {
        width: 100%;
    }
    
    .breadcrumb {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .service-detail-table {
        font-size: 0.9rem;
    }
    
    .service-detail-table th,
    .service-detail-table td {
        padding: 12px;
        display: block;
        width: 100%;
    }
    
    .service-detail-table th {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .service-detail-table tr {
        margin-bottom: 15px;
        display: block;
        border: 1px solid #e0e0e0;
    }
}

@media (max-width: 480px) {
    .service-single__title {
        font-size: 1.4rem;
    }
    
    .service-single__catchcopy {
        font-size: 0.95rem;
    }
    
    .service-single__content {
        font-size: 0.95rem;
    }
}

/* ========================================
   サービス詳細セクション (display_service_detail)
   ======================================== */

.service-detail {
    max-width: 900px;
    margin: 40px auto;
}

.service-detail__basic {
    margin-bottom: 40px;
}

.service-detail__heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.service-detail__features,
.service-detail__editor-review,
.service-detail__pricing {
    padding: 30px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.service-detail__content {
    line-height: 1.8;
    color: #555;
}

.service-detail__content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-detail__content h4 {
    font-size: 1.1rem;
    color: #555;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-detail__content p {
    margin-bottom: 15px;
}

.service-detail__content ul,
.service-detail__content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.service-detail__content li {
    margin-bottom: 10px;
}

.service-detail__content strong {
    color: #0066cc;
    font-weight: 600;
}

/* サービスの特徴セクション内のピン */
.service-single__content h2 {
    position: relative;
    padding-left: 20px;
}

.service-single__content h2:before {
    content: "📌";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.service-single__content h3 {
    position: relative;
    padding-left: 18px;
}

.service-single__content h3:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* リスト項目のスタイリング */
.service-single__content ul {
    list-style: none;
    padding-left: 0;
}

.service-single__content ul li {
    padding-left: 25px;
    position: relative;
}

.service-single__content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* 編集部のおすすめポイント内のリスト */
.service-single__editor-content ul {
    list-style: none;
    padding-left: 0;
}

.service-single__editor-content ul li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.service-single__editor-content ul li:last-child {
    border-bottom: none;
}

.service-single__editor-content ul li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-size: 0.8rem;
}

.service-single__editor-content h3,
.service-single__editor-content h4 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* おすすめポイント内のリスト */
.service-single__recommended-content ul {
    list-style: none;
    padding-left: 0;
}

.service-single__recommended-content ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.service-single__recommended-content ul li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-size: 0.8rem;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .service-detail__features,
    .service-detail__editor-review,
    .service-detail__pricing {
        padding: 20px;
    }
    
    .service-detail__heading {
        font-size: 1.3rem;
    }
}

/* ========================================
   税理士事務所ページ - ビジネスライクデザイン
   ======================================== */

/* アーカイブページ */
.tax-office-archive {
    background: #f8f9fa;
    min-height: 100vh;
}

.tax-office-archive .archive-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.tax-office-archive .archive-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.tax-office-archive .archive-header__description {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* フィルターセクション */
.service-filter {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-filter__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.service-filter__field {
    display: flex;
    flex-direction: column;
}

.service-filter__label {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.service-filter__select {
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s;
}

.service-filter__select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.service-filter__actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタンスタイル */
.button {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.button--primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.button--secondary {
    background: white;
    color: #1e3a8a;
    border: 2px solid #e5e7eb;
}

.button--secondary:hover {
    background: #f8f9fa;
    border-color: #1e3a8a;
}

/* 事務所カード */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.service-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card__thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.service-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__content {
    padding: 20px;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.service-card__meta-label {
    font-size: 1.1rem;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.service-card__tag {
    background: #eff6ff;
    color: #1e3a8a;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-card__tag-more {
    background: #f3f4f6;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-card__footer {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.service-card__link-text {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
}

/* 検索結果カウント */
.service-archive__count {
    margin-bottom: 25px;
}

.service-archive__count p {
    font-size: 1.1rem;
    color: #374151;
}

.service-archive__count strong {
    color: #1e3a8a;
    font-size: 1.3rem;
}

/* 検索結果なし */
.service-archive__no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

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

.no-results-title {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.no-results-text {
    color: #6b7280;
    margin-bottom: 30px;
}

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

.pagination a,
.pagination .current {
    padding: 10px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.pagination .current {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-color: #3b82f6;
}

/* ========================================
   税理士事務所詳細ページ
   ======================================== */

.tax-office-single {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tax-office-single__header {
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.tax-office-single__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.tax-office-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.tax-office-single__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.tax-office-single__meta-label {
    font-weight: 600;
    color: #1e3a8a;
}

.tax-office-single__meta-item a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.tax-office-single__meta-item a:hover {
    text-decoration: underline;
}

.tax-office-single__thumbnail {
    margin-bottom: 35px;
    border-radius: 12px;
    overflow: hidden;
}

.tax-office-single__thumbnail img {
    width: 100%;
    height: auto;
}

.tax-office-single__content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 40px;
}

.tax-office-single__section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

/* 得意分野・得意業種セクション */
.tax-office-single__services,
.tax-office-single__industries {
    margin-bottom: 40px;
}

.tax-office-single__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    list-style: none;
}

.tax-office-single__list-item {
    display: flex;
}

.tax-office-single__tag {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e3a8a;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

.tax-office-single__tag:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: translateY(-2px);
}

/* 事務所情報テーブル */
.tax-office-single__info {
    margin-bottom: 40px;
}

.tax-office-single__info-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.tax-office-single__info-table th,
.tax-office-single__info-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.tax-office-single__info-table th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
    width: 180px;
}

.tax-office-single__info-table td {
    color: #374151;
}

.tax-office-single__info-table a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.tax-office-single__info-table a:hover {
    text-decoration: underline;
}

.tax-office-single__info-table tr:last-child th,
.tax-office-single__info-table tr:last-child td {
    border-bottom: none;
}

/* お問い合わせセクション */
.tax-office-single__contact {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 35px;
    border-radius: 12px;
    margin-top: 40px;
}

.tax-office-single__contact .tax-office-single__section-title {
    border-bottom: none;
    margin-bottom: 25px;
}

.tax-office-single__contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.tax-office-single__contact-button {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
}

.tax-office-single__contact-button--website {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.tax-office-single__contact-button--website:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.tax-office-single__contact-button--tel {
    background: white;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.tax-office-single__contact-button--tel:hover {
    background: #1e3a8a;
    color: white;
}

.tax-office-single__contact-button--email {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.tax-office-single__contact-button--email:hover {
    background: #3b82f6;
    color: white;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .tax-office-archive .archive-header__title {
        font-size: 1.8rem;
    }
    
    .tax-office-archive .archive-header__description {
        font-size: 1rem;
    }
    
    .service-filter {
        padding: 20px;
    }
    
    .service-filter__grid {
        grid-template-columns: 1fr;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .tax-office-single {
        padding: 25px;
    }
    
    .tax-office-single__title {
        font-size: 1.6rem;
    }
    
    .tax-office-single__section-title {
        font-size: 1.3rem;
    }
    
    .tax-office-single__list {
        grid-template-columns: 1fr;
    }
    
    .tax-office-single__info-table th {
        width: 120px;
        font-size: 0.9rem;
    }
    
    .tax-office-single__info-table td {
        font-size: 0.9rem;
    }
    
    .tax-office-single__contact-buttons {
        flex-direction: column;
    }
    
    .tax-office-single__contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   統合ページ用スタイル
   ======================================== */

.service-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.service-section:not(:last-child) {
    border-bottom: 2px solid #e5e7eb;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title__icon {
    font-size: 2.5rem;
}

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

.tax-office-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 20px;
    border-radius: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title__icon {
        font-size: 2rem;
    }
    
    .service-section {
        margin-bottom: 40px;
        padding: 30px 0;
    }
}


/* ========================================
   税理士事務所カード（office-card）
   税理士サービスカードとは別のスタイル
   ======================================== */

.office-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.office-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.office-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.office-card__thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    overflow: hidden;
}

.office-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-card__content {
    padding: 20px;
}

.office-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.office-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.office-card__meta-label {
    font-size: 16px;
}

.office-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.office-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 12px;
    font-weight: 500;
    border-radius: 16px;
    white-space: nowrap;
}

.office-card__tag-more {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    border-radius: 16px;
    white-space: nowrap;
}

.office-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.office-card__link-text {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    transition: color 0.2s ease;
}

.office-card:hover .office-card__link-text {
    color: #1e40af;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .office-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .office-card__thumbnail {
        height: 150px;
        font-size: 48px;
    }
    
    .office-card__title {
        font-size: 16px;
    }
}

/* ========================================
   フロントページ - 得意分野・都道府県セクション
   ======================================== */

/* 得意分野グリッド */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.service-card {
    display: block;
    padding: 32px 24px;
    background: #ffffff;
    border: 2px dashed #10b981;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #059669;
    border-style: solid;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.service-card__count {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* 都道府県グリッド */
.prefecture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.prefecture-card {
    display: block;
    padding: 32px 24px;
    background: #ffffff;
    border: 2px dashed #10b981;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.prefecture-card:hover {
    border-color: #059669;
    border-style: solid;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

.prefecture-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.prefecture-card__count {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .service-grid,
    .prefecture-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-grid,
    .prefecture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-card,
    .prefecture-card {
        padding: 24px 16px;
    }
    
    .service-card__title,
    .prefecture-card__title {
        font-size: 18px;
    }
}

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