@charset "utf-8";

/*======================================================================

　衆議院選挙2026
　
	[01] 基本・レイアウト
	[02] メインビジュアル
    [03] 選挙区ボタン
	[04] 候補者一覧
    [05] 投票日
    [06] 配信
	[99] メディアクエリ

======================================================================*/


/*------------------------------------------------

	[01] 基本・レイアウト

------------------------------------------------*/
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

#wrapper { font-family: 'LINE Seed JP', 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; width: 100%; padding: 0; font-size: 1.8rem; }
.container { border: 1px solid #222; }

.box_cnt { width: 92%; max-width: 1280px; margin: 0 auto; }
footer#common_foot { margin: 0; }

/* Flex Box
---------------------------------*/
.flb { display: flex; flex-wrap: wrap; width: 100%; margin: 0 auto; }


/* フェード
---------------------------------*/
.scrollin { opacity: 0; transition: all .4s ease; }
.scrollin.show { opacity: 1; transform: none; }
.scr_lr { transform: translate(-1rem, 0); }
.scr_rl { transform: translate(1rem, 0); }
.scr_fadein { transform: translate(0, 0px); }
.scr_up1 { transform: translate(0, 1rem); transition: 0.8s 0s ease; }
.scr_up2 { transform: translate(0, 1rem); transition: 0.8s 0.2s ease; }
.scr_up3 { transform: translate(0, 1rem); transition: 0.8s 0.4s ease; }
.scr_up4 { transform: translate(0, 1rem); transition: 0.8s 0.6s ease; }
.scr_up5 { transform: translate(0, 1rem); transition: 0.8s 0.8s ease; }
.scr_up6 { transform: translate(0, 1rem); transition: 0.8s 1.0s ease; }
.scr_down { transform: translate(0, -1rem); }
.scr_scaleUp { transform: scale(.5); }
.scr_scaleDown { transform: scale(1.5); }
.scr_rotateL { transform: rotate(1rem); }
.scr_rotateR { transform: rotate(1rem); }


/* 見出し
---------------------------------*/

h2 { width: 100%; max-width: 1000px; }
h2 img { width: 100%; }
.election_top h3 { width: 98%; margin: 2em auto 1em; padding: 0; text-align: center; color: #870011; font-size: 2.4rem; font-weight: 600; }
h4 { width: 100%; margin: 0 0 3rem; padding: 0.8rem 0; font-size: 2.4rem; font-weight: 600; letter-spacing: 0.09em; line-height: 1.8; color: #3f3f3f; background-image: linear-gradient(90deg, #e70012 0 10%, #787878 10%); background-repeat: no-repeat; background-size: 100% 4%; background-position: bottom; }
h5 { font-size: 1.6rem; font-weight: 600; line-height: 1.6; margin: 0 0 .5em 0; }
h5 span { display: block; font-size: .875rem; font-weight: 600; }



/*------------------------------------------------

	[02] メインビジュアル

------------------------------------------------*/
.main { position: relative; width: 60%; margin: 0 auto; }
#main { position: relative; }
.ele_logo { position: absolute; bottom: 0; z-index: 1; }
.ele_logo img { width: 100%; }

#box_oa { width: 100%; padding: 0; background: #e60011; }
#box_oa:before { content: ""; display: block; /*height: 140px; margin-top: -140px;*/ visibility: hidden; }
#box_oa .inr_box { width: 100%; max-width: 1200px; margin: 0 auto; /*background: #f1d43b;*/ }
.img_schedule { width: 80%; max-width: 1140px; margin: 0 auto; padding: 30px 0; line-height: 1; }
.img_schedule img { width: 100%; }

p.txt { width: 96%; max-width: 1000px; margin: 1em auto; font-size: 1.125rem; line-height: 1.5; text-align: justify; }
p.txt span.mds { padding: 6px 12px; font-size: 0.875rem; line-height: 1.9; color: #fff; background: #000; border-radius: 4px; }
p.txt span.etc { font-size: 0.875rem; }


/*------------------------------------------------

	[03] 選挙区ボタン

------------------------------------------------*/
#box_district { width: 100%; margin: 0 auto 0px; padding: 0 0 2em; background: rgba(255,255,255,.9); }
#box_district:before { content: ""; display: block; /*height: 140px; margin-top: -140px;*/ visibility: hidden; }
#box_district .inr_box { width: 94%; max-width: 1000px; margin: 0 auto; }
#box_district .flb { gap: 16px; }

/*.list_dst { width: calc(100% / 4 - 4px); margin: 2px; padding: 0 0%; border-radius: 8px; }*/
.list_dst { width: calc(25% - 12px);/*display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;*/ }
.list_btn { display: block; cursor: pointer; -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; height: 100%; background: #e60012; border-radius: 6px; padding: 16px 12px; color: #fff; box-sizing: border-box; }
.list_btn:hover { background: #e60012; opacity: .8; }
.list_btn a { color: #fff; text-decoration: none; }

.list_btn p { margin: 0; text-align: center; font-weight: 700; font-size: 1.6rem; line-height: 1.4; }
.list_btn p span { display: block; margin-top: 6px; font-size: .875rem; font-weight: 400; line-height: 1.3; word-break: keep-all; line-break: strict; white-space: normal; }





/*------------------------------------------------

	[04] 候補者一覧

------------------------------------------------*/
#box_candidate { width: 100%; margin: 0 auto 0px; padding: 0 0 .05em; background: rgba(230,230,230,.9); }
#box_candidate:before { content: ""; display: block; /*height: 140px; margin-top: -140px;*/ visibility: hidden; }
#box_candidate .inr_box { width: 94%; /*max-width: 1000px;*/ margin: 0 auto; padding: 1em 0 0; }

.video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; margin-bottom: 2em; }
.video { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; display: block; }
/*.video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #e60011; background: rgba(0,0,0,0); }*/
.video::before { content: ""; position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; background: rgba(230,0,17,.8); border-radius: 12px; z-index: 5; }
.video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 14px solid #fff; transform: rotate(-90deg); z-index: 6; pointer-events: none; }
.video.loaded::before { display: none; }
.video.loaded::after { display: none; }
iframe { width: 100%; height: 100%; border: 0; } 
.badge { position: absolute; top: 8px; left: 8px; width: 60px; z-index: 2; pointer-events: none; }
.badge img { width: 100%; height: auto; }
.badge { z-index: 3; }
iframe { z-index: 1; }
p.upd { text-align: right; font-size: .75rem; }


/*------------------------------------------------

	[05] 投票日

------------------------------------------------*/
#box_vote { width: 100%; margin: 0 auto 0px; padding: 0 0 .05em; background: rgba(230,230,230,.9); }
#box_vote:before { content: ""; display: block; /*height: 140px; margin-top: -140px;*/ visibility: hidden; }
#box_vote .inr_box { width: 100%; margin: 0 auto; border-bottom: 10px solid #e60012; }
div.tab { width: 50%; max-width: 200px; margin: 0 auto -1px; padding: .5em .5em .25em; border-radius: 10px 10px 0 0; background: #e60012; }
.vote { font-size: 1.125rem; text-align: center; line-height: 1.4; font-weight: 600; color: #fff; }
.date { font-size: 1.8rem; text-align: center; font-weight: 600; color: #fff; }
.date .dow { display: inline-block; margin-right: -0.5em; margin-left: -0.5em; }



/*------------------------------------------------

	[06] 配信

------------------------------------------------*/
/*/*#cnt_movie { width: 100%; margin: 0 auto; padding: 60px 0; background: #f7f7f7; }
#cnt_movie .inr_cnt { width: 96%; max-width: 1200px; margin: 0 auto; }
#cnt_movie div.movie_box {width: 100%; margin: 0 auto 1em; text-align: center; }
#cnt_movie div.movie_box iframe { width:100%; max-width: 750px; height: 422px; margin: 0; }*/
div.movie_box {width: 100%; margin: 2em auto 1em; text-align: center; }
div.movie_box iframe { width:100%; max-width: 750px; height: 422px; margin: 0; }
.btn_flex-even { display: flex; width: 94%; max-width: 940px; margin: 0 auto 60px; justify-content: center; }
.btn_flex-even > li { /*flex-basis: 100%;*/flex-basis: 48%; }
.btn_flex-even li a { display: block; padding: 0.3em; margin: 0 0.3em; border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.btn_flex-even li img { display: block; width: 100%; max-width: 224px; height: auto; text-align: center; margin: 0 auto; }



/*------------------------------------------------

	[99] メディアクエリ

------------------------------------------------*/
@media screen and (min-width: 769px) {

/* [01] 基本・レイアウト
----------------------------*/


/* [02] メインビジュアル
----------------------------*/
/*.header { display: flex; width: 96%; margin: 0 auto; }
.header img { width: 100%; margin: 0 auto; }
.election_top { position: relative; }
.election_top div.bg_nav { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; }
div.box_nav { width: 100%; position: sticky; display: flex; margin:0; padding: 0; top: 0; z-index: 999; }
div.bg_nav { margin: 0 auto; padding: 20px 0; border-radius: 4px;}
#fix_nav {position: inherit;}*/


}


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

/* [01] 基本・レイアウト
---------------------------------*/
#wrapper { }

.vpc { display: none; }
.vsp { display: inherit; }


/* [02] メインビジュアル
---------------------------------*/
.img_schedule_sp { width: 100%; max-width: 460px; margin: 0 auto; padding: 20px 0; }
.img_schedule_sp img { width: 100%; }


/* [03] 選挙区ボタン
----------------------------*/
#box_district .flb { gap: 6px; }
.list_dst { width: calc(100% / 3 - 4px); }

/* [04] 候補者一覧
----------------------------*/
.video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 2em; }


/* [05] 投票日
----------------------------*/

/* [06] 配信
---------------------------------*/
#cnt_movie { padding: 30px 0; }
#cnt_movie div.movie_box { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
#cnt_movie div.movie_box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; }
div.movie_box { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
div.movie_box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; }


}



@media screen and (max-width: 480px) {

/* [01] 基本・レイアウト
---------------------------------*/

/* [02] メインビジュアル
---------------------------------*/

/* [03] 選挙区ボタン
----------------------------*/
.list_dst { width: calc(100% / 2 - 4px); }

/* [04] 候補者一覧
----------------------------*/
.video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); gap: 16px; margin-bottom: 2em; }

/* [05] 投票日
----------------------------*/

}



