@charset "utf-8";

/* CSS Document */

* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    height: 100%;
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 3.3vw;
    line-height: 1.68;
    -webkit-text-size-adjust: 100%;
    overflow-y: hidden scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #fff;
}

body ::-webkit-scrollbar {
    display: none;
}

.sawarabi-gothic-regular {
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}



.m-plus-rounded-1c-regular {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.m-plus-1p-regular {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
}



a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1 {
    color: #4e4e4e;
    letter-spacing: 0.15vh;
    font-weight: bold;
    margin: 2% 0;
}

h2 {
    color: #4e4e4e;
    letter-spacing: 0.15vh;
    font-weight: bold;
    margin-top: 2%;
    margin-bottom: 2%;
}

h3 {
    width: fit-content;
    letter-spacing: 0.15vh;
    font-weight: bold;
    margin: 1% 0;
    padding: 0 2%;
    color: #ffffff;
    background-color: #930C0C;

}

h4 {
    width: fit-content;
    font-weight: bold;
    margin: 2% 0;
    padding: 1%;
    font-size: 4vw;
}

h5 {
    width: fit-content;
    font-weight: bold;
    margin: 2% 0;
    padding: 1%;
    font-size: 2rem;
}


.mg_50 {
    margin-top: 10%;
}


/* モバイル表示（sp.css）での挙動を安定させる */
@media screen and (max-width: 1023px) {
    #news-container .in_bx3 h4 {
        font-size: 1.05rem !important;
        -webkit-line-clamp: 2;
    }
}

/*menu_PC--------------------------------------*/

.header {
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #8e1d22;
}

.nav_sz {
    width: 70%;
    /*border: #000 1px solid;*/
    position: absolute;
    left: -10%;

}

.header_sp {
    display: none;
}

.logo-bx {
    margin-top: 5%;
    margin-left: 15%;
    width: 200px;


}

.header__logo {
    transition: .2s;
}

.global-nav {
    text-align: right;
    padding-right: 1%;
    height: 100%;
    display: flex;
    align-items: center;
}

.global-nav__list {
    height: 100%;
    display: flex;
    align-items: center;
}

.global-nav__list--item {
    display: inline-block;
    padding: 0 30px;
    border-right: #ddd 1px solid;
    font-size: 1.02vw;
    color: #ffffff;
    font-weight: bold;
}

.global-nav__list--item a {
    letter-spacing: 2px;
    text-align: center;
    display: flex;
    flex-flow: column;
    color: #fff;
}

.global-nav__list--item span {
    margin-top: .1vw;
    font-size: .7vw;
    color: #fff;
}

a:link,
a:visited,
a:active {
    text-decoration: none;
    color: #000;
}


/*li a:hover {
    color: #202130;
    -webkit-transition: all .3s;
    transition: all .3s;
}*/

li:last-child {
    border-right: none;
}


/*sp-nav-menu*/

.sp-menu {
    display: none;
}


/*menu SP*/

.mn_bx {
    display: none;
}


/*navi*/

nav {
    width: 20%;
    height: 70px;
    position: fixed;
    margin-left: 80%;
}

.drawer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 50px;
    height: 50px;
    padding: 1em 1em;
    background-color: #930C0C;
    margin: 0 0 0 auto;
}


/*toggle*/

.navbar_toggle {
    margin-top: 15px;
    z-index: 9999;
}

.navbar_toggle_icon {
    position: relative;
    display: block;
    height: 2px;
    width: 30px;
    background: #3a3a3a;
    -webkit-transition: ease .5s;
    transition: ease .5s;
}

.navbar_toggle_icon:nth-child(1) {
    top: 0;
}

.navbar_toggle_icon:nth-child(2) {
    margin: 8px 0;
}

.navbar_toggle_icon:nth-child(3) {
    top: 0;
}


/*OPEN時の動き*/

.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
    top: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
}

.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
    top: -10px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu {
    -webkit-transform: translateX(-100%);
    transform: translateX(+100%);
    -webkit-transition: ease .5s;
    transition: ease .5s;
    z-index: 1000;
    background-color: #4d401971;
    height: 120vh;
    margin-top: -20vh;
    text-align: left;
}

