:root {
    --color-black: #111111;
    --color-yellow: #FFEC16;
    --color-pink: #FF6EBB;
    --color-mint: #70FFE0;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

input:focus::-ms-input-placeholder {
    color: transparent;
}

input:focus::placeholder {
    color: transparent;
}

.red {
    color: red;
}

#app {
    width: 100%;
}

.license.result {
    padding: 10px 0 30px;
}

.license {

    background-color: #ff6ebb;
    background-image: linear-gradient(90deg, #e65ea6 1px, transparent 1px), linear-gradient(#e65ea6 1px, transparent 1px);
    background-position: 10px 10px;
    background-size: 21px 21px;
    padding: 30px 0 30px;
    min-height: calc(100svh - 130px);
}

.index.license>* {
    opacity: 0;
    transition: .3s;
}

.index.license.is-loaded>* {
    opacity: 1;
    transition: .3s;
}

.license .l-inner {
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.c-btn:hover {
    opacity: .5;
}

.c-btn {
    padding: 10px 30px;
    margin: 0;
    border: 2px solid var(--color-black);
    background: #fff;
    box-shadow: 0 2px 0 var(--color-black);
    border-radius: 50px;
    font-weight: bold;
    font-size: clamp(14px, calc((18/ 600)*100vw), 20px);
    line-height: 1.7;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.c-shadow {
    position: relative;
    z-index: 1;
    display: inline-block;

}

.c-shadow__inner {
    border: 2px solid var(--color-black);
    border-radius: 20px;
    position: relative;
    background-color: #fff;
    display: inline-block;
    padding: clamp(10px, calc((18/ 600)*100vw), 20px);
    box-sizing: border-box;
    width: 100%;
}

.c-shadow:before {
    content: "";
    display: block;
    position: absolute;
    background-color: var(--color-mint);
    border: 2px solid var(--color-black);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    z-index: -1;
    box-sizing: border-box;
    top: 5px;
    left: -5px;
}

.c-selectbtn,
.c-selectbtn button {
    display: block;
    width: 100%;
    font-size: clamp(16px, calc((20/ 600)*100vw), 20px);
}

.c-selectbtn .c-shadow__inner:hover {
    color: #ff6ebb;
}

.c-heading {
    font-size: clamp(16px, calc((20/ 600)*100vw), 20px);
    font-weight: bold;
}

.c-question__heading {
    font-size: clamp(16px, calc((24/ 600)*100vw), 24px);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.c-question__heading span {
    height: 30px;
    width: 30px;
    color: var(--color-pink);
    border-radius: 100px;
    background: #fff;
    text-transform: capitalize;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-list__item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(14px, calc((18/ 600)*100vw), 18px);
    font-weight: bold;
}

.c-list__item span {
    display: block;
    height: 30px;
    width: 30px;
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 2px solid var(--color-black);
}

.c-list__item p {
    margin: 0;
    flex: 1;
}

.c-card {
    margin-top: 20px;
    position: relative;
    width: 100%;

}

.c-card__heading {
    font-weight: bold;
    font-size: clamp(16px, calc((18/ 600)*100vw), 20px);
    position: absolute;
    top: 0;
    transform: translateY(-50%);
}

.c-card__heading+.c-card__body {
    padding-top: 40px;
}



.c-headlooper {
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--color-black);
    margin-inline: auto;
    font-weight: bold;
    display: flex;
    gap: 10px;
}


.loop {
    animation: loop 15s linear infinite;
    white-space: nowrap;
}

.loop2 {
    animation: loop 15s linear infinite;
}

.bottom .loop,
.bottom .loop2 {
    animation-direction: reverse;
}

@keyframes loop {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/****************************************/
/****************************************/

/****************************************/
/****************************************/
.howto__deco {
    position: relative;
}

.howto__deco:after {
    background-image: url(../../static/images/license/deco_heart.webp);
    content: "";
    width: 100px;
    aspect-ratio: 479/328;
    background-size: cover;

    right: 0;
    margin: auto;
    z-index: 5;
    top: -5px;
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.enter_heading {
    text-align: center;
    margin: 0 0 30px 0;
    position: relative;
    /* overflow: clip; */
}

.enter_heading:before {
    content: "------- Love Qualification Card -------";
    position: absolute;
    left: 30px;
    top: 0;
    font-size: 12px;
    rotate: 90deg;
    transform-origin: 0px 0px;
    color: #ffffff;
}

.enter_heading:after {
    background-image: url(../../static/images/license/deco_color_heart.webp);
    content: "";
    width: 60px;
    aspect-ratio: 1/1;
    background-size: cover;
    left: 0px;
    right: -300px;
    margin: auto;
    z-index: 5;
    bottom: 50px;
    position: absolute;
    animation: float 4s ease-in-out infinite, scalein .6s linear forwards;
}

@media screen and (max-width:500px) {
    .enter_heading:after {
        right: -200px;
    }
}

.enter_heading img {
    max-width: 300px;
    text-align: center;
}

@media screen and (max-width:500px) {
    .enter_heading img {
        width: 70%;
    }
}

.license-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.index__link {
    text-align: center;
}

.splide {
    margin-bottom: 30px;
}

.howto__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-direction: column
}

.information__box {
    width: 100%;
}

.question__information,
.question__image {
    width: 200px;
    object-fit: cover;
    border-radius: 500px;
    aspect-ratio: 1/1;
    position: relative;
    z-index: 2;
}

.question__information {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.question__imageinner {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    transform: scalex(0);
    animation:
        scaleinx .2s ease-in-out forwards;
    ;
}

@keyframes scaleinx {

    0% {
        transform: scalex(0);
    }

    100% {
        transform: scalex(1);
    }

}

.question__loadingP {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    margin: auto;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.question__imageinner:after {
    content: "";
    width: 30%;
    background: #cf478f;
    display: block;
    border-radius: 100%;
    aspect-ratio: 7 / 1;
    margin: -10px auto 0;
    transform: translate(30%, -20%);
}

.question__loadingimg {
    animation: loading 20s linear infinite,
        scalein .6s linear forwards;
    width: 200px;
    margin: auto;
    z-index: 2;
    position: relative;
}


.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question__imageouter {
    position: relative;
    margin-bottom: 30px;
}

.question__imageouter.fadeout {
    animation: scalein .4s linear forwards;
    animation-direction: reverse;
}

.question__imageouter:before,
.question__imageouter:after {
    content: "";
    position: absolute;

}

.question__imageouter:before {
    background-image: url(../../static/images/license/deco_star.webp);
    content: "";
    aspect-ratio: 260/227;
    width: 60px;
    background-size: cover;
    left: 0;
    right: -230px;
    margin: auto;
    z-index: 5;
    top: 0;
    animation: float 4s ease-in-out infinite;
}

.question__imageouter:after {
    background-image: url(../../static/images/license/deco_ribbon.webp);
    content: "";
    width: 60px;
    aspect-ratio: 23/16;
    background-size: cover;
    left: -200px;
    right: 0px;
    margin: auto;
    z-index: 5;
    bottom: 0;
    animation: float 4s .4s ease-in-out infinite;

}

.question__information {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.question__information--head {
    font-weight: bold;
    font-size: clamp(16px, calc((20/ 600)*100vw), 20px);
    border-bottom: 1px solid;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin: 0;
}

.question__information--end {
    font-weight: bold;
    font-size: 12px;
    margin: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.question__submit {
    text-align: center;
}

.question__label {
    font-size: clamp(16px, calc((20/ 600)*100vw), 20px);
    font-weight: bold;
}

#app {
    transition: opacity 0.3s ease;
    opacity: 1;
}

#app.is-fadeout {
    opacity: 0;
}

.canvas__wrapper {
    position: relative;
    opacity: 0;
    animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    /* 終了時のスタイルを残す*/
}

canvas#myCanvas {
    width: 100%;
    margin-bottom: 20px;

}

.userImage {
    display: none;
}

.download-btn {
    background-color: #FFEC16;
}

.file-button {
    width: 100%;
}



.resultCoution li::marker {
    content: "※ ";
}

.result_logo {
    width: clamp(150px, calc((200/ 600)*100vw), 200px);
}


.result__sharebox {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

@media screen and (max-width: 500px) {
    .result__sharebox {
        flex-direction: column;
    }
}

.redirect_share_group-body {
    display: flex;
    gap: 20px;
}

.redirext_share_item {
    text-decoration: none;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    overflow: hidden;
    padding: 10px;
}

.result__sharebtns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result__sharebtns img {
    width: 30px;
    height: auto;
}

.redirext_share_x {
    background-color: #000;
}

.redirect_share_line {
    background-color: #26ad36;
}

.redirect_share_facebook {
    background-color: #0766ff;
}

.card__howto {
    margin-bottom: 30px;
}

.result__share {
    position: relative;
}

.result__share:after {
    background-image: url(../../static/images/license/deco_ribbon2.webp);
    content: "";
    width: 60px;
    aspect-ratio: 479/328;
    background-size: cover;

    left: 0;
    margin: auto;
    z-index: 5;
    bottom: -5px;
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.card__download {
    margin-bottom: 30px;
}

.canvas_btn {
    position: absolute;
    height: 46%;
    width: 25%;
    top: 37%;
    right: 3%;
    background: transparent;
    pointer-events: auto;
    cursor: pointer;
}

.information__box .question__label {
    margin: 0 0 10px 0;
}

.question__information::after {

    opacity: 0;
    background-image: url(../../static/images/license/deco_color_heart.webp);
    content: "";
    width: 60px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    right: 0;
    margin: auto;
    z-index: 5;
    position: absolute;
    animation: float 4s ease-in-out 1s infinite,
        fadein 1s ease-in-out 1.5s forwards;
    ;

    right: -30px;
}

@keyframes fadein {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

@keyframes scalein {

    0% {
        scale: 0;
    }

    30% {
        scale: 1.2;
    }

    50% {
        scale: 0.8;
    }

    70% {
        scale: 1.1;
    }

    90% {
        scale: 0.9;
    }

    100% {
        scale: 1;
    }

}

.index_writern {
    width: 80%;
    max-width: 250px;
    margin: 0 auto 20px;
    transform: translate(10px, -20px) skew(348deg, 357deg);
    aspect-ratio: 125 / 41;
    position: relative;
}



@keyframes loading {

    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }

}

input.name_change_input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 30px;
    margin: 0;
    border: 2px solid var(--color-black);
    background: #fff;
    border-radius: 10px;
    font-weight: bold;
    font-size: clamp(14px, calc((18 / 600) * 100vw), 16px);
    line-height: 1.7;
    box-sizing: border-box;
    display: inline-block;
    text-align: left;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: text;
}

.result__headimg img {
    width: 100px;
    animation-name: result__headimg_anime;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes result__headimg_anime {
    0% {
        transform: translateY(0px);
    }

    30% {
        transform: translateY(0px);
    }

    40% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(0px);

    }
}



.result__headimg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: bold;
    margin-bottom: 0px;
}

.c-headlooper.bottom {
    border-top: 2px solid var(--color-black);
}


/****************************************************** */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.name_change_modal {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #000;
}

.modal-content {
    margin: 20px 0;
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.name_change_input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.result__modalbtn {
    text-align: center;
}





.result__heading {
    font-size: clamp(18px, calc((24 / 600) * 100vw), 24px);
    font-weight: bold;
    color: #fff300;
    -webkit-text-stroke: 5px #000000;
    text-stroke: 2px black;
    paint-order: stroke;
    filter: drop-shadow(2px 2px 0px black);
}


.result_heading__oute:before {
    content: "";
}

.result_heading__oute:after {
    content: "";
}

.result_heading__oute {
    margin-bottom: 10px;
    text-align: center;
    padding: 10px 0px;

}

.result_heading__oute h1 {
    margin: 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    border-bottom: 1px dashed;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

h1:before {
    content: "＼";
}

h1:after {
    content: "／";
}

h1:before,
h1:after {
    position: relative;
    display: block;
}

input#un {
    font-size: 16px;
}

.c-selectbtn:visited {
    color: var(--color-black);
}

* {
    -webkit-tap-highlight-color: transparent;
}

a,
button {
    outline: none;
}

.c-selectbtn button,
#submitBtn,
button.c-btn.js-open_name_change_modal,
button.c-btn.download-btn {
    color: inherit;
}