/*
Theme Name: Emanon Pro Child
Template:emanon-pro
*/

/*------------------------------------------------------------------------------------
/* Emanon Ver1.7 引継ぎ設定 2021/09
/*----------------------------------------------------------------------------------*/
.article-body {
	padding: 0px;
    margin: 0 16px 16px 16px;
}
@media screen and (min-width: 992px){
.article-body {
	padding: 0px;
    margin: 0 32px 32px 32px;
}}
@media screen and (min-width: 1200px) {
.article-body {
	padding: 0px;
    margin: 4rem;
}}
.article-body h2 {
	font-size: 2.0rem;
}

@media screen and (min-width: 768px){
.article-body h2 {
    /* font-size: 24px; */
    font-size: 2.4rem;
}}

.article-body h3:not([class*="wp-block-"]){
    margin: 48px 0 25px 0;
}

/*------------------------------------------------------------------------------------
/* MHカスタム
/*----------------------------------------------------------------------------------*/

#mv{
	width:100%;
	height:500px;
/*	background-image: url("https://serotonin-kyoukai.com/wp/wp-content/uploads/2018/11/top.png");*/
	background-image: url("https://serotonin-kyoukai.com/wp-content/uploads/2018/11/top.png");
    background-size: cover;
    background-position: center;
    position: relative;  /* 2021/02/15 Add Sato */
}
#mv .inner .form{
    float: right;
    padding: 2rem;
    background: #ffffffc2;
    margin-top: 3rem;
    border: 4px solid #feab0f;
}
#kaiinsu {    /* 2021/02/15 Add Sato */
    position: absolute;
    right: 10px;
    bottom: 15px;
}
.placeholder{
	color:black;
}
.formtag{
	font-size: 20px;
    margin-bottom: 1rem;
    padding: 2rem;
}
.atten{
font-size: 12px;
margin-top: 1rem;
}


.home .content, .blog .content{
/*	background-image: url("https://serotonin-kyoukai.com/wp/wp-content/uploads/2018/05/006-subtle-light-patterns.jpg");*/
	background-image: url("https://serotonin-kyoukai.com/wp-content/uploads/2018/05/006-subtle-light-patterns.jpg");
}

.front-top-widget-box ul{ 
	padding: 20px 20px 10px 20px;
    background-color: white;
    border: 1px solid #feab0f;
}
.entry-header h3 {
      text-align: left;
    font-size: 26px;
    border-left: 3px solid #feab0f;
    padding-left: 2rem;
    line-height: 4rem;
    margin-top: 40px;
}
.box{
	 padding: 3rem;
    background-color: #fffbf3;
    margin-top: 3rem;
	margin-bottom: 3rem;
 }
.box2{
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #b4b4b4;
	margin-bottom: 1rem;
 }
.inner .box h4{
	padding: 1rem;
    background-color: #ffe0a6;
    margin-bottom: 2rem;
}

.inner .box h5{
	font-weight:bold;
}
.entry-header .inner{
	padding: 4rem;
    text-align: left;
    background-color: white;
    margin-bottom: 4rem;
    margin-top: 3rem;
    border: 1px solid #e3e5e8;
}
.front-top-widget-box ul li{
	text-align: left;
	margin-bottom: 15px;
}

.front-top-widget-box ul li .post-date{
    padding: 3px 10px 3px 10px;
    border: none;
    color: #ffffff;
    font-size: 80%;
    margin-right: 10px;
    margin-bottom: 0px;
    float: left;
    background-color: #feab0f;
}
.front-top-widget-box ul li a{
text-decoration: underline;
}
.content-page .article-header, .error404 .article-header{
	display:none;
}

@media screen and (min-width: 1200px){
.article-body {
    margin: 4rem;
}
}

@media screen and (min-width: 768px){
.content {
	padding: 60px 0;
}
}

@media screen and (max-width:600px){
	.front-top-widget-box ul li {
    text-align: left;
    font-size: 14px;
	}
.entry-header .inner{
		padding: 2rem;
	}	
.box{
    padding: 1rem;		
	}
.qa{
    padding: 1rem !important;		
	}
}

@media screen and ( min-width: 768px ) {
/*------------------------------------------------------------------------------------
/* 1.0 - Grid system
/*----------------------------------------------------------------------------------*/
#mv .inner{
	width: 752px;
	margin:0 auto;		
}
#mv .inner .form{
	width: 50%;
}	
}
@media screen and ( max-width: 768px ) {
/*------------------------------------------------------------------------------------
/* 1.0 - Grid system
/*----------------------------------------------------------------------------------*/
#mv .inner{
	width: 752px;
	margin:0 auto;		
}
#mv .inner .form{
	display:none;
}	
}

@media screen and ( min-width: 992px ) {
/*------------------------------------------------------------------------------------
/* 1.0 - Grid System
/*----------------------------------------------------------------------------------*/
#mv .inner{
	width: 960px;
	margin:0 auto;		
}
#mv .inner .form{
	width: 40%;
}		
}
	
@media screen and ( min-width: 1200px ) {
/*------------------------------------------------------------------------------------
/* 1.0 - Grid System
/*----------------------------------------------------------------------------------*/
#mv .inner{
	width: 1120px;
	margin:0 auto;	
}
#mv .inner .form{
	width: 40%;
}		
}
	


/*------------------------------------------------------------------------------------
/* 50.0 - asumeru Form (20191210 add sato)
/*----------------------------------------------------------------------------------
/* =asumeru
----------------------------------------------- */

#asumeruform{
    width: 100%;
}