.menu ul {
    padding-top: 30vh;
    list-style: none;
}

.menu li {
    padding: 2em;
    list-style: none;
    color: #F6F6F6;
    font-weight: bold;
}

.mn_pd1 {
    display: block;
    width: 60%;
    border-bottom: 1px solid #CCC;
    margin-left: 10%;
}

.menu li a {
    color: #F6F6F6;
    font-weight: bold;
    font-size: 24px;
    text-decoration: none;
}


/*OPEN時の動き*/

.menu.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


/*-------id-----------*/

#matel,
#support,
#shop,
#sponsored,
#contact {
    padding-top: 60px;
    margin-top: -60px;
}

/*-----parallax--------------------------------------*/


/*固定する背景*/

.parallax_content {
    height: 100vh;
    min-height: 400px;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.front_content {
    /* height: 100vh;*/
    margin: 0 auto;
    margin-top: 0%;
    width: 90%;
    padding: 0% 10;
}


.date {
    background-color: #930C0C;
    color: #fff;
    padding-left: 1%;
    font-size: 1.2vw;
}

.fnn {
    display: block;
    width: 100%;
    text-align: right;
    border-bottom: #7e7d7d 1px solid;
}

.image01 {
    margin: 0 auto;
    text-align: center;

}

.intro80 {
    margin: 0 auto;
}

.v_box {
    width: 100%;
    margin-top: 40px;

    /*height: 100vh;*/
    /*margin-bottom: 5%;*/
}



.v_box2 {
    width: 100%;
    margin-top: -10%;
    /*height: 100vh;*/
    /*margin-bottom: 5%;*/
}

.v_box img {
    width: 100%;
    /*height: 100vh;*/
    /*margin-bottom: 5%;*/
}

.ky_vis {
    position: relative;
}



.main_ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.sub_vis {
    position: relative;

}

.sub_ttl {
    position: absolute;
    padding-top: 6%;
    width: 10%;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ボトムメニューの基本スタイル */
.bottom-menu {
    position: fixed;
    bottom: -100px;
    /* 最初は画面の外（下）に隠しておく */
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(75, 2, 2, 0.95);
    /* 今回のテーマ色（赤） */
    z-index: 10000;
    transition: bottom 0.4s ease;
    /* スライドのアニメーション */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

/* スクロールした時に付与するクラス */
.bottom-menu.is-show {
    bottom: 0;
    /* 画面下端にぴったり配置 */
}

/* メニューの中身（横並び） */
.bottom-menu ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bottom-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 2.6vw;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
}

.bottom-menu li {
    padding-left: 2%;
    border-left: #b69696 1px solid;
}

/*contents*/

.side_bt {
    background-color: #bebcb9a1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    position: fixed;
    bottom: 15vh;
    right: 0;
    font-size: 0.3vw;
    color: #fff;
}

.side_bt:hover {
    background-color: #797876a1;
    transition: all 0.3s ease;
}

.cont_bx {
    /*border: #3a3a3a 1px solid;*/
    margin: 0 5%;
    /*height: 100vh;*/
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
}

.cont_bx2 {
    /*border: #3a3a3a 1px solid;*/
    padding: 5% 0;
    /*height: 100vh;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: first baseline;
    align-items: center;
}

.lg_hl {
    text-align: left;
    margin-bottom: 2%;
    border-bottom: #bdbaba 2px solid;
}


.in_bx3 {
    padding: 2% 0%;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: 2.5%;
    /*background-color: #f4f7f7;*/
    /*box-shadow: 10px 5px 5px rgba(59, 59, 59, 0.404);*/

}

.in_bx3 p {
    font-size: 3.3vw;
    letter-spacing: 0;
}

.in_bx3 img {
    width: 100%;
}




.arc_md1 {
    margin: 0 auto;
    display: flex;
    align-items: center;
    border-bottom: #39586d 1px solid;
}

.arc_md1 p {
    padding-left: 3%;
    font-size: 2.4vw;
}

.arc_md2 {
    margin: 0 auto;
    display: flex;
    align-items: center;
    border-bottom: #39586d 1px solid;

}

.arc_md2 p {
    padding-left: 3%;
    font-size: 3vw;
}

.soku_icon {
    background-color: #930C0C;
    color: #fff;
    padding: 10px;
}

/* レイアウト調整 */
.sokuhou {
    position: fixed;
    /* 画面に対して固定 */
    top: 0;
    /* 画面の最上部に配置 */
    left: 0;
    width: 100%;
    /* 横幅いっぱい */
    z-index: 1000;
    /* 他の要素より手前に表示 */

    /* 以下は現在のデザインを維持するための既存プロパティを確認してください */
    display: flex;
    align-items: center;
    background: #fff;
    /* 元の背景色 */
    height: 40px;
    /* 適切な高さに調整 */
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
}


#ticker-content a:hover {
    text-decoration: underline;
}

/* アニメーションの定義 */
@keyframes slideInOut {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    10% {
        transform: translateX(0);
        opacity: 1;
    }

    90% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.slide-anim {
    animation: slideInOut 6.5s ease-in-out infinite;
}



/**********************/
.cont_bx p {
    margin: 3% 0;
}

.cont_bx2 p {
    margin: 1% 0;
}

.l_bx {
    margin: 0 auto;
    margin-top: 10%;
    margin-bottom: 10%;
    width: 100%;
}



.l_bx li {
    list-style: none;
}

.r_bx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 5%;
    /*border: #aa1c1c 1px solid;*/
}

.jst_bx {
    margin: 0 auto;
    margin-top: 5%;
    margin-bottom: 2%;
}

.jst_bx p {
    margin-top: 5%;
    margin-bottom: 2%;
}




/* プレイヤーを包むコンテナの制御 */
.jst {
    width: 100%;
    /* 親要素の幅いっぱいに広げる */
    max-width: 896px;
    /* PCでの最大サイズを指定（元のサイズに合わせる場合） */
    margin: 0 auto;
    /* 中央寄せ */
    aspect-ratio: 16 / 9;
    /* 縦横比を16:9に固定（モダンブラウザ用） */
    position: relative;
    overflow: hidden;
}

/* 埋め込まれるプレイヤー自体の制御 */
.jst>div,
.jst iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 10px 5px 5px rgb(59, 59, 59);
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

.r_bx img {
    margin: 2% 0;
    width: 100%;
}

.full_bx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /*border: #aa1c1c 1px solid;*/
}

