/* body *{
    border: 1px solid rgb(189, 8, 47);
} */
html{
    scroll-behavior: smooth;
}
#top-mv{
    width: 100%;
    text-align: center;
    background-color: #f7f7f7;
}
main{
    font-feature-settings: "palt";
}
#top-mv .pc{
    display: inline;
}
#top-mv .sp{
    display: none;
}
#top-content section{
    padding: 8rem 20px;
}
#top-content section:nth-child(even){
    background-color: #f7f7f7;
}
#top-content section h2{
    text-align: center;
    margin-bottom: 6rem;
}
#top-content section h2 span{
    display: inline-block;
    padding-bottom: 1px;
    border-bottom: 2px solid var(--main-color);
}
#top-content section h2 img{
    max-height: 31px;
}
#top-content section h2 .h-sp{
    display: none;
}
#top-content section h2 span.multi{
    margin-bottom: 1.5rem;
}

/* 新着情報
===============================================================*/
#top-content #top-news h2{
    margin-bottom: 4.5rem;
}
#top-news ul li a{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px dashed var(--border-graycolor);
    padding-bottom: 1.3rem;
    line-height: 1.2;
}
#top-news .news-wrap{
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
	max-height: 9em;
    min-height: 2em;
    overflow-y: auto;
}
#top-news .news-wrap::-webkit-scrollbar {
    width: 7px;
}
#top-news .news-wrap::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 5px;
    box-shadow: inset 0 0 0 2px #fff;
}
#top-news .news-wrap::-webkit-scrollbar-track {
    border-radius: 8px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
#top-news li{
    padding-top: 1.5rem;
}
#top-news li:hover{
    background-color: #cfeeff;
}

#top-news .date{
    color: var(--main-color);
    width: 23%;
    font-size: 1.4rem;
    text-align: right;
    display: block;
}
#top-news .title{
    width: 75%;
    padding-left: 5rem;
    font-size: 1.4rem;
    padding-right: 2rem;
}

/* 特集記事
===============================================================*/
#top-feature .feature-wrap{
    margin-bottom: 5rem;
}
#top-feature .feature-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#top-feature .feature-img{
    width: 48%;
}
#top-feature .feature-textWrap{
    width: 48%;
}
#top-feature .feature-textWrap h3{
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.6;
}

#top-feature .featureNOinner div {
    font-size: 2.4rem;
    letter-spacing: 0.2rem;
    display: flex;
    margin-bottom: 1rem;
}
#top-feature .featureNOinner span {
    background: #fff;
    color: var(--main-color);
    font-weight: 500;
    font-size: 2.4rem;
    padding: .4rem 1rem;
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}
#top-feature .featureNOinner em {
    padding: .4rem 1rem;
    font-weight: 500;
    font-size: 2.4rem;
    font-style: normal;
    color: #fff;
    background: var(--main-color);
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}
#top-feature .feature-textWrap p{
    line-height: 1.7;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
#top-feature .feature-textWrap a{
    color: var(--main-color);
    position: relative;
    display: inline-block;
}
#top-feature .feature-textWrap a::after{
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 2px var(--main-color);
    border-right: solid 2px var(--main-color);
    position: absolute;
    right: -18px;
    bottom: 2px;
    transform: rotate(45deg);
}

.more-btn{
        position: relative;
        padding: 2rem 6rem;
        font-size: 2.2rem;
        cursor: pointer;
        border-radius: 5px;
        background-color: #fff;
        border: 1px solid var(--border-graycolor);
        color: #252525;
        box-shadow: 0px 2px 14px -4px rgba(0,0,0,0.2);
        text-align: center;
        margin: 0 auto;
        font-weight: normal;
        max-width: 300px;
        width: 100%;
        transition: all .3s;
        margin-bottom: 5rem;
}
.feature-listWrap{
    margin-top: 5rem;
    /* display: none; */
}
.more-btn::after{
    content: '';
    border-style: solid;
    border-width: 13px 7px 0 7px;
    border-color: var(--main-color) transparent transparent transparent;
    position: absolute;
    position: absolute;
    right: 41px;
    top: 27px;
}
.more-btn:hover{
    opacity: .8;
}
.more-btn i{
    font-weight: bold;
}

