:root { 
    --primary-color: #86B81B; 
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --light-bg: #f8f9fa;
}

[data-bs-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --light-bg: #252525;
}

body { 
    font-family: 'Noto Sans JP', sans-serif; 
    color: var(--text-color); 
    background-color: var(--bg-color);
    line-height: 1.8; 
    transition: background-color 0.3s, color 0.3s;
}

/* Navbar & Logo */
.navbar-brand img { height: 75px; width: auto; }
@media (max-width: 768px) { .navbar-brand img { height: 55px; } }
.footer-logo { height: 100px; width: auto; }

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { background-color: var(--primary-color); border: none; padding: 12px 35px; font-weight: bold; }
.btn-primary:hover { background-color: #75a317; transform: translateY(-2px); }

/* Hero Section */
.hero { 
    position: relative;
    background-image: url("../img/topImg.jpg");
    background-size: cover; 
    background-position: center; 
    padding: 180px 0; 
    color: #ffffff;
    min-height: 80vh;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { text-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.hero p { text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-highlight { color: #a3d933; }

/* Floating Action Button Container */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.fab-item:hover {
    transform: scale(1.1);
}

/* Hero Overlay Strength */
.hero::before {
    background: rgba(0, 0, 0, 0.65); /* 可読性のために少し濃く設定 */
}

section { padding: 100px 0; }
.section-title { position: relative; padding-bottom: 15px; margin-bottom: 50px; font-weight: bold; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--primary-color); }

/* Cards & Tables */
.card { background-color: var(--card-bg); border: none; border-radius: 20px; transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.bg-light-custom { background-color: var(--light-bg); }
.work-card { overflow: hidden; height: 100%; border: 1px solid rgba(0,0,0,0.05); }
.work-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(134, 184, 27, 0.2); }

.full-support-badge { 
    font-size: 0.75rem; 
    background: rgba(134, 184, 27, 0.1); 
    color: var(--primary-color); 
    border: 1px solid var(--primary-color); 
    padding: 2px 10px; 
    border-radius: 50px; 
    display: inline-block; 
    margin-bottom: 10px;
    font-weight: bold;
}

.info-table th { background-color: var(--light-bg); color: var(--text-color); width: 30%; }
footer { border-top: 1px solid rgba(0,0,0,0.1); padding: 80px 0; }

a {
    color: var(--bs-gray-500);
}

.right-block {
    float: right;
}