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

/*----- 書き換え -----*/
#subsidy2 #main_v {
    height: auto !important;
    background-image: url(../../../../../jfge/about/img/main_v.jpg);
}
#subsidy2 #main_v h2 {
    padding: 30px 1em !important;
    max-width: 800px;
}
#subsidy2 #main_v h2:before {
    display: none;
}
#subsidy2 #main_v h2:after {
    display: none;
}
#subsidy2 #main_v h2 #note {
    font-size: 60%;
    text-align: left;
}

#training #right_col .lonav h2 a:before,
#subsidy2 #right_col .lonav h2 a:before,
#jigyo #right_col .lonav h2 a:before {
    background-image: url(../img/icon-db.svg);
    top: 1.15em;
    left: 16px;
}

#contents .overview-index {
    margin: 10px;
    padding-left: 20px;
    line-height: 1.5em;
    list-style-type: disc;
    list-style-position: outside;
}
#contents .overview-index li {
    background: none;
    padding: 0;
}

#contents h3 .csv-dl {
    height: 24px;
    padding: 0 0 0.8em 0;
}

#contents .csv-dl div {
    float: left;
}

#contents .comment {
    margin-left: 15px;
    line-height:1.1em;
    font-size: 0.9rem;
}
#contents table {
    width: 100%;
    display: table;
    border-spacing: 2px;
    border-collapse: collapse;
}

#contents th, #contents td {
    margin-right: 10px;
    padding: 0.5em;
}

#contents tr:nth-child(odd) {
    background-color: #f4f4f4;
}
#contents tr:nth-child(even) {
    background-color: #ffffff;
}

/*----- 全体 -----*/
.fsize70p { font-size: 70%; }
.fsize75p { font-size: 75%; }
.fsize80p { font-size: 80%; }
.fsize85p { font-size: 85%; }
.fsize90p { font-size: 90%; }
.fsize95p { font-size: 95%; }
.fsize100p { font-size: 100%; }
.fsize110p { font-size: 110%; }

.br-disp {
    display: inline-block;
}

.font-mimcho {
    font-family: "Sawarabi Mincho", serif;
    font-weight: bold;
    font-style: normal;
}


/*----- アイコン -----*/
.icon-search {
    top: 14%;
    left: 80%;
    --s: 34px;
    position: absolute;
    width: var(--s);
    height: var(--s);
    mask-image: url(/jfge/common/img/common/icon-search.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #4c3232;
}

.icon-search-brown {
    top: 10%;
    left: 78%;
    --s: 34px;
    position: absolute;
    width: var(--s);
    height: var(--s);
    mask-image: url(/jfge/common/img/common/icon-search.svg);
    mask-size: var(--s);
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #d7d7d7;
}

.icon-search-green {
    top: 4.1%;
    left: 93%;
    --s: 34px;
    position: absolute;
    width: var(--s);
    height: var(--s);
    mask-image: url(/jfge/common/img/common/icon-search.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #96cc66;
}

/*----- 検索ボタン -----*/
.search-area {
    margin-bottom: 30px;
}
.search-area input[type=text] {
    padding: 10px 5px;
    margin: 5px;
    margin-bottom: 20px;
    width: 98%;
    border: 2px solid #96cc66;
    border-radius: 5px;
}

.button-wrap {
    clear: both;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 10px;
}

.reset-btn {
    cursor: pointer;
    width: 100%;
    max-width: 220px;
    padding: 8px 10px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #ffffff;
    font-size: 1.1rem;
    border: 2px solid #d7d7d7;
    border-radius: 5px;
}

.search-btn {
    cursor: pointer;
    margin-left: 20px;
    width: 100%;
    max-width: 300px;
    padding: 10px 10px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 1.1rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
}

.search-btn-details {
    cursor: pointer;
    margin-left: 20px;
    width: 100%;
    max-width: 400px;
    padding: 10px 10px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 1.1rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
}

.search-cond-btn-wrap {
    margin: 0px 10px;
    margin-top: -70px;
}

.search-cond-btn {
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    padding: 7px 7px;
    padding-right: 22px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 0.95rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
    float: right;
}

.download-btn {
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin-left: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 1.1rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
}

.close-btn {
    cursor: pointer;
    width: 100%;
    max-width: 220px;
    padding: 8px 10px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 1.1rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
}

.terms-wrap {
    padding: 0 20px;
}

.terms-checkbox-wrap {
    width: 300px;
    margin: 70px auto;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px solid #4c3232;
    border-radius: 5px;
}

.terms-btn {
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    margin-left: 20px;
    padding: 10px 10px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 1.1rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
}
.terms-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
}

/*----- 検索結果 -----*/
.search-condition-wrap {
    margin: 4.5rem 0 0 1rem;
}

.search-condition {
    font-size: 1.1rem;
    margin: 0 0 0 2rem;
}

#contents h4 {
    padding-bottom: 0.3rem;
    font-weight: bold;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox]:checked + .checkbox01::after {
    opacity: 1;
}

