/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* =========================================================================
   Header Styles
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.site-header:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(238, 238, 238, 0.8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

/* --- Desktop Navigation --- */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    position: relative;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-menu li a span {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;
}

.site-header .nav-menu a:hover {
    color: #007BFF;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* --- Header Text Color States --- */
.site-header:not(.header-scrolled):hover .mobile-menu-toggle span {
    background: #333 !important;
}

.site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header:not(.header-scrolled):hover {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header:not(.header-scrolled):hover .nav-menu a {
    color: #333 !important;
    text-shadow: none;
}

/* ページトップでは白文字 */
.site-header:not(.header-scrolled) .nav-menu a {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* スクロール後、またはホバー時の文字色 */
.site-header.header-scrolled .nav-menu a {
    color: #333 !important;
    text-shadow: none !important;
}

/* --- Mobile Navigation (Hamburger) --- */
.mobile-menu-toggle {
    display: none; /* Initially hidden on desktop */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    margin: 3px 0;
    transition: background-color 0.3s ease;
}

.site-header:not(.header-scrolled) .mobile-menu-toggle span {
    background: white !important;
}

.site-header.header-scrolled .mobile-menu-toggle span,
.site-header .mobile-menu-toggle.is-open span {
    background: #333 !important;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(238, 238, 238, 0.8);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu li a {
    text-decoration: none;
    color: #333 !important;
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.5);
    transition: color 0.3s ease;
}

.mobile-nav-menu li a:hover {
    color: #007BFF !important;
}


/* =========================================================================
   Page Sections
   ========================================================================= */

/* --- Hero Section --- */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background: url('/energy/images/header-background.jpg') center/cover no-repeat fixed;
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero.video-loaded {
    background: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- General Content Section Styles --- */
.company-section, .business-section, .stats-section, .news-section, .contact-section {
    padding: 100px 0;
}

/* --- Company Section --- */
.company-section {
    background: #f8f9fa;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-text h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.company-text h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 2rem;
}

.company-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.company-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Partners Section --- */
.partners-section {
    padding: 60px 0;
    background: white;
    overflow: hidden;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.partners-slider {
    overflow: hidden;
    white-space: nowrap;
}

.partners-track {
    display: inline-flex;
    animation: slide 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.partner-logo {
    height: 40px;
    margin: 0 40px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Business Sections --- */
.business-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.business-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    z-index: 1;
}

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

.Agrivoltaics-section {
    background-image: url('/energy/images/Agrivoltaics-background.jpg');
}

.self-consumption-section {
    background-image: url('/energy/images/selfconsumption-background.jpg');
}

.materials-section {
    background-image: url('/energy/images/materials-background.jpg');
}

.business-section h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.business-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.business-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.business-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

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

.more-btn {
    display: inline-block;
    padding: 15px 40px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.more-btn:hover {
    transform: translateY(-2px);
}

.company-section .more-btn { background: #333333; box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); }
.company-section .more-btn:hover { background: #495057; box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4); }
.Agrivoltaics-section .more-btn { background: #7ED321; box-shadow: 0 5px 15px rgba(126, 211, 33, 0.3); }
.Agrivoltaics-section .more-btn:hover { background: #6BB91D; box-shadow: 0 8px 25px rgba(126, 211, 33, 0.4); }
.self-consumption-section .more-btn { background: #F5A623; box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3); }
.self-consumption-section .more-btn:hover { background: #E6941A; box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4); }
.materials-section .more-btn { background: #007BFF; box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); }
.materials-section .more-btn:hover { background: #0056B3; box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4); }

/* --- Statistics Section --- */
.stats-section {
    background: url('/energy/images/vision-background.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    z-index: 1;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- News Section --- */
.news-section {
    background: white;
}

.news-section h2, .news-section h3 {
    text-align: center;
    color: #333;
}
.news-section h2 { font-size: 4rem; font-weight: 700; margin-bottom: 1rem; }
.news-section h3 { font-size: 1.8rem; font-weight: 500; color: #666; margin-bottom: 3rem; }

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    min-width: 100px;
}

.news-category {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    min-width: 80px;
    text-align: center;
}

.news-category.Agrivoltaics { background: #7ED321; }
.news-category.self-consumption { background: #F5A623; }
.news-category.materials { background: #007BFF; }
.news-category.general { background: #666; }

.news-title a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #007BFF;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.news-more a {
    color: #F5A623;
    text-decoration: none;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.news-more a:hover {
    border-bottom: 1px solid #F5A623;
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
    background: url('/energy/images/contact-background.jpg') center/cover no-repeat fixed;
    text-align: center;
    color: white;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

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

.contact-section h2, .contact-section h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.contact-section h2 { font-size: 4rem; font-weight: 700; margin-bottom: 1rem; }
.contact-section h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: 2rem; }
.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contact-btn {
    display: inline-block;
    padding: 20px 50px;
    background: #F5A623;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.3);
}

.contact-btn:hover {
    background: #E6941A;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.4);
}


/* =========================================================================
   New Footer Styles
   ========================================================================= */
.site-footer-new {
    background-color: #f8f9fa;
    color: #555;
    padding: 60px 0 20px 0;
    border-top: 1px solid #e9ecef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-info .footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-info .company-name {
    font-weight: bold;
    color: #333;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007BFF;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #007BFF;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
}
/* =========================================================================
   company Page Specific Styles
   ========================================================================= */
.company-hero {
    height: 50dvh; 
    min-height: 350px; 
    display: flex;
    align-items: center;     /* 垂直中央 */
    justify-content: center; /* 水平中央 */
    padding: 0;
    position: relative;
    background: url('/energy/images/company-image.jpg') center/cover no-repeat;
    background-attachment: fixed; 
    color: white;
    text-align: center;
    overflow: hidden;
}

/* 会社概要ページのヒーローにも暗いオーバーレイを追加 */
.company-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.company-hero .hero-content {
    position: relative;
    z-index: 2;
}

.com-business-section {
    position: relative;
    background: #f8f9fa;
    padding: 100px 0;
}

.com-business-section h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.com-business-section h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 4rem;
}

.com-business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.com-business-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.com-business-item:nth-child(even) {
    direction: rtl;
}

.com-business-item:nth-child(even) .business-text,
.com-business-item:nth-child(even) .business-image {
    direction: ltr;
}
    
.com-business-text {
    order: 1;
    padding: 1.5rem;
    text-align: left;
}

.com-business-text h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.com-business-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.com-business-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.com-Agrivoltaics-section {
    background-image: url('/energy/images/Agrivoltaics-background.jpg');
}

.com-self-consumption-section {
    background-image: url('/energy/images/selfconsumption-background.jpg');
}

.com-materials-section {
    background-image: url('/energy/images/materials-background.jpg');
}

.com-business-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.com-button-container {
    text-align: center;
    margin: 2rem 0;
}

.business-btn {
    display: inline-block !important;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
    min-width: 120px;
    text-align: center;
    line-height: 1;
}

.business-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white !important;
    text-decoration: none !important;
}

.business-btn.disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.business-btn.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

/* エネルギー事業のボタン - 青 */
.com-business-item:nth-child(1) .business-btn {
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 100%) !important;
}

.com-business-item:nth-child(1) .business-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 教育事業のボタン - オレンジ */
.com-business-item:nth-child(2) .business-btn {
    background: linear-gradient(135deg, #F5A623 0%, #E6941A 100%) !important;
}

.com-business-item:nth-child(2) .business-btn:hover {
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

/* 営農事業のボタン - 緑 */
.com-business-item:nth-child(3) .business-btn {
    background: linear-gradient(135deg, #7ED321 0%, #6BB91D 100%) !important;
}

.com-business-item:nth-child(3) .business-btn:hover {
    box-shadow: 0 6px 20px rgba(126, 211, 33, 0.4);
}

.business-btn.disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.philosophy-btn-container {
    margin-top: 2rem;
    text-align: left; 
}

.button-container {
    text-align: left;
    margin: 2rem 0;
    padding: 1rem 0;
}
/* Our Vision セクションのテキストスタイル調整 */
.vision-section h2 {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.vision-section h3 {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  color: #eee; /* 背景が暗くなるため明るい色に */
  margin-bottom: 2rem;
}

.vision-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px; /* 横幅を制限して読みやすくする */
  margin: 0 auto;   /* 中央寄せ */
  text-align: center;
}
    
    
.vision-section {
  position: relative; /* オーバーレイを重ねるための基準位置 */
  padding: 100px 0;
  background-image: url('images/vision-background.jpg'); /* ✅ ここにお好きな画像のパスを指定 */
  background-size: cover; /* 画像をセクション全体に表示 */
  background-position: center; /* 画像の中央を表示 */
  background-attachment: fixed; /* スクロールしても背景を固定（パララックス効果） */
  color: white; /* テキストを白色に */
  z-index: 1;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: -1; /* テキストの下に配置 */
}

@media (max-width: 768px) {
    .philosophy-btn-container {
        text-align: center;
        margin-top: 1.5rem;
}
    .company-hero {
        height: 40vh;
        min-height: 300px;
        padding: 40px 0;
        background-attachment: scroll;
    }
    .com-business-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .com-business-item {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .com-business-text {
        order: 1;
    }
        
    .com-business-image {
        order: 2;
    }

    .business-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        width: auto;
        min-width: 100px;
    }
}

/* =========================================================================
   Location Section Styles
   ========================================================================= */
.location-section {
    padding: 80px 0;
    background: white;
}

.location-section h2 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.location-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.address-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.address-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.address-card .address {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.contact-info {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.access-info {
    background: #fff;
    padding: 25px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

.access-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.access-info ul {
    list-style: none;
    padding: 0;
}

.access-info li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.access-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007BFF;
    font-weight: bold;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .location-section {
        padding: 60px 0;
    }
    
    .location-section h2 {
        font-size: 2.5rem;
    }
    
    .address-card,
    .access-info {
        padding: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* =========================================================================
   Agrivoltaics Page Specific Styles
   ========================================================================= */

/* --- Hero Section for Agrivoltaics Page --- */
.Agrivoltaics-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 25%, #CDDC39 50%, #FFEB3B 75%, #FFC107 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.Agrivoltaics-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/energy/images/Agrivoltaics-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.Agrivoltaics-hero .container {
    position: relative;
    z-index: 2;
}

.switch-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.switch-btn {
    padding: 12px 30px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.switch-btn:hover,
.switch-btn.active {
    background: white;
    color: #4CAF50;
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .cta-btn {
    background: white;
    color: #4CAF50;
}

.cta-buttons .cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .cta-btn.secondary:hover {
    background: white;
    color: #4CAF50;
}

/* --- Statistics Section for Agrivoltaics Page --- */
.stats-section-agri {
    background: linear-gradient(135deg, #4CAF50 0%, #FFEB3B 100%);
    color: white;
    padding: 80px 0;
}

.stats-grid-agri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item-agri h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-item-agri p {
    font-size: 1.1rem;
    font-weight: 400;
}

/* --- Content Sections for Agrivoltaics Page --- */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #4CAF50, #FFEB3B);
}

.section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #4CAF50;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 5px 0 5px 25px;
    color: #555;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* --- Chart Container for Agrivoltaics Page --- */
.chart-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    align-self: center;
}

.chart-wrapper {
    position: relative;
    height: 350px;
    width: 100%;
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 768px) {
    /* General Responsive Styles */
    .company-text h2,
    .business-section h2,
    .news-section h2,
    .contact-section h2 {
        font-size: 2.5rem;
    }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.2rem; }

    /* Header & Mobile Nav */
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex !important; }
    
    /* Sections */
    .business-section, .contact-section, .hero {
        background-attachment: scroll;
    }
    .company-content { grid-template-columns: 1fr; gap: 40px; }
    .business-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-info { grid-column: 1 / -1; margin-bottom: 20px; }

    /* Agrivoltaics Page Responsive */
    .section-title { font-size: 2.5rem; }
    .service-grid { grid-template-columns: 1fr; }
    .stats-grid-agri { grid-template-columns: 1fr; gap: 30px; }
    .switch-buttons { flex-direction: column; align-items: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }

    .business-section,
    .company-section,
    .stats-section,
    .news-section,
    .contact-section,
    .content-section {
        padding: 60px 0;
    }

    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content .description { font-size: 0.9rem; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }

    /* Agrivoltaics Page Mobile */
    .Agrivoltaics-hero { padding: 100px 0 60px; }
    .stats-section-agri { padding: 60px 0; }
    .stat-item-agri h3 { font-size: 2.5rem; }
}