@charset "UTF-8";

body, div, header, footer, a, p, span, ul, li, dl, dt, dd, img, h1, h2, h3, button, dialog {margin: 0; padding: 0; border: 0; box-sizing: border-box;}
button {background: none; border: none; outline: none; color: inherit; cursor: pointer; appearance: none;}
a {display: block; text-decoration: none;}
ul, li {list-style: none;}

:root {
    --font-x_large: 3.0rem;
    --font-large: 1.4rem;
    --font-medium: 1.1rem;
    --font-small: 0.85rem;
    --font-x_small: 0.7rem;

    --font-weight_bold: 600;
    --font-weight_black: 800; 

    --color-text_default: #222;
    --color-bg_default: #fdfdfd;
    --color-link: #007f4e;
    --color-anchor: #21475d;
    --color-anchor2: #c7c427;
    --color-cart1: #ffc541;
    --color-attention: #f4ff58;
    --color-coution: #c6332e;
    --color-block: #fff;
    --color-nav-b: #0a487d;
    --color-nav-a: #fff;
    --color-h: #225edb;

    --radius-large: 100vmax;
    --radius-medium: 10px;
    --radius-small: 5px;
}
@media screen and (max-width:800px) {
    :root {
        --font-x_large: 1.8rem;
        --font-large: 1.1rem;
        --font-medium: 0.8rem;
        --font-small: 0.75rem;
        --font-x_small: 0.7rem;
    }
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}
body {
    font-family: "LINE Seed JP", sans-serif;
    color: var(--color-text_default, #222);
    overflow-x: hidden;
}
h2 {
    font-size: var(--font-x_large);
    font-weight: var(--font-weight_black);
    text-align: center;
    margin-bottom: 3%;
}
h3 {
    max-width: 90%;
    margin: 0 auto 1%;
    font-size: var(--font-large);
    font-weight: var(--font-weight_bold);
    text-align: center;
    letter-spacing: 0.1rem;
    color: var(--color-h, #225edb);
}
p {
    line-height: 1.6;
    letter-spacing: 0.1rem;
}
img {
    display: block;
}
@media screen and (max-width:800px) {
    h3 {
        margin: 0 auto 3%;
    }
    p {
        letter-spacing: 0.05rem;
    }
}

/* テキスト系 */
.text-sub {
    font-size: 85%;
    font-weight: initial;
}
.text-bold {
    font-weight: 600;
}

/* 切り替え */
.pc {
    display: block;
}
.sp {
    display: none;
}
@media screen and (max-width:800px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }

    & .sp_none {
        display: none;
    }
}

/* ヘッダーメニュー */
header {
    position: sticky;
    top: 0;
    display: flex;
    padding: 1% 1% 1% 0;
    width: 100%;
    background-color: var(--color-bg_default, #fff);
    z-index: 9998;

    & h1 {
        display: flex;
        width: 20%;

        & a {
            width: 50%;
            & img {
                width: 100%;
                height: auto;
            }
        }
    }
}

.nav_pc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    width: 70%;
    
    & a {
        padding: 1% 3%;
        font-size: var(--font-medium);
        font-weight: var(--font-weight_bold);
        letter-spacing: 0.1rem;
        color: var(--color-anchor, #21475d);;
    }
    & a:hover {
        color: var(--color-anchor2, #c7c427);
    }
}
.nav_sp,
.nav_sp-menu {
    display: none;
}

.header_sp {
    display: none;
}

@media screen and (max-width: 768px) {
    header {
        position: relative;
        justify-content: space-between;
        padding: 4% 4% 4% 0;
        & h1 {
            width: 50%;
        }
    }
    .nav_pc {
        display: none;
    }
    .header_sp {
        position: sticky;
        top: 4%;
        right: 0;
        display: block;
        padding-right: 4%;
        width: 100%;
        z-index: 9999;
    }
    .nav_sp {
        position: relative;
        display: flex;
        z-index: 350;
    }
    .nav_sp-hamburger {
        position: absolute;
        top: -20px;
        right: 0;
        display: block;
        padding: 0;
        width: 30px;
        height: 35px;

        & span,
        & span::before,
        & span::after {
            position: absolute;
            display: block;
            content: "";
            width: 100%;
            height: 2px;
            background-color: var(--color-anchor);
            transition: all 0.4s;
        }
        & span::before {
            top: -10px;
        }
        & span::after {
            bottom: -10px;
        }

        &.open span {
            background-color: transparent;
        }
        &.open span::before {
            top: 0;
            transform: rotate(45deg);
            background-color: var(--color-nav-a, #fff);
        }
        &.open span::after {
            bottom: 0;
            transform: rotate(-45deg);
            background-color: var(--color-nav-a, #fff);
        }
    }

    .nav_sp-menu {
        position: fixed;
        top: 0;
        right: 0;
        display: block;
        visibility: hidden;
        width: 100svw;
        height: 100%;
        z-index: 200;

        & .nav_sp-menu-list {
            position: fixed;
            top: 0;
            right: 0;
            width: 80svw;
            height: 100%;
            padding: 20% 5%;
            background-image: url(../img/bg_list.webp);
            background-color: var(--color-nav-b, #0a487d);
            background-repeat: no-repeat;
            background-position: bottom left;
            background-attachment: fixed;
            transform: translateX(100%);
            visibility: hidden;
            transition: transform 0.4s ease,
                        visibility 0.8s;
            z-index: 250;
        }
        & a {
            width: 100%;
            color: var(--color-nav-a);
            text-align: center;
            margin: 3rem auto;
        }
        .nav_sp-bg {
            position: absolute;
            width: 100svw;
            height: 100svh;
            background-color: rgba(255, 255, 255, 0.5);
            visibility: hidden;
            transition: visibility 0s;
            z-index: 210;
        }

        .open {
            visibility: visible;
            transition: visibility 0s;
        }
        &.open .nav_sp-bg {
            opacity: 1;
            visibility: visible;
            transition: visibility 0s;
            backdrop-filter: blur(1px);
        }
        &.open .nav_sp-menu-list {
            transform: translateX(0);
            visibility: visible;
            transition: transform 0.8s cubic-bezier(0.594, 0.045, 0.343, 1),
                        visibility 0.8s;
        }
    }

}

/* メイン表示 */
.main_wrapper {
    width: 100%;
    background-attachment: fixed;
    background-image: url(../img/bg_comment_left.webp), url(../img/bg_comment_right.webp);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom left, top right;
}
.main_img {
    width: 100%;

    & img {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
}
.main_block {
    width: 100%;
    margin: 0 auto;

    & h2 img {
        max-width: 80%;
        height: auto;
        margin: auto;
    }
}

@media screen and (max-width:800px) {
    .main_wrapper {
        background-size: 20% auto;
    }
}

/* 景品一覧 */
#fp60, #fp50, #fp30, #fp10, #fp8, #fp6, #fp3 {
    padding-top: 2%;
}
.prize {
    width: 100%;
    padding: 5% 5%;
}
.prize_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 5%;
}
.prize_list-link {
    margin: 2% 1% 0;
    padding: 1%;
    border: 3px solid var(--color-anchor2, #c7c427);
    border-radius: var(--radius-medium);

    & a {
        font-size: calc(var(--font-small) * 1.0 + (var(--font-small) - var(--font-x_small)) * ((100vw - 600px) / (1920px - 600px)));
        color: var(--color-anchor, #21475d);

        & i {
            padding-right: 0.3rem;
            color: var(--color-anchor2, #c7c427);
        }
        & span {
            padding-right: 0.5rem;
        }
    }
    & a:hover {
        color: var(--color-anchor2, #c7c427);

        & i {
            transform: translateY(2px);
            transition: transform 0.2s ease;
        }
    }
}
.link_btn {
    width: 100%;

    & i, span {
        margin-right: 0.5rem;
    }
}
.prize_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    margin-bottom: 5%;
    padding: 0 5%;
}
.prize_wrapper {
    display: flex;
    flex-direction: column;
    padding: 2%;
    width: 20%;
    width: calc(100% / 5);

    & button {
        overflow: hidden;
    }
    & img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        margin: auto;
    }

    & button img {
        transition: transform 0.3s ease;
    }
    & button img:hover {
        transform: scale(1.5);
    }
}
.prize_title {
    width: 100%;
    margin-bottom: 3%;
    padding: 3%;

    & p {
        font-size: calc(var(--font-small) * 0.9 + (var(--font-small) - var(--font-x_small)) * ((100vw - 800px) / (1920px - 800px)));
        letter-spacing: 0.05rem;
        line-height: 1.5;
    }
}
.prize_campaign {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem auto 3rem;

    & li {
        padding: 1%;
        font-size: var(--font-small);
        border-bottom: 1px dashed var(--color-anchor2, #c7c427);
    }
}
@media screen and (max-width:1280px) {
    .prize_wrapper {
        width: 25%;
        width: calc(100% / 4);
    }
}
@media screen and (max-width:1024px) {
    .prize_wrapper {
        width: 33%;
        width: calc(100% / 3);
    }
}
@media screen and (max-width:768px) {
    .prize_wrapper {
        width: 50%;
        width: calc(100% / 2);
    }
    .prize_list-link {
        padding: 3%;
        border: 2px solid var(--color-anchor2, #c7c427);
    }
}

/* モーダルウィンドウ */
.prize_block {
    position: fixed;
    inset: 0;
    width: 800px;
    height: auto;
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.3s ease-out,
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                display 0.3s allow-discrete,
                overlay 0.3s allow-discrete;
}
.prize_block[open] {
    opacity: 1;
    transform: scale(1);
}
@starting-style {
    .prize_block[open] {
        opacity: 0;
        transform: scale(0.8);
    }
}
.prize_block::backdrop {
    background-color: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    transition: background-color 0.3s ease-out, 
                -webkit-backdrop-filter 0.3s ease-out,
                backdrop-filter 0.3s ease-out,
                display 0.3s allow-discrete,
                overlay 0.3s allow-discrete;
    
}
.prize_block[open]::backdrop {
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}
@starting-style {
    .prize_block::backdrop[open] {
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
        background-color: rgba(0, 0, 0, 0);
    }
}
.modal-shift {
    transform: scale(1.0);
    transition: opacity 0.3s ease-out,
                transform 0.3s,
                display 0.3s allow-discrete,
                overlay 0.3s allow-discrete;
}
.modal_open {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    padding: 1%;
    border: 1px solid #ccc;
    background-color: var(--color-bg_default);
    &::after {
        position: absolute;
        content: url(../img/viewbtn.webp);
        transform: scale(15%);
        transform-origin: right bottom;
        right: 3%;
        bottom: 3%;
        vertical-align: bottom;
        z-index: 50;
    }
}
.kakioroshi {
    &::before {
        position: absolute;
        content: url(../img/kakioroshi.webp);
        transform: scale(40%);
        transform-origin: left top;
        left: 3%;
        top: 0;
        vertical-align: top;
        z-index: 51;
    }
}
.prize_inner {
    width: 100%;
    height: 100%;
}
.prize_inner-img {
    display: flex;
    width: 100%;
    height: 90%;
    padding: 2%;
}
.prize_inner-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 10%;
    padding: 2%;

    & button {
        font-size: var(--font-large);
        margin: 0 3%;
    }
}
@media screen and (max-width: 768px) {
    .prize {
        padding: 3rem 0;
    }
    .prize_block {
        max-height: initial;
        aspect-ratio: 1 / 1.3;
    }
    .modal_open {
        &::before {
            transform: scale(30%);
        }
    }
}

/* FP2倍 */
.fpx2 {
    width: 100%;
    padding: 5% 5%;
    background-image: url(../img/bg_grid.webp);
}
.fpx2_text {
    width: 100%;
    margin-bottom: 3%;
    font-size: var(--font-medium);
    font-weight: var(--font-weight_bold);
    text-align: center;

    & i {
        padding: 0 0.5rem;
        vertical-align: 3px;
    }
    & span {
        background-color: var(--color-attention);
    }
}
.fpx2_wrapper {
    width: 1300px;
    max-width: 95%;
    margin: 0 auto;
    padding: 5% 5%;
    border: 2px solid var(--color-text_default);
    border-radius: 30px;
    background-color: var(--color-bg_default);

    & > div {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        
    }
}
.fpx2_block {
    width: 100%;
    margin-bottom: 5%;
    padding: 5%;

    & img {
        width: 100%;
        height: auto;
    }
}
.fpx2_img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 8%;
    aspect-ratio: 1 / 1;

    & img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        margin: auto;
    }
}
@media screen and (max-width:1024px) {
    .fpx2_wrapper {
        & > div {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    .fpx2_block {
        padding: 3%;
    }
}
@media screen and (max-width: 768px) {
    .fpx2 {
        padding: 3rem 5%;
    }
    .fpx2_wrapper {
        & > div {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/* カートボタン */
.cart {
    width: min(90%, 200px);
    margin: auto auto 1.0rem;
}
.cart_btn {
    width: 100%;
    padding: 5%;
    text-align: center;
    border: 2px solid var(--color-cart1);
    border-radius: var(--radius-large);
    background-color: var(--color-cart1);
    transition: 0.2s;

    & * {
        font-size: calc(var(--font-small) * 0.8 + (var(--font-small) - var(--font-x_small)) * ((100vw - 600px) / (1920px - 600px)));
        font-weight: var(--font-weight_bold);
        color: var(--color-text_default);
        line-height: 1.5;
    }
    &:hover {
        background-color: var(--color-bg_default);
    
        & * {
            color: var(--color-cart1);
        }
    }
}
@media screen and (max-width: 768px) {
    .cart_btn {
        padding: 3%;

        & * {
            font-size: calc(var(--font-small) * 0.9);
        }
    }
}

/* フェアについて */
.details {
    background-color: var(--color-nav-b);
}
.details_wrapper {
    width: 1400px;
    max-width: 90%;
    margin: 0 auto;
    padding: 5% 5%;
    background-color: var(--color-bg_default);

    & p {
        font-size: var(--font-medium);
        text-align: center;
    }

    & dl {
        margin: 5% auto;
    }
    & dt h3 {
        padding: 1%;
        width: 80%;
        border-bottom: 1px solid;
    }
    & dd {
        margin-bottom: 10%;
    }
    & dd p {
        font-size: var(--font-medium);
        text-align: center;
    }
}
.details_link-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 4% auto 10%;

    & .details_link-btn {
        width: min(85%, 200px);
        margin: auto 1.0rem 1.0rem;
        padding: 1%;
        text-align: center;
        border: 2px solid var(--color-link);
        border-radius: var(--radius-large);
        background-color: var(--color-bg_default);
        transition: 0.2s;

        & * {
            font-size: var(--font-small);
            font-weight: var(--font-weight_bold);
            color: var(--color-link);
        }
        &:hover {
            background-color: var(--color-bg_default);
        
            & * {
                color: var(--color-cart1);
            }
        }

        & i {
            margin-left: 0.5rem;
        }
    }
}
.details_comment-block {
    & span {
        display: block;
        margin-bottom: 1%;
    }
}
@media screen and (max-width: 768px) {
    .details_wrapper {
        padding: 3rem 8%;
        
        & dd {
            margin-bottom: 15%;
        }
        & dt h3 {
            margin-bottom: 5%;
            padding-bottom: 3%;
        }
    }
    .details_link-block {
        margin: 8% auto 10%;

        & .details_link-btn {
            padding: 0.7rem;
        }
    }
}

/* フッター */
.footer {
    width: 100%;
    padding: 5rem;
    background-color: var(--color-bg_default);
}
.footer_credit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: var(--font-x_small);
    text-align: center;

    & li {
        margin: 1rem 1rem 0;
    }
}
.footer_sns{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    max-width: 800px;
    margin: 3rem auto 0;

    & a {
        width: 45%;
        margin: 0 auto;
    }
    & img {
        width: 100%;
        height: auto;
        transition: 0.2s;
    }
    & img:hover {
        opacity: 0.7;
    }
}
.footer_wrapper {
    & * {
        text-align: center;
    }
    & p {
        padding: 3rem 0 0;
        font-size: var(--font-x_small);
    }
}
@media screen and (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }
    .footer_credit {
        & li {
            margin: 0.6rem 0.5rem 0;
        }
    }
}

/* JS系一括 */
#prize, #fpx2, #details,
#fp60, #fp50, #fp30, #fp10, #fp8, #fp6, #fp3 {
    scroll-margin-top: var(--header-height);
}
.default {
    opacity: 0;
    translate: 0 15%;
}
.is-active {
    opacity: 1;
}
@media screen and (max-width: 768px) {
    #prize, #fpx2, #details,
    #fp60, #fp50, #fp30, #fp10, #fp8, #fp6, #fp3 {
        scroll-margin-top: initial;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.trigger {
    opacity: 0;

    &.fade-in {
        animation: fadeIn 0.5s ease-out forwards;
    }
}
