/*
Theme Name: OMOSHII
Version: 1.5
Description: オモシーのテーマ(メインサイト・サポーターサイト兼用)
Author: Noriaki Morishita
*/

/* ======== default ======== */
body,div,dl,dt,dd,
ul,ol,li,h1,h2,h3,h4,h5,h6,
pre,code,form,fieldset,legend,
input,textarea,p,blockquote,th,td {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	border: 0;
}

ul,ol,li {
	list-style: none;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: 600;
}

a {
	color: #333333;
	text-decoration: none;
    overflow: hidden;
    outline: none;
}

a:hover {
	text-decoration: underline;
}

a:hover img {
	opacity: 0.9;
	filter: Alpha(opacity=90);
	-ms-filter: Alpha(opacity=90); 
}

a.hv90:hover {
	text-decoration: none;
	opacity: 0.9;
	filter: Alpha(opacity=90);
	-ms-filter: Alpha(opacity=90); 
}

a.hv80:hover {
	text-decoration: none;
	opacity: 0.8;
	filter: Alpha(opacity=80);
	-ms-filter: Alpha(opacity=80); 
}

img.thumbnail-protected, img.protected, .protect-images img {
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	user-select: none;
	-webkit-touch-callout: none;
	pointer-events: none;
}

.debug {
	display: none;
}

@media screen and (max-width: 599px) {
	input[type="text"], input[type="search"], input[type="tel"], input[type="url"], input[type="email"], input[type="password"], input[type="datetime"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime-local"], input[type="number"], input[type="color"], textarea {
		font-size: 16px;
	}
}

/* ======== clearfix ======== */
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

/* ======== レイアウト ======== */
body {
	background-color: #ffffff;
	margin: 0;
	text-align: center;/* ページ全体のセンタリング用 */
	font: 94%/200% Arial, helvetica,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','ＭＳ ゴシック', sans-serif;
    *font-size: small;/* IE用 */
    *font: x-small;/* IE 互換モード用 */
	color: #666666;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.fixed {
	overflow: auto;
	height: 100%;
}

#wrapper {
	min-width: 980px;
	text-align: left;
}

@media screen and (max-width: 599px) {
	#wrapper {
		width: 100%;
		min-width: 0;
		overflow: hidden;
	}
}

#container {
	width: 940px;
	margin: 0 auto;
	padding: 20px;
	zoom: 1;
}

@media screen and (max-width: 599px) {
	#container {
		width: auto;
		padding: 65px 15px 15px;
	}
}

.container {
	width: 980px;
	margin: 0 auto;
}

@media screen and (max-width: 599px) {
	.container {
		width: auto;
	}
}

#container:after {
    content: ""; 
    display: block; 
    clear: both;
}

a.thumbnail-box {
	display: block;
}

/* ======== ヘッドライン ======== */
@media screen and (max-width: 599px) {
	#headline {
		display: none;
	}
}

#hl-anfan {
	float: left;
	padding: 9px 20px;
}

#hl-right {
	float: right;
}

#hl-menu {
	float: left;
	padding: 9px 10px;
}

#hl-menu li {
	float: left;
	padding: 0 3px;
}

#hl-search {
	float: right;
	padding: 4px 15px 0 0;
	line-height: 1em;
	font-size: 12px;
}

#headline a {
	display: block;
	background: url(images/hl-texts.gif) no-repeat;
	text-indent: -9999px;
	height: 13px;
}

#hl-anfan a {
	background-position: 0 0;
	width: 46px;
}

#hl-anfan a:hover {
	text-decoration: none;
	background-position: 0 -13px;
}

#hl-twitter a {
	background-position: -46px 0;
	width: 67px;
}

#hl-twitter a:hover {
	text-decoration: none;
	background-position: -46px -13px;
}

#hl-rss a {
	background-position: -113px 0;
	width: 33px;
}

#hl-rss a:hover {
	text-decoration: none;
	background-position: -113px -13px;
}

#hl-about a {
	background-position: -146px 0;
	width: 54px;
}

#hl-about a:hover {
	text-decoration: none;
	background-position: -146px -13px;
}

#hl-contact a {
	background-position: -200px 0;
	width: 71px;
}

