@charset "UTF-8";

/* margin bottoms, bottom */
.mbs1, .mb1 { margin-bottom: 6.0rem; }
.mbs2, .mb2 { margin-bottom: 5.0rem; }
.mbs3, .mb3 { margin-bottom: 4.0rem; }
.mbs4, .mb4 { margin-bottom: 3.0rem; }
.mbs5, .mb5 { margin-bottom: 2.0rem; }
.mbs6, .mb6 { margin-bottom: 1.0rem; }
.mbs1:last-of-type, .mbs2:last-of-type, .mbs3:last-of-type,
.mbs4:last-of-type, .mbs5:last-of-type, .mbs6:last-of-type {
	margin-bottom: 0;
}
/*  margin top */
.mt1 { margin-top: 6.0rem; }
.mt2 { margin-top: 5.0rem; }
.mt3 { margin-top: 4.0rem; }
.mt4 { margin-top: 3.0rem; }
.mt5 { margin-top: 2.0rem; }
.mt6 { margin-top: 1.0rem; }

/* flex */
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap : wrap;
	-ms-flex-wrap : wrap;
	flex-wrap : wrap;
}
.flex.right {
	-webkit-box-pack:end;
	-ms-flex-pack:end;
	justify-content: flex-end;
}

/* 投稿画像 */
img.pict {
	border-radius: 0.4rem;
}

/* 画像認証の画像 */
img.captcha-img {
	vertical-align: middle;
	margin-left: 0.8rem;
	border: 1px solid #ddd;
}

/* 検索結果の文字背景色 */
.srh-col {
	background-color: #ffe57e;
}

/* メッセージ */
.message {
	background-color: #f8f8f8;
	padding: 2rem;
	border-radius: 0.4rem;
}

/* topへ戻るボタン */
#page-top-button {
	position: fixed;
	right: 30px;
	bottom: 30px;	
	color: #337ab7;
	font-size: 6rem;
	line-height: 6rem;
	text-decoration: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
#page-top-button:before {
	content: "\f0aa";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}
#page-top-button span {
	display: none;
}

/* エラー */
.error,
.error-single {
	color: #dd4848;
}
.error > .head {
	font-weight: bold;
	font-size: 1.8rem;
}
.error > .head:before,
.error-single:before {
	content: "\f071";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	padding-right: 0.4rem;
}
.error > ul {
	margin-left: 0.15rem;
}
.error > ul > li:before {
	content: "\f00c";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	padding-right: 0.3rem;
}

/* 送信完了 */
.success {
	background-color: #ecf8d0;
	padding: 2rem;
	border-radius: 0.4rem;
}

/* required */
.required:after {
	content: "*";
	color: #dd4848;
	padding-left: 0.4rem;
}

/* ボタン */
.button {
	background-color: #337ab7;
	border-radius: 0.4rem;
	border: 0;
	color: #fff;
	display: block;
	font-weight: bold;
	padding: 1.0rem 2.8rem;
}
.button.inline {
	display: inline;
	margin-left: 0.4rem;
}
.button.inline.search {
	padding: 1.0rem 1.2rem;
}
.button.inline.search:before {
	content: "\f002";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-right: 0.4rem;
}

/* 評価 */
.rate > span {
	display: none;
}
.rate {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #fcc96c;
}
.rate5:before { content: "\f005\f005\f005\f005\f005"; }
.rate4:before { content: "\f005\f005\f005\f005"; }
.rate3:before { content: "\f005\f005\f005"; }
.rate2:before { content: "\f005\f005"; }
.rate1:before { content: "\f005"; }

/* モーダル */
.modal-content {
	position: fixed;
	display: none;
	z-index: 10;
	width: 400px;
	margin: 0;
	padding: 20px;
	border-radius: 0.4rem;
	background-color: #fff;
}
.modal-content > iframe {
	width: 100%;
	height: 220px;
	border: none;
	overflow: auto;
}
.modal-content > p.modal-close-p {
	text-align: right;
}
.modal-content > p.modal-close-p > .modal-close {
	cursor: pointer;
	font-size: 1.4rem;
	color: #444;
}
.modal-content-img  {
    position: fixed;
    display: none;
    z-index: 10;
    margin: 0;
}
.modal-content-img > img {
	border-radius: 0.4rem;
}
.modal-overlay {
	z-index: 9;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.75);
}