@charset "UTF-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .done {
    text-decoration: line-through;
    color: #ccc;
  }


/* ここから */

body {
    width: 80vw;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 15px;
}

/* .message {
    color: red;
    margin: right;
} */

/* ヘッダー */

header {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

header .main-nav {
    /* display: none; */
    grid-auto-flow: raw;
    width: 90%;
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    line-height: 2;
    font-size: 14px;
    list-style: none;
    color: rgb(42, 2, 102);
}


/* 共通 */

h1 {
    font-size: 22px;
    line-height: 2;
    color: cornflowerblue;
}

/* h2 {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.5;
    color: red;
} */
.theme {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.5;
    color: red;
}

h3 {
    margin: 0px;
    font-size: 18px;
}

h4 {
    font-size: 15px;
    font-weight: normal;
    line-height: 2;
}

a {
    font-size: 14px;
    margin: 0 20px 0;
    font-weight: normal;
    line-height: 1.6;
    color: inherit;
}

.date {
    margin-left: 5vw;
    font-size: 18px;
}


/* 定数と立候補者 */

.candidate {
    margin-left: 5vw;
    line-height: 1.8;
}



/* 投票方法 */

.methods {
    margin-top: 30px;
    margin-left: 5vw;
    line-height: 1.6;
}

.methods p {
    display: inline-block;
    margin: 3px 20px 3px;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
    color: inherit;
}

.off {
    display: none;
}


/* ネット投票（１） */

.netVote {
    margin-top: 30px;
    margin-left: 5vw;
}

.netVote h4 {
    margin-top: 20px;
    line-height: 1.5;
}

.netVote h5 {
    font-weight: normal;
    line-height: 1.8;
    margin-left: 25px;
}

.netVote label, input {
    font-weight: normal;
    line-height: 1.8;
    margin-left: 25px;
}

.checkButtons {
    margin-top: 10px;
    /* display: block; */
    display: flex;
}

.netVote .button {
    /* display: block; */
    margin: 4px 20px;
    margin-left: 40px;
    padding: 0px 10px;
    line-height: 1.8;
    border: 1px solid #000;
    background-color: #eee;
    background-color: rgb(208, 221, 243);
    cursor: pointer;
}

.netVote .check {
    display: none;
    margin: 10px 30px;
}
.netVote .checked {
    display: inline-block;
    margin: 10px 30px;
}

.netVote .toVote {
    display: none;
}
.netVote .open {
    display: block;
}




/* ネット投票（２） */

/* .netVote h6 { */
h6 {
    font-weight: normal;
    line-height: 1.5;
}

.netVote .infoEx {
    display: block;
    margin-left: 20px;
    padding: 5px 20px;
    border: 1px solid red;
    background-color: rgb(246, 246, 205);
}

.candiNum {
    display: inline-block;
}
.erase {
    display: none;
}

#register {
    display: block;
    margin: 5px 30px;
}

#register:hover {
    cursor: pointer;
}



/* ネット投票（３） */

.register {
    margin: 4px 30px;
}

.netVote .yourVote {
    display: none;
}

.netVote .on {
    display: inline-block;
    margin-left: 20px;
}


/* ネット投票（４） */

.button {
    display: inline;
    color: #000;
    margin: 5px 30px;
    padding: 2px 4px;
    text-decoration: none;
    border: 1px solid #555;
}



/* ネット投票（５） */

.netVote a {
    line-height: 1.6;
}

/* .close {
    display: block;
    margin: 10px 30px;
}
.close:hover  {
    cursor: pointer;
} */


/* textarea {
    font-size: 16px;
    width: 50%;
    height: 8rem;
    margin-left: 30px;
}

.message {
    display: block;
} */


/* フッター */

.footer {
    margin-top: 20px;;
    display: flex;
    height: 24px;
    line-height: 1.2;
    justify-content: center;
    padding-top: 4px;
    background: #777;
    color: white;
}




/* 選挙通知と投票案内 */

.info1 {
    margin-bottom: 40px;
}

.info1 h3 {
    margin-top: 30px;
}

.info2 > h3 {
    margin-top: 40px;
}

.info2 .infos h3 {
    margin-top: 30px;
}

.mailInfo a {
    display: inline-block;
    line-height: 1.4;
    margin: 12px 30px;
}

.info1 a {
    margin: 6px;
    margin-left: 20px;
}

.info2 .methods1 a {
    margin: 6px;
    margin-left: 12px;
}
.info2 .vote0 a {
    margin: 6px;
    margin-left: 12px;
}

