@charset "UTF-8";

main {
    margin-bottom: 18%;
}

#main_title .main_title_bk {
    &::before {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        background: url(../common/main_title_bk.jpg) no-repeat center;
        background-size: cover;
    }
    &::after {
        content: "";
        width: 100%;
        height: 100%;
        background: url(../activity/main_title_activity.png) no-repeat center right;
        background-size: auto 105%;
        position: absolute;
        left: 0;
        top: 0;
    }
}

#main_title .main_title_bk .main_title_img {
    & img {
        max-width: 68px;
        bottom: 35px;
    }
}

main .epidemic {
    margin-bottom: 10px;
    padding: 30px 35px;
    text-align: left;
    background: var(--sub-color-50);
    border-radius: var(--radius);
    &:last-child {
        margin: 0;
    }
    & div {
        margin-top: 1em;
        padding: 20px 25px;
        background: #fff;
        border-radius: var(--radius);
        & .sub_tit {
            margin-bottom: 10px;
            color: var(--main-color);
            font-weight: var(--font-midium);
        }
    }
}

/** common
===================================*/
main h3,
main h4,
main h5 {
    color: var(--main-color);
}

main h3 {
    margin: 50px auto 30px;
    font-size: 26px;
    text-align: center;
}

main h4 {
    margin: 20px auto 15px;
    font-size: 20px;
    & span {
        font-size: 85%;
    }
}

main h5 {
    margin-bottom: 10px;
    font-size: 16px;
    &::before {
        content: "";
        width: 0.6em;
        height: 0.6em;
        display: inline-block;
        margin: -3px 0.2em 0 0;
        vertical-align: middle;
        background: var(--main-color);
        border-radius: 100px;
    }
    & span {
        display: inline-block;
        margin-left: 1em;
        font-size: 90%;
    }
}

main .read {
    text-align: justify;
    line-height: var(--long-text);
    &.center {
        text-align: center;
    }
}

main #main_contents {
    display: flex;
    margin-top: 60px;
    gap: 60px;
    align-items: flex-start;
    position: relative;
}

main #contents {
    flex: 1;
}

main #contents .detail {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid var(--sub-color);
    &:last-child {
        padding: 0;
        border: none;
    }
}

/*---- sticky_menu ----*/
main #sticky_menu {
    width: 220px;
    margin-top: 20px;
    padding: 30px;
    border: 1px solid var(--main-color);
    border-radius: var(--radius);
    position: sticky;
    top: 30px;
    z-index: 99;
}

main #sticky_menu .index {
    display: block;
    color: var(--sub-title);
    font-size: 12px;
    font-weight: var(--font-midium);
}

main #sticky_menu .index #menu_toggle {
    display: none;
}

main #sticky_menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 2px solid var(--sub-color);
    background: none;
    transition: all 0.3s;
    &:hover {
        color: var(--main-color);
    }
    &:last-child {
        padding-bottom: 0;
        border: none;
    }
}

main #sticky_menu a.is-current {
    color: var(--main-color);
    font-weight: var(--font-midium);
}

/** about
===================================*/
main #about {
    display: flex;
    margin-top: 1.5em;
    padding: 25px 35px;
    gap: 25px;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--sub-color);
    border-radius: var(--radius);
}

main #about .tit {
    width: fit-content;
    color: var(--main-color);
    font-size: 16px;
    font-weight: var(--font-midium);
}

main #about div {
    flex: 1;
    font-size: 95%;
    text-align: justify;
}

main .excerpt {
    margin-top: 1em;
    font-size: 95%;
    text-align: right;
    & a {
        color: var(--main-color);
        font-weight: var(--font-midium);
        background-image: linear-gradient(#29916d, #29916d);
    }
}

/** progress
===================================*/
#progress .case {
    margin-top: 2em;
    padding: 30px;
    position: relative;
    border: 1px solid var(--main-color);
    border-radius: var(--radius);
}

#progress .case_tit {
    width: fit-content;
    margin: auto;
    padding: 0 13px;
    color: var(--main-color);
    font-weight: var(--font-bold);
    background: #fff;
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
}