.checkbox01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}

.checkbox01:before {
    margin-top: -8px;
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    left: 8px;
    top: 19px;
    background: #fff;
    border: 1px solid #767676;
    border-radius: 2px;
}
.checkbox01:after {
    margin-top: -7px;
    content: '';
    display: block;
    border-right: 3px solid #4c3232;
    border-bottom: 3px solid #4c3232;
    width: 3px;
    height: 8px;
    left: 12px;
    top: 18px;
    opacity: 0;
    position: absolute;
    transform: rotate(45deg);
}

.checkbox01.adjust {
    padding-right: 13px;
}
.checkbox01.cancel::before, .checkbox01.cancel::after {
    content: none;
}

/*----- 詳細検索 -----*/
/*----- 活動地域 -----*/
.activity-area {
    padding: 0 20px 20px;
    text-align: left;
    font-size: 1.0rem;
}

.activity-area .area-cont {
    border-bottom: 1px solid #efefef;
    margin-bottom: 10px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.activity-area .area-cont .area-child {
    width: 75%;
}

/*----- 活動分野 -----*/
.activity-field {
    padding: 0 20px 20px;
    text-align: left;
    font-size: 1.0rem;
    display: flex;
}

.activity-field .checkbox01 {
    width: 100%;
}

.activity-field .field-cont-l {
    padding: 5px;
    width: 40%;
}

.activity-field .field-cont-r {
    padding: 5px;
    width: 40%;
}

/*----- 法人格 -----*/
.personality {
    padding: 0 20px 20px;
    text-align: left;
    font-size: 1.0rem;
    display: flex;
}

.personality .checkbox01 {
    width: 100%;
}

.personality .personality-cont-l {
    padding: 5px;
    width: 40%;
}

.personality .personality-cont-r {
    padding: 5px;
    width: 40%;
}

/*----- 地球環境基金 -----*/
.jfge-achievements {
    padding: 0 20px 20px;
    text-align: left;
    font-size: 1.0rem;
}

/*----- 協働・連携 -----*/
.collaboration {
    padding: 0 20px 20px;
    text-align: left;
    font-size: 1.0rem;
}

/*----- 検索結果 -----*/
.search-results {
    padding-right: 30px;
}

/*----- 団体詳細情報 -----*/
.group-details {
    padding-right: 30px;
}

.group-details-table {
    border-collapse: collapse;
}

#contents .group-details table {
    width: 100%;
    display: table;
    border-spacing: 2px;
}

#contents .group-details th, #contents .group-details td {
    margin-right: 10px;
    padding: 0.5em;
}

#contents .group-details tr:nth-child(odd) {
    background-color: #ffffff;
}
#contents .group-details tr:nth-child(even) {
    background-color: #ffffff;
}

#contents .group-details .group-details-head {
    width: 40px;
}

#contents .group-details .group-details-no {
    width: 40px;
}

#contents .group-details .group-details-text {
    width: 610px;
}

#contents .group-details .group-details-head-l {
    text-align: left;
}

#contents .group-details table th span {
    display: inline-block;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
    vertical-align: middle;
    white-space: nowrap;
}

/*----- ダイアログ -----*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* 初期状態では非表示 */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dialog {
    position: relative;
    inset: 0;
    background-color: #fff;
    padding: 1rem;
    width: 750px;
    height: 700px;
    border: 3px solid #96cc66;
    border-radius: 5px;
    overflow-y: scroll;
}