.info2 h3 {
    line-height: 1;
}

.info2 .infos {
    margin-left: 16px;
}

.mailInfo #voteInfoEx {
    line-height: 1.5;
    margin: 5px 20px;
    border: 1px solid red;
    background-color: rgb(246, 246, 205);
}

.mailInfo .ballot0 {
    display: block;
    margin: 10px 20px;
    margin-bottom: 30px;
    padding: 10px 20px;
    border: 1px solid #000;
    background-color: rgb(180, 250, 250);
}

.mailInfo .ballot0 h3 {
    margin-top: 0;
    line-height: 1.6;
}

/* .mailInfo h6 { */
h6 {
    font-weight: normal;
    line-height: 1.4;
    /* text-align: center; */
}

.ballot0 .index {
    line-height: 1.5;
    margin-top: 8px;
    color: blue;
    display: flex;
    justify-content: center;
}

.mailInfo .container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px;
}
  
.mailInfo .box {
    margin-top: 0px;
    width: 40px;
    height: 50px;
    background: white;
    border: 1px solid blue;
    background-color: rgb(180, 250, 250);
    display: flex;
}

.mailInfo .box0 {
    width: 60px;
    border: 1px solid #fff;
    justify-content: center;
    align-items: center; 
    font-size: 20px;
    font-family:'Times New Roman', Times, serif
}

.mailInfo .bltInfo {
    display: none;
}



/* 結果通知 */

/* .result .vote1 {
    border: 1px solid #555;
    padding: 1px 5px;
    font-size: 14px;
}

.result .vote1:hover {
    cursor: pointer;
} */

.result .vote1Name {
    display: none;
}
.result .show {
    display: inline;
}

.result h6 {
    font-weight: normal;
    line-height: 1.8;
}

.result p {
    line-height: 1.6;
} 

.button {
    background-color: #dddddd;
}

.button:hover {
    cursor: pointer;
}

.result .vote1 {
    border: 1px solid #000;
    background-color: #dddddd;
    padding: 2px;
    vertical-align:top;
}

.result .vote1:hover {
    cursor: pointer;
}


/* 開票結果 */

.result {
    padding-bottom: 100px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.result h4 {
    line-height: 1.5;
}


.result {
    display: block;
    border: 1px solid #000;
    padding: 5px 20px;
    margin-left: 10px;
}

.result h3 {
    margin-top: 0px;
}

.result h4 {
    line-height: 2;
    margin-top: 10px;
}

.result h6 {
    margin-top: 0px;
    font-weight: normal;
    line-height: 1.4;
} 



/* 有権者登録簿 */

#voters {
    display: none;
}

header h6 {
    margin-bottom: 30px;
}

.voterInput  h6 {
    margin: 30px 10vw 10px;
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.votInput {
    display: block;
    margin: 10px 5vw;
}

.votInput input {
    display: block;
    width: 300px;
    padding: 2px 4px;
}

.votInput button {
    display: block;
    margin: 5px 5vw;
}

.waku1 {
    display: block;
    margin: 0px 5vw;
}

.votList {
    width: 300px;
    height: 100px;
    display: block;
    background-color: rgb(220, 218, 218);
    padding: 10px;
    margin: 20px;
    border: 1px solid #000;
}

.votItm {
    display: block;
    line-height: 1.3;
}


/* 投票案内リスト */

/* #bltList {
    display: none;
} */

.ballots {
    margin: 0px 5vw;
}

.ballots h2 {
    line-height: 2.5;
}

.ballots h3 {
    line-height: 2;
}

.ballots .ballotExample {
    margin-bottom: 20px;
}

.ballots .ballotExample h6 {
    margin-left: 5vw;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.3;
}

.ballots .mikata {
    font-size: 16px;
    cursor: pointer;
    padding: 0, 5px;
}

.ballots .example {
    display: inline;
}
.ballots .close {
    display: none;
}

.ballots .create {
    margin-left: 10vw;
}

#blt01, #blt02, #blt03 {
    width: 250px;
    height: 30px;
    padding: 4px 20px;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #555;
    background-color: rgb(246, 246, 205);
}

#blt01:hover {
    cursor: pointer; 
}
#blt02:hover {
    cursor: pointer; 
}
#blt03:hover {
    cursor: pointer; 
}

.bltListInput h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.bltInput input {
    display: block;
    width: 250px;
    padding: 3px 20px;
}

.bltInput button {
    margin: 10px 5vw;
    cursor: pointer;
}

.waku2 {
    display: block;   
}

