@font-face {
    font-family: "lnpop";
    src: url(./lnpop.woff2);
    font-display: wrap;
}

:root {
    --IMAGE_BACK_COLOR: var(--ACCENT_COLOR);
    --ACCENT_COLOR: #ff7fbb;
}

* {
    box-sizing: border-box;
    font-family: "lnpop", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    font-size: 18px;
}

body {
    margin: 0;
    padding: 0;
    min-width: 240px;
}

header {
    position: relative;
}

header span img {
    z-index: -1;
    position: relative;
    display: block;
    background-color: var(--IMAGE_BACK_COLOR);
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

header .img_shadow {
    display: block;
}

header .img_shadow::after {
    z-index: 0;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

header div * {
    color: #fff;
}

header div span a {
    background-color: var(--ACCENT_COLOR);
    padding: 4px 8px;
    text-decoration: none;
}

/* PC */
@media screen and (min-width: 630px) {
    header div {
        position: absolute;
        top: 50%;
        left: 4vw;
        display: flex;
        flex-direction: column;
    }
    
    header div span b {
        font-size: clamp(1.6rem, 6vw, 2.6rem);
        font-weight: bold;
    }
    
    header div span a {
        font-size: clamp(1rem, 6vw, 2rem);
    }
}

/* Mob */
@media screen and (max-width: 630px) {
    header div {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    header div span b {
        font-size: 24px;
    }

    header div span a {
        font-size: 24px;
    }
}

.content {
    position: relative;
    /*width: 90%;
    margin: 0 auto;*/
    min-height: 240px;
    padding: 32px 5%;
}

.content .topic_box {
    min-height: 120px;
    margin: 16px 0;
    padding: 16px;
    border: solid 4px;
    border-radius: 16px;
}

.normal {
    background-color: #fff;
}

.normal * {
    color: var(--ACCENT_COLOR);
}

.normal .topic_box {
    border-color: var(--ACCENT_COLOR);
}

.accent {
    background-color: var(--ACCENT_COLOR);
}

.accent * {
    color: #fff;
}

.accent .topic_box {
    border-color: #fff;
}

/* PC */
@media screen and (min-width: 630px) {
    .footer {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: end;
    }
}

/* Mob */
@media screen and (max-width: 630px) {
    .footer {
        display: flex;
        flex-direction: column;
        gap: 16px;
        justify-content: start;
    }
}


/*
.footer {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(180px , 1fr));

}
*/

.footer .links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 240px;
}

.footer .links * {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.sp_value_box {
    display: flex;
    flex-wrap: wrap;
    /*gap: 64px; */
    justify-content: center;
    margin: 16px 0;
}

.sp_value_box_content {
    display: flex;
    gap: 8px;
    background-color: var(--ACCENT_COLOR);
    /*width: 240px;*/
    padding: 16px;
    border-radius: 16px;
    aspect-ratio: 1/1;
}

/* PC */
@media screen and (min-width: 630px) {
    .sp_value_box {
        gap: 64px;
    }

    .sp_value_box_content {
        width: 240px;
    }

    .sp_value_box_content .value {
        font-size: 48px;
    }
    
    .sp_value_box_content .unit {
        font-size: 32px;
    }
}

/* Mob */
@media screen and (max-width: 630px) {
    .sp_value_box {
        gap: 32px;
    }

    .sp_value_box_content {
        width: 120px;
    }

    .sp_value_box_content .value {
        font-size: 32px;
    }
    
    .sp_value_box_content .unit {
        font-size: 24px;
    }
}

.sp_value_box_content {
    position: relative;
}

.sp_value_box_content * {
    color: #fff;
}

.sp_value_box_content .value {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-content: center;
    place-items: center;
    width: 100%;
    height: 100%;
    /*font-size: 48px;*/
}

.sp_value_box_content .unit {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 8px;
    /*font-size: 32px;*/
}
/*
.normal {
    position: relative;
}

.normal * {
    color: var(--ACCENT_COLOR);
}

.normal::after {
    position: absolute;
}

.accent {
    position: relative;
}

.accent * {
    color: #fff;
}

.accent::after {
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    /*left: calc( ( ( (100vw - var(--CONTENT_WIDTH)) / 2 ) / 2 ) * -1 );
    background-color: var(--ACCENT_COLOR);
    width: 100%;
    height: 100%;
}
*/

/*
AM0:15 missmoe LP作成
*/