@charset "utf-8";
/* for election style */


/*------------------------------
　ページ共通
------------------------------*/

#senkyo_hokkaido {
    background: #ddd;
    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-image: linear-gradient(180deg, rgba(241, 248, 255, 1), rgba(163, 210, 213, 1));
}
#senkyo_hokkaido #head .main_title{
	text-align:center;
	font-size:clamp(4rem, 10vw, 8rem);
	font-weight:bold;
	padding:30px 10px;
	color:#286186;
	text-shadow: 3px 3px 3px rgb(47 48 53 / 34%);
}
#senkyo_hokkaido #head .titlelogo{
	display:block;
	margin:0 auto;
	padding: 1%;
}
#senkyo_hokkaido #head .onair{
	background:#5c8cac;
	color:#ffffff;
	text-align:center;
	font-size:3.5rem;
	font-weight:bold;
}
#senkyo_hokkaido #head h1 {
}
#senkyo_hokkaido #content {
    padding: 40px 10px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*------------------------------
　募集追記したとこ
------------------------------*/

#senkyo_hokkaido #content_voice {
    padding: 10px 70px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
}
#senkyo_hokkaido .voicettl {
    margin: 20px 5px 5px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
#senkyo_hokkaido .voicebtn {
    padding:0px 10px;
    width: 100%;
    text-align: center;
}
#senkyo_hokkaido .voicebtn:hover {
    opacity:0.5;
    transition:0.5s;
}

/*------------------------------
　メインエリア
------------------------------*/

#senkyo_hokkaido #mainCont {
    width: 63%;
    max-width: 790px;
}
#senkyo_hokkaido #mainCont .section {
    padding: 15px;
    background-color: #fcfcfc;
    box-sizing: border-box;
}
#senkyo_hokkaido #mainCont .section.movie {
    margin-bottom: 15px;
	font-weight:bold;
}
#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: #ff0037;
    width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    box-sizing: border-box;
    text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.2);
	display:block;
}

/*------------------------------
　サブエリア
------------------------------*/

#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 .election {
    opacity: 0;

    transition: .3s;
}
#senkyo_hokkaido .election.current {
    opacity: 1;
}

#senkyo_hokkaido .election .areaPh img {
    transform: scale(1);
    transition: .4s .3s;
}
#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.current .list li {
    opacity: 1;
    transform: translateY(0);
}



#senkyo_hokkaido .election {
    background: #efefef;
    box-sizing: border-box;
}
#senkyo_hokkaido .election .areaPh {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
#senkyo_hokkaido .election .areaPh:before {
    content:"";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(0deg, #efefef 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: 250%;
    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: #ff0037;
    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: #ff3f69;
}
#senkyo_hokkaido .election .list {
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
#senkyo_hokkaido .election .list li {
    background: rgb(255 255 255 / 80%);
    padding: 8px;
    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 {
    float: left;

    width: 28%;
    padding-top: 28%;
    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;
    float: right;
    width: 70%;
    margin-top: 1.8em;
}
#senkyo_hokkaido .election .list .nameWrap.hasSurvey {
    margin-top: 0.6em;
}
#senkyo_hokkaido .election .list .name {
    font-size: 220%;
    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: 14px;
    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;
}
/*----- 比例リスト -----*/
.sublist {
	transition: .3s;
	overflow: hidden;
	margin-top: 10px;
	/* padding-bottom: 20px; */
	&:
	last-of-type {
		margin-bottom: 0;
	}
;
	background: #efefef;
}
.details-summary {
	cursor: pointer;
	transition: 0.2s;
	padding: 6px;
	border-radius: 6px;
	font-size: 20px;
	/* ホバー時のスタイル */
	&:hover {
		cursor: pointer;
		/* background-color: #fcffc7; */
	}
	}
#senkyo_hokkaido .sub_flex_wrap {
	display:flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 6% 0 6% 4.5%;
}
#senkyo_hokkaido .sub_flex_contentswrap {
	width: 30%;
	margin: 0 3.3% 3.3% 0;
	/* text-align:center; */
}
#senkyo_hokkaido .name_party {
	background:#7a7a7a;
	color:#ffffff;
}

