body {
    line-height: normal;
    letter-spacing: 0.1em;
}
.l-main {
    display: block;
    overflow-x: hidden;
    font-family: "YakuHanJP", "NotoSansCJKjp", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
        sans-serif;
}

.l-container__inner {
    width: 1320px;
    margin-left: auto;
    margin-right: auto;
}
.c-grid__col-1 {
    width: 440px;
}
.c-grid__col-2 {
    width: 880px;
}

body.p-top .p-header__logo {
    display: block;
}
.p-header__logo img {
    height: auto;
    width: 22px;
}

.title-top h1 {
    font-size: 10rem;
    letter-spacing: -0.2rem;
    line-height: 68px;
}
.title-top h1 span {
    display: inline;
    font-size: 4.8rem;
    margin-left: 20px;
}
.title-top p {
    font-size: 2.2rem;
    font-family: "NotoSansCJKjp";
    margin-top: 40px;
    font-weight: 700;
}

/* parts */

.heading {
    display: flex;
    padding-top: 40px;
}
.heading-number {
    font-size: 2.4rem;
    position: relative;
    top: 10px;
}
.heading-title {
    font-family: "Helvetica Neue", Helvetica, "Open Sans", sans-serif;
    font-size: 10rem;
    color: #8d58dd;
    letter-spacing: -0.4rem;
}
.heading-info {
    position: relative;
    top: 78px;
    margin-left: 13px;
}
.details {
    margin: 40px 0;
    font-weight: 700;
}

.access {
    margin-bottom: 80px;
}
.access .btn-title {
    display: inline-block;
    width: 260px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    background-color: #fff;
    color: #000;
    font-size: 1.8rem;
    font-family: "NotoSansCJKjp";
    font-weight: 700;
}
.access .two {
    margin-top: 50px;
}

.access .btn-title:hover {
    color: #fff;
    background-color: #000;
}
.access p {
    font-size: 2.291rem;
    font-family: "NotoSansCJKjp";
    font-weight: 700;
}
.access p span {
    display: block;
}

.works {
    position: relative;
}
/* about */

.about {
    font-size: 1.8rem;
    margin-bottom: 120px;
}

.about-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 80px;
}

.about-container:first-child {
    justify-content: space-between;
    margin-bottom: 40px;
}

.about-content {
    width: 100%;
}

.about-content p {
    font-size: 2.1rem;
    font-family: "NotoSansCJKjp";
    font-weight: 700;
    margin-bottom: 30px;
}
.about-content .info {
    font-size: 1.4rem;
    margin-bottom: 28px;
}
span.question {
    background: #fff;
    color: #000;
    border-radius: 50%;
    text-align: center;
    padding: 0.5px 8px;
    margin: 0 8px;
    position: relative;
    font-size: 1.6rem;
}

.about-box {
    width: 50%;
    margin: 0;
}
.about-box.flow {
    width: 50%;
    margin: 0 auto;
}
.about-box.flow-2 {
    width: 55%;
    margin: 0 auto;
    position: relative;
}
.about-box img {
    width: 100%;
}
.about-box-details {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    height: 130px;
}
.about-box-details .text {
    width: 82%;
    font-size: 1.4rem;
    padding-left: 10px;
}
.circle {
    height: 41px;
    width: 43px;
    border-radius: 50%;
    line-height: 41px;
    text-align: center;
    background-color: #8d58dd;
}
.circle span {
    font-size: 2.6rem;
    font-weight: 600;
    color: #333333;
}

/* menu */
.menu {
    margin-bottom: 100px;
}
.menu-details {
    font-size: 1.9rem;
    margin-top: 20px;
    font-weight: 700;
}
.menu-content p {
    display: block;
    font-size: 2.1rem;
    font-family: "NotoSansCJKjp";
    font-weight: 700;
    margin-bottom: 30px;
}

.menu-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 160px;
}
.menu-content {
    position: relative;
    margin-top: 40px;
}
.menu-content p {
    padding: 10px 20px;
    color: #fff;
    background: #000;
    display: inline-block;
    font-family: "NotoSansCJKjp";
    font-weight: 700;
}
.menu-content:nth-child(4) p {
    display: table;
}
.menu-content ul {
    margin-top: 30px;
    height: 129px;
}
.menu-content:nth-child(5) ul,
.menu-content:nth-child(6) ul {
    margin-top: 50px;
}
.menu-content li {
    margin-left: 50px;
    margin-right: 10px;
    margin-top: 30px;
}
.menu-content li::before {
    position: absolute;
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    background: #8d58dd;
    margin-left: -50px;
    margin-top: 10px;
}
.menu-content-var {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 134px;
    background: #000;
    margin: 0 30px;
}
.menu-content-var img {
    width: 85px;
    height: 85px;
}

