:root{
  --color-gold: #a38455;
  --color-white: #fff;
}
.general-section .inner-wide{
  max-width: 1200px;
}
.container{
  background:#FAFAF6 ;
}
.modelroom .secondary-heading{
  font-size: 4rem;
}
.modelroom .lead{
  margin-bottom: 60px;
  line-height: 2;
}
.midium-img{
  width: 60%;
  margin-top: 60px;
}
.modelroom-flex,
.modelroom-flex02,
.modelroom-flex03{
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 60px auto 80px;
}
.modelroom-flex02{
  gap: 100px;
  margin: 60px auto 0;
}
.modelroom-flex03{
  gap: 72px;
  align-items: flex-end;
}
.contents-l{
  width: calc(63% - 36px);
}
.contents-r{
  width: calc(37% - 36px);
}
.modelroom-flex-text,
.modelroom-flex-item{
  width: calc(50% - 10px);
}
.modelroom-flex-text{
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.is-gold{
  color: var(--color-gold);
}
.item-title{
  font-size: 36px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.item-text{
  font-size: 18px;
  line-height: 2;
}
.modelroom-flex-item img{
  width: 100%;
}
.bg1{
  background: url(../images/modelroom/bg01.webp) no-repeat top center/ cover;
}
.bg2{
  background-color: #ede9e5;
}
.modelroom-flex-item02{
  width: calc(100% / 2);
}
.modelroom-flex-text02{
  width: 100%;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modelroom-flex-item02 img{
  width: 100%;
}
@media screen and (max-width: 767px) {
  .modelroom .general-section .inner {
    padding: 32px 0 64px;
  }
  .modelroom .secondary-heading{
    font-size: 2.4rem;
    text-align: left;
    line-height: 1.6;
  }
  .modelroom .lead{
    font-size: 1.6rem;
    text-align: left;
  }
  .sp-wide{
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }
  .midium-img{
    width: 100%;
    margin-top: 40px;
  }
  .modelroom-flex,
  .modelroom-flex02{
    flex-direction: column-reverse;
    margin: 20px auto;
  }
  .modelroom-flex02{
    gap: 40px;
    flex-direction: column;
  }
  .modelroom-flex-text{
    width: 100%;
    padding-top: 0;
  }
  .item-title{
    font-size: 22px;
  }
  .modelroom-flex-item{
    width: 100%;
  }
  .modelroom #area3 .secondary-heading{
    margin-top: 20px;
  }
.modelroom-flex-item02{
  width: 100%;
}
.modelroom-flex-text02{
  width: 100%;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modelroom-flex-item02 img{
  width: 100%;
}
#area1{
  .modelroom-flex,
  .modelroom-flex03{
    display: contents;
  }
  .sp-flex-wrap{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .modelroom-flex-text{
    order: 4;
  }
  .contents-l,
  .contents-r{
    width: 100%;
  }
}
}


/*--------------------------------
modal
--------------------------------*/
.js-modal-open,
.js-modal-open2{
  position: relative;
  transition: all 0.2s ease 0s;
}
.js-modal-open:hover,
.js-modal-open:hover{
  opacity: .7;
}
.icon-zoom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  padding: 8px;
}
.icon-zoom img{
  width: 100%;
}
@media screen and (max-width: 767px){
  .icon-zoom {
    width: 32px;
    padding: 6px;
  }
}
.modelroom .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  max-width: none;
  z-index: 10000;
  -webkit-transition: none;
  transition: none;
  transform: none;
}
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}
.modelroom .modal .modal-content {
  position: absolute;
  max-width: 1040px;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.modelroom #modal04.modal .modal-content {
  max-width: 820px;
}

.modal-content a.js-modal-close {
  font-size: 16px;
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 15px auto 0;
  color: #FFF;
}
.modal-content a.js-modal-close span {
  background: #fff;
  color: #000;
  font-size: 18px;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-align: center;
  line-height: 18px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 1px;
}