@charset "utf-8";
/* for election style */
/*------------------------------
　ページ共通
------------------------------*/
#senkyo_hokkaido {
    /* background: #efefef; */
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 14px;
    color: #333333;
    line-height: 1.7;
}

#senkyo_hokkaido .inner {
    max-width: 1280px;
    margin: 0 auto;
}

#senkyo_hokkaido .clrTxt {
    text-indent: -10000px;
    text-decoration: none;
    overflow: hidden;
    line-height: 0;
}

#senkyo_hokkaido #head {
    background: url("../images/main_header_bg.jpg?202304071736") top center no-repeat;
    background-size: cover;
    position: relative;
}

#senkyo_hokkaido #head h1 {
    background: url("../images/main_header.png?202304071736") top center no-repeat;
    background-size: cover;
    width: 100%;
    padding-top: 21.093%;
}

#senkyo_hokkaido #head:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 60px;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    bottom: 0;
}

#senkyo_hokkaido #content {
    padding: 40px 10px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*------------------------------
　メインエリア
------------------------------*/
#senkyo_hokkaido #mainCont {
    width: 63%;
    max-width: 790px;
}

#senkyo_hokkaido #mainCont .section {
    /* padding: 15px; */
    /* background-color: #fcfcfc; */
    /* box-sizing: border-box; */
}

#senkyo_hokkaido #mainCont .outline {
    font-size: 1.6rem;
}

.outline .ttl {
    color: #e11349;
    border-bottom: 1px solid;
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 0.6em;
    padding-bottom: 0.2em;
    letter-spacing: 0.1em;
}

/*------------------------------
　募集もの
------------------------------*/
#senkyo_hokkaido .application {
    margin-bottom: 30px;
    padding: 20px 10px;
    border-radius: 5px;
    border: 3px solid #e2e2e2;
}

#senkyo_hokkaido .application .ttl {
    margin-bottom: 10px;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
}

#senkyo_hokkaido .application ul {
    padding: 0px 10px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#senkyo_hokkaido .application li {
    width: 49%;
}

#senkyo_hokkaido .application a {
    display: block;
    transition: 0.3s;
}

#senkyo_hokkaido .application a:hover {
    opacity: 0.8;
}

#senkyo_hokkaido .application img {
    width: 100%;
    vertical-align: bottom;
}

#senkyo_hokkaido #mainCont .section > .movie {
    margin-bottom: 30px;
}

#senkyo_hokkaido #mainCont .ytCont {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

#senkyo_hokkaido #mainCont .ytCont iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

#senkyo_hokkaido #mainCont .movieComment {
    background: #e11349;
    width: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 0.4em 0;
    text-align: center;
    box-sizing: border-box;
    text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.2);
}

/*------------------------------
　サブエリア
------------------------------*/
#senkyo_hokkaido #subCont {
    width: 35%;
    max-width: 440px;
}

/*--------------------
　立候補者一覧
--------------------*/
/*----- タブ -----*/
#senkyo_hokkaido .tabWrap {
    position: relative;
    border-bottom: 3px solid #ff0037;
    padding: 0 20px;
}

#senkyo_hokkaido .tabContainer {
    overflow-x: hidden;
    margin: 0 auto;
    display: flex;
}

#senkyo_hokkaido .tabContainer::-webkit-scrollbar {
    display: none;
}

#senkyo_hokkaido .tab {
    display: flex;
}

#senkyo_hokkaido .tabBtn {
    text-align: center;
    background: #ffa1b5;
    vertical-align: middle;
    min-width: 57px;
    padding: .5em;
    margin: 0 1px;
    box-sizing: border-box;
    border-radius: 5px 5px 0 0;
    transition: .3s;
    color: #fff;
    cursor: pointer;
}

#senkyo_hokkaido .tabBtn:hover {
    background: #ff567a;
}

#senkyo_hokkaido .tabBtn.current {
    background: #ff0037;
}

#senkyo_hokkaido .prev, #senkyo_hokkaido .next {
    position: absolute;
    width: 20px;
    height: 100%;
    background: #333333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

#senkyo_hokkaido .prev:hover, #senkyo_hokkaido .next:hover {
    background: #555555;
}

