@charset "UTF-8";

html {
  scroll-behavior: smooth;
}
:target::before{
  content: '';
  margin-top: -77px;
  height: 77px;
  display: block;
  visibility: hidden;
}

section{
  padding: 0;
}
.example_staff .index-staff{
  padding: 136px 0 100px;
}
.index-staff .staff-members{
  display: flex;
  align-items: center;
  justify-content: center;
}
.example_staff--title{
  text-align: center;
}

.ex_main{
  max-width: 800px;
  width: 90%;
  margin: auto;
  padding: 120px 0 0;
  line-height: 180%;
  font-size: 1.14286rem;

  .o-text {
    text-align: center;
    color: #e47451;
    font-size: 1.44286rem;
  }

  .a-text {
    background: #5ab4bd;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    padding: 20px;
    position: relative;
    margin-block: 60px;
    font-size: 1.44286rem;

    &::after {
      content: "";
      background: url(../img/sozai.png) no-repeat center/contain;
      width: 161px;
      height: 174px;
      display: flex;
      position: absolute;
      right: -0px;
      bottom: -50px;
    }
  }

  .l-text {
    padding-block: 0 60px;
  }
}

.comment {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  p {
    width: 100%;
    background: #d9d9d9;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      border-style: solid;
      border-width: 20px 10px 0 10px;
      border-color: #dedede transparent transparent;
      translate: -50% 100%;
    }
  }
}

.ex_btn {
    background-image: linear-gradient(130deg, #40c3ac 0%, #50acb7 100%);
    position: fixed;
    top: 182px;
    right: 13px;
    display: flex;
    width: 70px;
    height: 290px;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 6px 6px 0 white;
    color: #fff;

    p {
      writing-mode: vertical-rl;
      text-orientation: upright;
      &::before{
        content: "";
        display: inline-block;
        width: 25px;
        height: 25px;
        margin-bottom: 11px;
        background: url(../img/ex_aicon.png) no-repeat;
        background-size: contain;
      }
    }
}
.dm {
  top: 500px !important;
}

.ex_img {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;

  figcaption {
    text-align: center;
    line-height: 1.6;
    font-size: 1.14286rem;
    padding-top: 10px;
  }
}

.ex_bot--text {
  width: 100vw;
  margin-inline: calc( 49% - 50vw);
  background: #5ab4bd;
  padding-block: 60px;
  margin-top: 40px;

  p {
    color: #fff;
    max-width: 800px;
    width: 100%;
    margin: auto;
    line-height: 180%;
    font-size: 1.14286rem;
    position: relative;

    &::before {
      content: "";
      background: url(../img/house.png) no-repeat center/contain;
      width: 314px;
      height: 238px;
      display: flex;
      position: absolute;
      right: -180px;
      bottom: -180px;
    }
  }
}

.fukidasi {
  position: relative;
  border-bottom: 2px solid #5ab4bd;
  margin-bottom: 60px;
  &::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 20px 10px 0 10px;
    border-color: #5ab4bd transparent transparent;
    translate: -50% 100%;
  }
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 15.5px 7.8px 0 7.8px;
    border-color: #ffffff transparent transparent;
    translate: -50% 100%;
  }
}

/* タブ */
.tab_list{
  max-width: 1100px;
  width: 90%;
  margin: 80px auto;

  h2 {
    font-size: 2.14286rem;
    font-weight: 400;
    margin-bottom: 40px;
  }
  
}
.tab_content {
  display: none;
}

.active {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 100px;
}



.tab_item.selected {
  background: #5ab4bd;
  transition: .5s all;
  color: #fff;
}

.tab_item {
  width: calc( 100% / 5.3 );
  border: 1px solid #5ab4bd;
  border-bottom: 0;
  background: #fff;
  height: 50px;
  border-radius: 10px 10px 0 0;
  font-size: 1.14286rem;
  margin-right: 7px;
  transition: .5s all;
  &:hover {
    cursor: pointer;
  }
}
.tab_content {
  border-top: 2px solid #5ab4bd;
  padding: 30px 20px;

  h3 {
    font-size: 1.14286rem;
  }
  
}
.tab_content--list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  li {
    text-indent: -1em;
    padding-left: 1em;
    font-size: 1.14286rem;
    line-height: 1.6;
  }
  a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    opacity: 1;

    &:link,
    &:visited{
      color: #000;
    }

    &:hover{
      text-decoration: none;
    }
  }


}
.tab_content--box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list_bb{
  width: 100%;
  text-align: left;
  background: -webkit-linear-gradient(130deg, #50acb7 0%, #40c3ac 100%);
  border: none;
  font-size: 1.6rem;
  padding: 20px 40px;
  position: relative;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}


.tab_role{
  background: #fff;
  border-radius: 8px;
  margin-top: 0;
  color: #000;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease, margin .35s ease;
  position: relative;

}
.list_bb[aria-expanded="true"] + .tab_role{
  max-height: 1000px;
  padding-top: 40px;
  margin-top: .8rem;
  opacity: 1;
}

.wrap{
  display:flex;
  gap: 20px;
  font-size: 1.14286rem;
  
}

/* Sidebar */
.aside_ex{
  position:sticky;
  width: 360px;
}
.aside_ex--panel{
  background: #5ab4bd;
  overflow:hidden;
  color: #fff;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 500;

  label{
    display:block;
    color: #fff;
    margin:0 0 6px;
    margin-left: 10px;
  }
   select,input[type="search"]{
    width:100%;
    border:1px solid var(--line);
    border-radius:14px;
    padding:10px 12px;
    outline:none;
    font-size: 1rem;
    font-weight: 500;

  }
  select:focus, input[type="search"]:focus{
    border-color: rgba(106,166,255,.85);
    box-shadow:0 0 0 3px rgba(106,166,255,.18);
  }
  select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("/assets/images/common/icon_arrow_bot.png");
    background-repeat: no-repeat;
    background-size: 12px auto;
    background-position: right 12px center;
  }
  select::-ms-expand {
    display: none;
  }

}