#asumeruform table {
	border-collapse: collapse;
	margin: 0 0 10px;
	width: 100%;
	table-layout: fixed;
	border-color: #ccc;
}

#asumeruform table th {
	width: 150px;
	padding: 5px 10px;
	border: 1px solid #ccc;
	background: #ffffcc;
	text-align: left;
	vertical-align: middle;
	font-size: 12px;
	color: #000;
}

#asumeruform table tr{
    border-color: #ccc;
}

#asumeruform table td {
	padding: 10px;
	border: 1px solid #ccc;
	color: #000;
	font-size:12px;
}

#asumeruform input{
	font-size: 12px;
}

#asumeruform .inputSelect {
	padding: 3px;
	font-size: 12px;
	color: #000;
}

#asumeruform .inputText.inputTextShortest {
	width: 30%;
}

#asumeruform .inputText.inputTextShort {
	width: 55%;
}

#asumeruform .inputText.inputTextLong {
	width: 98%;
}

#asumeruform textarea {
	font-size: 12px;
	width: 98%;
	height: 150px;
	padding: 3px;
}

#asumeruform .formBtn {
	font-size: 16px;
	width: 40%;
	height:35px;
	padding: 4px;
	padding-left: 8px;
	padding-right: 8px;
	-webkit-border-radius: 6px;
	-webkit-box-shadow: 0 2px 2px #ccc;
	border-radius: 6px;
	box-shadow: 0 2px 2px #ccc;
}

#asumeruform .center-text {
	text-align: center;
}

#asumeruform span.require {
	color: red;
	font-weight: bold;
}

/*--------------------
 吹き出しを作る(2020/06/09 add Sato)
 From https://fantastech.net/kaiwa-text-template
--------------------*/
.balloon {
margin-bottom: 2em;
position: relative;
}
.balloon:before,.balloon:after {
clear: both;
content: "";
display: block;
}
.balloon figure {
width: 60px;
height: 60px;
}
.balloon-image-left {
float: left;
margin-right: 20px;
}
.balloon-image-right {
float: right;
margin-left: 20px;
}
.balloon figure img {
width: 100%;
height: 100%;
border: 1px solid #aaa;
border-radius: 50%;
margin: 0;
}
.balloon-image-description {
padding: 5px 0 0;
font-size: 10px;
text-align: center;
}
.balloon-text-right,.balloon-text-left {
position: relative;
padding: 10px;
border: 1px solid;
border-radius: 10px;
max-width: -webkit-calc(100% - 120px);
max-width: calc(100% - 120px);
display: inline-block;
}
.balloon-text-right {
border-color: #aaa;
}
.balloon-text-left {
border-color: #aaa;
}
.balloon-text-right {
float: left;
}
.balloon-text-left {
float: right;
}
.balloon p {
margin: 0 0 20px;
}
.balloon p:last-child {
margin-bottom: 0;
}
/* 三角部分 */
.balloon-text-right:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #aaa;
top: 15px;
left: -20px;
}
.balloon-text-right:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #fff;
top: 15px;
left: -19px;
}
.balloon-text-left:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-left: 10px solid #aaa;
top: 15px;
right: -20px;
}
.balloon-text-left:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-left: 10px solid #fff;
top: 15px;
right: -19px;
}
/* 考え毎 */
.think .balloon-text-right,.think .balloon-text-left {
border-radius: 30px;
}
.think .balloon-text-right:before {
border: 1px solid #aaa;
border-radius: 50%;
width: 8px;
height: 8px;
top: 15px;
left: -12px;
}
.think .balloon-text-right:after {
border: 1px solid #aaa;
border-radius: 50%;
width: 4px;
height: 4px;
top: 20px;
left: -19px;
}
.think .balloon-text-left:before {
border: 1px solid #aaa;
border-radius: 50%;
width: 8px;
height: 8px;
top: 15px;
right: -12px;
}
.think .balloon-text-left:after {
border: 1px solid #aaa;
border-radius: 50%;
width: 4px;
height: 4px;
top: 20px;
right: -19px;
}
/* QA用アコーディオン（2020/06/15 Add Sato） */
.ac-container{
width: auto;
margin: 10px auto;
}
.ac-container label{
    width: 100%;
    text-align: left;
    background: #ff9b9b;
    margin: auto;
    padding: 10px 5px;
    position: relative;
    display: block;
    height: 40px;
    cursor: pointer;
    color: #fff;
	height: auto;
}
.ac-container label:hover{
    background: rgba( 255, 155, 155, 0.55 );
    -webkit-transition: all .3s;
    transition: all .3s;
}
.ac-container label:after{
 color: #fff;
    font-family:"FontAwesome";
    content:"\f067";
}
.ac-container input:checked ~ label::after {
 color: #fff;
   font-family:"FontAwesome";
   content:"\f068";
}
.ac-container input{
   display: none;
}
.ac-container div{
   background: rgba(255, 255, 255, 0.5);
   margin-top: -1px;
   overflow: hidden;
   height: 0px;
   position: relative;
   z-index: 10;
   transition: 
   height 0.3s ease-in-out, 
   box-shadow 0.6s linear;
}
.ac-container input:checked ~ div{
   transition: 
   height 0.5s ease-in-out, 
   box-shadow 0.1s linear;
   box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
   padding: 10px 5px;
}
.ac-container div p{
   color: #777;
   line-height: 23px;
   font-size: 14px;
}
/* 高さの定義 */
.ac-container input:checked ~ div.ac-small{
   height: auto;
}
.ac-container input:checked ~ div.ac-medium{
   height: 200px;
}
.ac-container input:checked ~ div.ac-large{
   height: 300px;
}
