/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* ヘッダー */
header {
    background-color: #00a1cc;
    color: white;
    width: 100%;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 24px;
}

/* タイトルセクション */
.app-menu-title {
    margin-top: 80px;
    padding: 20px 0;
    text-align: center;
}

.app-menu-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

/* 利用規約コンテナ */
.terms-container {
    background: #fff;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.terms-container h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #00a1cc;
    padding-bottom: 10px;
}

.terms-container p,
.terms-container li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.terms-container h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #444;
}

.terms-container ul {
    padding-left: 20px;
}

.terms-container ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.terms-container ul li,
.terms-container ol li {
    margin-bottom: 8px;
}

/* フッター */
footer {
    text-align: center;
    padding: 10px;
    margin-top: auto;
    color: #777;
    font-size: 0.9rem;
    background-color: #f4f4f4;
    width: 100%;
}

/* モバイル対応 */
@media (max-width: 768px) {
    header .logo h1 {
        font-size: 20px;
    }

    .app-menu-title h2 {
        font-size: 24px;
    }

    .terms-container {
        margin: 20px 10px;
        padding: 15px;
    }

    .terms-container h2 {
        font-size: 22px;
    }

    .terms-container p,
    .terms-container li {
        font-size: 14px;
    }
}


/* フッター */
footer {
    margin-top: auto;
    background-color: #ececec;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section strong {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.footer-list li {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-list li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-list li a:hover {
    color: #000;
}

hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #777;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #000;
}
