@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* ダークシアン */
    --primary-color: #008b8b; 
    --secondary-color: #2980b9;
    --accent-color: #e67e22;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Header & Navigation */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: var(--bg-white);
    font-weight: 500;
}
.navbar-custom .nav-link:hover {
    color: #e0e0e0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 400px;
    background-color: #000;
    margin-bottom: 2rem;
    overflow: hidden;
}
.hero-slider .carousel {
    height: 100%;
}
.carousel-item {
    height: 70vh;
    min-height: 400px;
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.7;
}
.carousel-caption {
    bottom: 30%;
    z-index: 10;
}
.carousel-caption h1 {
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Sections */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Intro Section */
.sdgs-intro {
    background: var(--bg-white);
    padding: 5rem 0;
}
.sdgs-poster {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 100%;
}

/* Goals Section */
.sdgs-goals {
    padding: 5rem 0;
}
.goal-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-color);
}
.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.goal-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.goal-icon {
    width: 80px;
    height: 80px;
    margin-right: 1.5rem;
    object-fit: contain;
}
.goal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.goal-list {
    list-style-type: none;
    padding-left: 0;
}
.goal-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
}
.goal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ISO Sub-section */
.iso-box {
    background-color: #f0f7f4;
    border-left: 4px solid #27ae60;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
}
.iso-box h4 {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}
.site-footer a {
    color: #b3d4fc;
    text-decoration: none;
}
.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .goal-header {
        flex-direction: column;
        text-align: center;
    }
    .goal-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .section-title.text-start::after {
        left: 0;
        transform: none;
    }
}
