/*
Theme Name: 88HOUSE MARINE WAVE
Description: 88ハウス マリンウェーブ テンプレート
Author: Wintel
*/





/* Utility
   ========================================================================== */


.nobreak {
	display: inline-block;
}


.nav-show-xs {
	display: block;
}

@media (min-width: 600px) {
	.nav-show-xs {
		display: none !important;
	}
}


.nav-break-sm {
	display: none;
}

@media (min-width: 600px) {
	.nav-break-sm {
		display: block;
	}
}

@media (min-width: 769px) {
	.nav-break-sm {
		display: none;
	}
}


.show-sm {
	display: block;
}

@media (min-width: 769px) {
	.show-sm {
		display: none !important;
	}
}


.hide-all {
	display: none;
}


.indent1em {
	text-indent: -1em;
	padding: 0 0 0 1em;
}


.divider {
	margin-bottom: 2rem;
}


p.no-item {
	display: block;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: normal;
	text-align: center;
	color: #454545;
	margin: 0;
	padding: 2rem 0 2rem 0;
}

@media screen and (min-width: 600px) {
	p.no-item {
		padding: 5rem 0 5rem 0;
	}
}


p.no-item-inverse {
  color: #fff;
}


p.archive-link {
	display: inline-block;
	width: auto;
	height: auto;
	margin: 1rem 0;
	padding: 0 1%;
  text-align: right;
  float: right;
}


p.archive-link a {
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	font-size: 0.8rem;
	line-height: 1.6rem;
	font-weight: normal;
	text-align: right;
	text-decoration: underline;
	color: #2269d8;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

p.archive-link a:hover {
	color: #2269d8;
  text-decoration: none;
}


p.archive-link-inverse a {
  color: #F6EA50;
  text-decoration: underline;
}

p.archive-link-inverse a:hover {
  color: #F6EA50;
  text-decoration: none;
}


p.archive-link .dashicons {
	font-size: 1rem;
	line-height: 20px;
	font-weight: 400;
	vertical-align: middle;
}


p.page-link {
	display: block;
	width: 100%;
	height: auto;
	margin: 1rem 0 0 0;
	padding: 0;
}


p.page-link a {
	display: block;
	width: 100%
	height: auto;
	margin: 0;
	padding: 0 0.5rem;
	font-size: 0.8rem;
	line-height: 1.6rem;
	font-weight: normal;
	text-align: right;
	text-decoration: none;
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

@media screen and (min-width: 600px) {
	p.page-link a {
		width: 10rem;
		text-align: center;
	}
}

p.page-link a:hover {
	color: #fff;
	background-color: #660001;
}


p.page-link .dashicons {
	font-size: 1rem;
	line-height: 20px;
	font-weight: 400;
	vertical-align: middle;
}


@media screen and (min-width: 600px) {
	.min-h {
		min-height: 300px;
	}
}





/* Layout
   ========================================================================== */


#mcleft {
	width: 100%;
}

@media (min-width: 1025px) {
	#mcleft {
		width: 70%;
		float: left;
	}
}


#mcright {
	width: 100%;
	margin-top: 3rem;
}

@media (min-width: 1025px) {
	#mcright {
		width: 27%;
		margin-top: 0;
		float: right;
	}
}


#mcleft img, #mcright img {
	width: auto;
	max-width: 100%;
	height: auto;
}





/* Main
   ========================================================================== */


article p {
	margin: 0 0 1.0rem 0;
}


article img {
	max-width: 100%;
	height: auto;
	vertical-align: baseline;
}


article img.alignleft {
	border: none;
	padding: 0;
	margin: 0.5rem 1.0rem 0.5rem 0;
	float: left;
}


article img.alignright {
	border: none;
	padding: 0;
	margin: 0.5rem 0 0.5rem 1.0rem;
	float: right;
}


article img.aligncenter {
	border: none;
	padding: 0;
	clear: both;
	display: block;
	margin: 1.0rem auto;
}


article img.alignnone {
	border: none;
	padding: 0;
	margin: 0;
}


@media (max-width: 599px) {
	article img.alignleft, 
	article img.alignright {
		float: none;
		margin: 1.0rem auto;
	}
}


article .video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	margin: 1rem 0;
	overflow: hidden;
}


