/*
Theme Name: MEETS Custom Theme
Theme URI: https://meets-mirai.com/
Description: MEETS公式サイト用カスタムテーマ - レスポンシブ対応完了版
Version: 2.9.4
Author: MEETS Development Team
Author URI: https://meets-mirai.com/
Text Domain: meets
*/

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

html {
    background: #000;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* ========================================
   Typography (Mobile First)
======================================== */

/* 見出し共通設定 */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* モバイル（デフォルト） */
h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* 本文 */
p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* PC（768px以上） */
@media (min-width: 768px) {
    h1 {
        font-size: 48px;
        margin-bottom: 32px;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    h3 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    h4 {
        font-size: 20px;
        margin-bottom: 6px;
    }
}

/* ========================================
   Header
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

body.admin-bar .header {
    top: 32px;
}

.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header .logo img {
    height: 32px;
    width: auto;
}

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

.nav-link {
    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-btn-contact,
.nav-btn-login {
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    min-height: 44px;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-btn-contact {
    background: white;
    color: #000 !important;
}

.nav-btn-contact:hover {
    opacity: 0.9;
}

/* ドロップダウンメニュー */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .nav-link {
    cursor: pointer;
    padding-right: 18px;
    position: relative;
}

.nav-dropdown .nav-link::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 8px 0;
    padding-top: 16px;
    margin-top: 0;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333 !important;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    padding: 40px 30px;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

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

.mobile-contact {
    margin-top: 20px;
    background: linear-gradient(135deg, #00A4E0 0%, #0076B8 100%);
    border-radius: 8px;
    padding: 16px 24px !important;
    text-align: center;
    border: none;
}

/* モバイルドロップダウン */
.mobile-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 0;
    text-align: left;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.mobile-dropdown-toggle::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(45deg);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 20px;
    padding-bottom: 12px;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.mobile-dropdown-item:hover {
    color: white;
}

/* メインコンテンツの余白 */
body {
    padding-top: 0;
    margin: 0;
}

body.admin-bar {
    padding-top: 0;
}

body.admin-bar .hero-section {
    margin-top: 32px;
}

/* ========================================
   Hero Section
======================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    padding-top: 0;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 背景画像のクロスフェイドアニメーション用レイヤー */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
}

.hero-section::before {
    background-image: url('assets/images/hero-bg2.jpg');
    animation: crossfade-bg2 13s ease-in-out infinite;
    z-index: 0;
}

.hero-section::after {
    background-image: url('assets/images/hero-bg3.jpg');
    animation: crossfade-bg3 13s ease-in-out infinite;
    z-index: 0;
}

@keyframes crossfade-bg2 {
    0% { opacity: 0; }
    15.38% { opacity: 0; }
    23.08% { opacity: 1; }
    61.54% { opacity: 1; }
    69.23% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes crossfade-bg3 {
    0% { opacity: 0; }
    53.85% { opacity: 0; }
    61.54% { opacity: 1; }
    100% { opacity: 1; }
}

/* オーバーレイレイヤー（ダークフィルター） */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 7, 44, 0.7);
    z-index: 1;
    pointer-events: none;
}

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

.hero-title {
    font-size: 78px !important;
    margin-bottom: 32px;
    color: white;
}

.hero-subtitle {
    font-size: 72px !important;
    margin-bottom: 40px;
    color: white;
}

.hero-description {
    font-size: 30px;
    font-weight: 600;
    opacity: 0.95;
}

/* ========================================
   Updates Section
======================================== */

.updates-section {
    position: relative;
    padding: 100px 0;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.updates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 7, 44, 0.85);
    z-index: 1;
}

.updates-section .container {
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.section-title-group {
    flex: 1;
}

.section-title {
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 0;
}

.update-card {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 240px;
    cursor: pointer;
}

.update-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 60px 60px;
    border-color: transparent transparent white transparent;
}

.update-card:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.update-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.update-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.update-tag {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 400;
}

