/* CSS Document */
/* リンク先の見出し（h2やh3など）に指定します */
#a01, #a02, #a03, #a04 {
    scroll-margin-top: 200px; /* ヘッダーの高さ ＋ 少しの余白 */
}

@media screen and (max-width: 960px) {
    #a01, #a02, #a03, #a04 {
        scroll-margin-top: 100px; /* ヘッダーの高さ ＋ 少しの余白 */
    }
}


.mainTitle{
	background-image:url(../img/mainBg.jpg);
	background-color:#D0C3B4;
}

div.honbun{
	margin-bottom: 60px;
}

div.honbun h4{
	color:#E21E04;
	font-weight: bold;
	margin-bottom: 5px;
	font-size:120%;
}


div.honbun p{
	font-size:16px;
	line-height:180%;
	margin-bottom:20px;
	text-indent:1em;
}

div.honbun p span{
	text-decoration: underline;
}

div.honbun p strong{
    font-weight: bold;
}

div.honbun .imgArea img{
	width:100%;
}

div.honbun ul{
	margin:0 0 20px 40px;
}

div.honbun li{
	list-style-type:disc;
	margin-bottom: 5px;
}

div.honbun ul.minpou li{
    list-style-type: none;
    font-weight: bold;
    color:#C70741;
}

/*div.honbun ol{
	margin:0 0 20px 40px;
}*/

/*div.honbun ol li{
	list-style-type:decimal;
}*/



/* 目次全体のボックスデザイン */
.custom-toc {
    background-color: #fffdfd; /* ほんのり温かみのある背景色 */
    border: 1px solid #f2d5dd; /* 柔らかいピンク系の枠線 */
    border-radius: 8px;        /* 角丸で優しい印象に */
    padding: 1.8em;
    margin: 2em 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); /* 軽いふんわりとした影 */
}

/* 「目次」というタイトルのデザイン */
.custom-toc .toc-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #b25d74; /* 落ち着いたローズピンク（女性向けページに馴染む色） */
    margin-bottom: 1em;
    text-align: center;
    border-bottom: 2px dashed #f2d5dd;
    padding-bottom: 0.8em;
}

/* リスト全体の設定 */
.custom-toc ul {
    padding: 0;
    margin: 0;
}

div.honbun .custom-toc li {
    list-style-type: none; /* 強制的に黒丸を消す */
    margin-bottom: 1em;
}

.custom-toc li:last-child {
    margin-bottom: 0;
}

/* リンクのデザイン */
.custom-toc a {
    color: #4a4a4a; /* 本文と馴染む、きつすぎないダークグレー */
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-left: 1.2em; /* マーカーの分の余白 */
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* オリジナルの可愛らしいリストマーカー */
.custom-toc a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em; /* 文字の高さに合わせる */
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d896a8; /* マーカーも同系色のピンクで統一 */
}

/* マウスを乗せた時の動き */
.custom-toc a:hover {
    color: #b25d74; /* ホバー時にアクセントカラーに変更 */
    text-decoration: underline;
}


