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

/*/_/_/_/_/_/ ベース */
html {
    font-size: 16px;
}
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #333;
    width: 100%;
}

/*/_/_/_/_/_/ 基本構造 */
#wrapper {
    margin: 0 auto;
}
main,
aside {
    padding: 1rem;
}
main {
    margin-bottom: 0;
}
aside {
    margin-top: 0;
}
section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
span {
    display: block;
}

/*/_/_/_/_/_/ 基本仕様 */

/* 見出し */
h1 {
    margin: 0;
    padding: 0;
}
h2 {
    font-size: 1.4rem;
    color: #fff;
    background-color: #900;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin: -1rem 0 1rem -1rem;
    line-height: 1.3;
}
h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    background-color: #f00;
    margin: 1rem 0 1rem -1rem;
    padding: 0.5rem 0 0.5rem 1rem;
    line-height: 1.4;
}
h4 {
    color: #c00;
    font-size: 1.2rem;
    line-height: 1.3;
    border-bottom: solid 2px #c00;
    padding-bottom: 0.2rem;
    margin-bottom: 0.5rem;
}
h4::before {
    font: var(--fa-font-solid);
    content: "\f0c8";
    margin-right: 0.2rem;
    color: #f00;
}
h5 {
    font-weight: bold;
    font-size: 1.1rem;
    color: #c00;
    border-bottom: dotted 2px #c00;
    padding-bottom: 0.2rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}
h6 {
    font-weight: bold;
    font-size: 1.1rem;
    color: #c00;
    line-height: 1.3;
    padding-bottom: 0.2rem;
    margin-bottom: 0.3rem;
    border-bottom: dashed 1px #c00;
}
p {
    line-height: 1.4rem;
    padding-left: 1.2rem;
    text-indent: -1.2rem;
    margin-bottom: 1rem;
}
p::before {
    font: var(--fa-font-solid);
    content: "\f111";
    margin-right: 0.2rem;
    color: #f93;
}
.btm_space {
    padding-bottom: 1rem;
}
.chuui {
    font-size: 0.8rem;
    color: #c00;
}
#kensa details .chuui {
    margin-left: 2rem;
}
.chuui::before,
#kensa details .chuui::before {
    font: var(--fa-font-solid);
    content: "\f071";
    margin-right: 0.2rem;
    color: #c00;
}

