/*
Theme Name: upix Theme
Theme URI: http://ccupix.net/wp/wp-content/themes/upix
Author: UPIX CO,.LTD
Author URI: http://ccupix.net/
Description: This is UPIX CO,.LTD theme.
Version: 1.0
*/

@charset "utf-8";

/*タグのリセット*/
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, 
em, img, small, strong, sub, 
dl, dt, dd, ol, ul, li, fieldset, form, label, 
article, aside, figcaption, figure, 
footer, header, menu, nav, section, time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
ul{
	list-style-type: none;
}

/***************************************ページベース設定***************************************/
/*ページ背景、フォントなど*/
body {
	color: #4f2b0a; /*こげ茶*/
	background-color: #FFF;
	font-weight: normal;
	line-height: 1.8;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-size: 15px;
}

/*箇条書き設定*/
ol {
	padding-left: 2em;
}

/*dd {
	padding-left: 6em;
}

dt {
	font-weight: bold;
	float: left;
	width: 6em;
}*/

.square {
	list-style-type: square;
	margin-left: 1.5em;
}
ul.orangelist {
	padding: 0;
}
ul.orangelist li {
	padding:3px 0 3px 20px;
	line-height:1.3em;
	margin:0 0 0px 0;
	background: url(../images/ico_02.png) no-repeat 3px 7px;
}


/*リンク設定*/
a {
	color: #ff6900; /*orange*/
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/*テーブル設定*/
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
	width: 100%;
	border: 1px solid #CCC;
	line-height: 2;
	margin-bottom: 10px;
}
td {
	width: 507px;
	padding: 3px 10px;
	background-color: #fff;
	border: 1px solid #CCC;
}
th {
	width: 120px;
	padding: 3px 10px;
	text-align: center;
	background-color: #fff9cc; /*クリーム*/
	border: 1px solid #CCC;
	font-weight: normal;
}
caption {
	padding: 3px 10px;
	border-top: 1px solid #CCC;		/*上側の線の幅、線種、色*/
	border-right: 1px solid #CCC;	/*右側の線の幅、線種、色*/
	border-left: 1px solid #CCC;	/*左側の線の幅、線種、色*/
	text-align: left;
	background-color: #99ccff;
	font-weight: bold;
}

/*ボタン設定*/
input[type="submit"], input[type="reset"]{
	width: 100px;
	padding: 5px;
	margin-bottom: 20px;
	border: 1px solid #CCC;
	border-radius: 30px;
	background-color: #EEE;
}
input[type="submit"]:hover, input[type="reset"]:hover {
	background-color: #DDD;
}

/*幅設定*/
.wa {
	width: 100%;
}
.wl {
	width: 96%;
}

/*テキスト配置設定*/
.c {
	text-align: center;
}
.r {
	text-align: right;
	}
.ir {
	margin-left: auto;
}
	

/*FLOAT設定*/
.FR {
	float: right;
}

.FL {
	float: left;
}
.clear {
	clear: both;
}


/*FONT色設定*/
.color_red, .f_red {
	color: #e90e0e; /*赤*/
}
.f_blue {
	color: #00f; /*青*/
}
.f120 {
	font-size: 120%;
}

/*背景色設定*/
.bg_white {
	background-color: #FFF; /*白*/
}
.bg_cream {
	background-color: #fff9cc; /*クリーム*/
}
.bg_water {
	background-color: #99ffff; /*水色*/
}
.bg_skin {
	background-color: #ffcc99; /*肌色*/
}
.bg_pink {
	background-color: #ffcccc; /*ピンク*/
}

/*枠の角設定*/
.rad6 {
	border-radius: 6px;
}

/*表示・非表示設定*/
#sdisp {
	display: none;
}
#pcdisp {
	display: inline;
}
.br-sp {
	display: none;
}

/*コンテナ*/
#container {
	width: 930px;	/*コンテナー幅*/
	margin-right: auto;
	margin-left: auto;
}

