body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
}

/* PC版スタイル */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
}

.content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.button-section {
    margin-top: 20px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 10px;
    transition: background-color 0.3s;
    width: auto;
}

button:hover {
    background-color: #0056b3;
}

/* スマホ版ナビゲーションバー */
.mobile-nav {
    display: flex; /* ここを none から flex に変更 */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
    padding: 10px 0;
}

/* ナビゲーションバーの分の余白を確保 */
body {
    padding-bottom: 70px; /* ナビゲーションバーの高さに合わせて調整 */
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.nav-item.active, .nav-item:hover {
    color: #007bff;
}

/* レスポンシブデザインの適用 */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    .content {
        padding: 20px;
    }
    
    .content p {
        font-size: 1rem;
    }

    .button-section.pc-only {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }
}