.site_outer {
    --main-width: 600px;
    /* 基準値 */
    width: var(--main-width);
    max-width: 100%;
}

/* 
#gpt-passback,
#gpt-passback iframe,
.gpt-passback__outer {
    width: 320px !important;
    height: 50px !important;
    max-width: 320px !important;
} */

.ad-loder-outer .gpt-passback__outer {
    width: 300px !important;
    height: 250px !important;
    max-width: 300px !important;
}

.result__card.result__card--ads {
    width: 100%;
}

.passback__outer {
    display: flex;
    justify-content: center;
}

.passback__outer.ad-loaded {
    display: flex;
    justify-content: center;
}

.koimikuji_ads {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.koilog__continuous--inner span {
    font-size: 12px;
    display: block;
}

.koilog__continuous--inner {
    width: 80vw;
    text-align: center;
    font-size: 20px;

    color: #f49db4;
    max-width: 400px;
    margin: 0 auto 20px;
    opacity: 1;
    animation: fadeup 1s ease-in-out;
    transform: skewX(347deg);
}


@keyframes fadeup {

    0% {

        opacity: 0;
    }

    100% {

        opacity: 1;
    }
}

.emoji__item input {
    display: none;
}

.emoji__item label {
    font-size: 20px;
    border: 1px solid #FA6B85;
    margin: 0;
    border-radius: 10px;
    background: #FFFBFC;
}

.emoji_group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 15px;
}

.double__border.lovelog__form {
    width: 85%;
    margin: 0 auto 30px;
    padding: 15px;
}

.emoji__item:has(input:checked) label {
    border: 1px solid #ff7474;
    box-shadow: 0px 0px 0 1px #ff7474;
}

.lovelog__submit--outer {
    text-align: center;
}

.result_koilog__heading--outer {
    border-bottom: 1px dashed #fec6d3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.result_koilog__heading {

    margin: auto;
    font-size: 16px;
    font-weight: bold;

}


button#lovelog__note--submit {
    border: none;
    padding: 10px 20px;
    margin: auto;
    background-color: #FA6B85;
    color: #ffffff;
    margin: 20px;
}

div#koilog__continuous {
    text-align: center;
    margin-bottom: 5px;
}

.index_koilog__title--outer {
    text-align: center;
}

.index_koilog__title {
    display: inline-flex;
    align-items: end;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;

    margin-bottom: 10px;
    font-size: 16px;
    gap: 5px;

    font-weight: bold;
}


.index_koilog__inner p {
    color: #FA6B85;
    text-align: center;
}

.index_koilog__title img {
    width: 100px;
}

.index_koilog {
    width: 95%;
    margin: auto;
    border: 1px solid #FA6B85;
    padding: 20px 10px;
    box-sizing: border-box;
    margin-bottom: 30px;
    position: relative;
    max-width: 400px;
}

.index_koilog:before {
    content: "";
    height: 100%;
    width: 100%;
    background: transparent;
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    border: 1px solid #92D1FF;
    pointer-events: none;
}

.index_koilog__button {
    text-align: center;
}



.index_koilog__button button {
    color: #2B71FF;
    margin: auto;
    border-bottom: 2px dotted;
    padding-bottom: 3px;
    display: block;
    border-top: none;
    border-right: none;
    border-left: none;
    padding: 5px;
    background: none;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.index_koilog__button button:after {
    content: "";
    height: 24px;
    width: 24px;
    display: block;
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjMDAwMDAwIj48cGF0aCBkPSJtNDgwLTMyMCAxNjAtMTYwLTE2MC0xNjAtNTYgNTYgNjQgNjRIMzIwdjgwaDE2OGwtNjQgNjQgNTYgNTZabTAgMjQwcS04MyAwLTE1Ni0zMS41VDE5Ny0xOTdxLTU0LTU0LTg1LjUtMTI3VDgwLTQ4MHEwLTgzIDMxLjUtMTU2VDE5Ny03NjNxNTQtNTQgMTI3LTg1LjVUNDgwLTg4MHE4MyAwIDE1NiAzMS41VDc2My03NjNxNTQgNTQgODUuNSAxMjdUODgwLTQ4MHEwIDgzLTMxLjUgMTU2VDc2My0xOTdxLTU0IDU0LTEyNyA4NS41VDQ4MC04MFptMC04MHEgMTM0IDAgMjI3LTkzdDkzLTIyN3EwLTEzNC05My0yMjd0LTIyNy05M3EtMTM0IDAtMjI3IDkzdC05MyAyMjdxMCAxMzQgOTMgMjI3dDIyNyA5M1ptMC0zMjBaIi8+PC9zdmc+");
    background-color: #2B71FF;

}


input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #FA6B85;
    border-radius: 10px;
    background: #FFFBFC;
    font-size: 16px;
}