/*-----------ヘッダー枠---------------------*/
/*サイトロゴ*/
header h1 {
	float: right;
	font-size: 80%;
	font-weight: normal;
	color: #000;
	padding-right: 0px;
}
#headcol {
/*	width:930px;*/
	margin:0 auto 7px auto;
	padding:13px 10px 0px 10px;
	position:relative;
	text-align:left;
	border-radius: 3px;
	-moz-border-radius: 3px; /* FF */
	-webkit-border-radius: 3px;/* Webkit */
	background:#ff6900;
	behavior: url(/PIE.htc);  /* ie */
	overflow:auto;
}

/*スマホ用メニュー非表示設定*/
#fixmenu {
	display: none;
}

/*メニューブロック設定*/
header nav {
	clear:both;
	margin:0 auto;
	padding:0;
	width:100%;
	height:41px;
}

header nav ul {
	clear:both;
	margin:0 auto;
	padding:0;
	width:930px;
}

/*各メニュー設定*/
header nav ul li {
	float: left;
	display: block;
}

header nav .n01 a {
	display:block;
	width:185px;
	height:41px;
	background:url(../images/gnav_01.gif) no-repeat 0 0;
	text-indent: -9999px;
}
header nav ul li.n01 a:hover {
	background:url(../images/gnav_01_o.gif) no-repeat 0 0;
}
header nav ul li.n01 a.focus {
	background:url(../images/gnav_01_cr.gif) no-repeat 0 0;
}

header nav .n02 a {
	display:block;
	width:185px;
	height:41px;
	background:url(../images/gnav_02.gif) no-repeat 0 0;
	text-indent: -9999px;
}
header nav ul li.n02 a:hover {
	background:url(../images/gnav_02_o.gif) no-repeat 0 0;
}
header nav ul li.n02 a.focus {
	background:url(../images/gnav_02_cr.gif) no-repeat 0 0;
}

header nav .n03 a {
	display:block;
	width:185px;
	height:41px;
	background:url(../images/gnav_03.gif) no-repeat 0 0;
	text-indent: -9999px;
}
header nav ul li.n03 a:hover {
	background:url(../images/gnav_03_o.gif) no-repeat 0 0;
}
header nav ul li.n03 a.focus {
	background:url(../images/gnav_03_cr.gif) no-repeat 0 0;
}

header nav .n04 a {
	display:block;
	width:185px;
	height:41px;
	background:url(../images/gnav_04.gif) no-repeat 0 0;
	text-indent: -9999px;
}
header nav ul li.n04 a:hover {
	background:url(../images/gnav_04_o.gif) no-repeat 0 0;
}
header nav ul li.n04 a.focus {
	background:url(../images/gnav_04_cr.gif) no-repeat 0 0;
}

header nav .n05 a {
	display:block;
	width:187px;
	height:41px;
	background:url(../images/gnav_05.gif) no-repeat 0 0;
	text-indent: -9999px;
}
header nav ul li.n05 a:hover {
	background:url(../images/gnav_05_o.gif) no-repeat 0 0;
}
header nav ul li.n05 a.focus {
	background:url(../images/gnav_05_cr.gif) no-repeat 0 0;
}


/*コンテンツ*/
#contents {
	clear: left;
}

/*記事コンテンツ枠
#note {
	background-color: #FFF;
	border-radius: 6px;
}*/

/*メインコンテンツ*/
#main {
	float: left;
	width:639px;
	margin:0 0 0 0;
	padding:0;
}

#main h1 {
	font-size: 140%;
	font-weight: normal;
	line-height: 1em;
	color: #4f2b0a; /*こげ茶*/
	padding: 10px 5px 5px 15px;
	border-left: 5px solid #4f2b0a; /*こげ茶*/
	border-bottom: 1px solid #4f2b0a; /*こげ茶*/
	clear: both;
	margin-top: 5px;
	margin-bottom: 5px;
}

#main h2 {
	clear:both;
	background:#ede0ce;
	border:1px solid #e6d1b4;
	border-radius: 5px;
	-moz-border-radius: 5px; /* FF */
	-webkit-border-radius: 5px;/* Webkit */
	behavior: url(/PIE.htc);  /* ie */
	padding:5px 10px 3px 10px;
	color:#501b00;
	font-size:120%;
	font-weight: normal;
	margin-bottom:10px;
}

