/* Model room
-------------------------------------------*/

.model-room_bg{ background: url(../img/header/bg_model-room.jpg) no-repeat center / cover; }

.model-room .read_text{
  width: min(800px,92%);
  margin: 0 auto 10rem;
  text-align: left;
}
.model-room .read_text span{
  color: var(--orange);
  font-weight: 500;
}
.model-room .read_text span a{
  text-decoration: underline;
}
.model-room .read_text span a:hover{
  text-decoration: none;
}

/* ----------------------------------------
 コンテンツ
---------------------------------------- */

.panel_wrap{
  padding-top: calc(var(--sec-margin)*3);
}
.panel{
  position: relative;
  min-height: 100svh;
  font-weight: 500;
  padding: var(--sec-margin) 0 calc(var(--sec-margin)*4);
}
.panel_curve{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(calc(-100% + 1px));
  pointer-events: none;
}
.panel .sec_in{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: var(--page);
  margin: 0 auto;
  text-align: left;
  padding-top: 50px;
  font-size: clamp(11px,1.692vw,14px);
}
/* ----------------------------------------
 コンテンツ / 左
---------------------------------------- */

.panel_info{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 52%;
  line-height: 1.75;
}
.panel_info .h2_tit{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1rem;
}
.panel_info .h2_tit h2{
  padding-left: 1em;
  line-height: 1.5;
  font-weight: bold;
  letter-spacing: .15em;
  font-size: clamp(15px,2.308vw,21px);
}
.panel_info .h2_tit h2::before{
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: var(--orange);
}
.panel_info .h2_tit .logo{
  width: 100%;
  height: auto;
  object-fit: cover;
}
.panel_info .text{
  position: relative;
  padding-top: 2.5rem;
}
.panel_info .text::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;   /* 線の長さ */
  height: 1px;   /* 線の太さ */
  background: currentColor;
}

/* テーブル */
.room_info{
  line-height: 1.5;
  font-size: clamp(11px,1.692vw,13px);
}
.room_info dl{
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 0;
  border-top: 1px solid rgba(255,255,255,.7);
}
.room_info dl:first-child{
  border: none;
}
.room_info dt,
.room_info dd{
  padding: 1rem 16px;
}
.room_info dt{
  font-weight: bold;
  text-align: center;
  background-color: #625c57;
}
.room_info dl:first-child dt{
  border-top-left-radius: 10px;
}
.room_info dl:last-child dt{
  border-end-start-radius: 10px;
}
.room_info dd{
  color: var(--black);
  background-color: #fff;
}
.room_info dl:first-child dd{
  border-start-end-radius: 10px;
}
.room_info dl:last-child dd{
  border-end-end-radius: 10px;
}
.room_info dd a{
  text-decoration: underline;
}
.room_info dd a:hover{
  text-decoration: none;
}

/* ----------------------------------------
 コンテンツ / 右（写真）
---------------------------------------- */

.panel_gallery{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 36%;
}
.panel_gallery img{
  border-radius: 10px;
}

#ogikubo{
  z-index: 1;
  color: #fff;
  background: url(../img/model-room/bg_1.jpg) repeat left top;
}
#ogikubo .h2_tit .logo{
  width: min(550px,100%);
}

#ochiaiminami{
  z-index:2;
  color: #fff;
  background: url(../img/model-room/bg_2.jpg) repeat left top;
}
#ochiaiminami .h2_tit .logo{
  width: min(390px,80%);
}

#chiba{
  z-index:3;
  background: url(../img/model-room/bg_3.jpg) repeat left top;
}
#chiba .room_info dt{
  color: #fff;
}
#chiba .h2_tit h2{
  font-size: clamp(20px,3.077vw,30px);
}

/* ----------------------------------------
 SP
---------------------------------------- */

@media screen and (max-width: 650px){
  
  .model-room .read_text{
    margin: 0 auto;
  }
  
  .panel_wrap{
    padding-top: calc(var(--sec-margin)*2);
  }
  .panel .sec_in{
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
  }
  
  .panel_info{
    width: 100%;
  }
  .panel_info .h2_tit{
    gap: 1rem;
    padding-bottom: 0;
  }
  .panel_info .text{
    padding-top: 1.5rem;
  }
  
  /* テーブル */
  .room_info dl{
    grid-template-columns: 90px 1fr;
  }
  .room_info dt,
  .room_info dd{
    padding: 1rem 10px;
  }
  .room_info dl:first-child dt{
    border-top-left-radius: 6px;
  }
  .room_info dl:last-child dt{
    border-end-start-radius: 6px;
  }
  .room_info dl:first-child dd{
    border-start-end-radius: 6px;
  }
  .room_info dl:last-child dd{
    border-end-end-radius: 6px;
  }
  
  /* 写真 */
  .panel_gallery{
    flex-direction: row;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin: 0 auto;
  }
  .panel_gallery img{
    width: calc(50% - .25rem);
    border-radius: 6px;
  }
}