/* ワイヤーフレーム用CSS */
/* 参考: エナジーワイヤレス社のプロフェッショナルなB2B技術系デザイン */

/* ===== カラーシステム =====
プライマリ色: 深緑（山林環境をイメージ）
#1b4332 - メイン深緑色
#2d5a47 - ライト深緑色（ホバー等）
#0f2419 - ダーク深緑色（未使用）

アクセント色:
#ff8c00 - オレンジ（エフ・アンド・オー・システムズ製品）
#1976d2 - ブルー（株式会社アイエスイー製品）
#4caf50 - グリーン（エフ・アンド・オー・システムズバッジ）
*/

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

body {
    font-family: 'Noto Sans JP', '游ゴシック', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7fafc;
}

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

/* ===== ヘッダー ===== */
.header {
    background: #1b4332;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.logo-sub {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

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

.partner-badge {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}

/* ===== ヒーローセクション ===== */
.hero {
    position: relative;
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.8) 0%, rgba(45, 90, 71, 0.7) 100%);
}

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

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.feature-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 25px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
}

.hero-cta {
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:not(.secondary) {
    background: #ff8c00;
    color: white;
    border-color: #ff8c00;
}

.cta-button:not(.secondary):hover {
    background: #e67e00;
    border-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.8);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

.partner-info {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.partner-link {
    display: inline-block;
    margin-top: 10px;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

.partner-link:hover {
    background: rgba(255,255,255,0.1);
}

.partner-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

@media (max-width: 640px) {
    .partner-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== メインカテゴリ ===== */
.main-categories {
    padding: 120px 0 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1b4332;
}

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

.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1200px) {
    .three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .three-columns,
    .two-columns {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.category-header {
    padding: 30px;
    text-align: center;
    flex-shrink: 0;
}

.category-card.hunting .category-header {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
}

.category-card.forestry .category-header {
    background: linear-gradient(135deg, #2d7d32, #4caf50);
    color: white;
}

.category-card.iot .category-header {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 10px;
}

.category-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.category-tag {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 15px;
    display: block;
}

.category-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1b4332;
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-list li {
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
    font-size: 14px;
}

.feature-list li:before {
    content: "✓ ";
    color: #4caf50;
    font-weight: bold;
}

.product-variants {
    margin: 20px 0;
    flex-shrink: 0;
}

.variant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 5px;
}

.price {
    font-weight: bold;
    color: #1a365d;
}

.category-cta {
    display: block;
    width: 100%;
    padding: 15px;
    background: #1b4332;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.category-cta:hover {
    background: #2d5a47;
    color: white;
}

/* Hero Feature Inquiry Button */
.feature-inquiry-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-inquiry-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== 製品セクション ===== */
.product-section {
    margin-bottom: 60px;
}

.product-section-title {
    font-size: 24px;
    color: #1b4332;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1b4332;
}

.manufacturer-info {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.product-badge {
    display: block;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 3px;
    margin-top: 5px;
    text-align: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.product-badge.own {
    background: #ff8c00;
    color: white;
}

.product-badge.partner {
    background: #333;
    color: white;
}

/* .product-badge.fando {
    background: #4caf50;
    color: white;
} */

.products-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.manufacturer-link {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.manufacturer-link a {
    color: #1976d2;
    text-decoration: none;
    font-size: 14px;
}

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

/* ===== 通信費情報 ===== */
.communication-fee {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.08) 0%, rgba(45, 90, 71, 0.05) 100%);
    border-radius: 8px;
    border: 1px solid rgba(27, 67, 50, 0.15);
}

.communication-fee h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1b4332;
    margin-bottom: 12px;
    text-align: center;
}

.fee-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.fee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 8px 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid rgba(27, 67, 50, 0.1);
}

.fee-type {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.fee-price {
    font-size: 14px;
    font-weight: 600;
    color: #1b4332;
}

/* ===== 自社製品バッジ ===== */
.product-badge.own-product {
    background: linear-gradient(135deg, #ff8c00 0%, #ff7b00 100%);
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

/* ===== 技術的特徴 ===== */
.technology-features {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.tech-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: #1b4332;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 10px;
}

.tech-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1b4332;
}

/* ===== 新商品セクション ===== */
.new-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e8f5e8;
}

/* .new-products-section .product-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1b4332;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
} */

.new-products-section .product-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    border-radius: 2px;
}

.new-products-description {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.product-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    padding: 15px;
    background: #fffef8;
    border-left: 3px solid #ffd700;
    border-radius: 4px;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(27, 67, 50, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(27, 67, 50, 0.1);
}

.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 48px;
    
}


@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.category-card.new-product {
    position: relative;
    border: 2px solid #e8f5e8;
    background: linear-gradient(135deg, #ffffff, #f8fffe);
    overflow: hidden;
}

.category-card.new-product:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.category-card.new-product::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 35px 35px 0;
    border-color: transparent rgba(255, 215, 0, 0.08) transparent transparent;
    z-index: 1;
}

/* ===== 導入事例 ===== */
.case-studies {
    padding: 120px 0 80px 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.case-category-section {
    background: #f8fffe;
    border: 1px solid #e0f2f1;
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.case-category-section:hover {
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.1);
    transform: translateY(-2px);
}

.case-category-title {
    font-size: 26px;
    font-weight: 600;
    color: #1b4332;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d5a47;
    position: relative;
    display: inline-block;
}

.case-category-title.hunting {
    color: #1b4332;
    border-bottom-color: #ff8c00;
}

.case-category-title.hunting::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background: #ff8c00;
    border-radius: 2px;
}

.case-category-title.iot {
    color: #1b4332;
    border-bottom-color: #1976d2;
}

.case-category-title.iot::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background: #1976d2;
    border-radius: 2px;
}

.case-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.case-item.detailed {
    background: white;
    border: 1px solid #e8f5e8;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-item.detailed:hover {
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.08);
    border-color: #2d5a47;
    transform: translateY(-1px);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.case-location {
    font-weight: 600;
    color: #1b4332;
    font-size: 16px;
}

.case-date {
    font-size: 13px;
    color: #666;
    background: #f0f9ff;
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid #e0f2fe;
}

.case-content h4 {
    font-size: 18px;
    color: #1b4332;
    margin-bottom: 15px;
    font-weight: 600;
}

.case-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.spec-item {
    background: linear-gradient(135deg, #2d5a47, #1b4332);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.case-content p {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.case-summary {
    background: linear-gradient(135deg, #1b4332, #2d5a47);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.case-summary h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.9;
}

.stat-detail {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}



/* ===== 会社情報 ===== */
.company-info {
    padding: 120px 0 80px 0;
    background: white;
}

.main-company-info {
    margin-bottom: 60px;
}

.company-main {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #ff8c00;
}

.company-main h3 {
    color: #1b4332;
    font-size: 28px;
    margin-bottom: 20px;
}

.company-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
    /* word-break: keep-all; */
    overflow-wrap: break-word;
}

.company-contact p {
    margin-bottom: 10px;
    font-size: 15px;
}

.partnership-info {
    margin-top: 40px;
}

.partner-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #1976d2;
}

.partner-card h3 {
    color: #1b4332;
    font-size: 24px;
    margin-bottom: 20px;
}

.partner-details {
    font-size: 15px;
    line-height: 1.7;
}

.partner-products {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 5px;
}

.partner-products h4 {
    color: #1b4332;
    margin-bottom: 15px;
}

.partner-products ul {
    list-style: none;
    padding: 0;
}

.partner-products li {
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
}

.partner-products li:before {
    content: "▶ ";
    color: #1976d2;
    font-weight: bold;
}

.partner-contact {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 5px;
}

.partner-contact p {
    margin-bottom: 8px;
}

.partner-contact a {
    color: #1976d2;
    text-decoration: none;
}

.partner-contact a:hover {
    text-decoration: underline;
}

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

/* ===== コンパクトなパートナーカード ===== */
.partner-card.compact {
    padding: 25px 20px;
    text-align: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1b4332;
}

.partner-card.compact h3 {
    margin-bottom: 8px;
    color: #1b4332;
    font-size: 18px;
}

.partner-type {
    display: inline-block;
    background: #1b4332;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.partner-card.compact p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.partner-link a {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #1b4332;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #1b4332;
    font-size: 13px;
    transition: all 0.3s ease;
}

.partner-link a:hover {
    background: #1b4332;
    color: white;
}

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

/* ===== お問い合わせ ===== */
.contact-section {
    padding: 120px 0 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    gap: 60px;
}

.form-wireframe {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background: #1b4332;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2d5a47;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #1b4332;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    padding: 10px 0;
    border-bottom: 1px dotted #ddd;
}

/* ===== フッター ===== */
.footer {
    background: #1b4332;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 80px 0 100px;
    }
    
    .hero-content {
        max-width: 90%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.4;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.6;
        word-break: normal;
        overflow-wrap: anywhere;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        max-width: 100%;
        width: 100%;
    }
    
    .feature-item {
        padding: 20px 15px;
        max-width: 100%;
        box-sizing: border-box;
        word-break: normal;
        overflow-wrap: break-word;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .nav-menu {
        display: none; /* モバイルメニュー実装時に調整 */
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-category-section {
        padding: 25px;
    }
    
    .case-items {
        grid-template-columns: 1fr;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 60vh;
        padding: 60px 0 80px;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 0 5px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.4;
        word-break: normal;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        word-break: normal;
        overflow-wrap: anywhere;
        max-width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .main-categories,
    .technology-features,
    .case-studies,
    .company-info,
    .contact-section {
        padding: 100px 0 60px 0;
    }
    
    .new-products-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .new-products-section .product-section-title {
        font-size: 20px;
    }
    
    .new-products-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .product-intro,
    .product-description {
        font-size: 13px;
        padding: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* 極小画面対応（320px-480px） */
@media (max-width: 480px) {
    .hero-content {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 35px;
    }
    
    .hero-features {
        margin-bottom: 25px;
    }
    
    .feature-item {
        padding: 15px 10px;
    }
    
    .feature-item h3 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 14px;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .case-category-title {
        font-size: 20px;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .case-category-title::before {
        width: 40px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .new-products-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .new-products-section .product-section-title {
        font-size: 18px;
    }
    
    .new-products-description {
        font-size: 14px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .product-intro,
    .product-description {
        font-size: 12px;
        padding: 8px;
        margin-bottom: 12px;
    }
    
    .new-badge {
        width: 42px;
        height: 40px;
        font-size: 7px;
        top: 12px;
        right: 12px;
        letter-spacing: 0.3px;
    }
    
    .new-badge::after {
        top: 6px;
        right: 10px;
        width: 2px;
        height: 2px;
    }
}

/* ===== ハンバーガーメニュー ===== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu:hover span {
    background-color: rgba(255,255,255,0.8);
}

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248,249,250,0.98), rgba(255,255,255,0.95));
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-content {
    width: 90%;
    max-width: 420px;
    text-align: center;
    color: #1b4332;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(27,67,50,0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1b4332;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-logo:hover {
    opacity: 0.8;
}

.mobile-logo .logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(27,67,50,0.2);
}

.close-menu {
    cursor: pointer;
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(27,67,50,0.1);
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: rgba(27,67,50,0.2);
    transform: rotate(90deg);
}

.close-menu span {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #1b4332;
    top: 50%;
    left: 50%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-menu span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-menu span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

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

.mobile-nav-menu a {
    color: #1b4332;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 18px 30px;
    display: block;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.8);
    box-shadow: 0 4px 20px rgba(27,67,50,0.08);
    border: 1px solid rgba(27,67,50,0.1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1b4332, #2d5a47);
    transition: left 0.3s ease;
    z-index: -1;
}

.mobile-nav-menu a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27,67,50,0.25);
}

.mobile-nav-menu a:hover::before {
    left: 0;
}

.mobile-menu-footer {
    padding-top: 30px;
    border-top: 2px solid rgba(27,67,50,0.1);
    color: #6c757d;
}

.mobile-menu-footer > p {
    margin-bottom: 20px;
    font-style: italic;
    font-size: 0.95rem;
    color: #1b4332;
    font-weight: 500;
}

.mobile-contact {
    font-size: 0.9rem;
    background: rgba(27,67,50,0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(27,67,50,0.1);
}

.mobile-contact p {
    margin: 8px 0;
    color: #495057;
}

.mobile-contact strong {
    color: #1b4332;
}

/* ハンバーガーメニューのレスポンシブ表示 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
} 

/* ---------- 基本レイアウト ---------- */
#preloader{
    position:fixed; inset:0; z-index:9999;
    display:flex; justify-content:center; align-items:center; /* 中央寄せ */
    width:100%;
    height:100dvh; /* iOS Safari 対策：動的ビューポート */
    min-height:100vh; /* 古いブラウザ向けフォールバック */
    background:rgba(27,67,50,.85); /* 深緑＋透過 */
    backdrop-filter:blur(2px);
    transition:opacity .6s ease, visibility .6s ease;
}
#preloader.hide{opacity:0; visibility:hidden;}

/* ---------- 波紋コンテナ ---------- */
.ripple{
    width:300px; height:300px; /* ベースサイズ */
    position:relative;
    border-radius:50%;
}

/* ---------- ロゴ ---------- */
.ripple .logo{
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%);
    width:250px; height:auto; /* 指定サイズ */
    opacity:0;
    animation:logoFade .8s .3s forwards; /* 遅延フェードイン */
}

/* ---------- 波紋 ---------- */
.ripple::before, .ripple::after{
    content:"";
    position:absolute; inset:0;
    border-radius:50%;
    background:radial-gradient(circle,rgba(255,255,255,.8) 0%,rgba(255,255,255,0) 70%);
    animation:ripple 2.4s cubic-bezier(.215,.61,.355,1) infinite;
}
.ripple::after{animation-delay:1.2s;} /* 半周期遅らせる */

/* prefers-reduced-motion でアニメ停止 */
@media(prefers-reduced-motion:reduce){
    .ripple::before,.ripple::after{animation:none;}
}

/* ---------- キーフレーム ---------- */
@keyframes ripple{
    0%{transform:scale(.2);opacity:1;}
    80%{opacity:.3;}
    100%{transform:scale(3);opacity:0;}
}
@keyframes logoFade{to{opacity:1;}}

/* ---------- モバイルでロゴが画面外にはみ出すのを回避 ---------- */
@media(max-width:480px){
    .ripple{width:70vw; height:70vw;} /* ビューポートに合わせて縮小 */
    .ripple .logo{width:60vw;} /* ロゴも追随 */
}