:root {
    --inner__pdding: 10px;
    --card__innerpadding: 20px;
}

@media screen and (max-width:420px) {
    :root {
        --inner__pdding: 5px;
        --card__innerpadding: 10px;
    }
}



body {
    line-height: 1.7;
    font-size: 14px;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    /* opacity: 0; */
}

.cta__btn {
    background: #fff;
    max-width: 300px;
    width: 90%;
    display: block;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 10px;
    background: #fff46b;
    margin: auto;
    border: 2px solid;
    cursor: pointer;
    color: #000;
}

.l-inner {
    max-width: 600px;
    margin: auto;
    padding: var(--inner__pdding);
}

.pankuz.inner_box {
    font-size: 10px;
}

.nekoTypeIndex {
    background: #fe2376;
    padding-bottom: 30px;
}


.howto__heading {
    color: #fe2376;
    font-size: clamp(16px, calc((20/ 600)*100vw), 20px);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.howto_no {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fe2376;
    width: 30px;
    border-radius: 100px;
    color: #fff;
}

.howto__body {
    font-size: 14px;
    font-weight: nomarl;
}

.nekoTypeIndexHowto {
    margin-bottom: 20px;
}

.nekoTypeIndexHowto__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.c-nekoTypeIndex__card {
    background: #fff;
    border-radius: 20px;
    padding: 20px var(--card__innerpadding);
    position: relative;
}



.nekoTypeIndex__what {
    z-index: 2;
    position: relative;
    width: 70%;
    /* margin: 0 auto -40px; */
    display: block;
    border-bottom: 3px dashed #fff;
    margin: auto;
}

.nekoTypeIndexDescription__card {
    color: #fff;

    padding: 20px 20px 20px;
}

.radio__input {
    display: none;
}

.sex__group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sex__item {
    background: #fff;
    padding: 3px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    opacity: 1;
    cursor: pointer;
    opacity: 0.3;
}

/* 選択されているものだけ元に戻す */
.sex__group .sex__item:has(input:checked) {
    opacity: 1;
}

.sex__item svg {
    width: 30px;
}

.sex__male {
    border: 2px solid #6cc0ff;
}

.sex__female {
    border: 2px solid #ff5d5d;
}

.select__type {
    border: 1px solid #999;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
}

.select__label {
    text-align: center;
    font-weight: bold;
}



.select_type {
    margin-bottom: 10px;
}

/* 猫タイプ画像スライダー（Swiper）
 * component/swiper_style.css のグローバル指定を打ち消し、デフォルト表示にする */
.nekoType-select {
    margin-bottom: 20px;
}

/* swiper_style.css の .swiper-button-* 汎用スタイルの打ち消し */
.nekoType-swiper .swiper-button-next:after,
.nekoType-swiper .swiper-button-prev:after {
    opacity: 1;
}

.nekoType-swiper:hover .swiper-button-next,
.nekoType-swiper:hover .swiper-button-prev {
    top: 50%;
    margin-top: 0;
    height: 36px;
    padding: 0;
}

.nekoType-swiper:hover .swiper-button-next.swiper-button-disabled,
.nekoType-swiper:hover .swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
}

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

    .nekoType-swiper .swiper-button-next,
    .nekoType-swiper .swiper-button-prev {
        display: flex;
    }
}

.nekoType-swiper {
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 40px 40px;
    position: relative;
}

/* 横スクロール矢印 */
.nekoType-swiper .swiper-button-prev,
.nekoType-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fe2376;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease;
}

.nekoType-swiper .swiper-button-prev::after,
.nekoType-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.nekoType-swiper .swiper-button-prev:hover,
.nekoType-swiper .swiper-button-next:hover {
    background: #fe2376;
    color: #fff;
}

.nekoType-swiper .swiper-button-prev {
    left: 4px;
}

.nekoType-swiper .swiper-button-next {
    right: 4px;
}

/* スクロールバー */
.nekoType-swiper .swiper-scrollbar {
    left: 0;
    width: 100%;
    height: 6px;
    bottom: 12px;
    background: rgba(254, 35, 118, 0.15);
    border-radius: 3px;
}