.result__koilogheading {
    font-size: 14px;
    font-weight: bold;
    color: #FA6B85;
}

.result_koilog_data .result__koilogheading {
    color: #000;
}

.result__koilogheading:before {
    content: "・";
}

div#koikogData .value {
    font-weight: bold;
    font-size: 16px;
}

div#koikogData ul {
    padding: 0;
}

div#koikogData li {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 14px;
    text-align: center;
    border-bottom: 1px dashed #c5c5c5;
    padding-bottom: 5px;
    margin-bottom: 10px;
}



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


/* マスク */
.koilog__mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.koilog__mask.active {
    display: block;
}

/* モーダル */
.koilog__explan {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95svh;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    overflow-y: auto;
}

.koilog__explan.active {
    transform: translateY(0);
}


.koilog__explan-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (min-width:600px) {
    .koilog__explan {
        transform: translateY(calc(100% + 100px));
        top: 10px;
        right: 0;
        left: 0;
        margin: auto;
        height: 90dvh;
        overflow: scroll;
        border-radius: 20px;
    }
}

.koilog__explan-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.koilog__close-btn {
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: background 0.3s;
    position: absolute;
    right: 10px;
    top: 10px;
}

.koilog__close-btn:hover {
    background: #e0e0e0;
}

.koilog__explan-content {
    padding: 30px 0px;
    overflow: scroll;
}

.koilog__explan-content h2 {
    color: #ff6b9d;
    margin-bottom: 15px;
}

.koilog__explan-content p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.double__border {
    border: 1px solid #ff6b9d;
    padding: 5px;
    position: relative;
}

.double__border:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: transparent;
    display: block;
    position: absolute;
    top: 3px;
    left: 3px;
    border: 1px solid #92D1FF;
    pointer-events: none;
}




.koilog__ecplain--body {
    font-size: 14px;
    line-height: 1.7;
}

.koilog__ecplain--main {
    width: 80%;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 40px 15px 10px;
}

.koilog__explan {
    max-width: 600px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.koilog__ecplain--heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    position: absolute;
    top: 0;
    left: 0;
    rotate: -5deg;
    background: #fff;
}

.koilog__ecplain--heading:after {
    position: absolute;
    background: #fff400;
    height: 10px;
    width: 100%;
    content: "";
    left: 0;
    bottom: 0;
    z-index: -1;
}

.koilog__explan::-webkit-scrollbar {
    display: none;
}

.koilog__explan-content img {
    margin-bottom: 30px;
}

.koilog__explan .return_btn {
    text-align: center;
}

.koilogPage .return_btn {
    text-align: center;
    margin-bottom: 20px;
}

.to_top a.koilog__return {
    background: #ff6b9e;
    color: #fff;
}

.koilog__return {
    padding: 15px;
    border: 1px solid;
    background: #fff;
    border-radius: 100px;
    width: 250px;
    display: inline-block;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 14px;
}

.koilogPage .koilog__return--btn,
.koilog__explan .koilog__return--btn {
    border: 1px solid;
    background: #fff;
    border-radius: 100px;
    width: 250px;
}

.koilog__explan .koilog__explan-content {
    overflow: initial;
}

.koilogPage .koilog__explan {
    height: initial;
    transform: initial;
    border-radius: 0;
    box-shadow: initial;
    display: none;
}

.koilogPage .koilog__explan.is-visible {
    opacity: 1;
    visibility: visible;
    position: relative;
    height: initial;
    transform: initial;
    display: block;
}

.koilog__btn {
    text-align: center;
    min-width: 200px;
}

#fortune_slip:hover,
.koilog__button:hover,
.koilog__btn a:hover {
    background: #ec5d77;
}

.koilog__button,
.koilog__btn a {
    padding: 15px;
    font-weight: bold;
    border: 1px solid;
    border-radius: 100px;
    width: 250px;
    text-align: center;
    background: #fa7c93;
    display: block;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}