article .video-container iframe, 
article .video-container object, 
article .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


div.blog_info {
	padding: 0.3rem 0;
	margin: 0 0 1.5rem 0;
	font-size: 0.7rem;
	line-height:1.0rem;
	border-bottom: 1px dotted #999;
}


div.blog_info ul {
	margin: 0px;
	padding: 0px;
	width: 100%;
}


div.blog_info li {
	float: right;
	padding: 0px;
	list-style: none;
	margin: 0 1rem 0 0;
	color: #454545;
}


div.blog_info li:first-of-type {
	margin: 0;
}


div.blog_info li a {
	color: #454545;
	text-decoration: none;
}

div.blog_info li a:hover {
	color: #000;
	text-decoration: underline;
}


div.blog_info .dashicons {
		font-size: 16px;
}


.title {
	margin: 0 0 0.2rem 0;
	padding: 0;
	color: #3B445C;
}


.title a {
	color: #3B445C;
	text-decoration: underline;
}

.title a:hover {
	color: #4D6EC7;
	text-decoration: none;
}





/* Side
   ========================================================================== */


.widget-area ul {
	margin: 0;
	padding: 0;
	width: 100%;
}


.widget-area ul li.widget-container {
	list-style: none;
	margin: 0 0 2rem 0;
	padding: 10px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
  border-bottom: 5px solid #2F4C9C;
	background: #fff;
  box-shadow: 0px 1px 3px #999;
}

@media (min-width: 481px) {
	.widget-area ul li.widget-container {
		margin: 0 0 3rem 0;
	}
}


.widget-area h3.widget-title {
  display: table-cell;
  width: 100%;
	font-size: 14px;
	font-weight: bold;
	color: #2F4C9C !important;
	line-height: 1.4em;
	padding: 0;
	margin: 0;
}


.widget-area > ul > li {
	padding: 0;
	margin: 0 0 40px 0;
	list-style: none;
}


.widget-area > ul > li:last-of-type {
	margin: 0;
}


.widget-area ul li ul {
	padding: 0;
	margin: 0.5rem 0 0 0;
  border-top: 1px dotted #899CC1;
}


.widget-area ul li ul li {
	list-style: none;
	border-bottom: 1px dotted #e0e0e0;
}


.widget-area ul li ul li a {
	width: 100%;
	height: auto;
	display: block;
	text-decoration: none;
	color: #222;
	padding: 8px 5px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}


.widget-area ul li ul li a:hover {
  color: #222;
	background-color: #D7EAF7;
}


/* Monthly Archive */
.widget-area ul li.widget_archive ul {
	display: table;
	padding: 0.5rem 0;
	margin: 0.5rem 0 0 0;
  border-top: 1px dotted #899CC1;
}

.widget-area ul li.widget_archive ul li {
	list-style: none;
	border: none;
	display: block;
	margin: 1%;
	float: left;
}

