/* General Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #e9e9e9;
}

h1, h2, h3, h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
}

h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1a5f7a 100%);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #7f8c8d 0%, #6c7a7d 100%);
    box-shadow: 0 4px 15px rgba(127, 140, 141, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #6c7a7d 0%, #5a6c6f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 140, 141, 0.4);
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 249, 250, 0.6) 100%);
    padding: 8px 0;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s ease;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    opacity: 0.7;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    min-height: 75px;
}

.logo img {
    max-height: 75px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
}

/* Show mobile menu button only on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
        border-radius: 4px;
        transition: all 0.3s ease;
        order: 2;
    }

    .mobile-menu-btn:hover {
        background: rgba(52, 152, 219, 0.1);
    }

    .mobile-menu-btn span {
        width: 28px;
        height: 3px;
        background: #2c3e50;
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Desktop Navigation */
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu ul li {
    margin-left: 20px;
    position: relative;
}

/* Desktop menu is always visible */
.nav-menu {
    display: block;
}

.nav-menu ul li a {
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.nav-menu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-menu ul li a:hover::before {
    left: 100%;
}

.nav-menu ul li a:hover {
    color: #3498db;
    text-decoration: none;
    background: rgba(52, 152, 219, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.jp-text {
    font-size: 0.95em;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.en-text {
    font-size: 0.65em;
    line-height: 1.2;
    color: #7f8c8d;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    white-space: nowrap;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.2) 100%);
    color: #3498db;
    transform: translateX(5px);
}

.dropdown-menu .jp-text {
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
}

.dropdown-menu .en-text {
    font-size: 0.6em;
    margin-top: 0;
    color: #7f8c8d;
    white-space: nowrap;
}

/* Hero Slider Section */
#hero-slider-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-btn.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* Contact Styles */
#contact-hero {
    background-color: #fff;
    text-align: center;
}

#contact-hero h1 {
    font-size: 3em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

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

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.contact-item p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* Privacy Policy Styles */
#privacy-hero {
    background-color: #fff;
    text-align: center;
}

#privacy-hero h1 {
    font-size: 3em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.privacy-intro {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.privacy-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-section ul li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-info p {
    margin: 0;
    line-height: 1.8;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
        margin: 0 15px;
    }
    
    #contact-hero h1 {
        font-size: 2.2em;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .privacy-content {
        padding: 20px;
        margin: 0 15px;
    }
    
    #privacy-hero h1 {
        font-size: 2.2em;
    }
    
    .privacy-section h2 {
        font-size: 1.2em;
    }
}

/* About Section */
#about {
    background-color: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.about-content h3 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}

.about-text {
    margin-bottom: 35px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.about-button {
    margin-top: 30px;
}

/* Hero Content Section */
#hero-content-section {
    background-color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

#hero-content-section h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: none;
    font-weight: 700;
}

#hero-content-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #2c3e50;
    text-shadow: none;
    line-height: 1.7;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.hero-nav-btn {
    width: 40px;
    height: 2px;
    border: none;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
    margin: 0 8px;
}

.hero-nav-btn:hover {
    opacity: 1;
    transform: scaleX(1.1);
}

.hero-nav-btn.active {
    background: #fff;
    opacity: 1;
    transform: scaleX(1.2);
}

/* About Section */
#about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    line-height: 1.7;
}

/* Activities Section */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.activity-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

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

