/*
Theme Name: SkyPhoneBlog_Theme
Author: the SkyPhone team
Author URI: http://www.quadsystem.co.jp/
Description: SkyPhone公式ブログ用テンプレート
*/

/*------------------------------------------------------------
	リセット
------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, figure { margin: 0; padding: 0;  border: 0; outline: 0; font-size: 1em; }

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } ol, ul { list-style: none; } blockquote, q { quotes: none; } :focus { outline: 0; } ins { text-decoration: none; } del { text-decoration: line-through; }
object,embed { display: block; border: none; }

/*------------------------------------------------------------
	クリアフィクス
------------------------------------------------------------*/
.clearfix:before,
.clearfix:after,
#container:before,
#container:after,
#main-header:before,
#main-header:after,
#contents:before,
#contents:after,
#main-footer:before,
#main-footer:after,
.wrap:before,
.wrap:after,
.article:before,
.article:after {
	display: table;
	line-height: 0;
	content: "";
}

.clearfix:after,
#container:after,
#main-header:after,
#contents:after,
#main-footer:after ,
.wrap:after,
.article:after {
	clear: both;
}

.clear {
	clear:both;
}
/*------------------------------------------------------------
	リンク
------------------------------------------------------------*/
a {
	text-decoration: none;
	font-size:100%;
	color:#0084c9;
}
a:hover {
	text-decoration: none;
	color:#38b4e8;
}
a img {
	border-style: none;
}

/*------------------------------------------------------------
	フォント
------------------------------------------------------------*/
body { -webkit-text-size-adjust: 100%; } /*スマホ表示時の文字サイズ拡大を防ぐ*/

body, table, input, textarea, select, option {
	font-family: " Lucida Grande ", " Lucida Sans Unicode ", Helvetica,"Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
	font-size: 0.9em;
	line-height:1.6;
} 
h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight:normal;
}
strong {
	font-weight:bold;
}
small {
	font-size: 80%;
}

hr {
	clear: both;
}

/*------------------------------------------------------------
	レイアウト
------------------------------------------------------------*/
body {
	background-color:#9bd9f3;
	background-image:url(images/bg_btm.gif);
	background-position:0 100%;
	background-repeat:repeat-x;/**/
}
#container {
	
}
.wrap {
	width:960px;
	margin:0 auto;
}
#main-header {
	margin: 0;
	padding:10px 0 20px 0;
	/*background-color:#38b4e8;*/
}
#nav {
	margin:0 0 0px 0;
}
#contents {
	margin:0 0 20px 0;
}
#contents {
	background-color:#fff;
	padding:30px 20px;
}

#main {
	width:650px;
	float:left;
}
#side {
	width:220px;
	float:right;
}

#main-footer {
	background-color:#0084c9;
	height:150px;
}

/*------------------------------------------------------------
	header
------------------------------------------------------------*/
#main-header .wrap {
	position:relative;
}

#main-header h1 {
	font-size:80%;
	color:#555;
	margin-bottom:0px;
	text-align:right;
}

#main-header h2 {
	font-size:40px;
	line-height:1.4;
	font-weight:normal;
	background-image:url(images/h_logo.png);
	background-position:0 0;
	background-repeat:no-repeat;
	padding:5px 0 12px 120px;
	background-color:transparent;
}
#main-header h2 span {
	font-size:60%;
}
#main-header h2 a {
	color:#0084c9;
}
#main-header h2 a:hover {
	text-decoration:none;
	color:#38b4e8;
}
#main-header h2 span.title {
	display:block;
}

.search-form {
	width:240px;
	position:absolute;
	top:30px;
	right:0;
}

/* Reset input[type="search"] */
input[type="search"] {
	box-sizing: content-box;
	-webkit-appearance: none;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	-webkit-tap-highlight-color : rgba(0,0,0,0);
}
input[type="search"]:focus {
	outline-offset: -2px;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration  {
	-webkit-appearance: none;
}

.search-form #s {
	float:left;
	border: none;
    font-size: 14px;
    font-weight: normal;
    height: 20px;
    outline: none;
    padding: 10px;
    display: block;
    width: 180px;
    margin: 0;
}
.search-form .search-submit {
    display: block;
    float: right;
    width: 40px;
    margin-right: -0px;
    background: url(images/icon_search.png) no-repeat 0 top;
	background-color:#fff;
    text-indent: 40px;
    overflow: hidden;
    border-radius: 0;
    border: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    padding: 0;
}


