/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #111111;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* コンテナ */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ヘッダー */
.header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-link:hover .logo-highlight {
    color: #4A90E2;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #111111;
}

.logo-highlight {
    color: #1F5FBF;
    transition: color 0.3s ease;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #111111;
    font-size: 16px;
    line-height: 26px;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
    padding-bottom: 2px;
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: #1F5FBF;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: absolute;
    top: 24px;
    right: 12px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #111111;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヘッダーお問い合わせボタン */
.header-contact {
    margin-left: 0;
}

.header-contact-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8f00 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
    animation: header-contact-glow 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes header-contact-glow {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5);
    }
}

.header-contact-btn:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
    animation: none;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('img/hero_background.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.hero-headline {
    margin-bottom: 20px;
}

.hero-first-line {
    font-size: 3rem;
    font-weight: bold;
    color: #FF0000;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: 
        slideInLeftBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
        glowPulseFloat 3s ease-in-out infinite 2s;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.6);
        transform: scale(1.02);
    }
}

@keyframes glowPulseFloat {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 25px rgba(255, 0, 0, 0.4);
        transform: translateY(-2px) scale(1.01) rotate(-0.5deg);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.6);
        transform: translateY(-4px) scale(1.02) rotate(0deg);
    }
    75% {
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 25px rgba(255, 0, 0, 0.4);
        transform: translateY(-2px) scale(1.01) rotate(0.5deg);
    }
}

.hero-second-line {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111111;
    display: block;
    animation: 
        slideInRightBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards,
        subtleFloatSway 4s ease-in-out infinite 2.5s;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes subtleFloatSway {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) translateX(1px) rotate(-0.3deg);
    }
    50% {
        transform: translateY(-4px) translateX(0) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) translateX(-1px) rotate(0.3deg);
    }
}

.hero-subtext {
    margin-top: 30px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F5FBF;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: gentleGlow 5s ease-in-out infinite 3s;
}

@keyframes gentleGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(31, 95, 191, 0.3);
        transform: translateY(0);
    }
    50% {
        text-shadow: 0 0 10px rgba(31, 95, 191, 0.5), 0 0 15px rgba(31, 95, 191, 0.3);
        transform: translateY(-1px);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
    animation: breathe 6s ease-in-out infinite 4s;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.005);
    }
}

/* ヒーローセクションのアニメーション */

/* ヒーローテキストのアニメーション */
.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-100px) scale(0.8);
    animation: slideInLeftBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-slide-in-right {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
    animation: slideInRightBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpFloat 1s ease-out forwards;
}

.animate-fade-in-up[data-delay="0.5s"] {
    animation-delay: 0.5s;
}

.animate-fade-in-up[data-delay="0.7s"] {
    animation-delay: 0.7s;
}

