.main {
    padding: 20px 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}

.birthday__main_logo_img {
    z-index: 2;
    position: relative;
}

.result__main {
    opacity: 0;
}

.cf2-inner {
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    text-align: center;
}

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

    .cf2-inner {
        padding-left: 15px;
        padding-right: 15px;

    }
}

.form__title {
    font-size: clamp(12px, calc((18/ 500)*100vw), 18px);
    color: #000;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transform: translate(0px, 50%);

    padding: 0 10px;
}

.form__title:before {
    content: "";
    height: 18px;
    width: 18px;
    background: #000;
    display: inline-block;
    border-radius: 100px;
}

@media screen and (max-width:400px) {
    .form__title:before {
        height: 10px;
        width: 10px;
    }
}

.form__body {
    display: flex;

    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
}

.form__submit {
    margin-bottom: 30px;
}

.form__group input[name=your_m],
.form__group input[name=your_d],
.form__group input[name=partner_m],
.form__group input[name=partner_d] {
    width: 40px;
}


.birth__inputs {
    display: flex;
    gap: 10px;
}

.birth__input-group.y {
    flex: 1;
}

.birth__input-group {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    font-size: 16px;
}

.form__group {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    margin-bottom: 30px;
    width: 300px;
    position: relative;
}

.form__nickname {
    width: 220px;
}


.form__birth {

    margin: auto;
}

.nickname__label,
.birth__label {
    font-weight: bold;
    margin-bottom: 3px;
}

.birth__label {
    font-weight: bold;
}

input[type="number"]::placeholder {
    color: #ccc;
}

input[type="number"],
input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 0;
    border: 1px solid #dddddd;
    border-radius: 0;
    text-align: right;
    font-size: 20px;
    border-radius: 5px;
}

.return__btn {
    text-align: center;
    margin: 40px 0 40px;
}

.return__btn a {
    font-size: 14px;
    display: block;
    margin: auto;
}

#send {
    background: #000;
    color: #fff;
    max-width: 300px;
    border-radius: 1px;
    box-shadow: 2px 2px 3px 0 #00000038;
    padding: 20px 0;
    transition: .3s;
}

#send:after {
    content: "";
    mask-image: url(../../static/images/compatibility_2/arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 11px;
    display: inline;
    margin-left: 0;
    position: absolute;
    top: 50%;
    bottom: 50%;
    transform: translateY(-50%) translateX(-50%);
    background: #fff;
    mask-repeat: no-repeat;
    aspect-ratio: 49 / 11;
    width: initial;
    transition: right 0.3s ease-in-out;
    width: 30px;
    mask-position: -20px;
    right: 10px;
}

#send:hover {
    filter: contrast(1.1) brightness(.8);
    transition: .3s;
}

#send:hover:after {
    right: 0px;
    transition: right 0.3s ease-in-out;
}


.description__inner {
    border: 1px solid #555;
    padding: 20px;
    text-align: left;
}

.description_title {
    text-align: center;
    font-size: clamp(12px, calc((18/ 400)*100vw), 18px);
    font-weight: bold;
    color: var(--color-red);
    margin-bottom: 10px;
}

.description_body {
    font-size: 14px;
    color: var(--color-red);
    line-height: 1.6;
}

.birthday__moving--outer {
    display: flex;
    justify-content: center;
    column-fill: balance;
    margin-bottom: 10px;

}

.birthday__moving--wrap {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.result__moving .birthday__moving {
    animation: wiggle 50s ease-in-out infinite,
        round_anime 7s linear infinite;
}

.birthday__moving {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background-size: 300% 300%;
    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    background-position: 0% 100%;
    animation:
        wiggle 50s ease-in-out infinite,
        colorShift 15s ease-in-out infinite,
        round_anime 7s linear infinite;
    position: relative;
    /* box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);*/

}

.birthday__main_logo {
    max-width: 400px;
    margin: auto;
    margin-bottom: 30px;
    width: 90%;
}

@keyframes wiggle {

    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes colorShift {
    0% {
        background: #ffa5f6;
    }

    20% {
        background: #6079df;
    }

    40% {
        background: #aaff83;
    }

    60% {
        background: #41b5c2;
    }

    80% {
        background: #f9ff87;
    }

    100% {
        background: #fd89f1;
    }


}

@keyframes round_anime {
    0% {
        border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    }

    25% {
        border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 50% 70% 30% 50%;
    }

    75% {
        border-radius: 45% 60% 55% 55% / 45% 55% 45% 60%;
    }

    100% {
        border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    }
}

.birthday__loading {
    opacity: 0;
    transition: .3s;
    padding: 30px;

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    max-width: 600px;
    padding: 15px;
    margin: auto;
    box-sizing: border-box;
    background: #fff;
    z-index: 90;
    justify-content: center;
    align-items: center;
}

.birthday__loading--inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 14px;
    font-weight: bold;
    gap: 10px;
}

.bound_ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: boundAnimation 3s infinite ease-in-out, colorChange 9s infinite ease-in-out;
}