#hl-contact a:hover {
	text-decoration: none;
	background-position: -200px -13px;
}

/* ======== ヘッダー ======== */
#header {
	clear: both;
	position: relative;
	height: 103px;
	background: #000000;
	color: #ffffff;
}

@media screen and (max-width: 599px) {
	#header {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: auto;
		z-index: 50;
	}
}

#header h1 {
	float: left;
	padding: 10px 0 0 8px;
}

@media screen and (max-width: 599px) {
	#header h1 {
		float: none;
		padding: 8px 0;
	}
}

#header h1 a {
	display: block;
	background: url(images/omoshii-logo.gif) no-repeat;
	text-indent: -9999px;
	width: 275px;
	height: 72px; 
}

#searchform {
	float: right;
	padding:20px 15px 0;
}

@media screen and (max-width: 599px) {
	#searchform {
		display: none;
	}
}

#searchform p {
	margin-top: 2px;
	line-height: 1;
	font-size: 14px;
}

#searchsubmit-box {
	display: inline-block;
	*display: inline;  
    *zoom: 1;  
	width: 52px;
	height: 42px;
	background: url(images/search_buttom_o.gif) no-repeat;
}

#searchsubmit:hover {
	text-decoration: none;
	opacity: 0;
	filter: Alpha(opacity=0);
	-ms-filter: Alpha(opacity=0); 
}

@media screen and (max-width: 599px) {
	#header h1 a {
		margin: 0 auto;
		width: 130px;
		height: 34px;
		background-size: contain;
	}
}

/* ======== メインメニュー ======== */

#nav {
	clear: both;
	height: 32px;
	background: #ff4f90 url(images/menu_back.gif) repeat-x;
}

@media screen and (max-width: 599px) {
	#nav {
		display: none;
	}
}

#nav ul {
	padding: 5px 0 0 7px;
}

#nav li {
	float: left;
	padding-left: 10px;
}

#nav a {
	display: block;
	height: 20px;
	background: url(images/menu.png) no-repeat;
	text-indent: -9999px;
}

* html body #nav a {
	background: url(images/menu.gif) no-repeat;
}

#nav li.home a { background-position: 0 0; width: 69px; }  
#nav li.news a { background-position: -82px 0; width: 77px; }  
#nav li.interview a { background-position: -167px 0; width: 143px; }  
#nav li.column a { background-position: -320px 0; width: 57px; }  
#nav li.present a { background-position: -393px 0; width: 87px; }  
#nav li.schedule a { background-position: -489px 0; width: 85px; }  
#nav li.supporter a { background-position: -584px 0; width: 124px; }  
  
  
#nav li.home  a:hover { text-decoration: none; background-position: 0 -24px; }  
#nav li.news a:hover { text-decoration: none; background-position: -82px -24px; }  
#nav li.interview a:hover { text-decoration: none; background-position: -167px -24px; }  
#nav li.column a:hover { text-decoration: none; background-position: -320px -24px; }  
#nav li.present a:hover { text-decoration: none; background-position: -393px -24px; }  
#nav li.schedule a:hover { text-decoration: none; background-position: -489px -24px; }  
#nav li.supporter a:hover { text-decoration: none; background-position: -584px -24px; }  

/* ======== ドロワーメニュー ======== */
.sr-only {
	display: none;
}

.drawer-nav, .drawer-overlay, .drawer-hamburger {
	display: none;
}

