/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* とりあえず仲介業者リンク非表示（２０２２の修正オープン時削除） */
.cm-header-contact.for-business{
  display:block;
}

/* 基本的なスタイル */

iframe {
  max-width: 100%;
}

/* ヘッダータグライン */
.custom-header-container-wrapper .cm-header-tagline p{
  padding-left: 20px;
  font-size: 20px;
}

/* ヘッダーロゴ */
.custom-logo .cell-wrapper.layout-widget-wrapper{
  padding-left: 20px;
}

@media screen and (max-width: 767px){
  .custom-logo .cell-wrapper.layout-widget-wrapper{
    padding-left: 0;
  }
}

/* ヘッダー */

.header_ttl_wrapper {
  background: #78304d;
}

.header_ttl {
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px;
}

.header_logo_wrapper {
  max-width: 920px;
  margin: 0 auto;
  margin-top: 0px;
  margin-top: 0px;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  align-items: center;
}

.header_logo-link {
  display: inline-block;
}

.header_logo-link:first-child {
  margin-right: 30px;
}

.header_contact_cta {
  display: flex;
  align-items: center;
}

.header_logo_cta {
  background: #78304d;
  color: #fff;
  text-decoration: none;
  padding: 15px;
  display: flex;
  margin-left: 15px;
  width: 140px;
  border-radius: 3px;
}

.svg-inline--fa.fa-chevron-right.fa-w-10 {
  margin-left: 15px;
  margin-top: 1px;
}

.header_ttl {
  color: #fff;
}

.hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_raw_html img {
  height: 100%;
}

.cell-wrapper.layout-widget-wrapper{
  /* padding-left: 1%; */
}
@media screen and (max-width: 767px){
  .cell-wrapper.layout-widget-wrapper{
    padding-left: 0;
  }
}

img.burex-five{
  margin-left: 20px;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px){
  img.burex-five{
    margin-bottom: 20px;
  }
}


/* ハンバーガーメニューにCTA出てくるのに対応 */
@media screen and (max-width: 767px){
  .row-fluid-wrapper.row-depth-2.row-number-2{
    width: 100%;
  }
  .cm-header-nav .cm-header-contact ul + ul{
    width: 200px;
  }
}


/* 英語ページのaboutセクション */
#hs_cos_wrapper_widget_1509515252424{
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left: 0 !important;

}


/* トップページの真ん中あたりのグレーのライン消す */
.home-layout .row2-wrapper .page-center{
  background-image: unset;
  border-bottom: none;
}



.building__list{
  display: flex;
  justify-content: center;
  gap:10px;
  list-style: none;
  padding-left: 0;
  margin-right: calc(50% - 42vw);
  margin-left: calc(50% - 42vw);
}

@media screen and (max-width: 767px){
  .building__list {
    flex-direction: column;
  }
}

.active-tab{
  display:none;
}
@media screen and (max-width: 767px){

}

.building__item{
  /*   flex:1; */
  width: 30%;
  padding: 10px 20px;
  text-align: center;
}

@media screen and (max-width: 767px){
  .building__item{
    width: 100%;
  }
}

@media screen and (max-width: 767px){
  .building__item + li {
    margin-top: 60px;
  }

}


.building__item__title{
  background-color: #78304d;
  color: #fff;
  padding: 10px 2px;
  font-weight: normal;
  margin: 0;
}

.building__item:nth-of-type(3) .building__item__title{
  background-color: #00B050;
}

.home-layout .row2-wrapper .main-content p.building__item__category{
  font-weight: bold;
  font-size: 16px;
  margin: 0;
}

.home-layout .row2-wrapper .main-content p.building__item__desc{
  font-size: 16px;
  margin: 0 0 20px 0;
}

.building__item__image{
  margin: 0 0 20px 0;
  height: auto;
  width: 100%;
  overflow: hidden;
}
.building__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-360{
  position: relative;
  width: 200px;
  height: 45px;
  margin-left:auto;
  margin-right:auto;
}

.cta-360 .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_icon{
  height: 20px;
  width: 9px;
  fill: #fff;
  margin-left: 15px;
}

.cta-360::before{
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #78304d;
}

.cta-360.five::before{
  border-color: #00B050;
}

