.input-select-form-a__login {
    width: calc((100% - 15rem) / 2);
}
.input-select-form-a__login--estates {
    margin-bottom: 10rem;
}
.input-select-form-a__login--estates:last-of-type {
    margin-bottom: 0;
}
.input-select-block-a__login {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}
.input-select-block-a__login::after{
    content: '';
    display: block;
    background-image: url(../../images/icon/footer-link-arrow.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 6rem;
    height: 12rem;
    transform: rotate(90deg);
    position: absolute;
    top: calc(50% - 6rem);
    right: 15rem;
    pointer-events: none;
}
.input-select-block-a__login::before{
    content: '';
    display: block;
    position: absolute;
    width: 1rem;
    height: 100%;
    background-color: var(--csGrayLine);
    top: 0;
    right: 36rem;
}
.input-select-a__login {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 100%;
    height: 40rem;
    border: 1rem solid var(--csGrayLine);
    border-radius: 6rem;
    padding-left: 14rem;
    font-size: 12rem;
    line-height: 1.4em;
    letter-spacing: 0.04em;
    color: var(--csBlack);
    background-color: var(--csWhite);
    cursor: pointer;
}
.input-select-area-a__login {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}
.input-select-form-a__login {
    width: calc((100% - 15rem) / 2);
}
.regist-term-btn-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}
.regist-term-btn {
    background-color: red;
    color: #fff;
    width: 50%;
    height: 40rem;
    border-radius: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12rem;
    letter-spacing: 1px;
    cursor: pointer;
}
.estate-search-terms-screen-black {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 2;
    min-height: 100%;
    min-width: 100%;
    display: none;
}
.estate-search-terms-screen-black--visible {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cancel-scroll {
    overflow-y: hidden;
    height: 100vh;
}
.estate-search-terms-wrap {
    display: flex;
    flex-wrap: wrap;
}
.estate-search-terms-modal {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    background-color: var(--csWhite);
    width: 335rem;
    padding: 30rem 40rem;
    border-radius: 10rem;
    z-index: 3;
}
.estate-search-terms-modal__close-btn {
    position: absolute;
    top: 15rem;
    right: 15rem;
    width: 18rem;
}
.estate-search-terms-modal__contents {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.estate-search-terms-modal__text {
    font-family: 'Hiragino Kaku Gothic Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #282B2D;
    margin-bottom: 20px;
}
.estate-search-terms-modal__mypage-link-area {
    width: 100%
}
.estate-search-terms-modal__mypage-link {
    display: block;
    position: relative;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--csRed);
    border-radius: 6rem;
}
.estate-search-terms-modal__mypage-link-text {
    display: flex;
    align-items: center;
    font-size: 14rem;
    font-weight: 300;
    color: white;
}
.estate-search-terms-modal__mypage-link-icon {
    position: absolute;
    background-image: url(/app/wp-content/themes/clinicstation/assets/images/icon/white-btn-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 17px;
    right: 15px;
    width: 14rem;
    height: 14rem;
    margin-left: 12rem;
}

@media screen and (min-width: 600px) {
    .input-select-a__login{
        height: 44rem;
        font-size: 14rem;
    }
    .input-select-area-a__login {
        display: flex;
        justify-content: space-between;
        width: 573rem;
        flex-wrap: nowrap;
        order: 3;
    }
    .input-select-area-a__login--estates {
        width: 866rem;
    }
    .input-select-form-a__login {
        margin-right: 15px;
    }
    .input-select-form-a__login--estates {
        margin-bottom: 0;
    }
    .regist-term-btn-wrap {
        width: calc((100% - 15rem) / 2);
        margin-top: 0px;
    }
    .regist-term-btn {
        width: 100%;
        height: 44rem;
        font-size: 14rem;
    }
    .estate-search-terms-wrap {
        max-width: 1060rem;
        margin: 0 auto;
    }
    .estate-search-terms-modal {
        flex-direction: row;
        width: 600rem;
        padding: 60rem 90rem;
    }
    .estate-search-terms-modal__text {
        font-size: 18px;
    }
    .estate-search-terms-modal__mypage-link {
        height: 48rem;
    }
}

/* 関連リンク */
.content-block__body--estate-relation {
    padding: 0 0 80rem;
}
.estate-relation {
    padding: 0 20rem;
}
.estate-relation__title {
    font-size: 16rem;
    font-weight: bold;
    line-height: 140%;
    letter-spacing: 0.04em;
    border-bottom: 2rem solid var(--csGrayLine);
    padding-bottom: 20rem;
}
.estate-relation__item {
    height: 100%;
    border-bottom: 1rem solid var(--csGrayLine);
}
.estate-relation__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14rem;
    line-height: 150%;
    letter-spacing: 0.04em;
    padding: 18rem 0;
    color: var(--csBlack);
}
.estate-relation__link::after {
    display: block;
    content: '';
    background-image: url(../../images/icon/footer-link-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 5rem;
    height: 10rem;
}
@media screen and (min-width: 600px) {
    .content-block__body--estate-relation {
        padding: 0 0 120rem;
    }
    .estate-relation {
        padding: 0;
    }
    .estate-relation__title {
        border-bottom: 1rem solid var(--csGrayLine);
        padding-bottom: 18.5rem;
        margin-bottom: 30.5rem;
    }
    .estate-relation__list {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .estate-relation__item {
        border-bottom: none;
        margin: 0 34rem 10rem 0;
    }
    .estate-relation__link {
        display: block;
        padding: 0;
    }
    .estate-relation__link::after {
        display: none;
    }
}


/* リード文 */
.estate-lead__text-link {
    color: var(--csRed);
    display: inline;
    text-decoration: underline;
    font-weight: bold;
}
@media screen and (min-width: 600px) {
    .content-block__body--estate-lead {
        padding: 60rem 0 50rem;
    }
}


/* アコーディオン */
.content-block__body--estate-accordion {
    padding: 0 0 40rem;
}
.estate-accordion {
    padding: 0 20rem;
}
.estate-accordion__list {
    display: flex;
    flex-wrap: wrap;
    padding-top: 18rem;
    border-top: 1px solid var(--csGrayLine);
    width: 100%;
}
.estate-accordion__item {
    margin: 0 5rem 18rem 0;
    padding: 0 5rem;
}
.estate-accordion__item-link {
    display: block;
}
.estate-accordion__item-text {
    display: flex;
    align-items: center;
    color: var(--csBlack);
    font-size: 14rem;
    line-height: 100%;
    letter-spacing: 0.1em;
}
.estate-accordion__item-text::after {
    display: block;
    content: '';
    background-image: url(../../images/estate/link-arrow.svg);
    background-size: cover;
    width: 5rem;
    height: 10rem;
    margin-left: 8rem;
}
.estate-accordion__item-link {
    display: block;
}
.faq__item{
    border-top: 1rem solid var(--csGrayLine);
}
.faq__item:last-of-type{
    border-bottom: 1rem solid var(--csGrayLine);
}
.faq__question-text{
    display: flex;
    position: relative;
    font-size: 16rem;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.04em;
    padding: 19.5rem 6rem 19.5rem 5rem;
}
.faq__question-text::after{
    content: "";
    display: block;
    background-image: url(../../images/icon/plus-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12rem;
    height: 12rem;
    position: absolute;
    top: calc((100% / 2) - 6rem);
    right: 6rem;
}
.faq__question-text--minus::after{
    content: "";
    display: block;
    background-image: url(../../images/icon/minus-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12rem;
    height: 2rem;
    position: absolute;
    top: calc((100% / 2) - 1rem);
    right: 6rem;
}
.faq__question-text:hover {
    cursor: pointer;
}
.faq__answer-text{
    display: flex;
    height: 0;
    transition: all 1s ease-out;
    overflow: hidden;
    opacity: 0;
}
.faq__answer-text--open{
    height: auto;
    height: fit-content;
    opacity: unset;
}
@media screen and (min-width: 600px) {
    .content-block__body--estate-accordion {
        padding: 0 0 80rem;
    }
    .estate-accordion__list {
        padding: 25rem 15rem 5rem;
    }
    .estate-accordion__item {
        margin: 0 25rem 20rem 0;
    }
    .estate-accordion__item-text {
        font-size: 16rem;
    }
    .estate-accordion__item-text::after {
        margin-left: 10rem;
    }
    .faq__question-text{
        font-size: 18rem;
        line-height: 130%;
        letter-spacing: 0.04em;
        padding: 22.5rem 26rem 22.5rem 20rem;
    }
    .faq__question-text::after{
        right: 26rem;
    }
    .faq__answer-text{
        font-size: 16rem;
        line-height: 180%;
        letter-spacing: 0.1em;
    }
}