/* ---------- ここから.sec_hero　---------- */
body.page-id-240 .sec_hero {
    padding: 135px 0;
    background: url(../images/prize_bg.png) no-repeat center 84%/cover;
    margin-bottom: 100px;
}

body.page-id-240 .sec_hero .prize_ttl {
    height: 50px;
    text-align: center;
    margin-bottom: 30px;
}

body.page-id-240 .sec_hero .prize_ttl img {
    max-height: 100%;
    width: auto;
    max-width: unset;
}
body.page-id-240 .sec_hero .sec_desc {
    color: var(--white);
    line-height: 1.5;
    text-align: center;
    font-weight: 900;
}

/* ---------- ここから.sec_prize　---------- */
body.page-id-240 .sec_prize {
    margin-bottom: 100px;
}

body.page-id-240 .sec_prize .prize_list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

body.page-id-240 .sec_prize .prize_item {
    width: calc((100% - 80px) / 3);
    position: relative;
}

body.page-id-240 .sec_prize .prize_item .img_inner {
    padding: clamp(25px, 1.8vw, 30px);
    position: relative;
}

body.page-id-240 .sec_prize .prize_item .img_inner img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

body.page-id-240 .sec_prize .prize_item .img_inner::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/prize_frame.png) no-repeat center/cover;
    position: absolute;
    top: 0;
    left: 0;
}

body.page-id-240 .sec_prize .prize_date {
    font-size: 14px;
    color: var(--white);
    line-height: 1.7;
    background: var(--red);
    padding: 3px 10px;
    position: absolute;
    bottom: 27px;
    right: 31px;
}

@media(max-width:834px) {
    body.page-id-240 .sec_prize .prize_item {
        width: calc((100% - 40px) / 2);
    }

    body.page-id-240 .sec_prize .prize_date {
        bottom: 29px;
        right: 34px;
    }
}

@media(max-width:430px) {
    body.page-id-240 .sec_hero {
        padding: 30px 0 25px;
        margin-bottom: 60px;
    }

    body.page-id-240 .sec_hero .prize_ttl {
        height: 36px;
        margin-bottom: 20px;
    }

    body.page-id-240 .sec_hero .sec_desc {
        text-align: left;
    }

    body.page-id-240 .sec_hero .prize_ttl {
        margin-bottom: 20px;
    }

    body.page-id-240 .sec_prize .prize_list {
        flex-direction: column;
    }

    body.page-id-240 .sec_prize .prize_item {
        width: 100%;
    }

    body.page-id-240 .sec_prize .prize_item .img_inner {
        padding: 28px;
    }

    body.page-id-240 .sec_prize .prize_date {
        bottom: 31px;
        right: 35px;
    }
}

/* ---------- ここから.sec_other　---------- */
body.page-id-240 .sec_prize_other {
    margin-bottom: 100px;
}

body.page-id-240 .sec_prize_other .prize_other_ttl {
    text-align: center;
    height: 48px;
    margin-bottom: 60px;
}

body.page-id-240 .sec_prize_other .prize_other_ttl img {
    height: 100%;
    width: auto;
}

body.page-id-240 .sec_prize_other .other_item {
    padding: 30px 0;
    border-top: 1px dashed var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-id-240 .sec_prize_other .other_item:last-child {
    border-bottom: 1px dashed var(--black);
}

body.page-id-240 .sec_prize_other .other_ttl {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 800;
    flex-basis: 70%;
}

body.page-id-240 .sec_prize_other .other_date {
    padding-right: 38px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

body.page-id-240 .sec_prize_other .other_date span {
    font-size: 14px;
    line-height: 1.7;
    color: var(--white);
    background: var(--red);
    padding: 3px 10px;
    display: inline-block;
    border-radius: 20px;
    margin-right: 10px;
}

@media(max-width:430px) {
    body.page-id-240 .sec_prize_other .prize_other_ttl {
        height: 36px;
    }

    body.page-id-240 .sec_prize_other .other_item {
        flex-direction: column-reverse;
        gap: 12px;
        align-items: flex-start;
    }

    body.page-id-240 .sec_prize_other .other_ttl {
        font-size: 18px;
    }

    body.page-id-240 .sec_prize_other .other_date {
        padding-right: 0;
    }
}


/* ---------- ここからpagination　---------- */
body.page-id-240 .paginav {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

body.page-id-240 .paginav a:not(.prev):not(.next),
body.page-id-240 .paginav span.current,
body.page-id-240 .paginav .page-numbers.dots {
    display: none;
}

body.page-id-240 .paginav a.prev,
body.page-id-240 .paginav a.next {
    font-size: 20px;
    font-weight: 800;
    line-height: 2;
    border-radius: 35px;
    border: 2px solid var(--black);
    margin: 0 30px;
    position: relative;
}

body.page-id-240 .paginav a.prev {
    padding: 10px 45px 10px 66px;
}

body.page-id-240 .paginav a.next {
    padding: 10px 66px 10px 45px;
    
}

body.page-id-240 .paginav a.prev:hover,
body.page-id-240 .paginav a.next:hover {
    color: #ccc;
    border: 2px solid #ccc;
    transition: 0.6s;
}

body.page-id-240 .paginav a.prev::before,
body.page-id-240 .paginav a.prev::after,
body.page-id-240 .paginav a.next::before,
body.page-id-240 .paginav a.next::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  transition: opacity 0.6s ease;
}

/* 黒アイコン */
body.page-id-240 .paginav a.prev::before,
body.page-id-240 .paginav a.next::before {
  background: url(../images/icon_btn_bk.png) no-repeat center/cover;
  opacity: 1;
}

/* グレーアイコン */
body.page-id-240 .paginav a.prev::after,
body.page-id-240 .paginav a.next::after {
  background: url(../images/icon_btn_gy.png) no-repeat center/cover;
  opacity: 0;
}

/* 位置 */
body.page-id-240 .paginav a.prev::before,
body.page-id-240 .paginav a.prev::after {
  left: 30px;
  transform: translateY(-50%) rotate(180deg);
}

body.page-id-240 .paginav a.next::before,
body.page-id-240 .paginav a.next::after {
  right: 30px;
}

/* hover */
body.page-id-240 .paginav a.prev:hover::before,
body.page-id-240 .paginav a.next:hover::before {
  opacity: 0;
}

body.page-id-240 .paginav a.prev:hover::after,
body.page-id-240 .paginav a.next:hover::after {
  opacity: 1;
}

@media(max-width:430px) {
    body.page-id-240 .paginav a.prev,
    body.page-id-240 .paginav a.next {
        font-size: 15px;
        line-height: 2;
        margin: 0 10px;
    }
}
