@charset "UTF-8";
/*
Theme Name: ホームページ作成・運営ガイド
Author: Road to WEB Master
*/

/* initialize and formatting */
* {
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-family: "ヒラギノ丸ゴ Pro W4", "Hiragino Maru Gothic Pro", "メイリオ",Meiryo, sans-serif;
}

section, hgroup, nav, article, aside, header, footer {
	display: block;
}

/* 共通 */
p {
	color: #3d3d3d;
	line-height: 2.2;
	font-size: 15px;
}

a:link, a:visited {
	color: #1d83a8;
	text-decoration:none; 
	outline: none;
	text-shadow: 1px 1px 0px #f7fff9,
	1px 1px 0px #f7fff9,
	2px 2px 3px #666666;
}

a:hover {
	text-decoration: underline;
	color: #e42e10;
}

a:link img {
    border: none;
}

a:hover img {
    border: none;
	filter:alpha(opacity=80);
	opacity:0.5;
	-moz-opacity:0.5;
}

a:visited img {
    border: none;
}





body {
	min-width: 320px;
	background: url(images/wall.gif);
	line-height: 1.5;
	color: #333333;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
}

.ie8 img{
	width: auto;
}


/*レイアウト*/
#wrapper {
	max-width: 1000px;
	margin: 10px auto;
	background: #ffffff;
	border: 1px solid #838173;
}

/*レイアウトヘッダー*/
header {
	margin: 0;
	padding: 0;
	border: 0px solid #838173;}

#top-image { 
	margin-bottom: 1px;
	padding: 0;
	line-height: 0;
}


#top-navi ul{
	background: url(images/navi-top.jpg) repeat-x 0% 0%;
	height: 60px;
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

#top-navi ul li {
	list-style-type: none;
	float: left;
	width: 25%;
	text-align: center;
	font-weight: bold;
	font-size: 15px;

	text-shadow: 1px 1px 0px #f7fff9,
	1px 1px 0px #f7fff9,
	2px 2px 3px #666666;
}

#top-navi ul li a:link, #top-navi ul li a:visited {
	color: #e42e10;
	text-decoration: none;
	padding: 20px 10px;
	display: block;
}

#top-navi ul li a:hover {
	color: #aebb67;
	text-decoration: underline;
}


header h1 {
	font-size: 24px;
	font-weight: bold;
	color: #ef963c;
	text-align: left;
	margin: 22px 0 0 3px;
	background: url(images/h1.jpg) no-repeat 0% 0%;
	padding: 10px 5px 5px 48px;
	height: 40px;
	text-shadow:-1px -1px 1px #121400,1px -1px 1px #121400,-1px 1px 0px #121400,1px 1px 0px #121400,
	3px 2px 1px #fff,
	4px 5px 3px #666;
	letter-spacing: 2px;
	line-height: 1.2;
}



#main {
padding: 10px 20px 10px 20px;
}


/*-- レイアウト左--*/
article h2 {
	margin: 10px 0 0 0;
	font-weight: bold;
	padding: 2px 0 0 5px;
	border-left: 4px solid #6087d4;
	font-size: 20px;
	font-weight: bold;
	color:#ffffff;
	letter-spacing: 2px;	

	text-shadow:-1px -1px #000,1px -1px #000,
	-1px 1px #000,1px 1px #000,
	2px 2px 5px #666666;
}

article h3{
	text-align: left;
	background: url(images/h3.gif) no-repeat 0% 30%;
 	margin: 15px 5px 15px 1px;
	font-size: 16px;
	color: #333333;
	line-height: 1.5;
	padding: 12px 0 0 27px;
	letter-spacing: 2px;
	
	text-shadow: 1px 1px 5px #fff,
	1px 1px 0px #fff,
	2px 2px 3px #000000;
}


article p{
	margin: 10px 7px 14px 12px;
	line-height: 2.0;
	font-size: 13px;
}

article p img{
	max-width: 130px;
}

article p.img-lt {
	float: left;
	margin: 7px 15px 2px 12px;
	line-height: 0;
	border: solid 8px #ffffff;
	border-radius: 12px;
	box-shadow: 0px 0px 12px #000000;
}

article p.img-lt img {
	border: none;
}

article p.img-rt {
	float: right;
	line-height: 0;
	margin: 7px 12px 2px 12px;
	border: solid 8px #ffffff;
	border-radius: 12px;
	box-shadow: 0px 0px 12px #000000;
}

article p.img-rt img {
	border: none;
}

article p.fclear {
	clear: both;
	height: 0;
}

article section {
	margin-bottom: 30px;
}

article .tright {
	float: right;
	font-size: 14px;
	font-weight: bold;
	color: #ef4141;
	margin: 5px 5px 5px 0;
	text-align: left;
	line-height: 1.8;
	padding: 5px 1px 1px 1px;

	letter-spacing: 1px;
}

article .center{
	text-align: center;
	margin: 15px 10px 0px 25px;
	font-size: 13px;
	line-height: 1.1;
}

pre{
	font-size: 14px;
	margin: 10px 10px 10px 10px;
	line-height: 2.4;
	border: solid 4px #666666;
	border-radius: 8px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: auto;
  padding: 18px 15px 18px 15px;
}

.line {
	clear: both;
	text-align: center;
	max-width: 620px;
	height: 3px;
	background: url(images/line1.gif) no-repeat 0% 0%;
	margin: 12px auto 12px auto;
}


