/* style.css */
/* グローバル設定 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    background-color: #f5f5f5;
}

/* ヒーローセクション */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    background: url('images/hero-bg.jpg') no-repeat center/cover;
    text-align: center;
    position: relative;
    color: white;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

h2 {
    text-align: center;
    font-size: 2rem;
}

/* セクションごとの背景画像設定 */
.section-bg {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: -1;
}

.company-bg::before { background-image: url('images/company-bg.jpg'); }
.history-bg::before { background-image: url('images/history-bg.jpg'); }
.philosophy-bg::before { background-image: url('images/philosophy-bg.jpg'); }
.business-bg::before { background-image: url('images/business-bg.jpg'); }
.client-bg::before { background-image: url('images/client-bg.jpg'); }

/* ナビゲーションメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.menu-toggle .bar {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 60px;
        width: 200px;
    }
    .nav-menu.active { display: flex; }
}
