@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);#search .rsttop-container.rsttop-container--header {
    display: none;
}


.search-header {
    height: 80px;
    position: relative;
    z-index: 9999;
}

.h-box {
    display: flex;
    justify-content: space-between;
    align-content: center;
    height: 80px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    border-bottom: #eeeeee 1px solid;
}

.h-box__left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 9;
    position: relative;
}

.h-logo {
    width: 56px;
    margin: 0 60px 0 30px;
}

.h-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.h-subnav {
    display: block;
    cursor: pointer;
    position: relative;
    line-height: 1.5;
}

.h-subnav:first-child {
    margin-right: 50px;
}

.h-subnav span {
    margin-right: 50px;
    display: block;
    font-size: 14px;
    pointer-events: none;
    font-weight: bold;
    color: #000;
    position: relative;
}
.h-subnav.show-sub-items span,
.h-subnav:hover span{
    color: #189add;
}

.h-subnav:first-child span:before {
    content: '';
    top: 0;
    right: -25px;
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border-radius: 50%;
    position: absolute;
}

.h-subnav .fa-caret-down {
    position: absolute;
    top: 6px;
    right: -18px;
    font-size: 10px;
}

.h-subnav:first-child .fa-caret-down {
    right: -18px;
}

.h-subnav:nth-child(2) span:before {
    content: '';
    position: absolute;
    background: #cccccc;
    height: 1px;
    width: 30px;
    left: -50px;
    top: 50%;
}

.h-subnav ul {
    display: none;
}

.h-subnav.show-sub-items ul {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #fff;
    position: absolute;
    top: 25px;
    width: 292px;
    border-radius: 5px;
    padding: 15px 15px;
    z-index: 10;
    box-shadow: 0 0 24px rgb(0 0 0 / 10%);
    transition: all 240ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.h-subnav:nth-child(2n) ul {
    width: 345px;
}

.h-subnav ul li a {
    white-space: nowrap;
    display: inline-block;
    transition: all 240ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    padding: 16px 20px;
    margin: 5px 5px;
    color: #000;
    background: #f5f5f5;
    border-radius: 3px;
    text-decoration: none;
}
.h-subnav ul li a:hover{
    color: #FFF;
    background: #189add;
}


/*!*----------------------------------------*!*/
.h-box__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
    background: #fff;
}

.h-mail a {
    border: #eeeeee 1px solid;
    border-radius: 3px;
    margin-right: 24px;
    display: flex;
    height: auto;
    padding: 12px 12px 12px 16px;
    align-items: center;
    width: 126px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    position: relative;
}

.h-mail a i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
}

.h-mail a:hover {
    background: #189add;
    border: #189add 1px solid;
    color: #fff;
}

.h-favorite a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    border-left: #eeeeee 1px solid;
    border-right: #eeeeee 1px solid;
    height: 80px;
    position: relative;
}

.h-favorite .fa-star {
    display: block;
    font-size: 15px;
    color: #000;
}

.h-favorite a:hover {
    text-decoration: none;
}

.h-favorite a:hover .fa-star {
    color: #189add;

}

.h-favorite .fav_number {
    position: absolute;
    color: #FFF;
    font-size: 10px;
    top: 37%;
    left: 65%;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: -0.02rem;
    font-family: aktiv-grotesk, sans-serif;
    font-weight: 700;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(-50%, -50%);
}

.h-favorite .fav_number:before {
    content: '';
    position: absolute;
    background: #189add;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.h-search {
    width: 80px;
    height: 80px;
}

.h-search.show_search_forn {
    width: 280px;
}