.panel_inner{
  display: flex;
  flex-direction: column;
  gap: 20px;

  .row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
  }
}

.btns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:6px;
}
.btn{
  border:1px solid var(--line);
  background: #fff;
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  transition:.15s ease;
  user-select:none;
}
.btn:hover{ 
  opacity: .7;
}
.btn.primary{
  background-image: linear-gradient(130deg, #50acb7 0%, #40c3ac 100%);
  border: #fff 1px solid;
  color: #fff;
  position: relative;

  &::after {
    content: "";
    background: url(../img/search.png) no-repeat center/contain;
    width: 16px;
    height: 16px;
    display: flex;
    position: absolute;
    right: 14px;
    top: 50%;
    translate: 0 -50%;
  }
}
.chips{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  padding:10px 14px 14px;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:6px 10px;
  border-radius:999px;
  color:var(--muted);
}


/* Main content */

.result-panel{
  width: 100%;

  .sikaku{
    color: #5ab4bd;
  }
}

/* カテゴリータグ */
.cat_tag{
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.85714rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: #999;
}
.cat_tag.cat-land{ background: #e3963e; }      /* 土地 */
.cat_tag.cat-house{ background: #6bbf59; }      /* 戸建て */
.cat_tag.cat-mansion{ background: #5ab4bd; }    /* 区分マンション */
.cat_tag.cat-income{ background: #7d78c8; }     /* 一棟収益不動産 */
.cat_tag.cat-other{ background: #999; }         /* その他 */

.sort{
  border:1px solid var(--line);
  background: #fff;
  border-radius:999px;
  padding:8px 10px;
  color:var(--muted);
}

/* Tabs */
.tabs_bar{
  display:flex;
  gap: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid #5ab4bd;
}
.tab{
  border: 1px solid #5ab4bd;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
  width: calc(100% / 6);
  margin: auto;
  text-align: center;
  cursor: pointer;
  justify-content: center;
  padding-block: 10px;
  font-weight: 600;
}
.tab.active{
  border-color: #fff;
  background: #5ab4bd;
  color: #fff;
}

/* Grouped results */
.groups{ display:grid; gap:10px; }
.group{
  overflow:hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.group-head{
  display: flex;
  border-bottom: 1px solid #5ab4bd;
  padding-bottom: 10px;
}

.grid-in-group{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 10px ;
  margin-top: 20px;

  .card {
    width: calc(33.333% - 20px);

    &:hover {
      opacity: 1;   
      .t {
        text-decoration: none;
      }
    }
  }
  div.card .t {
    text-decoration: none;
  }
  .top {
    display: flex;
    gap: 5px;
    flex-direction: column;

    .t {
      margin-bottom: 5px;
      color: #5ab4bd;
      text-decoration: underline;
      text-underline-offset: 0.2em;
    }

    .top_cost,
    .top_area {
      font-size: 1rem;
    }
  }
}

.kv{
  color:var(--muted);
  display:grid;
  gap:2px;
}
.empty{
  margin-top: 10px;
}




@media screen and (max-width: 767px){

  .ex_main{
    padding: 40px 0 0;
    line-height: 180%;
    font-size: 1rem;
  }

  .comment {
    margin-bottom: 30px;
    p {
      line-height: 1.6;
      font-size: 1rem;
    }
  }
  .ex_main {
    .o-text {
      font-size: 1.21429rem;
    }
    .a-text {
      padding: 20px 5%;
      position: relative;
      margin-block: 30px;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 1.07143rem;
      &::after {
        position: static;
        text-align: center;
      }
    }
    .l-text {
      padding-block: 0 30px;
      line-height: 1.6;
      font-size: 1rem;
    }
  }

  .ex_bot--text {
    padding-block: 30px;
    margin-top: 20px;
    margin-bottom: 160px;
    p {
      width: 90%;
      padding-bottom: 40px;

      &::before {
        content: "";
        width: 250px;
        height: 238px;
        right: 0px;
        bottom: -180px;
      }
    }
  }

  .ex_img {
    gap: 30px;

    figcaption {
      padding-top: 0;
    }
  }

  .tab_item {
    width: calc(100% / 3 - 10px);
    margin-right: 0;
    font-size: 0.85714rem;
  }

  .tab_content{
    padding: 20px 5%;
    flex-direction: column;
  }

  .active {
    gap: 10px;
  }
  .tab_content--box{
    gap: 10px;
  }
  .tab_list{
    margin: 40px auto 0;
    h2{
      font-size: 1.28571rem;
    }
  }

  .wrap{
    flex-direction: column;
  }
  .ex_btn {
    display: none;
  }

  .aside_ex {
    width: 100%;
  }
  .result-panel {
    max-width: 100%;
  }
  .tab {
    width: calc(50% - 10px );
    border-radius: 10px;
    border: 1px solid #5ab4bd;
  }
  .tabs_bar {
    flex-wrap: wrap;
    border-bottom: 0;
  }
  .groups {
    margin-block: 0 50px;
  }
  .grid-in-group {
    .top {
      .t {
        line-height: 1.6;
        font-size: 1rem;
      } 
    }
    .card {
      width: calc(50% - 10px);
    }
  }
}
@media screen and (max-width: 340px) {
  .tab_item {
    font-size: 0.75714rem;
  }
}