/* サイドパーツ共通 */

.side{
  text-align: left;
  border:1px solid #ccc;
  background: #fff;
}

.rightBlock a{
  text-decoration: none;
}

.rightBlock h3.title,
.side_nekosha h3.title{
  color: #fff!important;
  font-size: 16px;
  padding: 5px 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-top-left-radius: 5px;
  -moz-border-top-right-radius: 5px;
}

.rightBlock .inner .no_adoption{
  background: #fff;
  padding: 5px 10px;
  display: block;
}

.rightBlock .image img:hover,
.rightBlock .item img:hover{
  opacity: 0.7;
}

.rightBlock h3.title a:link,
.rightBlock h3.title a:visited{
  color:#fff;
}
.rightBlock h3.title a:hover{
  color:#ffffdd;
}

.mvPhotoArea a:hover .mvPhotoImg{
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.nekosha_photo:hover{
  opacity: 0.7;
}

.side h3{
  color:#333!important;
  background:#e2d5c9;
  text-align:center;
  padding:3px;
  border-bottom:1px solid #ccc;
}

.side .inner{
  padding:10px;
  background: #fff;
}

#right-contents .fa{
  font-size: 16px;
}

.side a.alllink{
  display: block;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
.side li{
  border-bottom:1px solid #ccc;
  margin-bottom:5px;
  padding-bottom:5px;
  position: relative;
}

.side_nyanko1 h3{
  color: #fff!important;
  font-size: 16px;
  padding: 5px 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-top-left-radius: 5px;
  -moz-border-top-right-radius: 5px;
  background: #f05655;
}
.side_nyanko1 .nyanko1_block {
  background: #fff;
  padding: 13px 10px 15px;
  border-radius: 0 0 8px 8px;
}
.side_nyanko1 .block_box{
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
}
.side_nyanko1 .block_box::before{
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% - 40px);
  display: inline-block;
  background: url(/nyanko1/images/fight_icon.png) no-repeat center center/ contain;
  width: 80px;
  height: 80px;
  z-index: 10;
}
.side_nyanko1 .block_theme{
  padding: 8px 0 0;
  background-image: url(/images/nyanko1_theme_cat.png),
                    url(/nyanko1/images/theme_bg.png);
  background-position: bottom right 8px , top left;
  background-repeat: no-repeat, repeat;
  background-size: 38px, 24px;
  text-align: center;
}
.side_nyanko1 .block_box .box_img{
  width: 48%;
}
.side_nyanko1 .block_box .box_img img{
  width: 100%;
}
.side_nyanko1 .theme_ttl{
  color: #555;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}
.side_nyanko1 .theme_txt span{
  display: inline-block;
  max-width: 65%;
  padding: 0 6px;
  background: linear-gradient(rgba(255, 255, 255, 0) 60%, #f9feb9 0%);
  color: #f05655;
  font-size: 20px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side_nyanko1 .theme_txt:hover{
  opacity: .7;
}
.side_nyanko1 .block_link a{
  display: inline-block;
  margin: 10px 0 0;
  padding: 5px 35px;
  border-radius: 5px;
  background: #ff7178;
  box-shadow: 0 3px 0 #e53f47, 0 3px 0 rgb(0 0 0 / 20%);
  color: #fff;
  font-size: 16px;
}
.side_nyanko1 .block_link a:hover{
  color: #fff;
  opacity: .7;
}

/* 今日のMVネコ写 */
.side_nekosha{
  box-sizing: border-box;
  width: 300px;
}

.side_nekosha	a{
  color: #fff;
}

.side_nekosha h3{
  background: #400000;
}

.side_nekosha .image{
  width: 300px;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.side_nekosha img{
  position: absolute;
  width: 300px;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}


.nekosha_item_inner {
  overflow: hidden;
  position: relative;
  display: block;
}

.nekosha_text {
  position: absolute;
  display: block;
  text-align: left;
  bottom: 0;
  left: 0;
  width: 280px;
  padding: 5px 10px;
  background: rgba(0,0,0,.4);
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,.1) 15%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.6) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,.1) 15%,rgba(0,0,0,.3) 60%,rgba(0,0,0,.6) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,.1) 15%, rgba(0,0,0,.3) 60%,rgba(0,0,0,.6) 100%);
}