@keyframes boundAnimation {

    /* タンタンターンのリズム: 0%, 25%, 50%, 75%, 100% */
    0% {
        transform: translateY(0) scale(1);
    }

    10% {
        transform: translateY(0px) scale(1);
    }

    15% {
        transform: translateY(-20px) scale(1);
    }

    20% {
        transform: translateY(0px) scale(1);
    }

    30% {
        transform: translateY(0) scale(1);
    }

    35% {
        transform: translateY(-20px) scale(1);
    }

    40% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(0) scale(1);
    }

    57% {
        transform: translateY(-40px) scale(1);
    }

    64% {
        transform: translateY(0px) scale(1);
    }

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

@keyframes colorChange {
    0% {
        background: #ff6b6b;
    }

    18.9% {
        background: #ff6b6b;
    }

    19% {
        background: #ffeb3b;
    }

    52.9% {
        background: #ffeb3b;
    }

    53% {
        background: #2196f3;
    }

    86.9% {
        background: #2196f3;
    }

    87% {
        background: #ff6b6b;
    }

    100% {
        background: #ff6b6b;
    }
}


.test_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.test_box {
    height: 120px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10px;
    box-sizing: border-box;
    border: solid 10px #fff;
}


.birth_result__name--outer {
    text-align: center;
    margin-bottom: 15px;
}

.birth_result__name {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    display: inline;
    border-bottom: 1px solid #c4c4c4;
    padding: 0 10px 12px;
    color: #777;
}

span.code_name {
    font-size: 30px;
}

span.code__label {
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}

.birth_result__code {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
}

.birthdat_color__result {
    position: relative;
    z-index: 2;
}

.birth_result__item {
    width: 80%;
    margin: auto;
    border: 1px solid;
    padding: 15px;
    font-size: 14px;
}

.birth_result__itemTitle {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px dashed #aaa;
    padding-bottom: 10px;
}

.birth_result__item {
    margin-bottom: 10px;
}


.koimikuji_sharewrap {
    margin-top: 40px;
}

.koimikuji_sns_share a {
    background: #000;
}


.birth_result__mainCopy--outer {
    padding: 0 20px;
    margin-bottom: 20px;
}

.birth_result__mainCopy:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    background: #eee9e6;
    z-index: -999;
}

.birth_result__mainCopy {
    position: relative;
    padding: 12px 16px;
    outline: 1px solid #333;
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #333;
    font-weight: 400;
    display: block;
    box-sizing: border-box;
    text-align: center;
    max-width: 400px;
    margin-inline: auto;
}

/* html,
body {
    overflow-x: hidden;
} */

.is-light .birthday__moving--wrap:before {
    content: "";
    width: 50%;
    height: 50%;
    background: transparent;
    position: absolute;
    border-radius: 100px;
    box-shadow: 20px 20px 50px 0 rgba(0, 0, 0, 0.5);
}

.font-big .birth_result__itemBody {
    font-size: 24px;
    text-align: center;
}

.birthday__loading--autor {
    font-size: 12px;
}

.birthday__loading--text {
    font-size: 20px;
}

.deco_circle__outer {
    position: absolute;
    top: 700px;
    left: -100px;
}

.deco_circle__wrapper {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.deco_circle {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background-size: 300% 300%;
    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    background-position: 0% 100%;
    animation: wiggle 50s ease-in-out infinite, deco-olorShift 15s ease-in-out infinite, round_anime 7s linear infinite;
    position: relative;
    filter: blur(20px);
}

.deco_circle2__outer {
    position: absolute;
    top: 300px;
    right: -100px;
}

.deco_circle2__wrapper {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.deco_circle2 {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background-size: 300% 300%;
    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    background-position: 0% 100%;
    animation: wiggle 30s ease-in-out infinite, deco2-olorShift 14s ease-in-out infinite, round_anime 7s linear infinite;
    position: relative;
    filter: blur(40px);
}

@keyframes deco-olorShift {
    0% {
        background: #ffe2fc;
    }

    22% {
        background: #f6ffd1;
    }

    38% {
        background: #e2ffd5;
    }

    57% {
        background: #d7fbff;
    }

    82% {
        background: #f6ffe3;
    }

    100% {
        background: #ffe2fc;
    }
}

@keyframes deco2-olorShift {
    0% {
        background: #c6fff7;
    }

    20% {
        background: #aabbff;
    }

    40% {
        background: #ffe0a3;
    }

    60% {
        background: #bdffe1;
    }

    80% {
        background: #fdd2ff;
    }

    100% {
        background: #c6fff7;
    }


}

#send:after {
    transform: translateY(-50%) translateX(-10%);
}

.form__group:after {
    content: "";
    width: 20px;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    border-top: 1px solid;
}

.form__group:before {
    content: "";
    width: 20px;
    display: block;
    top: 0;
    right: 0;
    position: absolute;
    border-top: 1px solid;
}

.birthday-color__other__link--list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;

    @media screen and (max-width:420px) {
        grid-template-columns: repeat(4, 1fr);
    }

    @media screen and (max-width:380px) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.birthday-color__other__link a {
    padding: 10px;
    border: 1px solid;
    display: block;
}

.birthday-color__other__link a svg {

    position: absolute;
    right: 0px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    height: 14px;
}

.birthday-color__other__link {
    position: relative;
}

.birthday-color__other__link a:hover {
    background: #ebebeb;
}

.koimikuji_sharetxt.koimikuji_sharetxt02 {
    font-size: clamp(12px, calc((15/ 490)*100vw), 15px);
}