.nekoType-swiper .swiper-scrollbar-drag {
    background: #fe2376;
    border-radius: 3px;
}

.nekoType-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.nekoType-slide:hover {
    border-color: rgba(254, 35, 118, 0.4);
}

.nekoType-slide.is-selected {
    border-color: #fe2376;
    background: rgba(254, 35, 118, 0.08);
}

.nekoType-slide__img {
    width: 100%;
    max-width: 100px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
}

.nekoType-slide__name {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-top: 6px;
    line-height: 1.3;
}

@media screen and (min-width: 768px) {
    .nekoType-slide__img {
        max-width: 90px;
    }

    .nekoType-slide__name {
        font-size: 13px;
    }
}





.nekoTyperesult_num {
    font-size: 70px;
    line-height: 0.8;
}

.nekoTyperesult__baloon--body {
    transform: scale(0.6);
    transition: transform .3s ease-out;
}

.nekoTyperesult__baloon--body.is-complete {
    transform: scale(1);
    transition: transform .3s ease-out;
}


.nekoTyperesult__baloon--title {
    font-size: 16px;
    margin: 0;
}



.nekoTyperesult__inner {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.nekoTyperesult {
    background: #FF2476;
    padding: 50px 15px 30px;
}

.nekoTyperesult__baloon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #FF2476;
    width: 200px;
    height: 200px;
    border-radius: 200px;
    color: #fff;
    position: relative;
    border: 10px solid #fff;
    box-sizing: content-box;
    font-size: 30px;
    margin: auto;
    margin-top: -50px;
}

.nekoTyperesult__baloon:after {
    content: "";
    position: absolute;
    top: 99%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 20px solid #FF2476;
}



.nekoType__detail--img {
    width: clamp(100px, calc((150/ 600)*100vw), 150px);
    height: clamp(100px, calc((150/ 600)*100vw), 150px);
    display: block;
    content: "";
    background: #FF2476;
    border-radius: 100px;
    display: flex;
    /* justify-content: center;
    align-items: center; */
    margin-bottom: 5px;
}

.nekoType__detail--img img {
    /* width: 90%;
    transform: translateY(-10%);
    height: 80%; */
    object-fit: contain;
}


.nekoType__detail {
    color: #ff2576;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
}

.nekoType__detail--delf {
    display: inline-block;
    padding: 5px;
    border: 1px solid;
    border-radius: 5px;
    line-height: 1;
}

.nekoType__detail--type {
    font-weight: bold;
}

.nekoType__detail--description {
    font-size: 10px;
}

.nekoTyperesult__group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    align-items: flex-start;
}

.nekoType__detail--comment {
    padding: 10px;
    border: 2px solid #ff2576;
    color: #ff2576;
    border-radius: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.nekoType__detail--comment.is-visible {
    opacity: 1;
}

.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;
}

.result__share {
    position: relative;
}

.howto__link--href {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: normal;
    gap: 10px;
    border: 1px solid #fe2376;
    border-radius: 5px;
    overflow: hidden;
    padding: 2px;
    margin-top: 10px;
    background: #fff2f2;
    /* color: #fe2376; */
    justify-content: center;
}

.howto__link--href img {
    width: clamp(50px, calc((70/ 500)*100vw), 70px);
}

.howto__link--body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: clamp(16px, calc((18/ 500)*100vw), 16px);
    justify-content: center;
    align-items: center;
}

.howto__link--no:after {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjMDAwIj48cGF0aCBkPSJtNDgwLTM2MCAxNjAtMTYwSDMyMGwxNjAgMTYwWm0wIDI4MHEtODMgMC0xNTYtMzEuNVQxOTctMTk3cS01NC01NC04NS41LTEyN1Q4MC00ODBxMC04MyAzMS41LTE1NlQxOTctNzYzcTU0LTU0IDEyNy04NS41VDQ4MC04ODBxODMgMCAxNTYgMzEuNVQ3NjMtNzYzcTU0IDU0IDg1LjUgMTI3VDg4MC00ODBxMCA4My0zMS41IDE1NlQ3NjMtMTk3cS01NCA1NC0xMjcgODUuNVQ0ODAtODBaIi8+PC9zdmc+");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    rotate: -90deg;
}