#main h3 {
	clear:both;
	font-weight:bold;
	color:#501b00;
	border-left:5px solid #ff6900;
	padding-left:10px;
	margin-top:10px;
	margin-bottom:10px;
}

#main p {
	padding-bottom: 10px;
}

#main img {
}
#main figure img {
	padding: 0px;
}
#main figcaption {
	padding: 0px;
	font-size: 90%;
	padding-bottom: 5px;
}

/*サブコンテンツ*/
#sub {
	float: right;
	width:236px;
	margin:0 0 0 50px;
}
#sub_bn {
	margin: 10px auto;
}
#sub_menu {
	background:url(../images/bg_02.gif) repeat 0 0;
	border-radius: 5px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

#sub_menu h1 {
	font-size: 100%;
	text-align: center;
	padding-top: 20px;
}
#sub_menu dl dt {
/*	margin-bottom:7px;*/
	float: none;
	text-align: center;
	width: 100%;
}
#sub_menu dl dd {
	width: 80%;
	margin: 0 auto;
	background:#fff;
	border:1px solid #ede0cb;
	padding:10px 8px 5px 8px;
	position:relative;
	border-radius: 4px;
	-moz-border-radius:4px; /* FF */
	-webkit-border-radius: 4px;/* Webkit */
	behavior: url(/PIE.htc);  /* ie */
	margin-bottom:13px;
}
#sub_menu dl dd ul {
	width: 90%;
	padding: 0 auto;
}
#sub_menu dl dd ul li {
	text-align:left;
	margin-bottom:5px;
}
#sub_menu dl dd ul li a {
	display:block;
	background:url(../images/ico_01.png) no-repeat 0 10px;
	padding:2px 2px 2px 10px;
	text-decoration:none;
}
#sub_menu dl dd ul li a:hover {
	display:block;
	position:relative;
	border-radius: 3px;
	-moz-border-radius:3px; /* FF */
	-webkit-border-radius: 3px;/* Webkit */
	behavior: url(/PIE.htc);  /* ie */
	background:#fde2ae url(../images/ico_01.png) no-repeat 0 10px;
}

#sub_map {
	text-align:left;
	line-height:1.3em;
	margin-bottom: 10px;
	padding:8px 15px;
	color:#FFFFFF;
	background: #3b2004;
	position:relative;
	border-radius: 3px;
	-moz-border-radius:3px; /* FF */
	-webkit-border-radius: 3px;/* Webkit */
	behavior: url(/PIE.htc);  /* ie */
}
#sub_map p {
	line-height:1;
	margin-bottom:10px;
	font-size: 90%;
}

/*フッター設定*/
footer {
	clear:both;
	width:930px;
	height:150px;
	font-size:80%;
	text-align:center;
	padding:0px;
	margin:0px auto;
	background:#ede7da url(../images/bg_02.gif) repeat;
	border-radius: 5px 5px 0 0;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	behavior: url(/PIE.htc);  /* ie */
}
#footerCont {
	text-align:left;
	margin:0 auto;
	padding:25px 2% 0 2%;
}
#footerCont p.add {
	float:left;
	margin-right:20px;
	padding-right:20px;
	background:url(../images/bg_foot.gif) repeat-y right 0;
}

/*#footerCont p.nav {
	overflow:hidden;
}
#footernavCont {
	width:920px;
	margin:0 auto;
	font-size:70%;
	color:#fd915d;
	padding:10px 0;
	text-align:left;
}
#footernavCont a {
	color:#fd915d;
	text-decoration:none;
}*/
#copyright {
	clear: both;
	font-size: 80%;
	color: #666;
	display: block;
	text-align: center;
}
/*ページの上へ戻る*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    line-height: 1em;
}
#page-top a {
    background: #999;
    text-decoration: none;
    color: #fff;
    width: 50px;
    padding: 5px;
    text-align: center;
    display: block;
    border-radius: 10px;
    opacity: 0.7;
}
#page-top a:hover {
    text-decoration: none;
    background: #666;
}
/***************************************各ページの設定***************************************/
/*各ページのタイトルバナー*/
#titlebn {
	clear:both;
	background:url(../images/bg_title.jpg) no-repeat 0 0;
	padding:25px 0 25px 15px;
	margin-top: 10px;
	font-size:150%;
	margin-bottom:12px;
	color:#fff;
}