@media (max-width: 900px) {
    .activity-grid-three {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-grid-four {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.activity-item {
    background-color: #fff;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-item h4,
.activity-item p {
    padding: 0 30px;
}

.activity-item h4 {
    margin-top: 25px;
}

.activity-item p {
    padding-bottom: 30px;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.activity-item h4 {
    color: #3498db;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Staff (スタッフ紹介) Styles */
#staff-hero {
    background-color: #fff;
    text-align: center;
}

#staff-hero h1 {
    font-size: 3em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.staff-intro {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-member {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.staff-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.staff-member:hover .staff-photo img {
    transform: scale(1.05);
}

.staff-info {
    padding: 30px;
}

.staff-info h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.staff-position {
    font-size: 1.1em;
    color: #3498db;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.2);
}

.staff-description p {
    font-size: 1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

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

@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    #staff-hero h1 {
        font-size: 2.2em;
    }
    
    .staff-info {
        padding: 25px 20px;
    }
    
    .staff-info h3 {
        font-size: 1.5em;
    }
    
    .staff-photo {
        height: 250px;
    }
}

/* Articles (定款) Styles */
#articles-hero {
    background-color: #fff;
    text-align: center;
}

#articles-hero h1 {
    font-size: 3em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.articles-intro {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.articles-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.articles-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #3498db;
}

.articles-header h2 {
    font-size: 2.2em;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
}

.articles-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.articles-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.articles-section h3 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    padding: 15px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.article-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.article-item h4 {
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-item p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

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

.article-item ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-item ol li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.articles-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #3498db;
    text-align: center;
}

.articles-footer p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.signature-date {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .articles-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    #articles-hero h1 {
        font-size: 2.2em;
    }
    
    .articles-header h2 {
        font-size: 1.8em;
    }
    
    .articles-section h3 {
        font-size: 1.4em;
    }
    
    .article-item {
        padding: 15px;
    }
    
    .article-item h4 {
        font-size: 1em;
    }
}

/* Water Resources Section */
#water-resources {
    background-color: #fff;
}

.water-resources-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.water-resources-image {
    flex: 0 0 400px;
}

.water-resources-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.water-resources-image:hover img {
    transform: scale(1.02);
}

.water-resources-text {
    flex: 1;
}

.water-resources-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .water-resources-content {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .water-resources-image {
        flex: none;
        width: 100%;
    }
    
    .water-resources-image img {
        height: 250px;
    }
}

/* Avalanche Database Section */
#avalanche-database {
    background-color: #f8f9fa;
}

.avalanche-database-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.avalanche-database-text {
    flex: 1;
}

.avalanche-database-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.avalanche-database-image {
    flex: 0 0 400px;
}

.avalanche-database-image iframe {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border: none;
}

.avalanche-database-image {
    position: relative;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avalanche-database-image:hover .iframe-overlay {
    opacity: 1;
}

.iframe-overlay a {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.iframe-overlay a:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1a5f7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.avalanche-database-image:hover iframe {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .avalanche-database-content {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .avalanche-database-image {
        flex: none;
        width: 100%;
        order: -1;
    }
    
    .avalanche-database-image iframe {
        height: 250px;
    }
}

/* News Section */
.news-list {
    margin-top: 40px;
}

.news-item {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-item h4 {
    margin-bottom: 10px;
}

.news-item h4 a {
    color: #2c3e50;
    font-size: 1.2em;
}

.news-item h4 a:hover {
    color: #3498db;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

footer p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.6;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }
    
    footer p {
        font-size: 0.85em;
    }
}

/* Desktop header styling */
@media (min-width: 769px) {
    header {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 249, 250, 0.6) 100%);
        position: relative;
    }
    
    #hero-slider-section {
        height: 100vh;
        min-height: 100vh;
    }
}

/* Mobile-only responsive design */
@media (max-width: 768px) {
    header {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
        position: relative;
    }
    
    #hero-slider-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    header .container {
        justify-content: space-between;
        padding: 15px 0;
        position: relative;
    }

    .logo {
        order: 1;
    }

    /* Hide desktop menu on mobile and show mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        padding-top: 100px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* オーバーレイ効果 */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        transition: left 0.4s ease;
    }

    .nav-menu.active::before {
        left: -300px;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 30px 25px;
        margin: 0;
        width: 100%;
    }

    .nav-menu ul li {
        margin: 0 0 20px 0;
        width: 100%;
    }

    .nav-menu ul li a {
        padding: 18px 20px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0.1) 100%);
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(52, 152, 219, 0.1);
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .nav-menu ul li a:hover,
    .nav-menu ul li a:focus {
        background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.2) 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-left: 20px;
    }
    
    .dropdown-menu a {
        background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(52, 152, 219, 0.15) 100%);
        margin-bottom: 10px;
        border-radius: 10px;
        border: 1px solid rgba(52, 152, 219, 0.2);
    }

    .jp-text {
        font-size: 1.1em;
        font-weight: 600;
        color: #2c3e50;
    }

    .en-text {
        font-size: 0.8em;
        margin-top: 3px;
        color: #7f8c8d;
        font-weight: 500;
    }

    /* メニューが開いている時のbody固定 */
    body.menu-open {
        overflow: hidden;
    }
}

    #hero-slider-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    #hero-content-section {
        padding: 40px 0;
    }
    
    #hero-content-section .container {
        padding: 0 15px;
    }

    #hero-content-section h2 {
        font-size: 1.8em;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    #hero-content-section p {
        font-size: 1em;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .hero-content {
        padding: 0 10px;
    }
    
    .btn {
        font-size: 0.9em;
        padding: 12px 25px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .activity-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .container {
        width: 95%;
        padding: 15px 0;
    }
    
    /* Improve touch targets */
    .activity-item {
        min-height: 44px;
    }
    
    .news-item {
        padding: 25px 20px;
    }
    
    .news-item h4 a {
        font-size: 1.1em;
        line-height: 1.5;
        padding: 5px 0;
        display: block;
    }

    h2 {
        font-size: 1.8em;
        line-height: 1.4;
    }

    h3 {
        font-size: 1.6em;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        width: 92%;
    }
    
    #hero h2 {
        font-size: 3em;
    }
    
    #hero p {
        font-size: 1.2em;
    }
}