.pagetop{
	margin: 10px 10px 30px 10px;
	text-align: center;
  background: #fa9e00;
  background-image: -webkit-linear-gradient(top, #fa9e00, #fcd305);
  background-image: -moz-linear-gradient(top, #fa9e00, #fcd305);
  background-image: -ms-linear-gradient(top, #fa9e00, #fcd305);
  background-image: -o-linear-gradient(top, #fa9e00, #fcd305);
  background-image: linear-gradient(to bottom, #fa9e00, #fcd305);

  -webkit-border-radius: 15;
  -moz-border-radius: 15;
  border-radius: 15px;
  -webkit-box-shadow: 2px 3px 6px #666666;
  -moz-box-shadow: 2px 3px 6px #666666;
  box-shadow: 2px 3px 6px #666666;

  padding: 15px 10px 15px 10px;
  text-decoration: none;
}

.pagetop:hover {
  background: #d90909;
  background-image: -webkit-linear-gradient(top, #d90909, #f75454);
  background-image: -moz-linear-gradient(top, #d90909, #f75454);
  background-image: -ms-linear-gradient(top, #d90909, #f75454);
  background-image: -o-linear-gradient(top, #d90909, #f75454);
  background-image: linear-gradient(to bottom, #d90909, #f75454);
  text-decoration: none;
}

.pagetop a:link, .pagetop a:visited{
	font-weight: bold;
  font-size: 18px;
  color: #ffffff;
	text-shadow: 1px 1px 0px #000000,
	1px 1px 2px #000000,
	2px 2px 3px #666666;
}

.pagetop a:hover{
  color: #ffffff;
}


/*-- レイアウト右--*/
aside{
	margin-bottom: 10px;
}

aside h4 {
	margin: 10px 0 0 10px;
	font-size: 15px;
	font-weight: bold;
	color: #e42e10;
	text-shadow: 1px 1px 5px #fff,
	1px 1px 0px #fff,
	2px 2px 3px #000000;
}

aside h4 a:link, aside h4 a:visited {
	color: #e42e10;
	text-decoration: none;
}

aside h4 a:hover {
	text-decoration: underline;
}

.side-navi{
	margin: 8px 0 18px 0;
	border-top:1px solid #cccccc;
	border-right:1px solid #cccccc;
	border-left:1px solid #cccccc;
	border-bottom:1px solid #cccccc;
	
	-moz-box-shadow: 3px 5px 3px #cccccc;
	-webkit-box-shadow: 3px 5px 3px #cccccc;
	box-shadow: 3px 5px 3px #cccccc;
	
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;	
}

.side-navi ul {
margin: 13px 0 13px 0;
	padding: 0;
}

.side-navi ul li {
	list-style-type: none;
	line-height: 1.4;
	font-size: 13px;
	margin: 10px 10px 10px 15px;

	text-shadow: 1px 1px 0px #f7fff9,
	1px 1px 0px #f7fff9,
	2px 2px 1px #000000;
}

.side-navi li a:link, .side-navi li a:visited {
	color: #1d83a8;
	text-decoration: underline;
	background: url(images/list-point.gif) no-repeat top left;
	display: block;
	padding: 0px 5px 0px 18px;
}

.side-navi li a:hover, side-navi li a:active {
	color: #e42e10;
	text-decoration: underline;
	background: url(images/list-point-ov.gif) no-repeat top left;
	display: block;
}

/*フッター*/
footer {
	clear: both;
	margin: 0 auto 0 auto;
	background: url(images/footer.gif) repeat 0% 0%;
	text-align: center;
}

#copyright {
	font-weight: bold;
	text-align: center;
	line-height: 1.8;
	color: #ffffff;
	font-size: 12px;
	margin: 0 1px 0 1px;
	padding: 21px 0 20px 0; 

	text-shadow: 1px 1px 2px #666666,
	1px 1px 0px #000000,
	2px 2px 4px #000000;
}

/*-- AD 320--*/
.ads-rwd {
	border: 0px solid #000000;
	text-align: center;
	margin: 20px auto 1px auto;
	clear: both;
}

.ads-rwd-side {
	border: 0px solid #000000;
	text-align: center;
	margin: 20px auto 20px auto;
	clear: both;
}


/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 620px) {

header h1 {
	margin: 15px 0 0 7px;
	font-size: 26px;
	line-height: 1.2;
	padding: 9px 5px 0 48px;
}

article h2 {
	font-size: 23px;
	margin: 10px 0 0 0;
}

article h3 {
	font-size: 18px;
}

header h4 {
	font-size: 17px;
}

article p{
	line-height: 2.2;
	font-size: 15px;
}

article .tright {
	font-size: 16px;
}

article .center{
	font-size: 15px;
	line-height: 1.8;
}

#main {
	padding: 0 25px 0 20px;
  }
 
#main article{
	border:0px solid #000000;
	float: left;
    width: 66%;
	/*660px(8column)/1000px*/
}

#main aside{
	border: 0px solid #000000;
	float: right;
   width: 32%;
	/*320px(4column)/1000px*/
}

/*-- AD --*/
.ads-rwd {
	margin: 10px auto 1px 12px;
	text-align: center;
}

.ads-rwd-side {
	margin: 10px auto 1px 2px;
	text-align: left;
	clear: both;
	line-height: 0;
}

article p img{
	max-width: 250px;
}

#copyright {
	font-size: 14px;
	margin: 0 auto 0 auto;
	line-height: 1.8;
	text-align: center;
	padding: 21px 0 20px 0; 
}

}

@media only screen and (min-width: 800px) {

header h1 {
	font-size: 28px;
}

/*-- AD --*/
.ads-rwd {
	margin: 10px auto 1px 12px;
	text-align: left;
}

.ads-rwd-side {
	margin: 10px auto 10px 2px;
	text-align: left;
	clear: both;
	line-height: 0;
}

#main{padding: 10px 15px;}
}

@media only screen and (min-width: 1000px) {
#main{padding: 10px 20px 10px 20px;}
}