/*
Theme Name:AtFlash Fire child
Author:Tadaaki Kobayashi
Template:atflash_fire
Version:1.0.0
*/

@media (prefers-color-scheme: dark) {
	
}

.dark-mode 	.card-link {
		background:#000;
	}

.dark-mode	.longcard-link {
		box-shadow: 0 1px 5px 0 rgba(255,255,255,.8);
	}

.dark-mode .blog-card-excerpt-long {
	color:#999;
}


.profile {
  /*background: #FFF;*/
  width: 250px;
  padding: 2rem;
  border: 1px solid #E5E5E5;
}

.profile__img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius:50%;
  margin: 0 auto;
}

.profile__name {
  text-align:center;
  font-weight:bold;
  font-size:1.2rem;
  margin: 1rem auto 1rem;
  letter-spacing:.1rem;
}

.profile__desc {
  line-height:1.6rem;
}

.side-sns{
	padding:5px;
	margin:5px;
	/*color:white;*/
	text-align: center;
	display: inline-block;
}

/*
.sidebar-sticky{
 	position: sticky;
 	top: 0;
	padding: 55px 20px 20px 20px;
	margin-top: -10px;
	position: -webkit-sticky;
}
*/

/**/
/* ブログカード */
.blog-card-long {
	margin: 0 0 1.8rem;
}
.card-link {
  display: block;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  padding: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: #555;
  font-weight: bold;
  text-decoration: none !important;
  position: relative;
}
.card-link:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  color: #888;
  text-decoration: none;
  transform: translateY(-2px);
}

/*ブログカードのラベル*/
.blog-card-label{
    display: inline-block;
    position: absolute;
    background-color: #F630FF;
    top: 0px;
    left: 0px;
	z-index: 2;
    width: 70px;
    height: 25px;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    line-height: 25px;
    transform-origin: 50% 50%;
    animation: animScale 3.5s ease-out;
}

.blog-card-label-long{
	z-index: 1;
	display: inline-block;
    position: absolute;
	background-color: #ffb36b;
    top: 10px;
	left: 10px;
	max-width: 120px;
	height: 25px;
	padding: 0 0.5rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    line-height: 25px;
    transform-origin: 50% 50%;
    animation: animScale 3.5s ease-out;
}

.card-link .blogcard-text {
  display: block;
  padding: 15px 20px;
  line-height: 1.6;
}
.card-link img {
  width: 100%;
}
.longcard-link {
  margin-bottom: 1.5em;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.25);
}
.longcard-link img {
  padding: 10px 10px 0;
}
.longcard-img{
	position: relative;
}
.longcard-img img{
	margin-bottom:0px
}

.blogcard-title {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.4;
	display: -webkit-box;
    -webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-card-excerpt-long {
	padding-top: .8em;
    font-size: .8em;
    line-height: 1.4;
	font-weight: normal;
    opacity: .8;
	color: #333;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
    text-overflow: ellipsis;
}
@media only screen and (min-width: 481px) {
	.card-link {
    	display: inline-block;
    	max-width: 310px;
    	margin-right: 20px;
 	}
	.longcard-link {
    	max-width: 100%;
    	display: table;
  	}
  	.longcard-img,
  	.card-link.longcard-link .blogcard-content {
    display: table-cell;
    vertical-align: middle;
  }
  .longcard-img {
    width: 40%;
  }
  .blogcard-content {
    width: 60%;
  }
  .longcard-img img {
    width: 100%;
    padding: 10px 0px 10px 10px;
  }
}
@media screen and (max-width: 959px){
	.blog-card-excerpt-long {
		display: none;
	}
}

