/*
.grid {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
*/

/*------------------------------------*/
/* ブログカード */
/*------------------------------------*/
.grid {
    display: grid;
    gap: 5px;
}

.cp_card {
    overflow: hidden;
    border-radius: 3px;
    margin-top: 0rem;
    margin-bottom: 0rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background-color: #fff;
    -webkit-box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease-in;
    border-bottom: 5px solid transparent;
}

@media screen and (min-width: 481px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .cp_card {
        width: 200px;
    }
}

@media screen and (min-width: 223px) and (max-width:480px){
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
    }
	/* 480px以下に適用されるCSS（スマホ用） */
    .cp_card {
        width: 100%;
        max-width: 200px;
    }
}
@media screen and (max-width: 222px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(96%, 1fr));
    }
	/* 480px以下に適用されるCSS（スマホ用） */
    .cp_card {
        width: 100%;
        max-width: 200px;
    }
}

  .cp_card .photo {
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    user-select: none;
  }
  .cp_card:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    border: none;
    border-bottom: 5px solid #00BCD4;
  }
  .cp_card .details {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
    /*padding: 1em 1em 0 1em;*/
      padding-top: 2px;
      padding-left: 5px;
      padding-bottom: 2px;
      padding-right: 5px;
      font-size: 0.8em;
  }
  
  .cp_card .date {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      text-align: right;
  }
  .cp_card .category {
      -webkit-box-flex: 2;
          -ms-flex: 2;
              flex: 2;
  }
  .cp_card .category p {
      font-size: 0.8em;
      padding: 3px 8px;
      cursor: pointer;
      width: 8em;
      margin: 0;
      border-radius: 10px;
      background: #00BCD4;
      text-align: center;
      color: #ffffff;
      user-select: none;
  }
  .cp_card .description {
    /*padding: 0 1em;*/
      padding: 2px;
      user-select: none;
  }

.cp_card .description .text p {
    margin: 0;
    user-select: none;
    white-space: nowrap;
}
@media screen and (min-width: 376px) {
    .cp_card .description .text p {
      font-size: 12px;
    }
}
@media screen and (min-width:300px) and (max-width:375px){
    .cp_card .description .text p {
      font-size: 8px;
    }
}

@media screen and (max-width: 299px) {
    .cp_card .description {
        display: none;
    }
}

.cp_card .description .text .text_right p.text_plus {
    color: green;
}
.cp_card .description .text .text_right p.text_minus {
    color: red;
}

.text_right, .text_left {
float: left;
width: 50%;  /** 横幅50% **/
}

.cp_card a {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
min-height: 100%;
display: flex;
}


/* マウスオーバー時 拡大 */
@media screen and (min-width: 960px) {
    .hover_big {
        transition: 0.2s ease-out;
    }
    .hover_big:hover {
        transform: scale(1.5, 1.5);
        z-index: 10;
        background-color: #fff;
        box-shadow: 0px 20px 30px 30px rgba(0, 0, 0, 0.6);
    }
}


/*------------------------------------*/
/* ローディング */
/*------------------------------------*/
.wrapper{
    width:200px;
    height:60px;
    /*position: absolute;*/
    position: relative;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}
.circle{
    width:20px;
    height:20px;
    position: absolute;
    border-radius: 50%;
    background-color: #00BCD4;
    left:15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle{
    0%{
        top:60px;
        height:5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }
    40%{
        height:20px;
        border-radius: 50%;
        transform: scaleX(1);
    }
    100%{
        top:0%;
    }
}
.circle:nth-child(2){
    left:45%;
    animation-delay: .2s;
}
.circle:nth-child(3){
    left:auto;
    right:15%;
    animation-delay: .3s;
}
.shadow{
    width:20px;
    height:4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top:62px;
    transform-origin: 50%;
    z-index: -1;
    left:15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

@keyframes shadow{
    0%{
        transform: scaleX(1.5);
    }
    40%{
        transform: scaleX(1);
        opacity: .7;
    }
    100%{
        transform: scaleX(.2);
        opacity: .4;
    }
}
.shadow:nth-child(4){
    left: 45%;
    animation-delay: .2s
}
.shadow:nth-child(5){
    left:auto;
    right:15%;
    animation-delay: .3s;
}
.wrapper span{
    position: absolute;
    top:75px;
    font-family: 'Lato';
    font-size: 20px;
    letter-spacing: 12px;
    color: #00BCD4;
    left:15%;
}