.full_bx img {
    margin: 2% 0;
    width: 100%;
}

.spon_bx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /*border: #aa1c1c 1px solid;*/
}

.spon_bx img {
    margin: 2% 0;
    width: 22%;
}


.ct_line {
    border-right: 1px solid #3a3a3a;
    width: 10px;
    height: 100vh;
}

.ct_line2 {
    width: 10%;
    height: 100vh;
}


.inbox04 {
    margin-top: 5%;
    width: 100%;
}

.inbox04 p {
    margin: 0 auto;
}


.fnn_btn {
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-top: 5%;
    text-align: center;
    font-size: 3.0vw;
    letter-spacing: .5pt;
    transition: .3s ease-out;
    color: #485a69 !important;

}

.fnn_btn:hover {
    color: #485a69 !important;
    opacity: 0.7;
    padding-left: 1%;
}



/*hou-to*/

.front_content2 {
    padding: 60px;
    background-color: #FEFFEE;
}

.cont_bx3 {
    /*border: #3a3a3a 1px solid;*/
    padding: 5% 0;
    /*height: 100vh;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: first baseline;
    align-items: center;
}

.hd_bx {
    text-align: center;
    border-bottom: #202130 2px solid;
    margin: 0 auto;
    margin-top: 5%;
    margin-bottom: 3%;
    width: 45%;
}

.l_bx2 {
    display: flex;
    align-items: center;
    width: 50%;
    /*border: rgb(100, 23, 23) 1px solid;*/
}

.bx2_in {
    /*border: rgb(36, 153, 25) 1px solid;*/
    width: 20%;
}