.nekosha_text-title {
  overflow: hidden;
  display: block;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: .25rem;
  font-size: 16px;
}

.nekosha_text-data {
  display: table;
  width: 100%;
  height: 1rem;
  font-size: 14px;
  table-layout: fixed;
}

.nekosha_text-data span.nekosha_text-name {
  width: 6rem;
  text-align: left;
  font-size: 90%;
  padding-top: .25rem;
}

/* にゃんでもQ&A */
.side_ask {
  background: #fff;
  margin-top: 20px;
  overflow: hidden;
  text-align: left;
}

.side_ask h3{
  background: #f16a99;
}

.side_ask h4{
  font-size: 14px;
  font-weight: bold;
  line-height: 120%;
  margin-bottom: 3px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.questionBox_list {
  background: #fff;
  padding: 10px;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
}

.questionBox_list:last-child{
  border-bottom: none;
}

.questionBox_list .status {
  width: 40px;
  float: left;
  text-align: center;
}

.status.solved {
  color: #ed4580;
}

.status.accepting {
  color: #02735f;
}

.status.closed {
  color: #878787;
}

.questionBox_list .status div {
  color: #fff;
  padding: 5px;
  width: 33px;
  line-height: 1;
  vertical-align: text-middle;
  margin-bottom: 10px;
  font-size: 11px;
}

.status.solved div {
  background: #ed4580;
}

.status.accepting div {
  background: #02735f;
}

.status.closed div {
  background: #878787;
}

.questionBox_list .status p {
  font-weight: bold;
  font-size: 16px;
}

.questionBox_list .questionDetail {
  width: -webkit-calc(100% - 50px);
  width: calc(100% - 50px);
  float: right;
  position: relative;
  height: 73px;
}

.questionDetail.side_question .txt {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 5px;
  line-height: 150%;
  color: #666;
}

/* .questionInfoだけだと参加履歴と干渉するので注意 */
.side_question .questionInfo {
  display: table;
  width: 100%;
  position: absolute;
  bottom: 0px;
}

.questionInfo .userImg {
  border-radius: 25%;
  -webkit-border-radius: 25%;
  -moz-border-radius: 25%;
  padding-right: 3px;
  vertical-align: bottom;
  width: 28px;
}

.questionInfo .userImg,
.questionInfo .counter,
.questionInfo .userName {
  display: table-cell;
  vertical-align: middle;
}

.questionInfo .userName {
  color: #666;
}

/* 里親募集・迷い猫 */
.side_foster,
.side_adoption,
.side_maigo{
  text-align: left;
}

.side_foster h3 ,
.side_adoption h3{
  background: #358f7f;
}

.side_maigo h3 {
  background: #5389d6;
}

.side_info h3 {
  background: #efa540;
  text-align: left;
}

.side_info{
  text-align: left;
  background: #fff;
}

.side_info li{
  border-bottom:1px solid #ccc;
  margin-bottom:5px;
  padding-bottom:5px;
  position: relative;
}

.side_foster .item .text title,
.side_adoption .item .text title,
.side_maigo .item .text title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.side_foster li,
.side_adoption li,
.side_maigo li{
  display: table;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.side_foster li:last-child,
.side_adoption li:last-child,
.side_maigo li:last-child{
  border-bottom: none;
}

.side_foster .foster_photo,
.side_adoption .adoption_photo,
.side_maigo .maigo_photo{
  width: 75px;
  line-height: 0;
  font-size: 0;
  display: table-cell;
  vertical-align: middle;
}

.side_adoption .adoption_photo{
  width: 60px;
}

.side_foster .foster_photo img,
.side_adoption .adoption_photo img,
.side_maigo .maigo_photo img{
  width: 100%;
}

.side_foster .text,
.side_adoption .text,
.side_maigo .text{
  width: calc(100% - 91px);
  padding: 0 8px;
  display: table-cell;
  vertical-align: middle;
}

.side_foster .text .title,
.side_adoption .text .title,
.side_maigo .text .title{
  overflow: hidden;
  text-overflow: ellipsis;
  width: 220px;
  white-space: nowrap;
  font-weight: bold;
  font-size:14px;
}

.side_foster .text span,
.side_adoption .text span{
  display: block;
}


/* 猫組 */
.side_group{
  text-align: left;
}

.side_group h3 {
  background: #ec6941;
}

.side_group li{
  display: flex;
  align-content: center;
  justify-content: flex-start;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.side_group li:last-child{
  border-bottom: none;
}
.side_group li .upper_icon{
  width: 50px;
  height: 50px;
}
.side_group li .upper_txt{
  line-height: 120%;
  padding: 7px 10px;
  width: 75%;
  height: 36px;
}

.side_group li .upper_txt p{
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  text-align: left;
}

.side_group li .upper_txt p:last-child{
  margin-bottom: 0;
}

.side_group .text p{
  overflow: hidden;
  text-overflow: ellipsis;
  width: 230px;
  white-space: nowrap;
}



/* 掲示板 */
.side_bbs{
  text-align: left;
}

.side_bbs h3 {
  background: #9c457d;
}

.side_bbs {
  background: #fff;
  overflow: hidden;
  text-align: left;
}

.side_bbs h4{
  font-size: 14px;
  line-height: 120%;
  margin-bottom: 3px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.side_bbs_list {
  background: #fff;
  padding: 10px;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
}

.side_bbs_list:last-child{
  border-bottom: none;
}

.side_bbs_list .bbsDetail {
  width: 100%;
  float: right;
  position: relative;
  height: 73px;
}

.bbsDetail.side_bbs .txt {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 5px;
  line-height: 150%;
  color: #666;
}

.bbsInfo {
  display: table;
  width: 100%;
  position: absolute;
  bottom: 0px;
}

.bbsInfo .userImg {
  border-radius: 25%;
  -webkit-border-radius: 25%;
  -moz-border-radius: 25%;
  padding-right: 3px;
  vertical-align: bottom;
  width: 28px;
}

.bbsInfo .userImg,
.bbsInfo .counter,
.bbsInfo .userName {
  display: table-cell;
  vertical-align: middle;
}

.bbsInfo .userName {
  color: #666;
}


/* 注目の日記パーツ画像調整 */
.spotdiary > img{
  vertical-align: bottom;
}
.spotdiary .inner{
  text-align: left;
  border:5px solid #FEE8AA;
  border-radius:0 0 5px 5px;
  background: #fff;
  border-radius: 0;
}

.spotdiary img.title_img{
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}


.spotdiary li{
  display: table;
  width: 100%;
  border-bottom:1px dotted #ccc;
}
.spotdiary li div.img,
.spotdiary li div.text{
  display: table-cell;
  padding: 2px;
  vertical-align: top;
}
.spotdiary li div.text .title{
  font-weight: bold;
  font-size: 14px;
}
.spotdiary li div.img{
  width:60px;
}
.spotdiary li div.img div {
  width:60px;
  height:60px;
  overflow: hidden;
  position: relative;
}
.spotdiary li div.img div img{
  width:100%;
  position: absolute;
  top:0;
  left:0;
}
.spotdiary .cnt img{
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right:3px;
}

.side a,
.spotdiary a,
.side_nyanko1 a,
.side_group a,
.side_bbs .title a,
.side_maigo .title a,
.side_foster .title a,
.side_question .title a,
.side_adoption .title a{
  text-decoration: none;
  color: #1067b7;
}

.side a:hover,
.spotdiary a:hover,
.side_nyanko1 a:hover,
.side_group a:hover,
.side_bbs .title a:hover,
.side_maigo .title a:hover,
.side_foster .title a:hover,
.side_adoption .title a:hover,
.side_question .title a:hover{
  color: #ff6c00;
}