#feature-list li{
    position: relative;
}
#feature-list li::after{
    content: '';
    background-image: url(../../images/2023/featureList-arrow.svg);
    width: 45px;
    height: 45px;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 22%;
}
#feature-list li a{
    display: block;
    padding: 3rem 0;
    border-bottom: 1px dotted var(--border-graycolor);
    font-size: 2.2rem;
    font-weight: bold;
    padding-right: 5rem;
}
#feature-list li a:hover{
    background-color: #cfeeff;
    opacity: 1;
}

/* もっと見るボタン */

#top-feature .marker {
    background: linear-gradient(transparent 80%, #ffffff 20%);
}
@media (max-width: 768px){
    #top-feature .featureNOinner em,
    #top-feature .featureNOinner span{
        font-size: 1.6rem;
    }
	#top-news .news-wrap{
		max-height: 14em;
	}
}


/* 事例記事
===============================================================*/

#cases-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#cases-list li{
    width: 31%;
    margin-bottom: 3rem;
    border: 1px solid var(--border-graycolor);
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
}
#cases-list li > a {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}
#cases-list .cases-text{
    padding: 2rem;
    position: relative;
}
#cases-list .cases-text h3{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;

}
#cases-list .cases-text span{
    font-size: 1.4rem;
}
#cases-list .cases-text p{
    margin-top: 2.5rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 任意の行数を指定 */
    overflow: hidden;
    display: -webkit-box;
}
#cases-list .cases-text::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 2px var(--main-color);
    border-right: solid 2px var(--main-color);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: rotate(45deg);
}
#cases-list .cases-foot{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 2rem 2rem;
    border-top: 1px solid var(--border-graycolor);
}
#cases-list .cases-foot .movie,
#cases-list .cases-foot a{
    display: block;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    position: relative;
    text-align: center;
    width: 48%;
    /* width: 100%; */
    margin-top: 2rem;
    padding: 1rem;
	cursor: pointer;
}
#cases-list .cases-foot .movie::after{
    content: '';
    background-image: url(../../images/2023/icon-movie.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-left: 1rem;
    width: 17px;
    height: 13px;
    vertical-align: -1px;
}
#cases-list .cases-foot .movie:hover,
#cases-list .cases-foot a:hover{
    background-color: #cfeeff;
    opacity: 1;
}

#cases-list .cases-foot .potal::after{
    content: '';
    background-image: url(../../images/2023/i-link.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-left: 1rem;
    width: 13px;
    height: 13px;
    vertical-align: -1px;
}
#cases-list .cases-body a{
    position: relative;
}
#cases-list .cases-label{
    position: absolute;
    top: 0;
    left: 0;
    width: 6.5rem;
    height: 6.5rem;
    padding: 0.5rem 0.8rem;
    background-color: var(--main-color);
    border-radius: 0 0 10px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#cases-list .cases-label > *{

    color: #fff;
    font-weight: bold;
    display: block;
}
#cases-list .cases-label i{
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #fff;
}
#cases-list .cases-label span{
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    padding-top: .5rem;
}
#cases-list .cases-label u{
    position: absolute;
    width: 12px;
    left: 0.5rem;
    top: 3rem;
}

