@charset "utf-8";
/* CSS Document */

/*カスタムカラーCSS*/
/*濃い色*/
.site__color {
color:#ff0000 !important;}

.bg-site__color {
background-color:#ff0000 !important;}

.bg-site__color-transparent, .news ul.article li dl .marchan {
background-color:rgba(255, 0, 0, 0.3) !important;}

/*タブの色 濃い*/
.news ul.cate-list li.active, .news ul.cate-list::after, .profile-wrap .sec1::after {
    background:rgba(255, 0, 0, 1.0) !important;}

/*タブの色 薄い*/
.news ul.cate-list li, .wp_info_wrap .sub h3 span::after {
    background:rgba(255, 0, 0, 0.5) !important;
    color: #ffffff !important;
}
/*メイン画像にかぶせる文字色*/
/*iPad mini横～PC*/
@media screen and (min-width: 769px) {
    .mv__title__inner {
        color: #ffffff;
    }
    .mv__title {
        text-shadow: 0 0 1px #fff;
    }
}
/*スマートフォン～iPad mini縦、背景画像が白のとき*/
@media screen and (max-width: 768px) {
    .mv__title__inner {
        color: #ff0000;
        text-shadow: 0 0 2px #fff;
    }
}

/*サードメニューのリンクの色*/
.wordpress-info__link {
    color: #ff0000;
}

.wordpress-info__link::after {
    background-color: #ff0000;
}

.wordpress-info__link:hover {
    color: #ff0000;
}

.mv__container {
    padding-top: 100px;
}

.clear {
    clear: both;
}

/*ボタン*/
.btn {
    border:1px solid rgba(253, 93, 93, 1.0) !important;}
.btn::after {
    color:rgba(255, 0, 0, 1.0) !important;}
.btn:hover {
    background-color: rgba(255, 0, 0, 0.1) !important;}

h4.sns_m_ttl {
    border-bottom: 1px dotted #fd5d5d !important;}

.second-layer-bg__color {
    background: linear-gradient(to bottom, #ff0000 0%, #ff0000 100%) !important;}

/*ページネーション*/
.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #ff0000 !important; background: #ff0000 !important; color:#fff !important;}
.wp-pagenavi a, .wp-pagenavi span {
    color: #ff0000 !important; border: 1px solid #ff0000 !important;}

.news-list {
    display: flex;}

li.date {
    font-size: 17px;
    line-height: 1;
    width: 118px;
    margin: 5px 15px 0 0;
    white-space: nowrap;
}

/*カテゴリーラベル*/
.marchan2 {
    background-color: rgba(255, 0, 0, 1.0) !important;
    color: #fff;
    display: block;
    margin: 0px 15px 0 0;
    flex: 0 0 auto;
    border-radius: 5px;
    height: 33px;
    line-height: 31px;
    text-align: center;
    font-size: 14px;
    width: 200px;
}


/*メニューhover*/
.header__nav-link::after {
    background: #fd5d5d;
}

/*固定ヘッダー
header {
    position: fixed;
    width: 100%;
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.9);
}

.mv {
    position: relative;
    top: 60px;
}*/

/*メイン画像*/
/*PC、タブレット*/
 @media screen and (min-width: 769px) {
    .mv {background-image: url("../images/mv_pc.jpg");
        /* background-position-x: center; 画像により適宜調整*/
    }
}

/*スマートフォン*/
@media screen and (max-width: 768px) {
    .mv {
        background-image: url("../images/mv_mb.jpg");
        top: 20px;
        margin-top: 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        height: 84vw;
    }
    /**/ main {
        margin-top: 67px;
    }
}

li.txt {
    margin-top:2px;
}

.news-list li::after, .marchan2::after {
    background-image:none !important;
}

/*政策画像集*/
.img_radius img {
    border-radius: 20px;/*画像を角丸にしたいとき*/
}

.seisaku_img {
    display: flex;
    flex-wrap: wrap;
}

.seisaku_img div {
    margin: 15px;
    text-align: center;
}

.seisaku_img img {
    width: 350px;
}

.topcap {
    font-size: 14px;
}

.measures__box {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.measeures__title h4 {
    margin-top: 7px;
    width: 85%;
}


/*トップページプロフィールの英語名前*/
.profile__name::after {
    content: "Daiki Ito" !important;
}
.measures__photo img {
    width: 400px;
}
.text-box h4 {
    font-size: 20px !important;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 0;
}

.wp-block-gallery {
    max-width: 1040px;
    width: calc(100% - 40px);
    background: #f6f6f7;
}

.congressman-photo {
    width: 70%;/*PCトッププロフ画像の大きさを変えたいとき*/
    top:-5em; /*PC縦位置を変えたいとき*/
}

.profile__bottom p {
    width: 100%;
}

/*下層ページ*/
.page_ttl h2 {
    color: #ffffff;
}

.list li {
    list-style-type: disc;
    margin:0 0 1em 1em;
}

.page_ttl.prof_ttl h2 i {
    text-transform: capitalize;
}

.pr1 dt img {
    width: 100%;
    max-width: 400px;
}

.profimg img {
    width: 300px;
}

p {
    margin-bottom:1.5em;
    line-height:1.7;
}

.cf {display: flex;}
.cf div {margin: 0 2px;}

.profile-wrap .sec1 dl.pr1 dd h3 span {
    font-size: 50px;
    left: 60px;
}

.wordpress-info__title a.wordpress-info__link {
    font-size:16px !important;
    line-height: 1.6 !important;
}
/*リスト*/
.list_design004 {
    padding: 0 20px;
    font-size: 24px;
    margin-bottom: 1em;
    line-height: 1.8;
}

.list_design004 li {
    list-style: none;
}

.list_design004 li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    padding: 0 5px;
}

/*吹き出し*/
.balloon1-top {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 10px 25px;
    min-width: 120px;
    max-width: 400px;
    color: #555;
    background: #e0edff;
    border-radius: 10px;
}

.balloon1-top:before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-bottom: 15px solid #e0edff;
}

.balloon1-top p {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
}
/*画像*/
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
    margin:0.5em 0.5em 0.5em 1.5em;
    max-width: 40%;
}

.alignleft {
    float: left;
    margin:0.5em 1.5em 0.5em 0.5em;
    max-width: 40%;
}

.alignnone {
    float: both;
    margin:1.5em 0.5em 0.5em 0.5em;
}

.clearfix {
    overflow: hidden;
    zoom: 1;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.measures__icon {
    box-sizing: border-box;
}

#wrapper {
    overflow: hidden;
}

header ul.pc li:first-child a {
    border-left: 1px solid #000;
}

.archive__list li a:hover {
    text-decoration: none;
}
h1 a {
    color: #000;
}
.archive-img {
    margin-bottom: 15px;
}
.archive__list li {
    margin-bottom: 10px;
}
/*SNSページ*/
.sns_wrap {
    padding-bottom: 180px;
}
.sns_wrap .inner {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.sns_wrap .inner ul.sns__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 auto;
}
.sns_wrap .info-content {
    width: calc((100% - 40px) / 3);
    margin: 0 20px 60px 0;
}
.sns_wrap .info-content:nth-child(3n) {
    margin-right: 0;
}
.sns_wrap .wp-pagenavi {
    bottom: 120px;
}

/*メディアクエリ*/
@media screen and (max-width: 1240px) {
    .sns_wrap .inner {
        width: calc(100% - 40px);
    }
}
@media screen and (max-width: 1179px) {
    .mv {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        z-index: 0;
    }
    .mv::after {
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        z-index: -1;
        background: rgba(0, 0, 0, .05);
    }
}


@media screen and (min-width: 769px) and (max-width: 1040px) {
    .mv__title__inner {
        width: 100%;
        margin: 0 auto;
        padding-right: 10px;
    }
    /*.mv__container {
        padding-top: 280px;
    }*/
    .mv__title {
        text-align: right;
        font-size: 56px;
    }
    .mv p {
        text-align: right;
    }
    .archive_content {
        width: calc((100% - 40px) / 3);
    }
    .archive__inner-box {
        padding: 0;
    }
    .measeures__title h4 {
        width: calc(100% - 100px);
        padding: 25px 0;
    }
    .measures__icon {
        font-size: 28px;
        line-height: 28px;
        width: 100px;
        height: 100px;
        padding-top: 40px;
    }
    .measeures__title {
        margin-bottom: 20px;
    }
    .measures__article p {
        padding-right: 1em;
    }
    .congressman-photo {
        position: absolute;
        left: 1vw;
        top: -8vw;
        width: 37vw;
    }
    .profile__top-box_text {
        width: 55%;
    }
    .profile__name {
        margin-left: 0;
    }
    .profile__top-box {
        width: 100%;
    }
}

@media screen and (min-width: 769px) {
    .mv p {
        font-size: 34px;
    }
    
    .intro h1 {
        font-size: 48px;
    }
    .archive_content {
        width: calc((100% - 40px) / 3);
    }
    .archive-img {
        position: relative;
        overflow: hidden;
        height: 0;
        padding-top: 56%;
    }
    .archive_content img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    header h1 {
        font-size: 24px;
    }
    h3 {
        clip-path: polygon(0 0, 100% 0, 100% 56%, 0 70%);
    }
    
    .profile-wrap .sec1 dl.pr1 dd h3 span {
        font-size: 38px;
        left: 40px;
    }
    .sns_wrap .info-content {
        width: calc((100% - 20px) / 2);
    }
    .sns_wrap .info-content:nth-child(3n) {
        margin-right: 20px;
    }
    .sns_wrap .info-content:nth-child(2n) {
        margin-right: 0;
    }
    .archive_content img {
        max-height: 250px;
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    .sns_wrap .info-content {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    .sns_wrap .info-content img {
        display: block;
        margin: 0 auto 15px;
    }
    .sns_wrap .info-content p {
        margin-bottom: 20px;
    }
    .sns_wrap .info-content:nth-child(3n) {
        margin-right: 0px;
    }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    .info-content {
        width: calc((100% - 20px) / 2);
    }
    .mv__container {
        padding-top: 100px;
    }
    .mv__title__inner {
        width: 100%;
        padding-right: 15px;
    }
    .mv__title {
        font-size: 48px;
        line-height: 1.35;
        text-align: right;
    }
    .mv p {
        text-align: right;
        line-height: 1.35;
        margin: 0;
    }
    .intro h1 {
        font-size: 36px;
        margin: 0 0 40px;
        font-weight: 600;
    }
    h3 {
        padding: 20px 0;
        height: 120px;
    }
    .info__inner {
        padding-top: 0;
    }
    .info .container .inner {
        padding-top: 30px;
    }
    .wordpress-info__content {
        width: 100%;
    }

    .wordpress-info__inner {
        display: block;
    }
    .archive__inner-box {
        display: block;
        padding: 0;
    }
    .archive_content {
        text-align: center;
        margin: 0 auto 40px;
    }
    .archive_content img {
        object-fit: cover;
        display: block;
        margin: 0 auto 10px;
    }
    .measures__icon {
        font-size: 30px;
        line-height: 30px;
        width: 100px;
        height: 100px;
        padding-top: 25px;
    }
    h4 {
        width: calc(100% - 100px);
        margin: 0 auto 40px;
        padding-left: 20px;
        box-sizing: border-box;
    }
    .measures__article {
        display: block;
        text-align: center;
        margin: 0 auto 60px;
    }
    .measures__article p {
        width: 100%;
        text-align: left;
        margin: 0 auto 20px;
    }
    .profile__top-box {
        width: 100%;
    }
    .congressman-photo {
        position: absolute;
        left: auto;
        right: -20px;
        top: -116px;
        max-height: 220px;
        width: 168px;
    }
}


@media screen and (max-width: 480px) {
    h4 {
        margin-left: 0;
    }
    header h1 {
        font-size: 14px;
    }
    .mv__container {
        padding-top: 90px;
        margin-bottom: 15px;
    }
    .sp_only {
        display: block;
    }
    .measeures__title h4 {
        width: 100%;
}

}
@media screen and (min-width: 481px) {
    .wordpress-info__img {
        max-width: 120px;
    }
    .sp_only {
        display: none;
    }
}
@media screen and (max-width: 415px) {
    .marchan2 {
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        width: 150px;
    }
    .news-list {
        flex-wrap: wrap;
    }
    .congressman-photo {
        width:165px;/*SPトッププロフ画像の大きさを変えたいとき*/
        top:-6em; /*SP縦位置を変えたいとき*/
        left:-5px; /*SP横位置を変えたいとき*/
    }
    .profile__name {
        font-size: 32px;
        margin-left: 35%;
        text-shadow: 0 0 1px #fff;
    }

    .alignright, .alignleft {
        max-width: 50%;
    }

    .wp_info_wrap .sub {
        width: 100% !important;
    }
    .mbcenter {
        max-width: 100% !important;
        float: none !important;
    }
    .list_design004 {
        font-size: 20px;
    }
}

@media screen and (max-width: 350px) {
    footer ul {
        flex-wrap: wrap;
        width: 70%;
        margin: 0 auto 40px;
    }
    footer ul li {
        width: 50%;
        margin-bottom: 10px;
    }
    footer ul li a {
        border: none !important;
        border-bottom: 1px solid white !important;
        padding: 0 !important;
    }
    footer ul li:first-child a {
        border-left: none;
    }
    .footer__nav-link {
        font-size: 12px;
    }
    .footer_slogan {
        font-size: 12px;
        width: calc(100% - 40px);
        margin: 0 auto 30px;
    }
}

h1 a:hover {
    opacity: .6;
    transition: .4s;
}
.archive_content a {
    position: relative;
}
.archive_content a::after {
    content: "";
    width: 0%;
    height: 1px;
    background: #ccc;
    position: absolute;
    bottom: 0;
    left: 0;
}
.archive_content a:hover::after {
    width: 100%;
    transition: .6s;
}
/*======================
/*         IE
/*======================*/
@media all and (-ms-high-contrast: none) {
    h3 {
        background: #007047;
        background: linear-gradient(to bottom, #007047 0%, #009961 100%);
    }
    h3::before {
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 52px 1920px;
        border-color: transparent transparent #ffffff transparent;
        position: absolute;
        bottom: 0;
        right: 0;
        /*left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);*/
    }
    .wordpress-info__inner {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .wordpress-info__inner li {
        width: calc(50% - 20px);
    }
    .sns_wrap .info-content {
        margin: 0 19px 60px 0;
    }
    .archive_wrap main {
        width: 100%;
    }
    .archive_wrap main ul {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
    .archive_wrap main ul li {
        width: 100%;
        padding-right: 40px;
        box-sizing: border-box;
    }
    .archive_wrap .sub {
        width: 30%;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
        overflow: hidden;
    }
    .archive_wrap main .sub ul li a {
        border-bottom: none;
    }
    .archive_wrap .sub ul > li {
        padding: 0;
    }
}
h4.sns_m_ttl {
    padding: 0;
    padding-bottom: 0px;
    font-size: 32px;
    text-align: center;
    margin: 0 auto;
    border-bottom: 1px dotted #009b62;
    color: #009b62;
    line-height: 1;
    padding-bottom: 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page_ttl h2 i {
    font-style: normal;
    background: white;
    display: inline-block;
    font-size: 0.6em;
    color: #009961;
    margin: 0 auto 0 30px;
    padding: 9px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.sns__link {
    display: block;
    cursor: pointer;
}
@media screen and (max-width: 480px) {
    h4.sns_m_ttl {
        margin: 0 auto 40px;
    }
    .wordpress-info__img img {
        max-height: 80px;
    }
    .archive_content h5, .archive__list {
        margin-left: 0;
    }
    h4.sns_m_ttl {
        font-size: 28px;
    }
}

/*0716お知らせ*/
.news ul.cate-list {
    display: flex;
    justify-content: start;
    position: relative;
    margin: 0 auto 25px;
}
.news ul.cate-list::after {
    content: "";
    width: 100%;
    height: 2px;
    background: rgb(0, 155, 98);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.news ul.cate-list li {
    width: calc((100% - 0px) / 5);
    text-align: center;
    cursor: pointer;
    height: 50px;
    line-height: 48px;
    background: #ebf6e9;
    color: #a0a0a0;
    font-size: 15px;
}
.news ul.cate-list li.active {
    background: rgb(0, 155, 98);
    color: white;
}
.news ul.article {
    max-width: 876px;
    width: 100%;
    margin: 0 auto 60px;
    display: none;
    opacity: 0;
}
@keyframes opacity_anm {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.news ul.article.show {
    display: block;
    opacity: 1;
    animation: opacity_anm 1s linear;
    animation-fill-mode:forwards;
    transition: .4s;
}
.news ul.article li {
    position: relative;
    cursor: pointer;
}
.news ul.article li::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    background-image: linear-gradient(to right, #b4b4b4 2px, transparent 1px);
    background-size: 8px 1px;
    background-repeat: repeat-x;
}
.news ul.article li:last-child::after {
    display: none;
}
.news ul.article li a {
    display: flex;
    padding: 27px 0 25px;
    align-items: center;
    color: #333;
}
.news ul.article li a:hover{
    opacity: .6;
    transition: .4s;
}
.news ul.article li p.date {
    font-size: 17px;
    line-height: 1;
    width: 133px;
    margin-bottom: 0;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .news ul.cate-list {
        margin: 0 auto 22px;
        width: 100vw;
        margin-left: -25px;
        align-items: center;
        height: 50px;
        }
    .news ul.cate-list li {
        width: calc((100% - 15px) / 5);
        line-height: 1.35;
        font-size: 12px;
        box-sizing: border-box;
        font-feature-settings: "palt";
        letter-spacing: 0.05em;
        height: 100%;
        display: block;
        padding-top: 10px;
        }
    .news ul.cate-list li:first-child, .news ul.cate-list li:nth-child(3), .news ul.cate-list li:nth-child(4) {
        padding-top: 10px;
        }
    .news ul.article li a {
        display: block;
        padding: 14px 0 10px;
        overflow: hidden;
        }
    .news ul.article li p.date {
        font-size: 14px;
        padding-top: 2px;
        width: 7.5em;
        float: left;
        }
    .news ul.article li::after {
        background-size: 5px 1px;
        }
    .news ul.article li:last-child::after {
        display: inline-block;
        }
}

.seisaku_list {
    margin: 1em;
    padding: 0 0 2em 1em;
    font-size: 20px;
    line-height: 1.7;
    position: relative;
}

ul.seisaku_list li:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    position: absolute;
    left : -0.5em; /*左端からのアイコンまで*/
    color: #ffb03f; /*アイコン色*/
}

@media screen and (max-width: 480px) {
    .seisaku_list {
        margin: 0;
        font-size: 18px;
    }

}

/* 230724追記 */
.breadcrumbs ol {
    display: flex;
    padding: 0;
}
.breadcrumbs .category {
    color: #4d4d4d;
}
header ul.pc li a {
    border-left: 1px solid #000;
}
.wp_info_wrap img {
    margin-top: 15px;
}
.info h5 {
    margin-bottom: 10px;
}
.sns_wrap h5 {
    margin-bottom: 10px;
}