/* ===================================
   カラー変数
   =================================== */
:root {
    --primary-color: #2C5F2D;
    --secondary-color: #1E4D8B;
    --accent-color: #4A9B3E;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #F8F9FA;
    --border-light: #E8F5E9;
    --warning-color: #FF6B00;
    --gold-color: #D4AF37;
}

/* ===================================
   基本設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================
   アクセシビリティ: スキップリンク
   =================================== */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: bold;
    transition: top 0.3s;
    clip-path: inset(50%);
}

.skip-link:focus {
    top: 0;
    clip-path: none;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* フォーカス表示の改善（キーボード操作の改善） */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* ===================================
   トップに戻るボタン
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.scroll-to-top:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* パンくずリストのol/li要素のデフォルトスタイルをリセット */
ol.breadcrumb,
ul.breadcrumb {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ol.breadcrumb li,
ul.breadcrumb li {
    display: flex !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===================================
   メインコンテンツ
   =================================== */
.main-content {
    min-height: calc(100vh - 80px);
}

/* ===================================
   ヘッダー
   =================================== */
header {
    background: #FFFFFF;
    border-bottom: 3px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

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

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.group-badge {
    font-size: 0.75rem;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.header-24h {
    background: var(--bg-light);
    color: var(--text-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: normal;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

/* デスクトップナビゲーションのみflex適用 */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    display: block;
}

/* モバイルナビゲーションが開いている時はハンバーガーボタンを非表示 */
body.mobile-nav-open .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--primary-color);
}

/* モバイルナビゲーション */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.4s ease;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 90%;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-nav-header h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    color: white;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-nav-content ul {
    list-style: none;
    padding: 0.75rem 0 1rem;
    margin: 0;
    flex: 0 0 auto;
    display: block;
    width: 100%;
}

.mobile-nav-content li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.active .mobile-nav-content li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.active .mobile-nav-content li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(8) {
    transition-delay: 0.45s;
}

.mobile-nav.active .mobile-nav-content li:nth-child(9) {
    transition-delay: 0.5s;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    gap: 1rem;
    min-height: auto;
    line-height: 1.5;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    color: var(--accent-color);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-link::after {
    display: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(90deg, rgba(44, 95, 45, 0.12) 0%, rgba(44, 95, 45, 0.05) 100%);
    transform: translateX(4px);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    color: var(--primary-color);
}

.mobile-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 0 3px 3px 0;
}

/* モバイルナビゲーションのCTAボタン */
.mobile-nav-cta {
    padding: 1.5rem 2rem 2rem;
    border-top: 2px solid var(--border-light);
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-cta-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    border: 2px solid transparent;
}

.mobile-nav-cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.mobile-nav-cta-button:hover i {
    transform: translateX(4px);
}

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

.mobile-nav-cta-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.mobile-nav-cta-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.mobile-nav-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.mobile-nav-cta-secondary i {
    color: var(--primary-color);
}

.mobile-nav-cta-secondary:hover i {
    color: white;
}

/* モバイルナビゲーションのスクロールバー */
.mobile-nav-content::-webkit-scrollbar {
    width: 8px;
}

.mobile-nav-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.mobile-nav-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-nav-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* ===================================
   ヒーロー
   =================================== */
.hero {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.7) 0%, rgba(30, 77, 139, 0.7) 100%),
        url('../../material/enterprise/images/top.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* WebP非対応ブラウザ用のフォールバック（JPEG） */
/* 注意: WebPファイルが存在しない場合は、ブラウザが自動的にJPEGを読み込むため、フォールバックは不要です */
/* ただし、確実にフォールバックを提供する場合は、JavaScriptでWebP対応を検出して動的に切り替えることを推奨します */

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
}

.hero-unique {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-legacy {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-style: italic;
}

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

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: #3A8B2E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ===================================
   セクション共通
   =================================== */
section {
    padding: 5rem 2rem;
    scroll-margin-top: 80px;
    /* 固定ヘッダーに隠れないようにする */
    padding-top: 2rem;
    /* セクションタイトルが隠れないようにする */
    padding-bottom: 2.5rem;
    /* 下側のマージンを半分に */
}

section:nth-child(even) {
    background: var(--bg-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-top: 0.5rem;
    /* 固定ヘッダーに隠れないようにする */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.section-subtitle {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ===================================
   3つの強み
   =================================== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.strength-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 3px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.strength-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.strength-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.strength-card:nth-child(1) .strength-icon {
    color: var(--accent-color);
}

.strength-card:nth-child(2) .strength-icon {
    color: var(--warning-color);
}

.strength-card:nth-child(3) .strength-icon {
    color: var(--secondary-color);
}

.strength-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.strength-card .subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.strength-card p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.benefits-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.benefits-list li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-dark);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.quote-box {
    background: #F0F4F8;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-gray);
}

.quote-box div {
    margin: 0.5rem 0;
}

/* 強みセクション内のリンクボタン */
.strength-link {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
}

.strength-link-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strength-link-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.strength-link-button i {
    margin-right: 0.5rem;
}

/* インラインリンク */
.inline-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.inline-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* ===================================
   代表メッセージ
   =================================== */
.ceo-section {
    padding: 5rem 2rem;
    padding-bottom: 2.5rem;
    background: var(--bg-light);
}

.ceo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.ceo-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.ceo-icon {
    width: 180px;
    height: 180px;
    min-width: 180px;
    max-width: 180px;
    min-height: 180px;
    max-height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    box-sizing: border-box;
}

.ceo-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 180px !important;
    max-height: 180px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.ceo-icon-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
}

.ceo-title {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.ceo-name-ja {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.ceo-name-en {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
}

.ceo-message {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ceo-message-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.ceo-message p {
    margin-bottom: 1.5rem;
    line-height: 2;
    font-size: 1.05rem;
}

.ceo-highlight {
    background: linear-gradient(transparent 60%, rgba(74, 155, 62, 0.3) 60%);
    font-weight: bold;
}

.ceo-signature {
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.ceo-signature-company {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ceo-signature-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* ===================================
   施設紹介
   =================================== */
.facility-showcase {
    background: white;
    padding: 4rem 2rem;
    padding-bottom: 2rem;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1233 / 626;
    overflow: hidden;
    border-radius: 12px;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.facility-info h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.facility-info p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.facility-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 1rem;
}

/* ===================================
   設備・車両
   =================================== */
.vehicles-section {
    background: white;
    padding: 4rem 2rem;
    padding-bottom: 2rem;
}

.vehicles-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.vehicle-slider-container {
    max-width: 1100px;
    margin: 0 auto 3rem;
    position: relative;
}

.vehicle-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1100 / 700;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vehicle-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.vehicle-slide.active {
    opacity: 1;
    z-index: 1;
}

.vehicle-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vehicle-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.vehicle-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to top, rgba(30, 77, 139, 0.4) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.05) contrast(1.1);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.vehicle-slide.active .vehicle-image img {
    transform: scale(1.02);
}

.vehicle-caption {
    display: none;
}

.vehicle-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.vehicle-slider-prev,
.vehicle-slider-next {
    background: var(--accent-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    outline: none;
}

.vehicle-slider-prev:hover,
.vehicle-slider-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.vehicle-slider-prev:active,
.vehicle-slider-next:active {
    transform: scale(0.95);
}

.vehicle-slider-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.vehicle-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.vehicle-indicator:hover {
    background: rgba(74, 155, 62, 0.3);
}

.vehicle-indicator.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 6px;
}

.vehicles-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.vehicle-feature-item {
    text-align: center;
    padding: 1.5rem;
}

.vehicle-feature-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.vehicle-feature-item h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.vehicle-feature-item p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   取扱品目
   =================================== */
.waste-types-section {
    background: var(--bg-light);
}

.waste-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
}

.waste-grid-wrapper {
    position: relative;
    margin-top: 2rem;
}

.waste-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.waste-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s;
}

.waste-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.waste-item-icon {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* 取扱品目注釈 */
.waste-types-note {
    margin-top: 1rem;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.5;
    padding-right: 0.5rem;
    font-weight: 500;
}

.waste-types-note::before {
    content: '※';
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: bold;
    margin-right: 0.3rem;
}

/* ===================================
   ビジョン
   =================================== */
.vision-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

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

.vision-lead {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    text-align: left;
}

.vision-highlight {
    background: linear-gradient(transparent 60%, rgba(74, 155, 62, 0.3) 60%);
    font-weight: bold;
}

/* ===================================
   実績・沿革
   =================================== */
.legacy-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    text-align: center;
}

.legacy-highlight {
    display: inline-block;
    font-size: 5rem;
    font-weight: bold;
    color: var(--gold-color);
    margin: 0.5rem 0 2rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.legacy-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 2rem;
}

.legacy-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 2;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-right: 3rem;
    text-align: right;
    width: 45%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 3rem;
    text-align: left;
    width: 45%;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(74, 155, 62, 0.2);
    z-index: 10;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.timeline-content:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.timeline-description {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===================================
   会社概要
   =================================== */
.company-overview-section {
    background: white;
}

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

.company-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.company-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.company-card-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.company-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.company-info-row {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 0.8rem;
}

.company-info-row:last-child {
    border-bottom: none;
}

.company-info-label {
    min-width: 100px;
    font-weight: bold;
    color: var(--text-gray);
}

.company-info-value {
    color: var(--text-dark);
    flex: 1;
}

.company-info-section {
    margin-bottom: 1.5rem;
}

.company-info-section:last-child {
    margin-bottom: 0;
}

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

.bank-list li {
    padding: 0.3rem 0;
    color: var(--text-dark);
}

.bank-list li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 会社概要セクション内のリンクボタン */
.company-link {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.company-link-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.company-link-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.company-link-button i {
    margin-right: 0.5rem;
}

/* ===================================
   アクセス - マップセクション
   =================================== */
.company-map-section {
    scroll-margin-top: 80px;
    /* 固定ヘッダーに隠れないようにする */
}

/* 会社概要セクション内のアクセスセクション用（後方互換性のため） */
.company-overview-section .company-map-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-light);
}

.company-map-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.map-item h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-item h4 i {
    color: var(--accent-color);
}

.map-address {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.map-embed {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
    border-radius: 8px;
}

/* アクセス注釈 */
.map-access-notes {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

.map-access-notes-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-access-notes-title i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.map-access-notes-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.map-access-note-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.map-access-ic-name {
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
}

.map-access-time {
    color: var(--accent-color);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.85rem;
}

.map-access-time::before {
    content: '→';
    color: var(--text-gray);
    font-weight: normal;
    margin-right: 0.25rem;
}

/* ===================================
   許可・認可情報
   =================================== */
.licenses-section {
    background: white;
}

.licenses-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.license-category {
    margin-bottom: 4rem;
}

.license-category-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.license-category-icon {
    color: var(--accent-color);
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.prefectures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.prefecture-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.prefecture-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.prefecture-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.prefecture-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.prefecture-number {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-family: monospace;
}

.view-certificate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.view-certificate:hover {
    color: var(--accent-color);
}

.disposal-license {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.disposal-license-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.disposal-license-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.disposal-license-type {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.disposal-license-body {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.license-row {
    display: flex;
    padding: 0.8rem 0;
    border-bottom: 1px solid #E0E0E0;
    gap: 1rem;
}

.license-row:last-child {
    border-bottom: none;
}

.license-label {
    color: var(--text-gray);
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
    white-space: nowrap;
}

.license-value {
    color: var(--text-dark);
    font-weight: bold;
    font-family: monospace;
    flex: 1;
    word-break: break-word;
    line-height: 1.6;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s;
}

.download-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* 許可・認可セクション内のCTA */
.licenses-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-light);
}

.licenses-cta p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.licenses-cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.licenses-cta-button:hover {
    background: #3A8B2E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.licenses-cta-button i {
    margin-right: 0.5rem;
}

/* ===================================
   モーダル
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.3s;
    display: flex;
    flex-direction: column;
}

/* スクロール可能なコンテンツ用の要素 */
.modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    /* スクロールバーのスタイルをカスタマイズして角を丸くする */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    /* スクロールバーのスペースを確保 */
    padding-right: 0.5rem;
    margin-right: -0.5rem;
}

/* Webkit系ブラウザ（Chrome、Safari、Edge）用のスクロールバースタイル */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: none;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.modal-close,
button.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-prefecture-name {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-license-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* モーダル内の取扱品目セクションの特別なスタイル */
.modal-license-info .license-row.license-row-types {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.modal-license-info .license-row.license-row-types .license-label {
    min-width: auto;
    white-space: normal;
}

.modal-license-info .license-row.license-row-types .license-value {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.8;
    word-break: break-word;
}

/* ===================================
   フッター
   =================================== */
footer {
    background: #333333;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul li {
    margin: 0;
    padding: 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-24h-notice {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: normal;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.group-link {
    background: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
    transition: background 0.3s;
}

.group-link:hover {
    background: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
    font-size: 0.9rem;
}

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

/* iPhone5sなど (320px-335px) */
@media (min-width: 320px) and (max-width: 335px) {
    .hero h1 {
        font-size: 0.9rem;
    }
}

/* 336px-364px */
@media (min-width: 336px) and (max-width: 364px) {
    .hero h1 {
        font-size: 1.0rem;
    }
}

/* iPhoneXS、iPhone 14 Proなど (365px-393px) */
@media (min-width: 365px) and (max-width: 393px) {
    .hero h1 {
        font-size: 1.1rem;
    }
}

/* iPhone 16 Proなど (394px-422px) */
@media (min-width: 394px) and (max-width: 422px) {
    .hero h1 {
        font-size: 1.2rem;
    }
}

/* iPhone13 Pro MAXなど (423px-451px) */
@media (min-width: 423px) and (max-width: 451px) {
    .hero h1 {
        font-size: 1.3rem;
    }
}

/* 452px-479px */
@media (min-width: 452px) and (max-width: 479px) {
    .hero h1 {
        font-size: 1.4rem;
    }
}

/* 480px-508px */
@media (min-width: 480px) and (max-width: 508px) {
    .hero h1 {
        font-size: 1.5rem;
    }
}

/* 509px-537px */
@media (min-width: 509px) and (max-width: 537px) {
    .hero h1 {
        font-size: 1.6rem;
    }
}

/* 538px-566px */
@media (min-width: 538px) and (max-width: 566px) {
    .hero h1 {
        font-size: 1.7rem;
    }
}

/* 567px-768px */
@media (min-width: 567px) and (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* ============================================
   .group-badge モバイル用フォントサイズ設定
   ============================================ */
/* 320px-322px */
@media (min-width: 320px) and (max-width: 322px) {
    .group-badge {
        font-size: 0.55rem;
    }
}

/* 323px-328px */
@media (min-width: 323px) and (max-width: 328px) {
    .group-badge {
        font-size: 0.60rem;
    }
}

/* 329px-335px */
@media (min-width: 329px) and (max-width: 335px) {
    .group-badge {
        font-size: 0.65rem;
    }
}

/* 336px-341px */
@media (min-width: 336px) and (max-width: 341px) {
    .group-badge {
        font-size: 0.70rem;
    }
}

/* 342px以上 */
@media (min-width: 342px) {
    .group-badge {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        padding: 1rem;
    }

    .logo-image {
        height: 35px;
        width: auto;
    }

    .header-24h {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav-content {
        width: 320px;
        max-width: 85%;
    }

    .mobile-nav-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .mobile-nav-header h3 {
        font-size: 1rem;
    }

    .mobile-nav-close {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }

    .mobile-nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: auto;
        line-height: 1.5;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        padding-left: 2rem;
    }

    .mobile-nav-cta {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .mobile-nav-cta-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    nav ul {
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        background-attachment: scroll;
        min-height: 500px;
        padding: 4rem 1.5rem;
    }

    .hero-unique {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

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

    .strength-link-button {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.85rem;
        padding: 0.7rem 1.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: left;
    }

    .timeline-marker {
        left: 20px;
    }

    .legacy-highlight {
        font-size: 3.5rem;
    }

    /* モーダルのレスポンシブ対応 */
    .modal-content {
        padding: 1.5rem 1.5rem 2.5rem;
        max-width: 95%;
        max-height: 90vh;
    }

    .modal-license-info {
        padding: 1rem;
    }

    .modal-license-info .license-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .modal-content .download-button {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 968px) {
    .waste-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .ceo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceo-card {
        position: static;
        max-width: 100%;
    }

    .ceo-icon {
        width: 180px;
        height: 180px;
        max-width: 180px;
        max-height: 180px;
    }

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

    .vehicle-slider-container {
        max-width: 100%;
    }

    .vehicle-slider {
        aspect-ratio: 1100 / 700;
    }

    .vehicle-slider-controls {
        gap: 1rem;
    }

    .vehicle-slider-prev,
    .vehicle-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .vehicle-indicator {
        width: 10px;
        height: 10px;
    }

    .vehicle-indicator.active {
        width: 24px;
    }

    .vehicles-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .waste-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .waste-item {
        padding: 1.25rem;
    }

    .waste-types-note {
        margin-top: 0.75rem;
        text-align: right;
        font-size: 0.75rem;
        padding-right: 0.25rem;
    }
}

/* ===================================
   パンくずリスト
   =================================== */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    color: var(--text-gray);
    white-space: nowrap;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    position: relative;
}

.breadcrumb-separator {
    margin: 0;
    padding: 0;
    color: var(--text-gray);
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}

.breadcrumb-space {
    display: block !important;
    width: 0.5rem;
    min-width: 0.5rem;
    height: 1em;
    flex-shrink: 0;
    white-space: pre;
    overflow: visible;
}

/* 後方互換性のため、::afterも残す */
.breadcrumb li:not(:last-child):not(.breadcrumb-separator)::after {
    content: '';
    display: none;
}

.breadcrumb li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.breadcrumb li:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 0.75rem 1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .breadcrumb li:not(:last-child)::after {
        margin: 0 0.25rem;
    }
}

.modal-license-info .license-row .license-label {
    min-width: auto;
    white-space: normal;
}

.modal-license-info .license-row .license-value {
    width: 100%;
}

.map-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.map-embed iframe {
    min-height: 300px;
}

.map-access-notes {
    margin-top: 0.75rem;
    padding: 0.625rem 0.875rem;
}

.map-access-notes-title {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.map-access-notes-title i {
    font-size: 0.85rem;
}

.map-access-notes-list {
    gap: 0.3rem;
}

.map-access-note-item {
    font-size: 0.8rem;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.map-access-time {
    font-size: 0.8rem;
}
