﻿/* CSS Document */

    /* 円タイトル
    ----------------------------------*/
    .circle-title{
      display: inline-block;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: skyblue;
      text-align:center;
      line-height: 100px;
      vertical-align: middle;
    }
    
    /* カード
    ============================================================================*/
    .book-card{
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      margin: 1rem auto;
      box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
      margin-bottom: 3.6%;
      background: #fff;
      line-height: 1.4;
      border-radius: 5px;
      overflow: hidden;
      z-index: 0;
    }
    .book-card .meta{
      position: relative;
      z-index: 0;
      height: 200px;
    }
    .book-card .photo{
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-size:contain;
      background-position: center;
      background-repeat: no-repeat;
      margin: 20px 10px;
    }
    .book-card .description{
      padding: 1rem;
      background: #fff;
      position: relative;
      z-index: 1;
    }
    .book-card .description h1,
    .book-card .description h2{
      /* font-family: Poppins, sans-serif; */
    }
    .book-card .p-date{
      font-size: 0.7rem;
      font-weight: 600;
    }
    .book-card .description h1{
      line-height: 1.2;
      margin: 0;
      font-size: 1.1rem;
      padding-bottom: 10px;
    }
    .book-card .description h1 p{
      margin-top:10px;
    }
    .book-card .description h2{
      font-size: 0.9rem;
      font-weight: 300;
      color: #454545;
      margin-top: 15px;
      line-height: 1.5;
      margin-bottom: 0;
    }
    .book-card .description h2 ul.book-index li{margin-top: 0px;}
    .book-card p{
      position: relative;
      margin: 1rem 0 0;
      font-size: 0.8rem;
      font-weight: 300;
      color: #000;
    }
    .book-card p:first-of-type{
      margin-top: 1.25rem;
    }
    .book-card h5{font-size: 0.8rem;}
    .book-card p.under-link:hover{color:#FF9900 !important;}
    .book-card:hover .details{
      left: 0%;
    }
    @media (min-width: 640px) {
      .book-card{
        flex-direction: row;
        max-width: 100%;
      }
      .book-card .meta{
        flex-basis: 40%;
        height: auto;
      }
      .book-card .description {
        flex-basis: 60%;
      }
      .book-card .description::before{
        content: "";
        background: #fff;
        width: 30px;
        position: absolute;
        left: -10px;
        top: 0;
        bottom: 0;
        z-index: -1;
      }
      .book-card.alt {
        flex-direction: row-reverse;
      }
      .book-card.alt .description::before{
        left: inherit;
        right: -10px;
      }
      .book-card.alt .details{
        padding-left: 25px;
      }
    }
    .publish-date {
      margin: 0;
      border: none;
      border-radius: 0;
      overflow: visible;
      font: inherit;
      color: inherit;
      text-transform: none;
      display: inline-block;
      box-sizing: border-box;
      padding: 0 30px;
      vertical-align: middle;
      font-size: 0.875rem;
      line-height: 38px;
      text-align: center;
      text-decoration: none;
    }