.mr-20 {
    margin-right: 20px;
}
.ml-20 {
    margin-left: 20px;
}
/* flow */
section.flow {
    background-color: #ffffff;
    color: #202020;
    height: 405px;
    margin-bottom: 200px;
}

.flow-details {
    font-size: 1.9rem;
    margin-top: 20px;
    font-weight: 700;
}
.flow-box {
    position: relative;
    display: flex;
    gap: 0 31px;
    bottom: -43px;
}
.flow-content {
    position: relative;
    width: 100%;
    height: 100%;
}
.flow-content p {
    background: #8d58dd;
    position: relative;
    z-index: 100;
    color: #fff;
    padding: 27px 23px 27px 13px;
    width: calc(100% - 20px);
    font-weight: 700;
    font-size: 0.86vw;
}

.flow-content.pd p {
    padding: 18px 23px 17px 13px;
}

.flow-content-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 204px;
    width: 100%;
    background: #eeeeee;
    top: -30px;
}

.flow-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin-top: 30px;
}
.flow-content-img.flow-arrow:after {
    position: absolute;
    display: block;
    content: "";
    background: url("../img/arrow_right.png") no-repeat center/cover;
    width: 53px;
    height: 27px;
    right: -40px;
    z-index: 10;
}

/* Other */
.other-box {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin-bottom: 166px;
}
.other-content {
    font-family: "NotoSansCJKjp";
    background-size: 100% auto;
    max-height: 100%;
    height: 234px;
    padding: 20px;
}
.other-content:first-child {
    background: url("../img/stamp.png") no-repeat center/cover;
    margin-bottom: 44px;
    position: relative;
}
.other-content:nth-child(2) {
    background: url("../img/event.png") no-repeat center/cover;
    margin-bottom: 44px;
}
.other-content:nth-child(3) {
    background: url("../img/item.png") no-repeat center/cover;
    margin-bottom: 44px;
}
.other-content:nth-child(4) {
    background: url("../img/diagnosis.png") no-repeat center/cover;
}
.other-content:nth-child(5) {
    background: url("../img/contest.png") no-repeat center/cover;
}
.other-content:nth-child(6) {
    background: url("../img/game.png") no-repeat center/cover;
}

.other-content div {
    margin: 30px;
}
.other-content h3 {
    line-height: 30px;
    font-size: 2.2rem;
    font-weight: 700;
}
.other-content h3 span {
    display: block;
}
.other-content p {
    font-size: 1.4rem;
    padding-top: 30px;
}

.other-details {
    font-size: 1.9rem;
    margin: 20px 0 77px 0;
    font-weight: 700;
}

/* creative */

.creative {
    background-color: #ffffff;
    color: #202020;
    height: 480px;
    margin-bottom: 200px;
}

.creative-details {
    font-size: 1.9rem;
    margin-top: 20px;
    font-weight: 700;
}
.creative-box {
    display: flex;
    justify-content: space-around;
    position: relative;
    bottom: -60px;
}

.creative-box-text {
    margin-right: 50px;
}
.creative-box-text p:first-child {
    margin-bottom: 30px;
}
.creative-box-text .access {
    position: absolute;
    bottom: -80px;
}
.creative-box-img {
    width: 77%;
}
.creative-box-img img {
    height: auto;
    width: 100%;
}

/* recommend */

