﻿:root {
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #1a202c;
    --text-muted: #718096;
    --accent-blue: #2b6cb0;
    --orb1: radial-gradient(circle, rgba(235,244,255,1) 0%, rgba(255,255,255,0) 70%);
    --orb2: radial-gradient(circle, rgba(254,235,200,1) 0%, rgba(255,255,255,0) 70%);
    --orb3: radial-gradient(circle, rgba(255,245,245,1) 0%, rgba(255,255,255,0) 70%);
}

body {
    margin: 0; padding: 0;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color); color: var(--text-main);
    overflow-x: hidden; position: relative;
    letter-spacing: 0.03em;
}

/* Typography Utilities */
.font-mincho, .ai-warning, .story-section, .booklet-section, .moon-section {
    font-family: 'Shippori Mincho', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

/* UI Elements Explicit Gothic */
.badge, .cta-btn, .header-nav, .logo-area, .scroll-indicator, .tab-btn, .quick-link-card, .quick-links-grid {
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

/* Background Orbs *//* Background Orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.6; animation: float 20s infinite alternate ease-in-out; }
.orb-1 { width: 60vw; height: 60vw; background: var(--orb1); top: -10%; left: -20%; }
.orb-2 { width: 50vw; height: 50vw; background: var(--orb2); top: 40%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 70vw; height: 70vw; background: var(--orb3); bottom: -10%; left: 10%; animation-delay: -10s; }

@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 100px) scale(1.1); } }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.hidden { display: none !important; opacity: 0; }
.visible-fast { display: block; animation: fadeIn 0.5s forwards; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(236, 201, 75, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(236, 201, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 201, 75, 0); } }
.pulse-anim { animation: pulse 2s infinite; }

/* Utilities */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 120px 0; }
.section-title { font-size: 2.2rem; color: var(--accent-blue); margin-bottom: 40px; line-height: 1.4; letter-spacing: 0.05em; }
.section-desc { font-size: 1.2rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 60px; }
.highlight { background: linear-gradient(transparent 60%, #fefcbf 40%); font-weight: bold; }

/* Glassmorphism */
.glass-content, .glass-card {
    background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px; box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.05);
}
.badge { display: inline-block; color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 15px; }

/* =========================================
   Hero Section (譏取律鬥儉P鬚ｨ繧ｹ繝励Μ繝・ヨ)
   ========================================= */
.hero-section { min-height: 100vh; padding: 60px 20px; display: flex; flex-direction: column; justify-content: center; }
.hero-split { display: flex; align-items: stretch; gap: 40px; }
.hero-text-box { flex: 1.2; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.hero-image-box { 
    flex: 0.8; background: rgba(200, 210, 220, 0.3); border-radius: 24px; 
    border: 2px dashed #cbd5e1; display: flex; align-items: center; justify-content: center; color: #a0aec0; text-align: center; line-height: 1.5;
}
.text-gradient { display: inline-block; background: linear-gradient(135deg, #e53e3e 0%, #dd6b20 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* SCROLL Indicator */
.scroll-indicator { text-align: center; margin: 40px auto 20px; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 2px; }
.scroll-indicator .line { width: 1px; height: 40px; background: var(--text-muted); margin: 10px auto 0; animation: scrollBounce 2s infinite; }
@keyframes scrollBounce { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Quick Links Grid */
.quick-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.quick-link-card { 
    display: flex; align-items: center; gap: 15px; padding: 20px; text-decoration: none; color: var(--text-main);
    transition: transform 0.3s ease, background 0.3s ease;
}
.quick-link-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.95); box-shadow: 0 15px 30px rgba(43, 108, 176, 0.1); border-color: var(--accent-blue); }
.quick-link-card .icon { font-size: 2rem; }
.quick-link-card .text { display: flex; flex-direction: column; }
.quick-link-card .text strong { font-size: 0.95rem; margin-bottom: 5px; }
.quick-link-card .text span { font-size: 0.75rem; color: var(--text-muted); }

/* =========================================
   Split Layouts
   ========================================= */
.layout-split { display: flex; align-items: center; gap: 60px; }
.layout-split.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-photo { flex: 1; height: 400px; background: rgba(200, 210, 220, 0.3); border-radius: 24px; display: flex; align-items: center; justify-content: center; color: #a0aec0; border: 2px dashed #cbd5e1; text-align: center; }

/* 4縺､縺ｮ蜃ｦ譁ｹ邂・Grid */
.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.solution-card { padding: 40px; transition: transform 0.4s ease; cursor: pointer; }
.solution-card:hover { transform: translateY(-10px); background: #ffffff; border-color: var(--accent-blue); }

/* =========================================
   5 Supports Tab UI
   ========================================= */
.tab-buttons { display: flex; justify-content: center; gap: 10px; border-bottom: 2px solid rgba(43, 108, 176, 0.2); padding-bottom: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { 
    background: transparent; border: none; font-size: 1.1rem; color: var(--text-muted); padding: 10px 20px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; position: relative; font-family: inherit;
}
.tab-btn:hover { color: var(--accent-blue); }
.tab-btn.active { color: var(--accent-blue); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -17px; left: 0; width: 100%; height: 3px; background: var(--accent-blue); border-radius: 3px; }
.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }

/* =========================================
   Flow / Steps (縺皮嶌隲・・豬√ｌ)
   ========================================= */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.flow-card { padding: 40px 30px; transition: transform 0.3s ease; }
.flow-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); background: #fff; }

/* =========================================
   Interactive Checklist (Diagnosis)
   ========================================= */
.checklist { display: flex; flex-direction: column; gap: 15px; margin-bottom: 40px; }
.check-item { display: flex; align-items: center; padding: 20px; background: rgba(255, 255, 255, 0.5); border: 2px solid #e2e8f0; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; }
.check-item:hover { background: rgba(255,255,255,0.9); border-color: #bee3f8; }
.check-item input[type="checkbox"] { width: 24px; height: 24px; margin-right: 15px; cursor: pointer; }
.check-item:has(input:checked) { background: #ebf8ff; border-color: #63b3ed; }

/* =========================================
   Authority (SDGs & Trademarks)
   ========================================= */
.trademark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; margin-top: 40px; }
.tm-card { padding: 20px; }

/* =========================================
   Company Table
   ========================================= */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 20px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.1); }
.company-table th { width: 35%; font-weight: bold; color: var(--text-main); }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }

/* =========================================
   Buttons & CTA
   ========================================= */
.btn-container { margin-top: 40px; display: flex; justify-content: center; }
.cta-btn {
    display: inline-block; background: linear-gradient(135deg, #4299e1 0%, #2b6cb0 100%); color: white; font-size: 1.3rem; font-weight: bold; text-decoration: none; padding: 20px 50px; border-radius: 50px; box-shadow: 0 10px 25px rgba(43, 108, 176, 0.3); transition: all 0.3s ease; white-space: nowrap; text-align: center;
}
.cta-btn.btn-yellow { background: linear-gradient(135deg, #ecc94b 0%, #d69e2e 100%); box-shadow: 0 10px 25px rgba(214, 158, 46, 0.3); color: #1a202c;}
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }

/* =========================================
   Responsive (Mobile)
   ========================================= */
@media (max-width: 900px) {
    .quick-links-grid { grid-template-columns: 1fr 1fr; }
    .hero-split { flex-direction: column; }
    .hero-image-box { height: 300px; margin-top: 20px; }
}
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero-text-box { padding: 30px; }
    .text-gradient { font-size: 2rem; }
    .layout-split, .layout-split.reverse { flex-direction: column; gap: 30px; }
    .split-photo { width: 100%; height: 250px; }
    .solutions-grid, .quick-links-grid { grid-template-columns: 1fr; }
    .flow-grid, .channels-grid { grid-template-columns: 1fr; }
    .trademark-grid { grid-template-columns: 1fr 1fr; } /* 繧ｹ繝槭・縺ｧ縺ｯ2蛻・*/
    .tab-btn { font-size: 0.9rem; padding: 10px; }
    .tab-btn.active::after { bottom: -15px; }
    .cta-btn { font-size: 1.1rem; padding: 16px 24px; white-space: normal; width: 100%; box-sizing: border-box; }
    .company-table th, .company-table td { display: block; width: 100%; padding: 15px 10px; }
    .company-table th { padding-bottom: 5px; border-bottom: none; color: var(--accent-blue); }
}
/* =========================================
   New Solutions Tab UI
   ========================================= */
.solutions-container {
    max-width: 1000px;
    margin: 0 auto;
}
.new-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.new-tab-link {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #718096;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.new-tab-link .tab-num {
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-right: 5px;
}
.new-tab-link.active {
    color: var(--accent-blue);
}
.new-tab-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.new-tab-link.active::after {
    transform: scaleX(1);
}
.new-tab-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.new-tab-text {
    flex: 1.2;
}
.new-tab-text .badge {
    display: inline-block;
    background: #fff3e0;
    color: #dd6b20;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.new-tab-text h3 {
    font-size: 1.6rem;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.4;
}
.new-tab-text p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 25px;
}
.new-tab-text ul {
    list-style: none;
    padding: 0;
}
.new-tab-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #2d3748;
    font-weight: 500;
}
.new-tab-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e53e3e;
    font-weight: bold;
}
.new-tab-image {
    flex: 1;
}
.new-tab-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .new-tab-grid {
        flex-direction: column-reverse;
        padding: 25px;
    }
    .new-tab-text h3 { font-size: 1.4rem; }
    .new-tab-buttons { border-bottom: none; gap: 10px; }
    .new-tab-link { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; width: 100%; text-align: left; }
    .new-tab-link.active::after { display: none; }
    .new-tab-link.active { border-color: var(--accent-blue); background: #ebf8ff; }
}
/* =========================================
   Header (Top Banner)
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1a202c;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 1.3rem;
    color: #1a202c;
    text-decoration: none;
    transition: opacity 0.3s;
}
.logo-area:hover { opacity: 0.8; }
.logo-icon {
    width: 40px;
    height: 40px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(72, 187, 120, 0.3);
}
.logo-text-small {
    font-size: 0.7rem;
    color: #718096;
    display: block;
    margin-top: 2px;
    font-weight: normal;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-nav a.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: color 0.3s;
}
.header-nav a.nav-link:hover {
    color: #3182ce;
}
.header-btn {
    background: linear-gradient(135deg, #4299e1 0%, #2b6cb0 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.4);
}
.header-btn:hover {
    transform: scale(1.05);
}

/* =========================================
   Channels Grid & Company Grid
   ========================================= */

.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.company-map { width: 100%; height: 100%; min-height: 300px; border-radius: 12px; border: none; }

@media (max-width: 900px) {
    .header-nav { display: none; }
    .company-grid { grid-template-columns: 1fr; }
}








/* =========================================
   Responsive Channels Grid & Clean Footer
   ========================================= */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .channels-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .channel-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 35px 20px !important;
    }
    .company-section {
        padding: 40px 0 !important;
    }
    footer {
        padding: 20px 0 140px !important; /* 固定ボタンの高さ分だけ余白を確保 */
    }
}

/* 画面外にはみ出して無限スクロールを作るOrbの修正 */
.hero-bg {
    overflow: hidden;
    position: relative;
}
body {
    overflow-x: hidden;
    position: relative;
}
.orb-3 {
    bottom: 0% !important;
}