/*------------------------------------------------------------
	footer
------------------------------------------------------------*/
#main-footer .f-nav {
	float:left;
	text-align:left;
	margin:0 0 10px 0;
}
#main-footer .language-nav {
	float:right;
	text-align:right;
	margin:0 0 10px 0;
}
#main-footer .f-nav ul {}
#main-footer .f-nav ul li,
#main-footer .language-nav ul li {
	display:inline;
	color:#fff;
	font-size:90%;
}
#main-footer .f-nav ul li .separator {
	padding:0 5px;
}
#main-footer .f-nav ul li a,
#main-footer .language-nav ul li a {
	color:#fff;
	
}
#main-footer .f-nav ul li a:hover,
#main-footer .language-nav ul li a:hover {
	color:#fff;
	text-decoration:underline;
}


#main-footer .copyright {
	font-size:70%;
	text-align:center;
	clear:both;
	padding-top:50px;
	color:#fff;
	font-family:Tahoma, Geneva, sans-serif;
}


/*------------------------------------------------------------
	page Navi
------------------------------------------------------------*/

.wp-pagenavi {
	clear: both;
	text-align:left;
	font-size:80%;
}

.wp-pagenavi span{
	text-decoration: none;
	padding: 3px 5px;
	margin: 2px;
	color:#666;
}
.wp-pagenavi a {
	text-decoration: none;
	border: 1px solid #DDDDDD;
	padding: 3px 5px;
	margin: 2px;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
}

.wp-pagenavi a:hover {
	border: 1px solid #c1ebfc;
	background-color:#c1ebfc;
}

.wp-pagenavi span.current {
	background-color:#DDDDDD;
	border:none;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
}

/*------------------------------------------------------------
	side
------------------------------------------------------------*/
#side .widget {
	margin:0 0 50px 0;
}
#side .widget .widget_title {
	background-color:#38b4e8;
	color:#fff;
	font-size:110%;
	line-height:1.4;
	padding:7px 20px 5px 20px;
	border-radius:20px;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	margin:0 0 15px 0;
}
#side .widget .widget_list {
	margin:0 0 0 20px;
}
#side .widget .widget_list li {
	color:#999;
	font-size:90%;
}

#side .widget_banner .bnr {
	text-align:center;
	margin:0 0 5px 0;
}


.text-download {
	font-size:80%;
	margin-bottom:10px;
}

ul.feed_bnr {
	text-align:center;
}
ul.feed_bnr li {
	display:inline-block;
	margin:0 3px;
}

/*------------------------------------------------------------
	pagetop
------------------------------------------------------------*/
#pagetop {
	width:50px;
	height:50px;
	position:fixed;
	bottom:20px;
	right:20px;
}
#pagetop p a {
	display:block;
	background-color:#999999;
	color:#FFFFFF;
	padding:10px;
	text-align:center;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
}
#pagetop p a:hover {
	text-decoration:none;
	background-color:#CCCCCC;
}


/*------------------------------------------------------------
	common
------------------------------------------------------------*/
.aligncenter {
	text-align:center;
}
.alignleft {
	float:left;
}
.alignright {
	float:right;
}

.leftarea {
	float:left;
}
.rightarea {
	float:right;
}


/*------------------------------------------------------------
	TOP 
------------------------------------------------------------*/



/*------------------------------------------------------------
	contents
------------------------------------------------------------*/
h2.page-title {
	font-size:160%;
	margin:0 0 20px 0;
}

/*------------------------------------------------------------
	entry
------------------------------------------------------------*/
.article {
	margin:0 0 30px 0;
	padding:0 0 20px 0;
	border-bottom:1px solid #cecece;
	color:#555;
}
.article .article-header {
	margin:0 0 20px 0;
}
.article .article-header .entry-title {
	font-size:140%;
	line-height:1.4;
	margin-bottom:20px;
}
.article .article-header .article-meta {
	font-size:90%;
	color:#999;
}
.article .article-header .article-date {
	padding-right:10px;
}
.article .article-content p {
	font-size:100%;
	line-height:1.6;
	margin:0 0 10px 0;
}
.article .article-more {
	text-align:right;
}
.article .article-more a {
	display:inline-block;
	line-height:1;
	background-image:url(images/btn_more.png);
	background-position:100% 0px;
	background-repeat:no-repeat;
	padding:0 16px 0 0;
}
.article .article-more a:hover {
	background-position:100% -25px;
}

.snsButton {
	text-align:right;
	margin-bottom:20px;
}
.snsButton li {
	display:inline-block;
	margin:0 0 0 10px;
	padding:0;
	line-height:1;
}
.snsButton li div {
	margin:0;
	padding:0;
}


.home .catch-img,
.archive .catch-img,
.search .catch-img {
	width:200px;
	float:left;
}
.home .catch-img img,
.archive .catch-img img,
.search .catch-img img {
	width:180px;
	height:auto;
}

.single .catch-img {
	margin-bottom:20px;
	text-align:center;
}
.single .catch-img img {}

.search_txt {
	margin-bottom:10px;
	border-bottom:1px solid #ccc;
	padding:5px 0;
	color:#666;
}

