.room-card_ {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.room-info_ h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

.status {
  font-weight: bold;
  margin-top: 10px;
}
.status.available {
  color: green;
}
.status.full {
  color: red;
}



.room-section {
 /* display: flex;*/
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.room-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.room-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -15px; /* 内側余白を調整 */
}

.room-card {
display: flex;
  gap: 20px; /* 画像とテキストの間の余白 */
  align-items: flex-start; /* 上揃え */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px;
  /*width: 500px;*/
}


.room-card:hover {
  transform: translateY(-5px);
}
/*
.room-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
*/
.room-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}


.room-card-r {
  flex: 1 1 50%; /* 画像側の幅 */
  max-width: 30%;
}

.room-card-txt {
  flex: 1 1 50%; /* テキスト側の幅 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room-card-txt p {
  text-align: left;
  gap:8px;
}

.room-card-txt .title{
  margin-bottom: 30px;
  text-align: center;
}

.room-card-txt span{
  font-size:20px;
  font-weight: bold;
  text-align: center;

  border-bottom: 2px solid #ff6600; /* 下線の太さ・色 */
  padding-bottom: 2px; /* 文字と線の間隔 */
}

.room-card-txt ul{
  list-style: none;
}

.room-card-txt li{
  text-align: left;
  margin-right: 8px;
}

.room-info {
  padding: 20px;
}

.room-info h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.room-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.room-info .price {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #ff5e5e;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #e04a4a;
}




.room-thumbnail {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}


/* スマホでは縦並びに切り替え */
@media (max-width: 768px) {
  .room-card {
    flex-direction: column;
  }
  .room-card-r,
  .room-card-txt {
    max-width: 100%;
  }
}