.update-tag-important {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.update-tag-urgent {
    background: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.update-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: white;
    margin-bottom: 20px;
}

.update-text {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    flex-grow: 1;
}

.update-link {
    display: none;
}

.updates-section .section-footer {
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 3;
}

.btn-view-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 24px !important;
    background: #000 !important;
    color: white !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    min-height: 44px;
    min-width: 120px;
}

.btn-view-more:hover {
    background: #333 !important;
}

.btn-view-more-dark {
    display: inline-block;
    padding: 12px 32px;
    background: #1e3a5f;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* ========================================
   Solution Section
======================================== */

.solution-section {
    padding: 80px 0;
    background: white;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
}

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

.solution-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.solution-card img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Service Section
======================================== */

/* 汎用セクションスタイル */
.section {
    padding: 80px 0;
    position: relative;
}

.section--dark {
    background: #000;
    color: #fff;
}

/* 黒背景セクションのタイトル罫線を白に */
.section--dark .section-title {
    border-bottom: 2px solid #ffffff;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* 黒背景セクションの全てのh3を白に */
.section--dark h3 {
    color: #ffffff !important;
}

/* 黒背景セクションのh3（罫線なし） */
.section--dark h3.vision-subtitle {
    color: #ffffff !important;
    margin-bottom: 20px;
    margin-top: 40px;
}

/* 黒背景セクションの本文テキストを白に */
.section--dark p,
.section--dark .team-description,
.section--dark .vision-description,
.section--dark .vision-list {
    color: #ffffff !important;
}

.section-title-en {
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
    font-size: 48px;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

.section--dark .section-title-en {
    color: #fff;
}

/* 固定ページテンプレート全体：白背景コンテンツラッパーの余白削除 */
.page-wrapper section.section-light.py-medium {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* NEWSページとプライバシーポリシーページ: 余白を復活 */
body section.section-light.py-medium {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* 固定ページテンプレート(.page-wrapper)の方が優先 */
.page-wrapper section.section-light.py-medium {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 固定ページ内のセクションタイトルを非表示（ページヘッダーと重複するため） */
.page-article .section-title-en,
.text-body .section-title-en {
    display: none;
}

.service-section {
    padding: 80px 0;
    background: #1e3a5f;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.service-item {
    width: 100%;
    max-width: 960px;
}

.service-item a {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-item a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ワンカラムコンテンツ（汎用） */
.content-single {
    max-width: 800px;
    margin: 0 auto;
}

/* チェックリスト（汎用） */
.checklist {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #000;
    font-size: 18px;
}

/* 黒背景用チェックリスト */
.checklist-dark {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.checklist-dark li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    line-height: 1.8;
    color: #fff;
}

.checklist-dark li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #fff;
    font-size: 18px;
}

/* サービス詳細ページ画像 */
.service-image {
    margin: 40px auto 0;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* サービス詳細ページロードマップ */
.service-roadmap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .service-roadmap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-roadmap .roadmap-item {
    position: relative;
    padding: 90px 24px 24px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #000;
}

.service-roadmap .roadmap-number {
    position: absolute;
    left: 24px;
    top: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .service-roadmap .roadmap-item {
        padding: 32px 32px 32px 100px;
    }

    .service-roadmap .roadmap-number {
        left: 24px;
        top: 32px;
    }
}

.service-roadmap .roadmap-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.service-roadmap .roadmap-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* ========================================
   Mission Section
======================================== */

.mission-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #2d5a7b 0%, #1e3a5f 100%);
    color: white;
    text-align: center;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.mission-section .container {
    position: relative;
    z-index: 2;
}

.mission-section .section-title-en {
    color: white;
}

.mission-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.mission-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
}

.mission-description {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ========================================
   Team Section
======================================== */

.team-section {
    padding: 80px 0;
    background: white;
}

.team-section-title {
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
    font-size: 64px;
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.team-section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #CCC;
    margin-top: 25px;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    margin-top: 70px;
}

.team-image {
    order: 2;
}

.team-text {
    order: 1;
}

.team-text {
    display: flex;
    flex-direction: column;
}

.team-subtitle {
    font-size: 30px;
    color: #000;
    margin-top: 0;
}

.team-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.solution-heading {
    margin-bottom: 0;
}

.solution-list {
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 20px;
}

.solution-list li {
    margin-bottom: 8px;
}

.solution-description {
    margin-top: 8px;
    margin-bottom: 12px;
}

.team-image {
    width: 400px;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* ========================================
   Agent Section
======================================== */

.agent-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.agent-section-title {
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    padding-bottom: 0;
    border-bottom: none;
}

.agent-section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #CCC;
    margin-top: 25px;
}

.agent-content {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 70px;
}

.agent-image {
    width: 480px;
    order: 1;
}

.agent-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.agent-text {
    display: flex;
    flex-direction: column;
    order: 2;
}

.agent-title {
    font-size: 30px;
    color: #000;
}

.agent-description {
    font-size: 16px;
    color: #666;
}


/* ========================================
   Clients Section
======================================== */

.clients-section {
    padding: 80px 0;
    background: white;
}

.clients-logos {
    min-height: 200px;
}

/* ========================================
   Footer
======================================== */

.footer {
    background: #000;
    color: white;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 20px 40px 0;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    display: block;
    margin: 0 0 32px 0;
}

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

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-nav a {
    font-size: 15px;
    color: white;
    transition: opacity 0.3s ease;
}

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

.footer-nav-sub {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-nav-sub a {
    font-size: 15px;
    color: white;
    transition: opacity 0.3s ease;
}

.footer-nav-sub a:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
    margin-right: 200px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover {
    opacity: 0.7;
}

.footer-social-icon {
    font-size: 20px;
    font-weight: 700;
    width: 24px;
    text-align: center;
    display: inline-block;
}

.footer-social-text {
    display: inline-block;
}

/* ========================================
   Utility Classes
======================================== */

/* モバイル専用改行 - PC/タブレットでは非表示 */
.br-mobile {
    display: none;
}

/* ========================================
   Responsive Design
======================================== */

/* Tablet & Desktop: 1024px - 1199px */
@media (max-width: 1199px) {
    .header-container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 64px !important;
    }

    .hero-subtitle {
        font-size: 56px !important;
    }

    .hero-description {
        font-size: 24px;
    }

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

    .team-content {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }

    .team-image {
        width: 320px;
        order: 2;
    }

    .team-text {
        order: 1;
    }

    .agent-content {
        grid-template-columns: 360px 1fr;
        gap: 40px;
    }

    .agent-image {
        width: 360px;
    }
}

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    .container {
        padding: 0 20px;
    }

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

    .hero-subtitle {
        font-size: 42px !important;
    }

    .hero-description {
        font-size: 20px;
    }

    .hero-content {
        padding: 0 24px;
    }

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

    .section-title-en {
        font-size: 36px;
    }

    .updates-section .section-footer {
        position: static;
        text-align: center;
        margin-bottom: 40px;
    }

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

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

    .team-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        order: 0;
    }

    .team-text {
        order: 0;
    }

    .agent-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .agent-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        order: 0;
    }

    .agent-text {
        order: 0;
    }

    .team-section-title,
    .agent-section-title {
        font-size: 48px;
    }

    .team-subtitle,
    .agent-title {
        font-size: 24px;
    }

    .mission-title {
        font-size: 28px;
    }

    .mission-subtitle {
        font-size: 18px;
    }

    /* モバイル専用改行を表示 */
    .br-mobile {
        display: inline;
    }
}

/* Mobile: 0 - 767px */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    .header {
        height: 64px;
    }

    .header-container {
        padding: 0 16px;
    }

    /* モバイルメニューの位置調整 */
    .mobile-menu {
        top: 64px;
    }

    .header .logo img {
        height: 32px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        background: transparent;
    }

    .mobile-menu-button span {
        background: white;
    }

    body.admin-bar .header {
        top: 46px;
    }

    body.admin-bar .hero-section {
        margin-top: 46px;
    }

    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 80px 0 60px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px !important;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 28px !important;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .updates-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .section-title-en {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .updates-section .section-footer {
        position: static;
        text-align: center;
        margin-bottom: 32px;
    }

    .btn-view-more {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 24px !important;
        font-size: 14px !important;
    }

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

    .update-card {
        padding: 24px;
        min-height: 200px;
    }

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

    .update-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .update-date {
        font-size: 12px;
    }

    .update-tag {
        font-size: 12px;
        padding: 3px 8px;
    }

    .section,
    .solution-section,
    .service-section,
    .team-section,
    .agent-section {
        padding: 60px 0;
    }

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

    .section-description {
        font-size: 14px;
        margin-bottom: 40px;
    }

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

    .service-list {
        gap: 20px;
    }

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

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

    .mission-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .mission-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .team-section-title,
    .agent-section-title {
        font-size: 36px;
    }

    .team-content,
    .agent-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 60px;
    }

    .team-image,
    .agent-image {
        width: 100%;
        grid-column: auto;
    }

    .agent-text {
        grid-column: auto;
    }

    .team-subtitle,
    .agent-title {
        font-size: 20px;
    }

    .team-description,
    .agent-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .team-text a,
    .agent-text a {
        width: 100%;
        text-align: center;
        padding: 14px 24px !important;
        font-size: 14px !important;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .footer-container {
        padding: 0 16px;
        flex-direction: column;
        gap: 32px;
    }

    .footer-logo img {
        height: 36px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }

    .footer-nav-sub {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .footer-right {
        margin-right: 0;
    }

    .footer-social-link {
        font-size: 14px;
    }

    .footer-social-text {
        display: none;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

/* Small Mobile: 0 - 374px */
@media (max-width: 374px) {
    .hero-title {
        font-size: 28px !important;
    }

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

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

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

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

    .update-card {
        padding: 20px;
    }
}

/* Contact Page Styles */
.contact-page {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 48px;
}

.contact-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-top: 16px;
}

.contact-info {
    margin-bottom: 48px;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 32px 0 16px;
}

.contact-types,
.required-fields,
.contact-notes {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.contact-types li,
.required-fields li {
    padding: 8px 0 8px 24px;
    position: relative;
}

.contact-types li::before,
.required-fields li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #1e3a5f;
    font-weight: 700;
}

.contact-notes li {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.required-mark {
    color: #D32F2F;
    font-weight: 700;
}

.contact-form-area {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.form-placeholder {
    text-align: center;
    color: #999;
    font-size: 15px;
    margin: 0;
}

.contact-thanks-preview {
    text-align: center;
    padding: 48px;
    background: #f0f8ff;
    border-radius: 8px;
    margin-top: 60px;
}

.contact-thanks-preview h2 {
    border: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.contact-thanks-preview h3 {
    margin: 0 0 16px 0;
}

.contact-thanks-preview p {
    margin: 0;
    line-height: 1.8;
}

/* ========================================
   Fixed Pages Responsive Design
======================================== */

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

    .vision-roadmap {
        gap: 24px;
    }

    .roadmap-item {
        padding: 32px 32px 32px 80px;
    }

    .roadmap-number {
        font-size: 36px;
        left: 24px;
    }
}

@media (max-width: 767px) {
    .page-wrapper {
        padding-top: 64px;
    }

    .page-header {
        padding: 40px 0 32px;
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .page-content {
        padding: 0 0 60px;
    }

    .page-article h2 {
        font-size: 24px;
        margin: 36px 0 20px;
    }

    .page-article h3 {
        font-size: 20px;
        margin: 0 0 16px;
    }

    .page-article h4 {
        font-size: 18px;
        margin: 24px 0 14px;
    }

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

    .info-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }

    .info-table td {
        padding-top: 8px;
    }

    .partner-card {
        padding: 24px;
    }

    .partner-icon {
        font-size: 36px;
    }

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

    .vision-headline {
        font-size: 22px;
    }

    .vision-subtitle {
        font-size: 20px;
    }

    .roadmap-item {
        padding: 24px;
        padding-top: 72px;
    }

    .roadmap-number {
        font-size: 32px;
        left: 24px;
        top: 24px;
    }

    .roadmap-item h3 {
        font-size: 18px;
    }

    .service-detail {
        padding: 32px 24px;
    }

    .service-name {
        font-size: 28px;
    }

    .service-tagline {
        font-size: 18px;
    }

    .service-catchcopy p {
        font-size: 16px;
    }

    .contact-form-area {
        padding: 24px;
    }

    .contact-thanks-preview {
        padding: 32px 24px;
    }
}

@media (max-width: 374px) {
    .page-title {
        font-size: 28px;
    }

    .page-article h2 {
        font-size: 22px;
    }

    .service-name {
        font-size: 24px;
    }
}

/* ==========================================
   Contact Form 7 Styles
   ========================================== */

.contact-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 48px;
}

.contact-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

/* Contact Form 7 フォームスタイル */
.wpcf7 {
    margin: 0;
}

.wpcf7 .form-group {
    margin-bottom: 24px;
}

.wpcf7 label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23333' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* プライバシーポリシー同意チェックボックス */
.privacy-agreement {
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-agreement label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-weight: 400;
}

.privacy-agreement input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-agreement a {
    color: #0066cc;
    text-decoration: underline;
}

.privacy-agreement a:hover {
    text-decoration: none;
}

/* 送信ボタン */
.wpcf7 input[type="submit"],
.wpcf7 .btn-primary {
    display: inline-block;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #0066cc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .btn-primary:hover {
    background: #0052a3;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.wpcf7-validation-errors {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 16px;
}

/* 送信完了メッセージ */
.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .contact-page {
        padding: 40px 16px;
    }

    .contact-intro h2 {
        font-size: 24px;
    }

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

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .wpcf7 input[type="submit"],
    .wpcf7 .btn-primary {
        width: 100%;
        padding: 14px 24px;
    }

    /* モバイルメニュー表示 */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }
}

/* ========================================
   Responsive Utilities
======================================== */

/* モバイル専用改行 */
.br-mobile {
    display: none !important;
}

@media (max-width: 767px) {
    .br-mobile {
        display: inline !important;
    }
}

/* ========================================
   Background Video Styles
======================================== */

/* ビジョンページ専用の背景動画 */
.vision-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
    display: block;
}

.vision-mission-2030-wrapper {
    position: relative;
}

.vision-mission,
.vision-2030,
.vision-value,
.vision-roadmap {
    position: relative;
}

.vision-mission .container,
.vision-2030 .container,
.vision-value .container,
.vision-roadmap .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   Vision Page Styles
======================================== */

/* Base Sections */
.vision-section {
    position: relative;
    width: 100%;
    background: #000;
    color: #fff;
}

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

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

body.admin-bar .vision-hero {
    margin-top: -112px;
    padding-top: 112px;
}

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

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

.vision-hero-title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 40px;
}

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

/* Section 2: Mission */
.vision-mission {
    padding: 180px 40px;
    background: #000 !important;
    position: relative;
    overflow: visible;
}

.vision-mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    margin-bottom: 32px;
    opacity: 0.6;
    color: #fff !important;
}

.vision-section-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 40px;
}

.vision-section-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 700px;
    margin: 0 auto;
}

