/* 基本リセット */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* ロゴ */
.logo img {
    height: 80px;
    margin-left: -10px;
}

/* ナビゲーション */
.navbar {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100px;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.active {
    display: flex;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar li {
    margin: 10px 0;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 60px;
}

.menu-toggle span {
    background-color: #333;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

/* メインコンテンツ */
main {
    padding: 120px 20px 20px;
    max-width: 800px; /* PC版と同じ幅 */
    margin: 0 auto;
    color: #000;
    line-height: 1.6;
}

/* コンテンツタイトル */
.page-title h1 {
    font-size: 64px; /* PC版と同じフォントサイズ */
    color: #000;
    text-align: left;
    margin-bottom: 10px;
}

/* セクションタイトル */
.mission-title h1 {
    font-size: 36px;
    color: #000;
    text-align: left;
    margin-bottom: 10px;
}

/* コンテンツセクション */
.content-section {
    background: #f9f9f9; /* 薄いグレーの背景色 */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.content-section h2 {
    font-size: 22px;
    color: #000;
    margin-bottom: 10px;
    text-align: left;
}

.content-section p {
    margin: 0 0 15px;
    text-align: justify;
}

/* スライダー */
#slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 1s ease;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 14.4px;
    font-weight: bold;
}

/* フッター */
footer {
    padding: 20px;
    text-align: center;
    background-color: #f8f8f8;
    font-size: 14px;
    color: #666;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .navbar {
        display: flex;
        position: static;
        flex-direction: row;
    }

    .menu-toggle {
        display: none;
    }
}
