#mainImg {
    background-image: url("../join/img/bg_main.png");
}

#contents .oneWord {
    font-size: 110%;
    line-height: 1.2;
    margin-top: 20px;
}
#contents h3 {
    font-size: max(22pt, 2vw);
    margin-bottom: .2em;
    line-height: 1.3;
}

#index .merit {
    margin-top: 4em;
    margin-bottom: 3em;
}

#index .merit > ul > li {
    position: relative;
    padding-top: 2.5em;
    margin-top: 2.5em;
}
#index .merit > ul > li::before {
    content: "";
    position: absolute;
    width: 35%;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 6px solid #ccc;
}
#index .merit > ul > li.withImages > div {
    display: flex;
    justify-content: space-between;
    gap: 1.5em;
}
#index .merit > ul > li.withImages > div > div:nth-child(1) {
    width: min(100%, 750px);
}
#index .merit dl {
    margin-top: 1em;
}
#index .merit dl > dt {
    font-size: 170%;
    line-height: 1.3;
    margin-bottom: .4em;
}
#index .merit dl > dd,
#index .merit dl + ul {
    font-size: 90%;
}

#index .merit .point {
    display: inline-block;
    text-align: center;
    padding: 2px 2em;
    background-color: #a6ccd2;
    min-width: 170px;
}

#index .merit .supportMerit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 3em 1em;
}
#index .merit .supportMerit > li {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    grid-gap: 10px;
    text-align: center;
}
#index .merit .supportMerit > li img {
    width: 100%;
    margin: 0 auto;
}
#index .merit .supportMerit > li .bigFont {
    font-size: 140%;
}
#index .merit .supportMerit > li a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--color-green);
    background-color: var(--color-green);
    padding: .5em 1.5em;
}
#index .merit .supportMerit > li a:hover {
    color: var(--color-green);
    background-color: #fff;
}

#cost .headOffice {
    margin: 2.5em 0 4em;
}
#cost .headOffice table {
    width: 100%;
    border-collapse: collapse;
    font-size: 90%;
}
#cost .headOffice table colgroup col:nth-child(1){ width: 15%; }
#cost .headOffice table colgroup col:nth-child(2){ width: 22%; }
#cost .headOffice table colgroup col:nth-child(3){ width: 8%; }
#cost .headOffice table colgroup col:nth-child(4){ width: 45%; }
#cost .headOffice table tr th,
#cost .headOffice table tr td
{
    padding: 5px 1em 5px 2px;
    border-bottom: 1px solid #000;
    vertical-align: middle;
}
#cost .headOffice table tr.bgColor .detailName,
#cost .headOffice table tr.bgColor .amount,
#cost .headOffice table tr.bgColor .remarks
{
    background-color: #fff3d3;
}


#cost .headOffice table tr .amount,
#cost .headOffice table tr .totalAmount
{
    text-align: right;
}
#cost .headOffice .grandTotal {
    text-align: right;
    margin: .8em auto 1em;
}
#cost .headOffice .grandTotal > p {
    display: inline-block;
    font-weight: bold;
    border-radius: 30px;
    background-color: #f9e258;
    padding: 5px 20px;
}
#cost .headOffice .grandTotal > p > span {
    font-size: 140%;
}

#cost .headOffice .grandTotal .special p {
    position: relative;
    /* padding-top: 1.8em; */
    /* padding-right: 3.5em; */
    margin-top: .5em;
    margin-bottom: .5em;
    line-height: 1.3;
}
#cost .headOffice .grandTotal .special p > img {
    position: absolute;
    top: 0;
    right: 0;
}
#cost .headOffice .grandTotal .special p > span {
    display: inline-block;
    color: #f00;
    font-weight: bold;
    font-size: 140%;
}
#cost .headOffice .grandTotal .special p > span small {
    color: #000;
    font-weight: normal;
    font-size: 70%;
}

#cost .headOffice .grandTotal .special > a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 120%;
    font-weight: bold;
    border: 1px solid #ff3006;
    border-radius: 50px;
    background-color: #ff3006;
    padding: 1em;
}
#cost .headOffice .grandTotal .special > a:hover {
    color: #ff3006;
    background-color: #fff;
}




.meisai {
    width: min(100%, 950px);
    margin-inline: auto;
}

.meisai table {
    border-collapse: collapse;
    font-size: 120%;
    width: 100%;
    margin-bottom: 2em;
    border: solid 2px grey;
}

.meisai .sum {
    border: solid 3px grey;
}

.meisai th {
    width: auto;
    background-color: #f9f9f9;
}

.meisai td {
    /* width: 22%; */
    width: 210px;
}

/* .meisai .sum th,td {
    width: 50%;
} */

table .head_1 th {
    background-color: #fbd4b3;
}

table .head_2 th {
    background-color: #d8e4bc;
}

table .head_3 th {
    background-color: #b7dde8;
}

table .table_title {
    font-size: 130%;
    font-weight: bold;
    text-align: center;
}