.widget-area ul li.widget_archive ul li a {
	display: block;
	color: #222;
	background-color: #fff;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
  border: 1px solid #e0e0e0;
	padding: 0.35rem 0;
	margin: 0;
	position: relative;
	top: -1px;
	white-space: nowrap;
	font-size: 0.7rem;
	text-align: center;
	text-indent: 0;
	text-decoration: none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.widget-area ul li.widget_archive ul li a:hover {
  color: #222;
  border: 1px solid #D7EAF7;
	background-color: #D7EAF7;
}
.widget-area ul li.widget_archive ul li a:before {
	content: none;
	margin: 0;
}

@media (min-width: 1025px) {
	.widget-area ul li.widget_archive ul li {
		width: 31.33%;
	}
}
@media (min-width: 851px) and (max-width: 1024px) {
	.widget-area ul li.widget_archive ul li {
		width: 10.5%;
	}
}
@media (min-width: 769px) and (max-width: 850px) {
	.widget-area ul li.widget_archive ul li {
		width: 12.28%;
	}
}
@media (min-width: 661px) and (max-width: 768px) {
	.widget-area ul li.widget_archive ul li {
		width: 14.66%;
	}
}
@media (min-width: 551px) and (max-width: 660px) {
	.widget-area ul li.widget_archive ul li {
		width: 18%;
	}
}
@media (min-width: 481px) and (max-width: 550px) {
	.widget-area ul li.widget_archive ul li {
		width: 23%;
	}
}
@media (max-width: 480px) {
	.widget-area ul li.widget_archive ul li {
		width: 31.33%;
	}
}


.widget-area ul.children {
	padding: 0 0.5rem 0 1.2rem;
}


.widget-area .tagcloud {
	padding: 0.5rem;
}


/*** Sidebar Icons ***/

.widget_calendar:before {
	content: "\f508";
	font-family: "Dashicons";
	font-size: 1.25rem;
	line-height: 1.25rem;
	color: #2F4C9C;
	padding-right: 0.3rem;
	vertical-align: middle;
	display: table-cell;
}


.widget_archive:before {
	content: "\f145";
	font-family: "Dashicons";
	font-size: 1.25rem;
	line-height: 1.25rem;
	color: #2F4C9C;
	padding-right: 0.3rem;
	vertical-align: middle;
	display: table-cell;
}


.widget_recent_entries:before {
	content: "\f464";
	font-family: "Dashicons";
	font-size: 1.25rem;
	line-height: 1.25rem;
	color: #2F4C9C;
	padding-right: 0.3rem;
	vertical-align: middle;
	display: table-cell;
}


.widget_tag_cloud:before {
	content: "\f323";
	font-family: "Dashicons";
	font-size: 1.25rem;
	line-height: 1.25rem;
	color: #2F4C9C;
	padding-right: 0.3rem;
	vertical-align: middle;
	display: table-cell;
}


.widget_categories:before {
	content: "\f318";
	font-family: "Dashicons";
	font-size: 1.25rem;
	line-height: 1.25rem;
	color: #2F4C9C;
	padding-right: 0.3rem;
	vertical-align: middle;
	display: table-cell;
}


.widget_text:before {
	content: "\f103";
	font-family: "Dashicons";
	font-size: 1.25rem;
	line-height: 1.25rem;
	color: #2F4C9C;
	padding-right: 0.3rem;
	vertical-align: middle;
	display: table-cell;
}


@media (max-width: 480px) {
	.widget_calendar:before, 
	.widget_archive:before, 
	.widget_recent_entries:before, 
	.widget_tag_cloud:before, 
	.widget_categories:before, 
	.widget_text:before {
		font-size: 1rem;
	}
}





/* Calendar
   ========================================================================== */


#calendar_wrap {
	padding: 0.5rem 0 0 0;
  margin-top: 0.5rem;
  border-top: 1px dotted #899CC1;
}


#wp-calendar {
	width: 100%;
}


table#wp-calendar {
	border-collapse: separate;
	border-spacing: 0.2rem;
}


#wp-calendar caption {
	color: #4D6EC7;
	font-size: 0.8rem;
	line-height: 1.0em;
	font-weight: bold;
	padding-bottom: 5px;
	text-align: center;
}


#wp-calendar thead {
	font-size: 0.6rem;
	color: #3B445C;
}


#wp-calendar thead th {
	text-align: center;
}


#wp-calendar tbody {
	color: #454545;
}


#wp-calendar tbody td {
	background: rgba(255,255,255,0.1);
	border: 1px solid #ddd;
	padding: 0.2rem;
	text-align: center;
}


#wp-calendar tbody .pad {
	background: none;
	border: none;
}


#wp-calendar tfoot td {
	padding: 0.2rem 0;
}


#wp-calendar tfoot #next {
	text-align: right;
}


#wp-calendar tbody td a, 
#wp-calendar tfoot td a {
	color: #2F4C9C;
	text-decoration: underline;
}

#wp-calendar tbody td a:hover, 
#wp-calendar tfoot td a:hover {
	color: #4D6EC7;
	text-decoration: none;
}





/* Article
   ========================================================================== */


article {
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
	padding: 2rem 0;
}

@media (min-width: 481px) {
	article {
		padding: 4rem 0;
	}
}


article:first-of-type {
	border-top: none;
	padding: 0 0 2rem 0;
}

@media (min-width: 481px) {
	article:first-of-type {
		padding: 0 0 4rem 0;
	}
}





/* Typography
   ========================================================================== */


h1, h2, h3, h4, h5 {
	font-weight: 400;
	margin: 0;
}