.navi__search {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.navi__wordsearch {
    position: relative;
    width: 200px;
    margin-left: 60px;
    margin-right: 20px;
    z-index: 2;
    outline: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    background: transparent;
}

.navi__search .navi__wordsearch {
    display: none;
}

.show_search_forn .navi__search .navi__wordsearch {
    display: block;
}

.navi__search .fa-search {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #000;
}

.navi__search:hover {
    text-decoration: none;
}

.navi__search:hover .fa-search {
    color: #189add;
}

.navi__search input {
    border: 0;
    border-bottom: #000 1px solid;
    display: inline-block;
    padding: 5px;
    width: 150px;
    transition: all 240ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 1;
    pointer-events: all;
}

.navi__search input:focus {
    border: 0;
    border-bottom: #000 1px solid;
}

.navi__search .submit {
    width: 2.6666666667vw;
    height: 2.6666666667vw;
    top: 10px;
    left: -3.3333333333vw;
    padding: 0;
    position: absolute;
    background: transparent;
    opacity: 1;
    pointer-events: all;
    border: 0;
}

.navi__search .close {
    position: relative;
    opacity: 1;
    pointer-events: all;
    width: 33px;
    height: 20px;
    display: inline-block;
    z-index: 2;
    background: #fff;
    border: 0;

}

.navi__search .close:before {
    content: '';
    width: 11px;
    height: 2px;
    left: 50%;
    top: 5px;
    background: #333;
    position: absolute;
    display: block;
    transform: translate(-50%, 0) rotate(
        -45deg
    );
}

.navi__search .close:after {
    content: '';
    width: 11px;
    height: 2px;
    left: 50%;
    top: 5px;
    background: #333;
    position: absolute;
    display: block;
    transform: translate(-50%, 0) rotate(
        45deg
    );
}

.navi__menu {
    border-left: #eeeeee 1px solid;
    display: block;
    text-align: center;
    background: #fff;
    height: 80px;
    position: relative;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: all 240ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 79px;

}

.navi__menu span {
    width: 16px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate(-50%, -50%);
}

.navi__menu .line1 {
    margin-top: -8px;
    transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navi__menu .line3 {
    margin-top: 8px;
    transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*------------------------------------*/
.search-main {
    display: flex;
    justify-content: space-between;
    align-items: initial;
    position: relative;
    z-index: 99;
}

.main-left {
    max-width: 840px;
    /*width: 58.33%;*/
}

.main-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*border-bottom: #eeeeee 1px solid;*/
    padding-bottom: 20px;
    margin: 20px 60px 0;
}

.m-result {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.m-result .title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    vertical-align: middle;
    margin-right: 20px;
    font-size: 12px;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
}
.m-result .title .en{
    margin-right: 6px;
}

.m-result .title span {
    display: inline-block;
    margin-right: 6px;
    font-size: 18px;
}

.m-result .p-result {
    vertical-align: middle;
    display: inline-block;
    padding: 14px 20px;
    position: relative;
    border-radius: 120px;
    width: 140px;
    line-height: 1;
    font-size: 12px;
    font-weight: bold;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-size: 6px 10px;
    background: #f5f5f5 url(https://www.media-pedia.com/assets/images/common/icon-select.svg) right 15px center no-repeat;
    background-size: 6px;
    border: none;
    overflow: hidden;
}

.result__searchbuttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 270px;
}

.result__detailsearch {
    width: 59%;
}

.result__detailsearch a {
    position: relative;
    display: block;
    padding: 12px 30px 12px 0;

    background: #000;
    color: #fff;
    font-weight: bold;
    border-radius: 3px;
    text-align: center;
}

.result__detailsearch a .fa-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
}

.result__detailsearch a:hover {
    text-decoration: none;
    background: #189add;
}

.result__reset {
    width: 37%;
}

.result__reset a {
    display: block;
    text-align: center;
    border: 1px solid #eeeeee;
    padding: 9px 0 10px;
    border-radius: 3px;
    line-height: 1.5;
    color: #000;
    font-weight: bold;
}

.result__reset a:hover {
    text-decoration: none;
    background: #189add;
    color: #fff;
    border: #189add 1px solid;
}

.main-content .box {
    margin: 0 60px;
}

.main-content .box > a {
    padding: 40px 0;
    border-top: #eeeeee 1px solid;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #000;
}

.main-content .box > a:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.main-content .box .img {
    width: 41.67%;
}

.main-content .box .img img {
    width: 100%;
}

.main-content .box .text-box {
    width: 52.78%;
}

.main-content .box .title {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    pointer-events: none;
    margin-bottom: 10px;
    position: relative;
}

.main-content .box .text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    pointer-events: none;
    font-weight: bold;
    color: #a3a3a3;
}

.main-content .box .note {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-right: 12px;
    line-height: 1.4;
    color: #0099e0;
}

.main-content .box .btn-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.main-content .box .btn-area a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    margin-left: 6px;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    font-size: 20px;
    color: #7a7a7a;
    mix-blend-mode: multiply;
    transition: all 240ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.main-content .box .btn-area a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.p-pagination {
    border-top: #eeeeee 1px solid;
    border-bottom: #eeeeee 1px solid;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.p-pagination li:first-child {
    position: absolute;
    left: 0px;
    top: 0;
    width: 80px;
    height: 100%;
    border-right: #eeeeee 1px solid;
}

.p-pagination li:last-child {
    position: absolute;
    right: 0px;
    top: 0;
    width: 80px;
    height: 100%;
    border-left: #eeeeee 1px solid;
    border-right: #eeeeee 1px solid;
}

.p-pagination li:first-child a,
.p-pagination li:last-child a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #000;
}

.p-pagination li:first-child a .fa-long-arrow-left,
.p-pagination li:last-child a .fa-long-arrow-right {
    transition-duration: 0.5s;
}

.p-pagination li:first-child a:hover,
.p-pagination li:last-child a:hover {
    text-decoration: none;
    padding-right: 5px;
}

.p-pagination li:first-child a:hover .fa-long-arrow-left {
    margin-left: -5px;
}

.p-pagination li:last-child a:hover .fa-long-arrow-right {
    margin-right: -5px;
}

.p-pagination li.pagination__item {
    margin: 0;
    width: 30px;
    height: 100%;
    position: relative;
}

.p-pagination li.pagination__item a {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 20px;
    padding: 0;
    vertical-align: middle;
    line-height: 1.4;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-family: aktiv-grotesk, sans-serif;
    font-weight: 700;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 240ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms;
    text-align: center;
    color: #000;
}

.p-pagination li.pagination__item a:hover {
    color: #189add;
    text-decoration: none;
}