.meisai table th,
.meisai table td
{
    border: solid 1px #dadada;
    padding: 5px 8px;
}

.meisai table td {
    text-align: right;
    font-size: 120%;
}

.meisai table .small {
    font-size: 90%;
}

.meisai .minsum {
    border: solid 2px grey;
}

.meisai .minsum th,
.meisai .sum th {
    text-align: right;
}
.meisai table td.total {
    font-size: 130%;
    font-weight: bold;
}

















#process .process {
    background-image: linear-gradient(to bottom, #aaa, #aaa 4px, transparent 4px, transparent 8px);
    background-size: 4px 8px;
    background-position: center top;
    background-repeat: repeat-y;
}

#process .hide {
    border: 0 !important;
}
#process .process .sideBySide {
    display: flex;
    align-items: center;
    gap: .5em;
}

#process .process > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin: 0 auto 2em;
    width: min(100%, 950px);
}
#process .process > div > div {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 10px;
    /* background-color: #fff; */
    padding: 1em;
}
#process .process > div > div::before {
    content: "";
    position: absolute;
    /* top: 120%; */
    left: 50%;
    bottom: -25px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-top: 10px solid #555;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
#process .process > div:last-child > div::before {
    content: none;
}
#process .process > div .span2 {
    grid-column: span 2;
}
#process .process > div .span2::before {
    left: 23.5%;
    transform: translateX(-23.5%);
}
#process .process > div .span2::after {
    content: "";
    position: absolute;
    /* top: 120%; */
    bottom: -25px;
    left: 76.5%;
    /* left: 79.0%; */
    width: 0;
    height: 0;
    transform: translateX(-76.5%);
    border-top: 10px solid #555;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
#process .process .circle {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12pt;
    font-weight: bold;
    line-height: 1.2;
    width: 60px;
    height: 60px;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
}
#process .process .circleNumber {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120%;
    font-weight: bold;
    width: 40px;
    height: 40px;
    color: #fff;
    background-color: #999;
    border-radius: 50%;
}
#process .process .star {
    display: flex;
    align-items: center;
    font-size: 200%;
    line-height: 1;
}
#process .process .entry {
    color: #fff;
    text-align: center;
    font-weight: bold;
    background-color: var(--color-green);
}
#process .process .entry::before,
#process .process .entry::after
{
    top: 110% !important;
}
#process .process .entry > span {
    font-size: 130%;
}
#process .process .content {
    color: var(--color-green);
    font-weight: bold;;
    background-color: #b1e1cb;
}
#process .process .content ul {
    display: flex;
    gap: 1em;
}

#process .process .last {
    font-weight: bold;
    background: #ccc;
}
#process .process .last::before,
#process .process .last::after
{
    content: none !important;
}

#process .link {
    width: min(100%, 950px);
    margin: 0 auto 4em;
}

/* #application .detail > div {
    background-color: #fff;
    padding: 1em;
    border-radius: 6px;
} */
#application .detail .applicationList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min-content, 350px));
    gap: .5em;
}
#application .detail .applicationList > li {
    text-indent: -1em;
    margin-left: 1em;
}


#application .detail .applicationList > div {
    margin-bottom: 3em;
}

#application .detail .applicationList > div dt {
    font-size: 120%;
}
#application .detail .applicationList > div dd .sideBySide {
    display: flex;
    gap: 1em;
}
#application .detail .applicationList > div dd .btnDownload {
    display: block;
    width: min(100%, 610px);
    text-decoration: none;
    border: 1px solid var(--color-green);
    background-color: var(--color-green);
    padding: 1em;
    box-sizing: border-box;
}
/* #application .detail .applicationList > div dd .btnDownload > div {
    display: flex;
    align-items: center;
    gap: 1em;
} */
#application .detail .applicationList > div dd .btnDownload p {
    display: inline-block;
    color: #fff;
}
#application .detail .applicationList > div dd .btnDownload p:nth-child(1) {
    border: 2px solid #fff;
    padding: 10px;
    margin-bottom: .5em;
}
#application .detail .applicationList > div dd .btnDownload:hover {
    background-color: #fff;
}
#application .detail .applicationList > div dd .btnDownload:hover p {
    color: var(--color-green);
}
#application .detail .applicationList > div dd .btnDownload:hover p:nth-child(1) {
    border: 2px solid var(--color-green);
}

#group_culture #contents .detail {
    margin: 4em 0;
}

#group_culture #club::after {
    content: "";
    display: block;
    width: 30%;
    border-top: 10px dotted #8E8E8E;
    margin: 0 auto 1em;
}
#group_culture #club .innerWrap .detail {
    margin-bottom: 1.5em;
}
#group_culture #club .title > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
    gap: 1em 0;
}
#group_culture #club .title > div h3 {
    font-size: clamp(18pt, 3.5vw, 32pt);
    font-weight: bold;
    text-align: left;
    line-height: 1.5;
    margin-bottom: .2em;
}
#group_culture #club .title > div h3 span {
    background: linear-gradient(transparent 60%, #FFC600 60%);
}
#group_culture #club .detail ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, 280px);
    gap: 1.5em;
    justify-content: center;
    max-width: 1200px;
    margin-inline: auto;
}
#group_culture #club .detail ul > li {
    background-color: #FFC600;
    border-radius: 10px;
    padding: 15px;

}
#group_culture #club .detail ul > li p.item {
    font-weight: bold;
    font-size: clamp(18pt, 1.5vw, 30pt);
}