h1 {
	font-size: 1.4rem;
	line-height: 1.8rem;
	margin-bottom: 1.5rem;
}


h2 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}


h3 {
	font-size: 1.0rem;
	margin-bottom: 0.5rem;
}


h4 {
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}


h5 {
	font-size: 0.8rem;
	margin-bottom: 0.5rem;
}


p {
	margin: 0 auto;
	line-height: 1.5rem;
}


blockquote {
	margin: 0;
}


blockquote p {
	color: #bbb;
	font-style: italic;
	margin-bottom: 1.5rem;
}


cite {
	color: #bbb;
}





/* Buttons
   ========================================================================== */


.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #2F4C9C;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	display: block;
	font-size: 1rem;
	font-weight: 400;
	text-align: center;
	padding: 0.7rem 1.5rem;
	vertical-align: middle;
	white-space: nowrap;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

@media (min-width: 481px) {
	.button {
		display: inline-block;
		font-size: 0.9rem;
	}
}


.button:hover, 
.button:focus {
	background: #4D6EC7;
	text-decoration: none;
}





/* Pagination
   ========================================================================== */


.pagenationmm {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	width: 100%;
	padding: 0;
	margin: 0;
}

@media (min-width: 1025px) {
	.pagenationmm {
		display: block;
	}
}


.pagination {
	clear: both;
	padding: 2rem 0 0 0;
	margin: 0;
	position: relative;
	font-size: 0.7rem;
	line-height: 1.4rem;
	text-align: center;
}

@media (min-width: 481px) {
	.pagination {
		padding: 4rem 0 0 0;
		font-size: 0.9rem;
		line-height: 1.6rem;
	}
}


.pagination span, 
.pagination a {
	display: block;
	float: left;
	margin: 2px 2px 2px 0px;
	padding: 0;
	text-decoration: none;
	min-width: 1.4rem;
	color: #fff;
	background: #2F4C9C;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

@media (min-width: 481px) {
	.pagination span, 
	.pagination a {
		min-width: 1.6rem;
	}
}


.pagination a:hover {
	color: #fff;
	background: #4D6EC7;
}


.pagination .current {
	padding: 0;
	background: #FFCC12;
	color: #000;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
}


a.more-link {
	display: block;
	float: left;
	font-size: 0.9rem;
	line-height: 2rem; 
	color: #fff;
	background: #2F4C9C;
	margin: 0 auto;
	text-align: center;
	width: 7.0rem;
	padding: 0 0.5rem;
	text-decoration: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}


a.more-link:hover {
	color: #fff;
	background: #4D6EC7;
}


div.nav-below {
	width: 16rem;
	margin: 2rem auto;
	overflow: auto;
	text-align: center;
}

@media (min-width: 769px) {
	div.nav-below {
		margin: 4rem auto;
	}
}


.nav-previous a {
	display: block;
	width: 7.0rem;
	font-size: 0.9rem;
	line-height: 2rem; 
	color: #fff;
	background: #2F4C9C;
	margin: 1em auto;
	text-align: center;
	padding: 0 0.5rem;
	text-decoration: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	float: left;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}


.nav-next a {
	display: block;
	width: 7.0rem;
	font-size: 0.9rem;
	line-height: 2rem; 
	color: #fff;
	background: #2F4C9C;
	margin: 1em auto;
	text-align: center;
	padding: 0 0.5rem;
	text-decoration: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	float: right;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}


.nav-previous a:hover, 
.nav-next a:hover {
	color: #fff;
	background: #4D6EC7;
}





/* Comments
   ========================================================================== */


#comments {
	clear: both;
	border-top: 1px solid #e7e7e7;
	padding: 0.5rem 0 0 0;
}


#comments .navigation {
	padding: 0 0 18px 0;
}


h3#comments-title,
h3#reply-title {
	font-size: 1.0rem;
	font-weight: normal;
	margin-bottom: 0;
}


h3#comments-title {
	padding: 24px 0;
}


.commentlist {
	list-style: none;
	margin: 0;
}


.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 21px;
	margin: 0 0 24px 0;
	padding: 0 0 0 40px;
	position: relative;
}


.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}


#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}


#comments .comment-body p:last-child {
	margin-bottom: 6px;
}


#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}