@keyframes slideInLeftBounce {
    0% {
        opacity: 0;
        transform: translateX(-100px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateX(10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRightBounce {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateX(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInUpFloat {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 旧アニメーション（互換性のため残す） */
@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* メインコンテンツ */
main {
    padding-top: 0;
}

/* アンカーリンクのスクロール位置調整 */
html {
    scroll-behavior: smooth;
}

/* ヘッダーの高さ分だけオフセットを設定 */
#mission-vision,
#mission-section,
#vision-section,
#business-content,
#company-overview {
    scroll-margin-top: 120px;
}

/* 技術情報ページのタブナビも見えるように大きめのオフセット */
#datacenter,
#residential,
#office {
    scroll-margin-top: 180px;
}

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

/* ナビゲーションセクション */
.navigation-section {
    max-width: 800px;
    margin: 0 auto 100px;
    text-align: left;
}

/* カードセクション */
.cards-section {
    margin-top: 100px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cards-grid.single-card {
    grid-template-columns: 1fr;
    max-width: 400px;
    justify-items: center;
}

/* お問い合わせセクション */
.contact-section {
    margin-top: 100px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    font-size: 1.2rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-buttons {
    display: flex;
    gap: 60px;
    align-items: flex-end;
}

.phone-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.phone-hours-info {
    font-size: 0.8rem;
    color: #666666;
    text-align: center;
    white-space: nowrap;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8f00 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    animation: contact-pulse 3s ease-in-out infinite;
    width: 280px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes contact-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    }
}

.contact-btn:hover {
    background: linear-gradient(135deg, #e55a00 0%, #ff7700 100%);
    transform: translateY(-3px);
    animation: none;
}

.phone-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%) !important;
}

.contact-info {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phone-info {
    margin: 0;
    color: #333333;
    line-height: 1.6;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #007bff;
}

.phone-hours {
    font-size: 0.9rem;
    color: #666666;
}

.grid-2col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* セクション見出し */
.section-heading h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1F5FBF;
    text-align: left;
}

/* ニュースリスト */
.news-list {
    background-color: #FFFFFF;
}

.news-item {
    padding: 12px 0;
}

/* カテゴリバッジ */
.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    text-align: center;
    min-width: 70px;
}

.category-badge.business {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.category-badge.company {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
}

.category-badge.technology {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: white;
}

.category-badge.datacenter {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: white;
}

.category-badge.residential {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: white;
}

.category-badge.office {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: white;
}

/* バッジグループ */
.badge-group {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.category-badge.contact {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.news-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.news-title {
    flex: 1;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
}

.news-title a {
    text-decoration: none;
    color: #111111;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #1F5FBF;
}

.news-timestamp {
    font-size: 0.9rem;
    color: #666666;
    white-space: nowrap;
}

.news-divider {
    height: 1px;
    background-color: #DDDDDD;
    margin: 8px 0;
}

.more-link {
    margin-top: 16px;
    text-align: right;
}

.more-link a {
    color: #1F5FBF;
    text-decoration: none;
    font-size: 0.9rem;
}

.more-link a:hover {
    text-decoration: underline;
}

/* フィーチャーカード */
.feature-card {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-content {
    padding: 20px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
}

.feature-body {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.feature-link {
    color: #1F5FBF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-link:hover {
    text-decoration: underline;
}

/* お問い合わせカード特別スタイル */
.contact-highlight {
    position: relative;
}

/* スペーサー */
.spacer {
    height: 16px;
}

/* 情報バナー */
.info-banner {
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.info-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
}

.info-body {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.info-cta {
    display: inline-block;
    background-color: #1F5FBF;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.info-cta:hover {
    background-color: #1a4fa0;
}

/* フッター */
.footer {
    background-color: #FFFFFF;
    border-top: 1px solid #DDDDDD;
    padding: 40px 0 20px;
    margin-top: 100px;
}

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

.footer-company {
    font-weight: bold;
    font-size: 1.4rem;
    color: #111111;
    margin-bottom: 8px;
}

.footer-company-link {
    color: #111111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-company-link:hover {
    color: #1F5FBF;
}

.footer-address,
.footer-contact {
    color: #4A4A4A;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav-list a {
    color: #111111;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav-list a:hover {
    color: #1F5FBF;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #DDDDDD;
}

.footer-bottom p {
    color: #4A4A4A;
    font-size: 0.8rem;
}

/* ページヘッダー */
.page-header {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #111111;
}

/* セクションタイトル */
.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1F5FBF;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    text-align: center;
}

.section-title.animate {
    opacity: 1;
    transform: translateX(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #1F5FBF);
    transition: left 1.2s ease-out 0.3s;
}

.section-title.animate::after {
    left: 0;
}


/* 会社導入文 */
.company-intro {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

.company-intro-title {
    font-size: 1.8rem;
    color: #111111;
    margin-bottom: 8px;
    font-weight: bold;
}

.company-intro-text {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}


/* 全ページのセクション間隔統一 */
.mission-vision,
.value-proposition,
.representative-message,
.company-overview,
.cards-section,
.tech-specs,
.faq-section,
.contact-info,
.process-flow {
    margin: 100px 0;
}

.company-overview {
    margin: 100px 0 100px 0;
}

.outline-list {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}

.outline-item {
    display: flex;
    border-bottom: 1px solid #DDDDDD;
    min-height: 60px;
    align-items: center;
}

.outline-item:last-child {
    border-bottom: none;
}

.outline-label {
    width: 160px;
    padding: 16px 20px;
    background-color: #F8F9FA;
    font-weight: bold;
    color: #111111;
    border-right: 1px solid #DDDDDD;
    flex-shrink: 0;
}

.outline-value {
    padding: 16px 20px;
    color: #111111;
    flex: 1;
}

/* ミッション・ビジョン */
.mission-vision {
    margin-bottom: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
    border-radius: 8px;
}

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

.vision-section,
.mission-section {
    margin-bottom: 60px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.vision-section:last-child,
.mission-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 16px;
}

.section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.section-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.vision-headline,
.mission-headline {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 30px;
    text-align: center;
}

.highlight {
    color: #007bff;
    position: relative;
}

.highlight::after {
    display: none;
}

.vision-points,
.mission-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vision-point,
.mission-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 0;
    text-align: center;
}


.point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.point-icon img {
    width: 48px;
    height: 48px;
}

/* ビジョン・企業理念のアイコン個別色設定 */
.point-icon img[src*="太陽のアイコン素材.svg"] {
    filter: brightness(0) saturate(100%) invert(47%) sepia(69%) saturate(959%) hue-rotate(5deg) brightness(98%) contrast(86%);
}

.point-icon img[src*="双葉の葉っぱアイコン.svg"] {
    filter: brightness(0) saturate(100%) invert(44%) sepia(78%) saturate(2476%) hue-rotate(92deg) brightness(118%) contrast(119%);
}

.point-icon img[src*="電気のアイコンその2.svg"] {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.point-icon img[src*="技術職の人物アイコン.svg"] {
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7151%) hue-rotate(245deg) brightness(90%) contrast(149%);
}

.point-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 8px 0;
    text-align: center;
}

.point-content p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* アニメーション */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.6s ease forwards;
}

.animate-fade-in[data-delay="0.8s"] {
    animation-delay: 0.8s;
}

.animate-slide-up[data-delay="0.2s"] {
    animation-delay: 0.2s;
}

.animate-slide-up[data-delay="0.4s"] {
    animation-delay: 0.4s;
}

.animate-slide-up[data-delay="0.6s"] {
    animation-delay: 0.6s;
}

.animate-slide-up[data-delay="1.0s"] {
    animation-delay: 1.0s;
}

.animate-slide-up[data-delay="1.2s"] {
    animation-delay: 1.2s;
}

.animate-slide-up[data-delay="1.4s"] {
    animation-delay: 1.4s;
}

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

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

.vision-text,
.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #111111;
    text-align: left;
    margin: 0;
    padding: 0 20px;
}

/* 事業内容 - 詳細展開デザイン */
.business-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding-top: 60px;
}

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

.business-header {
    text-align: center;
    margin-bottom: 50px;
}

.business-intro {
    font-size: 1.1rem;
    color: #666666;
    margin-top: 16px;
    line-height: 1.6;
}

/* 事業詳細セクション - 背景色区分レイアウト */
.business-detail-section {
    margin-bottom: 40px;
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

/* 省エネコンサルティング - 青系 */
.business-detail-section:nth-child(2) {
    border-color: #4a90e2;
}

/* 部品開発・供給 - 緑系 */
.business-detail-section:nth-child(3) {
    border-color: #28a745;
}

/* ヒートポンプ発電装置 - 赤系 */
.business-detail-section.featured {
    position: relative;
    border-color: #ff6b6b;
}

.business-detail-header {
    padding: 30px;
    position: relative;
    margin-bottom: 0;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.business-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.business-text-content {
    flex: 1;
}

.business-detail-section:nth-child(2) .business-detail-header {
    background: #f0f8ff;
}

.business-detail-section:nth-child(3) .business-detail-header {
    background: #f5f8f0;
}

.business-detail-section.featured .business-detail-header {
    background: #fff5f5;
}

.business-detail-content {
    padding: 30px;
    background: #ffffff;
}

/* 省エネコンサルティング - 青系 */
.business-detail-section:nth-child(2) .business-detail-content {
    background: #f8fbff;
}

/* 部品開発・供給 - 緑系 */
.business-detail-section:nth-child(3) .business-detail-content {
    background: #f8fff8;
}

/* ヒートポンプ発電装置 - 赤系 */
.business-detail-section.featured .business-detail-content {
    background: #fffafa;
}

.detail-section {
    margin-bottom: 40px;
}

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

.detail-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.detail-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #007bff;
    border-radius: 2px;
}

.business-detail-section:nth-child(2) .detail-section h4::before {
    background: #4a90e2;
}

.business-detail-section:nth-child(3) .detail-section h4::before {
    background: #28a745;
}

.business-detail-section.featured .detail-section h4::before {
    background: #ff6b6b;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 20px;
}

.detail-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #333333;
    line-height: 1.7;
    font-size: 1rem;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* 省エネコンサルティング - 青系リスト */
.business-detail-section:nth-child(2) .detail-list li::before {
    color: #4a90e2;
}

/* 部品開発・供給 - 緑系リスト */
.business-detail-section:nth-child(3) .detail-list li::before {
    color: #28a745;
}

/* ヒートポンプ発電装置 - 赤系リスト */
.business-detail-section.featured .detail-list li::before {
    color: #ff6b6b;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 20px;
}

.detail-tag {
    background: #f8f9fa;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.detail-tag:hover {
    background: #007bff;
    color: white;
}

/* 省エネコンサルティング - 青系タグ */
.business-detail-section:nth-child(2) .detail-tag {
    color: #4a90e2;
    border-color: #4a90e2;
    background: #f0f8ff;
}

.business-detail-section:nth-child(2) .detail-tag:hover {
    background: #4a90e2;
    color: white;
}

/* 部品開発・供給 - 緑系タグ */
.business-detail-section:nth-child(3) .detail-tag {
    color: #28a745;
    border-color: #28a745;
    background: #f0fff0;
}

.business-detail-section:nth-child(3) .detail-tag:hover {
    background: #28a745;
    color: white;
}

/* ヒートポンプ発電装置 - 赤系タグ */
.business-detail-section.featured .detail-tag {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background: #fff0f0;
}

.business-detail-section.featured .detail-tag:hover {
    background: #ff6b6b;
    color: white;
}

.detail-description {
    color: #333333;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    margin-left: 20px;
    padding: 15px 0;
}

/* コンパクトカードスタイル */
.business-card-compact {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-card-compact:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
}

.business-card-compact.featured {
    border-color: #ff6b6b;
    position: relative;
}

.business-card-compact.featured:hover {
    border-color: #ff5252;
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
}

.business-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.business-card-compact.featured .business-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.business-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 0 25px rgba(255, 107, 107, 0.7); }
}

.business-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.business-summary {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.expand-icon {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.business-card-compact:hover .expand-icon {
    background: #0056b3;
    transform: rotate(90deg);
}

.business-card-compact.featured .expand-icon {
    background: #ff6b6b;
}

.business-card-compact.featured:hover .expand-icon {
    background: #ff5252;
}

/* モーダルスタイル */
.business-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    scroll-behavior: smooth;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-modal {
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: 2px solid rgba(220, 53, 69, 1);
    box-sizing: border-box;
}

.close-modal:hover {
    background: rgba(220, 53, 69, 1);
    border-color: rgba(200, 35, 51, 1);
    transform: scale(1.05);
}

.modal-body {
    padding: 30px;
}

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

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

.modal-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    display: inline-block;
}

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

.modal-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #333333;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

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

.modal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.modal-tag {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.modal-description {
    color: #333333;
    line-height: 1.7;
    font-size: 1rem;
}

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

.business-item {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 32px 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
}

.business-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.business-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.business-summary {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.5;
    margin-top: 5px;
    flex-grow: 1;
}

/* 価値提案 */
.value-proposition {
    margin-bottom: 60px;
}

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

.value-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    background-color: #F8F9FA;
    border-left: 4px solid #1F5FBF;
    border-radius: 0 8px 8px 0;
    padding: 24px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background-color: #FFFFFF;
    border-left-color: #4A90E2;
    transform: translateX(5px);
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-content {
    flex: 1;
}

.value-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1F5FBF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.value-content p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* 代表メッセージ */
.representative-message {
    margin-bottom: 60px;
}

.message-content {
    background-color: #F8F9FA;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 30px;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #111111;
    text-align: left;
    margin-bottom: 16px;
}

.message-content .signature p {
    text-align: right !important;
}

.message-content p:last-of-type {
    margin-bottom: 24px;
}

.signature {
    text-align: right !important;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #DDDDDD;
    width: 100%;
}

.signature p {
    font-size: 1rem;
    color: #111111;
    margin-bottom: 8px;
    text-align: right !important;
}

.signature p:last-child {
    margin-bottom: 0;
}

/* ホームへのリンク */
.back-to-home {
    text-align: center;
    margin: 40px 0;
}

.back-link {
    display: inline-block;
    background-color: #1F5FBF;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #1a4fa0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-content {
        position: relative;
        flex-direction: column;
        gap: 12px;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger {
    display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: -12px;
        right: -12px;
        background-color: #FFFFFF;
        border-bottom: 1px solid #DDDDDD;
        border-top: 1px solid #DDDDDD;
        margin-top: 12px;
        width: auto;
        flex: none;
        justify-content: flex-start;
        margin-right: 0;
    }
    
    .nav.active {
        display: block;
    }
    
    /* ヘッダーお問い合わせボタンモバイル対応 */
    .header-contact {
        display: none;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    padding: 20px;
    }
    
    .nav-item {
        border-bottom: 1px solid #DDDDDD;
        padding: 12px 0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #1F5FBF;
        border-bottom: none;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-first-line {
        font-size: 2.2rem;
    }

    .hero-second-line {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    text-align: center;
}

    .footer-nav-list {
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    
    .outline-list {
        max-width: 100%;
        margin: 0;
    }
    
    .outline-label {
        width: 120px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .outline-value {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .company-intro {
        padding: 16px 0;
        margin-bottom: 24px;
    }
    
    .company-intro-title {
        font-size: 1.5rem;
    }
    
    .company-intro-text {
        font-size: 0.9rem;
    }
    
    
    .business-list {
        grid-template-columns: 1fr;
    gap: 20px;
}

    .value-list {
        grid-template-columns: 1fr;
    gap: 20px;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        border-left: none;
        border-top: 4px solid #1F5FBF;
        border-radius: 8px;
    }
    
    .value-item:hover {
        transform: translateY(-3px);
        border-top-color: #4A90E2;
    }
}

/* タブナビゲーション */
.tabs-container {
    margin: 40px 0;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 30px;
}

.tab-button {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    color: #666666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #1F5FBF;
    border-bottom-color: #1F5FBF;
    font-weight: 500;
}

.tab-button:hover {
    color: #1F5FBF;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ヒーローミニ */
.hero-min {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    background-color: #F8F9FA;
    border-radius: 12px;
}

.hero-min-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-min-headline {
    font-size: 1.8rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-min-description {
    font-size: 1rem;
    color: #111111;
    line-height: 1.6;
}

/* 技術特徴 */
.tech-features {
    margin-bottom: 40px;
}

.features-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 24px;
}

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

.feature-box {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.feature-box .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.feature-box .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(47%) sepia(69%) saturate(959%) hue-rotate(5deg) brightness(98%) contrast(86%);
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* 技術仕様 */
.tech-specs {
    margin-bottom: 60px;
}

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

.spec-item {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 24px;
}

.spec-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
}

.spec-item p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.5;
}

/* FAQ 表スタイル */
.faq-section {
    margin-bottom: 60px;
}

.faq-accordion {
    /* 外枠削除 */
}

.faq-item {
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 16px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 16px 0;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    color: #111111;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 16px 0;
    margin: 0;
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-first-line {
        font-size: 2rem;
    }

    .hero-second-line {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .hero-content {
        padding: 0 16px;
    }
    
    /* モバイル版アンカーリンクのオフセット調整 */
    #mission-vision,
    #mission-section,
    #vision-section,
    #business-content,
    #company-overview {
        scroll-margin-top: 100px;
    }
    
    /* 技術情報ページのタブナビも見えるように大きめのオフセット（モバイル） */
    #datacenter,
    #residential,
    #office {
        scroll-margin-top: 140px;
    }
    
    main {
        padding-top: 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    /* ナビゲーションセクションモバイル対応 */
    .navigation-section {
        margin-bottom: 40px;
    }
    
    /* カードセクションモバイル対応 */
    .cards-section {
        margin-top: 40px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: none;
        margin: 0;
    }
    
    /* お問い合わせセクションモバイル対応 */
    .contact-section {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .contact-container {
        padding: 0 16px;
    }
    
    .contact-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .contact-actions {
        gap: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: center;
    }
    
    .contact-buttons .contact-btn {
        width: 320px;
        max-width: 90vw;
    }
    
    .phone-button-wrapper {
        width: 100%;
        align-items: center;
    }
    
    .contact-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .phone-number {
        font-size: 1.2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .news-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-timestamp {
        align-self: flex-start;
    }
    
    .feature-content {
        padding: 16px;
    }
    
    .info-banner {
        padding: 20px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .hero-min {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    text-align: center;
}

    .hero-min-headline {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form {
        padding: 24px;
    }

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

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .step-number {
        align-self: center;
    }
}

/* 問合せページ */
.contact-intro {
    text-align: center;
    padding: 40px 0 20px 0;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
}

.caring-message {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    margin-top: 50px;
    margin-bottom: 0;
}

.response-time {
    font-size: 1rem;
    color: #1F5FBF;
    font-weight: 500;
    margin-top: 8px;
}

.contact-form-section {
    margin-bottom: 60px;
    margin-top: 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    }

    .contact-form {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 40px;
}

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

.form-label {
        display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #111111;
    margin-bottom: 8px;
}

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-size: 1rem;
    color: #111111;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1F5FBF;
}

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

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

.submit-button {
        width: 100%;
    height: 48px;
    background-color: #1F5FBF;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #1a4fa0;
}

/* 会社情報 */
.contact-info {
    margin-bottom: 60px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
        gap: 30px;
}

.contact-item {
    background-color: #F8F9FA;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 24px;
        text-align: center;
    }

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* 導入までの流れ */
.process-flow {
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    gap: 24px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 24px;
}

.step-number {
        width: 40px;
        height: 40px;
    background-color: #1F5FBF;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
        font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* ミッション・ビジョン タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .vision-points,
    .mission-points {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .vision-point,
    .mission-point {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
        align-items: center;
    }
    
    .point-icon {
        align-self: center;
    }
}

/* ミッション・ビジョン モバイル対応 */
@media (max-width: 768px) {
    /* 全ページのセクション間隔 - モバイル */
    .mission-vision,
    .value-proposition,
    .representative-message,
    .company-overview,
    .cards-section,
    .tech-specs,
    .faq-section,
    .contact-info,
    .process-flow {
        margin: 60px 0;
    }
    
    .company-overview {
        margin: 60px 0 60px 0;
    }
    
    .mission-vision {
        padding: 40px 0;
    }
    
    .mission-vision-container {
        padding: 0 16px;
    }
    
    .vision-section,
    .mission-section {
        padding: 24px;
        margin-bottom: 40px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-icon img {
        width: 20px;
        height: 20px;
    }
    
    .vision-headline,
    .mission-headline {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }
    
    .vision-points,
    .mission-points {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
    
    .vision-point,
    .mission-point {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
        align-items: center;
    }
    
    .point-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        align-self: center;
    }
    
    .point-icon img {
        width: 40px;
        height: 40px;
    }
    
    .point-content h4 {
        font-size: 1.1rem;
    }
    
    .point-content p {
        font-size: 0.9rem;
    }
}

/* 楽しいサイト概要スタイル */
.news-description {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin-top: 8px;
}

.news-description a {
    text-decoration: none;
    color: #666666;
    transition: color 0.3s ease;
    display: block;
}

.news-description a:hover {
    color: #007bff;
}

.fun-item {
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.fun-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08);
}

.fun-item:hover .news-description a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.fun-item::after {
    content: '→';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
    opacity: 0;
    transition: all 0.3s ease;
}

.fun-item:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(4px);
}

.section-heading h2 {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    font-size: 1.4rem;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, transparent);
    border-radius: 1px;
}

/* モバイル版の楽しいスタイル */
@media (max-width: 768px) {
    .fun-item:hover {
        box-shadow: 0 1px 4px rgba(0, 123, 255, 0.1);
    }
    
    .fun-item::after {
        right: 12px;
        font-size: 1rem;
    }
    
    .fun-item:hover::after {
        transform: translateY(-50%) translateX(2px);
    }
    
    /* カテゴリバッジモバイル対応 */
    .category-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
        margin-bottom: 6px;
        min-width: 60px;
    }
    
    .badge-group {
        gap: 4px;
        margin-bottom: 6px;
    }
    
    .section-heading h2 {
        font-size: 1.2rem;
        text-align: left;
    }
    
    /* 事業内容モバイル対応 */
    .business-content {
        padding-top: 40px;
    }
    
    .business-container {
        padding: 0 16px;
    }
    
    .business-header {
        margin-bottom: 40px;
    }
    
    .business-intro {
        font-size: 1rem;
    }
    
    .business-detail-section {
        margin-bottom: 30px;
    }
    
    .business-detail-header {
        padding: 20px;
        margin-bottom: 0;
    }
    
    .business-header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 15px;
    }
    
    .business-text-content {
        text-align: center;
    }
    
    .business-detail-content {
        padding: 20px;
    }
    
    /* モバイル版でも色分け適用 */
    .business-detail-section:nth-child(2) .business-detail-content {
        background: #f8fbff;
    }
    
    .business-detail-section:nth-child(3) .business-detail-content {
        background: #f8fff8;
    }
    
    .business-detail-section.featured .business-detail-content {
        background: #fffafa;
    }
    
    .detail-section {
        margin-bottom: 30px;
    }
    
    .detail-section h4 {
        font-size: 1.2rem;
        padding-left: 15px;
    }
    
    .detail-section h4::before {
        width: 3px;
        height: 16px;
    }
    
    .detail-list {
        margin-left: 15px;
    }
    
    .detail-list li {
        padding: 10px 0;
        padding-left: 20px;
        font-size: 0.95rem;
    }
    
    .detail-tags {
        gap: 8px;
        margin-left: 15px;
    }
    
    .detail-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .detail-description {
        margin-left: 15px;
        font-size: 1rem;
        padding: 12px 0;
    }
    
    .business-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .business-icon img {
        width: 25px;
        height: 25px;
    }
    
    .business-name {
        font-size: 1.4rem;
        white-space: normal;
        text-align: center;
    }
    
    .business-summary {
        font-size: 1rem;
        text-align: center;
        margin-top: 10px;
    }
    
    .featured-badge {
        margin-bottom: 10px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    /* モーダルモバイル対応 */
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 16px 20px;
        position: sticky;
        top: 0;
        z-index: 1001;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .close-modal {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
        background: rgba(220, 53, 69, 0.8);
        border: 2px solid rgba(220, 53, 69, 1);
        box-sizing: border-box;
    }
    
    .close-modal:hover {
        background: rgba(220, 53, 69, 1);
        border-color: rgba(200, 35, 51, 1);
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-section {
        margin-bottom: 24px;
    }
    
    .modal-section h4 {
        font-size: 1.1rem;
    }
    
    .modal-list li {
        padding: 8px 0;
        padding-left: 25px;
        font-size: 0.95rem;
    }
    
    .modal-tags {
        gap: 8px;
    }
    
    .modal-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
} 