.p-pagination li.pagination__item.active a::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/*-----------------------------------------*/
.main-right {
    max-width: calc(100% - 840px);
    width: 100%;
}

.main-right .map {
    width: 100%;
    height: 100%;
    border-left: #eeeeee 1px solid;
}
.map-fixed#map{
    position: fixed;
}

@media all and (max-width: 1200px) {
    .main-left {
        max-width: 100%;
        width: 60%;
    }

    .main-right {
        max-width: 100%;
        width: 40%;
    }

    .main-top {
        margin: 20px 40px 0;
    }

    .main-content .box {
        margin: 0 40px;
    }

    .result__searchbuttons {
        width: 100%;
    }

    .h-mail a {
        font-size: 0;
        border: 0;
        width: 80px;
        border-left: #eeeeee 1px solid;
        height: 80px;
        padding: 0;
        margin: 0;
    }

    .h-mail a i {
        position: absolute;
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%);
        font-size: 15px;
    }
}

@media all and (max-width: 1100px) {
    .main-top {
        display: block;
    }

    .m-result {
        margin-bottom: 15px;
    }
}

@media all and (max-width: 1000px) {

    .search-header {
        height: 160px;
    }

    .h-box__left {
        flex-wrap: wrap;
        width: 100%;
        height:160px;
    }

    .h-logo {
        max-width: 20vw;
        margin: 0 0 0 20px;
        height: 80px;
    }
    .h-logo a{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .h-nav {
        position: relative;
        /* top: 80px; */
        /* left: 0; */
        width: 100%;
        background: #fff;
        height: 80px;
        padding: 0 20px;
        border-top: #eeeeee 1px solid;
        border-bottom: #eeeeee 1px solid;
        flex-wrap: wrap;
        align-items: center;
    }

    .h-box__right {
        width: 70vw;
    }
    .h-subnav.show-sub-items ul{
        top:50px;
    }
    .h-subnav:nth-child(2n) ul {
        width: 345px;
    }
}

@media all and (max-width: 768px) {

    .navi__menu,
    .h-mail a,
    .h-favorite a {
        max-width: 15vw;
    }

    .h-search.show_search_forn {
        width: 25vw;
    }

    .show_search_forn .navi__search .navi__wordsearch {
        width: 20vw;
        margin-left: 4vw;
        margin-right: 1vw;
    }

    .navi__wordsearch {
        width: auto;
        margin: 0 10px;
    }

    .navi__search input {
        width: 15vw;
    }

    .h-search.show_search_forn .navi__search .fa-search {
        left: 1vw;
        font-size: 3vw;
    }

    .h-search.show_search_forn .navi__search .close {
        width: 2.333333vw;
        height: 2.666667vw;
    }
    .h-search.show_search_forn .navi__search .close:before,
    .h-search.show_search_forn .navi__search .close:after{
        width: 2.5vw;
        height: 0.4vw;
    }
    .h-subnav{
        position: initial;
    }
    .h-subnav:nth-child(2) span:before{
        content: none;
    }
    .h-subnav.show-sub-items ul{
        padding: 2%;
        max-width: 280px;
        width: 100%;
        top: 80px;
        left: 20px;
    }
    .h-subnav:first-child {
        width: 100%;
        margin: 0;
    }
    .h-subnav:first-child span{
        display: inline-block;
        font-size: 18px;
    }
    .h-subnav span {
        margin-right: 30px;
    }
    .h-subnav:last-child span {
        margin-right: 15px;
    }
    .h-subnav:first-child span:before{
        top: 3px;
    }

    .h-subnav .fa-caret-down {
        top: 8px;
    }
    .main-right {
        display: none;
    }

    .main-left {
        width: 100%;
    }

    .m-result .title{
        flex-wrap: wrap;
        font-size: 2.6666666667vw;
        line-height: 1.3;
        margin: 0;
    }
    .m-result .title .en{
        display: block;
        width: 100%;
    }
    .m-result .title .ja span{
        font-size: 4.8vw;
    }
    .main-content .box > a {
        display: block;
    }

    .main-content .box .img {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .main-top {
        margin: 20px 10% 0;
    }

    .main-content .box {
        margin: 0 10%;
    }

    .main-content .box .text-box {
        width: 100%;
    }

    .main-content .box .text-box .title {

        font-size: 4.26vw;
    }

    .main-content .box .text-box .text {
        width: 100%;
        font-size: 3.26vw;
    }

    .main-content .box .btn-area .btn-map {
        display: none;
    }

    .main-content .box .btn-area a {
        width: 60px;
        height: 60px;
    }

    .p-pagination li:first-child,
    .p-pagination li:last-child {
        width: 16%;
    }

    .p-pagination li.pagination__item {
        width: 5.33vw;
        height: 5.33vw;
        margin: 0 2%;
    }
}

@media (max-width: 560px){
    .navi__search input {
        width: 14vw;
    }
}

@media (max-width: 450px){
    .navi__search input {
        width: 12vw;
    }
}
@media (max-width: 375px){
    .navi__search input {
        width: 11vw;
    }
}














