/*
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: #000;
	background: url(../images/bg_blue.jpg) repeat;
	font-weight: normal;
	line-height: 2;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-size: 14px;
}

.f120 {
	font-size: 120%;
}
.bold {
	font-weight: bold;
}

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

dt{
	font-size: 120%;
	font-weight: bold;
}

dd{
	padding-left: 1em;
}

.square {
	list-style-type: square;
	margin-left: 1.5em;
}

/*リンク設定*/
a {
	color: #006F90;
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: none;
}

/*テーブル設定*/
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: #d9ffff;
	border: 1px solid #CCC;
}

th.shorter {
	width: 3em;
}

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"] {
	width: 150px;
	padding: 5px;
	margin-bottom: 20px;
	border: 1px solid #CCC;
	border-radius: 30px;
	background-color: #EEE;
}
input[type="submit"]: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, cl_red {
	color: #e90e0e;
}
.color_blue {
	color: #164082;
}
.bg_white {
	background-color: #FFF;
}
.bg_cream {
	background-color: #fff9cc;
}
.bg_color {
	background-color: #fff9cc;
	border-radius: 6px;
}

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


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

/*サイトロゴ*/
header h1 {
	font-size: 30px;
	padding-left: 10px;
	padding-top: 20px;
}

/*言語選択*/
.langselect {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 999;
}

/*メニューブロック設定*/
header nav ul {
	background-color: #164082;
	height: 40px;
}
/*各メニュー設定*/
header nav ul li {
	float: left;
	border-right: 1px solid ;
	border-right-color: #006F90;
}
header nav ul li a {
	line-height: 40px;
	color: #FFF;
	text-decoration: none;
	display: block;
	text-align: center;
	padding-right: 20px;
	padding-left: 20px;
}
header nav ul li a:hover,
header nav ul li.focus {
	background-color: #006F90;
	color: #FFF;
}

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

/*メインコンテンツ*/
#main {
	float: left;
	width: 700px;
	padding-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

#main h1 {
	background-color: #006F90;
/*	background: url(../images/bg_red.png) repeat;*/
	border-radius: 6px;
	font-size: 130%;
	color: #FFF;
	padding: 3px 0px 3px 15px;
	clear: both;
	margin-top: 0;
	margin-bottom: 10px;
}

#main h2, h3 {
	font-size: 120%;
	color: #164082;
	background: url(../images/bg_blue.jpg);
	border-left: 15px solid;
	border-bottom: 1px solid;
	padding: 5px 0px 0px 15px;
	clear: both;
}

/*#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: right;
	width: 240px;
	padding-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

#sub h1 {
	border: 1px solid #CCC;
	font-size: 100%;
	text-align: center;
	padding: 5px 0px;
	background: url(../images/bg_blue.jpg);
}

#sub ul {
	margin-bottom: 1em;
}
#sub ul li a {
	color: #666;
	text-decoration: none;
	display: block;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	padding-left: 10px;
}
#sub ul li a:hover {
	background-color: #fff9cc;
}


/*フッター設定*/
footer {
	clear: both;
	text-align: center;
	padding: 5px,0px;
	background-color: #164082;
	color: #FFF;
	line-height: 1.5;
	font-size: 80%;
}

footer a {
	color: #CCC;
}
footer a:hover {
	color: #FFF;
}

/*ページの上へ戻る*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 120px;
    padding: 10px 0;
    text-align: center;
    display: block;
    border-radius: 10px;
    opacity: 0.7;
}
#page-top a:hover {
    text-decoration: none;
    background: #999;
}
/***************************************各ページの設定***************************************/
/*トップページのメイン画像*/
#mainimg img {
	-webkit-box-shadow: 0px 2px 5px #bebebe;
	box-shadow: 0px 2px 5px #bebebe;
}
.aboutupix {
	float: left;
}

/*トップページのWhat'sNEW*/
label {
	background-color: #006F90;
	border-radius: 6px;
	font-size: 130%;
	color: #FFF;
	padding: 3px 0px 3px 15px;
	clear: both;
	margin-top: 0;
    display: block;
}

input[type="checkbox"].on-off{
    display: none;
}

.whatnew dl {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
	padding-left: 10px;
	margin-bottom: 5px;
}

.whatnew dd {
	border-bottom: 1px solid #d2d2d2;
	padding-left: 8em;
	cue-after: clearboth;
}

.whatnew dt {
	font-size: 100%;
	float: left;
	width: 8em;
}

input[type="checkbox"].on-off + dl{
	height: 0;
	overflow: hidden;
}

input[type="checkbox"].on-off:checked + dl{
    height: 200px;
    overflow: auto;
}
/*コロナ対策の案内*/
#main .corona {
	margin: 15px;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
}
#main .corotitle {
	font-size: 120%;
	font-weight: bold;
	border-bottom: 3px solid #000;
	text-align: center;
	padding-top: 10px;
	margin-bottom: 10px;
}


/*WORDPRESS記事の設定*/
.post {
	padding: 10px;
	border: 1px solid #CCC;
	border-radius: 6px;
	margin: 1em 0;
	background-color: #fff9cc;
}
.post img {
	clear: both;
/*	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 {
	margin-top: 5px;
}

p.pagelink {
	height: 1.2em;
}


