@charset "UTF-8";
/* CSS Document */

/*--------------------------------------
スタッフ紹介
--------------------------------------*/
.staff-maincontents-title{
    background: url(/themes/www.ceremo117.jp_2017/staff/img/img_staff_back_pc.jpg) no-repeat;
    background-size: cover;
}
.staff-maincontents{
	background-color: #f3f8fc;
	position: relative;
    top: -1em;
    padding-bottom: 40px;
}
.title-staff{
	text-align: center;
    line-height: 1em;
    font-size: 2.1rem;
    margin-bottom: 1.4em;
    color: #000;
}
.sub-title-staff{
	font-size: 1.7rem;
    text-align: center;
    line-height: 1em;
    color: #000;
    padding-bottom: 53px;
}
.staff-maincontents ul{
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
}
.staff-maincontents li{
	padding: 1% 1% 35px 1%;
}
.staff-maincontents li img{
	width: 100%;
    height: auto;
    display: inline-block;
}
.staff-maincontents li div{
	padding: 24px 20px;
	position: relative;
	background: #fff;
}
.staff-maincontents li div:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 25px solid #008285;
  border-left: 25px solid transparent;
}
.staff-maincontents li div > span{
	background: #f9efd2;
    font-size: 1.4em;
    padding: 10px 14px;
    display: inline-block;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.staff-maincontents li div h5{
	margin: 22px 0;
    font-size: 1.7em;
	font-weight: normal;
}
.staff-maincontents li div h5 a{
	font-weight: bold;
    padding-left: 1em;
	color: #000;
}
.staff-maincontents .staffintro-p{
	color: #7b5d35;
    font-size: 1.4em;
    font-family: normal;
    line-height: 1.9em;
}

@media screen and (max-width:769px){
	.main-title-wrap .title-img{
		background-position: 62%;
	}
	.staff-maincontents-title{
    	background: url(/themes/www.ceremo117.jp_2017/staff/img/img_staff_back_sm.jpg) no-repeat;
		background-size: cover;
	}
	.border-title{
		margin-bottom: 0;
	}
	p.title-staff{
		font-size: 16px;
		margin-bottom: 17px;
	}
	p.sub-title-staff{
		font-size: 14px;
		padding-bottom: 22px;
	}
	.staff-maincontents{
		padding-bottom: 0;
	}
	.staff-maincontents ul{
		padding: 0 10px;
	}
	.staff-maincontents li{
		padding: 1.3em 0;
	}
	.staff-maincontents li div{
		padding: 18px 12px;
	}
	.staff-maincontents li div > span{
		padding: 5px 9px;
    	font-size: 1.1em;
	}
	.staff-maincontents li div h5{
		margin: 15px 0 10px;
		font-size: 1.4em;
	}
	.staff-maincontents .staffintro-p{
		font-size: 1.1em;
		margin: 0;
	}
}





/*--------------------------------------
葬祭ディレクター
--------------------------------------*/
.director-area{
     display: table;
}

 .director-img{
	background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

 .director-text-area{
    background: linear-gradient(#F1EDEA,#fff);
    padding: 65px 80px;
}

 .director-text-area, .director-img{
     display: table-cell;
     width: 50%;
     vertical-align: middle;
}


 .director-text-area .title-director {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.director-text-area .sub-title-director {
    font-size: 2.1rem;
    margin-bottom: 30px;
}

.director-text-area .director-text{
    font-family: "ryo-gothic-plusn",sans-serif;
    font-size: 1.4rem;
    line-height: 40px;
}



@media screen and (max-width:767px){
    .director-area .director-text-area{
    padding: 30px 10px;
}
    
   .director-text-area .title-director {
	font-size: 1.3rem;
    margin-bottom: 30px;
    text-align: center;
} 
    .director-text-area .sub-title-director{
    font-size: 1.2rem;
    text-align: center;
}
    .director-area .director-text-area .director-text{
    font-size: 1.0rem;
    line-height: 20px;
}
}

@media screen and (max-width:1000px){
    .director-area{
     display: block;
}
     .director-text-area{
    background: none;
}

     .director-text-area, .director-img{
     display: block;
     width: 100%;
}
}




/*--------------------------------------
スタッフ紹介詳細
--------------------------------------*/
.staff-maincontents-title{
    background: url(/themes/www.ceremo117.jp_2017/staff/img/img_staff_back_pc.jpg) no-repeat;
    background-size: cover;
}
.title-staff{
	text-align: center;
    line-height: 1em;
    font-size: 2.1rem;
    margin-bottom: 1.4em;
    color: #000;
}
.sub-title-staff{
	font-size: 1.7rem;
    text-align: center;
    line-height: 1em;
    color: #000;
    padding-bottom: 53px;
}
.staffdetail-maincontents{
	background-color: #f3f8fc;
	position: relative;
    top: -1em;
    padding-bottom: 76px;
}
.staffdetail-maincontents .container{
	background: #fff;
}
.staffdetail-maincontents .row:first-child div:first-child img{
	width: 100%;
	height: auto;
}
.staffdetail-maincontents .row{
	border-bottom: 1px dashed #b2b2b2;
    margin: 0 2.5% 20px;
    padding: 0;
}
.staffdetail-maincontents .row:first-child div:nth-child(2) > span{
	background: #f9efd2;
    padding: 6px 16px;
    display: inline-block;
    font-family: inherit;
    font-size: 2em;
}
.staffdetail-maincontents .row:first-child div h5{
	margin: 40px 0;
    font-size: 33px;
    letter-spacing: 0.1em;
}
.staffdetail-maincontents .row:first-child div h5 span{
	padding-left: 1em;
	font-weight: bold;
}
.staffdetail-maincontents .row p{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    margin: 0;
	line-height: 36px;
    padding-bottom: 40px;
    font-size: 18px;
    font-size: 1.3rem;
}
.staffdetail-maincontents .row:first-child div:nth-child(2) p{
	color: #7b5d35;
    font-family: inherit;
    letter-spacing: 0.15em;
    font-size: 1.8em;
    line-height: 1.9em;
	padding: 0;
}
.staffdetail-maincontents .row:last-child{
	border:none;
}
.staffdetail-maincontents .row:last-child p{
	padding: 0;
}
.staffdetail-maincontents .row:last-child span{
	font-weight: bold;
    display: block;
}
.img-box img{
	width: 100%;
    height: auto;
}
.return-box a{
	font-size: 1.2rem;
    font-family: sans-serif;
    display: block;
    position: relative;
    color: #000;
    width: 500px;
    text-align: center;
    border: 1px solid #a5a5a58a;
    padding: 12px 0;
    margin: 0 auto;
    letter-spacing: 0.2em;
}
.return-box a:before{
	/*content: "　";
    width: 10px;
    height: 10px;
    border-left: solid 2px;
    border-bottom: solid 2px;
    border-color: #008285;
    display: inline-block;
    transform: rotate(45deg);
    position: absolute;
    top: 20px;
    left: 65px;*/
	font-family: "Font Awesome 5 free";
	content:'\f104';
    color: #008285;
    display: inline-block;
    padding: 0 10px;
	font-weight: 600;
}

@media screen and (min-width:769px){
	.staffdetail-maincontents .row:first-child div:first-child{
		width: 54%;
    	padding: 2.5% 3% 35px 0;
	}
	.staffdetail-maincontents .row:first-child div:nth-child(2){
		width: 46%;
		padding: 15% 2.8%;
	}
	.staffdetail-maincontents .row:first-child div:nth-child(2) p{
		border: none;
	}
	.p-box{
		width: 64%;
    	padding: 20px 0;
	}
	.img-box{
		width: 36%;
		padding: 30px 0 30px 30px;
	}
	.img-box:nth-child(odd){
		padding: 30px 30px 30px 0;
	}
}

@media screen and (max-width:768px){
	.staff-maincontents-title{
    	background: url(/themes/www.ceremo117.jp_2017/staff/img/img_staff_back_sm.jpg) no-repeat;
		background-size: cover;
	}
	.staffdetail-maincontents{
		padding:6vw 0;
	}
	.staffdetail-maincontents .container{
		padding: 2.8vw 2.8vw 0;
	}
	.staffdetail-maincontents .row{
		margin: 6vw 0;
	}
	.staffdetail-maincontents .row:first-child div:first-child img{
		margin-bottom: 4.5vw;
	}
	.staffdetail-maincontents .row:first-child div:nth-child(2){
		border-bottom: 1px dashed #b2b2b2;
		padding-bottom: 3.5vw;
	}
	.staffdetail-maincontents .row:first-child div:nth-child(2) > span{
		font-size: 15px;
		padding: 5px 8px;
	}
	.staffdetail-maincontents .row:first-child div h5{
		font-size: 19px;
    	margin: 1em 0 0.8em;
	}
	.staffdetail-maincontents .row:first-child div:nth-child(2) p{
		font-size: 15px;
	}
	.staffdetail-maincontents .row:nth-child(even){
		display: flex;
    	flex-wrap: wrap;
    	flex-direction: column-reverse;
	}
	.staffdetail-maincontents .row p{
		padding: 3vw 0;
    	font-size: inherit;
    	line-height: 2em;
	}
	.return-box{
		margin: 4vw 10px 9vw;
	}
	.return-box a{
		width: 100%;
    	font-size: inherit;
    	border-width: 2px;
	}
	/*.return-box a:before{
		position: relative;
    	top: 5px;
    	left: -4%;
	}*/
}