@charset "utf-8";

/*-------------------------------------------------------------------------
物件検索
-------------------------------------------------------------------------*/

/* 共通 フリーワード検索
--------------------------- */
[class*="freeword--"] {
    padding: 15px 15px 15px 41px;
    display: flex;
    gap: 22px;
    align-items: center;
}

.freeword--dark {
    background-color: #d4d4d4;
}

.freeword--light {
    background-color: #fff;
}

.freeword__ttl {
    font-size: 20px;
    font-weight: 700;
}

.freeword-form {
    position: relative;
    flex: 1;
}

.freeword-form input[type="text"] {
    height: 50px;
    border-radius: 3px;
    box-shadow: 0 3px 3px rgb(0 0 0 / 10%) inset;
    padding: 0 0 0 20px;
}

.freeword-form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding-inline: 15px;
}

.freeword-form svg {
    width: 30px;
    height: 30px;
}

/* 共通　検索のリスト
--------------------------- */
.search__contents {
    display: none;
}

.search__contents.is-active {
    display: block;
}

.search-section {
    margin: 15px 0 0;
    display: flex;
    align-items: center;
}

.search-section__ttl {
    width: 160px;
    min-width: 160px;
    padding: 0 1em 0 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--sub-font-color);
}
.search01 .search-section__ttl,
.search02__right .search-section__ttl {
    color: var(--dark-color);
}
.search-section__contents {
    padding-block: 5px;
    border-left: 1px solid #d4d4d4;
    padding: 5px 0 5px 23px;
    flex: 1;
}

.search-section__contents.is-light {
    border-left-color: var(--main-font-color);
}

/* 個別に使用する場合あり  */
.links-list {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.links-list__btn {
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    display: block;
    padding: 4px 7px;
    font-size: 14px;
    background: var(--white);
}

.links-list__btn.is-light {
    background-color: #fff;
    border: none;
}

.tab01 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab01__items {
    flex: 1;
}

.tab01__items a {
    display: block;
    font-size: var(--title-large);
    font-weight: bold;
    background: var(--white);
    color: var(--text-subcolor);
    padding: 10px 0 5px;
    text-align: center;
    border: solid var(--sub-color);
    border-width: 1px 1px 5px;
}

.tab01__items.is-active a {
    background: var(--sub-color);
    color: var(--sub-font-color);
}

.search01 .search__tabitems:not(:last-of-type) a {
    border-right: none;
}

.search01 .search__contents {
    width: 1140px;
}

.search01 .search__contents img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 01
--------------------------- */
.search01 {
    border: 1px solid #d4d4d4;
    border-top: none;
    padding: 39px 58px;
}

.type01-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.type01-list__btn {
    height: 58px;
    background-color: var(--sub-color);
    border-radius: 5px;
    box-shadow: 0 3px 6px rgb(9 0 0 / 16%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-font-color);
}

.search01__freeword {
    margin-block: 20px 10px;
}

/* 02
--------------------------- */
.tab02 {
    width: 213px;
    flex-wrap: wrap;
    border-right: 5px solid var(--sub-color);
}

.tab02__items a {
    display: flex;
    width: 210px;
    font-weight: bold;
    background: var(--white);
    color: var(--text-subcolor);
    padding: 9px 25px;
    text-align: center;
    border: solid var(--sub-color);
    border-width: 1px 0 1px 1px;
    align-items: center;
}

.tab02__items.is-active a {
    background: var(--sub-color);
    color: var(--sub-font-color);
}

.tab02__items:not(:last-of-type) a {
    border-bottom: none;
}

.search02 .search__icon {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.search02 .search__icon svg {
    width: 17px;
    height: 17px;
}

.search02 .is-active .search__icon svg {
    fill: var(--sub-color);
}

/* 02
--------------------------- */
.search02 {
    display: flex;
    align-items: flex-start;
}

.search02__right {
    flex: 1;
    background-color: #fff;
    border: 1px solid #d4d4d4;
    padding: 30px;
}

.type02-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 0 33px;
}

[class*="type02-list__btn--"] {
    height: 50px;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.type02-list__btn--main {
    background-color: var(--main-color);
    color: var(--main-font-color);
}

.type02-list__btn--sub {
    background-color: var(--sub-color);
    color: var(--sub-font-color);
}


/* 03
--------------------------- */
.search03 {
    padding: 0 0 30px;
    position: relative;
    z-index: 0;
}

.search03:after {
    content: "";
    width: 100vw;
    height: 60%;
    background-color: var(--main-color);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.search03__contents {
    width: var(--screen-size);
    margin: auto;
}

/* #
--------------------------- */
.type03-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    margin: 0 0 33px;
}

.type03-list__card {
    background-color: #fff;
    border: 1px solid #d4d4d4;
    display: grid;
    gap: 11px;
    grid-row: span 3;
    grid-template-rows: subgrid;
    padding: 14px 10px 10px 10px;
}

.type03-list__ttl {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.type03-list__ttl.is-light {
    color: #707070;
}

.type01-list__icn {
    text-align: center;
}

.type01-list__icn svg {
    width: 43px;
    height: 43px;
    fill: #222;
}

.type01-list__icn.is-light svg {
    fill: #707070;
}

.type03-list__contents {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(2, 1fr);
    margin: 6px 0 0;
}

.type03-list__btn {
    height: 35px;
    background-color: var(--sub-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--sub-font-color);
}

.type03-list__btn.is-light {
    background-color: var(--main-color);
    color: var(--main-font-color);
}


/* 04
--------------------------- */
.search04 {
    display: grid;
    gap: 40px;
    grid-template-columns: 550px 550px;
}

.search04__list {
    display: grid;
    gap: 10px;
    align-content: flex-start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search04__card {
    height: 150px;
    background-color: #fff;
    border: 1px solid #242424;
    display: grid;
    position: relative;
}

.search04__card:hover:after {
    order: 2;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 40%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.search04__card > * {
    grid-area: 1 / 1;
}

.search04__back-panel {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.search04__back-panel svg {
    width: 60px;
    height: 60px;
}

.search04__text {
    font-size: 20px;
    font-weight: 700;
}

.search04__popup {
    order: 1;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    align-items: center;
    place-content: center;
    opacity: 0;
}

.search04__card:hover .search04__popup {
    opacity: 1;
    transition: .4s ease;
}

.search04__popup-btn {
    width: 124px;
    height: 47px;
    background-color: var(--sub-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.search04__btn {
    height: 72px;
    background-color: #fff;
    border: 1px solid #242424;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.search04__btn svg {
    width: 30px;
    height: 30px;
}

.search04__right {
    background-color: #fff;
    border: 1px solid #242424;
    padding: 34px 30px;
}

.search04__section:not(:first-child) {
    margin: 20px 0 0;
}

.search04__ttl {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.search04__sub-ttl {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
}