@media screen and (max-width: 599px) {
	.drawer-scroll-cancel {
		height: 100%;
		overflow: hidden;
	}
	
	.drawer-nav {
		position: fixed;
		z-index: 101;
		left: -16.25rem;
		top: 0;
		overflow: auto;
		display: block;
		width: 16.25rem;
		height: 100%;
		color: #222;
		background-color: #fff;
		-webkit-transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
		transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	}
	
	.drawer-open .drawer-nav {
		left: 0;
	}
	
	.drawer-nav .inner {
		padding-bottom: 50px;
	}
	
	.drawer-overlay {
		position: fixed;
		z-index: 100;
		top: 0;
		left: 0;
		display: none;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,.2);
	}
	
	.drawer-open .drawer-overlay {
		display: block;
	}
	
	.drawer-hamburger {
		position: absolute;
		z-index: 104;
		left: 0;
		top: 0;
		display: block;
		box-sizing: content-box;
		width: 2rem;
		padding: 0;
		padding-top: 13px;
		padding-right: .75rem;
		padding-bottom: 25px;
		padding-left: .75rem;
		-webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
		transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
		-webkit-transform: translate3d(0, 0, 0);
						transform: translate3d(0, 0, 0);
		border: 0;
		outline: 0;
		background-color: transparent;
	}
	
	.drawer-hamburger:hover {
		cursor: pointer;
		background-color: transparent;
	}
	
	.drawer-hamburger-icon {
		position: relative;
		display: block;
		margin-top: 10px;
	}
	
	.drawer-hamburger-icon,
	.drawer-hamburger-icon:before,
	.drawer-hamburger-icon:after {
		width: 100%;
		height: 2px;
		-webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
		transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
		background-color: #ffffff;
	}
	
	.drawer-hamburger-icon:before,
	.drawer-hamburger-icon:after {
		position: absolute;
		top: -10px;
		left: 0;
		content: ' ';
	}
	
	.drawer-hamburger-icon:after {
		top: 10px;
	}
	
	.drawer-open .drawer-hamburger {
		left: 16.25rem;
	}
	
	.drawer-open .drawer-hamburger-icon {
		background-color: transparent;
	}
	
	.drawer-open .drawer-hamburger-icon:before,
	.drawer-open .drawer-hamburger-icon:after {
		top: 0;
	}
	
	.drawer-open .drawer-hamburger-icon:before {
		-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
	}
	
	.drawer-open .drawer-hamburger-icon:after {
		-webkit-transform: rotate(-45deg);
				transform: rotate(-45deg);
	}
	
	.drawer-menu li a {
		display: block;
		height: 50px;
		padding-left: 15px;
		padding-right: 15px;
		line-height: 50px;
		text-align: left;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		border-bottom: 1px solid #999999;
	}
	
	.drawer-menu li a:hover {
		text-decoration: none;
	}
	
	.drawer-menu-main li a {
		color: #ffffff;
		background-color: #ff6699;
		border-bottom-color: #ffffff;
	}
	
	.drawer-search {
		position: relative;
		border-bottom: 1px solid #999999;
	}
	
	.drawer-search input[type=search] {
		-webkit-appearance: none;
		box-sizing: border-box;
		width: 100%;
		height: 50px;
		padding-left: 15px;
		padding-right: 39px;
		border: none;
	}
	
	.drawer-search input[type=search]:-ms-input-placeholder {
		color: #aaaaaa;
	}
	
	.drawer-search input[type=search]::-webkit-input-placeholder {
		color: #aaaaaa;
	}
	
	.drawer-search input[type=search]::placeholder {
		color: #aaaaaa;
	}
	
	.drawer-search input[type=image] {
		position: absolute;
		right: 15px;
		top: 13px;
		width: 24px;
		height: 24px;
	}
}

/* ======== 広告 ======== */
.widget-ad-block {
	text-align: center;
}

.widget-ad-block h2 {
	display: none;
}

.main-footad li {
	margin: 10px 0 0;
}

/* ======== メイン ======== */
#main {
	float: left;
	width: 500px;
}

@media screen and (max-width: 599px) {
	#main {
		float: none;
		width: auto;
	}
}

#main h2.theme {
	margin-bottom: 10px;
}

#main .maintitle, #main .subtitle {
	clear: both;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: dotted 1px #aaaaaa;
	color: #333333;
	font-weight: 600;
	font-size: 150%;
}

#main .hentry {
	clear: both;
	min-height: 10px; /* for ie7 */
	margin-bottom: 20px;
}

#main .hentry img {
	max-width: 100%;
	height: auto;
}

#main .wp-post-image {
	margin-bottom: 10px;
	max-width: 500px;
}

@media screen and (max-width: 599px) {
	#main .wp-post-image {
		max-width: 100%;
		height: auto;
	}
}

* html body #main .wp-post-image {
	width: expression(this.width > 500 ? 500: true); /*for ie6*/
}