/* リスト関連 */
ul {
    list-style-type: none;
    margin: 1rem 0 1rem 1rem;
}
li {
    line-height: 1.4;
    padding: 0.5rem 0;
    border-bottom: dashed 1px #ccc;
}
li::before {
    font: var(--fa-font-solid);
    content: "\f058";
    margin-right: 0.2rem;
    color: #fc0;
}
.ul_title {
    border-bottom: none;
}
.ul_title::before {
    content: none;
}
.ul_titletxt::before {
    font: var(--fa-font-solid);
    content: "\f111";
    margin-right: 0.2rem;
    color: #fc0;
}
.ul_titletxt {
    font-weight: bold;
    border-bottom: solid 2px #fc0;
}
lh {
    color: #c00;
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: solid 2px #c00;
    padding-bottom: 0.1rem;
    margin-bottom: 0.5rem;
}
lh img {
    height: 1rem;
    width: auto;
}
.li_nomark li::before,
#kensa details li::before {
    content: none;
}
.likedt {
    background: none;
}
.likedt a {
    color: #c00;
}
.likedt a::before {
    font: var(--fa-font-solid);
    content: "\f0c8";
    margin-right: 0.2rem;
}
.likedt a::after {
    font: var(--fa-font-solid);
    content: "\f08e";
    margin-left: 0.2rem;
    color: #39f;
}
dl {
    margin-bottom: 1rem;
}
dt,
.likedt {
    font-weight: bold;
    font-size: 1.1rem;
    color: #c00;
    border-bottom: dotted 2px #c00;
    padding-bottom: 0.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
dd {
    
    line-height: 1.4rem;
    padding-left: 1.2rem;
    text-indent: -1.2rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}
dd::before {
    font: var(--fa-font-solid);
    content: "\f111";
    margin-right: 0.2rem;
    color: #cc3;
}
section {
    border-bottom: dashed 1px #ccc;
}
.num_list_maru ul li::before {
    font: var(--fa-font-solid);
    content: "\f111";
    margin-right: 0.2rem;
} 

/* 画像 */
.div_img {
    margin-bottom: 1rem;
}
.div_img img {
    width: 100%;
    height: auto;
}
figure {
    margin-bottom: 1rem;
}
figcaption {
    font-size: 0.8rem;
    color: #666;
}
figcaption::before {
    font: var(--fa-font-solid);
    content: "\f03e";
    margin-right: 0.2rem;
}

/* リンク関連 */
a {
    text-decoration: none;
    display: block;
    font-style: normal;
}
.go_to_page a,
.go_out_site a,
.go_to_gmap a,
.phone_call a,
.send_mail a {
    color: #fff;
    background-color: #39f;
    padding: 1rem;
    border-radius: 0.25rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: bold;
    line-height: 1.4;
}
.go_inpage a::before {
    font: var(--fa-font-solid);
    content: "\f0ab";
    margin-right: 0.2rem;   
}
.go_to_page a::before {
    font: var(--fa-font-solid);
    content: "\f0a9";
    margin-right: 0.2rem;
}
.go_out_site a::before {
    font: var(--fa-font-solid);
    content: "\f08e";
    margin-right: 0.2rem;
    color: #fff;
}
.phone_call a::before {
    font: var(--fa-font-solid);
    content: "\f095";
    margin-right: 0.2rem;
    color: #fff;
}
.go_to_gmap a::before {
    font: var(--fa-font-solid);
    content: "\f5a0";
    margin-right: 0.2rem;
    color: #fff;
}
.send_mail a::before {
    font: var(--fa-font-solid);
    content: "\f0e0";
    margin-right: 0.2rem;
    color: #fff;
}
/* 本文中のリンク */
.link_txt {
    display: inline;
}
.link_txt a {
    font-weight: bold;
    color: #39f;
    display: inline;
}
.link_txt a::after {
    font: var(--fa-font-solid);
    content: "\f08e";
    margin-left: 0.2rem;
}
.go_to_page_h {
    padding: 0;
}
.go_to_page_h a {
    color: #fff;
    background-color: #c00;
    margin: 0;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
}
.go_to_page_h a::before {
    font: var(--fa-font-solid);
    content: "\f0a9";
    margin-right: 0.2rem;
}

/* 目次 */
.mokuji a {
    display: inline;
    color: #39f;
    font-weight: bold;
}
.mokuji a::after {
    font: var(--fa-font-solid);
    content: "\f0ab";
    margin-left: 0.2rem;
}
.mokuji {
    border: dotted 2px #999;
    padding: 1rem;
    margin-left: 0;
    border-radius: 0.5rem;
}

/* テキスト強調・装飾 */
em {
    font-weight: bold;
    font-style: normal;
    color: #333;
}
.em_red {
    color: #f00;
}
.y_kakomi {
    border : solid 2px #fc0;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

/*/_/_/_/_/_/ アコーディオン */
details {
    transition: .5s;
}
summary h5 {
    display: inline-block;
}
details[open] .details-content {
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

/*/_/_/_/_/_/ FLEX */
.flex_2clm,
.flex_3clm {
    margin-left: 0;
    display: flex;
    text-align: center;
}
.flex_2clm li,
.flex_3clm li {
    margin-right: 0.3rem;
    border-bottom: none;
    padding: 0;
    font-size: 0.9rem;
    font-weight: bold;
}
.flex_3clm {
    flex-wrap: wrap;
}
.flex_2clm li::before,
.flex_3clm li::before {
    content: none;
}
.flex_2clm li {
    width: 48%;
}
.flex_3clm li {
    width: 31%;
}
.flex_2clm li p,
.flex_3clm li p {
    text-indent: 0;
    padding-left: 0;
}
.flex_2clm img,
.flex_3clm img {
    width: 100%;
    height: auto;
}

/*/_/_/_/_/_/ 左imgのFlex */
.left_img_flex_h4 {
    border-bottom: solid 2px #c00;
    display: flex;
    padding-bottom: 0;
    margin-bottom: 1rem;
}
.left_img_flex_h4 h4 {
    border-bottom: none;
}
.left_img_flex {
    display: flex;
}
.img_left img {
    width: 3rem;
    height: auto;
    margin-right: 0.5rem;
}
/* over 521px */
@media only screen and (min-width:521px) {
    section {
        border-bottom: none;
    }
    .span_inline span {
        display: inline;
    }
    .pc_flex {
        display: flex;
    }
    .pc_groupe {
        width: 48%;
        margin-right: 1rem;
    }
    .flex_3clm li {
        width: 32.5%;
    }
    .flex_2clm img {
        width: 160px;
        height: auto;
    }
    .flex_3clm img {
        width: 100px;
    }
    #lgbt_action,
    #std_action {
        width: 48%;
        margin-right: 1rem;
    }
    #lgbt_action {
        padding-right: 1rem;
        border-right: dashed 1px #ccc;
        border-bottom: none;
    }
    
}

/*/_/_/_/_/_/ ABOUT HACO */
#haco_use .flex_2clm li,
#haco_use .flex_3clm li {
    font-weight: bold;
}
#std_action {
    border-bottom: none;
}