.howto__link--no {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* モーダル（#questionStart クリックで表示） */
.modal-open {
    overflow: hidden;
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    border: none;
    padding: 30px;
    background: #ffffff;
    z-index: 10;
    flex-direction: column;
    gap: 20px;
    border-radius: 10px;
    min-width: 300px;
    width: 90vw;
    max-width: 500px;
    box-sizing: border-box;
}

#modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

#modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal__close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

#modal__close svg {
    pointer-events: none;
}

#modal #app {
    min-height: 120px;
    position: relative;
    width: 100%;
}

#modal #app.is-fadeout {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#modal #app:not(.is-fadeout) {
    opacity: 1;
    transition: opacity 0.3s ease;
}

#modal .c-question__heading {
    margin: 0 0 1em;
    font-size: 1.1rem;
}

#modal .modal__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#modal .modal__list button {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    border: none;
    border-radius: 8px;

    font-size: clamp(16px, calc((18/ 600)*100vw), 18px);
    background: #fff;
    color: #000;
}

#modal .modal__finish {
    text-align: center;
    padding: 1em 0;
}

#modal .modal__finish--text {
    margin: 0 0 1em;
    font-weight: bold;
}

#modal .modal__loading {
    text-align: center;
    padding: 2em;
}

.nekoTypeindex__step2image {
    max-width: 350px;
    margin: auto;
}

.select__btn.c-selectbtn {
    border: 2px solid;
    border-radius: 10px;
}

.catIndexOther__item {
    display: flex;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    align-items: center;
    border: 2px solid;
    gap: 10px;
}

.catIndexOther__item img {
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 10px;
}

.catIndexOther__title {
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px dashed;
    margin-bottom: 5px;
    padding-bottom: 5px;
    line-height: 1.3;
}

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

.section__heading {
    font-size: clamp(12px, calc((26/ 600)*100vw), 26px);
    text-align: center;
    font-weight: bold;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
    color: #fff;
}



.section__heading:before,
.section__heading:after {
    content: "";
    aspect-ratio: 250 / 76;
    width: clamp(12px, calc((90 / 600) * 100vw), 90px);
    display: block;
    background-color: #fff;
    -webkit-mask-image: url(../../static/images/222/niku_ashiato2.png);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

    mask-image: url(../../static/images/222/niku_ashiato2.png);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

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

    .section__heading:before,
    .section__heading:after {}
}

.gpt-passback__wrapper {
    display: flex;
    justify-content: center;
    min-height: 300px;
}

.catIndexOther {
    margin-bottom: 20px;
}

.nekoType__partner {
    margin-bottom: 20px;
}

.nekoType-slide.swiper-slide {
    display: flex;
}


.nekoTyperesult__inner> :not(.nekoTyperesult__baloon) {
    opacity: 0;
}

.nekoTyperesult__inner.is-visible> :not(.nekoTyperesult__baloon) {

    animation-name: animation-sample;
    animation-duration: .5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

@keyframes animation-sample {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.nekoTyperesult__baloon {
    transform: translateY(100%);
}

.nekoTyperesult__inner.is-visible .nekoTyperesult__baloon {
    transform: translateY(0%);
    transition: 1s;
}

html {
    scrollbar-gutter: stable;
}


.nekotype__result {
    opacity: 0;
}

.nekotype__result.is-loaded {
    opacity: 1;
    transition: .5s;
}

.nekotype__question--whatbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid;
    border-radius: 20px;
    height: 40px;
    width: 300px;
    margin: auto;
    background: #fff;
    margin-top: 10px;
    max-width: 300px;
    width: 90%;
    font-weight: bold;
}

.nekotype__question--whatbtnouter {
    margin-bottom: 20px;
}

.indexhowtolinkimage {
    max-width: 300px;
    width: 70%;
    display: block;
    margin: auto;
}

.swiper-wrapper {
    margin-bottom: 15px;
}