@import url('search-spot.css');


.yosakoinet-common .block-search-result
{
    display: block;
}




.yosakoinet-common .block-search-result .categories
{
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.yosakoinet-common .block-search-result .categories li
{
    box-sizing: border-box;
    display: block;
    margin: 50px 0 0 0;
    padding: 50px 0;
    position: relative;
    width: 100%;
}


.yosakoinet-common .block-search-result .categories li .photos
{
    display: flex;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.yosakoinet-common .block-search-result .categories li:nth-child(2n) .photos
{
    flex-direction: row-reverse;
}
.yosakoinet-common .block-search-result .categories li .photos > div
{
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    flex-wrap: wrap;
    height: 100%;
    width: 50%;
}
.yosakoinet-common .block-search-result .categories li .photos .photo
{
    background-position: center;
    background-size: cover;
}
.yosakoinet-common .block-search-result .categories li .photos > .photo
{
    height: 100%;
    width: 50%;
}
.yosakoinet-common .block-search-result .categories li .photos > div .photo:nth-child(1)
{
    height: 50%;
    width: 100%;
}
.yosakoinet-common .block-search-result .categories li .photos > div .photo:nth-child(2)
{
    height: 50%;
    width: 50%;
}
.yosakoinet-common .block-search-result .categories li .photos > div .photo:nth-child(3)
{
    height: 50%;
    width: 50%;
}


.yosakoinet-common .block-search-result .categories li .descriptions
{
    background: rgba(255,255,255,0.9);
    box-sizing: border-box;
    margin: 0 0 0 5%;
    padding: 30px;
    position: relative;
    width: 40%;
}
.yosakoinet-common .block-search-result .categories li:nth-child(2n) .descriptions
{
    margin: 0 0 0 55%;
}
.yosakoinet-common .block-search-result .categories li .descriptions::after
{
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #d24347 transparent transparent;
    content: '';
    display: block;
    height: 0;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 0;
}
.yosakoinet-common .block-search-result .categories li .descriptions h3
{
    border-bottom: #d24347 2px dashed;
    color: #d24347;
    font-size: 3em;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
}
.yosakoinet-common .block-search-result .categories li .descriptions div
{
    color: #666;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 10px 0 20px 0;
    text-align: left;
}
.yosakoinet-common .block-search-result .categories li .descriptions a
{
    color: #fff;
    background: #d24347;
    border: 1px solid #d24347;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    padding: 10px 0;
    width: 50%;
    text-decoration: none;
}
.yosakoinet-common .block-search-result .categories li .descriptions a:hover
{
    color: #d24347;
    background: #fff;
}





/******************************************* 総選挙へのリンク ******************************************/
.yosakoinet-common .block-link-sousenkyo
{
    background: #fdd000;
}
