@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	font-size: 100%;     
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
	background: #fafafa;
	line-height: 1.6;
	font-size: 81.25%;
	color: #414141;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #333333;
}

a:hover{
	text-decoration: underline;
	color: #666666;
}

a:hover img{
	opacity: 0.80;
}

/*-------------------------------------
Container
--------------------------------------*/
div#Container {
	width: 944px;
	padding: 10px 0;
	margin: 0 auto;
	background: #fff;
}

/*-------------------------------------
h1　大見出し（タイトル）
--------------------------------------*/
h1 {
	padding: 10px;
	text-align: center;
	font-size: 200%;
	font-weight: bold;
	color: #504946;
}

/*-------------------------------------
Contents
--------------------------------------*/
div#Contents {
	width: 944px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

/*-------------------------------------
Nav　グローバルナビゲーション
--------------------------------------*/
nav {
	width: 944px;
	margin: 0 auto;
}

nav ul li {
	list-style: none;
	width: 236px;
	font-size: 1.2em;
	margin: 0 0 20px 0;
	float: left;	
}

/*通常時*/
nav ul li a {
	display: block;
	padding: 12px 16px;
	margin: 0;
	background: #8E7CB8;
	text-align: center;
	text-decoration: none;
	color: #fff;
	overflow: hidden;	
	border-radius: 0 40px 0 0;
	transition: all 0.3s ease;
}

/*マウスをリンクの上に置いた時*/
nav ul li a:hover {
	background: #C8B8D8;
	text-decoration: none;
	color: #2C2C2C;
}

/*リンクが有効になった時（現在地）*/
nav ul li.active a {
	background: #B8D4E8;       /* アイスブルー */
	text-decoration: none;
	color: #2E5A8F;
}

/*現在地のホバー時（追加）*/
nav ul li.active a:hover {
	background: #9BBFD4;        /* ← 濃いめのアイスブルー */
	color: #2E5A8F;
}

/*-------------------------------------
Main
--------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

/*-------------------------------------
Main_h2　小見出し
--------------------------------------*/
div#Main h2 {
	font-size: 105%;
	font-weight: bold;
	color: #504946;
	padding-bottom: 5px;
}

/*-------------------------------------
Main_TopImg　トップページの画像
--------------------------------------*/
div#Main div#TopImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

/*-------------------------------------
Main_PortImg　課題ページの画像
--------------------------------------*/
div#Main div#PortImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

/*-------------------------------------
Main_p　学校生活での感想 / 課題の感想
--------------------------------------*/
div#Main p {
	color: #504946;
	margin-top: 10px;
}

/*-------------------------------------
Main_table　課題ページの表
--------------------------------------*/
div#Main table {
	width: 90%;
	margin: 15px auto 30px auto;
	border-collapse: collapse;
	border: 0 none;
}

div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: #fafafa;
	border-right: 1px solid #C8B8D8;   /* ← 薄紫に変更 */
	border-bottom: 1px solid #C8B8D8;  /* ← 薄紫に変更 */
	text-align: left;
	vertical-align: top;
	letter-spacing: 0.5em;
	color: #2c2c2c;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border-bottom: 1px solid #C8B8D8;  /* ← 薄紫に変更 */
	text-align: left;
	vertical-align: top;
}

/* 最後の行の下線を消す */
div#Main table tr:last-child th,
div#Main table tr:last-child td {
	border-bottom: none;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

/* ===== ページトップボタン（強制適用版） ===== */
p.pagetop {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999;
    margin: 0;
    width: 50px;
    height: 50px;
}

p.pagetop a {
    display: block;
    text-decoration: none;
}

p.pagetop img {
    width: 60px !important;
    height: 60px !important;
    display: block;
}

p.pagetop:hover img {
    opacity: 0.8;
}
/*-------------------------------------
address　コピーライトマーク
--------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #504946;
}