/* reset用 */
body {
    min-width: unset !important;
}
#Container {
    padding: 0;
}
main ul li {
    background: unset !important;
    padding-left: unset !important;
}
div.youtube {
    padding: unset !important;
}
div.youtube iframe, div.youtube video {
    position: static !important;
}



:root {
    --color-debut: #a9d12d;
    --color-pro: #29d5ed;
    --color-ex: #498ecc;
    --color-white: #fff;
    --color-pink1: #f69191;
    --color-green1: #b9eb1d;
    --color-beige1: #fffaee;
}
@keyframes anime-device {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateY(20px);
    }
}

#Wrapper, footer, main {
    /* reset用 */
    @media (width < 768px) {
        min-width: unset;
    }
}
.function_debut {
    /* reset用 */
    * {
        letter-spacing: 0;
    }
    & p {
        margin: unset;
    }
    .youtube {
        order: unset;
    }

    /* レイアウト */
    margin-top: 53px;
    max-width: 1920px;
    overflow: hidden;
    * {
        box-sizing: border-box;
        &::before, &::after {
            box-sizing: border-box;
        }
    }
    picture {
        display: block;
    }
    img {
        width: 100%;
        height: auto;
    }
    a {
        text-decoration: none;
        &:hover {
            opacity: 1;
        }
    }
    .pc {
        display: block;
        @media (width <= 768px) {
            display: none;
        }
    }
    .tab {
        display: none;
        @media (768px <= width < 1025px) {
            display: block;
        }
    }
    .sp {
        display: none;
        @media (width < 768px) {
            display: block;
        }
    }
    .btn {
        display: inline-block;
        position: relative;
        &::after {
            content: "";
            background: var(--color-white);
            width: 100%;
            height: 100%;
            display: inline-block;
            border: 2px solid var(--color-pink1);
            border-radius: 9999px;
            position: absolute;
            left: 4px;
            top: 5px;
            z-index: 1;
        }
        @media (width < 768px) {
            &::after {
                border-radius: 9999px;
            }
        }
        a {
            background: var(--color-pink1);
            color:  var(--color-white);
            font-size: 18px;
            font-weight: 600;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 50px;
            padding: 10px 50px 10px 40px;
            border-radius: 9999px;
            position: relative;
            z-index: 2;
            transition: .15s;
            &::after {
                content: "";
                background: var(--color-white);
                width: 10px;
                height: 18px;
                display: block;
                clip-path: polygon(0 0, 20% 0, 100% 45%, 100% 55%, 20% 100%, 0 100%);
                position: absolute;
                right: 25px;
                top: 0;
                bottom: 0;
                margin: auto;
            }
            @media (width < 768px) {
                font-size: 14px;
                min-height: 40px;
                padding: 10px 30px 10px 20px;
                border-radius: 9999px;
                &::after {
                    width: 6px;
                    height: 11px;
                    right: 15px;
                }
            }
            &:hover {
                transform: translate(4px, 5px);
            }
        }
        &.cta {
            &::after {
                border-radius: 10px;
                left: 5px;
            }
            @media (width < 768px) {
                width: 74.2vw;
                &::after {
                    border-radius: 5px;
                }
            }
            a {
                background: linear-gradient(90deg, #f69191, #ff8ce3);
                min-width: 300px;
                height: 60px;
                padding: 10px 90px 10px 60px;
                border-radius: 10px;
                &::after {
                    display: none;
                }
                &:hover {
                    background: linear-gradient(90deg, #f69191, #ff8ce3);
                }
                @media (width < 768px) {
                    min-width: unset;
                    width: 100%;
                    height: 11.5vw;
                    padding: 10px 30px 10px 20px;
                    border-radius: 5px;
                }
                span {
                    color: var(--color-white);
                    font-size: 22px;
                    text-decoration: none;
                    text-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
                    letter-spacing: 0.1em;
                    position: relative;
                    &::after {
                        content: "";
                        background: var(--color-white);
                        width: 10px;
                        height: 18px;
                        display: inline-block;
                        clip-path: polygon(0 0, 20% 0, 100% 45%, 100% 55%, 20% 100%, 0 100%);
                        position: absolute;
                        right: -30px;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        transform: rotate(90deg);
                        filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.5));
                    }
                    @media (width < 768px) {
                        font-size: 4.3vw;
                        text-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
                        &::after {
                            right: -5vw;
                            width: 2vw;
                            height: 4vw;
                        }
                    }
                }
            }
        }
        &.all {
            a {
                background: var(--color-debut);
            }
            &::after {
                border: 2px solid var(--color-debut);
            }
        }
        &.pro {
            a {
                background: var(--color-pro);
            }
            &::after {
                border: 2px solid var(--color-pro);
            }
        }
        &.ex {
            a {
                background: var(--color-ex);
            }
            &::after {
                border: 2px solid var(--color-ex);
            }
        }
    }
    & > div[id$="_area"] > .inner {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        @media (width < 768px) {
            padding: 0 15px;
        }
    }

    #kv_area {
        background: url("/view/function_debut/img/kv_bg_pc.png") no-repeat 50% 50%;
        height: 825px;
        overflow: hidden;
        @media (width < 768px) {
            background: url("/view/function_debut/img/kv_bg.png") no-repeat 50% 50% / cover;
            height: 154vw;
        }
        .inner {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            max-width: 1140px;
            height: 100%;
        }
        .text_box {
            position: relative;
            bottom: 40px;
            width: 100%;
            @media (width < 768px) {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                align-items: center;
                bottom: 3vw;
            }
            .catchphrase {
                margin-bottom: 46px;
                @media (width < 768px) {
                    margin-bottom: 40vw;
                }
                & picture {
                    width: 562px;
                    @media (768px <= width < 1160px) {
                        width: 49.2%;
                    }
                    @media (width < 768px) {
                        width: 74.2vw;
                    }
                }
            }
            .logo {
                display: flex;
                align-items: center;
                margin-bottom: 10px;
                @media (width < 768px) {
                    margin-bottom: 1vw;
                }
                .debut {
                    width: 446px;
                    margin-right: 20px;
                    @media (768px <= width < 1160px) {
                        width: 40.5%;
                    }
                    @media (width < 768px) {
                        width: 53vw;
                        margin-right: 3vw;
                    }
                }
                .ver3 {
                    width: 130px;
                    @media (768px <= width < 1160px) {
                        width: 11.8%;
                    }
                    @media (width < 768px) {
                        width: 18vw;
                    }
                    a {
                        &:hover {
                            opacity: .7;
                        }
                    }
                }
            }
            .os {
                font-size: 14px;
                margin-bottom: 36px;
                @media (768px <= width < 1160px) {
                    width: 40.5%;
                }
                @media (width < 768px) {
                    width: 74.2vw;
                    font-size: 3.2vw;
                    text-align: center;
                    margin: 0 auto 3vw;
                }
            }
        }
        .device_box {
            @media (width < 768px) {
                width: 70vw;
                height: 32vw;
                position: absolute;
                left: 0;
                right: 0;
                top: 48vw;
                margin: auto;
                &.en {
                    top: 45vw;
                }
                &.fr {
                    top: 51vw;
                }
                &.de {
                    top: 54vw;
                }
                &.tc {
                    top: 45vw;
                }
            }
            & picture {
                position: absolute;
                @media (width < 768px) {
                    margin: auto;
                }
            }
            .device_ipad {
                opacity: 0;
                width: 428px;
                /* height: 351px; */
                top: 54px;
                right: 96px;
                z-index: 3;
                animation: anime-device 2.6s ease-in-out infinite alternate;
                @media (768px <= width < 1160px) {
                    width: 38.9%;
                    right: 8.7%;
                }
                @media (width < 768px) {
                    width: 55%;
                    top: unset;
                    left: 0;
                    bottom: 0;
                    right: unset;
                    animation: none;
                }
            }
            .device_iphone {
                opacity: 0;
                width: 147px;
                /* height: 233px; */
                top: 424px;
                right: 305px;
                z-index: 2;
                animation: anime-device 2.5s ease-in-out .2s infinite alternate;
                @media (768px <= width < 1160px) {
                    width: 13.3%;
                    right: 27.7%;
                }
                @media (width < 768px) {
                    width: 18%;
                    top: unset;
                    bottom: 0;
                    right: 0;
                    animation: none;
                }
            }
            .device_pc {
                opacity: 0;
                width: 410px;
                /* height: 317px; */
                top: 318px;
                right: -44px;
                z-index: 1;
                animation: anime-device 2.7s ease-in-out .4s infinite alternate;
                @media (768px <= width < 1160px) {
                    width: 37.2%;
                    right: -4%;
                }
                @media (width < 768px) {
                    width: 50%;
                    top: 0;
                    /* right: 7%; */
                    right: 5%;
                    animation: none;
                }
            }
        }
    }

    #read_area {
        background: var(--color-debut);
        padding: 85px 0;
        position: relative;
        .inner {
            max-width: unset;
            @media (width < 768px) {
                padding: 0 6vw;
            }
        }
        &::before {
            content: "";
            background: url("/view/function_debut/img/deco_fluid01.svg") no-repeat 0 0 / contain;
            display: block;
            width: 130px;
            aspect-ratio: 1;
            position: absolute;
            left: 900px;
            right: 0;
            bottom: -42px;
            margin: 0 auto;
            z-index: 2;
        }
        @media (width < 768px) {
            padding: 20vw 0;
            &::before {
                width: 25vw;
                left: 60vw;
                bottom: -10vw;
            }
        }
        p {
            color: var(--color-white);
            font-size: 20px;
            font-weight: 500;
            line-height: 1.9;
            text-align: center;
            @media (768px <= width < 1025px) {
                font-size: 4vw;
                line-height: 1.7;
            }
            @media (width < 768px) {
                font-size: 4vw;
                line-height: 1.7;
            }
            &.note {
                font-size: 14px;
                line-height: 1.5;
                margin-top: 15px;
                @media (width < 768px) {
                    font-size: 3.5vw;
                }
            }
        }
    }

    #points_area {
        background-image: url("/view/function_debut/img/points_bg_pc.png"), linear-gradient(-45deg, #fff 25%, var(--color-beige1) 25%, var(--color-beige1) 50%, #fff 50%, #fff 75%, var(--color-beige1) 75%, var(--color-beige1));
        background-repeat: repeat-y, repeat;
        background-position: 50% 0, 50% 0;
        background-size: 1920px 1200px, 40px 40px;
        padding: 80px 0 100px;
        @media (width < 768px) {
            background-image: url("/view/function_debut/img/points_bg.png"), linear-gradient(-45deg, #fff 25%, var(--color-beige1) 25%, var(--color-beige1) 50%, #fff 50%, #fff 75%, var(--color-beige1) 75%, var(--color-beige1));
            background-size: contain, 40px 40px;
            padding: 15vw 0;
        }
        .area_ttl {
            font-size: 40px;
            font-weight: 700;
            text-align: center;
            line-height: 1.35;
            margin-bottom: 30px;
            @media (width < 768px) {
                font-size: 24px;
            }
        }
        .read {
            max-width: 765px;
            margin: 0 auto 70px;
            @media (width < 768px) {
                margin: 0 auto 30px;
            }
        }
        #points_list {
            > li {
                position: relative;
                &::before {
                    content: "";
                    background: radial-gradient(var(--color-green1) 20%, transparent 20%),
                    radial-gradient(var(--color-green1) 20%, transparent 20%);
                    background-size: 20px 20px;
                    background-position: calc(100% - 5px) calc(100% - 5px), calc(100% - 15px) calc(100% - 15px);
                    display: block;
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    right: -15px;
                    bottom: -15px;
                    border-radius: 20px;
                    overflow: hidden;
                    z-index: 1;
                }
                @media (width < 768px) {
                    &::before {
                        background-size: 10px 10px;
                        background-position: calc(100% - 5px) calc(100% - 5px), calc(100% - 10px) calc(100% - 10px);
                        right: -10px;
                        bottom: -10px;
                        border-radius: 10px;
                    }
                }
                &:not(:last-of-type) {
                    margin-bottom: 60px;
                    @media (width < 768px) {
                        margin-bottom: 30px;
                    }
                }
                &:nth-of-type(odd) {
                    .inner::before {
                        right: 5px;
                    }
                }
                &:nth-of-type(even) {
                    .inner::before {
                        left: 5px;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            left: unset;
                            right: 5px;
                        }
                    }
                }
                &:nth-of-type(1) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num01.svg") no-repeat 0 0 / contain;
                        width: 287px;
                        aspect-ratio: 287 / 246;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                &:nth-of-type(2) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num02.svg") no-repeat 0 0 / contain;
                        width: 350px;
                        aspect-ratio: 350 / 240;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                &:nth-of-type(3) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num03.svg") no-repeat 0 0 / contain;
                        width: 350px;
                        aspect-ratio: 350 / 240;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                &:nth-of-type(4) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num04.svg") no-repeat 0 0 / contain;
                        width: 344px;
                        aspect-ratio: 344 / 240;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                &:nth-of-type(5) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num05.svg") no-repeat 0 0 / contain;
                        width: 359px;
                        aspect-ratio: 359 / 240;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                &:nth-of-type(6) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num06.svg") no-repeat 0 0 / contain;
                        width: 343px;
                        aspect-ratio: 343 / 240;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                &:nth-of-type(7) {
                    .inner::before {
                        background: url("/view/function_debut/img/deco_num07.svg") no-repeat 0 0 / contain;
                        width: 356px;
                        aspect-ratio: 356 / 240;
                    }
                    @media (width < 768px) {
                        .inner::before {
                            width: auto;
                            height: 65px;
                        }
                    }
                }
                .inner {
                    background: var(--color-white);
                    border: 3px solid var(--color-green1);
                    border-radius: 20px;
                    padding: 50px 50px 60px;
                    position: relative;
                    z-index: 2;
                    @media (width < 768px) {
                        border-width: 2px;
                        border-radius: 10px;
                        padding: 30px 15px 40px;
                    }
                    &::before {
                        content: "";
                        position: absolute;
                        display: block;
                        top: 5px;
                        z-index: 1;
                    }
                    & > * {
                        position: relative;
                        z-index: 2;
                    }
                    .ttl {
                        color: #1fa57d;
                        font-size: 32px;
                        line-height: 1.35;
                        text-align: center;
                        margin-bottom: 40px;
                        @media (width < 768px) {
                            font-size: 18px;
                            text-align: left;
                            margin-bottom: 20px;
                        }
                    }
                    .type_row {
                        display: flex;
                        justify-content: space-between;
                        @media (width < 768px) {
                            flex-direction: column;
                        }
                        &:not(:first-of-type) {
                            margin-top: 50px;
                            padding-top: 50px;
                            border-top: 1px solid #ddd;
                            @media (width < 768px) {
                                margin-top: 30px;
                                padding-top: 30px;
                            }
                        }
                        .video, .youtube, .img {
                            width: 50% !important;
                            border-radius: 10px;
                            overflow: hidden;
                            @media (width < 768px) {
                                width: 100% !important;
                                border-radius: 5px;
                                margin-bottom: 20px;
                            }
                            & video, & iframe {
                                width: 100% !important;
                                height: auto !important;
                                aspect-ratio: 16 / 9;
                            }
                        }
                        .text_box {
                            display: flex;
                            align-items: flex-start;
                            flex-direction: column;
                            justify-content: center;
                            .list {
                                li {
                                    padding-left: .9em !important;
                                    position: relative;
                                    &:not(:last-of-type) {
                                        margin-bottom: 5px;
                                    }
                                    &::before {
                                        content: "";
                                        background: var(--color-debut);
                                        display: block;
                                        width: 6px;
                                        aspect-ratio: 1;
                                        border-radius: 3px;
                                        position: absolute;
                                        left: 0;
                                        top: .4em;
                                    }
                                }
                            }
                            .btn {
                                margin-top: 25px;
                            }
                            .btn + .btn {
                                margin-top: 20px;
                            }
                        }
                        &.media_left {
                            .text_box {
                                width: 46.5%;
                                @media (width < 768px) {
                                    width: 100%;
                                }
                            }
                        }
                        &.media_right {
                            flex-direction: row-reverse;
                            @media (width < 768px) {
                                flex-direction: column;
                            }
                            .text_box {
                                width: 45%;
                                padding-left: 20px;
                                @media (width < 768px) {
                                    width: 100%;
                                    padding-left: unset;
                                }
                            }
                        }
                    }
                    .type_comparison {
                        margin-top: 50px;
                        @media (width < 768px) {
                            margin-top: 30px;
                        }
                        .ttl {
                            background: var(--color-debut);
                            color: var(--color-white);
                            font-size: 32px;
                            font-weight: 700;
                            text-align: center;
                            line-height: 1.2;
                            margin-bottom: 50px;
                            padding: .4em .2em;
                            @media (width < 768px) {
                                font-size: 16px;
                                margin-bottom: 25px;
                            }
                        }
                        .img {
                            margin-bottom: 50px;
                            @media (width < 768px) {
                                margin-bottom: 25px;
                            }
                        }
                        .btn_box {
                            display: flex;
                            justify-content: center;
                            flex-wrap: wrap;
                            @media (width < 768px) {
                                flex-direction: column;
                            }
                            .btn {
                                min-width: 295px;
                                margin-bottom: 20px;
                                @media (width < 768px) {
                                    margin-bottom: unset;
                                }
                                &:not(:last-of-type) {
                                    margin-right: 20px;
                                    @media (width < 768px) {
                                        margin: 0 0 20px 0;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    #get_area {
    /* 別ファイルでレイアウトされている箇所も存在した為、最低限の調整のみしか行っていません */
        background: var(--color-white);
        padding: 100px 0;
        @media (width < 768px) {
            padding: 15vw 0;
        }
        img {
            width: auto !important;
            height: auto;
            max-width: 100%;
        }
        .inner {
            max-width: 930px;
        }
        .area_title {
            background: var(--color-debut);
            color: var(--color-white);
            font-size: 32px;
            text-align: center;
            margin-bottom: 30px;
            padding: .2em;
            @media (width < 768px) {
                font-size: 22px;
            }
        }
        h3 {
            font-size: 29px;
            @media (width < 768px) {
                font-size: 20px;
            }
            span {
                color: var(--color-debut);
                text-align: center;
                line-height: 1;
                border: 1px solid;
                display: inline-block;
                width: 1.2em;
                aspect-ratio: 1;
                margin-right: .4em;
            }
        }
        p {
            margin-bottom: 1.5em;
            @media (width < 768px) {
                margin-bottom: 10px;
            }
        }

        .btn_box {
            text-align: center;
        }

        .btn a {
            color: #FFFFFF;
            text-decoration: none;
        }
        a {
            color: #333;
            text-decoration: underline;
            &:hover {
                opacity: .7;
            }
        }
        .func_mar_btm50 {
            margin-bottom: 50px;
            @media (width < 768px) {
                margin-bottom: 20px;
            }
        }
        .pixiv_banner {
            display: block;
            max-width: 510px;
            border-radius: 8px;
            overflow: hidden;
        }

        .pctab_tokuten {
            > div {
                display: flex;
                justify-content: space-between;
                align-items: center;
                @media (width < 768px) {
                    display: block;
                    margin-bottom: 30px;
                }
                a {
                    display: block;
                }
            }
        }

        .pctab_club p {
            padding-right: 20px;
        }
        .pctab_club {
            > div {
                display: flex;
                justify-content: space-between;
                align-items: center;
                @media (width < 768px) {
                    display: block;
                    margin-bottom: 30px;
                    .pctab_club p {
                        padding-right: 20px;
                    }
                }
                a {
                    display: block;
                }
            }
        }
    }
}