/* Section 3: Vision 2030 */
.vision-2030 {
    padding: 200px 40px;
    background: #000 !important;
    position: relative;
    overflow: visible;
}

.vision-2030-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-2030-year {
    font-size: 240px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #fff !important;
}

.vision-2030-title {
    font-size: 40px;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 32px;
}

.vision-2030-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 700px;
    margin: 0 auto;
}

/* Section 4: Full Width Image */
.vision-image {
    width: 100%;
    height: 600px;
    background-image: url('https://meets-mirai.com/wp/wp-content/themes/meets-custom-theme/assets/images/vision-full.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

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

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

/* Section 5: Value */
.vision-value {
    padding: 200px 40px;
    background: #000 !important;
    position: relative;
    overflow: visible;
}

.vision-value-header {
    text-align: center;
    margin-bottom: 120px;
}

.vision-values {
    max-width: 800px;
    margin: 0 auto;
}

.vision-value-item {
    margin-bottom: 100px;
    text-align: center;
}

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

.vision-value-number {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 24px;
}

.vision-value-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 24px;
}

.vision-value-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Section 6: Roadmap */
.vision-roadmap {
    padding: 200px 40px;
    background: #000 !important;
    position: relative;
    overflow: visible;
}

.vision-roadmap-header {
    text-align: center;
    margin-bottom: 120px;
}

.vision-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.vision-timeline-item {
    margin-bottom: 120px;
    text-align: center;
}

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

.vision-timeline-number {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 32px;
}

.vision-timeline-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 24px;
}