.commentlist p {
	font-size: 0.7rem !important;
  line-height: 1.5em !important;
	margin-bottom: 0.5rem !important;
}


ol.commentlist {
	margin: 0;
	padding: 0;
}


.commentlist ol {
	list-style: decimal;
}


.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}


.comment-author {
}


.comment-author cite {
	font-style: normal;
	font-weight: bold;
}


.comment-author .says {
	font-size: 0.8rem;
}


.comment-meta {
	font-size: 12px;
	margin: 0 0 10px 0;
}


.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}


.comment-meta a:active,
.comment-meta a:hover {
	color: #000;
}


.commentlist .even {
}


.commentlist .bypostauthor {
}


.reply {
	font-size: 12px;
	padding: 0 0 1.5rem 0;
}


.commentlist .reply a {
	display: block;
	width: 3rem;
	padding: 0 0.5rem;
	background: #2F4C9C;
	font-size: 0.8rem;
	line-height: 1.6rem;
	color: #fff;
	text-align: center;
	text-decoration: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}


.commentlist .reply a:hover {
	color: #fff;
	background: #4D6EC7;
}


a.comment-edit-link {
	color: #888;
}


a.comment-edit-link:hover {
	color: #fff;
}


.commentlist .children {
	list-style: none;
	margin: 0;
	padding: 0;
}


.commentlist .children li {
	border: none;
	margin: 0;
}


.nopassword,
.nocomments {
	display: none;
}


#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}


.commentlist li.comment+li.pingback {
	margin-top: -6px;
}


#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}


#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}





/* Comments form
   ========================================================================== */


#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	padding: 0.5rem 0 0 0;
	overflow: hidden;
	position: relative;
}


#respond p {
	display: block;
	font-size: 0.7rem;
  line-height: 1.5em !important;
	margin: 0;
	clear: both;
}


#respond .comment-notes {
	margin-bottom: 1em;
}


.form-allowed-tags {
	line-height: 1em;
}


.children #respond {
	margin: 0 48px 0 0;
}


h3#reply-title {
	margin: 0 0 0.5rem 0;
}


#comments-list #respond {
	margin: 0 0 18px 0;
}


#comments-list ul #respond {
	margin: 0;
}


#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}


#respond input {
	margin: 0;
	width: 100%;
}

@media (min-width: 769px) {
	#respond input {
		width: 480px;
	}
}


#respond input[type="submit"] {
	cursor: pointer;
}


#respond textarea {
	width: 100%;
}


#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}


#respond .form-allowed-tags code {
	font-size: 11px;
}


#respond .form-submit {
	margin: 2rem 0 0 0;
}


#respond .form-submit input {
	font-size: 1rem;
	/*width: auto;*/
}


/* si capcha code */

#respond p.comment-form-comment, 
#respond p.comment-form-author, 
#respond p.comment-form-email, 
#respond p.comment-form-url {
  margin-top: 1.5rem;
}

#respond .required {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.9rem;
  font-weight: normal;
  color: #971618;
  margin: 0;
}

#respond p label {
  font-size: 0.7rem;
  margin: 0;
}

#respond input {
  display: block;
}

.si_captcha_small {
	margin-top: 1.5rem;
}

#respond p input#si_captcha_code {
  display: block;
	width: 100px;
}





/* Form Objects
   ========================================================================== */


input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="file"], textarea, select {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #999;
	border-right-color: #d0d0d0;
	border-bottom-color: #d0d0d0;
	border-left-color: #999;
	padding: 5px;
	color: #555;
	font-size: 0.8rem;
	line-height: 1.5em;
	background: #f8f8f8;
}


