@charset "utf-8";

/* 1. ページ全体の共通軸 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f9f9f9;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

#wrap {
    display: flex;
    flex-direction: column;
    align-items: center; /* コンテンツとフッターを中央に並べる */
    width: 100%;
}

/* 2. メインコンテンツ（白い箱） */
#contents {
    width: 95%;
    max-width: 900px;
    margin: 40px auto 20px auto;
    padding: 40px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left !important; /* 文章は左寄せ */
}

/* 見出し（1枚目の画像の色） */
.section_title, h2 {
    color: #4b2d7f !important;
    border-left: 6px solid #4b2d7f !important;
    font-size: 1.6rem;
    padding-left: 15px;
    margin: 0 0 25px 0;
}

h3 {
    background: #f4f2f8;
    border-left: 4px solid #4b2d7f;
    padding: 12px 15px;
    margin: 30px 0 15px 0;
    font-size: 1.1rem;
}

/* 箇条書きドットの維持 */
#contents ul {
    padding-left: 20px;
    margin: 1em 0;
    list-style: disc;
}
#contents ul li {
    text-align: left;
}

/* 3. テーブル（PC・SP共通で項目に色を付ける） */
.uneisha {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.uneisha th, .uneisha td {
    border: 1px solid #eee;
    padding: 15px;
}
.uneisha th {
    background-color: #f4f2f8 !important; /* 1枚目の画像の薄い紫 */
    width: 30%;
    text-align: left;
    color: #333;
}

/* 4. フッター（中央寄せ・横並びリンク） */
footer, .footer-container, #wrap > div:last-child {
    width: 95%;
    max-width: 900px;
    margin: 20px auto 60px auto;
    text-align: center !important;
}

/* 5. レスポンシブ（スマホ設定） */
@media (max-width: 768px) {
    #contents {
        padding: 20px;
        font-size: 14.5px !important; /* フォントを少し小さく */
        line-height: 1.6;
    }
    .uneisha th, .uneisha td {
        display: block;
        width: 100%;
    }
    .uneisha th {
        border-bottom: none;
    }
}

/* フッター */
#footer {
	clear: both;
	padding: 0;
	background-color: #b6f1ce;
	box-shadow: 2px 0 3px #b5b5b5;
	/* behavior: url(/PIE.htc); はIE8以前の古いプロパティなので削除推奨 */
	font-size: 14px;
}
.footer_contents{
	text-align: center;
	padding:10px 0 10px 0;
	margin: 15px 0 0 0;
	overflow: hidden;
}
.footer_contents a {
	color: #333;
	text-decoration: none;
}
.footer_contents .mokuji_waku {
	float: left;
	padding: 0 0 0 75px;
	text-align: left;
	width: 46%;
}
.footer_contents .groupname {
	margin: 0 0 0 0;
	padding: 0 0 0 7%;
	border-bottom: 1px dotted #333;
	font-size: 95%;
	font-weight: bold;
	text-align: left;
}
.footer_contents li {
	margin: 5px 0 0 0;
	padding: 0 10px 0px 0;
	font-size: 80%;
	list-style:none;
}
@media screen and (max-width: 767px) {
.footer_contents li {
	font-size: 12px;
}
}
@media screen and (max-width: 479px) {
.footer_contents li {
	font-size: 10px;
}
}
.copylights {
	display: block;
	padding: 10px 0;
	text-align: center;
	font-size: 90%;
	background: #fff;
}
address {
	text-align: center;
	font-size: 85%;
	background: #f8f8f8;
}


@media screen and (min-width: 980px) {
	/* フッターのフォントサイズ調整 */
	.footer_contents .sitename {
		font-size: 20px;
	}
	.copylights {
		font-size: 100%;
	}
	address {
		font-size: 90%;
	}
}

@media screen and (max-width: 767px) {
	.footer_contents {
		width: 540px;
	}
	.footer_contents .sitename {
		font-size: 16px;
	}
	.footer_contents li {
		font-size: 12px;
	}
}

@media screen and (max-width: 479px) {
	.footer_contents {
		width: 100%;
	}
	.footer_contents .sitename {
		font-size: 14px;
	}
	.footer_contents li {
		font-size: 10px;
	}
}