@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
}

*,
:after,
:before {
    background-repeat: no-repeat;
    box-sizing: inherit;
}

#wrapper {
    max-width: 600px;
    margin: 0 auto;
}

#wrapper img {
    width: 100%;
    vertical-align: bottom;
}

main {
    background-color: #ffffff;
}

html {
    scroll-padding-top: 5rem;
    /* 固定ヘッダの高さ分 */
    overflow: visible;
}

/* ヘッダー */

header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.logo {
    width: 80%;
}

.logo img {
    width: 70%;
}

.nav-wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.nav-box {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 20px;
}

.nav-box img {
    width: 100%;
}

.nav-box-content {
    margin-bottom: 5px;
}

.menu-brank{
    height: 10px;
}

/* ここから下がハンバーガーメニューに関するCSS */

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
    width: 100%;
    position: fixed;
    height: calc(100vh - 5rem);
    top: 5rem;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
    list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
    left: 0;
    /* メニューを画面に入れる */
}

/* ヘッダー終了 */


.img-center {
    text-align: center;
}



.title-button {
    text-align: center;
    margin: 1em auto;
}

.title-button img {
    width: 80%;
}

.content {
    padding: 40px 20px 20px;
}

#about {
    background-color: #353535;
    color: #ffffff;
}

.content-title {
    width: 100%;
    text-align: center;
}

.content-title img {
    width: 45%;
    margin-bottom: 20px;
}

.about-head {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    line-height: 1.5em;
}

.about-img {
    margin: 20px 0;
}

.about-img img {
    width: 100%;
}

.present-img {
    text-align: center;
    margin-top: 20px;
}

.present-img img {
    width: 100%;
}

#howtovote {
    background-color: #353535;
    color: #ffffff;
}

/*    投票方法タブ切り替え   */

.tab_container {
    padding-bottom: 1em;
    background-color: #353535;
    border-radius: 10px;
    margin-top: 20px;
}

.tab_item {
    width: calc(100%/2);
    padding: 15px 0;
    background-color: #ececec;
    text-align: center;
    color: #000;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    border-radius: 10px 10px 0 0;
}

.tab_item:hover {
    opacity: 0.75;
}

input[name="tab_item"] {
    display: none;
}

.tab_content {
    display: none;
    padding: 1.5em 1.5em;
    clear: both;
    color: #000000;
}

#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content {
    display: block;
}

.tab_container input:checked + .tab_item {
    background-color: #000;
    color: #fff;
}

.tab_container input:checked + .tab_item.tw-color {
    background-color: ##0f1419;
    border-radius: 10px 10px 0 0;
}

.tab_container input:checked + .tab_item.li-color {
    background-color: #00B900;
    border-radius: 10px 10px 0 0;
}

.tab_line {
    border: 3px #00B900 solid;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

.tab_x {
    border: 3px #0f1419 solid;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}


/*    投票方法タブ切り替えEND   */

.tab-title {
    margin: 10px 0 40px;
}

.tab-step-box {
    margin-bottom: 50px;
}

.tab-step-box div {
    margin-bottom: 15px;
}

.tab-title img {
    width: 70%;
}

.tab-step-img img {
    width: 100%;
}

.tab-step img {
    width: 70%;
}

.tab-step-text {
    text-align: left;
}

.tab-step-button img {
    width: 90%;
}

.tab-step-comment img {
    width: 100%;
}

.position {
    text-align: center;
    margin: 20px auto;
}

.position img {
    width: 25%;
}

.flex2column {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.flex2column-item {
    width: calc((100% - 10px)/2);
}

.flex2column-item img {
    width: 100%;
}

#info {
    background-color: #353535;
    color: #ffffff;
}

.info-text {
    background-color: #fff;
    border-radius: 10px;
    color: #000000;
    padding: 20px;
    font-size: 0.8em;
}

.info-text span {
    font-weight: bold;
    font-size: 1.2em;
}

.leftColumn picture {
    position: fixed;
}

.rightColumn .pc-anchor {
    position: fixed;
}

.pc-anchor li {
    margin-bottom: 40px;
}

.footer-box {
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    padding: 22px 10px 25px;
}

.footer-box * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 10px;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav-item:nth-child(n+2)::before {
    display: inline-block;
    content: "｜";
}

.footer-nav-item a {
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
    color: inherit;
}

.footer-nav-item a:hover {
    text-decoration: underline;
}

.footer-logo {
    margin: 30px auto 15px;
    text-align: center;
}

.footer-logo img {
    width: 200px;
}

.footer-copyright {
    margin-top: 17px;
    text-align: center;
}

.footer-copyright small {
    font-size: 11px;
    display: block;
    font-weight: 400;
    color: #777;
}


/*-----------------------------------------------------------------------------PC用CSS--------------------------------------------------------------------------------------------------*/

@media (min-width: 980px) {

    .logo img {
        width: 50%;
    }

    header {
        display: none;
    }



}

/*------------------------------------------------------------------------------スマホ用CSS--------------------------------------------------------------------------------------------------*/

@media (max-width: 979px) {

    #wrapper {
        width: 100%;
    }

    #giravanz2024 .leftColumn,
    #giravanz2024 .rightColumn {
        display: none;
    }

}