input[type="submit"], input[type="reset"], input[type="button"] {
	display: block;
	font-size: 1.0rem;
	line-height: 1.6rem;
	font-weight: 600;
	color: #fff;
	background: #2F4C9C;
	margin: 1em auto;
	padding: 0.7rem 1.5rem;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border:none;
	width: 100%;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

@media (min-width: 481px) {
	input[type="submit"], input[type="reset"], input[type="button"] {
		max-width: 18rem;
	}
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	background: #4D6EC7;
	text-decoration: none;
}





/* Search Unit
   ========================================================================== */


.search_unit {
	display: block; padding: 0;
}


.search_unit input[type="submit"] {
	margin: 0;
	padding: 0;
}


.search_unit p {
	margin: 50px 0px 5px 0px !important;
}


h2.search {
	font-size: 1.1rem !important;
	line-height: 1.8rem !important;
	margin: 0px !important;
}


h2.result {
	font-size: 1.1rem !important;
	line-height: 1.8rem !important;
	margin: 50px 0 5px 0 !important;
}

h2.result a {
	color: #3B445C;
	text-decoration: underline;
}

h2.result a:hover {
	color: #4D6EC7;
	text-decoration: none;
}


p.search {
	margin-bottom: 0 !important;
}


.search_word {
	color: #4D6EC7 !important;
}


#s {
	width: 200px;
	margin-bottom: 30px;
	padding: 5px 30px 5px 5px;
}


#searchsubmit {
	display: inline-block;
	margin-left: -33px;
	box-shadow: none;
	background-image: url(none);
	background-color: transparent;
	width: 25px;
	border: none;
	text-indent: -100px;
	cursor: pointer;
	position: relative;
}


#searchform {
	margin-top: -20px;
}


#searchform:before {
	content: "\f179";
	font-family: "Dashicons";
	font-size: 1.8rem;
	line-height: 1.0rem;
	color: #4D6EC7;
	top: 36px;
	left: 170px;
	position: relative;
}


.screen-reader-text {
	display: none;
}





/* ContactForm 7
   ========================================================================== */

 
.formbox-mini { max-width: 100px; }
.formbox-short { max-width: 150px; }
.formbox-middle { width: 100%; }
.formbox-long { width: 100%; }


@media (min-width: 481px) {
	.formbox-middle { max-width: 480px; }
}


.hissu {
	color: #971618;
	font-family: Verdana, Geneva, sans-serif;
	margin: 0 0.3rem;
}


.tdsubmit {
	text-align: center;
	padding: 0;
}

@media (min-width: 481px) {
	.tdsubmit {
		padding: 2rem 0 0 0;
	}
}

.formInner {
	padding: 0;
}


.formInner p {
	margin: 0 !important;
}


.formInner label {
	font-weight: 400; 
}


.sent .formInner {
	display: none;
}


.complete-display {
	display: none;
}


.sent .complete-display {
	width: 100%;
	height: auto;
	margin: 0px auto 0px auto;
	padding: 6rem 0;
	display: block;
	text-align: center;
}


.sent .complete-display h3 {
	margin: 0 0 1rem 0;
	padding: 0;
	font-size: 1.2rem;
	font-weight: bold;
}


span.wpcf7-not-valid-tip {
	top: 0px;
	left: 1rem;
}


span.wpcf7-checkbox .wpcf7-list-item {
	margin-right: 1rem;
}


div.wpcf7 img.ajax-loader {
  border: none;
  vertical-align: middle;
  margin: 1rem auto;
	width: auto;
	max-width: 100%;
	height: auto;
}





/* Custom Post - Gallery
   ========================================================================== */


#cp-gallery {
	width: 100%;
}
@media screen and (min-width: 769px) {
	#cp-gallery {
		width: 50%;
		float: right;
	}
}

.img-container {
	width: 100%;
}

.gallery-thumbnail {
	width: 100%;
}

.gallery-thumbnail ul {
	margin: 0;
	padding: 0;
}

.gallery-thumbnail ul li {
	display: block;
	float: left;
	width: 33.33%;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media screen and (min-width: 481px) {
	.gallery-thumbnail ul li {
		width: 20%;
	}
}

#cp-gallery img {
  border: 1px solid #fff;
	-webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

#cp-gallery img:hover {
	-webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  transition: all 0.1s linear;
}


#cp-contents {
	width: 100%;
	padding: 50px 0 0 0;
}
@media screen and (min-width: 769px) {
	#cp-contents {
		width: 50%;
		float: left;
		padding: 0 30px 0 0;
	}
}

#cp-contents h2.title {
	margin: 0 0 20px 0;
}





/* Instagram */

.insta-container #sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item {
  width: 100%;
}
@media (min-width: 481px) {
  .insta-container #sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item {
    width: 50%;
  }
}
@media (min-width: 769px) {
  .insta-container #sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item {
    width: 25%;
  }
}



