@charset "utf-8";
/*
Theme Name:NOEL for piar
Theme URI:
Description:WordPressテーマ「NOEL」のpiar版です。NOELのv1.1をもとに作成。
Template: noel_tcd072
Version:10.0
*/

/**
 * safariでメニュー表のflex部分がずれる。before・after疑似要素もflex要素に含まれるのが原因。
 * だから、safariだけそれを除いてます。
 */
_::-webkit-full-page-media, _:future, :root .cf_price_list .clearfix:before, #footer_information_inner.clearfix:before {
content: none;
}

/**
 * 下層カバーのデフォルト設定です。
 */
#page_header {
	background: url("/wordpress/wp-content/uploads/2019/09/piar_common_bg.jpg") no-repeat center;
	background-size: cover;
}


/* ショートコードで吹き出しデザイン */
.voice{
	margin:1em 0 1.3em;
	font-size:0.95em;
	width: 100%;
	overflow: hidden;
}

.voice .voicecomment{
	border:3px solid #eee;
	background-color: #fff;
	color: #444;
	padding: 2.5%;
	position:relative;
	width:86%;
	border-radius:5px;
}
.voice.l .voicecomment{
	float:right;
}
.voice.r .voicecomment{
	float:left;
}

.voice.l .voicecomment:before{
	content: '';
	position: absolute;
	border-right: 8px solid #eee;
	border-bottom: 8px solid transparent;
	border-top: 8px solid transparent;
	top: 10px;
	left: -11px;
}
.voice.l .voicecomment:after{
	content: '';
	position: absolute;
	border-right: 10px solid #fff;
	border-bottom: 8px solid transparent;
	border-top: 8px solid transparent;
	top: 10px;
	left: -7px;
}
.voice.r .voicecomment:before{
	content: '';
	position: absolute;
	border-left: 8px solid #eee;
	border-bottom: 8px solid transparent;
	border-top: 8px solid transparent;
	top: 10px;
	right: -11px;
}
.voice.r .voicecomment:after{
	content: '';
	position: absolute;
	border-left: 10px solid #fff;
	border-bottom: 8px solid transparent;
	border-top: 8px solid transparent;
	top: 10px;
	right: -7px;
}

.voice .voicecomment h2,
.voice .voicecomment h3,
.voice .voicecomment h4,
.voice .voicecomment h5{
	margin:10px 0!important;
	padding:0;
}
.voice .voicecomment p{
	margin-bottom:1em;
}
.voice .voicecomment p:last-child{
	margin-bottom:0;
}
.voice .icon{
	width:10%;
	text-align:center;
}
.voice.l .icon{
	float:left;
	margin-left: 8px;
}
.voice.r .icon{
	float:right;
	margin-right: 8px;
}
.voice .icon img{
	border-radius:50%;
	margin:0;
	box-shadow: 0 0 8px #ccc;
	border: 2px solid #fff;
}
.voice .icon .name{
	font-size: 0.65em;
	padding:0.4em 0;
}
.voice.big .icon{
	width:18%;
}
.voice.big .voicecomment{
	width:75%;
}

.voice.l.fb .voicecomment:before{
	border-right-color: #4C5CB0;
}

.voice.l.fb .voicecomment:after,
.voice.l.line .voicecomment:after{
	content:none;
}
.voice.fb .voicecomment{
	background: #4C5CB0;
	border-color: #4C5CB0;
	color:#fff;
}
.voice.r.fb .voicecomment:before{
	border-left-color: #4C5CB0;
}
.voice.r.fb .voicecomment:after{
	content:none;
}
/* LINE風 */
.voice.line .voicecomment{
	background: #7ACC40;
	border-color: #7ACC40;
	color:#fff;
}
.voice.l.line .voicecomment:before{
	border-right-color: #7ACC40;
}
.voice.r.line .voicecomment:before{
	border-left-color: #7ACC40;
}
.voice.r.line .voicecomment:after{
	content:none;
}

@media only screen and (max-width: 480px) {
	/* モバイルボタン */
	.btn-wrap a{
		font-size:0.9em;
		padding:0.9em 1.5em;
	}
	.btn-wrap.big a{
		font-size:0.9em;
		padding:0.9em 1.5em;
		min-width:80%;
		max-width:90%;
	}
	.btn-wrap.bg {
		padding: 0.9em 0.8em;
		margin: 2.5em 0;
	}
	.voice .icon{
		width:15%;
	}
	.voice .voicecomment{
		width:80%;
		font-size:0.95em;
	}
	
	/* モバイル関連記事 */
	.related_article{
		font-size:0.8em;
	}
	.related_article .inbox{
		padding-left: 32%;
	}
	.related_article .ttl:before{
		content:'関連';
		width:3em;
	}
	.related_article .thum{
		width: 30%;
	}
	.related_article a{
		padding:0.6em;
	}
}


/** 検索フォーム */
#global-menu-s {
	display: flex;
	flex-flow: column;
	justify-content: center;
}

#global-menu-s #searchform {
	height: 2em;
	border-radius: 1em;
}

#global-menu-s #searchform #s {
	width: 100%;
	height: 2em;
	padding: .3em 0 0 .5em;
	font-size: .85em;
	background-color: inherit;
	text-align: left;
}

#global-menu-s #searchform #searchsubmit {
	border: none;
	background: none;
	z-index: 200;
	position: absolute;
	cursor: pointer;
	display: block;
	overflow: hidden;
	top: .15em;
	right: 1em;
	text-indent: 0;
	padding: 0;
	margin: 0;
	width: 1.5em;
	height: 1.5em;
}

#mobile_menu #global-menu-s #searchform {
	position:relative;
  	display:block;
	margin:0;
	margin:18px 20px;
	line-height:1.6;
	overflow:hidden;
	text-decoration:none;
	color:#fff;
	font-size:13px;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}

#searchform_wrapper {
	position: relative;
}

#mobile_menu #searchform_wrapper {
	background: #222222;
	border-bottom: 1px solid #444444;
}

