@charset "utf-8";

body {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
  color: #555;
}

* {
  text-align: justify;
  text-justify: inter-ideograph;
  list-style: none;
  text-decoration: none;
}

p {
  margin: 1rem auto;
  font-size: 1rem;
  line-height: 2rem;
  letter-spacing: 0.01rem;
}

.side-title {
  font-size: medium;
}


/* ーーーー カード  ーーーー    */


.card {
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.card-item {
  border: 0.5px solid #999;
  width: 100%;
  margin-bottom: 10px;
}

.card-item + .p-card-item {
  margin-top: 2.5rem;
}

.card-item a {
  /*  カード内の下部の要素だけ長さに関わらず下にそろえて配置したい時これも必須  */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  -webkit-transition: -webkit-box-shadow 0.3s ease-in;
  transition: -webkit-box-shadow 0.3s ease-in;
  transition: box-shadow 0.3s ease-in;
  transition: box-shadow 0.3s ease-in, -webkit-box-shadow 0.3s ease-in;
}

.card-item a:hover {
  opacity: 1;
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.8;
}

.card-img {
  position: relative;
  width: 100%;
}

.card-img::before {
  content: "";
  display: block;
  padding-top: 60%;
}

.card-img img {
  background-color: #fff;
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.card-lead {
  padding: 0 0 0.625rem 0.625rem;
}

.card-date {
  color: #6a6a6a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 1rem;
}

.card-title {
  font-size: 0.96rem;
  color: #6a6a6a;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2rem;
  margin-top: -10px;
  padding-right: 10px;
}


/* ーーーー ここまでカード  ーーーー    */


  #nav {
    font-size: 12px;
    float: left;
    max-width: 350px;
    display: block;
  }

  .sidebox {
    float: left;
    display: block;
    width: 100%;
    padding: 15px 10px 15px 10px;
    line-height: 2em;
    margin-top: 20px;
    font-size: 0.9em;
    background-color: #fff;
  }
