body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    background-image: url(images/background1.JPG); /* 背景画像のURLを指定 */
    background-size: cover; /* 画像を画面全体にカバー */
    background-attachment: fixed; /* スクロールしても背景を固定 */
    background-position: center; /* 画像の位置を中央に */

}

header {
    background-image: url(images/background2.JPG);
    
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header h1 {
    color: white;
    margin: 0;
    font-size: 1.5em;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 15px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
}

header nav ul li a:hover {
    background-color: ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    width: 50px;
    height: auto;
}
.logo1 {
    max-width: 100%;
    height: auto;
}

.menu-toggle {
    font-size: 1.5em;
    background: none;
    border: none;
    color: white;
    display: none; /* デスクトップでは表示しない */
    cursor: pointer;
}

main {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

/* 各セクションのスタイリング */
section {
    background-color: #ffffff;
    padding: 40px 20px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.about-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.office-info-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.office-info-table th,
.office-info-table td {
    padding: 12px 20px;
    border: 1px solid #ddd;
}

.office-info-table th {
    background-color: #4CAF50;
    color: white;
    text-align: left;
}

.office-info-table td {
    background-color: #f9f9f9;
}

footer {
    background-image: url(images/background2.JPG);
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

.footer-info {
    margin-bottom: 10px;
}

footer p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

 .menu-toggle {
        display: block; /* モバイルで表示 */
    }

    nav ul.menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        display: none; /* モバイルでデフォルト非表示 */
    }
nav ul.menu.active {
        display: flex; /* アクティブ時に表示 */
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        width: 100%;
    }

    .office-info-table {
        width: 100%;
    }
}