/*/_/_/_/_/_/ ACCESS */
.li_nomark i {
    color: #f93;
    margin-right: 0.2rem;
}

/*/_/_/_/_/_/ KENSA */
#kensa #fuk section,
#kensa #kyu_yama section {
    border-bottom: none;
}
#kensa #fuk h3,
#kensa #kensasoudanmap h3 {
    margin-left: -1rem;
}
#kensa details p {
    margin: 0;
    font-weight: bold;
    border-bottom: dashed 1px #ccc;
}
#kensa details p::before {
    content: none;
    margin-left: 1rem;
}
#kensa details .open_time,
#kensa details .kensa_komoku {
    margin-left: 2rem;
}
#kensa #fuk .summary_h4 {
    position: relative;
    padding: 0.5rem 0 0 1rem;
    background-color: #c00;
    color: #fff;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}
#kensa h4 {
    display: inline-block;
    color: #fff;
}
#kensa #fuk .hokensho,
#kensa #kyu_yama .hokensho {
    color: #c00;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: solid 2px #c00;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
/* 保健所説明用アイコン */
#kensa .open_day::before {
    font: var(--fa-font-solid);
    content: "\f274";
    margin-right: 0.2rem;
    color: #c00;
}
#kensa .open_time::before {
    font: var(--fa-font-solid);
    content: "\f017";
    margin-right: 0.2rem;
    color: #c00;
}
#kensa .kensa_komoku::before {
    font: var(--fa-font-solid);
    content: "\f492";
    margin-right: 0.2rem;
    color: #c00;
}
#kensa .jusho a::before {
    font: var(--fa-font-solid);
    content: "\f3c5";
    margin-right: 0.2rem;
    color: #c00;
}
#kensa .jusho a::after {
    font: var(--fa-font-solid);
    content: "\f35d";
    margin-left: 0.2rem;
    color: #c00;
}
#kensa .denwa a::before {
    font: var(--fa-font-solid);
    content: "\f098";
    margin-right: 0.2rem;
    color: #c00;
}
/* 福岡県以外 */
#kensa #kyu_yama .ken_name {
    color: #fff;
    background-color: #c00;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-left: -1rem;
    padding: 0.5rem 0 0.5rem 1rem;
    line-height: 1.4;
}

/*/_/_/_/_/_/ EVENT */
#event  dd {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}
#event dd::before {
    color: #fc0;
}


/*/_/_/_/_/_/ HEADER */
header {
    width: 100%;
    background-color: #c00;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header #header_right {
    display: flex;
    justify-content: flex-end;
}
header #logo img {
    height: 2rem;
    width: auto;
}
/*
header #logo a::before {
    font: var(--fa-font-solid);
    content: "\f0a8";
    margin-right: 0.2rem;
    color: #fff;
    font-size: 1.5rem;
    vertical-align: top;
}*/
header #contact a {
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem;
}

