﻿body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    font-size: 16px; 
}
.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    color: #555;
    margin-top: 40px;
    margin-bottom: 25px; 
    text-align: left; 
}

/* h2の中のテキストを囲むspanのスタイル */
.section-title-text {
    background-color: #e9ecef; /* 背景色を追加 */
    padding: 8px 15px; /* パディングを追加して見やすく */
    border-radius: 5px; /* 少し角を丸くする */
    display: inline-block; /* span自体をインラインブロックにして背景をテキスト幅に合わせる */
}

.faq-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
}
.faq-item h3 {
    color: #007bff;
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 3px;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    display: inline-block;
}
.faq-item p {
    margin-bottom: 10px;
}
.faq-item p:last-child {
    margin-bottom: 0;
}
.answer-list {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 25px;
}
.answer-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    background-color: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
/* リンクのスタイル */
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* お問い合わせ情報のスタイル */
.contact-info {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}
.contact-info a {
    color: #007bff;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* ショートカットキー一覧のスタイル (前回追加分) */
.shortcut-keys-list {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
}

.shortcut-keys-list p {
    margin-bottom: 15px;
}

.shortcut-keys-list dl {
    margin-top: 0;
    margin-bottom: 15px;
    padding: 0;
}

.shortcut-keys-list dt {
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 5px 0;
    border-bottom: 1px dotted #ccc;
}

.shortcut-keys-list dd {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* --- 目次（Table of Contents）のスタイルを追加 --- */
.table-of-contents {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px; /* 目次と次のセクションの間の余白 */
}

.table-of-contents h2 {
    color: #333; /* 目次のタイトル色 */
    font-size: 1.4em; /* 目次のタイトルサイズ */
    margin-top: 0;
    margin-bottom: 15px;
    /* 目次のタイトルがh2のデフォルトスタイルを継承しないようにリセット */
    background-color: transparent; 
    padding: 0;
    border-radius: 0;
}

.table-of-contents ul {
    list-style: none; /* デフォルトの箇条書きマークを削除 */
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 8px; /* 各目次アイテム間の余白 */
}

.table-of-contents a {
    color: #007bff; /* リンクの色 */
    text-decoration: none;
    font-weight: normal;
    display: block; /* リンク領域全体をクリック可能にする */
    padding: 5px 10px; /* 目次リンクのパディング */
    border-radius: 3px; /* 少し角を丸くする */
}

.table-of-contents a:hover {
    background-color: #e9ecef; /* ホバー時の背景色 */
    text-decoration: underline;
}

.settingItems {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 6px;
}

.settingItem {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 1px;
    border-bottom: 1px solid rgb(179, 179, 179);
}