.recommend {
    margin-bottom: 80px;
}
.recommend .details {
    font-size: 2.4rem;
}
.recommend-box {
    display: flex;
    flex-wrap: wrap;
}
.banner {
    padding-right: 40px;
    margin-bottom: 40px;
}
.banner img {
    width: 100%;
    border: 1px solid #f2f2f2;
}
@media screen and (min-width: 1683px) {
    .flow-content p{
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 1499px) {
    .l-main {
        width: 100%;
    }
    .l-container__inner {
        width: calc(100% - 8vw);
    }
    .c-grid__col-2 {
        width: calc(200% / 3);
    }
    .c-grid__col-1 {
        width: calc(100% / 3);
    }
    .p-header__logo {
        left: 1vw;
    }
}

@media screen and (max-width: 1279px) {
    /* other */

    .other-details {
        height: auto;
    }

    .other-details h3 {
        font-size: 3.4rem;
    }
    .other-details span {
        font-size: 1.2rem;
    }
    .other-details p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1200px) {
    section.flow {
        height: auto;
    }
    .flow-box {
        display: block;
    }
    .flow-content.c-grid__col-1 {
        position: relative;
        width: 100%;
    }
    .flow-content-img.flow-arrow:after {
        position: absolute;
        display: none;
    }
    .flow-content p{
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 959px) {
    .c-grid__col-2 {
        width: 100%;
    }
    .c-grid__col-1 {
        width: 100%;
    }

    .heading {
        display: block;
    }
    .heading-info {
        top: 0;
        margin-left: 0;
        margin-bottom: 20px;
    }

    /* parts */

    .details {
        margin: 60px 0 40px;
    }

    .title-top h1 {
        font-size: 6rem;
        margin-top: 40px;
    }
    .title-top p {
        margin-top: 25px;
        margin-bottom: 80px;
    }
    .title-top h1 span {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
    .title-image {
        margin: 40px 0;
    }
    .title-image img {
        width: 100%;
    }

    .access {
        margin-bottom: 40px;
    }
    .access p span {
        display: inline;
    }

    /* about */

    .about {
        margin-bottom: 0;
    }

    .about-container {
        display: block;
    }
    .about-content {
        display: block;
        width: 90%;
    }
    .about-box {
        width: 100%;
        margin: 40px auto;
    }

    .about-container:first-child {
        display: block;
    }

    .about-img {
        display: block;
        width: 90%;
        margin: 0 auto 40px;
        text-align: center;
    }

    .about-box.flow {
        width: 100%;
        margin: 0 auto 40px;
    }
    .about-box.flow-2 {
        width: 100%;
        margin: 0 auto 40px;
        position: relative;
        top: -30px;
    }
    .about-box img {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        margin-top: 48px;
    }

    .about-box-details {
        height: auto;
        margin: 0 auto 20px;
        text-align: left;
    }
    .about-box-details .text {
        width: 82%;
        font-size: 1.4rem;
        padding-left: 10px;
    }
    
    /* flow */
    section.flow {
        height: auto;
    }
    .flow-box {
        display: block;
    }
    .flow-content-img.flow-arrow::after {
        position: absolute;
        display: none;
    }

    /* other */

    .other {
        margin-bottom: 80px;
    }

    .other-box {
        display: block;
        bottom: 0;
        margin-top: 60px;
    }

    .other-line {
        margin-right: 0;
        margin: 0 auto;
    }
    .other-web {
        margin-left: 0;
        padding: 40px 0;
    }

    .other-details {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
        position: initial;
    }
    .other-details h3 {
        font-size: 3rem;
    }
    .other-details span {
        font-size: 1.3rem;
    }
    .other-details p {
        font-size: 1.2rem;
    }

    .other-content:nth-child(4) {
        margin-bottom: 44px;
    }
    .other-content:nth-child(5) {
        margin-bottom: 44px;
    }
    .other-content:nth-child(6) {
        margin-bottom: 44px;
    }

    /* creative */

    .creative {
        height: auto;
        margin-bottom: 200px;
    }
    .creative-details {
        font-size: 1.6rem;
    }
    .creative-box {
        flex-direction: column;
        bottom: -60px;
    }
    .creative-box-text {
        margin: 0;
    }
    .creative-box-text .access {
        bottom: -100px;
    }
    .creative-box-img {
        width: 100%;
        margin: 20px auto;
    }

    /* recommend */

    .recommend .heading-title {
        font-size: 6.5rem;
    }
    .recommend-box {
        flex-direction: column;
    }
    .banner {
        margin: 20px auto;
        padding: 0;
    }
    .banner img {
        max-width: 500px;
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    .title-top h1 {
        font-size: 5rem;
        margin-top: 40px;
    }
    .heading-title {
        font-size: 8rem;
    }
    .recommend .heading-title {
        font-size: 5rem;
    }
    .flow-content p{
        font-size: 1.3rem;
    }
    .other-content h3 {
        font-size: 2rem;
    }
}
