/* サイト全体の設定 */
* {
  color: white;
  font-family:"Yu Mincho","YuMincho","ヒラギノ明朝 ProN","Hiragino Mincho Pro" ;
}

body {
  width: 100%;
  background-color: black;
  text-align: center;
}

button {
  margin-left: 80%;
  display: block;
  color:  white;
  font-size: 15px;
  font-weight: bold;
  text-align: right;
  background: transparent;
  border:none;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  transition: .3s;
  cursor: pointer;
}

button:hover { 
  color: #D0A900  ;
}

#cards {
  display: flex;
  justify-content: center;
}

.card {
  width: 33.3%;
  margin-top: 50px;
}

#cards h3 {
  writing-mode: vertical-lr;
  text-align: center;
}

.card:nth-child(2) {
  margin-right: 10px;
  margin-left: 15px;
}

.picture img {
width: 80%;
height: 250px;
object-fit: cover; /* width, heightといっしょに使います */
border: 1px solid #111;
}

.description {
  width: 100%;
  height: 100%;
  padding-right: 12px;
  padding-left: 12px;
  box-sizing: border-box;
}

.description p {
  font-size: 13px;
  color: white;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {

.description p {
  font-size: 0.5rem;
  color: white;
  padding-bottom: 20px;
}

#cards h3 {
position: absolute;
font-size: 0.8rem;
writing-mode: horizontal-tb;  
text-align: center;
height:10px;
line-height:30px;
}

.picture img {
width: 80%;
height: 150px;
object-fit: cover; /* width, heightといっしょに使います */
border: 1px solid #111;
}

}

@media screen and (max-width: 768px) {
h2{
  font-size: 0.9rem;
}

button{
  font-size: 0.9rem;
}

}