#senkyo_hokkaido .prev {
    top: 0;
    left: 0;
}

#senkyo_hokkaido .next {
    right: 0;
    top: 0;
}

#senkyo_hokkaido .gray {
    background: #aaa;
    color: #ccc;
}

#senkyo_hokkaido .gray:hover {
    background: #aaa;
    color: #ccc;
}

/*----- 立候補者リスト -----*/

#senkyo_hokkaido #subCont .contents {
    overflow: hidden;
}

#senkyo_hokkaido .election {
    opacity: 0;
    transition: .3s;
}

#senkyo_hokkaido .election.current {
    opacity: 1;
}

#senkyo_hokkaido .election .areaPh img {
    transform: scale(1);
    transition: .4s .3s;
    width: 100%;
}

#senkyo_hokkaido .election.current .areaPh img {
    transform: scale(1.2);
}

#senkyo_hokkaido .election .info dl {
    position: relative;
}

#senkyo_hokkaido .election .info dl > * {
    position: relative;
    z-index: 1;
}

#senkyo_hokkaido .election .info dl:before {
    content: "";
    width: 0;
    height: 100%;
    background: rgb(255 255 255 / 60%);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    opacity: .5;
    transition: .2s .5s;
}

#senkyo_hokkaido .election.current .info dl:before {
    width: 100%;
    opacity: 1;
}

#senkyo_hokkaido .election .info dt {
    opacity: 0;
    transform: translateY(10px);
    transition: .3s .7s;
    line-height: 1.3;
    margin-bottom: 5px;
}

#senkyo_hokkaido .election.current .info dt {
    transform: translateY(0);
    opacity: 1;
}

#senkyo_hokkaido .election .info dd {
    opacity: 0;
    transition: .3s .9s;
}

#senkyo_hokkaido .election.current .info dd {
    opacity: 1;
}

#senkyo_hokkaido .election .list li {
    opacity: 0;
    transform: translateY(10px);
    transition: .2s .9s opacity,.2s .9s transform,0.3s 0s background;
}

#senkyo_hokkaido .election .list li:nth-of-type(2) {
    transition-delay: 1.1s,1.1s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(3) {
    transition-delay: 1.3s,1.3s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(4) {
    transition-delay: 1.5s,1.5s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(5) {
    transition-delay: 1.7s,1.7s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(6) {
    transition-delay: 1.9s,1.9s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(7) {
    transition-delay: 2.1s,2.1s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(8) {
    transition-delay: 2.3s,2.3s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(9) {
    transition-delay: 2.5s,2.5s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(10) {
    transition-delay: 2.7s,2.7s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(11) {
    transition-delay: 2.9s,2.9s,0s;
}

#senkyo_hokkaido .election .list li:nth-of-type(12) {
    transition-delay: 3.1s,3.1s,0s;
}

#senkyo_hokkaido .election.current .list li {
    opacity: 1;
    transform: translateY(0);
}

#senkyo_hokkaido .election {
    background: #fff;
    box-sizing: border-box;
}

#senkyo_hokkaido .election .areaPh {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
}

#senkyo_hokkaido .election .areaPh:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(0deg, #fff 0%, rgb(239 239 239 / 0%) 100%);
    z-index: 1;
}

#senkyo_hokkaido .election .info {
    text-align: center;
    padding: 20px 0;
    position: relative;
}

#senkyo_hokkaido .election .info dl {
    padding: 15px 10px;
}

#senkyo_hokkaido .election .info dt {
    font-size: 220%;
    font-weight: bold;
    text-shadow: 0 0 0.1em #fff, 0 0 0.3em #fff;
}

#senkyo_hokkaido .election .info dd {
    margin-bottom: 0;
}

#senkyo_hokkaido .election .info .area {
    font-size: 130%;
    font-weight: normal;
}

#senkyo_hokkaido .election .info .area li {
    display: inline-block;
}

#senkyo_hokkaido .election .reload {
    text-decoration: none;
    background: #e11349;
    font-weight: bold;
    color: #fff;
    width: 80%;
    margin: 10px auto 0 auto;
    padding: 0.3em;
    border-radius: 8px;
    letter-spacing: 1em;
    transition: .3s;
    cursor: pointer;
    /* display: none; */
}

