/*下層ページ共通*/
body {
    /*background: #E5E5E5;*/
    color: #221815;
    background-image: url("../img/background.png");
}

li {
    list-style: none;
}

.more-button-color {
    color: #FFFFFF;
    background-color: #947fff;
}

.more-button-style {
    padding: 5px 40px;
}

#topics-header-dummy {
    margin: 0 auto;
    /*height: 100px;*/
    width: 100%;
    max-width: 1280px;
}

#topics-header-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
}

#topics-header {
    position: absolute;
    overflow: hidden;
    height: 750px;
    width: 100%;
    max-width: 1280px;
    z-index: -200;
    top: -100;
    right: 0;
}

#topics-header-text {
    position: absolute;
    margin: 30px 40px;
    font-size: 2.2rem;
    font-family: 'Libre Baskerville', serif;
    /*aboutのみ変更*/
}

#topics-1,
#topics-2,
#topics-triangle,
#topics-back {
    position: absolute;
}

#topics-1 {
    z-index: -300;
    width: 1280px;
    top: 0;
    right: 0;
}

#topics-2 {
    z-index: -100;
    width: 400px;
    top: -110px;
    right: 0;
}

#topics-triangle {
    z-index: -200;
    width: 750px;
    top: -100px;
    left: 0px;
    mix-blend-mode: hard-light;
}

#topics-back {
    z-index: -400;
    width: 750px;
    height: 750px;
    top: 0;
    left: 0;
}

/*********
 aboutページ
  *********/
.about-content {
  max-width: 1175px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.5;
  letter-spacing: 0.4px;
}

.about-top {
    display: flex;
    margin-top: 100px;
}

.top-img {
    margin: 45px 20px;
    max-width: 50%;
}

.top-img img {
    max-width: 100%;
}

.about-txt {
    max-width: 50%;

}

p.content-txt {
    max-width: 570px;
    margin-top: 45px;
    line-height: 1.4;
}

.about-link {
    background-color: #419cdb;
    max-width: 1130px;
    float: right;
    margin-top: 60px;
    margin-left: 100px;
}

p.about-ttl {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-left: 35px;
    font-family: 'Libre Baskerville', serif;
}

.about-link-1{
    /*max-width: 985px;*/
    display: flex;
    padding-right: 40px;
    position: relative;
}
img.about-traiangle{
  position: absolute;
  right: 20px;
  top: 10%;
  width: 25px;

}
p.about-link-1 {
    max-width:  70vw;
    line-height: 1.4;
    float: left;
    margin: 10px 0 10px 45px;
    font-size: 18px;
}

p.about-link-1 a {
    text-decoration-line:underline;
    border-width:1px;

}

p.about-link-2 {
    max-width: 70vw;
    line-height: 1.4;
    float: left;
    margin: 0 0 30px 45px;
    font-size: 20px;
}

p.about-link-2 a {
    text-decoration-line:underline;
    border-width:1px;

}

p.footer-txt {
    padding-top: 100px;
    margin-top: 220px;
}

@media screen and (max-width:768px) {



    #topics-header-dummy {
        margin-top: 100px;
    }

    #topics-header-text {
        font-size: 1.5rem;
    }

    #topics-1 {
        height: 18%;
    }

    .about-content {
        width: 100%;
        margin: 0 auto;
    }

    .about-top {
        display: block;
    }

    .top-img {
        max-width: 650px;
        padding-top: 80px;
        margin: 0 auto;
    }

    .about-txt {
        max-width: 650px;
        margin:0 auto;
    }

    .top-img img {
        width: 100%;
    }

    p.content-txt {
        max-width: 100%;
        margin: 50px 20px 40px 20px;
        line-height: 1.4;
        background-color: #e5e5e5;
    }

    .about-link {
        margin-top: 5%;
        max-width: 650px;
        margin: 0 auto;
        float: none;
        /*height: 38vw;*/
    }

    p.about-ttl {
        margin-top: 0;
    }


    p.about-ttl {
        margin-left: 30px;
    }

    p.about-link-1 {
        max-width: 540px;
        margin: 30px 0 10px 20px;

    }

    p.about-link-2 {
        max-width: 540px;
        margin: 20px 0 50px 20px;

    }

    p.footer-txt {
        margin-top: 0;
        padding-top: 30px;
    }

    main p {
        margin: 0;
    }
}