#main h3.theme {
	font-size: 150%;
	line-height: 1.4;
	letter-spacing: -.04em;
	margin-bottom: 10px;
	color: #000000;
}

#main h3.theme a {
	color: #000000;
}

#main h3.theme a:hover {
	color: #333333;
}

#main .excerpt {
	margin-bottom: 10px;
	font-size: 109%;
	line-height: 1.5;
	letter-spacing: 0;
	color:#666666;
}

#main .date {
	font-weight: 600;
	color:#999999;
	letter-spacing:0.1em;
	font-size: 14px;
}

@media screen and (max-width: 599px) {
	#main .date {
		line-height: 1.8;
	}
}

#main .date a { 
	color: #ff6699;
}

@media screen and (max-width: 599px) {
	#main .date a:after {
		content: "\000A";
		white-space: pre;
	}
}

#main .date a:hover{ 
	text-decoration: none;
}


.social-buttons {
	margin-bottom: 10px;
}

#main .more-link {
	margin-bottom: 10px;	
}

#main .more-link a, .prevnext a {
	padding: 4px 8px;
	background: #000000;
	color: #ffffff;
}

#main .more-link a:hover, .prevnext a:hover {
	background: #ff3366;
	text-decoration: none;
}

.prevnext-single {
	clear: both;
	height: 24px;
}

@media screen and (max-width: 599px) {
	.prevnext-single {
		height: auto;
	}
}

.prevnext-single .next {
	float: left;
}

.prevnext-single .prev {
	float: right;
	text-align: right;
}

@media screen and (max-width: 599px) {
	.prevnext-single .next, .prevnext-single .prev {
		float: none;
		text-align: left;
	}
}

.prevnext-single a {
	display: block;
	margin: 10px 0;
	padding: 0 8px;
	background: #000000;
	color: #ffffff;
}

.prevnext-single a:hover {
	background: #ff3366;
	text-decoration: none;
}

.next-title {
	float: left;
	margin: 0;
	width: 190px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.prev-title {
	float: left;
	margin: 0;
	width: 190px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media screen and (max-width: 599px) {
	.next-title, .prev-title {
		float: none;
		display: block;
		width: auto;
	}
	
	.next-title:before {
		content: "前の記事";
		display: block;
	}
	
	.prev-title:before {
		content: "次の記事";
		display: block;
	}
}

.next-arrow {
	float: left;
	margin-right: 4px;
}

.prev-arrow {
	float: left;
	margin-left: 4px;
}

@media screen and (max-width: 599px) {
	.next-arrow, .prev-arrow {
		display: none;
	}
}

.prevnext {
	clear: both;
	height: 24px;
}

.prevnext .prev {
	margin: 0;
	float: left;
}

.prevnext .next {
	margin: 0;
	float: right;
}

/* ======== メインタイトル ======== */
#main h2.news a {
	float: right;
	margin-bottom: 20px;
	width: 207px;
	height: 29px;
	text-indent: -9999px;
	background: url(images/top-news.gif) no-repeat;
}

#main h2.interview a {
	float: right;
	margin-bottom: 10px;
	width: 144px;
	height: 29px;
	text-indent: -9999px;
	background: url(images/top-interview.gif) no-repeat;
}

#main h2.column a {
	float: right;
	margin-bottom: 10px;
	width: 75px;
	height: 29px;
	text-indent: -9999px;
	background: url(images/top-column.gif) no-repeat;
}

#main h2.present a {
	float: right;
	margin-bottom: 20px;
	width: 100px;
	height: 29px;
	text-indent: -9999px;
	background: url(images/top-present.gif) no-repeat;
}

#main h2.schedule a {
	float: right;
	margin-bottom: 20px;
	width: 97px;
	height: 29px;
	text-indent: -9999px;
	background: url(images/top-schedule.gif) no-repeat;
}

#main h2.supporter a {
	float: right;
	margin-bottom: 20px;
	width: 202px;
	height: 29px;
	text-indent: -9999px;
	background: url(images/top-supporter.gif) no-repeat;
}

/* ======== サイドバー ======== */
#sidebar {
	float: left;
	padding-left: 20px;
	width: 200px;
}