#senkyo_hokkaido .election .reload:hover {
    background: #ef285c;
}

#senkyo_hokkaido .election .list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding: 0 8px 8px 8px;
}

#senkyo_hokkaido .election .list li {
    background: rgb(255 255 255 / 80%);
    /* width: 50%; */
    padding: 5px;
    /* margin-bottom: 10px; */
    line-height: 1.5;
    order: 2;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 3px rgb(0 0 0 / 15%);
}

#senkyo_hokkaido .election .list li:after {
    content: "";
    display: block;
    clear: both;
}

#senkyo_hokkaido .election .list .face {
    padding-top: 100%;
    border: #e6e6e6 1px solid;
    position: relative;
    margin-right: 0%;
    overflow: hidden;
}

#senkyo_hokkaido .election .list .face img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#senkyo_hokkaido .election .list .nameWrap {
    text-align: center;
    margin-top: 0.3em;
}

#senkyo_hokkaido .election .list .nameWrap.hasSurvey {
    /* margin-top: 0.4em; */
}

#senkyo_hokkaido .election .list .name {
    font-size: 140%;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 0.2em #fff, 0 0 0.5em #fff;
}

#senkyo_hokkaido .election .list .party {
    font-size: 12px;
    position: absolute;
    top: 0;
    right: 0;
    transform: rotate(45deg) translate(1.6em, -3em);
    color: #fff;
    min-width: 8em;
    text-align: center;
    background: #7a7a7a;
    letter-spacing: 0.2em;
    padding: 2em 0 0.2em 0;
    z-index: 1;
}

@media screen and (max-width: 1279px) {
    #senkyo_hokkaido .election .list .party {
        font-size: 1.094vw;
    }
}

#senkyo_hokkaido .election .list .furigana {
    font-size: 80%;
}

#senkyo_hokkaido .election .list .btnSurvey {
    display: block;
    background: #fff;
    border: 1px solid #d4062d;
    border-radius: 8px;
    text-align: center;
    margin: 0.3em 0 0 0;
    padding: 0.5em;
    color: #d4062d;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

#senkyo_hokkaido .election .list .btnSurvey:hover {
    background: #e31038;
    color: #fff;
    border: 1px solid #e31038;
}

#senkyo_hokkaido .election .list .surveyInner {
    display: none;
}

/*----- 当選 -----*/
#senkyo_hokkaido .election .list li.winner {
    background: #fffed0;
    order: 0;
}

#senkyo_hokkaido .election .list li.winner.proportional {
    background: #fffed0;
    order: 1;
}

#senkyo_hokkaido .election .list li .face:before {
    content: "";
    position: absolute;
    background: url("../images/icon_rose.png") no-repeat center;
    background-size: cover;
    width: 20px;
    height: 20px;
    top: 6px;
    left: 6px;
    opacity: 0;
    transform: scale(1.8) rotate(90deg);
    transition: .2s .5s opacity,.5s .5s transform;
    z-index: 1;
}

#senkyo_hokkaido .election .list li.winner .face:before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

#senkyo_hokkaido #mainCont .movieWrap {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 3rem;
    font-size: 1.6rem;
    line-height: 1.3;
}

#senkyo_hokkaido #mainCont .movieWrap li a {
    color: #222;
    display: block;
    transition: .3s;
}

#senkyo_hokkaido #mainCont .movieWrap li a:hover {
    color: #555;
}

#senkyo_hokkaido #mainCont .movieWrap li figure {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 5%);
    margin-bottom: 1.5rem;
}

#senkyo_hokkaido #mainCont .movieWrap li figure img {
    object-fit: cover;
    font-family: 'object-fit: cover;';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: .8s;
    transform: scale(1.01);
}

#senkyo_hokkaido #mainCont .movieWrap li a:hover figure img {
    transform: scale(1.04);
    opacity: 0.9;
}

#senkyo_hokkaido #mainCont .movieWrap li .itemInfo {
}

#senkyo_hokkaido #mainCont .movieWrap li .ttl {
    font-weight: bold;
    margin-bottom: 0.8rem;
}

#senkyo_hokkaido #mainCont .movieWrap li .summary {
    font-size: 90%;
    margin-bottom: 0.8rem;
}