.l_bx2_txt {
    margin: 5%;
    /*border: rgb(36, 153, 25) 1px solid;*/
    width: 70%;
}

.coution {
    font-size: 0.7vw;
}





/*footer*/

.footer_bxt {
    margin-top: 2%;
    margin-bottom: 80px;
    display: flex;
    height: auto;
    width: 100%;
    background-color: #930C0C;
}

.footer_bxt2 {
    margin-top: 2%;
    display: flex;
    position: absolute;
    bottom: 0;
    height: auto;
    width: 100%;
    background-color: #131010;
}

.footer_in {
    /*display: flex;*/
    width: 80%;
    margin: 0 auto;
    z-index: 9999;
    text-align: center;
    padding: 1%;
    font-size: 0.6em;
    color: #fff;
}

.footer_logo {
    width: 15%;
    padding: 2%;
}

.ft_menu {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 5%;
    width: 50%;
}

.ft_menu li {
    margin-right: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    border-bottom: 2px #e0dfdc solid;
    color: #fff;
}

.ft_menu li a:hover {
    border-bottom: 5px #ecece9 solid;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    opacity: .6;
}

.ft_menu li a {
    color: #fff;
}

.cp_sns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    margin-right: 2%;
    color: #fff;
}


/*pp*/

.pp_txt {
    margin-bottom: 3%;
    font-size: .8vw;
}

.pp_txt p {
    margin-bottom: 3%;
}

.pp_sig {
    text-align: left;
    width: 100%;
    height: 150px;
    background-color: rgba(9, 59, 75, 0.596);
}


/*animation */

.fadein {
    animation-name: fadeInAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadein0 {
    animation-name: fadeInAnime;
    animation-delay: 1s;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.f_box {
    /*border: 1px solid #333;*/
    transform: translatey(50px);
    opacity: 0;
    transition: opacity 1s, transform 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.fadein2 {
    opacity: 1;
    transform: translateX(0);
}

.f_box2 {
    /*border: 1px solid #333;*/
    transform: translatey(0px);
    opacity: 1;
    transition: opacity 1s, transform 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.fadein21 {
    opacity: 1;
    transform: translateX(0);
}

.f_box3 {
    /*border: 1px solid #333;*/
    transform: translateX(100px);
    opacity: 1;
    transition: opacity 1s, transform 0.5s;
}

.fadein23 {
    opacity: 1;
    transform: translateX(0);
    animation-delay: 2s;
}

.f_box4 {
    /*border: 1px solid #333;*/
    transform: translatey(50px);
    opacity: 0;
    transition: opacity 1s, transform 0.5s;
}

.fadein24 {
    animation-delay: 3s;
    opacity: 1;
    transform: translateX(0);
}


/* ラッパー */

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}


/* スライド */

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    margin-top: 4%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}


/* ナビゲーションボタン */

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(-1* var(--swiper-navigation-size) / 2);
    z-index: 10;
    padding: 0 15% 0 15%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    --swiper-navigation-color: rgb(0, 0, 0);
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}


/* ページネーション */

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}


/* ページネーションブレット */

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    display: inline-block;
    border-radius: 50%;
    background: var(--swiper-pagination-bullet-inactive-color, #000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
}

/*************************/
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;

}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
    width: calc(100vw / 1);
}

.scroll-infinity__item>img {
    width: 100%;
    box-shadow: 5px 5px 5px rgba(59, 59, 59, 0.342);

}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 10px 5px 5px rgb(59, 59, 59);
}

.youtube iframe {
    width: 100%;
    height: 100%;
}


/***候補者ページ用**********/

/********候補者ページ用*******/

.election_district {
    width: 100%;
    margin: 0 auto;
}