.vision-timeline-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Vision Page Responsive */
@media (max-width: 767px) {
    .vision-hero {
        height: 100vh;
        min-height: 700px;
        padding: 100px 0 60px;
    }

    .vision-hero-content {
        padding: 0 20px;
    }

    .vision-hero-title {
        font-size: 36px;
        margin-bottom: 24px;
    }

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

    .vision-mission,
    .vision-2030,
    .vision-value,
    .vision-roadmap {
        padding: 80px 20px;
    }

    .vision-section-title {
        font-size: 27px;
        margin-bottom: 24px;
    }

    .vision-section-text {
        font-size: 16px;
    }

    .vision-2030-year {
        font-size: 100px;
        margin-bottom: 40px;
    }

    .vision-2030-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .vision-2030-text {
        font-size: 16px;
    }

    .vision-image {
        height: 50vh;
        min-height: 300px;
    }

    .vision-value-header,
    .vision-roadmap-header {
        margin-bottom: 60px;
    }

    .vision-value-item {
        margin-bottom: 60px;
    }

    .vision-value-title {
        font-size: 24px;
    }

    .vision-value-text {
        font-size: 15px;
    }

    .vision-timeline-item {
        margin-bottom: 80px;
    }

    .vision-timeline-title {
        font-size: 28px;
    }

    .vision-timeline-text {
        font-size: 15px;
    }

    /* モバイル: ビジョンページ背景動画をより薄く */
    .vision-bg-video {
        opacity: 0.1;
    }
}
/* ========================================
   サービスページ ヒーローセクション CSS
   Version: 1.0
   Created: 2026-01-08
======================================== */