/*/_/_/_/_/_/ GOOGLE MAP */
.google_map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    margin-bottom: 1rem;
}
.google_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*/_/_/_/_/_/ HEADER HAMBERGER NAVI */
#nav label {
    margin-right: 1rem;
}
/* チェックボックスを非表示にする */
.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: #fff;
    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%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: none;
    transition: .5s;
}
/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
    left: 0;/* メニューを画面に入れる */
}
/* メニューのデザイン */
#nav a {
    color: #fff;
    display: block;
    background-color: #900;
    padding: 1.2rem 1rem;
    border-bottom: solid 2px #600;
}
#nav a::before {
    font: var(--fa-font-solid);
    content: "\f0a9";
    margin-right: 0.2rem;
}
ul {
    margin: 0;
}
#nav li {
    border-bottom: none;
    padding: 0;
    margin: 0;
}
#nav li::before {
    content: none;
}
#nav .current{
    color: #fff;
    background-color: #f00;
    padding: 1.2rem 1rem;
    border-bottom: solid 2px #600;
    font-weight: bold;
    font-size: 1.1rem;
}
#nav .current::before {
    font: var(--fa-font-solid);
    content: "\f07c";
    margin-right: 0.2rem;
    color: #fff;
}

/*/_/_/_/_/_/ FOOTER */
footer {
    color: #fff;
    background-color: #000;
    padding: 1rem;
    font-size: 0.8rem;
    text-align: center;
    clear: both;
}
footer a {
    color: #fff;
    background: none;
}
footer a::before,
footer p::before {
    content: none;
}
footer p {
    text-indent: 0;
    margin-bottom: 1rem;
}
#footer_logo img {
    width: 30%;
    height: auto;
    margin: 0 auto;
}
#footer_logo a {
    padding: 0.5rem 0;
}
#footer_logo a::before {
    font: var(--fa-font-solid);
    content: "\f0a8";
    margin-right: 0.6rem;
    color: #fff;
    font-size: 1.5rem;
    vertical-align: super;
}
footer li {
    border: none;
}
footer li::before {
    content: none;
}
footer li a::before {
    font: var(--fa-font-solid);
    content: "\f0a9";
    margin-right: 0.2rem;
}
footer address a,
footer p a {
    padding: 1rem;
}
address a::before {
    font: var(--fa-font-solid);
    content: "\f3c5";
    margin-right: 0.2rem;
    color: #fff;
}
footer p a::before {
    font: var(--fa-font-solid);
    content: "\f08e";
    margin-right: 0.2rem;
    color: #fff;
}
footer #btm_nav a {
    padding: 1rem;
}
#btm_nav li {
    display: inline-block;
}

/* over 521px */
@media only screen and (min-width:521px) {
    #mokuji {
        display: none;
    }
}

/*/_/_/_/_/_/ TO PAGE TOP */
#page_top a {
    background: none;
    margin: 0;
    padding: 0;
    text-indent: 0;
    line-height: 1;
}
#page_top a::before,
#page_top a::after {
    content: none;
}
#page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0.5rem;
    bottom: 0.5rem;
    background: #3f98ef;
    opacity: 0.6;
    border-radius: 50%;
}
#page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}
#page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}


/*/_/_/_/_/_/ over 521px */
@media only screen and (min-width:521px){
    footer li {
        display: inline-flex;
    }   
}


/*/_/_/_/_/_/ over 961px */
@media only screen and (min-width:961px){
    /*/_/_/_/ FOOTER */
    footer {
        display: flex;
        text-align: left;
    }
    #footer_logo {
        width: 50%;
        text-align: right;
        border-right: dashed 1px #333;
    }
    #footer_logo a {
        padding-right: 1rem;
    }
    .footer_flex {
        width: 50%;
        padding-left: 2rem;
    }
    #footer_logo img {
        height: 4rem;
        width: auto;
        padding: 0 1rem;
    }
    footer ul {
        margin: 0 0 0 -1rem ;
    }
    footer li {
        display: block;
        margin: 0;
        padding: 0;
    }
    footer a {
        padding: 0.5rem 0;
        margin: 0;
    }
    address {
        margin-left: -1rem;
    }
    footer p {
        margin: 0 0 1rem -1rem;
        padding: 0;
    }
    footer .go_out_site {
        margin-left: -1rem;
    }
    small {
        margin-top: 3rem;
    }
    
}