/* 選挙区の見出し（幅を親要素に合わせる） */
/* --- 選挙区共通設定 --- */
.district_name {
    background: #f4f4f4;
    padding: 12px 20px;
    border-left: 6px solid #ff0000;
    margin: 40px 0 20px 0;
    font-size: 1.25rem;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.candidate_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

.candidate_list a {
    display: block;
    text-decoration: none;
    /* 下線を消す */
    color: inherit;
    /* 文字色を継承 */
    /* 3カラム（横に3つ）にする場合の計算例 */
    width: 100%;
}

/* --- カード基本設定 --- */
.candidate_card {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s;
}

.candidate_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 写真部分 */
.c_img {
    width: 110px;
    flex-shrink: 0;
    background: #eee;
}

.c_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c_info {
    padding: 12px;
    flex-grow: 1;
}

.c_party {
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.c_name {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 3px;
}

.c_name span {
    font-size: 0.8rem;
    padding-left: 5px;
}


.c_status {
    font-size: 0.85rem;
    color: #333;
}

/* --- 政党別カラー (CSSクラス名) --- */
/* 自民党 */
.candidate_card.jimin {
    border-left: 8px solid #ed1923;
    background-color: #fffafa;
}

.candidate_card.jimin .c_party {
    color: #ed1923;
    font-weight: bold;
}

/* 中道改革連合 / 立憲民主 */
.candidate_card.chudo,
.candidate_card.rikken {
    border-left: 8px solid #004098;
    background-color: #f5f8ff;
}

.candidate_card.chudo .c_party,
.candidate_card.rikken .c_party {
    color: #004098;
    font-weight: bold;
}

/* 共産党 */
.candidate_card.kyosan {
    border-left: 8px solid #9e17ec;
    background-color: #fdf9ff;
}

.candidate_card.kyosan .c_party {
    color: #9e17ec;
    font-weight: bold;
}

/* 国民民主党 */
.candidate_card.kokumin {
    border-left: 8px solid #f9ca00;
    background-color: #fffdf2;
}

.candidate_card.kokumin .c_party {
    color: #b39200;
    font-weight: bold;
}

/* 参政党 */
.candidate_card.sansei {
    border-left: 8px solid #ff8c00;
    background-color: #fffbf5;
}

.candidate_card.sansei .c_party {
    color: #ff8c00;
    font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .candidate_card {
        width: 100%;
        /* スマホでは1列 */
    }

    .c_img {
        width: 100px;
        /* 少し小さく */
    }
}

/* スマホ対応（1023px以下または768px以下で1列にする） */
@media screen and (max-width: 1023px) {
    .candidate_card {
        width: 100%;
        /* スマホ・タブレットでは1列 */
    }
}

/*********アンケート************/

/* 個人まとめブロックの外枠 */
.candidate_q_wrapper {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    margin-bottom: 60px;
    overflow: hidden;
}

/* 候補者ヘッダー部分 */
.c_q_header {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border-bottom: 1px solid #ddd;
}



/* 政党カラー */

.c_q_img {
    width: 120px;
    overflow: hidden;
    border: 2px solid #fff;
}

.c_q_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c_q_name {
    font-size: 5.8vw;
    color: #000;
    font-weight: normal;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: baseline;
}


.c_q_age {
    font-size: 3.4vw;
    color: #000000;
    font-weight: normal;
    padding-left: 1vw;

}


.c_q_party_kyosan {
    font-size: 0.9rem;
    color: #9e17ec;
    font-weight: bold;
    margin: 0;
}


.c_q_party_jimin {
    font-size: 0.9rem;
    color: #ed1923;
    font-weight: bold;
    margin: 0;
}

.c_q_party_chukaku {
    font-size: 0.9rem;
    color: #004098;
    font-weight: bold;
    margin: 0;
}

.c_q_party_sansei {
    font-size: 0.9rem;
    color: #ff8c00;
    font-weight: bold;
    margin: 0;
}

.c_q_party_kokumin {
    font-size: 0.9rem;
    color: #f9ca00;
    font-weight: bold;
    margin: 0;
}




.c_q_header.kyosan {
    border-top: 10px solid #9e17ec;
}

.c_q_header.jimin {
    border-top: 10px solid #ed1923;
}

.c_q_header.chukaku {
    border-top: 10px solid #004098;
}

.c_q_header.sansei {
    border-top: 10px solid #ff8c00;
}

.c_q_header.kokumin {
    border-top: 10px solid #f9ca00;
}


/* 回答ボディ */
.c_q_body {
    padding: 10px;
}

/* 2列並びのレイアウト（PC用） */
.q_row_half {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.q_row_half .q_item {
    width: calc(50% - 7.5px);
}

/* 各質問項目 */
.q_item {
    margin-bottom: 20px;
}

.q_item.full {
    width: 100%;
}

.q_text_kyousan {
    font-weight: bold;
    font-size: 3.8vw;
    color: #555;
    margin-bottom: 5px;
    border-left: 10px solid #9e17ec;
    padding-left: 10px;
    letter-spacing: -1px;
}

.q_text_jimin {
    font-weight: bold;
    font-size: 3.8vw;
    color: #555;
    margin-bottom: 5px;
    border-left: 10px solid #ed1923;
    padding-left: 10px;
    letter-spacing: -1px;

}

.q_text_chukaku {
    font-weight: bold;
    font-size: 3.8vw;
    color: #555;
    margin-bottom: 5px;
    border-left: 10px solid #004098;
    padding-left: 10px;
    letter-spacing: -1px;

}

.q_text_sansei {
    font-weight: bold;
    font-size: 3.8vw;
    color: #555;
    margin-bottom: 5px;
    border-left: 10px solid #ff8c00;
    padding-left: 10px;
    letter-spacing: -1px;

}

.q_text_kokumin {
    font-weight: bold;
    font-size: 3.8vw;
    color: #555;
    margin-bottom: 5px;
    border-left: 10px solid #f9ca00;
    padding-left: 10px;
    letter-spacing: -1px;
}


.a_box {
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #eee;
    font-size: 3.8vw;
    line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .q_row_half .q_item {
        width: 100%;
    }

    .c_q_header {
        flex-direction: unset;
        text-align: left;
    }
}

/* アンケートブロックの外枠調整 */
.candidate_q_wrapper {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    margin: 0 0 60px 0;
    /* 左右マージンを0にして親(cont_bx2)に合わせる */
    width: 100%;
    /* 幅を親要素いっぱいに広げる */
    box-sizing: border-box;
    /* 枠線を含めた計算にする */
    overflow: hidden;
}

/* 親コンテナの最終チェック（main.css等で定義されているはずですが念のため） */
.cont_bx2 {
    width: 100%;
    max-width: 1000px;
    /* ここが arc_md1 の最大幅と同じか確認してください */
    margin: 0 auto;
    margin-top: 10%;
    padding: 0;
    /* 左右に余白がある場合は 0 にするとピッタリ合います */
}


.q_text_s {
    font-weight: bold;
    font-size: 3.8vw;
    color: #555;
    margin-bottom: 5px;
    padding-left: 10px;
}




/*********各区ジャンプ**************/

.chusyaku {
    padding-left: 2%;
    font-size: 2.2vw;
    font-weight: bold;
}

/* 選挙区メニューのスタイル */
.area_nav {
    position: sticky;
    /* スティッキー固定 */
    top: 50px;
    /* 速報ティッカーの下にくるよう調整（要微調整） */
    z-index: 100;
    /* 候補者ブロックより上に表示 */
    background: rgba(255, 255, 255, 0.95);
    /* 背景を少し透過させて白くする */
    padding: 10px 0;
    margin: 0 auto 40px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* 少し影をつけて浮いている感じに */
    width: 100%;
}

.area_nav ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    /* arc_md1と幅を合わせる */
    margin: 0 auto;
}


.area_nav ul li {
    flex: 1;
    max-width: 200px;
}

.area_nav ul li a {
    display: block;
    padding: 12px 12px;
    background: #b1b1b1;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.area_nav ul li a:hover {
    background: #555;
}

/* 区割りの見出しラベル */
.area_label {
    font-size: 1.4rem;
    font-weight: bold;
    background: #eee;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-left: 8px solid #ff0000;
}

/* スマホ用の調整 */
@media screen and (max-width: 1023px) {
    .area_nav ul {
        gap: 8px;
    }

    .area_nav ul li a {
        font-size: 0.9rem;
        padding: 10px;
    }
}