/* 全体レイアウト */

footer {
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem;
    background: #eee;
}

.kirinuki-content {
    width: 70%;
    max-width: 750px;
    background: #fff;
    margin: 0 auto;
    border-left: 7px solid #e7009a;
    border-right: 7px solid #e7009a;
}

.kirinuki-content-block {
    padding: 7vh 0 0;
}

.kirinuki-content-inner {
    padding: 0 2.5vh;
}

.kirinuki-content-inner p {
    margin-bottom: 2.5vh;
}

.x-carousel-section {
    margin: 0 auto;
    overflow: hidden;
}

.swiper {
    background-image: radial-gradient(#fde8f6 3px, transparent 3px), radial-gradient(#fde8f6 3px, transparent 3px);
    background-size: 18px 18px;
    background-position: 0 0, 9px 9px;
    background-color: #fbd9f0;
}

.x-carousel-section.x-carousel-top .swiper {
    padding: 3vh 20vh;
}

.x-carousel-section .swiper {
    overflow: visible;
    position: relative;
    padding: 3vh 15vh;
}

/* ツイート中央寄せ */
.swiper-slide blockquote.twitter-tweet {
    margin: 0 auto;
}

.twitter-tweet {
    margin: 0 auto;
}

/* スライドの配置整える */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* ナビゲーションボタン（シンプル矢印のみ） */
.swiper-button-next,
.swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    z-index: 10;
    color: #333;
    opacity: 0.7;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #e7009a !important;
}

.swiper-button-next {
    right: 5vh !important;
}

.swiper-button-prev {
    left: 5vh !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

h2 {
    font-family: "ads-rakuraku", sans-serif;
    font-size: 4vh;
    position: relative;
    padding: 1vh;
    border: 3px solid #e7009a;
    background-color: white;
    color: #e7009a;
    font-weight: bold;
    line-height: 1;
    border-radius: 10px;
    margin: 4vh 0 3vh;
}

h2:before {
    position: absolute;
    top: 100%;
    left: 50px;
    transform: skew(-25deg);
    height: 15px;
    width: 15px;
    border-right: 3px solid #e7009a;
    background-color: white;
    content: "";
}

ol.apply-ol {
    counter-reset: rakuraku-counter;
    list-style: none;
    padding-left: 0;
}

ol.apply-ol li {
    counter-increment: rakuraku-counter;
    margin-bottom: 1em;
    position: relative;
    padding-left: 2.5em;
}

ol.apply-ol li span {
    background: #e7009a;
    color: #fff;
    padding: 0.5vh;
    display: inline-block;
    margin: 5px;
    line-height: 1.2;
}


ol.apply-ol li::before {
    content: counter(rakuraku-counter);
    font-family: "ads-rakuraku", sans-serif;
    background: #e7009a;
    color: #fff;
    width: 1.8em;
    height: 1.8em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 1em;
}

img.kirinuki-img {
    margin-bottom: 2.5vh;
}

img.kirinuki-img-bottom {
    margin: 3vh 0 5vh;
}

img.kirinuki-img-bottom-end {
    margin: 5vh 0;
}

img.kirinuki-category {
    width: 70%;
    display: block;
    text-align: center;
    margin: 3vh auto;
}

img.kirinuki-flow {
    width: 85%;
    display: block;
    text-align: center;
    margin: 3vh auto;
}

.schedule-lead {
    font-family: "ads-rakuraku", sans-serif;
    text-align: center;
    font-size: 3.8vh;
    color: #fff;
    background: #e7009a;
    padding: 0.3rem;
}

.kirinuki-schedule {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 2.5vh;
}

.kirinuki-schedule li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.kirinuki-schedule li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: -0.2em;
    font-size: 1.2em;
    color: #e7009a;
    font-family: inherit;
}

.kirinuki-caution {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 2.5vh;
}

.kirinuki-caution li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
    font-size: 1.3rem;
}

.kirinuki-caution li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0.05em;
    font-size: 0.9em;
    color: #e7009a;
    font-family: inherit;
}

.font-pop {
    font-family: "ads-rakuraku", sans-serif;
    color: #e7009a;
    text-align: center;
    letter-spacing: -1px;
    font-size: clamp(16px, 3.5vh, 32px);
}

.results-post {
    margin: 5vh auto 2vh;
}

.poster {
    text-align: center;
}

.poster span {
    font-size: 3rem;
    font-weight: bold;
}

.prize {
    text-align: center;
    background: #e7009a;
    color: #fff;
    font-weight: bold;
    font-size: 2.5rem;
    padding: 1rem;
    line-height: 1.3;
    font-family: "ads-rakuraku", sans-serif;
    border-radius: 5px;
    margin-top: 5vh;
}

.prize span {
    color: yellow;
    font-size: 3.5rem;
}

.category-title {
    display: block;
    margin: 5vh auto 0;
    width: 80%;
}

.special-lead {
    text-align: center;
    margin-top: 5vh;
    font-size: 2rem;
}

/* モバイル */
@media screen and (max-width: 749px) {

    .kirinuki-content {
        width: auto;
        max-width: auto;
        background: #fff;
        margin: 0 auto;
        border-left: none;
        border-right: none;
    }

    .x-carousel-section.x-carousel-top .swiper {
        overflow: visible;
        position: relative;
        padding: 3vh 10vh;
    }

    .x-carousel-section .swiper {
        overflow: visible;
        position: relative;
        padding: 3vh 5.5vh;
    }

    .x-carousel-section.x-carousel-top .swiper .swiper-button-next {
        right: 3vh !important;
    }

    .x-carousel-section.x-carousel-top .swiper .swiper-button-prev {
        left: 3vh !important;
    }

    .swiper-button-next {
        right: 1vh !important;
    }

    .swiper-button-prev {
        left: 1vh !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 24px !important;
    }

    .poster span {
        font-size: 2rem;
    }

    .special-lead {
        font-size: 1.7rem;
    }



}