/* Philosophy Section */
#philosophy {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.philosophy-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

#philosophy h3 {
    font-size: 1.5em;
    color: #3498db;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#philosophy h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#philosophy p {
    font-size: 1.4em;
    line-height: 1.9;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* Activities Section */
.activities-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.activity-item-simple {
    background: #fff;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.activity-item-simple:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.activity-item-simple h4 {
    color: #2c3e50;
    font-size: 1.2em;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

/* Company Info Section */
#company-info .container {
    text-align: center; /* 会社概要とアクセスセクションのテキストを中央揃え */
}

#company-info dl {
    display: inline-block; /* dl要素を中央揃えにするため */
    text-align: left; /* dl要素内のテキストは左寄せに戻す */
}

.right-align {
    text-align: right;
}

/* Greeting Section */
#greeting {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.greeting-section {
    max-width: 1200px;
    margin: 0 auto;
}

.greeting-section h3 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

.greeting-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.greeting-image {
    flex: 0 0 auto;
    position: relative;
}

.greeting-image img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.greeting-image:hover img {
    transform: scale(1.02);
}

.greeting-text {
    flex: 1;
    min-width: 500px;
}

.greeting-text p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.greeting-text .right-align {
    text-align: right;
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    font-weight: 600;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .greeting-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 30px 20px;
    }

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

    .greeting-image img {
        width: 250px;
        height: 300px;
    }

    .greeting-text {
        min-width: auto;
        width: 100%;
    }
    
    .greeting-text p {
        font-size: 0.95em;
        line-height: 1.7;
        text-align: left;
    }

    .greeting-text .right-align {
        text-align: center;
        font-size: 0.9em;
    }

    .activities-list {
        margin: 30px auto 0;
        padding: 0 10px;
    }

    .activity-item-simple {
        padding: 18px 20px;
        margin-bottom: 15px;
    }

    .activity-item-simple h4 {
        font-size: 1.1em;
        line-height: 1.5;
    }

    .philosophy-content {
        padding: 40px 20px;
        margin: 0 10px;
    }

    #philosophy h2 {
        font-size: 1.8em;
        line-height: 1.4;
    }
    
    #philosophy h3 {
        font-size: 1.2em;
    }
    
    #philosophy p {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .company-section {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .company-section h3 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .company-table th {
        width: 120px;
        font-size: 0.9em;
        padding: 15px 10px;
    }

    .company-table td {
        padding: 15px 10px;
        font-size: 0.9em;
    }
}

#company-info ul {
    list-style-position: inside;
    text-align: left; /* リストのテキストを左寄せに */
    padding-left: 0; /* デフォルトのパディングをリセット */
    margin: 0 auto; /* リスト全体を中央に配置 */
    max-width: 600px; /* リストの最大幅を設定 */
}

#company-info li {
    margin-bottom: 5px; /* 各項目の間隔 */
}

/* Table Styles for Company Info */
#company-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    max-width: 800px; /* テーブルの最大幅 */
    margin-left: auto; /* 中央寄せ */
    margin-right: auto; /* 中央寄せ */
}

#company-info th,
#company-info td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

#company-info th {
    background-color: #f2f2f2;
    width: 120px; /* ヘッダーの幅を固定 */
}

#company-info td ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#company-info td li {
    margin-bottom: 5px;
}

#company-info td li:last-child {
    margin-bottom: 0;
}

/* Company Info Section */
.company-section {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.company-section h3 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

.company-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.company-table th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1em;
    width: 150px;
    border: none;
}

.company-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    border: none;
}

.company-table tr:last-child td {
    border-bottom: none;
}

.company-table tr:nth-child(even) {
    background-color: #f8f9fa;
}