#progress .epidemic {
    margin: 1.5em 0 2.2em;
    padding: 20px 25px;
    position: relative;
    &:last-child {
        margin: 0;
        &::after {
            border: none;
        }
    }
    &::after {
        content: "";
        width: 0;
        height: 0;
        margin: auto;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid #beded3;
        position: absolute;
        bottom: -20px;
        right: 0;
        left: 0;
    }
}

#progress .epidemic hr {
    width: 100%;
    height: 2px;
    margin: 15px 0;
    border: none;
    background: #fff;
}

/** report
===================================*/
#report div {
    display: flex;
    gap: 35px;
    align-items: flex-start;
    justify-content: space-between;
}

#report div .read {
    flex: 1;
}

#report div .btn_kenshin {
    width: 45%;
    max-width: 340px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: var(--font-midium);
    background: var(--main-color);
    border-radius: var(--radius);
    position: relative;
    & a {
        width: 100%;
        height: 100%;
        display: flex;
        gap: 30px;
        justify-content: space-between;
        align-items: center;
        color: #fff;
        background: none;
    }
}

#report div .btn_kenshin .icon_arrow_min {
    background: #fff;
    & span::before {
        background: var(--main-color);
    }
    & span::after {
        border-color: var(--main-color);
    }
}

/** survey
===================================*/
#survey .survey_list {
    margin-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed var(--main-color);
    &.last {
        padding: 0;
        border: none;
    }
}

#survey .survey_list .que {
    display: flex;
    gap: 15px;
    font-size: 16px;
    font-weight: var(--font-midium);
    align-items: baseline;
}

#survey .survey_list .que p {
    display: flex;
    align-items: center;
    color: var(--main-color);
    font-size: 24px;
    font-weight: var(--font-bold);
    line-height: 1em;
    & span {
        width: 1.6em;
        aspect-ratio: 1 / 1;
        display: inline-block;
        margin: 0 0.3em 0 0;
        vertical-align: middle;
        color: #fff;
        font-size: 18px;
        text-align: center;
        line-height: 1.5em;
        background: var(--main-color);
        border-radius: 100px;
    }
}

#survey .ans .bar_chart {
    margin: 10px 0;
}

#survey .ans .bar_chart div {
    display: flex;
    align-items: center;
    border-radius: var(--radius);
    overflow: hidden;
}

#survey .ans .bar_chart dd {
    width: 100%;
    margin: 0;
    background: #9ecdbd;
    position: relative;
    &::after {
        content: "いいえ";
        margin: auto;
        color: #fff;
        font-weight: var(--font-midium);
        line-height: 45px;
        position: absolute;
        right: 15px;
        top: 0;
        bottom: 0;
    }
}

#survey .ans.multiple .bar_chart dd {
    background: none;
    border-radius: var(--radius);
    &::after {
        display: none;
    }
}

#survey .ans.multiple .bar_chart:nth-child(2) dd span {
    background: rgba(41, 145, 109, 0.7);
}

#survey .ans.multiple .bar_chart:nth-child(3) dd span {
    background: #9ecdbd;
}

#survey .ans.multiple .bar_chart:nth-child(4) dd span {
    background: rgba(41, 145, 109, 0.25);
}

#survey .ans .bar_chart span {
    display: inline-block;
    padding-left: 15px;
    border-radius: inherit;
    background: var(--main-color);
    color: #fff;
    font-weight: var(--font-midium);
    line-height: 45px;
    white-space: nowrap;
    border-right: 2px solid #fff;
}

#survey .ans .bar_chart span.short {
    -webkit-text-stroke: 4px #9ecdbd;
    text-stroke: 4px #9ecdbd;
     paint-order: stroke;
}

#survey .ans .bar_chart span.little {
   color: var(--main-color);
    -webkit-text-stroke: 4px #fff;
    text-stroke: 4px #fff;
    paint-order: stroke;
}

#survey .ans .bar_chart span.zero {
   color: #9ecdbd;
}

#survey .ans .result {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    justify-content: center;
}