.dialog::backdrop {
    -webkit-backdrop-filter: brightness(0.5);
    backdrop-filter: brightness(0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dialog[open]{
    animation-name: fadeIn;
    animation-fill-mode: forwards;
    animation-duration: 300ms;
    animation-timing-function: ease-out;
}

.question-title {
    margin-top: 10px;
    clear: both;
}

.question-group {
    padding-left: 1.25rem;
}

.question-group input[type=checkbox] {
    display: inline;
    margin-top: 10px;
}

.question-group select {
    font-size:1rem;
    padding: 5px;
    width: 325px;
}

.q-close-btn {
    width: 100%;
    max-width: 250px;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #ffffff;
    color: #000;
    font-size: 1.1rem;
    border: 2px solid #d7d7d7;
    border-radius: 5px;
}

.q-answer-btn {
    cursor: pointer;
    margin-left: 20px;
    width: 100%;
    max-width: 250px;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
    display: block;
    text-align: center;
    color: #4c3232;
    background-color: #e4f5d0;
    font-size: 1.1rem;
    border: 1px solid #96cc66;
    border-radius: 5px;
}
.q-answer-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
}


/* Smart Phone etc */
@media screen and (max-width: 767px) {
    /*----- 書き換え -----*/
    #subsidy2 #main_v h2 #note {
        font-size: 75%;
    }
    #subsidy2 #main_v h2:before {
        background-size: 36px;
    }
    #subsidy2 #main_v h2:before, #subsidy2 #main_v.index h2:before {
        top: 16px !important;
    }

    #contents h3 .csv-dl {
        height: 48px;
    }

    #contents .comment {
        display: block;
        margin: 0;
        padding-top: 3px;
        line-height: 1rem;
        font-size: 0.8rem;
    }

    #footer1 #copy p {
        padding: 0 36px
    }

    /*----- アイコン -----*/
    .icon-search {
        top: 12%;
        left: 82%;
    }

    .icon-search-brown {
        top: 10%;
        left: 70%;
    }

    .icon-search-orange {
        top: 5%;
        left: 88%;
    }

    /*----- 全体 -----*/
    .br-disp {
        display: none;
    }

    /*----- 検索ボタン -----*/
    .button-wrap {
        display: block;
    }

    .reset-btn {
        max-width: 300px;
        margin: 0 auto;
        padding-left: 0;
        text-align: center;

    }

    .search-btn {
        margin: 0 auto;
        margin-top: 10px;
        padding-right: 0;
        text-align: center;
    }

    .search-btn-details {
        margin: 30px auto;
        text-align: center;
    }

    .search-cond-btn-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
    }

    .search-cond-btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
        padding: 8px 10px;
        padding-left: 0;
        font-size: 1.2rem;
        float: none;
    }

    .search-condition {
        margin-top: 0;
    }

    .checkbox01.adjust {
        padding-right: 14px;
    }

    .download-btn {
        margin: 30px auto;
        padding: 10px;
        max-width: 350px;
        text-align: center;
    }

    .terms-btn {
        margin: 30px auto;
        padding: 10px;
        text-align: center;
    }

    /*----- 検索結果 -----*/
    .search-condition-wrap {
        margin: 0;
    }

    .search-condition {
        font-size: 0.92rem;
        margin-left: 0.6rem;
    }

    /*----- 詳細検索 -----*/
    /*----- 活動地域 -----*/
    .activity-area .area-cont {
        display: block;
    }

    .activity-area .area-cont .area-child {
        margin-left: 22px;
        width: auto;
    }

    /*----- 活動分野 -----*/
    .activity-field {
        display: block;
    }

    .activity-field .field-cont-l {
        width: 100%;
    }

    .activity-field .field-cont-r {
        width: 100%;
        margin-top: -10px;
    }

    /*----- 法人格 -----*/
    .personality {
        display: block;
    }

    .personality .personality-cont-l {
        width: 100%;
    }

    .personality .personality-cont-r {
        width: 100%;
        margin-top: -10px;
    }

    /*----- 地球環境基金 -----*/

    /*----- 民間団体 -----*/

    /*----- 協働・連携 -----*/

    /*----- 検索結果 -----*/
    .search-results {
        padding-right: 0;
        overflow-x: scroll;
    }

    .search-results-table {
        white-space: nowrap;
    }

    /*----- 団体詳細情報 -----*/
    .group-details {
        padding-right: 0;
        overflow-x: scroll;
    }

    /*----- ダイアログ -----*/
    .dialog {
        padding: 0.5rem;
        height: 600px;
    }

    .question-group {
        padding-left: 0.6rem;
    }

    .question-group select {
        width: 315px;
    }

    .q-close-btn {
        max-width: 160px;
        font-size: 0.9rem;
    }
    .q-answer-btn {
        max-width: 160px;
        font-size: 0.9rem;
    }

} /* @media screen and (max-width: 767px) */