#senkyo_hokkaido #mainCont .movieWrap li a.hashtag {
    color: #1d9bf0;
    font-size: 95%;
    transition: 0.3s;
    font-weight: bold;
}

#senkyo_hokkaido #mainCont .movieWrap li a.hashtag:hover {
    opacity: 0.8;
}

/*--------------------
　バナーエリア
--------------------*/
#senkyo_hokkaido .bnArea {
    margin: 0 auto;
}

#senkyo_hokkaido .bnArea li {
    margin-top: 15px;
}

#senkyo_hokkaido .bnArea img {
    width: 100%;
}

@media screen and (max-width: 1200px) {
    #senkyo_hokkaido #mainCont,#senkyo_hokkaido #subCont {
        width: 100%;
        max-width: none;
    }

    #senkyo_hokkaido #subCont {
        margin-top: 15px;
    }

    #senkyo_hokkaido .election .list {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}

/*SP版*/
@media screen and (max-width: 767px) {
    #senkyo_hokkaido #head .inner {
        padding: 0;
    }
    #senkyo_hokkaido #head h1 {
        width: 100%;
        padding-top: 28.645%;
        background: url(../images/sp_main_header_bg.jpg?202304071736) top center no-repeat;
        background-size: contain;
    }

    #senkyo_hokkaido #content {
        display: block;
        padding: 8px 8px 40px;
    }

    #senkyo_hokkaido #mainCont {
        margin-bottom: 20px;
    }

    #senkyo_hokkaido #mainCont .section {
        padding: 8px;
    }

    #senkyo_hokkaido #mainCont .movieWrap {
        grid-template-columns: 1fr 1fr;
        grid-gap: 1.5rem;
    }

    #senkyo_hokkaido .election .list {
        grid-template-columns: 1fr;
    }

    #senkyo_hokkaido .election .list li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #senkyo_hokkaido .election .list .party {
        font-size: 14px;
    }

    #senkyo_hokkaido .election .list .face {
        float: none;
        width: 28%;
        padding-top: 28%;
    }

    #senkyo_hokkaido .election .list .nameWrap {
        display: flex;
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }

    #senkyo_hokkaido .election .list .btnSurvey {
        width: 100%;
        margin: 0.4em 0 0 0;
        font-size: 120%;
        padding: 0.7em 0.3em;
    }

    #senkyo_hokkaido .application ul {
        display: block;
        padding: 0;
    }

    #senkyo_hokkaido .application li {
        width: 100%;
    }


    #senkyo_hokkaido .application li:nth-of-type(n+2) {
        margin-top: 10px;
    }
}




/*記事共通部分*/

.sectionTtl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem
}

.sectionTtl img {
    height: 3.3rem;
    width: auto;
}

.sectionTtl > *:not(a) {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
}

.sectionTtl > a {
    color: #222;
    transition: .3s;
    padding: 1rem 0;
    margin-left: auto;
}

.sectionTtl > a:hover {
    opacity: .8;
}

.sectionTtl > a i {
    margin-left: 0.6em;
}

.articleContents ul {
    margin-bottom: 40px;
}

.articleContents li {
    margin-bottom: 3.3%;
    display: flex;
}

.articleContents li a {
    color: #222;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
    width: 100%;
}

.articleContents li a:hover {
    color: #555;
}

.articleContents li figure {
    width: 23%;
    padding-top: 22%;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgb(0 0 0 / 5%);
    border-radius: 0.3em;
}

.articleContents li figure img {
    object-fit: cover;
    font-family: 'object-fit: cover;';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: .8s;
    transform: scale(1.01);
}

.articleContents li a:hover figure img {
    transform: scale(1.04);
    opacity: 0.9;
}

.articleContents li .itemInfo {
    font-size: 1.6rem;
    line-height: 1.3;
    width: calc(100% - 23% - 15px);
}

.articleContents li .ttl {
    font-weight: bold;
    margin-bottom: 1rem;
}

.articleContents li .summary {
    font-size: 1.3rem;
    text-align: right;
    opacity: 0.8;
}


@media screen and (max-width: 1024px) {
    .articleContents li .itemInfo {
        font-size: 1.4rem;
    }
}