#survey .ans .result p {
    padding: 0 10px;
    font-weight: var(--font-midium);
    & span {
        font-size: 21px;
    }
    &.yes {
        color: var(--main-color);
        position: relative;
        &::after {
            content: "";
            width: 1px;
            height: 55%;
            margin: auto;
            background: #ccc;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 0;
        }
    }
    &.no {
        color: #9ecdbd;
    }
    &.multiple01 {
        color: var(--main-color);
    }
    &.multiple02 {
        color: rgba(41, 145, 109, 0.7);
    }
    &.multiple03 {
        color: rgba(41, 145, 109, 0.6);
    }
    &.multiple04 {
        color: #9ecdbd;
    }
}

#survey .ans.multiple .result p {
    position: relative;
    &::after {
        content: "";
        width: 1px;
        height: 55%;
        margin: auto;
        background: #ccc;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
    }
    &:last-child::after {
        display: none;
    }
}

#survey #answerer {
    margin-top: 50px;
    padding: 30px;
    background: var(--sub-color-50);
    border-radius: var(--radius);
}

#survey #answerer h6 {
    margin-bottom: 20px;
    color: var(--main-color);
    font-size: 18px;
    text-align: center;
}

#survey #answerer .flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#survey #answerer .graph_block {
    width: 31.5%;
}

#survey #answerer .graph_block .graph {
    width: 200px;
    aspect-ratio: 1 / 1;
    margin: auto;
    border-radius: 50%;
    position: relative;
    &#graph01 {
        background-image: conic-gradient(#29916d 27%, rgba(41, 145, 109, 0.8) 27% 54%, rgba(41, 145, 109, 0.65) 54% 71%, rgba(41, 145, 109, 0.45) 71% 88%, rgba(41, 145, 109, 0.3) 88% 95%, rgba(41, 145, 109, 0.2) 95% 100%);
    }
    &#graph02 {
        background-image: conic-gradient(#29916d 80%, rgba(41, 145, 109, 0.8) 80% 100%);
    }
    &#graph03 {
        background-image: conic-gradient(#29916d 60%, rgba(41, 145, 109, 0.8) 60% 78%, rgba(41, 145, 109, 0.65) 78% 92%, rgba(41, 145, 109, 0.45) 92% 100%);
    }
}

#survey #answerer .graph_block .graph::after {
    content: "";
    width: 40%;
    height: 40%;
    margin: auto;
    display: block;
    background: #fff;
    z-index: 9;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#survey #answerer .ratio {
    flex: 1;
}

#survey #answerer .ratio .ratio_tit {
    margin: 20px 0 10px;
    padding: 2px 15px;
    color: var(--main-color);
    font-weight: var(--font-midium);
    text-align: center;
    border: 1px solid var(--main-color);
    border-radius: var(--radius);
}

#survey #answerer .ratio div {
    flex: 1;
}

#survey #answerer .ratio div p {
    padding-left: 1.5em;
    font-weight: var(--font-midium);
    position: relative;
    &::before {
        content: "";
        width: 1.1em;
        height: 1.1em;
        margin: auto;
        background: #ccc;
        border-radius: 100px;
        position: absolute;
        top: 8px;
        left: 0;
    }
    &.two_line::before {
        top: 2px;
    }
}

#survey #answerer .ratio div p:nth-child(1) {
    color: var(--main-color);
    &::before {
        background: var(--main-color);
    }
}

#survey #answerer .ratio div p:nth-child(2) {
    color: rgba(41, 145, 109, 0.8);
    &::before {
        background: rgba(41, 145, 109, 0.8);
    }
}

#survey #answerer .ratio div p:nth-child(3) {
    color: rgba(41, 145, 109, 0.65);
    &::before {
        background: rgba(41, 145, 109, 0.65);
    }
}

#survey #answerer .ratio div p:nth-child(4) {
    color: rgba(41, 145, 109, 0.45);
    &::before {
        background: rgba(41, 145, 109, 0.45);
    }
}

#survey #answerer .ratio div p:nth-child(5) {
    color: rgba(41, 145, 109, 0.45);
    &::before {
        background: rgba(41, 145, 109, 0.3);
    }
}

