@charset "utf-8";
/*-------------------------------------------------------------------

	Case common

-------------------------------------------------------------------*/
/*---- pc・sp出しわけ ---------------------------------------------------*/

@media (min-width: 768px){
.pc_none{
	display: none;
}
.sp_none{
	display: block;
}
}
@media (max-width: 767px){
.sp_none{
	display: none;
}
.pc_none{
	display: block;
}

}

/*---- case top ---------------------------------------------------*/
.category-list {
  padding: 34px 35px 14px;
  margin: 36px 0 60px;
  background: #fbe7db;
  text-align: center;
  border-radius: 10px;
}
.category-list p {
  margin-bottom: 22px;
  font-size: 1.6em;
  font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
  font-weight: 500;
  color: #8b5821;
  line-height: 1.2;
}
.category-list ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.category-list li{
  margin-right: 20px;
  margin-bottom: 20px;
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.06));  
}
.category-list li a{
  padding: 15px 20px;
  font-size: 1em;
  border-radius: 6px;    
  display: block;
  background: #fff;
  color: #333;
  text-decoration: none;
  line-height: 1.2;
}
.c-sub-tit {
  margin-bottom: 60px;
  text-align: center;
}
.category-list li a:hover{
  background: #ebc2aa;
  color: #fff;
}
.c-sub-txt1 {
  margin-bottom: 20px;  
  position: relative;
  display: inline-block;
  font-size: 1.4em;
  font-style: italic;
  font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif"; 
  color: #8b5821;  
}
.c-sub-txt1::after {
  content: '';
  position: absolute;
  top: 56px;
  left: 33%;
  display: inline-block;
  width: 50px;
  height: 2px;
  background:#8b5821;
}
.c-sub-txt2 {
  font-size: 2.2em;
  font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
  font-weight: 500;
  color: #8b5821;  
}
.case-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.case-item {
  margin-bottom: 60px;
  padding: 40px 40px 32px;
  width: 40%;
  background: #fff;
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.1));
  position: relative;
  vertical-align: middle;
}
.case-ribbon {
  margin-bottom: 0;	
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.8em;
  font-weight: bold; 
  color: #fff;
  background: #d99e8a;
  position: relative;
  position: absolute;
  top: -20px;
  left: -10px;
}
.case-ribbon::before {
  content: '';
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 10px rgb(185, 123, 101);
  position: absolute;
  bottom: -14px; 
  left: 0;  
}
.c-item-tit {
  margin-bottom: 20px;
  padding-bottom: 20px;  
  min-height: 75px;
  font-weight: bold; 
  font-size: 1.1em;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
  display: flex;
  align-items: center;
}
.c-item-stxt {
  margin-bottom: 10px;
  font-size: 0.8em;
  line-height: 1.6;
}
.c-item-txt {
  min-height: 60px;
  font-size: 1em;  
  margin-bottom: 16px;
  line-height: 1.6;
}
.c-item-img {
  margin-bottom: 20px;
}
.c-item-imgbox {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
		background: #ece9d8;
}
.c-item-imgc:nth-child(2){
margin-left: 0.5em;	
	
}
.c-item-imgc:nth-child(3){
margin-left: 0.5em;	
	
}
.c-item-imgc {
  padding: 0px;
  margin-bottom: 0;	
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-item-imgc img {
  width: 100%;
  height: auto;
}
.item-txtarea {
  margin-bottom: 10px;
  min-height: 120px;
}
.case-item .u-button-detail{
	margin-bottom: 0;
}


/*---- case detail ------------------------------------------------*/
.case-detail .detail-tit {
  margin-bottom: 30px;
  font-size: 1.8em;
  font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
  font-weight: 500;
  color: #8b5821;
  text-align: center;
  line-height: 1.4;
}
.case-detail .d-sbox {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.case-detail .d-sbtxt {
  margin-right: 30px;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.2;
}
.case-detail .d-c-txt {
  padding: 10px 15px;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.2;
  background: #d99e8a;
  color: #fff;
  border-radius: 6px;
}
.case-detail .d-item-tit {
  margin-bottom: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}
.case-detail .d-item {
  margin-bottom: 60px;
  padding: 50px;
  background: #fff;
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.1));
}
.case-detail .d-img {
  margin-bottom: 20px;  
  background: #ece9d8;
  text-align: center;
}
.case-detail .d-img img {
}
.case-detail .d-txtarea {
  margin-bottom: 0;
  font-size: 1.1em;
}
.case-detail .d-item-imgbox {
  margin-bottom: 20px;
  padding: 0px;
  text-align: center;
  display: flex;
  justify-content: center; 
  align-items: center;
}
.case-detail .d-box-img {
margin: 0px 5px;
width: 230px;	
}
.case-detail .d-box-img img {
  width: 100%;
  height: auto
}

/*relation*/
.relation-inner{
  max-width: 1000px;
  margin: 0 auto;
}
.section-relation .u-button-detail{
	margin-bottom: 30px;
	width: 48%;
}
.section-relation .u-button-detail a{
  width: 100%;
  box-sizing: border-box;
}
.relation-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.relation-wrap{
	width: 48%;
}