/*/_/_/_/_/_/ over 1025px */
@media only screen and (min-width:1025px) {
    #wrapper {
        width: 1200px;
        margin: 0 auto;
    }
    main {
        margin-right: -3rem;
    }
}

/*/_/_/_/ NUMBERING LIST IN HONBUN */

.num_list_maru {
    position: relative;
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    font-size: 1rem;
    font-weight: bold;
}
.num_list_maru li::before {
    content: none;
}.num_list_maru {
    counter-reset: num_list_maru;
}
.num_list_maru li {
    position: relative;
    margin: 6px 10px 0 8px;
    padding: 0;
    line-height: 1.5;
}
.num_list_maru > li:before {
    position: absolute;
    font-weight: bold;
    counter-increment: num_list_maru;
    content: counter(num_list_maru);
    font-size: 12px;
    left: -30px;
    top: 0;
    padding: 4px 0;
    width: 20px;
    height: 20px;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    box-sizing: border-box;
    line-height: 1;
    background: #fc0;
}

/* over 961px */
@media only screen and (min-width:961px) {
    /*/_/_/_/ BASIC */
    #main_aside {
        display: flex;
        justify-content: space-between;
    }
    #main_aside main {
        width: 74%;
        margin: 0;
    }
    #main_aside aside {
        width: 26%;
        margin: 0;
    }
    #kisokoza h2 span {
        display: inline;
    }
    #kisokoza h4 span {
        display: inline-block;
        margin-right: 0.4rem;
    }
}
/* over 1025px */
@media only screen and (min-width:1025px) {
    #wrapper {
        width: 1200px;
        margin: 0 auto;
    }
    /*/_/_/_/ FOOTER */
    footer {
        display: flex;
        text-align: left;
    }
    #footer_logo {
        width: 50%;
        text-align: right;
        border-right: dashed 1px #333;
    }
    #footer_logo a {
        padding-right: 1rem;
    }
    .footer_flex {
        width: 50%;
        padding-left: 2rem;
    }
    #footer_logo img {
        height: 4rem;
        width: auto;
        padding: 0 1rem;
    }
    footer li {
        display: block;
    }
    footer a {
        padding: 0.5rem 0;
        margin: 0;
    }
    footer p {
        margin: 0;
        padding: 0;
    }
    footer .go_out_site {
        margin-left: -1rem;
    }
    small {
        margin-top: 0.5rem;
    }
}

/*/_/_/_/ aids_day */
#aids_day summary,
#kensa #all_japan summary {
    font-size: 1.2rem;
    color: #fff;
    background-color: #c00;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin: 0;
    line-height: 1.3;
    border-radius: 0.5rem;
    font-weight: bold;
}
#aids_day .juyo {
    background-color: #f00;
    -webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    60% {opacity:0.6;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    60% {opacity:0.6;}
    100% {opacity:1;}
}
@keyframes blink{
    60% {opacity:0.6;}
    100% {opacity:1;}
}
#aids_day section,
#kensa #all_japan summary {
    margin-bottom: 1rem;
    border-bottom: none;
}
#aids_day em {
    color: #f00;
}
#aids_day .align_r {
    text-align: right;
}
#aids_day dt a {
    color: #c00;
}
#aids_day dd {
    border-bottom: dashed 1px #999;
    margin-bottom: 0.5rem;
}
#aids_day dt::before {
    content: none;
}
#aids_day dt a::before {
    font: var(--fa-font-solid);
    content: "\f0c8";
    margin-right: 0.2rem;
}
#aids_day dt a::after {
    font: var(--fa-font-solid);
    content: "\f08e";
    margin-left: 0.2rem;
    color: #39f;
}
#fukuoka_ken {
    background-color: #c00;
}
#kensa section {
    border-bottom: none;
}
#aids_day h2 a {
    color: #fff;
}