@charset "utf-8";

/*
Theme Name:MAG-child
Description:WordPressテーマ「MAG」の子テーマです。
Template:mag_tcd036
Version:4.1.2
*/

/** custom TOC+ */
#toc_container.paging_toc>ul>li {
	margin-left: 2ex;
}
#toc_container.paging_toc>ul>li.pageNo {
	margin-top: .5rem;
	margin-bottom: .5rem;
	margin-left: 0;
	border-bottom: 1px dashed #ccc;
	font-weight: bold;
	color: #f00;
}
#toc_container.paging_toc ul li.pageNo.currentpage .note  {
	font-size: 70%;
	font-weight: normal;
}

/** custom pager */
#post_pagination {
	width: 100%;
	padding-top: 1em;
}
#post_pagination .nextpage {
	display: table;
	clear: both;
	width: 100%;
	margin-top: 1ex;
	margin-bottom: 1ex;
}
#post_pagination .nextpage:after {
	visibility: hidden;
	display: block;
	content: " ";
	clear: both;
	height: 0;
}
#post_pagination .nextpage a {
	margin: 1ex 0;
	text-align: center;
	color: #000;
	background: #d3d5d7;
	width: 100%;
	float: none;
	display: table-cell;
	vertical-align: middle;
	line-height: 1.2;
}
#post_pagination .pagenumber {
	display: block;
	clear: both;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	width: max-content;
}
#post_pagination .pagenumber:after {
	visibility: hidden;
	display: block;
	content: " ";
	clear: both;
	height: 0;
}
#post_pagination .pagenumber p.current-post-page {
	border: 1px solid #007199;
}
#post_pagination .pagenumber a {
	color: #000;
	background: transparent;
	border: 1px solid #ccc;
}

/** contact form 7 */
.wpcf7 input.default,
.wpcf7 textarea.default {
	width: auto;
	height: auto;
}
.wpcf7 input.default,
.wpcf7 textarea.default {
	width: auto;
	height: auto;
}
.wpcf7 input#age {
	width: 10ex;
}

/** SP footer search form */
.dp-footer-bar .dp-footer-bar-icon-fa {
  display: block;
  padding: 10px 0;
}
.dp-footer-bar-icon-fa:before {
	display: block;
	font-size: 16px;
	margin-bottom: .5em;
}
.dp-footer-bar-icon-fa span {
	font-weight: normal;
}
.ui-widget-overlay.ui-front {
	opacity: .3;
}
.ui-dialog-titlebar {
	display: none;
}
.ui-dialog .ui-dialog-content.jqueryui_dialog {
	padding-top: 1em;
}
.ui-dialog .searchform .screen-reader-text {
	display: none;
}
.jquery-ui-dialog-searchform input[type="text"] {
	width: calc(80% - 8px);
	height: 40px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
}
.jquery-ui-dialog-searchform input[type="submit"] {
	width: 20%;
	height: 40px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
}
.break {
	word-break: break-all;
}