.cta-360__button{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  border: 1px solid #78304d;
  background-color: #78304d;
  color: #fff;
}

/* .cta-360__button::after{
content: '';
background-image: url('https://3840759.fs1.hubspotusercontent-na1.net/hubfs/3840759/image/Icon%20metro-chevron-thin-right.svg');
width:18px;
height: 18px;
display: block;
background-size:auto 100%;
background-repeat: norepeat;
fill: #fff;
} */

.cta-360__button.five{
  background-color: #00B050;
  border-color: #00B050;
}

.cta-360__button:hover{
  transform: translate(4px, 4px);
  color: #fff;
  transition: .1s;
}

.cta-360__button:hover .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_icon{
  transform:translateX(8px);
  transition: .1s;
}



/* 物件一覧下のテキスト */
.home-layout .row2-wrapper .main-content p{
  margin-top: 60px;
  margin-bottom: 10px;
}


/* ご契約の流れ */

.home-layout .row3-wrapper .page-center.bl_contract{
  max-width: 1024px;
}

.contract__list .cm-one-col-image-container{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contract__list .cm-one-col-image-container > div{
  width: 30%;
}

@media screen and (max-width: 767px){
  .contract__list .cm-one-col-image-container{
    flex-direction: column;
    align-items: center;
  }

  .contract__list .cm-one-col-image-container > div{
    width: 80%;
  }
}


/* サービス・施設のページ */
.container-fluid .row-fluid .page-center{
  max-width: 1280px;
}

.cm-image-wrapper{
  overflow: hidden !important;
  height: 240px;
}

@media screen and (max-width: 767px){
  .cm-image-wrapper{
    height: auto;
  }
}

.cm-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-service-layout .cm-row1-group h1{
  line-height: 1.5;
}




/* FAQページ */
.cm-faq-module img{
  width: 100%
}

/* burex-fiveのテンプレートでのロゴサイズ調整 */
.labo-page .top-module-wrapper .building-hdg-logo img.labo{
  width: 113px
}

/* 部屋情報スライドのキャプションスタイル */
.room-images .caption.superimpose{
  left: 40px;
  transform: translateY(-100%);
  background-color: rgba(255,255,255,0.6);
  color: #000;
}
.room-images .caption.superimpose p,
.room-images .caption.superimpose h3
{
  margin: 0;
}

@media screen and (max-width: 767px){
  .room-images .caption.superimpose{
    top: 90%;
    font-size: 8px;
    width: 50vw;
    max-width: 80%;
    height: fit-content;
    line-height: 1.4;
    overflow:hidden;
  }
  .room-images .caption.superimpose span{
    text-align: left;
    display: inline-block;
  }
}


/* 英語　HOME */
figure.building-image{
  overflow:hidden;
}
.home-layout .five-column-image-wrapper .five-column{
  overflow: hidden;
}


/* 英語各物件ページ画像 */
.modal-image{
  overflow: hidden;
  max-width: unset;
}
.modal-image img{
  width: 100%;
}
.building-above-footer img{
  width:100%;
}

/* 物件ページSTAFF VOICEの画像 */
.building-layout .row3-wrapper h1 img{
  max-width: 100%;
}

/* 表組みレイアウト */
@media screen and (max-width: 767px){
  table.table.building-room-all{
    width: 100% !important;
  }

}





/* 仲介業者用リンク */
.span12.widget-span.widget-type-cell.page-center.cta-wrapper{
  display: flex;
  padding-top: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row-reverse;
  padding-right: 1%;
}

@media screen and (max-width: 767px){
  .span12.widget-span.widget-type-cell.page-center.cta-wrapper{
    flex-direction: column-reverse;
    align-items: center;
    padding-top: 0;
  }


}

.span12.widget-span.widget-type-cell.page-center.cta-wrapper p{
  margin: 0;
  text-align: center;
}

/* .span12.widget-span.widget-type-cell.page-center.cta-wrapper > div:first-of-type{
}

.cm-header-contact ul + ul li:first-child{
position:static;
}

span#hs_cos_wrapper_module_150907882995840{
display:flex;
align-items: center;
column-gap: 20px;
}
*/
/* .cm-header-contact ul + ul li:first-child{
min-width: 126px;
} */

.cm-header-nav .cm-header-contact.for-customer{
  /*   width: 30%; */
  margin-top: 10px;
  min-width: 444px;
  max-width: 480px;
  padding: 5px 20px 5px;
}

@media screen and (max-width: 767px){
  margin-top: 0;
}


.cm-header-contact ul + ul li:first-child{
  top:12px;
}

@media screen and (max-width: 870px){
  .cm-header-nav .cm-header-contact.for-customer{
    min-width: 310px;
  }
}

@media screen and (max-width: 767px){
  .cm-header-nav .cm-header-contact.for-customer{
    min-width: 100%;
  }
}

.cm-header-nav .cm-header-contact.for-business{
  padding: 12px 20px;
  background-color: #007dbc;
  margin-top: 8px;
}

@media screen and (max-width: 767px){
  .cm-header-nav .cm-header-contact.for-business{
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

.cm-header-nav .cm-header-contact.for-business a{
  color: #fff;
}

span#hs_cos_wrapper_module_150907882995840 ul li:nth-of-type(2){
  margin-top: -14px;
}


/* トップページお知らせブロックのタイトル */
.home-layout .bl_recent-post{
  /* background-color: #fff; */
}

.bl_news__title{
  padding-top: 100px;
  color: #741b47;
  font-family: 'Times New Roman', Times, serif;
  font-size: 32px;
  margin: 0;
  text-align:center;
  background-color: #F2F2F2;
}

.bl_news__sub-title{
  text-align:center;
  margin: 0;
  background-color: #F2F2F2;
  padding-bottom: 60px;
}

/* フッター部分のレスポンシブ */
@media screen and (max-width: 767px){
  .cm-footer-contact h1 img{
    height:100%;
    width:auto;
  } 
}

/* フッターコンタクト */
p.contact-detail:first-of-type{
  display:none;
}

@media screen and (max-width: 767px){
  p.contact-detail{
    font-size: 18px !important;
    padding-top: 5px;
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  } 
  p.contact-detail::before{
    position: static;
  }

}

.cm-footer-contact ul{
  display:flex;
  justify-content: center;
}

@media screen and (max-width: 767px){
  .cm-footer-contact ul{
    flex-direction: column;
  }
}


.cm-footer-contact ul li a{
  padding-left: 80px;
  padding-right: 10px;
}

@media screen and (max-width: 767px){
  .cm-footer-contact ul li{
    width: 100%;

  }
  .cm-footer-contact ul li a{
    padding-left: 20px;
  }
}

p.contact-detail:before{
  background-image:url('https://3840759.fs1.hubspotusercontent-na1.net/hubfs/3840759/ico_free-dial.png');
  background-size: cover;
  width: 60px;
  height: 60px;
  top:0;
}

@media screen and (max-width: 767px){
  p.contact-detail:before{
    width: 30px;
    height: 30px;
  }
}

.contact-content > div{
  width: fit-content;
  margin: 0 auto;
}

@media screen and (max-width: 767px){
  .contact-content > div{
    width: 200px;
  }
}

/* ブログリストページ */
.blog .row-fluid .content-wrapper{
  padding-left: 0;
}
ul.recent-post__list {
  width: 84.5%;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 40px;
  padding-left: 0;
  padding-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  column-gap:3%;
  row-gap:30px;
  list-style: none;
}

@media screen and (max-width: 767px){
  ul.recent-post__list {
    justify-content: center;
  }
}

ul.recent-post__list::after {
  content: '';
  width:49%;
}

ul.recent-post__list li{
  padding: 5px;
  width: 49%;
  /*   min-width: 240px; */
  max-width: 280px;
  min-height: 330px;
  /*   box-shadow: 0px 5px 12px 1px #82A9BC14; */
  overflow: hidden;
}
.recent-post__item-inner{
  height: 100%;
  position: relative;
  padding: 20px 5%;
  background-color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 8px;
}

.recent-post__item-inner a{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

ul.recent-post__list li:hover{
  background-color: #f4f4f4;
}

ul.recent-post__list li > a{
  display:flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #000;
}

.recent-post__image-block{
  padding: 12px 8px;
}

figure.recent-post__thumbnail{
  /*   width: 87.5%; */
  height: 138px;
  margin: 0 auto 15px;
  overflow: hidden;
}
figure.recent-post__thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post__text-block{
  width: 87.5%;
  margin: 0 auto;
  margin-bottom: 40px;
  flex:1;
  display: flex;
  flex-direction: column;
}

.recent-post__title{
  font-size: 16px;
  line-height: 1.5;
  margin-top: auto;
  margin-bottom: 12px;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 最近の投稿 */
.bl_recent-post{
  background-color: #F2F2F2;
}

.recent-post__item{
  position: relative;
}

.recent-post__new {
  display: inline-block;
  position: absolute;
  padding: 7px 0;
  right: -54px;
  top: 15px;
  width: 160px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 16px;
  background: #ffa520;
  background: linear-gradient(to right, #b5a451 0%, #f5deb3 40%,#f5deb3 60%, #b5a451 100%);
  color: #fff;
  letter-spacing: 0.05em;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.recent-post__new:before, .recent-post__new:after {
  position: absolute;
  content: "";
  border-top: 4px solid #b2751b;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  bottom: -4px;
}

.recent-post__new:before {
  left: 14px;
}

.recent-post__new:after {
  right: 18px;
}

/* タグのスタイル（レイアウト変更のため、名前はbottomだけど、一番上にあります */
.recent-post__bottom{
  display:flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-right: 56px;
  margin-bottom: 20px;
}

.recent-post__tag{
  margin-top: 5px;
  display: inline-block;
  text-align: center;
  line-height: 25px;
  border-radius: 2px;
  min-width: 70px;
  width: auto;
  height: 25px;
  color: #fff;
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
}

.recent-post__tag:not(:last-of-type){
  margin-right: 5px;  
}

.recent-post__tag:hover{
  opacity: 0.7;
}

.recent-post__tag-link{
  color: #fff;
  text-decoration: none;
}
a.recent-post__tag-link:hover{
  color:#fff;
}
.bg-green {
  background-color: #00B050;
}
.bg-purple {
  background-color: #78304D;
}
.bg-yellow {
  background-color: #B8A859;
}

.recent-post__date {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #fff;
}

.recent-post__link-to-archive{
  display: block;
  text-align: center;
  font-size: 24px;
  padding-bottom: 60px;
  background-color: #f2f2f2;
}

/* ブログリストページ　ページネーション */
.blog .blog-pagination{
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog .blog-pagination a{
  color: #333;
  font-size: 16px;
  display:flex;
  align-items: center;
  justify-content: center;
  width:42px;
  height:42px;
  border: solid 1px transparent;
  border-radius: 100vh;
}

.blog .blog-pagination a + a{
  margin-left: 20px;
}

@media screen and (max-width: 767px){
  .blog .blog-pagination a{
    font-size: 12px;
    width: 28px;
    height: 28px;
  }
  .blog .row-fluid .content-wrapper{
    padding-right: 0;
  }
  .blog .blog-pagination a + a{
    margin-left: 5px;
  }
}

.blog .blog-pagination svg{
  width: 6px;
  /*   fill:#78304d; */
  fill: #333;
}
@media screen and (max-width: 767px){
  .blog .blog-pagination svg{
    width: 4px;
  }
}

.blog .blog-pagination__number-link:hover,
.blog .blog-pagination__number-link:hover{
  transition: .3s;
  background-color: #333;
  color: #fff;
}

.blog .blog-pagination a:hover svg{
  transition: .3s;
  fill: #fff;
}

.blog .blog-pagination a:last-of-type:hover,
.blog .blog-pagination a:first-of-type:hover{
  transition: .3s;
  background-color: #333;
}



a.blog-pagination__link.blog-pagination__link--active,
a.blog-pagination__link.blog-pagination__link:first-of-type,
a.blog-pagination__link.blog-pagination__link:last-of-type
{
  border-color: #333;
}

a.blog-pagination__link.blog-pagination__link--active{
  pointer-events: none;
}


a.blog-pagination__link.blog-pagination__prev-link.blog-pagination__prev-link--disabled,
a.blog-pagination__link.blog-pagination__next-link.blog-pagination__next-link--disabled
{
  pointer-events: none;
  opacity: 0.7;
}

a.blog-pagination__link.blog-pagination__next-link--disabled{
  font-size; 10px;
}

/* サービスページのアイテム2つずつのカラムに変更 */

.cm-service-layout .cm-col{
  float: none !important;
  margin-left: 0 !important;
}

.cm-three-col-eq-img-module{
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cm-three-col-eq-img-module .cm-col{
  width: 30%;
}

@media screen and (max-width: 767px){
  .cm-three-col-eq-img-module{
    flex-direction: column;
  }

  .cm-three-col-eq-img-module .cm-col{
    width: 100%;
    max-width: 680px;
    margin-left: auto !important;
    margin-right: auto;
  }
}

#hs_cos_wrapper_widget_1509515845491{
  max-width: 920px;
  margin: 0 auto;
}

#hs_cos_wrapper_widget_1509434083964{
  text-align: center;
}
/* コンテンツ幅の最大値を上げたことによって、各物件ページのnext,previousリンクの崩れを修正 */
.building-pager-list{
  width: 100% !important;
  max-width: 1280px !important;
}

/* サービスページの記事 */
.article-list-wrapper span{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.article-list-wrapper span::after{
  content: '';
  width: 30%;
}

/* .hs_cos_wrapper hs_cos_wrapper_widget */
.article-list-wrapper .hs_cos_wrapper_type_module{
  width: 30%;
}

@media screen and (max-width: 767px){
  .article-list-wrapper .hs_cos_wrapper_type_module{
    width: 47%;
  }
  .article-list-wrapper span::after{
    content: '';
    width: 47%;
  }
}

.service-oc-image-wrapper{
  aspect-ratio: 16 / 9;

}

.service-oc-image {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.service-oc-content p{
  text-align: justify;
}

.cm-service-layout .cm-row1-group p:last-of-type{
  margin-bottom: 35px;
}

@media screen and (max-width: 767px){
  .cm-service-layout .cm-row1-group p{
    font-size: 12px;
  }
  .service-one-column h4{
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

/* ブログポストページケータイ表示の時にのサイド余白 */
.hs-blog-post .body-container.container-fluid{
  padding-left: 3%;
  padding-right: 3%;
}

/* フッター　サービスオフィス事業を展開する事業者様へのリンク */
.custom-footer-container-wrapper .cm-footer-col ul.for-service-office{
  margin-top: 20px;
  width: 200px;
  padding: 10px 20px;
  background-color: #007dbc;
  box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);

}

.custom-footer-container-wrapper .cm-footer-col ul.for-service-office li{
  margin-top: 0;
  line-height: 1.4;

}

.custom-footer-container-wrapper .cm-footer-col ul.for-service-office li a{
  color: #fff;
  pointer-events: none;
}

.custom-footer-container-wrapper .cm-footer-col ul.for-service-office li a:before{
  background-position: -56px -234px;
}


/* 2022_12_26 トップページのブログ投稿一覧を一旦非表示 */

/* .home-layout ul.recent-post__list {
  display: none;
} */

.blog ul.recent-post__list {
  display: flex;
  justify-content: center;
}

/* .row-fluid-wrapper .row-depth-1 .row-number-10 {
  display: none !important;
} */

/* p.bl_news__sub-title {
  display: none;
} */

/* h2.bl_news__title {
  display: none;
} */

/* #hs_cos_wrapper_module_167007391668989 {
  display: none;
}

#hs_cos_wrapper_module_1670124825900102 {
  display: none;
} */

/* ローディングアニメーション */
.loading{
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.loading.loaded{
  display: none;
}

/* 各物件ページ 調整　*/
/* .building-layout .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_rich_text{
  overflow: scroll;
} */

.building-layout .row2-wrapper .slick-next, .building-layout .row2-wrapper .slick-prev{
  top:50%;
}
.slick-prev.slick-arrow{
  z-index: 1;
}

/* iphoneリンクが効かない対策 */

a {
  pointer-events: auto;
}
@media screen and (max-width: 767px){
  a.cm-btn:hover {
    opacity: 1;
  } 
}

.room-images .hs_cos_gallery_main.slick-fixed-height-slider .slick-slide{
  background-color: #fff;
}
@media screen and (max-width: 767px){
 .room-images .hs_cos_gallery_main.slick-fixed-height-slider .slick-slide{
   display: flex;
   min-height: 400px;
   align-items: center;
  }
}