#group_culture #group .detail {
    margin-top: 2em;
}

#group_culture #group .title .oneWord2 {
    display: inline-block;
    font-size: 120%;
    padding: 5px 10px;
    border: 1px solid #000;
    margin-bottom: .5em;
}
#group_culture #group h3 {
    font-size: clamp(16pt, 2.0vw, 30pt);
    text-align: left;
    padding-bottom: .2em;
    border-bottom: 1px solid #000;
    margin-bottom: .5em;
}
#group_culture #group .graph {
    text-align: center;
    margin-bottom: 3em;
}
#group_culture #group .graph img {
    margin-bottom: .5em;
}
#group_culture #group .support {
    max-width: 1200px;
    margin-inline: auto;
}
#group_culture #group .support .oneWord2 {
    font-size: 110%;
    margin-bottom: .4em;
}
#group_culture #group .support h4 {
    font-weight: normal;
    font-size: clamp(16pt, 1.25vw, 30pt);
    text-align: center;
    padding: 5px 1em 3px;
    background-color: #FFC600;
    border-radius: 50px;
    margin-bottom: .8em;
}
#group_culture #group .support h4 + p {
    width: min(100%, 1100px);
    margin-inline: auto;
}

@media screen and (max-width: 430px){
    #contents h3 {
        line-height: 1.2;
    }
    #contents .oneWord {
        margin-bottom: 10px;
    }

    #index .merit > ul > li.withImages > div {
        flex-direction: column;
    }
    #index .merit dl > dt {
        font-size: 140%;
    }
    #index .merit .supportMerit {
        grid-template-columns: 1fr 1fr;
    }
    #index .merit .supportMerit > li img {
        width: 80%;
    }
    #index .merit .supportMerit > li p {
        font-size: 85%;
    }
    #index .merit .supportMerit > li .bigFont {
        font-size: 120%;
    }

    .meisai table th,
    .meisai table td {
        width: 100%;
        display: block;
        text-align: center;
    }
    .meisai table td:empty {
        display: none;
    }
    .meisai .minsum th,
    .meisai .sum th
    {
        text-align: center;
    }

    /* #cost .headOffice table colgroup col {
        width: auto !important;
    }
    #cost .headOffice table tr th,
    #cost .headOffice table tr td.totalAmount
    {
        display: none;
    }
    #cost .headOffice table tr td {
        display: block;
        text-align: center !important;
        border: 0;
        padding: 2px 5px;
    }
    #cost .headOffice table tr td.name {
        text-align: center;
        padding: .5em;
        background-color: var(--color-gray);
    }
    #cost .headOffice table tbody tr td.detailName {
        padding-top: .5em;
    }
    #cost .headOffice table tr {
        border-top: 1px solid #ccc;
    }
    #cost .headOffice table tr.for-sp {
        font-size: 110%;
        padding: .5em 0;
    }
    #cost .headOffice .grandTotal {
        text-align: center;
        font-weight: bold;
        border-top: 1px solid #ccc;
        padding-top: 1em;
    }
    #cost .headOffice .grandTotal .special p > span {
        font-size: 120%;
    }
    #cost .headOffice .grandTotal .special > a {
        font-size: 100%;
    } */

    #process .process .sideBySide {
        flex-direction: column;
    }
    #process .process > div > div {
        font-size: 80%;
        padding: .5em;
    }
    /* #process .process > div > div::before,
    #process .process > div > div::after
    {
        top: 110% !important;
    } */

    #process .process .entry > span {
        font-size: 110%;
    }
    #process .process .content ul {
        flex-direction: column;
        text-align: left;
        gap: .5em;
    }

    #process .process > div .span2::before {
        left: 21.5%;
        transform: translateX(-23.5%);
    }
    #process .process > div .span2::after {
        left: 79.0%;
    }

    #application .detail .applicationList {
        justify-content: flex-start;
    }

    #group_culture #club .innerWrap .detail {
        margin-block: 1.5em;
    }
    #group_culture #club .title > div {
        grid-template-columns: 1fr;
    }

    /* #group_culture .detail > div {
        flex-direction: column;
    }
    #group_culture .detail > div > div:nth-child(2) {
        max-width: 100%;
    }

    #group_culture .detail > div h4 {
        font-size: 4.5vw;
        font-weight: bold;
    }
    #group_culture .detail > div h4 + dl > dt {
        font-size: 5.5vw;
        font-weight: bold;
        line-height: 1.3;
        padding: 15px;
    } */
}