#survey #answerer .ratio div p:nth-child(6) {
    color: rgba(41, 145, 109, 0.45);
    &::before {
        background: rgba(41, 145, 109, 0.2);
    }
}


#survey #answerer .ratio div p span {
    margin-left: 0.5em;
    font-size: 140%;
}

#survey .support_name {
    width: fit-content;
    margin: 25px 0 0 auto;
    font-size: 90%;
}

/** tablet
===================================*/
@media screen and (max-width: 1024px) {
main .read {
    &.center {
        text-align: justify;
    }
    & br.sp_none {
        display: none;
    }
}

main #main_contents {
    display: block;
}

/*---- sticky_menu ----*/
main #sticky_menu {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 13px 20px;
    background: #fff;
}

main #sticky_menu .menu_content {
    margin-top: -10px;
    padding: 10px 20px 0;
}

main #sticky_menu a {
    padding: 15px 0 !important;
    & br {
        display: none;
    }
}

main #sticky_menu .index {
    display: flex;
    gap: 10px;
    align-items: center;
}

main #sticky_menu .index #menu_toggle {
    display: block;
    flex: 1;
    color: var(--main-color);
    font-size: 15px;
    cursor: pointer;
    position: relative;
}

main #sticky_menu .index #menu_toggle span {
    width: 10.7px;
    height: 6.1px;
    display: inline-block;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    &::before,
    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: calc(50% - 0.75px);
        width: 1.5px;
        height: 8px;
        border-radius: 9999px;
        background-color: var(--main-color);
        transform-origin: 50% calc(100% - 0.75px);
    }
    &::before {
        transform: rotate(45deg);
    }

    &::after {
        transform: rotate(-45deg);
    }
}

main #sticky_menu.open .index #menu_toggle span {
    &::before,
    &::after {
        top: 0;
        bottom: auto;
        transform-origin: 50% 0.75px;
    }
}

main #sticky_menu .menu_content {
    width: calc(100% + 2px);
    display: grid;
    background: #fff;
    border: 1px solid var(--main-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    grid-template-rows: 0fr;
    position: absolute;
    top: 100%;
    left: -1px;
    transition: 
        grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.3s ease,
        visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

main #sticky_menu .menu_content.open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

main #sticky_menu .menu_content > div {
    min-height: 0;
    max-height: 70vh;
    overflow-y: auto;
}

#report div {
    display: block;
}

#report div .btn_kenshin {
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
    font-size: 15px;
    & br {
        display: none;
    }
}

}

/** sp
===================================*/
@media screen and (max-width: 768px) {
/*---- common ----*/
main h3 {
    margin: 30px auto 20px;
    font-size: 20px;
}

main h4 {
    margin: 15px auto 20px;
    font-size: 18px;
    & br {
        display: block;
    }
}

main h5 {
    font-size: 16px;
}

main h6 {
    font-size: 15px;
}

main .read {
    text-align: justify !important;
}

main #sticky_menu a,
main #sticky_menu .index #menu_toggle {
    font-size: 14px;
}

/*---- about ----*/
main #about {
    display: block;
}
main #about .tit {
    width: 100%;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
}

/*---- report ----*/
#report div .btn_kenshin {
    max-width: 330px;
    & br {
        display: block;
    }
}

/*---- survey ----*/
#survey .survey_list .que {
    font-size: 100%;
    gap: 10px;
    text-align: justify;
}

#survey .survey_list .que p {
    font-size: 19px;
    & span {
        font-size: 15px;
    }
}

#survey .ans .bar_chart span,
#survey .ans .bar_chart dd::after {
    font-size: 11px;
    font-weight: var(--font-bold);
    line-height: 40px;
}

#survey .ans .result p {
    padding: 0 5px;
    font-size: 12px;
    & span {
        font-size: 18px;
    }
}

#survey #answerer .flex {
    display: block;
}

#survey #answerer .graph_block {
    width: 100%;
}

#survey #answerer .ratio div p br {
    display: none;
}

}