/* ヒーローセクション 共通スタイル */
/* ヒーローセクション 共通スタイル */
.service-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* オーバーレイ（背景を少し暗くして文字を読みやすく） */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* コンテンツエリア */
.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ラベル（MANEKI NEKO CONNECT等） */
.service-hero-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* タイトル */
/* タイトル */
.service-hero-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

/* サブタイトル */
.service-hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.9;
}

/* テキスト（ボディコピー） */
.service-hero .service-hero-content .service-hero-text,
.agent-hero .agent-hero-content .agent-hero-text {
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.8 !important;
    margin-top: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* pタグとしても明示的に指定（さらに優先度を上げる） */
.service-hero p.service-hero-text,
.agent-hero p.agent-hero-text {
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.8 !important;
}

/* 各サービス専用の背景画像 */
.service-hero--maneki {
    background-image: url('/wp/wp-content/themes/meets-custom-theme/assets/images/service-header-maneki.png');
}

.service-hero--catoca {
    background-image: url('/wp/wp-content/themes/meets-custom-theme/assets/images/service-header-catoca.png');
}

.service-hero--dr-ai {
    background-image: url('/wp/wp-content/themes/meets-custom-theme/assets/images/service-header-dr-ai.png');
}

/* ========================================
   タブレット対応 (768px - 1199px)
======================================== */
@media screen and (max-width: 1199px) {
    .service-hero {
        min-height: 400px;
    }

    .service-hero-content {
        padding: 50px 24px;
    }

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

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

    .service-hero .service-hero-content .service-hero-text,
    .service-hero p.service-hero-text,
    .agent-hero .agent-hero-content .agent-hero-text,
    .agent-hero p.agent-hero-text {
        font-size: 16px !important;
    }
}

/* ========================================
   スマートフォン対応 (375px - 767px)
======================================== */
@media screen and (max-width: 767px) {
    .service-hero {
        min-height: 350px;
    }

    .service-hero-content {
        padding: 40px 20px;
    }

    .service-hero-label {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .service-hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

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

    .service-hero .service-hero-content .service-hero-text,
    .service-hero p.service-hero-text,
    .agent-hero .agent-hero-content .agent-hero-text,
    .agent-hero p.agent-hero-text {
        font-size: 15px !important;
        margin-top: 16px;
    }
}

/* ========================================
   小型スマートフォン対応 (~374px)
======================================== */
@media screen and (max-width: 374px) {
    .service-hero {
        min-height: 300px;
    }

    .service-hero-content {
        padding: 30px 16px;
    }

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

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

    .service-hero .service-hero-content .service-hero-text,
    .service-hero p.service-hero-text,
    .agent-hero .agent-hero-content .agent-hero-text,
    .agent-hero p.agent-hero-text {
        font-size: 14px !important;
    }
}

/* ========================================
   Background Video Styles (白背景・黒背景)
======================================== */

/* 白背景用動画 */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* 黒背景用動画 */
.bg-video-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

/* セクションのposition設定 */
.section {
    position: relative;
    overflow: hidden;
}

/* コンテンツを動画より前面に */
.section .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   CTA Box & Button Styles
======================================== */

/* CTAボックス */
.cta-box {
    text-align: center;
    margin-top: 60px;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.section--light .cta-box {
    background: rgba(0, 0, 0, 0.02);
}

.cta-box__text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: inherit;
}

/* ボタンコンテナ */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* 黒ボタン */
.btn-dark {
    display: inline-block;
    padding: 16px 40px;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.btn-dark:hover {
    background: #333;
    border-color: #333;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .cta-box {
        margin-top: 40px;
        padding: 32px 20px;
    }

    .cta-box__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-dark {
        width: auto;
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* ========================================
   Step Flow (3列カードレイアウト)
======================================== */

.step-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.step-card {
    flex: 1;
    max-width: 360px;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #ffffff;
    border-radius: 8px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.step-card .step-number,
.step-number {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff !important;
    opacity: 1 !important;
    margin-bottom: -15px;
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.step-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.step-arrow {
    display: none !important;
}

.step-arrow::before {
    content: '' !important;
    display: none !important;
}

.step-arrow::after {
    content: '' !important;
    display: none !important;
}

/* section--dark内のstep要素を明示的に白に */
.section--dark .step-number {
    color: #ffffff !important;
    opacity: 1 !important;
}

.section--dark .step-card {
    border-color: #ffffff !important;
}

.section--dark .step-title {
    color: #ffffff !important;
}

.section--dark .step-description {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* section--light内のstep要素を白背景に */
.section--light .step-card {
    background: #FFFFFF;
    border-color: #000000 !important;
    height: 280px;
}

.section--light .step-number {
    color: #000000 !important;
    opacity: 1 !important;
}

.section--light .step-title {
    color: #000000 !important;
}

.section--light .step-description {
    color: rgba(0, 0, 0, 0.85) !important;
}

/* モバイル対応 */
@media (max-width: 1024px) {
    .step-flow {
        flex-direction: column;
        gap: 50px;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .step-arrow {
        display: block;
        text-align: center;
        font-size: 24px;
        color: rgba(255, 255, 255, 0.5);
    }

    .step-arrow::before {
        content: '▼';
        display: block;
        color: rgba(255, 255, 255, 0.5);
    }

    .step-arrow::after {
        display: none !important;
    }
}

/* ========================================
   Effect Cards (効果カード - 黒背景用)
======================================== */

.effect-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.effect-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.effect-number {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    opacity: 1;
    line-height: 1;
    flex-shrink: 0;
    font-family: 'Gotham', 'Noto Sans JP', sans-serif;
}

.effect-content {
    flex: 1;
}

.effect-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.effect-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* モバイル対応 */
@media (max-width: 1024px) {
    .effect-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }

    .effect-card {
        padding: 30px 20px;
        gap: 20px;
    }

    .effect-number {
        font-size: 56px;
    }

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

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