/*
Theme Name: Nomura Legacy Theme
Description: ノムラ合成株式会社レガシーテーマ - 現行サイトの完全コピー（https://www.n-gosei.jp/）
Version: 1.0.4
Author: HP移行プロジェクト
*/

/* ========================================
   基本設定 - 元サイト完全準拠
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, "MS Pゴシック", sans-serif;
}

body {
    font-size: 12px;
    line-height: 1.5;
    color: #333333;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

a {
    color: #336699;
    text-decoration: none;
}

a:hover {
    color: #c61a1a;
    text-decoration: underline;
}

/* ========================================
   レガシーテーマ共通見出しスタイル
======================================== */
h1 {
    background: #1976d2;
    color: white;
    padding: 8px 20px;
    margin: 0 0 15px 0;
    font-size: 13px;
    font-weight: bold;
    border-radius: 0;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
    position: relative;
}

h2:before {
    content: "■";
    color: #1976d2;
    margin-right: 8px;
}

h3 {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
    border-left: 4px solid #1976d2;
    padding-left: 10px;
}

h4 {
    font-size: 11px;
    font-weight: bold;
    margin: 0 0 6px 0;
    color: #333;
    position: relative;
}

h4:before {
    content: "▪";
    color: #1976d2;
    margin-right: 5px;
}

/* ========================================
   ヘッダー（元サイト完全準拠）
======================================== */
.site-header {
    background: #ffffff;
    position: relative;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 80px;
    width: auto;
}

.site-branding {
    display: flex;
    align-items: center;
}

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

.recruit-logo img {
    height: 60px;
    width: auto;
}

.header-contact {
    text-align: right;
}

.header-contact .phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #c61a1a;
    background: #f0f0f0;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: inline-block;
}