@media screen and (max-width: 599px) {
	#sidebar {
		float: none;
		width: auto;
		padding-left: 0;
	}
}

/* ======== サブバー ======== */
#subbar {
	float: right;
	width: 200px;
}

@media screen and (max-width: 599px) {
	#subbar {
		float: none;
		width: auto;
	}
}

.subbar-widget {
	margin-bottom: 18px;
}

.subbar-widget h2 {
	display: none;
}

.subbar-widget a:hover img {
	opacity: 0.8;
	filter: Alpha(opacity=80);
	-ms-filter: Alpha(opacity=80); 
}

.widget_sp_image img {
	max-width: 100%;
	height: auto;
	text-align: center;
	vertical-align: bottom;
}

@media screen and (max-width: 599px) {
	.widget_sp_image img {
		width: 100%;
	}
}

.textwidget {
	text-align: center;
}

/* ======== フッター ======== */
#footer {
	clear: both;
	padding: 20px;
	background: #000000;
	color: #ffffff;
	text-align: right;
}

@media screen and (max-width: 599px) {
	#footer {
		line-height: 2;
		text-align: center;
	}
}

#footer ul {
	float: left;
	font-size: 13px;
	border-left: 1px solid #ffffff;
}

@media screen and (max-width: 599px) {
	#footer ul {
		float: none;
		border-left: none;
	}
}

#footer li {
	float: left;
	padding: 1em;
	border-right: 1px solid #ffffff;
}

@media screen and (max-width: 599px) {
	#footer li {
		float: none;
		padding: 0;
		border-right: none;
	}
}

#footer li a {
	color: #ffffff;
}

#copyright {
	padding: 1em;
	font-size: 13px;
}

@media screen and (max-width: 599px) {
	#copyright {
		margin-top: 40px;
		padding: 0;
	}
}

#copyright .company {
	margin-right: 0.5em;
}

@media screen and (max-width: 599px) {
	#copyright .company {
		margin-right: 0;
	}
	
	#copyright .company:after {
		content: "\000A";
		white-space: pre;
	}
}

/* ======== 投稿内のスタイル ======== */
#main .content p {
	margin-bottom: 2em;
}

#main .content a {
	background-color: #ffccff;
	text-decoration: underline;
}

#main .content a img {
	vertical-align: bottom;
}

#main .content h1 {
	font-size: 184%;
	line-height: 160%;
	color: #333333;
}

#main .content h2 {
	font-size: 167%;
	line-height: 160%;
	color: #333333;
}

#main .content h3 {
	font-size: 150%;
	line-height: 160%;
	color: #333333;
}

#main .content h4 {
	font-size: 134%;
	line-height: 160%;
	color: #333333;
}

#main .content h5 {
	font-size: 117%;
	line-height: 160%;
	color: #333333;
}

#main .content h6 {
	font-size: 100%;
	line-height: 160%;
	color: #333333;
}

#main .wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    max-width: 498px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

@media screen and (max-width: 599px) {
	#main .wp-caption {
		box-sizing: border-box;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

#main .wp-caption .size-large {
	width: 488px;
	height: auto;
}

@media screen and (max-width: 599px) {
	#main .wp-caption .size-large {
		width: auto;
	}
}

#main .wp-caption .size-full {
	width: auto;
	max-width: 488px;
	height: auto;
}

@media screen and (max-width: 599px) {
	#main .wp-caption .size-full {
		width: auto;
	}
}

#main .content .wp-caption a img {
	display: inline;
}

#main .content p.wp-caption-text {
    font-size: 92%;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}

#main .content iframe {
	max-width: 100%;
}

#main .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#main .alignleft {
    float: left;
    margin: 10px;
}

#main .alignright {
    float: right;
    margin: 10px;
}

@media screen and (max-width: 599px) {
	#main .alignleft, #main .alignright {
		float: none;
		display: block;
		margin: 0 auto 10px;
	}
}

#main .gallery {
	margin-bottom: 2em;
}

.gallery-item img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* ======== ソーシャルボタン ======== */
@media screen and (max-width: 599px) {
	#main .wp_social_bookmarking_light > div {
		margin-bottom: 5px !important;
	}
}
