/* リセット */
.ecta_post_content *, 
.ecta_item-template-default .section-text * {
	margin: 0;
	padding: 0;
}

/* CTAボックスの大枠体裁 */
.ecta_post_content,
.ecta_item-template-default .section-text {
	border-top: 3px solid #cccccc;
	padding: 25px 20px 30px!important;
	border-bottom: 2px solid #e8e8e8;
	margin-bottom: 30px;
	border-left: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	background-color: #ffffff;
	/* プレビュー画面で上詰まりが発生しないよう制御 */
	margin-top: 40px;
}
/* CTAボックス内にある最後のPはmarginを持たせない */
.ecta_post_content p:last-child,
.ecta_item-template-default .section-text p:last-child {
	margin-bottom: 0px!important;
}

/* ボタンデザイン（共通） */
.ecta_button_01,
.ecta_button_02,
.ecta_button_03 {
	margin-bottom: 10px;
}

.ecta_button_01 a:active,
.ecta_button_02 a:active,
.ecta_button_03 a:active {
	top: 3px;
	box-shadow: none;
}

.ecta_button_01 a,
.ecta_button_02 a,
.ecta_button_03 a,
.ecta_post_content input[type="submit"],
.ecta_item-template-default .section-text input[type="submit"] {
	position: relative;
	border-radius: 4px;
	color: #ffffff!important;
	line-height: 52px;
	-webkit-transition: none;
	transition: none;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	text-align: center;
	display: block;
	width: 80%!important;
	margin: 0px auto 10px!important;
	text-decoration: none!important;
	padding: 13px!important;
	line-height: 24px;
	border: none!important;
}
.ecta_button_01 a:hover,
.ecta_button_02 a:hover,
.ecta_button_03 a:hover {
	top: -2px;
	color: #ffffff;
}

/* ボタンデザイン（パターン１） */
.ecta_button_01 a {
	background-color: #1abc9c;
	box-shadow: 0 3px 0 #0e8c73;
}
.ecta_button_01 a:hover {
	box-shadow: 0 5px 0 #0e8c73;
}

/* ボタンデザイン（パターン２） */
.ecta_button_02 a {
	background-color: #23C0E3;
	box-shadow: 0 3px 0 #1793af;
}
.ecta_button_02 a:hover {
	box-shadow: 0 5px 0 #1793af;
}

/* ボタンデザイン（パターン３） */
.ecta_button_03 a {
	background-color: #f39801;
	box-shadow: 0 3px 0 #bd7a09;
}
.ecta_button_03 a:hover {
	box-shadow: 0 5px 0 #bd7a09;
}

/* CTAボックス内にある見出し下のマージンを統一 */
.ecta_post_content h1,
.ecta_post_content h2,
.ecta_post_content h3,
.ecta_post_content h4,
.ecta_post_content h5,
.ecta_post_content h6,
.ecta_post_content p,
.ecta_post_content ul,
.ecta_item-template-default .section-text h1,
.ecta_item-template-default .section-text h2,
.ecta_item-template-default .section-text h3,
.ecta_item-template-default .section-text h4,
.ecta_item-template-default .section-text h5,
.ecta_item-template-default .section-text h6,
.ecta_item-template-default .section-text p,
.ecta_item-template-default .section-text ul {
	margin-bottom: 25px!important;
	margin-top: 0px!important;
	line-height: 1.4em;
	border: none;
	background: none;
}

.ecta_post_content li,
.ecta_item-template-default .section-text li {
	margin-bottom: 5px!important;
}

.ecta_post_content h1:before,
.ecta_post_content h1:after,
.ecta_post_content h2:before,
.ecta_post_content h2:after,
.ecta_post_content h3:before,
.ecta_post_content h3:after,
.ecta_post_content h4:before,
.ecta_post_content h4:after,
.ecta_post_content h5:before,
.ecta_post_content h5:after,
.ecta_post_content h6:before,
.ecta_post_content h6:after,
.ecta_item-template-default .section-text h1:before,
.ecta_item-template-default .section-text h1:after,
.ecta_item-template-default .section-text h2:before,
.ecta_item-template-default .section-text h2:after,
.ecta_item-template-default .section-text h3:before,
.ecta_item-template-default .section-text h3:after,
.ecta_item-template-default .section-text h4:before,
.ecta_item-template-default .section-text h4:after,
.ecta_item-template-default .section-text h5:before,
.ecta_item-template-default .section-text h5:after,
.ecta_item-template-default .section-text h6:before,
.ecta_item-template-default .section-text h6:after {
	content: "";
	padding: 0 ;
	margin: 0 ; 
	background: none ;
}

.ecta_post_content ul,
.ecta_item-template-default .section-text ul {
	width: 70%!important;
	margin:0px auto 25px!important; 
}

/* CTAボックス内にある見出しの体裁用 */
.ecta_post_content h1,
.ecta_item-template-default .section-text h1 {
	font-size: 32px;
	padding: 0.5em 0;
	border-top: solid 3px #333333;
	border-bottom: solid 3px #333333;
}

.ecta_post_content h2,
.ecta_item-template-default .section-text h2 {
	font-size: 28px;
	padding: 0.3em 0.4em;
	background: #f4f4f4;
	border-left: solid 5px #7db4e6;
	border-bottom: solid 3px #d7d7d7;
}

.ecta_post_content h3,
.ecta_item-template-default .section-text h3 {
	font-size: 26px;
	border-bottom: dashed 2px #cccccc;
	padding-bottom: 10px!important;
}

.ecta_post_content h4,
.ecta_item-template-default .section-text h4 {
	font-size: 24px;
	border-bottom: solid 2px #cccccc;
	padding-bottom: 5px!important;
}

.ecta_post_content h5,
.ecta_item-template-default .section-text h5 {
	font-size: 22px;
	display: inline-block;
    margin-bottom: 20px!important;	
    box-shadow: 0 -9px 0 0 #baece0 inset;
}

.ecta_post_content h6,
.ecta_item-template-default .section-text h6 {
	font-size: 20px!important;
}

.ecta_post_content  #mmnm_submit,
.ecta_item-template-default .section-text #mmnm_submit,
.ecta_item-template-default .section-text .wpcf7-submit {
	padding: 10px 20px!important;
}

.ecta_post_content hr,
.ecta_item-template-default .section-text hr {
	display: none;
}

.ecta_post_content .pub_form,
.ecta_item-template-default .section-text .pub_form {
	margin-bottom:15px;
}

.ecta_post_content form,
.ecta_item-template-default .section-text form {
	margin-bottom:0px;
}