/* ナビゲーション（2行4列レイアウト） */
.main-navigation {
    background: #f0f8ff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

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

/* 8項目統一グリッド（ホーム含む） */

/* 2行4列グリッド */
.nav-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

.nav-item {
    position: relative;
    background: white;
    border: 1px solid #ddd;
}

.nav-item a {
    display: block;
    padding: 12px 8px;
    color: #333;
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-item a:hover {
    background-color: #e6f3ff;
    color: #336699;
    text-decoration: none;
}

/* ドロップダウンメニュー（2行4列対応） */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 10px 15px;
    font-size: 11px;
    color: #333;
    display: block;
    white-space: nowrap;
    text-align: left;
    overflow: visible;
    text-overflow: initial;
}

.dropdown-menu a:hover {
    background-color: #f0f8ff;
    color: #336699;
}

/* ========================================
   4枚スライダー（元サイト完全準拠）
======================================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 30px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    max-width: 500px;
}

.slide-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.slide-content p {
    font-size: 14px;
    opacity: 0.95;
}

/* スライダーナビゲーション */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    pointer-events: auto;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* ドットインジケーター */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: white;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

/* ========================================
   メインコンテンツエリア（1カラム）
======================================== */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   メインコンテンツ - ニュース・PRセクション
======================================== */
.content-main {
    width: 100%;
    background: #ffffff;
}

.news-section {
    margin-bottom: 30px;
}

.news-header {
    background: linear-gradient(to right, #4a90e2, #2c5aa0);
    color: white;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.news-content {
    padding: 0 15px 15px;
    line-height: 1.6;
}

.news-date {
    color: #666;
    font-size: 11px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.news-text {
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
}

/* 新聞画像 - 元サイトでは大きすぎたので修正 */
.newspaper-image {
    text-align: center;
    margin: 15px 0;
}

.newspaper-image img {
    max-width: 350px; /* 元サイトから適切なサイズに調整 */
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    padding: 5px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* YouTube動画セクション */
.youtube-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.youtube-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid #336699;
}

.youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    overflow: hidden;
    background: #000;
    border-radius: 5px;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   会社案内カードセクション（3列）
======================================== */
.company-cards-section {
    margin: 30px 0;
    padding: 20px 0;
    background: #ffffff;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #336699;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.card-description {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-button {
    background: #336699;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}

.card-button:hover {
    background: #2c5aa0;
    color: white;
    text-decoration: none;
}

/* ========================================
   事業紹介セクション（2列・シンプル）
======================================== */
.service-section {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

.service-item {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #90caf9;
}

.service-item h3 {
    font-size: 14px;
    color: #1976d2;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-item p {
    font-size: 11px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-button {
    background: #1976d2;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 11px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}

.service-button:hover {
    background: #1565c0;
    color: white;
    text-decoration: none;
}

/* ========================================
   丸いボタンリンクセクション
======================================== */
.circle-links-section {
    margin: 30px 0;
    padding: 20px 0;
    background: #ffffff;
}

.circle-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.circle-link-item {
    text-align: center;
}

.circle-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
    border-radius: 15px;
}

.circle-link:hover {
    color: #336699;
    text-decoration: none;
    transform: translateY(-3px);
}

.circle-link:focus {
    outline: 2px solid #336699;
    outline-offset: 2px;
}

.circle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 3px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.circle-link:hover .circle-icon {
    background: linear-gradient(135deg, #336699, #2c5aa0);
    border-color: #336699;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.circle-text {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.circle-link:hover .circle-text {
    color: #336699;
}

/* ========================================
   Googleマップセクション
======================================== */
.map-section {
    margin: 30px 0;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.map-header {
    background: linear-gradient(to right, #4a90e2, #2c5aa0);
    color: white;
    padding: 12px 20px;
}

.map-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: white;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%; /* 5:2 アスペクト比 */
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.map-info p {
    margin: 5px 0;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.map-info strong {
    color: #336699;
    font-size: 14px;
}

/* ========================================
   News & Map 隣り合わせセクション - 重要度高いスタイル
======================================== */
section.news-map-section {
    margin: 30px 0 !important;
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 20px !important;
    max-width: 1000px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

section.news-map-section .news-column {
    width: 100% !important;
    grid-column: 1 !important;
}

section.news-map-section .map-column {
    width: 100% !important;
    grid-column: 2 !important;
}

section.news-map-section .news-column .updates-section {
    margin: 0 !important;
    max-height: 500px !important;
    overflow: hidden !important;
}

section.news-map-section .news-column .updates-list {
    max-height: 400px !important;
    overflow-y: auto !important;
    padding-right: 10px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    background: white !important;
    border: 1px solid #ddd !important;
}

/* スクロールバーのスタイリング - より強力なセレクター */
section.news-map-section .news-column .updates-list::-webkit-scrollbar {
    width: 8px !important;
}

section.news-map-section .news-column .updates-list::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

section.news-map-section .news-column .updates-list::-webkit-scrollbar-thumb {
    background: #336699 !important;
    border-radius: 4px !important;
}

section.news-map-section .news-column .updates-list::-webkit-scrollbar-thumb:hover {
    background: #2c5aa0 !important;
}

section.news-map-section .map-column .map-section {
    margin: 0 !important;
    height: auto !important;
}

section.news-map-section .map-column .map-container {
    padding-bottom: 75% !important;
}

/* ========================================
   右カラム - サイドバー
======================================== */
.sidebar {
    background: #f8f9fa;
}

.sidebar-section {
    background: white;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.sidebar-header {
    background: #333;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: bold;
}

.sidebar-content {
    padding: 12px;
}

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

.sidebar-menu li {
    border-bottom: 1px dotted #ccc;
    padding: 6px 0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    color: #333;
    font-size: 11px;
    display: block;
    padding: 2px 0;
}

.sidebar-menu a:hover {
    color: #336699;
    text-decoration: underline;
}

/* ========================================
   ボトムセクション - バナー/リンク
======================================== */
.bottom-section {
    background: #f0f8ff;
    padding: 20px 0;
    margin-top: 30px;
}

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

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

.banner-item {
    background: white;
    border: 1px solid #ddd;
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.3s;
}

.banner-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.banner-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #336699;
}

.banner-title {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.banner-text {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
}

/* ========================================
   お知らせ・更新情報
======================================== */
.updates-section {
    margin: 20px 0;
}

.updates-header {
    background: #f0f0f0;
    padding: 8px 12px;
    border-left: 3px solid #336699;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.updates-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    border: 1px solid #ddd;
}

.updates-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    font-size: 11px;
}

.updates-list li:last-child {
    border-bottom: none;
}

.update-date {
    color: #666;
    white-space: nowrap;
    min-width: 70px;
    margin-right: 10px;
}

.update-title {
    color: #333;
    line-height: 1.4;
}

.update-title:hover {
    color: #336699;
    text-decoration: underline;
}

/* ========================================
   会社情報ボックス
======================================== */
.company-info {
    background: #fffef0;
    border: 1px solid #ddd;
    padding: 12px;
    margin: 15px 0;
}

.company-info h4 {
    font-size: 12px;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.company-info p {
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.4;
}

.company-info .phone {
    font-size: 14px;
    font-weight: bold;
    color: #c61a1a;
}

/* ========================================
   当社の取り組みページ専用スタイル
======================================== */

/* 取り組みページ全体 */
.initiatives-main section {
    margin: 40px 0;
    padding: 20px 0;
}

/* SDGsセクション */
.sdgs-section {
    margin: 30px 0;
}

.sdgs-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sdgs-logo {
    flex: 0 0 300px;
}

.sdgs-logo img {
    width: 100%;
    height: auto;
}

.sdgs-text {
    flex: 1;
}

.sdgs-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 画像・テキスト交互レイアウト */
.content-with-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.text-content {
    flex: 1;
}

.text-content p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.image-content {
    flex: 0 0 300px;
}

.image-content img {
    width: 100%;
    height: auto;
}

/* 奇数セクション（テキスト左、画像右） */
.sustainable-section .content-with-image,
.technology-section .content-with-image,
.work-study-section .content-with-image,
.global-technology-section .content-with-image {
    flex-direction: row;
}

/* 偶数セクション（画像左、テキスト右） */
.environment-section .content-with-image,
.happiness-section .content-with-image,
.international-section .content-with-image {
    flex-direction: row-reverse;
}

/* ========================================
   新たな挑戦ページ専用スタイル
======================================== */

/* 新たな挑戦ページ全体 */
.new-try-main {
    margin: 20px 0;
}

/* チャレンジボックス */
.challenge-box {
    margin: 20px 0;
    border: 1px solid #ddd;
}

.challenge-box.green-header .challenge-title {
    background-color: #4CAF50;
    color: white;
    margin: 0;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
}

.challenge-content-row {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.challenge-text {
    flex: 2;
}

.challenge-image {
    flex: 1;
    text-align: center;
}

.challenge-image img {
    max-width: 100%;
    height: auto;
}

.challenge-content {
    padding: 20px;
}

.challenge-content p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.animal-image {
    text-align: center;
    margin: 20px 0;
}

.animal-image img {
    max-width: 100%;
    height: auto;
}

/* チャレンジコンテンツ */
.challenge-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.challenge-text {
    flex: 1;
}

.challenge-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.challenge-text ul {
    margin: 10px 0;
    padding-left: 20px;
}

.challenge-text li {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 5px;
}

/* 製品画像 */
.challenge-images {
    flex: 0 0 400px;
    display: flex;
    gap: 20px;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* 切断デモと動画 */
.cutting-demo {
    margin: 30px 0;
}

.cutting-demo h3 {
    margin-bottom: 15px;
}

.video-content {
    text-align: center;
    margin: 20px 0;
}

.video-content iframe {
    max-width: 100%;
}

/* 動画セクション */
.video-section {
    padding: 20px;
}

.video-row {
    display: flex;
    gap: 30px;
    justify-content: center;
}

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

.video-item p {
    font-size: 12px;
    margin-bottom: 8px;
}

.video-item h4 {
    font-size: 13px;
    margin-bottom: 10px;
}

/* 重量比較セクション */
.weight-comparison-section {
    padding: 20px;
}

.weight-item-small,
.weight-item-large {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: flex-start;
}

.weight-spec-text {
    flex: 1;
}

.weight-spec-text h4 {
    font-size: 13px;
    margin-bottom: 10px;
}

.weight-spec-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.weight-images-small,
.weight-images-large {
    display: flex;
    gap: 15px;
    flex: 1;
}

.weight-images-small img,
.weight-images-large img {
    width: 150px;
    height: auto;
}

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

.weight-comparison-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.size-comparison {
    margin: 20px 0;
    text-align: center;
}

.size-comparison img {
    width: 200px;
    height: auto;
}

.comparison-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 15px 0;
}

.comparison-images img {
    width: 120px;
    height: auto;
}

/* アニマル切り抜き */
.animal-cutting {
    margin: 30px 0;
}

.cutting-videos {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.video-item {
    flex: 1;
    text-align: center;
}

.video-item h4 {
    margin-bottom: 15px;
}

.animals-showcase {
    margin: 40px 0;
}

/* 動物グリッド */
.animals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 20px;
    padding: 20px;
}

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

.animal-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.animal-item p {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
}

/* 新たな挑戦3 */
.challenge-content-final {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.newspaper-left {
    flex: 1;
}

.newspaper-left img {
    width: 100%;
    height: auto;
}

.bed-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bed-image {
    text-align: center;
}

.bed-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.bed-description p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ベッド画像 */
.bed-images {
    flex: 0 0 400px;
    display: flex;
    gap: 20px;
}

.bed-image {
    flex: 1;
}

.bed-image img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* 新聞掲載セクション */
.newspaper-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.newspaper-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.newspaper-image {
    flex: 0 0 300px;
}

.newspaper-image img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.newspaper-text {
    flex: 1;
}

.newspaper-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ========================================
   会社案内ページ専用スタイル（スクリーンショット準拠）
======================================== */

/* ごあいさつセクション */
.greeting-section {
    margin: 15px 0;
}

.greeting-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.greeting-text {
    flex: 0 0 60%;
}

.greeting-text p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
}

.greeting-text p:first-child {
    font-weight: bold;
}

.greeting-photo {
    flex: 0 0 40%;
    text-align: center;
}

.greeting-photo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 1px solid #ccc;
}

/* ========================================
   SDGs ページ専用スタイル
======================================== */

/* SDGsページ全体 */
.sdgs-main {
    margin: 20px 0;
}

.sdgs-main h1 {
    background: #1976d2;
    color: white;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: bold;
}

/* SDGsヘッダーセクション */
.sdgs-header {
    margin-bottom: 20px;
}

/* SDGsロゴとテキストセクション */
.sdgs-intro-section {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.sdgs-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.sdgs-logo-main {
    text-align: center;
}

.sdgs-logo-main img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.sdgs-intro-text {
    text-align: center;
}

.sdgs-intro-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* SDGsへの取り組みセクション */
.sdgs-initiatives {
    margin: 40px 0;
}

.sdgs-initiatives h2 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
}

.sdgs-initiatives h2:before {
    content: "■";
    color: #1976d2;
    margin-right: 8px;
}

/* イニシアティブグリッド */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.initiative-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    gap: 10px;
}

.initiative-icon {
    text-align: center;
}

.initiative-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.initiative-text {
    text-align: center;
}

.initiative-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* SDGsの具体的な取り組みセクション */
.sdgs-specific-section {
    margin: 40px 0;
}

.sdgs-specific-section h2 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
}

.sdgs-specific-section h2:before {
    content: "■";
    color: #1976d2;
    margin-right: 8px;
}

/* 具体的な取り組み項目 */
.specific-item {
    margin: 30px 0;
    border: 1px solid #ddd;
}

.specific-header {
    background-color: #8B4513;
    color: white;
    padding: 10px 15px;
    margin: 0;
}

.specific-header h3 {
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    color: white;
    border: none;
    padding: 0;
}

.specific-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
}

.specific-image {
    flex: 0 0 300px;
    text-align: center;
}

.specific-image img {
    width: 100%;
    height: auto;
    max-width: 280px;
}

.specific-text {
    flex: 1;
}

.specific-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.specific-icon {
    flex: 0 0 80px;
    text-align: center;
}

.specific-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* 今後SDGsで挑戦したいことセクション */
.future-challenges {
    margin: 40px 0;
    padding: 20px;
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
}

.future-challenges h2 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
}

.future-challenges h2:before {
    content: "■";
    color: #1976d2;
    margin-right: 8px;
}

.challenges-list p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #333;
}

/* トイレットペーパーストッカーセクション */
.toilet-paper-section {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.toilet-paper-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.toilet-paper-image {
    flex: 0 0 200px;
    text-align: center;
}

.toilet-paper-image img {
    width: 100%;
    height: auto;
    max-width: 180px;
}

.toilet-paper-text {
    flex: 1;
}

.toilet-paper-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.toilet-paper-icon {
    flex: 0 0 80px;
    text-align: center;
}

.toilet-paper-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* ========================================
   取り数計算作成ページ専用スタイル
======================================== */

/* 取り数計算ページ全体 */
.calculation-main {
    margin: 20px 0;
}

.calculation-main h1 {
    background: #FF8C00;
    color: white;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: bold;
}

.calculation-main h2 {
    background: #FF8C00;
    color: white;
    padding: 8px 15px;
    margin: 30px 0 15px 0;
    font-size: 13px;
    font-weight: bold;
    border: none;
}

.calculation-main h2:before {
    content: "";
    margin: 0;
}

/* 計算説明セクション */
.calculation-intro,
.example-section,
.automation-section,
.method-section,
.diagram-section,
.efficiency-section {
    margin: 20px 0;
}

.calculation-intro p,
.example-section p,
.automation-section p,
.method-section p,
.diagram-section p,
.efficiency-section p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 計算表 */
.calculation-table {
    margin: 20px 0;
    overflow-x: auto;
}

.calculation-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.calculation-table th,
.calculation-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
}

.calculation-table th {
    background-color: #e0e0e0;
    font-weight: bold;
}

.calculation-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

/* 動画デモ */
.video-demo {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.video-demo iframe {
    max-width: 100%;
    height: auto;
}

/* 図解セクション */
.diagram-content {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.diagram-left,
.diagram-right {
    flex: 1;
}

.diagram-images {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    min-height: 200px;
}

/* 効率化提案セクション */
.efficiency-section {
    background-color: #f0f8ff;
    padding: 20px;
    border: 1px solid #b3d9ff;
    margin: 30px 0;
}

/* ========================================
   社内研修ページ専用スタイル
======================================== */

/* 社内研修ページ全体 */
.training-main {
    margin: 20px 0;
}

/* 社内研修ページ専用リセット */
.training-main * {
    box-sizing: border-box;
}

.training-main h1,
.training-main h2,
.training-main div,
.training-main p {
    float: none !important;
    position: static !important;
}

/* 基本のh2スタイルを社内研修ページでは無効化 */
.training-main h2 {
    border-bottom: none !important;
    position: static !important;
}

.training-main h2:before {
    display: none !important;
}

/* 2020年研修セクション */
.training-2020 h1 {
    background: #FF8C00;
    color: white;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: bold;
}

/* 2019年研修セクション */
.training-2019 h1 {
    background: #4CAF50;
    color: white;
    padding: 8px 20px;
    margin: 30px 0 20px 0;
    font-size: 14px;
    font-weight: bold;
}

/* 奉仕活動ヘッダー（仕事紹介と同じデザイン） */
.training-main .service-section h2 {
    background: #FFE5B4 !important;
    color: #333 !important;
    padding: 8px 15px !important;
    margin: 30px 0 15px 0 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    border: none !important;
    border-bottom: none !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    position: static !important;
}

.training-main .service-section h2:before {
    content: "" !important;
    margin: 0 !important;
    display: none !important;
}

/* 仕事紹介ヘッダー（通常デザイン） */
.training-main .job-intro-section h2 {
    background: #FFE5B4 !important;
    color: #333 !important;
    padding: 8px 15px !important;
    margin: 30px 0 15px 0 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    border: none !important;
    border-bottom: none !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    position: static !important;
}

.training-main .job-intro-section h2:before {
    content: "" !important;
    margin: 0 !important;
    display: none !important;
}

/* テキストコンテンツ */
.training-intro p,
.service-content p,
.job-intro-content p,
.training-2019-content p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* セクション全体：縦積み構造 */
.training-2020,
.service-section,
.job-intro-section,
.training-2019 {
    display: block;
    width: 100%;
    margin: 30px 0;
    clear: both;
    overflow: hidden;
}

/* すべてのh1, h2要素を強制的にブロック化 */
.training-main h1,
.training-main h2 {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    margin: 30px 0 15px 0 !important;
}

/* テキストコンテンツ */
.training-intro,
.service-content,
.job-intro-content,
.training-2019-content {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    margin: 15px 0 !important;
}

/* 写真レイアウト：横並び */
.training-photos,
.service-photos {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: flex-start;
}

.training-photos img,
.service-photos img {
    width: 300px;
    height: auto;
    border: 1px solid #ddd;
}

/* 単体写真 */
.job-intro-photo {
    display: block;
    text-align: center;
    margin: 20px 0;
}

.job-intro-photo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .training-photos,
    .service-photos {
        flex-direction: column;
        align-items: center;
    }
    
    .training-photos img,
    .service-photos img {
        width: 100%;
        max-width: 400px;
    }
}

.job-intro-photo {
    text-align: center;
    margin: 20px 0;
}

.job-intro-photo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* セクション間隔 */
.training-2020,
.service-section,
.job-intro-section,
.training-2019 {
    margin: 40px 0;
}

/* ========================================
   QAページ専用スタイル
======================================== */

/* QAページ全体 */
.qa-main {
    margin: 20px 0;
}

.qa-main h1 {
    background: #1976d2;
    color: white;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: bold;
}

/* お問い合わせ導入文 */
.contact-intro {
    margin: 20px 0;
}

.contact-intro p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* お問い合わせボタン */
.contact-button-section {
    text-align: center;
    margin: 30px 0;
}

.contact-button {
    display: inline-block;
    background: #00bcd4;
    color: white;
    padding: 12px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.contact-button:hover {
    background: #0097a7;
    color: white;
    text-decoration: none;
}

/* お問い合わせ例 */
.contact-examples {
    margin: 30px 0;
}

.contact-examples p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Q&Aセクション */
.qa-section h2 {
    background: #00bcd4;
    color: white;
    padding: 8px 20px;
    margin: 30px 0 20px 0;
    font-size: 14px;
    font-weight: bold;
    border: none;
}

.qa-section h2:before {
    content: "";
    margin: 0;
}

/* Q&A項目 */
.qa-list {
    margin: 20px 0;
}

.qa-item {
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.question,
.answer {
    flex: 1;
}

.question h3,
.answer h3 {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
    border: none;
    padding: 0;
}

.question h3:before,
.answer h3:before {
    content: "";
    margin: 0;
}

.question p,
.answer p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.answer a {
    color: #1976d2;
    text-decoration: underline;
}

.answer a:hover {
    color: #c61a1a;
}

/* ========================================
   お問い合わせフォームページ専用スタイル
======================================== */

/* お問い合わせフォームページ全体 */
.contact-form-main {
    margin: 20px 0;
}

.contact-form-main h1 {
    background: #1976d2;
    color: white;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: bold;
}

/* フォーム導入文 */
.form-intro {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.form-intro p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.required-note {
    color: #c61a1a;
    font-weight: bold;
}

/* フォーム全体 */
.contact-form {
    margin: 30px 0;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

/* フォーム行 */
.form-row {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form-label {
    width: 150px;
    padding: 8px 10px;
    background-color: #e0e0e0;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.form-inputs {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 必須マーク */
.required {
    color: #c61a1a;
    font-weight: bold;
    margin-left: 3px;
}

/* 入力フィールド */
.form-inputs input[type="text"],
.form-inputs input[type="email"],
.form-inputs select,
.form-inputs textarea {
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 12px;
    background-color: white;
}

/* 名前入力（姓・名） */
.name-inputs input {
    width: 150px;
}

/* 郵便番号入力 */
.postal-inputs input {
    width: 80px;
}

/* 電話番号入力 */
.phone-inputs input {
    width: 80px;
}

/* 区切り文字 */
.separator {
    font-size: 12px;
    color: #333;
}

/* セレクトボックス */
.form-inputs select {
    width: 200px;
    margin-right: 10px;
}

/* 住所入力 */
.form-inputs input[name="address"] {
    flex: 1;
    min-width: 300px;
}

/* メールアドレス入力 */
.email-inputs {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.email-inputs input {
    width: 300px;
}

/* テキストエリア */
.form-inputs textarea {
    width: 100%;
    max-width: 500px;
    min-height: 120px;
    resize: vertical;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin: 30px 0;
}

.submit-button {
    background: #28a745;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.submit-button:hover {
    background: #218838;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .form-inputs {
        width: 100%;
    }
    
    .name-inputs,
    .postal-inputs,
    .phone-inputs {
        flex-wrap: wrap;
    }
    
    .email-inputs input,
    .form-inputs input[name="address"] {
        width: 100%;
        max-width: none;
    }
}

/* ========================================
   当社の強み - 7:3カラムレイアウト
======================================== */
.small-lot-section,
.low-cost-section,
.short-delivery-section,
.no-refusal-section,
.footwork-section,
.small-variety-section {
    margin: 40px 0;
}

.feature-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 15px;
}

/* 当社が選ばれる理由ページ - 全セクション画像左、テキスト右 */
.no-refusal-section .feature-content,
.footwork-section .feature-content,
.small-variety-section .feature-content {
    flex-direction: row-reverse;
}

/* ========================================
   年間スケジュールページ
======================================== */
.schedule-intro {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #1976d2;
}

.schedule-intro p {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.6;
}

.schedule-intro ul {
    margin: 8px 0 8px 20px;
}

.schedule-intro li {
    font-size: 11px;
    margin-bottom: 4px;
}

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

.schedule-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.monthly-schedule {
    margin: 40px 0;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.month-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.month-header {
    background: #1976d2;
    color: white;
    padding: 8px 12px;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
}

.month-content {
    padding: 12px;
    min-height: 80px;
}

.month-content p {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.month-content strong {
    color: #1976d2;
    font-weight: bold;
}

.back-to-top {
    text-align: right;
    margin: 40px 0 20px 0;
}

.back-to-top a {
    font-size: 11px;
    color: #1976d2;
    text-decoration: none;
}

.back-to-top a:hover {
    color: #c61a1a;
    text-decoration: underline;
}

/* ========================================
   加工事例ページ - 4カラムレイアウト
======================================== */
.processing-examples-section {
    margin: 20px 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.example-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #f9f9f9;
}

.example-item h2 {
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
}

.example-image {
    text-align: center;
    margin-bottom: 15px;
}

.example-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.bus-item {
    grid-column: span 2;
}

.bus-images {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.bus-images img {
    width: 180px;
    height: auto;
    border: 1px solid #ccc;
}

.example-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.example-details li {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 4px;
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bus-item {
        grid-column: span 1;
    }
    
    .bus-images {
        flex-direction: column;
        align-items: center;
    }
    
    .bus-images img {
        width: 250px;
    }
}

.feature-text {
    flex: 0 0 70%;
}

.feature-text p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
}

.feature-image {
    flex: 0 0 30%;
    text-align: center;
}

.feature-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border: 1px solid #ccc;
}

.short-delivery-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 15px;
}

.delivery-text {
    flex: 0 0 70%;
}

.delivery-text p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
}

.delivery-calendar {
    flex: 0 0 30%;
    text-align: center;
}

.delivery-calendar img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border: 1px solid #ccc;
}

/* 会社概要セクション */
.company-overview {
    margin: 30px 0;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.company-table th {
    background: #f8f8f8;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
    width: 100px;
    vertical-align: top;
}

.company-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    line-height: 1.4;
    vertical-align: top;
}

/* 主要取引先・仕入先 */
.business-partners {
    margin: 25px 0;
}

.partners-grid {
    display: flex;
    gap: 40px;
}

.partners-column {
    flex: 1;
}


.partners-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 10px;
}

.partners-column li {
    padding: 2px 0;
    color: #333;
}

.partners-column a {
    color: #336699;
    text-decoration: none;
}

.partners-column a:hover {
    color: #c61a1a;
    text-decoration: underline;
}

/* 沿革セクション */
.company-history {
    margin: 30px 0;
}


.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.history-table th {
    background: #f8f8f8;
    padding: 6px 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
    width: 80px;
    vertical-align: top;
}

.history-table td {
    padding: 6px 10px;
    border: 1px solid #ddd;
    line-height: 1.4;
    vertical-align: top;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .greeting-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .greeting-photo {
        order: -1;
        align-self: center;
    }
    
    .partners-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   当社の強みページ専用スタイル
======================================== */
.section-header {
    background: #1976d2;
    color: white;
    padding: 10px 20px;
    margin: 30px 0 20px 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
}

.section-intro {
    margin: 20px 0 40px 0;
    line-height: 1.6;
}

.section-intro p {
    margin-bottom: 10px;
    font-size: 11px;
}

.materials-title {
    font-size: 16px;
    font-weight: bold;
    margin: 30px 0 20px 0;
    color: #333;
}

.materials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0 40px 0;
}

.material-item {
    border: 1px solid #ddd;
    background: white;
}

.material-content {
    padding: 15px;
}

.material-content h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.material-content img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    max-width: 200px;
}

.material-content p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.commitment-title {
    font-size: 16px;
    font-weight: bold;
    margin: 40px 0 20px 0;
    color: #333;
}

.commitment-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.commitment-text {
    flex: 2;
}

.commitment-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.commitment-text strong {
    font-weight: bold;
}

.commitment-image {
    flex: 1;
    text-align: center;
}

.commitment-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border: 1px solid #ddd;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .commitment-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .commitment-image {
        order: -1;
    }
}

/* ========================================
   断熱工事ページ専用スタイル
======================================== */
.construction-intro h3, .ecotech-section h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 20px 0 15px 0;
    color: #333;
}

.construction-intro p, .ecotech-section p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    position: relative;
}

.feature-item.pink {
    background: #f8e6e6;
    border: 1px solid #e0b4b4;
}

.feature-number {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #d63384;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    line-height: 25px;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
    font-weight: normal;
}

.photo-comparison {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.photo-item {
    flex: 1;
}

.photo-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.photo-caption {
    font-size: 12px;
    margin: 5px 0;
    font-weight: bold;
}

.photo-description {
    margin: 20px 0;
}

.photo-description p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.wall-floor-section h3, .ventilation-method h3, .construction-photos h3 {
    font-size: 13px;
    font-weight: bold;
    margin: 25px 0 10px 0;
    color: #333;
}

.wall-floor-section p, .ventilation-method p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.insulation-effects h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 30px 0 20px 0;
    color: #333;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.effect-item {
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.3;
}

.effect-item.green {
    background: #e8f5e8;
    border: 1px solid #8bc34a;
    color: #2e7d32;
}

.inspection-videos {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.video-item {
    flex: 1;
    text-align: center;
}

.video-item iframe {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

.video-item p {
    font-size: 11px;
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .effects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .photo-comparison, .inspection-videos {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================
   ウォータージェット加工ページ専用スタイル
======================================== */
.waterjet-intro h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 20px 0 15px 0;
    color: #333;
}

.intro-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.intro-text {
    flex: 2;
}

.intro-text p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.intro-text ul {
    margin: 10px 0 15px 20px;
    font-size: 12px;
}

.intro-text ul li {
    margin-bottom: 5px;
}

.intro-image {
    flex: 1;
    text-align: center;
}

.intro-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border: 1px solid #ddd;
}

.features-waterjet {
    margin: 30px 0;
}

.feature-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.feature-box {
    flex: 1;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.feature-box h4 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1976d2;
}

.feature-box p {
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}

.cutting-results p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.materials-lists {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.materials-column {
    flex: 1;
}

.materials-column h4 {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.materials-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.materials-column li {
    font-size: 11px;
    padding: 3px 0;
    border-bottom: 1px dotted #ddd;
}

.materials-column li:last-child {
    border-bottom: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .materials-lists {
        flex-direction: column;
        gap: 20px;
    }
}


/* ========================================
   フッター - 3カラムレイアウト
======================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #ddd;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 左カラム：ロゴ縦積み */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

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

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

/* 中央カラム：テキストリンクメニュー */
.footer-center {
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    width: 100%;
    max-width: 400px;
}

.footer-menu a {
    color: #333;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-menu a:hover {
    color: #336699;
    text-decoration: none;
    border-bottom-color: #336699;
}

/* 右カラム：お問い合わせボタン */
.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-contact-btn {
    background: #dc3545;
    color: white;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-contact-btn:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ========================================
   ウォータージェットと断熱材施工セクション
======================================== */
.service-section {
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-item {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #90caf9;
}

.service-item h3 {
    font-size: 14px;
    color: #1976d2;
    margin-bottom: 10px;
    font-weight: bold;
}

.service-item p {
    font-size: 11px;
    color: #333;
    line-height: 1.5;
}

.service-button {
    background: #1976d2;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 11px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}

.service-button:hover {
    background: #1565c0;
    color: white;
    text-decoration: none;
}

/* ========================================
   固定ページスタイル
======================================== */
.page-header {
    background: #f0f8ff;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.page-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Container for page headers */
.page-header .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.entry-content h2 {
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #336699;
    padding-bottom: 5px;
    margin: 30px 0 15px 0;
}

.entry-content h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px 0;
}

.entry-content p {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.7;
}

.entry-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 5px;
    font-size: 12px;
}

/* 強みページ専用スタイル */
.strength-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    background: #fafafa;
}

.strength-content {
    margin-top: 10px;
}

/* ウォータージェットページ専用スタイル */
.waterjet-section {
    margin-bottom: 30px;
}

.tech-specs {
    background: #f8f9fa;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #ddd;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.spec-item {
    text-align: center;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
}

.spec-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 16px;
    font-weight: bold;
    color: #336699;
}

.spec-features h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.material-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 15px 0;
}

.material-category {
    background: #f8f9fa;
    padding: 15px;
    border: 1px solid #ddd;
}

.material-category h3 {
    font-size: 14px;
    color: #336699;
    margin-bottom: 10px;
    text-align: center;
}

.case-examples {
    display: grid;
    gap: 15px;
}

.case-item {
    background: #f8f9fa;
    padding: 15px;
    border: 1px solid #ddd;
}

.case-item h4 {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

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

.delivery-item {
    background: #f8f9fa;
    padding: 15px;
    border: 1px solid #ddd;
}

.delivery-item h4 {
    font-size: 13px;
    color: #336699;
    margin-bottom: 8px;
}

/* お問い合わせページ専用スタイル */
.contact-methods {
    margin-bottom: 30px;
}

.contact-options {
    display: grid;
    gap: 20px;
}

.contact-option {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #ddd;
}

.contact-option h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.contact-detail .phone-large {
    font-size: 20px;
    font-weight: bold;
    color: #c61a1a;
    margin: 10px 0;
}

.contact-form-section {
    margin: 30px 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.required {
    color: #c61a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    font-size: 12px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 14px;
}

.company-detail {
    margin: 30px 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.info-table th,
.info-table td {
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    text-align: left;
}

.info-table th {
    background: #f0f0f0;
    font-weight: bold;
    width: 30%;
}

/* CTAセクション */
.cta-section {
    background: #f0f8ff;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    border: 1px solid #ddd;
}

.cta-content h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #c61a1a;
}

.cta-buttons {
    margin-top: 15px;
}

/* サイドバー現在ページ表示 */
.sidebar-menu a.current {
    color: #c61a1a;
    font-weight: bold;
}

.urgent-contact {
    background: #fff8f0;
    border: 2px solid #ff9800;
}

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu li {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .hero-section {
        height: 200px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .newspaper-image img {
        max-width: 280px;
    }
    
    .cards-grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .circle-links-container {
        gap: 40px;
    }
    
    .circle-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .circle-text {
        font-size: 13px;
    }
    
    .map-container {
        padding-bottom: 50%; /* モバイルで少し高めに */
    }
    
    .map-info {
        padding: 15px;
    }
    
    .map-info p {
        font-size: 12px;
    }
    
    section.news-map-section {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    section.news-map-section .news-column .updates-list {
        max-height: 300px !important;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }
    
    .hero-title {
        font-size: 16px;
    }
    
    .newspaper-image img {
        max-width: 220px;
    }
    
    .updates-list li {
        flex-direction: column;
        gap: 3px;
    }
    
    .update-date {
        min-width: auto;
    }
    
    .circle-links-container {
        gap: 30px;
    }
    
    .circle-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }
    
    .circle-text {
        font-size: 12px;
    }
    
    .map-container {
        padding-bottom: 60%; /* スマホで更に高めに */
    }
    
    .map-info {
        padding: 12px;
    }
    
    .map-info p {
        font-size: 11px;
    }
    
    .map-title {
        font-size: 14px;
    }
    
    /* フッターレスポンシブ（スマホ） */
    .footer-menu {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        max-width: 300px !important;
    }
    
    .footer-menu a {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
    
    .footer-contact-btn {
        font-size: 13px !important;
        padding: 12px 25px !important;
    }
    
    .footer-logos {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

/* ========================================
   断熱工事ページスタイル
======================================== */
.construction-section {
    margin: 20px 0;
}

.construction-section section {
    margin: 40px 0;
}

.construction-section .ecotech-section,
.construction-section .four-principles-section,
.construction-section .ceiling-section,
.construction-section .wall-section,
.construction-section .floor-foundation-section,
.construction-section .ventilation-measurement-section,
.construction-section .heat-shield-method-section,
.construction-section .insulation-effects-section {
    margin: 50px 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.principles-grid img {
    width: 100%;
    height: auto;
}

.effects-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
}

.effects-row-1 {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.effects-row-1 img {
    width: 160px !important;
    height: auto !important;
}

.effects-row-2 {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.effects-row-2 img {
    width: 160px !important;
    height: auto !important;
}

.effects-grid img {
    width: 100%;
    height: auto;
}

.ceiling-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
    align-items: start;
}

.ceiling-photos .photo-item {
    text-align: center;
}

.ceiling-photos .photo-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 1px solid #ccc;
}

.ceiling-photos .photo-caption {
    font-size: 12px;
    margin-top: 5px;
    color: #333;
}

.ceiling-text {
    padding: 0 10px;
}

.ceiling-text p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ウォータージェットページの画像サイズ調整 */
.waterjet-section .intro-image img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.videos-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 20px 0;
}

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

.video-item iframe {
    border: 1px solid #ccc;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .effects-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .effects-grid img:nth-child(n+4) {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ========================================
   加工事例ページ - 4ブロックグリッドレイアウト
======================================== */
.processing-examples-section {
    margin: 20px 0;
}

.examples-sections {
    margin-top: 20px;
}

.example-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.example-section:last-child {
    border-bottom: none;
}

.example-section h2 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 5px;
}

.example-section h2:before {
    content: "■";
    color: #1976d2;
    margin-right: 8px;
}

.example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.grid-item {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item.image-item {
    border: none;
    background: transparent;
}

.grid-item.image-item img {
    max-width: 100%;
    max-height: 140px;
    height: auto;
    object-fit: contain;
}

.grid-item.text-item {
    border: none;
    background: transparent;
    padding: 10px;
    align-items: flex-start;
}

.grid-item.text-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.grid-item.text-item li {
    font-size: 11px;
    padding: 2px 0;
    line-height: 1.4;
    color: #333;
}

.grid-item.empty-item {
    background: transparent;
    border: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .example-grid {
        max-width: 100%;
        gap: 10px;
    }
    
    .grid-item {
        min-height: 120px;
    }
    
    .grid-item.text-item li {
        font-size: 10px;
    }
}

/* ========================================
   最終確実適用 - News & Map 2カラム + スクロール
======================================== */
/* 絶対確実な2カラムレイアウト */
.news-map-section {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    max-width: 1000px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.news-column {
    flex: 1.2 !important;
    min-width: 0 !important;
}

.map-column {
    flex: 0.8 !important;
    min-width: 0 !important;
}

/* 絶対確実なスクロール設定 */
.news-column .updates-list {
    height: 400px !important;
    overflow-y: scroll !important;
    border: 1px solid #ddd !important;
    background: white !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* スクロールバー */
.news-column .updates-list::-webkit-scrollbar {
    width: 8px !important;
}

.news-column .updates-list::-webkit-scrollbar-thumb {
    background: #336699 !important;
    border-radius: 4px !important;
}

/* マップのレスポンシブ無効化 */
.map-container iframe {
    width: 100% !important;
    height: 300px !important;
    border: 0 !important;
}

/* モバイル対応 - インラインスタイルをオーバーライド */
@media (max-width: 768px) {
    .news-map-section[style] {
        flex-direction: column !important;
    }
    
    .news-column[style], .map-column[style] {
        flex: 1 !important;
    }
    
    .news-column .updates-list[style] {
        height: 250px !important;
    }
    
    /* フッター3カラム - モバイル対応 */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-left {
        align-items: center !important;
        gap: 15px !important;
    }
    
    .footer-center {
        justify-content: center !important;
    }
    
    .footer-menu {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        max-width: 250px !important;
    }
    
    .footer-menu a {
        font-size: 11px !important;
        padding: 8px 0 !important;
    }
    
    .footer-right {
        justify-content: center !important;
    }
    
    .footer-contact-btn {
        font-size: 13px !important;
        padding: 12px 25px !important;
    }
    
    .footer-main-logo img {
        height: 50px !important;
    }
    
    .footer-recruit-logo img {
        height: 40px !important;
    }
}