#cases-result{

}
#cases-reslt h4{
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}
.result{
    margin-top: 3rem;
}
.result ul li{
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.result ul li::before{
    content: '';
    width: 9px;
    height: 3px;
    background-color: var(--main-color);
    position: absolute;
    left: 0;
    top: 11px;
}

/* 復興の星顕彰とは
===============================================================*/
.about-wrap p{
    line-height: 2;
    margin-bottom: 2rem;
}

.about-btn{
    position: relative;
    padding: 2rem 6rem;
    font-size: 2.2rem;
    cursor: pointer;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid var(--border-graycolor);
    color: #252525;
    box-shadow: 0px 2px 14px -4px rgba(0,0,0,0.2);
    text-align: center;
    margin: 0 auto;
    font-weight: normal;
    width: 100%;
    transition: all .3s;
    margin-bottom: 5rem;
}
.about-btn::after{
    content: '';
    border-style: solid;
    border-width: 13px 7px 0 7px;
    border-color: var(--main-color) transparent transparent transparent;
    position: absolute;
    position: absolute;
    right: 41px;
    top: 27px;
}
.about-btn:hover{
    opacity: .8;
}
.about-btn i{
    font-weight: bold;
}

/* 4つの視座
===============================================================*/
#shiza-wrap{
    background-color: #fff;
    border: 1px solid var(--border-graycolor);
    border-radius: 6px;
    padding: 6rem 8rem;
}
#shiza-wrap h3{
    font-size: 2.2rem;
    font-weight: bold;
    border-bottom: 1px solid var(--border-graycolor);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;

}
#shiza-wrap h3 i{
    margin-right: 1rem;
    font-weight: bold;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: text-bottom;
    border-radius: 50%;
    background-color: #5dc6ef;
}
#shiza-wrap h3 i span{
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}
#shiza-wrap p{
    line-height: 1.6;
    margin-bottom: 4rem;
}
#shiza-wrap figure{
    max-width: 600px;
    margin: 0 auto 4rem;
    width: 100%;
}
#shiza-wrap{
    display: none;
}

/* 顕彰受賞者一覧
===============================================================*/
#top-award h3{
    font-size: 2.6rem;
    font-weight: bold;
    text-align: left;
}
.marker {
    background: linear-gradient(transparent 70%, #c1eeff 30%);
}
.award-list-wrap{
    margin-top: 5rem;
}
.award-list{
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    margin-top: 3rem;
}
.award-list li{
    width: 48%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.award-list li figure{
    width: 40%;
    margin-right: 1.6rem;
}
.award-list li p{
    width: 52%;
    line-height: 24px;
}

#top-award .list-btn{
    margin-top: 6rem;
}
#top-award .list-btn+.list-btn{
    margin-top: 2rem;
}
.ard-num{
    line-height: 24px;
    text-align: center;
    font-size: 2rem;
}

