@charset "UTF-8";
/*
=========================================
MEETS UI Patterns - CARTA ZERO Inspired Design
=========================================
Reference: https://www.cartazero.co.jp/ja
Created: 2025-12-07
Updated: 2025-12-10 - Added Component System v1.0
*/

/* ========================================
   Component System v1.0 (Design System)
   Reference: .claude/design-system.md
======================================== */

/* Section Component - Base */
.section {
    position: relative;
    padding: 50px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Section Modifiers */
.section.section--light {
    background: #ffffff;
    color: #000000;
    overflow: hidden;
}

.section.section--dark {
    background: #000000;
    color: #ffffff;
    overflow: hidden;
}

/* Container Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Section Title Component */
.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.section--light .section-title {
    color: #000000;
    border-bottom-color: #000000;
}

.section--dark .section-title {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* English Section Title (Front Page - unified with TEAM: 64px, left-aligned, with underline) */
.section-title-en {
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
    font-size: 64px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 40px;
    padding-bottom: 16px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid;
}

.section--light .section-title-en {
    color: #000000;
    border-bottom-color: #000000;
}

.section--dark .section-title-en {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* 日本語セクションタイトル */
.section-title-jp {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 60px;
    padding-bottom: 16px;
    line-height: 1.4;
    text-align: left;
    border-bottom: 1px solid;
}

.section--light .section-title-jp {
    color: #000000;
    border-bottom-color: #000000;
}

.section--dark .section-title-jp {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .section-title-jp {
        font-size: 24px;
        margin-bottom: 40px;
        padding-bottom: 12px;
    }
}

/* Card Component */
.card {
    border-radius: 8px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

/* カード全体をリンクにする場合 */
a.card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.card:hover {
    text-decoration: none;
}

a.card .card__title {
    transition: color 0.3s ease;
}

/* 白背景セクション: 通常時は青、ホバー時は濃い青 */
.section--light a.card .card__title,
.section.section--light a.card .card__title {
    color: #0066cc !important;
}

.section--light a.card:hover .card__title,
.section.section--light a.card:hover .card__title {
    color: #004999 !important;
}

/* 黒背景セクション: 通常時は水色、ホバー時は明るい水色 */
.section--dark a.card .card__title,
.section.section--dark a.card .card__title {
    color: #4da6ff !important;
}

.section--dark a.card:hover .card__title,
.section.section--dark a.card:hover .card__title {
    color: #66b3ff !important;
}

.section--light .card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section--light .card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.section--dark .card {
    background: #1a1a1a;
    border: 1px solid #ffffff;
}

.section--dark .card:hover {
    background: #222;
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Card Elements */
.card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    margin-top: 0;
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.section--light .card__title {
    color: #000000;
}

.section--dark .card__title {
    color: #ffffff;
}

.card__text {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.02em;
}

.section--light .card__text {
    color: #333333;
}

.section--dark .card__text {
    color: #cccccc;
}

/* Content Box Component - For simple content sections */
.content-box {
    margin-bottom: 32px;
}

.content-box:last-child {
    margin-bottom: 0;
}

/* Card Grid Component */
.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

/* Background Video for Light Sections */
.section--light .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    object-fit: cover;
    pointer-events: none;
}

/* Background Video for Dark Sections */
.section--dark .bg-video-dark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    z-index: 0;
    opacity: 0.5;
    object-fit: contain;
    pointer-events: none;
}

/* セクション内動画の透明度バリエーション */
.section--dark .bg-video-dark.opacity-full {
    opacity: 1;
}

.section--dark .bg-video-dark.opacity-light {
    opacity: 0.3;
}

/* Ensure content is above videos */
.section--light > *:not(.bg-video),
.section--dark > *:not(.bg-video-dark) {
    position: relative;
    z-index: 1;
}

/* Info Table (for company page) */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.section--light .info-table th,
.section--light .info-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

.section--light .info-table th {
    font-weight: 600;
    color: #000000;
    width: 180px;
    background: #f8f8f8;
}

.section--light .info-table td {
    color: #333333;
    line-height: 1.8;
}

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

.business-list li {
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
}

.business-list li:before {
    content: "・";
    position: absolute;
    left: 0;
}

/* Solution Section Layout */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}

.solution-text {
    position: relative;
    z-index: 1;
}

.solution-heading {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 32px;
    line-height: 1.6;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.solution-list li {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.8;
}

.solution-description {
    font-size: 16px;
    color: #333333;
    line-height: 1.9;
    margin: 0;
}

.solution-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-card {
    position: relative;
}

.solution-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Responsive: Component System */
@media (max-width: 767px) {
    .card-grid--2col,
    .card-grid--3col,
    .card-grid--4col {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
        padding-bottom: 12px;
    }

    .section-title-en {
        font-size: 40px;
        margin-bottom: 32px;
        padding-bottom: 12px;
    }

    .card {
        padding: 28px 24px;
    }

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

    .card__text {
        font-size: 14px;
    }

    .info-table th,
    .info-table td {
        padding: 16px;
        display: block;
        width: 100%;
    }

    .info-table th {
        background: transparent;
        border-bottom: none;
        padding-bottom: 8px;
        font-size: 14px;
    }

    .info-table td {
        padding-top: 0;
        font-size: 15px;
    }

    /* Solution Section - Mobile */
    .solution-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .solution-heading {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .solution-list li {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .solution-description {
        font-size: 15px;
    }
}

/* ========================================
   Basic Patterns: Sections
======================================== */

/* Pattern 1: Dark Section (Black Background) */
.section-dark {
    background: #000000;
    color: #ffffff;
    padding: 50px 0;
    position: relative;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark a {
    color: #ffffff;
}

/* Fixed video for dark background (parallax effect) */
.bg-video-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* 黒背景セクションで動画を表示（50%透過でノイズ軽減） */
body.show-dark-video .bg-video-dark {
    opacity: 0.5;
}

/* 動画透明度のバリエーション */
body.show-dark-video .bg-video-dark.opacity-full {
    opacity: 1;
}

body.show-dark-video .bg-video-dark.opacity-light {
    opacity: 0.3;
}

/* パターン2: ライトセクション（白背景） */
body .section-light,
html .section-light {
    background: #ffffff;
    color: #000000;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

/* 固定ページテンプレート用: paddingなし */
.page-wrapper .section-light {
    padding: 0 !important;
}

/* 背景動画 */
.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.section-light video.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 1;
    object-fit: cover;
    pointer-events: none;
}

.section-light > * {
    position: relative;
    z-index: 1;
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: #000000;
}

/* パターン3: グレーセクション */
.section-gray {
    background: #f5f5f5;
    color: #000000;
    padding: 100px 0;
}

/* ========================================
   基本パターン: 見出し
======================================== */

/* 超大見出し（ヒーロー用） */
.heading-hero {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* セクション見出し（英語） */
.heading-section {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 60px;
}

/* サブ見出し */
.heading-sub {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* ========================================
   基本パターン: カード
======================================== */

/* カードリスト（白背景用） */
.card-list {
    display: grid;
    gap: 24px;
}

.card-item {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* カードリスト（黒背景用） */
.section-dark .card-item {
    background: #1a1a1a;
    border: 1px solid #333;
}

.section-dark .card-item:hover {
    background: #222;
    border-color: #444;
}

/* ========================================
   基本パターン: コンテナ幅
======================================== */

/* ワンカラムのテキストコンテンツ用（可読性重視） */
.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   基本パターン: グリッドレイアウト
======================================== */

/* 2カラムグリッド */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* 3カラムグリッド */
.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* 4カラムグリッド */
.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ========================================
   基本パターン: ボタン
======================================== */

/* プライマリボタン（白背景） */
.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

/* セカンダリボタン（黒背景） */
.btn-secondary {
    display: inline-block;
    padding: 16px 48px;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* テキストリンク */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    opacity: 0.7;
}

.link-arrow::after {
    content: '→';
    font-size: 18px;
}

/* ========================================
   基本パターン: テキストスタイル
======================================== */

/* リード文 */
.text-lead {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* 本文 */
.text-body {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* 小テキスト */
.text-small {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

/* ========================================
   コンテンツページ用スタイル
======================================== */

/* 記事タイトル（h2） */
.article-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.4;
    color: #000000;
}

/* コンテンツエリア内の見出し */
.page-article h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000000;
    text-align: left;
}

/* Exception for h2 with section-title-mt class (e.g., Partner Organizations) */
.page-article h2.section-title-mt {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    background: #000000;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-top: 60px;
    margin-bottom: 32px;
    padding-top: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
    letter-spacing: 0.02em;
    line-height: 1.4;
    box-shadow: inset 0 -1px 0 0 #333;
}

.page-article h2:first-child {
    margin-top: 0;
}

.page-article h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 16px;
    text-align: left;
}

/* Exception for h3 inside partner cards */
.page-article .partner-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    margin-top: 0;
    letter-spacing: 0.03em;
    line-height: 1.5;
    padding: 0;
    border: none;
}

.page-article h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    text-align: left;
}

/* コンテンツエリア内の段落 */
.page-article p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: left;
}

/* Exception for p inside hero sections */
.page-article .service-hero p,
.page-article .agent-hero p {
    font-size: inherit;
    line-height: inherit;
    text-align: inherit;
}

/* Exception for p inside partner cards */
.page-article .partner-card p {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.02em;
}

/* コンテンツエリア内のリスト */
.page-article ul,
.page-article ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.page-article li {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* ========================================
   基本パターン: スペーシング
======================================== */

/* マージン */
.mb-small { margin-bottom: 24px; }
.mb-medium { margin-bottom: 48px; }
.mb-large { margin-bottom: 80px; }
.mb-xlarge { margin-bottom: 100px; }

.mt-small { margin-top: 24px; }
.mt-medium { margin-top: 48px; }
.mt-large { margin-top: 40px; }

/* モバイル専用スペーシング - デスクトップでは無効化 */
@media (min-width: 769px) {
    .mb-mobile-small,
    .mb-mobile-medium,
    .mb-mobile-large {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .mb-mobile-small { margin-bottom: 8px; }
    .mb-mobile-medium { margin-bottom: 15px; }
    .mb-mobile-large { margin-bottom: 60px; }

    /* デスクトップ用クラスを無効化 */
    .mb-large { margin-bottom: 60px; }
}

/* パディング - 固定ページでは使用しない */
.section-dark.py-small { padding-top: 30px; padding-bottom: 30px; }
.section-dark.py-medium { padding-top: 50px; padding-bottom: 50px; }
.section-dark.py-large { padding-top: 70px; padding-bottom: 70px; }

/* 最初のセクション: 固定ヘッダー分のpadding-topを追加 */
/* 黒背景セクション */
.header + section.section-dark.py-small,
.header + main > section:first-child.section-dark.py-small {
    padding-top: 110px; /* 80px(header) + 30px(py-small) */
}

.header + section.section-dark.py-medium,
.header + main > section:first-child.section-dark.py-medium {
    padding-top: 130px; /* 80px(header) + 50px(py-medium) */
}

.header + section.section-dark.py-large,
.header + main > section:first-child.section-dark.py-large {
    padding-top: 150px; /* 80px(header) + 70px(py-large) */
}

.header + section.section-dark,
.header + main > section:first-child.section-dark {
    padding-top: 130px; /* 80px(header) + 50px(default) */
}

/* 白背景セクション */
.header + section.section-light.py-small,
.header + main > section:first-child.section-light.py-small {
    padding-top: 110px; /* 80px(header) + 30px(py-small) */
}

.header + section.section-light.py-medium,
.header + main > section:first-child.section-light.py-medium {
    padding-top: 130px; /* 80px(header) + 50px(py-medium) */
}

.header + section.section-light.py-large,
.header + main > section:first-child.section-light.py-large {
    padding-top: 150px; /* 80px(header) + 70px(py-large) */
}

.header + section.section-light,
.header + main > section:first-child.section-light {
    padding-top: 130px; /* 80px(header) + 50px(default) */
}

/* sectionクラスがない最初のセクション（汎用） */
.header + section,
.header + main > section:first-child {
    padding-top: 130px; /* 80px(header) + 50px(default) */
}

/* ========================================
   Contact Form 7 スタイル
======================================== */

/* フォームラベル */
.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
    text-align: left;
}

/* 入力フィールド共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #ffffff;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #000000;
}

/* テキストエリア */
.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

/* フォームグループの余白 */
.wpcf7 p {
    margin-bottom: 24px;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"],
.wpcf7 input[type="submit"] {
    display: block;
    width: auto;
    min-width: 200px;
    padding: 16px 48px;
    margin: 32px auto 0;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover {
    background: #333333 !important;
    transform: translateY(-2px);
}

/* バリデーションメッセージ */
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #d32f2f;
    margin-top: 4px;
}

.wpcf7-validation-errors {
    border: 2px solid #d32f2f;
    background: #ffebee;
    color: #d32f2f;
    padding: 16px;
    border-radius: 4px;
    margin-top: 24px;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #388e3c;
    background: #e8f5e9;
    color: #388e3c;
    padding: 16px;
    border-radius: 4px;
    margin-top: 24px;
}

/* ========================================
   コンポーネント: カード（記事カード等）
======================================== */

/* 白背景用カード */
.card-light {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card-light:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-light a {
    color: #000000;
    text-decoration: none;
}

/* 黒背景用カード */
.card-dark {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card-dark:hover {
    background: #222222;
    border-color: #444444;
    transform: translateY(-2px);
}

.card-dark a {
    color: #ffffff;
    text-decoration: none;
}

/* カード内タイトル */
.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* カード内抜粋 */
.card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* カード内リンク矢印 */
.card-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.card-link-arrow:hover {
    opacity: 0.7;
}

/* ========================================
   コンポーネント: メタ情報（日付・バッジ等）
======================================== */

/* メタ情報コンテナ */
.meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* 日付 */
.meta-date {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
}

/* バッジ共通 */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1;
}

/* 通常バッジ（白背景用） */
.badge-light {
    background: #f5f5f5;
    color: #333333;
}

/* 通常バッジ（黒背景用） */
.badge-dark {
    background: #333333;
    color: #ffffff;
}

/* 重要バッジ */
.badge-important {
    background: #ff9500;
    color: #ffffff;
}

/* 緊急バッジ */
.badge-urgent {
    background: #ff3b30;
    color: #ffffff;
}

/* カテゴリ（白背景用） */
.category-light {
    font-size: 13px;
    padding: 4px 10px;
    background: #f0f0f0;
    color: #666666;
    border-radius: 3px;
}

/* カテゴリ（黒背景用） */
.category-dark {
    font-size: 13px;
    padding: 4px 10px;
    background: #2a2a2a;
    color: #cccccc;
    border-radius: 3px;
}

/* ========================================
   コンポーネント: ボタン
======================================== */

/* 白背景用ボタン（黒ボタン） */
.btn-light {
    display: inline-block;
    padding: 14px 32px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-light:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* 黒背景用ボタン（黒塗りつぶしボタン） */
.btn-dark {
    display: inline-block;
    padding: 12px 24px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: auto;
    max-width: fit-content;
}

.btn-dark:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* 戻るボタン（白背景用） */
.btn-back-light {
    display: inline-block;
    padding: 12px 28px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-light:hover {
    background: #333333;
}

/* 戻るボタン（黒背景用） */
.btn-back-dark {
    display: inline-block;
    padding: 12px 28px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-dark:hover {
    background: #f0f0f0;
}

/* ========================================
   コンポーネント: ページネーション
======================================== */

/* ページネーションコンテナ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

/* ページネーションリンク（白背景用） */
.pagination-light a,
.pagination-light span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.pagination-light .current {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ページネーションリンク（黒背景用） */
.pagination-dark a,
.pagination-dark span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #333333;
    border-radius: 4px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-dark a:hover {
    background: #2a2a2a;
}

.pagination-dark .current {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ========================================
   レイアウト: カードリスト
======================================== */

/* カードリストコンテナ */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ========================================
   会社概要ページ専用スタイル
======================================== */

/* 会社情報セクション */
.company-info {
    margin-bottom: 0;
}

.company-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #000000;
}

/* 会社情報テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.info-table th,
.info-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    font-weight: 600;
    color: #000000;
    width: 180px;
    background: #f8f8f8;
}

.info-table td {
    color: #333333;
    line-height: 1.8;
}

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

.business-list li {
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
}

.business-list li:before {
    content: "・";
    position: absolute;
    left: 0;
}


/* パートナーグリッドの親要素に黒背景を拡張 */
.company-info .partner-grid {
    background: #000000;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: 0;
    padding-bottom: 60px;
    margin-top: 0;
    margin-bottom: 0;
}


/* パートナーグリッド */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

/* パートナーカード - card-darkと同じスタイル */
a.partner-card,
.partner-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

a.partner-card:hover,
.partner-card:hover {
    background: #222;
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* パートナーアイコンは削除（非表示） */
.partner-icon {
    display: none;
}


/* ========================================
   ユーティリティ: グローバルヘッダーとの隙間調整
======================================== */

/* mainタグとpage-wrapperはヘッダーの高さ分のpadding-topが必要 */
.page-wrapper {
    padding-top: 80px; /* ヘッダーの高さ */
}

main.news-archive,
main.news-single {
    padding-top: 80px; /* ヘッダーの高さ */
}

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

@media (max-width: 767px) {
    /* ヘッダー高さの調整（モバイルは64px） */
    .page-wrapper {
        padding-top: 64px;
    }

    main.news-archive,
    main.news-single {
        padding-top: 64px;
    }

    /* セクション */
    .section-dark,
    .section-gray {
        padding: 30px 0;
    }

    body .section-light,
    html .section-light {
        padding: 30px 0;
    }

    .page-wrapper .section-light {
        padding: 0 !important;
    }

    /* 見出し */
    .heading-hero {
        font-size: 32px;
    }

    .heading-section {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .heading-sub {
        font-size: 20px;
    }

    /* グリッド */
    .grid-2col,
    .grid-3col,
    .grid-4col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ボタン */
    .btn-primary,
    .btn-secondary {
        padding: 14px 32px;
        font-size: 14px;
    }

    /* スペーシング */
    .py-small { padding-top: 20px; padding-bottom: 20px; }
    .py-medium { padding-top: 30px; padding-bottom: 30px; }
    .py-large { padding-top: 40px; padding-bottom: 40px; }

    /* 固定ページテンプレートの白背景セクションはpadding無効 */
    .page-wrapper .section-light.py-medium,
    .page-wrapper .section-light.py-small,
    .page-wrapper .section-light.py-large {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* コンテンツページ用スタイル */
    .page-article h2 {
        font-size: 24px;
        margin-top: 36px;
        margin-bottom: 20px;
    }

    .page-article h3 {
        font-size: 18px;
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .page-article h4 {
        font-size: 16px;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .page-article p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .page-article li {
        font-size: 15px;
        line-height: 1.8;
    }

    /* 会社概要ページ - レスポンシブ */
    .company-info h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .section-title-mt {
        font-size: 24px;
        padding-bottom: 12px;
    }

    .company-info .section-title-mt {
        margin: 40px -9999px 0 -9999px;
        padding: 30px 9999px 36px 9999px;
    }

    .company-info .partner-grid {
        margin: 0 -9999px -40px -9999px;
        padding: 0 9999px 40px 9999px;
    }

    .info-table th,
    .info-table td {
        padding: 16px;
        display: block;
        width: 100%;
    }

    .info-table th {
        background: transparent;
        border-bottom: none;
        padding-bottom: 8px;
        font-size: 14px;
    }

    .info-table td {
        padding-top: 0;
        font-size: 15px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-card {
        padding: 28px 24px;
    }

    .partner-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .partner-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .partner-card p {
        font-size: 14px;
    }

    /* Contact Form 7 */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea,
    .wpcf7 select {
        font-size: 16px;
        padding: 10px 14px;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
        min-width: auto;
        padding: 14px 32px;
        font-size: 15px;
    }

    /* カード */
    .card-light,
    .card-dark {
        padding: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-excerpt {
        font-size: 14px;
    }

    /* ボタン */
    .btn-light,
    .btn-dark,
    .btn-back-light,
    .btn-back-dark {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* ページネーション */
    .pagination {
        gap: 4px;
        margin-top: 32px;
    }

    .pagination-light a,
    .pagination-light span,
    .pagination-dark a,
    .pagination-dark span {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Agent Recruitment Page - Mobile */
    .agent-recruitment {
        padding: 0 20px;
    }

    .agent-intro {
        padding: 30px 0;
    }

    .agent-intro h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .agent-subtitle {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .agent-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .agent-section {
        padding: 30px 0;
    }

    .agent-section h2 {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .benefit-item,
    .requirement-item {
        margin-bottom: 28px;
    }

    .benefit-item h3,
    .requirement-item h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .benefit-item p,
    .requirement-item p {
        font-size: 14px;
        line-height: 1.8;
    }

    .agent-cta {
        padding: 30px 0 40px;
    }

    .agent-cta h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cta-description {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 24px;
    }
}

/* ========================================
   Agent Recruitment Page
======================================== */

.agent-recruitment {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Intro Section */
.agent-intro {
    padding: 50px 0;
}

.agent-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1.5;
    text-align: left;
}

.agent-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}

.agent-description {
    font-size: 16px;
    color: #333333;
    line-height: 1.9;
    text-align: left;
}

/* Section Styling */
.agent-section {
    padding: 50px 0;
    border-top: 1px solid #e0e0e0;
}

.agent-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 36px;
    text-align: left;
}

/* Benefit Items */
.benefit-item {
    margin-bottom: 40px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.5;
}

.benefit-item p {
    font-size: 16px;
    color: #333333;
    line-height: 1.9;
    margin: 0;
}

/* Requirement Items */
.requirement-item {
    margin-bottom: 40px;
}

.requirement-item:last-child {
    margin-bottom: 0;
}

.requirement-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.5;
}

.requirement-item p {
    font-size: 16px;
    color: #333333;
    line-height: 1.9;
    margin: 0;
}

/* CTA Section */
.agent-cta {
    padding: 50px 0 60px;
    border-top: 1px solid #e0e0e0;
}

.agent-cta h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    text-align: left;
}

.cta-description {
    font-size: 16px;
    color: #333333;
    line-height: 1.9;
    margin-bottom: 32px;
    text-align: left;
}

.cta-button {
    margin-top: 32px;
    text-align: left;
}

/* ========================================
   メッセージページ専用スタイル（黒背景版）
======================================== */

.message-section {
    padding: 80px 0;
}

.message-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.message-content.reverse {
    flex-direction: row-reverse;
}

.message-image {
    flex: 0 0 350px;
}

.message-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.message-text {
    flex: 1;
    text-align: left;
}

.section--dark .message-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #cccccc;
    margin-bottom: 24px;
}

.section--dark .message-text p:last-child {
    margin-bottom: 0;
}

.section--dark .message-signature {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #444;
}

.section--dark .message-signature p {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .message-content,
    .message-content.reverse {
        flex-direction: column;
    }

    .message-image {
        flex: 0 0 auto;
        margin-bottom: 32px;
    }
}

/* ========================================
   背景画像パターン（静止画用）
======================================== */

/* 静止画背景を持つセクション */
.section.has-bg-image {
    position: relative;
    overflow: hidden;
}

/* 背景画像要素 */
.section.has-bg-image .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section.has-bg-image .bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 背景オーバーレイ */
.section.has-bg-image .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* オーバーレイの透過度バリエーション */
.section.has-bg-image .bg-overlay--dark {
    background: rgba(0, 0, 0, 0.7);
}

.section.has-bg-image .bg-overlay--medium {
    background: rgba(0, 0, 0, 0.6);
}

.section.has-bg-image .bg-overlay--light {
    background: rgba(0, 0, 0, 0.5);
}

/* コンテンツを前面に */
.section.has-bg-image > .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   プロフィールカード
======================================== */

.profile-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__content {
    padding: 24px;
}

.profile-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.profile-card__text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.cta-box {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box__text {
    font-size: 18px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .profile-card__title {
        font-size: 18px;
    }

    .profile-card__text {
        font-size: 13px;
    }

    .cta-box {
        margin-top: 40px;
        padding: 24px;
    }

    .cta-box__text {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

/* ========================================
   ステップカード
======================================== */

.step-flow {
    display: flex;
    align-items: center;
    gap: 24px;
}

.step-card {
    flex: 1;
    background: #000;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 40px 30px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0.3;
    text-align: center;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
}

.step-description {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    text-align: left;
}

.step-arrow {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
}

@media (max-width: 768px) {
    .step-flow {
        flex-direction: column;
        gap: 16px;
    }

    .step-arrow {
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 12px solid #fff;
        border-bottom: none;
    }

    .step-number {
        font-size: 36px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }
}

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

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

.breadcrumb-separator {
    margin: 0 8px;
    opacity: 0.5;
}

.breadcrumb-current {
    opacity: 0.7;
}

/* ========================================
   サービスヒーロー
======================================== */

.service-hero {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.service-hero-content {
    max-width: 1200px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.service-hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Commented out - conflicts with style.css definitions
.service-hero-text {
    font-size: 18px;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
*/

/* ========================================
   Team Page Patterns
======================================== */

.team-intro-text {
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin-bottom: 100px;
}

.team-member-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.team-member-content:last-of-type {
    margin-bottom: 0;
}

.team-member-content--reverse {
    flex-direction: row-reverse;
}

.team-member-image {
    flex: 0 0 350px;
}

.team-member-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.team-member-text {
    flex: 1;
    text-align: left;
}

@media (max-width: 768px) {
    .team-member-text {
        margin-top: 0;
    }
}

.team-member-role {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .team-member-role {
        margin-top: 0;
        margin-bottom: 8px;
    }

    h3.team-member-name,
    .team-member-text h3.team-member-name {
        margin-top: 0;
    }
}

.team-member-name {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
    margin-top: 0;
}

.team-member-description {
    font-size: 16px;
    line-height: 2;
    color: #666;
    margin-bottom: 24px;
}

.team-member-experience {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-top: 32px;
}

.team-member-experience h4 {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-experience ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-member-experience li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.team-member-experience li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.team-support-section {
    text-align: center;
    padding: 60px 20px;
}

.team-support-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
    color: #000;
}

.team-support-text {
    font-size: 16px;
    line-height: 2;
    color: #666;
}

@media (max-width: 768px) {
    .team-member-content,
    .team-member-content--reverse {
        flex-direction: column;
        margin-bottom: 100px;
        gap: 0;
    }

    .team-member-content:last-of-type {
        margin-bottom: 0;
    }

    .team-member-image {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 0;
        padding: 0;
    }

    .team-member-image img {
        margin-bottom: 0;
        display: block;
    }

    .team-member-text {
        margin-top: 15px;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 500px;
    }

    .service-hero-title {
        font-size: 48px;
    }

    .service-hero-subtitle {
        font-size: 24px;
    }

    /* Commented out - conflicts with style.css definitions
    .service-hero-text {
        font-size: 16px;
    }
    */
}

/* ========================================
   ヒーローセクション（Visionスタイル）
======================================== */

.agent-hero {
    height: 800px;
    background: #000 url('https://meets-mirai.com/wp/wp-content/themes/meets-custom-theme/assets/images/agent_hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.agent-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.agent-hero-content {
    max-width: 1200px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.agent-hero-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    margin-bottom: 40px;
    opacity: 0.8;
}

.agent-hero-title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
}

.agent-hero-text {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .agent-hero {
        height: 600px;
    }

    .agent-hero-title {
        font-size: 40px;
    }

    .agent-hero-text {
        font-size: 16px;
    }
}

/* ========================================
   モバイル: 固定ヘッダー対応
======================================== */
@media (max-width: 767px) {
    /* 最初のセクション: 固定ヘッダー分のpadding-topを追加（モバイルヘッダーは64px） */
    /* 黒背景セクション */
    .header + section.section-dark.py-small,
    .header + main > section:first-child.section-dark.py-small {
        padding-top: 94px; /* 64px(header) + 30px(py-small) */
    }

    .header + section.section-dark.py-medium,
    .header + main > section:first-child.section-dark.py-medium {
        padding-top: 114px; /* 64px(header) + 50px(py-medium) */
    }

    .header + section.section-dark.py-large,
    .header + main > section:first-child.section-dark.py-large {
        padding-top: 134px; /* 64px(header) + 70px(py-large) */
    }

    .header + section.section-dark,
    .header + main > section:first-child.section-dark {
        padding-top: 114px; /* 64px(header) + 50px(default) */
    }

    /* 白背景セクション */
    .header + section.section-light.py-small,
    .header + main > section:first-child.section-light.py-small {
        padding-top: 94px; /* 64px(header) + 30px(py-small) */
    }

    .header + section.section-light.py-medium,
    .header + main > section:first-child.section-light.py-medium {
        padding-top: 114px; /* 64px(header) + 50px(py-medium) */
    }

    .header + section.section-light.py-large,
    .header + main > section:first-child.section-light.py-large {
        padding-top: 134px; /* 64px(header) + 70px(py-large) */
    }

    .header + section.section-light,
    .header + main > section:first-child.section-light {
        padding-top: 114px; /* 64px(header) + 50px(default) */
    }

    /* sectionクラスがない最初のセクション（汎用） */
    .header + section,
    .header + main > section:first-child {
        padding-top: 114px; /* 64px(header) + 50px(default) */
    }
}