.sponly {
	display:none;
}

	
	@media screen and (max-width:1279px){
    #senkyo_hokkaido .election .list .party {
        font-size: 1.094vw;
    }
}
}
#senkyo_hokkaido .election .list .furigana {
    font-size: 92.86%;
}
#senkyo_hokkaido .election .list .btnSurvey {
    display: block;
    background: #fff;
    border: 1px solid #ff0037;
    border-radius: 8px;
    float: right;
    width: 70%;
    text-align: center;
    margin: 0.5em 0 0 0;
    padding: 0.5em;
    color: #ff0037;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}
#senkyo_hokkaido .election .list .btnSurvey:hover {
    background: #ff0037;
    color: #fff;
    border: 1px solid #ff0037;
}
#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 .bnArea {
    margin: 0 auto;
}
#senkyo_hokkaido .bnArea li {
    margin-top: 15px;
}
#senkyo_hokkaido .bnArea img {
    width: 100%;
}

/*--------------------
　アンケート表示
--------------------*/

/*ios系で画像に対してのscrollがうまくいかないので…*/
.modal .modalInner .survey {
    position: relative;
}
.modal .modalInner .survey:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modalWrap .ttl {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    line-height: 1.3;
    font-size: 14px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: #efefef;
    position: relative;
    margin-bottom: 2.6%;
}
.modalWrap .mainttl {
    font-size: 200%;
    width: 50%;
    font-weight: bold;
    padding: 3%;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}
.modalWrap .mainttl div {
    position: relative;
    z-index: 2;
}
.modalWrap .mainttl:after {
    content:"";
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(-90deg, #efefef 0%, rgb(239 239 239 / 0%) 100%);
}
.modalWrap .mainttl img {
    width: 100%;
    height: auto;
    max-width: none;
    position: absolute;
    top: 60%;
    left: 50%;
    opacity: 0.7;
    transform: translate(-50%, -45%);
}
.modalWrap .candidate {
    padding: 2% 3%;
    width: 50%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}
.modalWrap .party {
    font-size: 14px;
    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;
}
.modalWrap .name .furigana {
    font-size: 40%;
    font-weight: normal;
}
.modalWrap .face {
    width: 30%;
    padding-top: 30%;
    border: #e6e6e6 1px solid;
    position: relative;
    margin-right: 5%;
    overflow: hidden;
}
.modalWrap .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%);
}
.modalWrap .nameWrap {
    width: 65%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modalWrap .name {
    font-size: 230%;
    font-weight: 700;
}
.modalWrap .furigana {
    font-size: 90%;
}
.modalWrap .area {
    background: #fff;
    padding: 0.2em 2em;
    margin: 0 0 0.2em;
    border-radius: 1em;
}
/*pc版*/
@media screen and (min-width:768px){
    .modal .modalWrap {
        max-width: 800px;
        height: auto;
        max-height: 90vh;
    }
    .modal .modalInner {
        max-height: 90vh;
    }
    .modal .modalInner .survey {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .modal .modalInner .survey img {
        width: 48%;
    }
#senkyo_hokkaido #mainCont .news_link_text {
	font-size:120%;
	font-weight:bold;
	text-align:center;
}
#senkyo_hokkaido #mainCont .movieComment {
    background: #ff0037;
    width: 74%;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 5px;
	margin:1% auto;
    text-align: center;
    box-sizing: border-box;
    text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.2);
	display:block;
}
#youtube_slick {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin: 7% auto;
}
#youtube_slick .youtube_title{
	font-size:2.6rem;
	font-weight:bold;
	margin: 0 0 2%;
	border-bottom: 2px solid #ff0037;
	width: 280px;
	text-align: center;
}