.waku2 .container {
    display: flex;
}

.waku2 .bltList {
    width: 150px;
    /* height: 100px; */
    display: block;
    font-size: 15px;
    line-height: 1.4;
    background-color: rgb(246, 246, 205);
    padding: 10px;
    margin: 20px;
    border: 1px solid red;
}

.waku2 .votCard {
    display: block;
    /* width: 300px; */
    /* height: 100px; */
    display: block;
    font-size: 15px;
    line-height: 1.4;
    background-color: rgb(246, 246, 205);
    padding: 10px;
    margin: 20px;
    border: 1px solid red;
}

.buttons {
    display: flex;
    align-items: flex-end;
}

.buttons .register {
    cursor: pointer;
}


/* 投票案内の送付 */

/* #send {
    display: none;
} */

.waku3 {
    display: flex;
}

.waku3 .voters {
    display: block;
}

.waku3 .voter {
    /* width: 280px; */
    height: 100px;
    display: block;
    background-color: rgb(220, 218, 218);
    padding: 10px;
    margin: 20px;
    border: 1px solid #000;
}

.waku3 .votCars {
    display: block;
}

.waku3 .votCard {
    display: block;
    /* width: 280px; */
    height: 100px;
    display: block;
    font-size: 15px;
    line-height: 1.4;
    background-color: rgb(246, 246, 205);
    padding: 10px;
    margin: 20px;
    border: 1px solid red;
}



/* データベース */

/* #data {
    display: none;
} */

h3 {
    line-height: 2;
}

.database {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.database a {
    font-size: 15px;
}

.votesData {
    display: block;
    margin: 10px;
}

.votesData .top{
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 150px 120px 60px;
    grid-template-rows: 60px;
    gap: 0px 0px;
    margin: 0px;
}
.votesData .container{
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 150px 120px 60px;
    grid-template-rows: 80px;
    gap: 0px 0px;
    margin: 0px;
}

.votesData .top .bltList, .votRegister, .candiNo {
    padding: 6px;
    line-height: 1.2;
    text-align: center;
    border: 1px solid #000;
    box-sizing: border-box;
} 
.votesData .container .bltList, .votRegister, .candiNo {
    padding: 6px;
    line-height: 1.2;
    text-align: center;
    border: 1px solid #000;
    box-sizing: border-box;
} 

.votedData {
    margin: 10px;
}

.votedData .top {
    display: grid;
    grid-auto-flow: raw;
    grid-template-columns: 40px 40px 80px 60px 110px 80px 100px 220px;
    grid-template-rows: 60px;
    gap: 0px 0px;
}
.votedData .container {
    display: grid;
    grid-auto-flow: raw;
    grid-template-columns: 40px 40px 80px 60px 110px 80px 100px 220px;
    grid-template-rows: 80px;
    gap: 0px 0px;
}

.votedData .item {
    line-height: 1.2;
    text-align: center;
    padding: 6px;
    border: 1px solid #000;
}

.votedData .waku100 {
    margin-top: 100px;
}

.votedData {
    margin: 10px;
}



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

    .sends {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: 300px 300px;
        grid-template-rows: repeat(20, 140px);
        gap: 0px 10px;
    }

    .sends a {
        font-size: 13px;
    }


    .database a {
        font-size: 12px;
    }

    .votesData1 .cand {
        padding: 8px 8px;
        border: 1px solid #000;
    } 


}




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

    h1 {
        font-size: 20px;
        /* font-size: 22px; */
        line-height: 3;
        color: cornflowerblue;
    }
    
    h2 {
        font-size: 18px;
        /* font-size: 20px; */
        line-height: 1.5;
        color: red;
    }
    
    h3 {
        margin-top: 17px;
        font-size: 15px;
    }
    
    h4 {
        font-size: 14px;
        font-weight: normal;
        line-height: 1.8;
    }

    .wrapper input {
        width: 140px;
    }


    .youVote .way, .voterNum, .candiNum {
        width: 120px;
    }


    .ballots {
        margin: 0px 2vw;
    }

    .ballots .ballotExample h6 {
        margin-left: 0vw;
        font-size: 15px;
        font-weight: normal;
        line-height: 1.5;
    }

    .waku3 {
        display: block;
    }

    .database {
        display: block;
        margin-left: 20px;
    }

    .votes {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: 140px 270px;
        grid-template-rows: repeat(20, 130px);
        /* grid-template-rows: repeat(50, 130px); */
        gap: 0px 0px;
    }
    
    .votes a {
        font-size: 13px;
    }


}


















