/*
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";

/***************************************ページベース設定***************************************/
/*ページ背景、フォントなど*/
body {
	color: #000;
	background: url(../../img/bg_yellow.jpg) repeat;
	background-color: #8ce78c;
	font-weight: normal;
	line-height: 2;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-size: 16px;
}

.f120 {
	font-size: 120%;
}
.f80 {
	font-size: 80%;
}

/*リンク設定*/
a {
	color: 0C00CC; /*青*/
	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: #ffc0cb; /*pink*/
	border: 1px solid #CCC;
}
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="button"],input[type="reset"] {
	width: 100px;
	padding: 5px;
	margin-left: 10px;
	margin-bottom: 20px;
	border: 1px solid #CCC;
	border-radius: 30px;
	background-color: #EEE;
}
input[type="submit"]:hover,input[type="button"]:hover,input[type="reset"]:hover {
	background-color: #DDD;
}


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

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

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

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


/*色設定*/
.color_red {
	color: #e90e0e;
}
.bg_white {
	background-color: #FFF;
}
.bg_color {
	background-color: #fff9cc;
	border-radius: 6px;
}

/*影設定*/
.shadow img {
	-webkit-box-shadow: 5px 5px 5px #bebebe;
	-moz-box-shadow: 5px 5px 5px #bebebe;
	box-shadow: 5px 5px 5px #bebebe;
	margin: 5px 10px 10px 10px;
}

/*表示・非表示設定*/
#sdisp {
	display: none;
}


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

/*サイトロゴ*/
header h1 {
	font-size: 80%;
	font-weight: normal;
	color: #000;
	padding-left: 10px;
	padding-top: 0px;
	padding-right: 50px;
}

/*メニューブロック設定*/
header nav {
	margin-left: 10px;
}

header nav ul {
	height: 40px;
}

/*各メニュー設定*/
header nav ul li {
	float: left;
	width: 195px;
	margin-top: 30px;
	background-color: #ffc0cb; /*pink*/
	border-right: 1px solid ;
	border-right-color: #FFF;
}

header nav ul li a {
	line-height: 40px;
	color: #000;
	text-decoration: none;
	display: block;
	text-align: center;
	padding-right: 10px;
	padding-left: 10px;
}

header nav ul li a:hover{
	background-color: #ff69b4; /*HOTPINK*/
	text-decoration: none;
}

header nav ul li.focus {
	background-color: #ff69b4; /*HOTPINK*/
}

/* ナビメニュープルダウン */
header nav ul li ul {
	position: absolute;
	width: 195px;
	z-index: 100;
}
header nav ul li ul li {
	visibility: hidden;
	overflow: hidden;
	width: 195px;
	margin-top: 0;
	margin-left: 0;
	height: 0;
	border-top: 1px solid #FFF;
	background: #ffc0cb; /*pink*/
}
/*header nav ul li ul li a {
	font-size: 90%;
	color: #000;
	line-height: 40px;
	padding: 10px 0 0 0;
}*/
header nav ul li ul li:hover, header nav ul li ul li a:hover {
	background: #ff69b4; /*HOTPINK*/
}
header nav ul li:hover ul li, header nav ul li a:hover ul li {
	visibility: visible;
	overflow: visible;
	height: 40px;
	z-index: 10;
}
header nav * {
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

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

/*各ページタイトル画像*/
#titlebn {
	padding-top: 10px;
/*	-webkit-box-shadow: 0px 2px 5px #bebebe;
	box-shadow: 0px 2px 5px #bebebe; */
}

/*トッパーコンテンツ*/
#topper {
	padding: 10px 10px 0 10px;
}

#topper h1 {
	font-size: 140%;
	color:  #FFF;
	background-color:#ff69b4; /*HOTPINK*/
/*	background-image: url(../img/icon_kiyaku.png);*/
	background-repeat: no-repeat;
	background-position: bottom left;
	line-height: 2.5em;
	border-bottom: 1px solid;
	padding: 5px 0px 0px 15px;
	clear: both;
}

#topper h2 {
	font-size: 120%;
	color: #ff69b4; /*HOTPINK*/
/*	background-color:#ffc0cb; /*pink*/
	border-radius: 6px;
	padding: 3px 0px 3px 15px;
	clear: both;
}

#topper p {
	padding: 5px;
}

#topper img {
	padding: 5px;
}

/*DIVのFloatレイアウト（表のように高さをそろえる）*/
#topper #boxarea {
    height: auto;
    width: 100%;
    border-left: 1px solid #ff69b4; /*HOTPINK*/
    border-bottom: 1px solid #ff69b4; /*HOTPINK*/
    margin-bottom: 5px;
    line-height: 1.5em;
}
.btop {
	border-top: 5px solid #ff69b4; /*HOTPINK*/
}
.bright {
	border-right: 1px solid #ff69b4; /*HOTPINK*/
}
#topper #boxarea #three {
	display:inline-block;
	vertical-align:top;
	width: 32%;
	padding: 3px;
	border-top: 5px solid #ff69b4; /*HOTPINK*/
	border-right: 1px solid #ff69b4; /*HOTPINK*/
}
#topper #boxarea #three img {
	margin: 0;
	padding: 0;
	text-align: center;
}
#topper #boxarea #three p {
	padding: 0;
	margin: 0;
	line-height: 1.5em;
}
/*メインコンテンツ*/
#main {
	float: right;
	width: 655px;
	padding-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