#youtube_slick .movie {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1.2em;
}
#youtube_slick .item1 {
	width: 60%;
	margin: 0 auto;
}
#youtube_slick .wrap_img1 {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	margin-bottom: 6px;
}
#youtube_slick .wrap_img1 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#youtube_slick .topItem_title {
	font-size: 1.4em;
	font-weight: bold;
	margin-inline: auto;
	max-inline-size: max-content;
}
#youtube_slick .item_title {
	font-size: 1.2em;
	font-weight: bold;
	color: #333333;
}
	#youtube_slick .movie2 {
		width: 30%;
		height: auto;
		margin: 10px auto;
	}
}
#youtube_slick .wrap_img2 {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 8px;
}
#youtube_slick a .wrap_img2 img  {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: none;
	width: 100%;
	height: auto;
	transform: translate(-50%,-50%);
	transition:.3s;
}
#youtube_slick a:hover .wrap_img2 img {
	width: 105%;
}
#mainCont .btn {
    width: 70%;
    display: block;
    margin: 30px auto;
    text-align: center;
    padding: 0.5em;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    background: #ff0037;
}

}
/*SP版*/
@media screen and (max-width:767px){
    .modalWrap .ttl {
        flex-direction: column;
        overflow: hidden;
        flex-direction: column-reverse;
        font-size: 2.5vw;
    }
    .modalWrap .mainttl {
        position: static;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding-top: 0;
        color: #000;
        font-size: 150%;
    }
    .modalWrap .mainttl img {
        opacity: 0.5;
    }
    .modalWrap .mainttl:after {
        bottom: 0;
        left: 0;
        top: auto;
        right: auto;
        width: 100%;
        height: 70%;
        background: linear-gradient(0deg, #efefef 30%, rgb(239 239 239 / 0%) 100%);
    }
    .modalWrap .candidate {
        width: 100%;
    }
    .modal .modalInner .survey {
        display: block;
    }
    .modal .modalInner .survey img {
        display: block;
        width: 96%;
        margin: 0 auto;
    }
    .modal .modalInner .survey img:first-of-type {
        margin-bottom: 6%;
    }
}




@media screen and (max-width:767px){
	#senkyo_hokkaido #head .titlelogo{
		padding: 3% 2%;
}
#senkyo_hokkaido #head .onair{
	text-align:center;
	font-size:5.4vw;
	font-weight:bold;
}

    #senkyo_hokkaido #content {
        display: block;
        padding: 8px 8px 40px;
    }
    #senkyo_hokkaido #mainCont,#senkyo_hokkaido #subCont {
        max-width: none;
        width: 100%;
    }
    #senkyo_hokkaido #mainCont {
        margin-bottom: 20px;
    }
    #senkyo_hokkaido #mainCont .section {
        padding: 8px;
    }
    #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; 
    }
    #senkyo_hokkaido .election .list .nameWrap {
         display: flex;
         flex-direction: column;
         align-items: center;
         justify-content: center;
         margin-top: 0;
    }
    #senkyo_hokkaido .election .list .btnSurvey {
         float: none;
         width: 100%;
         margin: 0.4em 0 0 0;
         font-size: 120%;
         padding: 0.7em 0.3em;
    }

    #senkyo_hokkaido #content_voice {
        display: block;
        padding: 0;
        max-width: 96%;
    }
    #senkyo_hokkaido .voicebtn {
        margin-bottom: 15px;
    }
	#youtube_slick .youtube_title {
		font-size:5.5vw;
		font-weight:bold;
		text-align:center;
		margin:8% auto 3%;
		border-bottom:2px solid #ff0037;
		width:60%;
}
	#youtube_slick .movie {
	width: 100%;
	height: auto;
	display: block;
	margin: 1% auto 10%;
}
#youtube_slick .item1 {
		font-size: 1em;
	font-weight: bold;
	color: black;
	text-align: center;

}
#youtube_slick .wrap_img1 {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	margin-bottom: 4px;
}
#youtube_slick .wrap_img1 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#youtube_slick .item_title {
	font-size: 1em;
	font-weight: bold;
	color: black;
	text-align: center;
}
#youtube_slick .movie2 {
	width: 100%;
	margin: 6% auto;
}
#youtube_slick .wrap_img2 {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 4px;
}
#youtube_slick a .wrap_img2 img  {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: none;
	width: 100%;
	height: auto;
	transform: translate(-50%,-50%);
	transition:.3s;
}
#youtube_slick a:hover .wrap_img2 img {
	width: 105%;
}
.sponly {
	display:block;
}
}