/*トップページのようこそ*/
#youkoso {
	margin: 10px auto;
}
#youkoso img {
	margin-top: 10px;
	padding-right: 10px;
	float: left;
}
#youkoso .midasi {
	border: none;
	border-bottom: 3px dotted #4f2b0a; /*こげ茶*/
	color: #ff6900; /*orange*/
	font-size: 180%;
	padding: 15px 0 0 0px;
}

#youkoso #btn {
	clear: both;
}
#youkoso #btn img {
	margin: 0;
	padding: 0;
	float: right;
}

/*トップページのお悩み*/
#trouble {
	margin-bottom:20px;
}
#trouble a:hover img {
	-moz-opacity:0.70; /* Firefox・Netscape */
	opacity:0.70; /* Opera・Safari */
	filter: alpha(opacity=70);
}
#trouble ul {
	padding:10px 10px 0 10px;
	background-color: #f3f2ee;
	overflow:auto;
}
#trouble ul li {
	float:left;
	margin-right:10px;
	margin-bottom:5px;
}
#trouble ul li.last {
	margin-right:0px;
}

/*アクセス*/
.undermap {
	padding: 10px 0;
	margin-bottom: 20px;
}
.undermap img {
	float: left;
	margin-right: 20px;
}
.undermap dl {
	margin-bottom: 20px;
}
.undermap dl dt {
	float:left;
	width:5em;
	padding:3px 0;
	padding-bottom:4px;
}
.undermap dl dd {
	padding:3px 3px 3px 5em;
}

.attention {
	float: right;
	width: 45%;
	margin-right: 10px;
	padding: 10px 5px 0px 5px;
	border:6px double #ff9500;
	background:#fef6e9;
	text-align:center;
}
.root li {
	float:left;
	width:300px;
	margin-right:20px;
}
.root li.odd {
	clear:left;
}
.root li.even {
	margin-right:0 !important;
}

/*トップページのnews*/
.news {
	padding-bottom: 10px;
}
.news dl {
	padding: 0;
	margin: 0;
}
.news dt {
/*	font-size: 100%;
	float: left;
	width: 8em;
	line-height: 1.5;*/
	font-weight: normal;
	float:left;
	width:7em;
	padding:3px 0;
}
.news dd {
/*	line-height: 1.5;
	padding: 0;
	margin: 0;
	padding-left: 8em;*/
	padding:3px 3px 3px 7em;
}
.news .comment {
	clear: both;
	line-height: 1.5;
	padding: 0;
	margin: 0;
	padding-left: 2em;
	border-bottom:1px dotted #8b672f;
}

/*注目枠*/
.wrapbox {
	position:relative;
	margin:0 0 15px 0;
	padding:20px; 
	background:#f7e499;
	border-radius: 5px;
	-moz-border-radius:5px; /* FF */
	-webkit-border-radius: 5px;/* Webkit */
	behavior: url(/PIE.htc);  /* ie */
}
.font_large{
	font-size:120% !important;
}
.wrapbox img {
	padding-right: 20px;
}
.wrapbox dl.add dt{
	float:left;
	width:6em;
	padding:3px 0;
	padding-bottom:4px;
}
.wrapbox dl.add dd{
	padding:3px 3px 3px 6em;
	border-bottom:1px dotted #8b672f;
	cue-after: clearboth;
}

/*WORDPRESS記事の設定*/
.post {
/*	padding: 10px;
	border: 1px solid #CCC;
	border-radius: 6px;
	margin: 1em 0;
	background-color: #fff9cc;*/
	padding-bottom: 20px;
}
.post img {
	margin: 0px 10px 5px 0px;
	padding: 5px;
	vertical-align: bottom;
}
.post dl {
	clear: both;
	background-color: #FFF;
	margin: 5px;
	padding: 0.5em 0;
	line-height: 150%;
	box-shadow: 0px 2px 3px #CCC;
}
.post p {
	padding: 10px 0;
}

.post h1, h2, h3, h4 {
	margin-top: 20px;
}
p.pagelink {
	height: 1.2em;
}

