/*************************************************************
// そふぃのPHP入門
//   トップページ用スタイルシート
//************************************************************/

/*********************************************************
// #contents
//********************************************************/
#contents {
	text-align: left;
}
/*=====================
// 共通設定
//=====================*/
#contents h3{
	position: relative;
	padding: 0.5em 0.5em 0.25em 2.5em;
	border-bottom-width: 2px;
}
#contents h3:before,
#contents h3:after{
	content: '□';
	position: absolute;
}
#contents h3:before{
	top: 1px;
	left: 0;
	font-size: 120%;
	color: #669966;
}
#contents h3:after{
	top: 11px;
	left: 6px;
	font-size: 170%;
	color: #006600;
}

/*********************************************************
// お知らせ
//********************************************************/
/*=====================
// #infomation
//=====================*/
#infomation{
	margin: 4em 0 4em 0;
	border: solid 1px #c0c0c0; /* silver */
	border-top: solid 1px #fff;
	border-radius: 5px;
	box-shadow: 2px 4px 7px -6px rgba(0,0,0,0.4);
}
h3#infomation-title{ /* font-size: 15px */
	border-top: solid 1px #c0c0c0;
	border-bottom: solid 1px #fbfbfb;
	border-radius: 5px 5px 0 0;
	margin: 0;
	padding: 0.75em 0;
	text-align: center;
	background: #f3f3f3;
	line-height: 1;
	box-shadow: 0 1px 0 0 #c0c0c0;
	text-shadow: -1px 1px 0 rgba(255, 255, 255, 1);
	letter-spacing: 1px;
}
#contents h3#infomation-title:before,
#contents h3#infomation-title:after{
	content: '';
}

#infomation-content{
	padding: 1em 0;;
	letter-spacing: normal;
}
#infomation-content-inner{
	height: 200px;
	overflow: auto;
}
#infomation .info-message{
	margin: 0 1em 1em 1em;
	padding: 1em 0 0 0;
	line-height: 1.5;
	font-size: 95%;
	border-top: dotted 1px #ccc;
}
#infomation .info-message:first-child{
	border-top: none;
	padding-top: 0;
}

#infomation .info-message .date{
	color: #66C;
	font-size: 90%;
}
#infomation .info-message p{
	margin: 0;
}

/*********************************************************
// site menu
//********************************************************/
#top-menu{
	text-align: left;
}

#top-menu h3{
}

#top-menu p{
	position: relative;
	padding: 1.25em;
	margin: 0 2em 3em 2em;
	border: solid 2px #aacea3;
	border-radius: 30px;
	box-shadow: 2px 4px 7px -6px rgba(0, 0, 0, 0.4);
}
#top-menu p:before,
#top-menu p:after{
	content: '';
	position: absolute;
	top: 100%;
	width: 0;
	height: 0;
	border-style: solid;
}
#top-menu p:before{
	left: 50px;
	border-width: 10px;
	border-color: #aacea3 transparent transparent #aacea3;
}
#top-menu p:after{
	left: 52px;
	border-width: 7px;
	border-color: #fff transparent transparent #fff;
}

#top-menu-list{
	overflow: hidden;
	margin: 0 0 0 -30px;
	letter-spacing: -0.4em;
}
#top-menu dl{
	display: inline-block;
	width: 158px; /* 180px */
	height: 230px;
	margin: 0 0 2em 30px;
	padding: 10px;
	background: #fdfff4;
	border: solid 1px #aacea3;
	border-radius: 5px;
	vertical-align: top;
	letter-spacing: normal;
	box-shadow: 2px 4px 7px -6px rgba(0, 0, 0, 0.4);
}
#top-menu dt{
	position: relative;
	margin: -10px -10px 1em -10px;
	padding: 0 9px 0 10px;
	background: #696; /* #aacea3 */
	border-bottom: solid 1px rgba(255, 255, 255, 0.85);
	color: #fdfee8;
	font-weight: bold;
	font-size: 93%;
	text-align: left;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 0 0 rgba(102, 153, 102, 0.4);
}
#top-menu dt a{
	display: block;
	padding: 9px 0 9px 0;
	text-decoration: none;
	color: #fdfee8;
}
#top-menu dt:after,
#top-menu dt a:after{
	content: '';
	position: absolute;
	bottom: 50%;
	width: 0px;
	height: 0px;
	margin-bottom: -5px;
	border-left: 6px solid #fdfee8;
	border-bottom: transparent 5px solid;
	border-top: transparent 5px solid;
}
#top-menu dt:after{
	right: 8px;
}
#top-menu dt a:after{
	right: 2px;
}
#top-menu dt a:hover{
	text-decoration: underline;
}

#top-menu dd{
	font-size: 92%;
	line-height: 1.5;
}

/*********************************************************
// PHPの本
//********************************************************/
#top-books{
	overflow: hidden;
}
#top-books table {
	float: left;
	height: 340px;
	margin-left: 25px;
	vertical-align: top;
}
#php-books table td img {
	vertical-align: top;
}
#top-books table:nth-of-type(1) {
	margin-left: 0;
}