html {
    font-size: 100%;
    overflow-x: hidden;
}
body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

.zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.zen-maru-gothic-bold {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zen-maru-gothic-black {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}
p{
    color: #866239;
    line-height: 1.4em;
    font-size: 17px;
    font-weight: 600;
}


.wrapper {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    background-image: url("../images/index/background.jpg");
    background-repeat: repeat;
}
@media screen and (max-width:768px) {
        .wrapper {
        max-width: 768px;
    }
}


.header-wrap{
    position: relative;
}
.header-img img{
    z-index: 10;
}
.header-sp{
    display: none;
}
.text-wrap{
    height: 30px;
}
.text-detail{
    /* font-size: 1.2vw; */
    font-size: 14px;
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    font-weight: 600;
    padding: 30px 0 35px;
    width: 768px;
    line-height: 1.5;
    opacity: 0.9;
}
@media screen and (max-width:768px) {
    .header-wrap{
        margin: 0 auto;
        position: static;
        text-align: center;
    }
    .header-img{
        display: none;
    }
    .header-sp{
        display: block;
    }
    .text-wrap{
        height: auto;
    }
    .text-detail{
        position: static;
        transform: none;
        max-width: 90%;
        margin: -20px auto 0;
        padding: 0;
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: center;
        box-sizing: border-box;
    }
}
@media screen and (max-width:500px) {
    
    .text-detail{
        margin: 0 auto;
    }
}

/* メイン */
.main-container{
    padding: 35px 30px 0;
}
.selected-inner{
    width: 100%;
    max-width: 768px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px 64px 32px;
    border-radius: 30px;
    margin: 0 auto;
    position: relative;
}
.selected-inner h2{
    padding-bottom: 20px;
}
.work-top{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 70;
}
.work-top .work01{
    padding-right: 65px;
}
.selected-work img{
    width: 286px;
    height: auto;
    border: 4px solid #fff;
    box-shadow: 0 3px 8px  rgba(0,0,0,0.2);
    margin-bottom: 12px;
}
.selected-work p{
    line-height: 1.3em;
}
.small-text{
    font-size: 14px;
    font-weight: 500;
}

/* 素材 */
.illust-group img{
    width: 100%;
    max-width: 100%;
    height: auto;
}
.illust-group .img1 {
    position: absolute;
    top: -80px;
    left: -60px;
    max-width: 100%;
    height: auto;
}
.illust-group .img1 img {
    width: 100%;
}

.illust-group .img2 {
    position: absolute;
    top: 200px;
    left: -96px;
    max-width: 100%;
    height: auto;
}
.illust-group .img3 {
    position: absolute;
    bottom: 0px;
    left: -96px;
    max-width: 100%;
    height: auto;
}
.illust-group .img4 {
    position: absolute;
    top: 30px;
    right: -70px;
    max-width: 100%;
    height: auto;
}
.illust-group .img5 {
    position: absolute;
    top: 400px;
    right: 0px;
    max-width: 100%;
    height: auto;
}
.illust-group .img6 {
    position: absolute;
    top: -80px;
    right: -96px;
    max-width: 100%;
    height: auto;
    z-index: 6;
}
@media screen and (max-width:768px) {
    .work-top{
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 70;
    }
    .work-top .work01{
        padding-right: 0;
    }
    .work03{
        margin-top: -20px;
        position: relative;
    }
    .selected-work img{
        width: 100%;
        border: 2px solid #fff;
        margin-bottom: 8px;
    }
    .selected-work p{
        margin-bottom: 20px;
        font-size: 15px;
    }
    .small-text{
        font-size: 12px;
        font-weight: 500;
    }
    .illust-group .img1 {
        position: absolute;
        top: -40px;
        left: -60px;
        max-width: 100%;
        height: auto;
    }
    .illust-group .img3 {
        bottom: 0px;
        left: -96px;
        max-width: 80%;
        height: auto;
    }
    .illust-group .img4 {
        top: 50px;
        right: -40px;
        max-width: 75px;
        height: auto;
    }
    .illust-group .img5 {
        right: -35px;
        max-width: 110px;
    }
    .illust-group .img6 {
        position: absolute;
        top: -80px;
        right: -180px;
        max-width: 80%;
    }
}



/* 各団体リンクボタン */
.group-wrapper{
    max-width: 768px;
    margin: 0 auto;
}
.group-wrapper h2{
    padding: 30px 0;
}
.group-btn-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.group-btn-list li:hover{
    opacity: 0.6;
}

.footer-img{
    margin-top: -90px;
}
@media screen and (max-width:768px) {
    .group-wrapper{
        max-width: 100%;
    }
    .group-wrapper h2{
        padding: 25px 0 15px;
    }
    .group-btn-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 494px;
        gap: 22px;
        margin: 0 auto;
    }
    .footer-img{
    margin-top: 0px;
    }
}