@charset "utf-8";

article>section { margin: 1.5em 0; padding: 0 0; }

table.tbl { margin-bottom:2em; font-size: .92em; }
.tbl tr > * { padding:.5em .8em; border:1px solid #ddd; background:#FFF; }
.tbl th { background:#f5f5f5; }

.ttl_line { display:flex; flex-wrap:wrap; align-items: center; width: 100%; margin-bottom:1em; padding-bottom: .2em; font-weight: bold; }
.ttl_line .state {
  display: inline-block; margin-left: 1em; padding: .2em 1em; font-size: .6em; border-radius: 5px; color: #FFF; background-color: #ffa749;
}
.ttl_line .state.state4 { background-color: #c33; }
.ttl_disc { margin-bottom: .5em; font-size: 1.25em; font-weight: bold; }
.ttl_disc::before { content: "●"; margin-right: .2em; font-size: 1rem; color: #ffa749; }
.ttl_bg { position: relative; margin-bottom: .8em; padding: .5em 1em .5em 2em; font-size: 1.25em; font-weight: bold; background: #ffedd3; }
.ttl_bg::before { content: ""; position: absolute; top: 50%; left: 0; width: 1em; height: 2px; background: #ffa749; }


.loginBox { margin: auto; padding: .5em min(2em,6%); max-width: 600px; border:1px solid #f4d3a6; background:#fff2e0; }
.loginBox :is(p,ul) { margin:.6em 0; }
.loginBox .submit { margin:1em 0; }
.loginBox .submit > input { margin: auto; padding: .5em 2em; color:#fff; font-size: 1.1em; background: #2d78de; }

.m_nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: .5em; }
.m_nav a { display: block; padding: .5em 1em; border:1px solid #ddd; }

.news_area { border-radius: 15px; border: 4px solid #f5f5f5; overflow: hidden; }
.news_area .ttl { padding: .2em 1em; font-weight: bold; font-size: 1.4em; color: #FFF; background-color: #ffa749; }
dl.m_news { display: grid; grid-template-columns: auto 1fr; font-size: .88em; padding: 2em 3em 2em 2em; max-height: 250px; line-height: 1.4; overflow-y: auto; gap: 1.5em 1em; }
dl.m_news dd span.bold { display: inline-block; margin-bottom: .5em; font-size: 1.12em; }
dl.m_news span[class^="cat-"] { display: inline-block; margin-bottom: .5em; margin-right: .5em; padding: .4em 1em .3em; font-size: .88em; border-radius: 5px; color: #FFF; background-color:#ffa749; }
dl.m_news span[class^="cat-2_"] { background-color: #00bf6c; }
dl.m_news span[class^="cat-3_"] { background-color: #2d78de; }

/* 会員特典 */
.benefit {
  margin-bottom: 3em;
  .ttl {
    padding-block: .4em; font-size: clamp(20px,4vw,24px); font-weight: bold; background-color: #fed917;
  }
  .benefit-list {
    display: grid; grid-template-columns: repeat(2,1fr); column-gap: 2.5em; row-gap: 1.2em; counter-reset: num; padding: 1em 1.7em 1.5em;  background-color: #fffef0;
    > li {
      counter-increment: num; min-height: 56px; padding-left: 4.2em; line-height: 1.5;break-inside:avoid; position: relative;
      .label {
        position: absolute; left: 0; padding: .2em .5em 2.6em; font-size: .8em; color: #fff; background-color: #ff7d19; clip-path: polygon(100% 0, 100% 100%, 50% 85%, 0 100%, 0 0);
        &::after { content: counter(num); position: absolute; top: .9em; left: 50%; transform: translateX(-50%); padding-left: 1px; font-size: 1.5em; font-weight: bold; }
      }
    }
  }
}

/* バナー */
/* .bnr_area { margin-bottom: clamp(32px,3.2vw,48px);} */
.bnr_area img { max-width: 350px; }

/*物件リスト*/
.bukkenList { display: grid; gap:30px 10px; grid-template-columns: repeat(3, 1fr); }

.bukkenList li figure{ position:relative; }
.bukkenList .name { margin-top: .5em; margin-bottom: .8em; padding-bottom: .5em; font-size: 1.12em; border-bottom: 1px solid #dddddd; font-weight: bold; }
.bukkenList .txt { margin-top: .8em; }
.bukkenList + .btn_con { margin-top: 1.5em; }

.gender { position: absolute; top: 0; left: 0; font-size: .875em;
  line-height: 2.5; padding:0 1em; color:#fff;  }
.gender.ml     { background-color:#ffa749; }
.gender.mens   { background-color:#41a1be; }
.gender.ladies { background-color:#ff5f83; }

.btn_pdf { position: relative; display: inline-block; padding: .2em .8em .2em 2em; font-weight: bold; background: #ff7d19; color: #ffffff; border-radius: 5px; cursor: pointer; }
.btn_pdf::before {
  content: ""; position: absolute; width: 14px; height: 18px; top: 9px; left: 10px; background: url(../img/pdf-file.png) center / 100% no-repeat;
}

.complete { position: relative; margin-top: 3em; margin-inline: 2em; padding: 2em; background: #fff6e9; text-align: center; border-radius: 15px; border: 2px solid #ff7d19; border-width: 5px 2px 2px; }
.complete.state-4 { border-color: #c33; }
.complete.state-4 .ttl { color: #c33; }
/* .complete::before { content: ""; position: absolute; top: 2px; left: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border: 1px solid #ffa749; } */
.complete .ttl { font-size: 1.25em; line-height: 1.6; color: #ff7d19; font-weight: bold; }
.complete .btn_li { margin-top: 2em; }
.complete .telBox { margin-top: 1em; padding: 1em; border-top: none; border-radius: 15px; background: #ffe5d3; }
.complete .telBox .txt { font-size: 1em; }
.complete .telBox .tel { font-size: 2em; }

.flow_li { counter-reset: number 0; text-align: left; }
.flow_li li { position: relative; padding: .5em 1em .5em 7.5em; border-radius: 10px; background-color: #FFF; }
.flow_li li::before {
  counter-increment: number 1; content: "STEP" counter(number); position: absolute; top: .7em; left: 1em; padding: .2em 1.5em; font-size: .8em; border-radius: 5px; color: #FFF; background-color: #ffa749;
}
.flow_li li + li { margin-top: .4em; }


/* 959px 以下 ------------------------ */
@media screen and (max-width: 959px) {
  .bukkenList { grid-template-columns: repeat(2, 1fr); }
  .bukkenList.notAll li:nth-child(n+3) { display: none; }

  .benefit {
    .benefit-list { padding-inline: 1em;}
  }
}
/* 599px 以下 ------------------------ */
@media screen and (max-width: 599px) {

  .tbl:is(.mail,.simulation) tr > * { white-space: nowrap; }

  .loginBox .submit > input { width:100%; }

  dl.m_news { padding: 2em 1em; }
  .m_nav { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); font-size: .92em; }

  /* 会員特典 */
  .benefit {
    .benefit-list {
      grid-template-columns: 1fr; row-gap: 1.5em;
      > li { min-height: 45px;}
    }
  }

.complete { margin-top: 2em; margin-inline: 0; padding: 1.5em 1em; }
.complete .btn_li { margin-top: 2em; margin-bottom: 0; border-width: 4px 2px 2px; }

.flow_li li { padding: 2em 1em .5em 1em; }
.flow_li li::before { top: 0; border-radius: 0 0 5px 5px; }
.bnr_area img { max-width: 100%; }
}