.relation-item {
  margin-bottom: 60px;
  background: #fff;
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.1));
  position: relative;
  vertical-align: middle;
}
.relation-item-tit {
  margin-bottom: 20px;
  padding-bottom: 20px;  
  min-height: 75px;
  font-weight: bold; 
  font-size: 1.2em;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
  display: flex;
  align-items: center;
}
.relation-txt-wrap{
  padding: 25px 40px;
	margin: 0 auto;
}
.relation-stxt {
  font-size: 0.8em;
  line-height: 1.6;
  margin-bottom: 0;	
}
.relation-cat{
	font-weight: bold;
	margin-bottom: 15px;
}
.age{
	margin-bottom: 20px;
}
.relation-item-img {
	margin: 0 auto;
	background-color: #ece9d8;
	text-align: center;
}
.relation-item-img img{
	width: 90%;
	margin: 0 auto;
}
.d-item-imgbox {
	margin: 0 auto;
	padding: 0px 2em;
	background-color: #ece9d8;
	display: flex;
	justify-content: center;
}
.d-item-imgbox .c-item-imgc {
	margin: 0;
	padding: 0px 5px;
	width: 150px;
}

.relation-imgbox {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.item-txtarea {
  margin-bottom: 10px;
  min-height: 120px;
}
.section-relation .linl-box {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

/*-------------pager-------------*/
.wp-pagenavi { margin: 50px auto 0;text-align:center;}
.wp-pagenavi .pages {font-weight: bold; font-size: 18px; width: 100%; margin: 0px auto; padding-bottom: 20px; border: none; display: block;}
.wp-pagenavi .current { width: 42px; height: 42px; line-height: 42px; font-weight: bold; background: #d75378; border: 2px solid #d75378; font-size: 20px; display: inline-block; text-align: center; margin: 0px 5px; color: #FFF;}
.wp-pagenavi a { margin: 0 5px; width: 42px; height: 42px; line-height: 42px; font-weight: bold; border: 2px solid #d75378; text-decoration: none; display:inline-block; color: #333; font-size: 20px; text-align: center;}
a.nextpostslink,a.previouspostslink { background: #ccc; border: 2px solid #ccc;}

/*----------------------------------
 SP                              
----------------------------------*/
@media (max-width: 767px){
/*---- case top ------------------*/  
.category-list {
  margin: 30px 0;  
  padding: 34px 24px 14px;
}
.category-list li{
  margin-right: 10px; 
  margin-bottom: 10px;
}
.category-list li a{
  padding: 15px 15px;
  line-height: 0.8;  
}
.category-list li a:hover{
  background: #fff;
  color: #333;
}  
.c-sub-tit {
  margin-bottom: 30px;
}
.c-sub-txt1::after {
  top: 44px;
  left: 33%;
  width: 50px;
  height: 2px;
}
.case-ribbon {
  margin-bottom: 0;	
  font-size: 0.9em;
}  
.case-item {
  padding: 20px 20px 22px;
  width: 100%;
}
.c-item-tit {
  padding-bottom: 4px;
  font-size: 1.2em;  
  display: flex;
  align-items: center;  
}
.c-item-stxt {
  font-size: 0.9em;
}  
.c-item-txt {
  min-height: 46px;
  margin-bottom: 16px;
  font-size: 1.1em;  
}  
.item-txtarea {
  min-height: 60px;
  font-size: 0.9em;
}
  
/*---- case detail --------------*/
.case-detail .detail-tit {
  margin-bottom: 20px;  
  font-size: 1.6em;	
}  
.case-detail .d-sbox {
  margin-bottom: 30px;
}  
.case-detail .d-item-tit {
  margin-bottom: 20px;
  padding: 0 30px;
  font-size: 1.4em;
  line-height: 1.6;
}  
.case-detail .d-item {
  margin-bottom: 60px;
  padding: 30px 0;
}
.case-detail .d-img {
  margin-bottom: 30px;
}   
.case-detail .d-img img {
	height: auto;
	width: 100%;
} 
.case-detail .d-txtarea {
  padding: 0 20px;
}
.case-detail .d-item-imgbox {
  margin-bottom: 30px;
	padding: 0 2em;
}  
/*relation*/
.relation-inner{
  max-width: 100%;
  padding: 6% 4% 8%;
  margin: 0 auto;
}
/*ボタン*/
.section-relation .u-button-detail{
	margin: 0 auto 15px;
	width: 90%;
}
.section-relation .u-button-detail a{
  width: 100%;
  box-sizing: border-box;
}
.relation-box {
  display: block;
}
.relation-wrap{
	width: 90%;
	margin: 0 auto;
}
.relation-item {
  margin-bottom: 30px;
}
.relation-txt-wrap{
  padding: 20px;
	margin: 0 auto;
}
.relation-stxt {
  font-size: 1em;
}
.relation-cat{
	font-size: 1.4em;
	margin-bottom: 10px;
}
.age{
	margin-bottom: 10px;
}
.relation-item-img {
	margin: 0 auto;
}
	
.relation-imgbox {
  margin-bottom: 20px;
}
.section-relation .linl-box {
  display: block;
}

/*-------------pager-------------*/
.wp-pagenavi { margin: 25px auto 30px;text-align:center; width: 92%;}
.wp-pagenavi .pages {font-weight: bold; font-size: 12px; width: 100%; margin: 0px auto; padding-bottom: 10px; border: none; display: block;}
.wp-pagenavi .current { width: 21px; height: 21px; line-height: 21px; font-weight: bold; background: #d75378; border: 1px solid #d75378; font-size: 12px; display: inline-block; text-align: center; margin: 0px 5px; color: #FFF;}
.wp-pagenavi a { margin: 0 5px; width: 21px !important; height: 21px !important; line-height: 21px; font-weight: bold; border: 1px solid #d75378; text-decoration: none; display:inline-block; color: #333; font-size: 12px; text-align: center;}
a.nextpostslink,a.previouspostslink { background: #ccc; border: 1px solid #ccc;}
}