@media (max-width: 768px){
    .award-list li{
        width: 100%;
    }
    .award-list{
        gap: 1.6rem;
    }
    .award-list li figure{
        margin-right: 1rem;
    }
    .award-list li p{
        font-size: 1.4rem;
    }
    #top-award h3{
        font-size: 2rem;
    }
}
/* 一覧
===============================================================*/
#top-list p{
    margin: 4rem 0;
    line-height: 1.5;
}
.list-btn{
    display: flex;
    justify-content: center;
}
.list-btn a{
    display: block;
    padding: 1.5rem;
    border: 2px solid var(--main-color);
    border-radius: 6px;
    text-align: center;
    width: 100%;
    max-width: 250px;
    background-color: #fff;
}
.list-btn a i{
    margin-left: 1rem;
}
.list-btn a i img{
    width: 15px;
}
/* 過去事例集
===============================================================*/
.past-wrap h3{
    font-size: 1.6rem;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--main-color);
}
.past-wrap h3 span{
    position: relative;
    display: inline-block;
    background-color: var(--main-color);
    padding: .5rem;
    color: #fff;
}
/* .past-wrap h3 span::after{
    content: '';
    border-style: solid;
    border-width: 6px 0 0 6px;
    border-color: transparent transparent transparent var(--main-color)
} */
.past-wrap ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/* .past-wrap ul .past-r3{
    width: 38%;
}
.past-wrap ul li:not(.past-r3){
    width: 21%;
} */
.past-wrap ul li{
    margin-bottom: 3rem;
    width: 30%;
}
.past-wrap ul li figure{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}
.past-wrap ul li figure img{
    display: block;
    /* max-width: 230px; */
}
.past-wrap ul li:not(.past-r3) figure img{
    max-width: 230px;
}
.past-link {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
.past-link a{
    display: block;
    border: 2px solid var(--main-color);
    background-color: #fff;
    border-radius: 4px;
    padding: 1rem;
    max-width: 120px;
    width: 100%;
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

.pdf-link,
.web-link{
    margin-right: 5px;
}
.kiji-link,.pdf-link {
    position: relative;
}
.pdf-link::after{
    content: '';
    background-image: url(../../images/2023/i-file.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-left: 1rem;
    width: 13px;
    height: 13px;
    vertical-align: bottom;
    position: absolute;
    right: 5px;
}
.kiji-link::after{
    content: '';
    background-image: url(../../images/2023/i-link.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-left: 1rem;
    width: 12px;
    height: 12px;
    vertical-align: bottom;
    position: absolute;
    right: 5px;
    top: 34%;
}
@media (max-width: 1024px){
    #top-feature .feature-textWrap h3{
        font-size: 2.2rem;
    }
    #top-feature .feature-flex{
        align-items: stretch;
    }
    /* 事例記事
    ===============================================================*/

    #cases-list li{
        width: 32%;
    }
    #cases-list .cases-text{
        padding: 1.5rem;
    }
    #cases-list .cases-text p{
        margin-top: 2rem;
        padding-bottom: 3rem;
        font-size: 1.5rem;
    }
	#cases-list .cases-foot .movie,
    #cases-list .cases-foot a{
        font-size: 1.4rem;
        padding: 1rem .5rem;
    }
    #cases-list .cases-foot .potal::after {
        margin-left: .3rem;
    }
    #cases-list .cases-foot .movie::after {
        margin-left: .3rem;
    }
}
@media (max-width: 768px){
    #top-content section{
        padding: 6rem 20px;
    }
    #top-content section h2{
        margin-bottom: 4rem;
    }
    #top-content section h2 .h-pc{
        display: none;
    }
    #top-content section h2 .h-sp{
        display: inline-block;

    }
    #top-content section h2 span img{
        max-height: 27px;
    }
    #top-mv .pc{
        display: none;
    }
    #top-mv .sp{
        display: inline;
    }
    #top-news dl dt{
        padding-bottom: .5rem;
        width: 100%;
        text-align: left;
    }
    #top-news dl dd{
        width: 100%;
        padding-left: 0rem;
        line-height: 1.6;
    }
    #top-news .date,
    #top-news .title
    {
        width: 100%;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    #top-news .date{
        padding-bottom: 1rem;
    }
    #top-news .title{
        line-height: 1.3;
    }

    #top-feature .feature-textWrap h3{
        margin-top: 2rem;
        font-size: 2rem;
    }
    #top-feature .feature-textWrap p{
        font-size: 1.4rem;
    }
    #top-feature .feature-img{
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    #top-feature .feature-textWrap{
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    #feature-list li a{
        font-size: 1.6rem;
        line-height: 1.4;
        padding: 2rem 5rem 2rem 0;
    }
    #feature-list li::after{
        width: 35px;
        height: 35px;
        top: 32%;
    }

    /* 事例記事
    ===============================================================*/

    #cases-list li{
        width: 49%;
        margin-bottom: 2rem;
    }
    #cases-reslt h4{
        font-size: 1.8rem;
    }
    .result ul li{
        font-size: 1.4rem;
    }
    
    .more-btn,.about-btn{
        font-size: 1.8rem;
    }

    .result ul li::before {
        top: 8px;
    }

    #shiza-wrap{
        padding: 4rem 1.5rem;
    }
    /*過去事例集
    ===============================================================*/
    /* .past-wrap ul .past-r3{
        width: 49%;
    }
    .past-wrap ul li:not(.past-r3){
        width: 40%;
    } */
    .past-wrap ul li{
        width: 40%;
    }
    .past-wrap ul li{
        margin-bottom: 3rem;
    }

}
@media (max-width: 550px){
    #cases-list li{
        width: 100%;
    }
    /* .past-wrap ul .past-r3{
        width: 100%;
    }
    .past-wrap ul li:not(.past-r3){
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    } */
    .past-wrap ul li{
        width: 100%;
    }
    .past-link{
        justify-content: center;
        width: 100%;
    }
    #top-content section h2 span img{
        max-height: 24px;
    }
    .more-btn::after{
        right: 41px;
        top: 25px;
    }
}