#main h1 {
	font-size: 140%;
	color: #ffc0cb; /*pink*/
	background-color:#ff69b4; /*HOTPINK*/
	background-image: url(../img/icon_kiyaku.png);
	background-repeat: no-repeat;
	line-height: 30px;
	border-bottom: 1px solid;
	padding: 5px 0px 0px 35px;
	clear: both;
}

#main h2 {
	font-size: 120%;
	color: #FFF;
	background-color: #ff69b4; /*HOTPINK*/
	border-radius: 6px;
	padding: 3px 0px 3px 15px;
	clear: both;
	margin-top: 0;
	margin-bottom: 10px;
}

#main h3 {
	font-size: 110%;
	color: #000;
	border-left: 10px solid;
	border-bottom: 1px solid;
	padding: 5px 0px 0px 15px;
	clear: both;
}

#main p {
	padding: 0 10px;
}

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

/*サブコンテンツ*/
#sub {
	float: left;
	width: 300px;
	padding-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

#sub h1 {
	font-size: 120%;
	font-weight: normal;
	text-align: center;
	border-radius: 10px;
	border: 5px outset #ff69b4; /*HOTPINK*/
	padding: 5px 0px;
	background-color: #ffc0cb; /*pink*/
}
#sub h2 {
	font-size: 120%;
	font-weight: normal;
	text-align: center;
	border-radius: 10px;
	border: 5px outset #ff69b4; /*HOTPINK*/
	padding: 5px 0px;
	background-color: #FFC34C; /*蜜柑*/
}

#sub ul {
	margin-bottom: 1em;
}

#sub ul li a {
	font-size: 100%;
	background: url(/img/list_green.png) no-repeat bottom left;
	margin-top: 0.5em;
	margin-left: 5px;
	color: #000; /*黒*/
	text-decoration: none;
	display: block;
	border-bottom: 2px dotted #CCC;
	padding-left: 30px;
	padding-top: 5px;
	line-height: 1.1em;
}
#sub ul li a:hover {
	background-color: #ffc0cb; /*pink*/
}
#sub ul li.focus a {
	background: url(/img/list_red.png) no-repeat bottom left;
	color: #FF0000; /*赤*/
}

/*フッター設定*/
#footerlink {
	text-align: left;
	width: 980px;
	margin: 40px 15px;
	padding: 5px;
}
div.footerbox1 {
	float: left;
	width: 400px;
	margin: 0;
	padding: 20px;
}
div.footerbox2 {
	float: left;
	width: 500px;
	margin: 0;
	padding: 20px;
}

#copyright {
	font-size: 80%;
	color: #666;
	display: block;
	text-align: center;
}

/*ページの上へ戻る*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 150%;
}
#page-top a {
    background: #999;
    text-decoration: none;
    color: #fff;
    width: 50px;
    text-align: center;
    display: block;
    border-radius: 10px;
    opacity: 0.7;
}
#page-top a:hover {
    text-decoration: none;
    background: #666;
}
/***************************************各ページの設定***************************************/
/*トップページ左側*/
#top_left {
	float: left;
	width: 470px;
	margin: 0px;
}

/*トップページ右側*/
#top_right {
	float: right;
	width: 470px;
	margin: 0px;
}

/*トップページのメイン画像*/
#topbana {
	margin-left: 10px;
	margin-bottom: -30px;
}

#mainimg img {
	margin-left: 10px;
	-webkit-box-shadow: 0px 2px 5px #bebebe;
	box-shadow: 0px 2px 5px #bebebe;
}

/*トップページのnews*/
.news {
	height: 600px;
	overflow-y: scroll;   /* 縦スクロール表示 */ 
	padding: 0 1em;
	margin-bottom: 5px;
}
.news dl {
	border-bottom: 2px dotted #CCC;
}
.news dd {
	padding-left: 1em;
	display: block;
}

.news dt {
	font-size: 100%;
	display: block;
	width: 100%;
}

/*スタッフ紹介*/
.note {
	border: 1px solid #000;
	border-radius: 10px;
	margin: 5px;
}
.note p {
	padding-left: 5px;
}
.note dl {
	margin: 10px;
}
.note dt {
	float: none;
	width: auto;
	color: #F00; /*red*/
	display: block;
	font-weight: bold;
}
.note dd {
	font-weight: normal;
	padding-left: 1em;
}
.note img {
	margin: 10px;
	width: 250px;
	-webkit-box-shadow: 5px 5px 5px #bebebe;
	-moz-box-shadow: 5px 5px 5px #bebebe;
	box-shadow: 5px 5px 5px #bebebe;
}

/*WORDPRESS記事の設定*/
.post {
	padding: 10px;
	border: 5px ridge #ff69b4; /*HOTPINK*/
	border-radius: 10px;
	margin-bottom: 10px;
}

.post p {
	margin-bottom: 10px;
}

.post ul {
	margin-top: 10px;
	list-style-type: disc;
	margin-left: 1.5em;
}
#main .post h1 {
	font-size: 150%;
	color: #FFF;
	background-image: none;
	background-color:#ff69b4; /*HOTPINK*/
	text-align: center;
	padding: 0;
	border-radius: 5px;
	line-height: 1.5em;
}