/*------------------------------------------------------------
	entry contents style
------------------------------------------------------------*/
.single .article-content {
	font-size:100%;
	line-height:1.6;
}
.single .article-content ul,
.single .article-content ol {
	margin:0 10px 20px 30px;
}
.single .article-content ul {
	list-style:disc;
}
.single .article-content ol {
	list-style:decimal;
}
.single .article-content li {
	font-size:100%;
	line-height:1.6;
	margin-bottom:5px;
}
.single .article-content p {
	margin-bottom:20px;
	font-size:100%;
	line-height:1.6;
}
.single .article-content strong,
.single .article-content b {
	font-weight:bold;
}
.single .article-content h1 {
	font-size:140%;
	font-weight:bold;
	margin:10px 0;
	padding:0 0 5px 0;
	border-bottom:1px solid #777;
}
.single .article-content h2 {
	font-size:120%;
	font-weight:bold;
	margin:10px 0;
	padding:0 0 0 20px;
	background-image:url(images/icon01.png);
	background-position:0 5px;
	background-repeat:no-repeat;
}
.single .article-content h3 {
	font-size:110%;
	font-weight:bold;
	margin:10px 0;
	padding:0 0 5px 0;
	border-bottom:1px solid #ccc;
}
.single .article-content h4 {
	font-size:100%;
	font-weight:bold;
	margin:5px 0;
}
.single .article-content h5 {
	font-size:100%;
	font-weight:bold;
	margin:5px 0;
}
.single .article-content h6 {
	font-size:100%;
	font-weight:bold;
	margin:5px 0;
}
.single .article-content .kome {
	font-size:85%;
}

blockquote {
	background-color:#eee;
	padding:10px;
	margin:10px 0 20px 0;
}


/*single-pagenavi*/
.single-pagenavi {
	margin:0 0 20px 0;
}
.single-pagenavi span {
	display:inline-block;
	font-size:0.8em;
}
.single-pagenavi .prev {
	float:left;
}
.single-pagenavi .next {
	text-align:right;
	float:right;
}


.notingfound {
	margin-bottom:50px;
}

/* -------------------
align
-------------------*/
.single .article-content .alignleft {
	display: inline;
	float: left;
}

.single .article-content .alignright {
	display: inline;
	float: right;
}

.single .article-content .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 5px 10px 10px 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 5px 0 10px 10px;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 5px;
	margin-bottom: 10px;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}


/* -------------------
iframe レスポンシブ
-------------------*/

/*動画の最大幅を指定する*/
.video-container{
  max-width:640px;
}

/*動画の大きさを調整*/
.video {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
	max-width:100%;
	height:auto;
}

/*動画を囲んでいるdiv目一杯に広げる*/
.video iframe,
.video object,
.video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/*------------------------------------------------------------
	responsive
------------------------------------------------------------*/

@media (max-width: 979px) {
	.wrap {
		width:94%;
		margin:0 3%;
	}
		#contents {
		margin:0 0 20px 0;
		padding:30px 20px 0 20px;
	}
	
	#main {
		width:100%;
		float:none;
	}
	#side {
		width:100%;
		float:none;
	}
	.wp-pagenavi {
		font-size:100%;
		padding-bottom:30px;
	}
	
}
@media (min-width: 767px) {

}
@media (min-width: 768px) and (max-width: 979px) {

}
@media (max-width: 767px) {

	
	#main-header h1 {
		text-align:left;
		margin-bottom:5px;
	}
	
	#main-header h2 {
		font-size:32px;
		margin-bottom:10px;
		background-image:url(images/h_logo_s.png);
		padding:0px 0 12px 100px;
	}
	#main-header h2 span {
		font-size:50%;
	}
	#main-header h2 span.sub {
		display:block;
		margin:0;
		padding:0;
	}
	.search-form {
		width:240px;
		margin:0 auto;
		position:inherit;
		top:0px;
		right:0;
	}
	#main-footer .copyright {
		padding-top:20px;
		padding-bottom:10px;
	}
	/*#main-footer .f-nav ul li {
		display:inline-block;
		float:left;
		width:50%;
	}
	#main-footer .f-nav ul li .separator {
		display:none;
	}*/
	#main-footer .language-nav {
	float:none;
	clear:both;
	text-align:center;
	margin:10px 0;
}
	
	.article-content img {
		/*width:100%;*/
		max-width: 90% ;
		height:auto;
		float:none;
		margin:10px 0;
	}
	
	.home .catch-img,
	.archive .catch-img,
	.search .catch-img {
		width:100px;
		float:left;
	}
	.home .catch-img img,
	.archive .catch-img img,
	.search .catch-img img {
		width:80px;
	}
	
	.single .catch-img img {
		width:80%;
		height:auto;
		/*width:auto;
		height:280px;*/
	}

}

@media (max-width: 479px) {

	.article-content img {
		/*width:100%;*/
		max-width: 100% ;
		height:auto;
	}
}

