@charset "UTF-8";

@font-face {
    font-family: KiwiMaru;
    src: url('/fonts/KiwiMaru-Medium_sub.woff2')
        format("woff2");
}

:root {
    --main-color: #222;
    --clearly-color: #000;
    --hover-color: #222;
    --sub-color: #777;
    --reversal-color: #fff;
    --background: #fff;
    --header-bg: linear-gradient(#ffff, #fffd);
    --nav-bg: rgba(255, 255, 255, .5);
    --nav-backdrop: rgba(255, 255, 255, .9);
    --titlebox-bg: rgba(255, 255, 255, 0);
    --headingbg: linear-gradient(#fffe, #fffd);
    --linkbox-bg: rgba(255, 255, 255, .8);
    --hover-bg: #ffdff7;
    --hover-border: #ffa2e8;
    --article-bg: #fafafa;
    --pagerbg: #ffa2e8;
    --pagerbg-now: #ffa2e8;
    --button-bg: #fff;
    --button-border: #aaa;
    --button-hover-bg: #c7f0d2;
    --button-checked-bg: #97ebae;
    --button-hover-border: #66d283;
    --box-background: #eaeaea;

    --glass-border: solid 2px #fff6;
    --glass-shadow: inset 1px 1px 2px #b3b3b390, inset -1px -1px 2px #ffffff80;

    --list-bg: #eee;
    --list-bg-a: #eaeaea;

    --red: #ff9f9f;
    --blue: #9fd9ff;
    --green: #97ebae;

    --background-pattern: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55l-1 1.732-17.32-10L82 4l17.32 10zm-80 80l-1 1.732-17.32-10L2 84l17.32 10zm96.546-75.84l-1.732 1-10-17.32 1.732-1 10 17.32zm-100 100l-1.732 1-10-17.32 1.732-1 10 17.32zM38.16 24.134l1 1.732-17.32 10-1-1.732 17.32-10zM60 29v2H40v-2h20zm19.32 5l-1 1.732-17.32-10L62 24l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM111 40h-2V20h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zM40 49v2H20v-2h20zm19.32 5l-1 1.732-17.32-10L42 44l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM91 60h-2V40h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM39.32 74l-1 1.732-17.32-10L22 64l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM71 80h-2V60h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM120 89v2h-20v-2h20zm-84.134 9.16l-1.732 1-10-17.32 1.732-1 10 17.32zM51 100h-2V80h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM100 109v2H80v-2h20zm19.32 5l-1 1.732-17.32-10 1-1.732 17.32 10zM31 120h-2v-20h2v20z' fill='%23ffffff50' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");

    --midashi-font: "Kiwi Maru", "KiwiMaru", sans-serif;
    --sans-font: "Noto Sans", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", "Yu Gothic", sans-serif;
    --noemojifont: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", "Meiryo", "Yu Gothic", Arial, "Helvetica Neue", "Helvetica";
}

@media (prefers-color-scheme: dark) {
    :root {
        --main-color: #ddd;
        --clearly-color: #fff;
        --hover-color: #999;
        --sub-color: #BBB;
        --reversal-color: #000;
        --background: #1e1e1e;
        --header-bg: linear-gradient(#000f, #0007);
        --nav-bg: rgba(0, 0, 0, .5);
        --nav-backdrop: rgba(0, 0, 0, .9);
        --titlebox-bg: rgba(0, 0, 0, .5);
        --headingbg: linear-gradient(#000c, #000f);
        --linkbox-bg: rgba(0, 0, 0, .8);
        --hover-bg: #64365a;
        --article-bg: #050505;
        --pagerbg: #360044;
        --pagerbg-now: #ffa2e8;
        --button-bg: #111;
        --button-border: #555;
        --button-checked-bg: #222b24;
        --button-hover-bg: #3f5c45;
        --box-background: #222;

        --glass-border: solid 2px #fff2;

        --list-bg: #1e1e1e;
        --list-bg-a: #363636;

        --red: #b65e5e;
        --blue: #5395c2;
        --green: #48a060;

        --background-pattern: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55l-1 1.732-17.32-10L82 4l17.32 10zm-80 80l-1 1.732-17.32-10L2 84l17.32 10zm96.546-75.84l-1.732 1-10-17.32 1.732-1 10 17.32zm-100 100l-1.732 1-10-17.32 1.732-1 10 17.32zM38.16 24.134l1 1.732-17.32 10-1-1.732 17.32-10zM60 29v2H40v-2h20zm19.32 5l-1 1.732-17.32-10L62 24l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM111 40h-2V20h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zM40 49v2H20v-2h20zm19.32 5l-1 1.732-17.32-10L42 44l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM91 60h-2V40h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM39.32 74l-1 1.732-17.32-10L22 64l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM71 80h-2V60h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM120 89v2h-20v-2h20zm-84.134 9.16l-1.732 1-10-17.32 1.732-1 10 17.32zM51 100h-2V80h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM100 109v2H80v-2h20zm19.32 5l-1 1.732-17.32-10 1-1.732 17.32 10zM31 120h-2v-20h2v20z' fill='%2300000050' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    }
}

html {
    font: normal 16px var(--sans-font);
    background-color: var(--background);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    scrollbar-width: auto;
    scrollbar-color: #777 #eaeaea;
    scrollbar-color: #777 var(--background);
    color: #222;
    color: var(--main-color);
}

body {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #eaeaea;
    background-color: var(--background);
    background-image: var(--background-pattern);
    background-repeat: repeat;
    -webkit-text-size-adjust: 100%;
}

a {
    color: #44a2ff;
}
a:hover {
    color: #ffa2e8;
}

h1, h2, h3, h4, h5, h6 {
    font-feature-settings: "palt";
}
h1, h2, h3 {
    font-family: var(--midashi-font);
}

.right {
    text-align: right;
}

.hidden {
    display: none;
}

.fixed {
    position: fixed;
}

.small {
    font-size: 10px;
    padding: 0;
    margin: 0;
}

header {
    padding: 0;
    position: fixed;
    width: 100%;
    margin: 0;
    transition: all .5s;
    background: var(--header-bg);
    border-bottom: 1px var(--button-border) solid;
    z-index: 5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
header.slim {
    position: relative;
}
header a {
    color: var(--clearly-color);
    font-weight: bold;
    position: relative;
    margin: 0;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all .1s;
    text-decoration: none;
    border: solid 2px transparent;
}
header h1 {
    font: normal 12px sans-serif;
    display: inline-block;
    padding: 0;
    margin: 0;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    width: 120px;
}
header #header_linkbox {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 50px;
    justify-content: space-between;
    margin: 0 10px;
}
header ul#header_links {
    padding: 0;
    margin: 0;
    display: flex;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}
header ul#header_links li {
    display: inline;
    position: relative;
    display: block;
}
header ul#header_links li a sub, nav#navigation_menu ul li a sub  {
    vertical-align: baseline;
    font-size: 10px;
}
header div#header_creativity {
    width: 120px;
    text-align: right;
    padding: 0;
    margin: 0;
}
header a:hover {
    color: var(--main-color);
    background-color: var(--hover-bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    border: solid 2px var(--hover-border);
}
.current_page {
    color: #ffa2e8;
}

nav#navigation_menu {
    display: none;
}
nav#navigation_menu > ul {
    display: block;
    position: fixed;
    background: var(--nav-bg);
    box-shadow: 0 30px 50px rgba(0,0,0,0.4);
    border-radius: 10px;
    margin: 0 20px;
    padding: 0 10px;
    z-index: 0;
    width: 50px;
    height: 50px;
    top: 0px;
    right: 50px;
    line-height: 0;
    opacity: 0;
    transition: .1s ease-in-out;
    overflow: hidden;
    border-radius: 15px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow), 0 0 30px #0003;
    transform: translateX(100%) scale(0.1);
}
nav#navigation_menu.toggle_on > ul {
    width: calc(100% - 60px);
    height: auto;
    line-height: 1.5;
    opacity: 1;
    padding: 10px;
    top: 70px;
    right: calc(50% - 20px);
    z-index: 7;
    transform: translateX(50%) scale(1);
}
nav#navigation_menu > ul li {
    list-style: none;
    margin: 5px 10px;
    padding: 0;
    display: block;
}
nav#navigation_menu > ul li a {
    display: block;
    font-size: 16px;
    margin: 0;
    padding: 6px 10px;
    color: var(--main-color);
    text-decoration: none;
    transition: all .1s;
    border-radius: 13px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}
nav#navigation_menu > ul li a:hover {
    background-color: var(--hover-bg);
}
nav#navigation_menu > ul li a sub {
    padding: 0 5px;
}
nav#navigation_menu > .navigation_background {
    background-color : var(--nav-backdrop);
    z-index: 6;
    height: 100vh;
    position: fixed;
    inset: auto;
    overflow: auto;
    transform: translateZ(0);
}
nav#navigation_menu.toggle_on > .navigation_background {
    inset: 0;
}

article {
    margin: 0;
    padding: 0;
    background-color: var(--background);
}
article.popout {
    background: var(--nav-bg);
}
article p {
    line-height: 1.5;
}
article img {
    width: 100%;
    max-width: 600px;
    vertical-align: top;
}
article img.banner {
    margin: 1em auto 0;
    width: 100%;
    max-width: 100%;
    height: auto;
}

h2 {
    position: relative;
    margin: 1em 0 0.5em;
    padding: 10px 30px 13px;
    z-index: 1;
    letter-spacing: -0.05em;
}
h2::after, h2::before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    z-index: -1;
}
h2::after {
    left: 0px;
    width: calc(100% - 40px);
    border-style: solid;
    border-width: 0 0 0 20px;
    border-color: rgb(237, 144, 186);
    background: var(--headingbg);
    border-radius: 10px 0 0 10px;
}
h2::before {
    right: 0;
    width: calc(100% - 40px);
    border-style: solid;
    border-width: 0 20px 0 0;
    border-color: rgb(109, 204, 243);
    background: rgb(237, 144, 186);
    border-radius: 0 10px 10px 0;
}
h3 {
    position: relative;
    margin: 1em 0 0.5em;
    padding: 4px 20px;
    z-index: 1;
    letter-spacing: -0.05em;
}
h3::after, h3::before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    z-index: -1;
}
h3::after {
    left: 0px;
    width: calc(100% - 20px);
    border-style: solid;
    border-width: 0 0 0 10px;
    border-color: rgb(237, 144, 186);
    background: var(--headingbg);
    border-radius: 10px 0 0 10px;
}
h3::before {
    right: 0;
    width: calc(100% - 20px);
    border-style: solid;
    border-width: 0 10px 0 0;
    border-color: rgb(109, 204, 243);
    background: rgb(237, 144, 186);
    border-radius: 0 10px 10px 0;
}
h4::before {
    content: "■ ";
    font-weight: bold;
    color: rgb(107, 107, 107);
}
h5::before {
    content: "● ";
    font-weight: bold;
    color: rgb(107, 107, 107);
}

main {
    display: block;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    position: relative;
}
#titlebox {
    margin: 0 auto;
    padding: 4em 1em 1em;
    position: relative;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    background-color: var(--titlebox-bg);
}
#titlebox h1 {
    position: relative;
    font-family: var(--midashi-font);
    text-shadow: 2px 2px #ff9cf9, 2px -2px #51d8ff, -2px 2px #fffd71, 0 2px 2px rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 0 20px;
    margin: 0;
    font-size: clamp(24px,5vw,48px);
}
#titlebox p {
    position: relative;
    font-size: 18px;
    display: block;
    font-weight: bold;
    padding: 0 20px;
    margin: 0;
    color: #fff;
}
.designshadow {
    text-shadow: 2px 2px #ff9cf9, 2px -2px #51d8ff, -2px 2px #fffd71;
}
@media only screen and (max-width:900px) {
    #titlebox h1 {
        text-shadow: 1px 1px #ff9cf9, 1px -1px #51d8ff, -1px 1px #fffd71, 0 2px 2px rgba(0, 0, 0, 0.3);
    }
    #titlebox p {
        font-size: 10px;
    }
    .designshadow {
        text-shadow: 1px 1px #ff9cf9, 1px -1px #51d8ff, -1px 1px #fffd71;
    }
    h2 {
        font-size: 1.2em;
        padding: 10px 30px 12px;
    }
    h3 {
        font-size: 1.1em;
    }
}

.boxfree {
    margin: 0 auto;
    padding: 10px;
}
.box1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}
.box900 {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}
div#flexarticle {
    display: flex;
	flex-direction: row-reverse;
	gap: 5px;
    max-width: 920px;
    margin: 0 auto;
    padding: 10px;
}
div#inboxmain {
	flex-grow: 1;
    display: block;
    position: relative;
	justify-content: left;
}
div#inboxindex {
    flex: 1 0 300px;
    position: relative;
	justify-content: left;
}
div#inboxindex div#stickybox {
    display: block;
    position: sticky;
    top: 70px;
}
@media only screen and (max-width:900px) {
    div#flexarticle {
        display: block;
    }
    div#inboxindex div#stickybox {
        position: initial;
    }
}

hr {
    height: 1px;
    border: none;
    border-top: 1px solid #222;
    border-top: 1px solid var(--main-color);
}

table {
    width: 100%;
    line-height: 2em;
    border-collapse: collapse;
    border: #999 1px solid;
    margin: 0.5em 0;
}
td, th {
    border-collapse: collapse;
    border: #999 1px solid;
    padding: 5px;
}

details {
    margin: 5px 0;
    border-radius: 10px;
    border: solid 2px var(--button-border);
}
details > summary {
    display: flex;
    align-items: center;
    background: var(--button-bg);
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0.5em 2.5em 0.5em 0.5em;
    border: solid 2px transparent;
}
details[open] {
    background: var(--article-bg);
}
details[open] > summary {
    border-radius: 8px 8px 0 0;
}
details > summary:hover {
    background-color: rgba(235, 235, 235, .5);
    border-color: var(--button-hover-border);
}
details > summary::after {
    content: '';
    display: block;
    padding: 0;
    margin-top: -5px;
    width: 8px;
    height: 8px;
    border: 2px solid;
    border-color: transparent transparent var(--main-color) var(--main-color);
    transform: translate(0, -4px) rotate(-45deg);
    position: absolute;
    top: 50%;
    right: 15px;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] > summary::after {
    transform: translate(0, 4px) rotate(135deg);
}
details > div {
    border-radius: 0 0 10px 10px;
    padding: 0 1em;
    margin: 0 !important;
}

pre {
    margin: 1em 0;
    padding: 1em;
    border-radius: 10px;
    background: #25292f;
    color: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* トップページ */
#topcontentpannel {
    padding: 0;
    margin: 0 auto;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1600px;
    > a {
        padding: 0;
        margin: 0;
        position: relative;
        > img {
            padding: 0;
            margin: 0;
            width: 100%;
            vertical-align: top;
        }
    }
    > a:hover {
        opacity: 0.8;
    }
    > a::before {
        content: "";
        position: absolute;
        box-sizing: border-box;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        border: solid 2px transparent;
        transition: border 0.2s;
        z-index: 6;
    }
    > a:hover::before {
        border: solid 2px var(--hover-border);
    }
}
@media only screen and (min-width:1601px) {
    #topcontentpannel {
        padding: 10px 0 ;
        gap: 10px;
        > a {
            border-radius: 10px;
            > img {
                border-radius: 10px;
            }
        }
        > a::before {
            border-radius: 10px;
        }
    }
}
@media only screen and (max-width:600px) {
    #topcontentpannel {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contentlistbox {
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    background-color : var(--article-bg);
    background-image: var(--background-pattern);
    background-repeat: repeat;
}
.contentlistbox .headingbox {
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.contentlistbox .headingbox::after {
   position: absolute;
   width: 100%;
   height: 55%;
   max-width: 600px;
   content: "";
   z-index: -1;
   transform: skew(15deg);
   background-color: #fff8;
   top: 40%;
   left: -50px;
   z-index: 1;
}
.contentlistbox .headingbox .titlebox {
    padding: 0;
    margin: 0;
    display: block;
    color: #111;
    z-index: 2;
    width: 100%;
}
.contentlistbox .headingbox .titlebox h2 {
    padding: 0;
    margin: 0.2em 50px 0;
    border: none;
    font-size: clamp(24px,5vw,48px);
}
.contentlistbox .headingbox .titlebox p.headdesc {
    padding: 0;
    margin: 0 50px 0.5em;
    font-weight: bold;
    font-size: clamp(10px,2vw,18px);
}
.contentlistbox .headingbox .titlebox h2::after, .contentlistbox .headingbox .titlebox h2::before {
    display: none;
}
.contentlistbox .headingbox .headviewbox {
    width: 100%;
    max-width: 300px;
    padding: 0 50px 0 0;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    z-index: 3;
    gap: 5px;
}
.contentlistbox .headingbox .headviewbox a {
    width: 100%;
    max-width: 200px;
    display: inline-block;
    position: relative;
    padding: 10px;
    margin: 0;
    line-height: 1em;
    color: var(--main-color);
    background: var(--linkbox-bg);
    text-decoration: none;
    border-radius: 10px;
    transition: all .1s;
    text-align: center;
    border: solid 2px transparent;
    transition: border 0.2s;
}
.contentlistbox .headingbox .headviewbox a:hover {
    border: solid 2px var(--hover-border);
}
.contentlistbox div.contentlist {
    margin: 0;
    padding: 1em 5rem;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
}
.contentlistbox div.grid_2cal {
    margin: 0;
    padding: 1em 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 5px;
}
@media only screen and (max-width:600px) {
    .contentlistbox .headingbox {
        padding: 0;
        margin: 0;
        width: 100%;
        position: relative;
        display: flex;
        justify-content: space-between;
    }
    .contentlistbox .headingbox .titlebox h2 {
        margin: 0.5em 15px 0;
    }
    .contentlistbox .headingbox .titlebox p.headdesc {
        padding: 0;
        margin: 0 15px 0.5em;
    }
    .contentlistbox .headingbox .headviewbox {
        padding: 0 15px 0 0;
    }
    .contentlistbox .headingbox .headviewbox a {
        max-width: 100px;
        padding: 10px 5px;
    }
    .contentlistbox div.contentlist {
        padding: 5px 1rem;
    }
    .contentlistbox div.grid_2cal {
        padding: 5px 1rem;
        grid-template-columns: 1fr;
    }
}

.swiper {
    padding: 5px 5rem;
    margin: 0;
    position: relative;
}
.swiper h3 {
    font-size: 1em;
    padding: 0;
    margin: 0;
}
.swiper h3::before, .swiper h3::after {
    display: none;
}
.swiper-wrapper {
    width: 100%;
    padding: 0;
    list-style: none;
    position: relative;
}
.swiper-slide {
    padding: 0;
    height: auto;
    display: flex;
}
@media only screen and (min-width:1801px) {
    .swiper-slide {
        width: 16% !important;
        margin: 0 0.3333%;
    }
}
@media only screen and (max-width:1800px) {
    .swiper-slide {
        width: 19% !important;
        margin: 0 0.5%;
    }
}
@media only screen and (max-width:1200px) {
    .swiper-slide {
        width: 24% !important;
        margin: 0 0.5%;
    }
}
@media only screen and (max-width:900px) {
    .swiper-slide {
        width: 33% !important;
        margin: 0 0.16666%;
    }
}
@media only screen and (max-width:750px) {
    .swiper-slide {
        width: 49% !important;
        margin: 0 0.5%;
    }
}
.swiper-slide a {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px;
    background-color: var(--linkbox-bg);
    text-decoration: none;
    color: var(--main-color);
    border-radius: 10px;
    text-align: left;
    position: relative;
    box-sizing: border-box;
    border: solid 2px transparent;
}
.swiper-slide a img {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 10px;
    margin: 0 0 5px;
    vertical-align: middle;
}
.swiper-slide a span.tag, .swiper-slide a span.date {
    width: 100%;
    height: auto;
    padding: 0;
    text-align: left;
}
.swiper-slide a .description {
    width: 100%;
    height: auto;
    padding: 0;
    font-weight: bold;
}
.swiper-slide a .description h3 {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.2;
}
.swiper-slide a .description p {
    margin: 0;
    padding: 0;
    font-size: 0.5em;
}
.swiper-slide a:hover {
    border: solid 2px var(--hover-border);
}
.swiper-button-prev, .swiper-button-next {
    background: var(--linkbox-bg);
    color: var(--main-color);
    background-repeat: no-repeat;
    background-size: 40px;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 22px;
    margin-top: calc(-1 * var(--swiper-navigation-size) / 2);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 2px var(--main-color);
    transition: border 0.2s;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    border: solid 2px var(--button-hover-border);
}
.swiper-button-prev {
    left: 20px;
}
.swiper-button-next {
    right: 20px;
}
@media only screen and (max-width:600px) {
    .swiper {
        padding: 5px 1rem;
    }
    .swiper-wrapper {
        margin: 5px auto;
        padding: 0;
    }
    .swiper-slide a {
        padding: 6px;
    }
    .swiper-slide a .description h3 {
        font-size: 0.7em;
    }
    .swiper-button-prev, .swiper-button-next {
        display: none;
    }
}

ul.gridlinklist {
    padding: 0;
    list-style: none;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    justify-content: center;
    margin: 0;
    gap: 5px;
}
ul.gridlinklist li {
    display: flex;
    margin: 0;
    padding: 0;
    flex: 1 1 400px;
}
ul.gridlinklist li a {
    display: flex;
    align-items: center;
    flex: 1 1 400px;
    position: relative;
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.2s;
    background-color: var(--button-bg);
    border-radius: 10px;
    border: solid 2px var(--button-border);
}
ul.gridlinklist li a:hover {
    background-color: var(--hover-bg);
    border: solid 2px var(--hover-border);
}
ul.gridlinklist li a picture {
    padding: 0;
    margin: 0;
    display: block;
}
ul.gridlinklist li a picture img {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100px;
    min-width: 100px;
    vertical-align: bottom;
    border-radius: 10px;
}
ul.gridlinklist li a .description {
    margin: 5px 5px 5px 0;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.tag, .date {
    display: block;
    font-size: 0.7em;
    text-align: center;
}
.date {
    margin: 5px 0 0;
}
.tag {
    margin: 0;
    font-weight: bold;
}
ul.gridlinklist li a .infoimage {
    margin: 5px;
    flex: 0 1 100px;
    min-width: 100px;
}
ul.gridlinklist li a h2 {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1em;
    border: none;
    word-break: break-all;
}
ul.gridlinklist li a h2::after, ul.gridlinklist li a h2::before {
    display: none;
}
ul.gridlinklist li a p {
    font-size: 0.8em;
    color: #777;
    color: var(--sub-color);
    margin: 0;
    padding: 0;
}
@media only screen and (max-width:900px) {
    ul.gridlinklist {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    ul.gridlinklist li a h2 {
        font-size: 0.9em;
    }
}


ul.smallimagelinks {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    margin: 0;
    gap: 5px;
    flex: 1 1 300px;
}
ul.smallimagelinks li {
    padding: 0;
    display: block;
}
ul.smallimagelinks li a {
    position: relative;
    display: flex;
    padding: 0;
    text-decoration: none;
    margin: 0;
    transition: all .1s;
    background-color: var(--button-bg);
    border-radius: 10px;
    align-items: flex-end;
    flex-wrap: nowrap;
    justify-content: center;
}
ul.smallimagelinks li a:hover {
    background-color: var(--hover-bg);
    opacity: 0.8;
}
ul.smallimagelinks li a::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: solid 2px transparent;
    transition: border 0.2s;
    border-radius: 10px;
    z-index: 1;
}
ul.smallimagelinks li a:hover::before {
    border: solid 2px var(--hover-border);
}
ul.smallimagelinks li a picture {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0;
    margin: 0;
    text-align: center;
    border-radius: 10px;
}
ul.smallimagelinks li a picture img {
    vertical-align: bottom;
    border-radius: 10px;
    object-fit: cover;
}
ul.smallimagelinks li a div.minititle {
    position: absolute;
    bottom: 0;
    padding: 0.5em;
    margin: 0;
    background: var(--linkbox-bg);
    color: var(--main-color);
    border-radius: 0px 0px 10px 10px;
    width: 100%;
    box-sizing: border-box;
}
ul.smallimagelinks li a div.minititle h2 {
    font: bold 12px sans-serif;
    border: none;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}
ul.smallimagelinks li a div.minititle h2::after, ul.smallimagelinks li a div.minititle h2::before {
    display: none;
}
ul.smallimagelinks li a div.minititle p {
    font: normal 10px sans-serif;
    margin: 0;
}
@media only screen and (max-width:330px) {
    ul.smallimagelinks {
        grid-template-columns: 1fr 1fr;
    }
    ul.smallimagelinks li a div.minititle h2 {
        font-size: 10px;
    }
}

#pager {
    margin: 1em 0;
    text-align: center;
}
#pager a {
    background-color: var(--button-bg);
    color: #444;
    color: var(--main-color);
    margin: 3px;
    padding: 0.3em 1em;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    border: solid 2px var(--button-border);
}
#pager a:hover {
    background-color: var(--hover-bg);
    border: solid 2px var(--hover-border);
}
#pager a.now {
    background: #ffa2e8;
    color: #444;
    font-weight: bold;
}
#pager a.now:hover::before {
    border: solid 2px transparent;
}

figure {
    margin: 0px;
    padding: 0px;
    width: 100%;
    max-width: 600px;
}
figcaption {
    font-size: 12px;
    padding: 5px 5px 10px;
    text-align: center;
}

blockquote {
    position:relative;
    margin: 1em;
    border-left:3px solid #66d283;
    background: var(--list-bg);
    color: var(--main-color);
    border-radius: 10px;
}
blockquote p {
    position:relative;
    padding:10px;
    margin: 0;
}
blockquote cite {
    display: block;
    font-size:0.8rem;
    text-align:right;
    padding: 0 10px;
    margin: 0;
}

footer {
    display: block;
    text-align: center;
    position: relative;
    margin: 0;
    padding: 1em 0;
    background-color: var(--titlebox-bg);
}
footer div#footerlinks {
    max-width: 400px;
    margin: 0 auto;
}
footer div#footerlinks a {
    height: 24px;
    margin: 0;
    padding: 6px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    transition: border 0.2s;
    background-color: var(--linkbox-bg);
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}
footer div#footerlinks a:hover {
    border: solid 2px var(--hover-border);
}
footer div#footerlinks .footersns {
    margin: 5px;
    display: flex;
    justify-content: center;
    gap: 5px;
}
footer div#footerlinks .footersns a {
    min-width: 24px;
    flex-grow: 1;
    margin: 0;
    padding: 6px;
    font-size: 16px;
}
footer div#footerlinks .footergrid {
    margin: 5px;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
footer div#footerlinks .footerlong a {
    margin: 0 5px 5px;
}
footer div#footerad {
    max-width: 900px;
    margin: 10px auto;
}
footer p {
    padding: 0.5em 0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 2px 2px #00000040;
}

@media only screen and (max-width:700px) {
    header ul#header_links, header div#header_creativity {
        display: none;
    }

    nav#navigation_menu {
        display: block;
    }

    nav#navigation_menu div#toggle_button {
        display: block;
        position: absolute;
        text-decoration: none;
        top: 14px;
        right: 15px;
        width: 30px;
        height: 30px;
        padding: 0;
        margin: 0;
        transition: all 0.2s ease;
        cursor: pointer;
        z-index: 8;
    }
    nav#navigation_menu div#toggle_button span {
        display: block;
        position: absolute;
        height: 4px;
        width: 30px;
        left: 0px;
        background: var(--main-color);
        transition: 0.35s ease-in-out;
    }
    nav#navigation_menu div#toggle_button span:nth-child(1) {
        top: 0px;
        transform: rotate(0deg);
    }
    nav#navigation_menu div#toggle_button span:nth-child(2) {
        top: 10px;
        transform: rotate(0deg);
    }
    nav#navigation_menu div#toggle_button span:nth-child(3) {
        top: 20px;
        transform: rotate(0deg);
    }

    nav#navigation_menu.toggle_on div#toggle_button span:nth-child(1) {
        top: 10px;
        transform: rotate(315deg);
    }
    nav#navigation_menu.toggle_on div#toggle_button span:nth-child(2) {
        left: 15px;
        width: 0px;
    }
    nav#navigation_menu.toggle_on div#toggle_button span:nth-child(3) {
        top: 10px;
        transform: rotate(-315deg);
    }

    table.largetable {
        font-size: 0.75em;
        line-height: 1.3em;
    }
}

.colord {
    padding: 1em;
}

input[type="button"], input[type="submit"] {
    -webkit-appearance: none;
    position: relative;
    background-color: rgba(240, 240, 240, .8);
    background-color: var(--button-bg);
    color: #444;
    color: var(--main-color);
    border: solid 2px var(--button-border);
    padding: 0.4em 1.8em;
    border-radius: 10px;
    transition: all .1s;
}
input[type="button"]:hover, input[type="submit"]:hover {
    background-color: rgba(235, 235, 235, 0.5);
    border: solid 2px rgb(102,210,131);
}
input[type="button"]:active, input[type="submit"]:active {
    background-color: rgba(75, 75, 75, 0.5);
    border: solid 2px rgba(102,210,131,.5);
}

input[type="number"], input[type="text"], input[type="search"] {
    -webkit-appearance: none;
    position: relative;
    background-color: rgba(240, 240, 240, .8);
    background-color: var(--button-bg);
    color: #444;
    color: var(--main-color);
    border: 2px solid var(--button-border);
    padding: 0.4em;
    border-radius: 10px;
    transition: all .1s;
    font-size: 16px;

}
input[type="number"]:hover, input[type="text"]:hover, input[type="search"]:hover {
    background-color: rgba(235, 235, 235, .5);
    border: solid 2px rgb(102,210,131);
}
input[type="number"]:focus, input[type="text"]:focus, input[type="search"]:focus {
    background-color: rgba(180, 180, 180, .5);
    border: solid 2px rgba(102,210,131,.5);
}
input[type="checkbox"] + label {
    cursor: pointer;
}

select {
    background-color: rgba(240, 240, 240, .8);
    background-color: var(--button-bg);
    color: #444;
    color: var(--main-color);
    border: 2px solid var(--button-border);
    padding: 0.4em;
    border-radius: 10px;
    transition: all .1s;
    font-size: 16px;
}
select:hover {
    background-color: rgba(235, 235, 235, 0.5);
    border: solid 2px var(--button-hover-border);
}
select:focus {
    background-color: rgba(180, 180, 180, .5);
    border: solid 2px rgba(102, 210, 131, .5);
}
select::after {
    content: '';
    display: block;
    padding: 0;
    margin-top: -5px;
    width: 4px;
    height: 4px;
    border: 2px solid;
    border-color: transparent transparent #444 #444;
    border-color: transparent transparent var(--main-color) var(--main-color);
    transform: translate(0, -4px) rotate(-45deg);
    position: absolute;
    top: 50%;
    right: 15px;
}
option {
    background-color: rgba(240, 240, 240, .8);
    color: #444;
}
option:disabled {
    color: #999;
}

a.linkbox {
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
    padding: 0.5em;
    margin: 5px;
    line-height: 1em;
    color: #444;
    color: var(--main-color);
    text-decoration: none;
    background: var(--button-bg);
    border-radius: 10px;
    transition: all .1s;
    border: solid 2px var(--button-border);
}
a.linkbox:hover {
    background-color: var(--hover-bg);
    border: solid 2px var(--hover-border);
}

.pagerbox {
    margin: 1em 0;
}

a.flexlink {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0.4em 0;
    background: rgba(240, 240, 240, .8);
    background: var(--button-bg);
    color: #444;
    color: var(--main-color);
    padding: 0.5em;
    border-radius: 10px;
    transition: all .1s;
    font-weight: bold;
    border: solid 2px var(--button-border);
}
a.flexlink:hover {
    background-color: var(--hover-bg);
    border: solid 2px var(--hover-border);
}
a.flexlink .infoimage {
    margin: 0;
    flex: 0 1 150px;
    min-width: 150px;
}
a.flexlink .infoimage picture {
    padding: 0;
    margin: 0;
    display: block;
}
a.flexlink .infoimage picture img {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 150px;
    min-width: 150px;
    vertical-align: bottom;
    border-radius: 10px;
}
a.flexlink .description {
    margin: 0 0 0 1em;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
a.flexlink .description h2 {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    border: none;
    word-break: break-all;
}
a.flexlink .description h2::after, a.flexlink .description h2::before {
    display: none;
}
a.flexlink .description p {
    font-size: 12px;
    font-weight: normal;
    margin: 0;
    padding: 5px 0 0;
}
a.flexlink.noflex {
    display: block;
}


@media only screen and (max-width:960px) {
    a.flexlink .infoimage {
        flex: 0 1 100px;
        min-width: 100px;
    }
    a.flexlink .infoimage picture img {
        max-width: 100px;
        min-width: 100px;
    }
    a.flexlink .description h2 {
        font-size: 1em;
    }
    a.flexlink .description p {
        font-size: 10px;
    }
}

.listbox {
    padding: 0 0.5em;
    border-style: solid;
    border-width: 2px 0;
    border-color: rgb(255, 127, 255);;
    margin: 0.5em 0;
}

div.gridcards {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 7px;
    justify-content: center;
}

div.gridcards > div {
    display: block;
    padding: 0;
    position: relative;
    background: var(--article-bg);
    border-radius: 10px;
    border: 2px solid var(--box-background);
}

div.gridcards div.gridcards-title {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0.5em;
    align-items: center;
    background: var(--box-background);
    border-radius: 8px 8px 0 0;
}

div.gridcards div.gridcards-title h3 {
    margin: 0 0.5em;
    padding: 0;
}
div.gridcards div.gridcards-title p {
    margin: 0 0.5em;
}

div.gridcards p {
    margin: 0.5em 1em;
}

div.gridcards ul {
    margin: 0.5em 0;
}

div.gridcards div.gridcards-title h3::before, div.gridcards div.gridcards-title h3::after{
    display: none;
}

div.notice {
    color: #444;
    color: var(--main-color);
    background: rgba(240, 240, 240, .8);
    background: var(--button-bg);
    padding: 1em;
    border-radius: 10px;
}

/* ビデオPHP */
.video {
    width: 100%;
    margin: 0;
    padding-bottom: 56.25%;
    height: 0px;
    position: relative;
}

.video iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.video.toggle_on {
    display: none;
}

.video video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ビデオ再生ページ */
#videopage {
    display: flex;
    width: calc(100% - 1em);
    height: auto;
    margin: 0 auto;
    padding: 0.5em;
    justify-content: center;
    background: var(--nav-bg);
    gap: 7px;
}
#videoframe {
    display: block;
    width: auto;
    height: auto;
    max-height: none;
    padding: 0;
    max-width: 1280px;
    flex-grow: 1;
}
#videopage > #videoframe > div.videoplayer {
    flex-grow: 1;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1280px;
    max-height: 720px;
    .video {
        iframe {
            border-radius: 10px;
        }
    }
}
#videopage > #videoframe > div.videodesc {
    position: relative;
    padding: 0 5px 0 0;
    .videodesccenterbox {
        margin: 1rem 0.5rem 1rem;
        padding: 0;
        word-break: break-all;
        a {
            color:var(--main-color);
            text-decoration: none;
            :hover {
                color:#ffa2e8;
            }
        }
    }
}

h2.videopagetitle.All::after {
    background:  var(--headingbg), linear-gradient(90deg, #FF2284, #005EFF, #FFBB00);
    border-color: #FF2284;
}
h2.videopagetitle.Princess::after {
    background: #FF2284  var(--headingbg);
    border-color: #FF2284;
}
h2.videopagetitle.Fairy::after {
    background: #005EFF  var(--headingbg);
    border-color: #005EFF;
}
h2.videopagetitle.Angel::after {
    background: #FFBB00  var(--headingbg);
    border-color: #FFBB00;
}
h2.videopagetitle.Ex::after {
    background: #4DC962  var(--headingbg);
    border-color: #4DC962;
}
h2.videopagetitle::before {
    border-color: #ffcb9a;
}
p.videopagedesc {
    font-size: 0.9rem;
}
a.linkbox.video {
    margin: 0;
    padding: 0.7em 0.5em;
}
a.linkbox.video.vred:hover {
    background-color: var(--red);
}
a.linkbox.video.vgreen:hover {
    background-color: var(--green);
}
a.linkbox.video.vblue:hover {
    background-color: var(--blue);
}

div.flexgrid {
    padding: 0;
    margin: 0;
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 7px;
    justify-content: center;
}

div.desctexts {
    font-size: 0.9rem;
}

ul.bdoinsticons {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.bdoinsticons li {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0.2em 1em;
    padding: 0;
    font-size: 0.8rem;
}
ul.bdoinsticons li img {
    margin: 0 5px 0 0;
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

#videopage > div#nextvideos {
    position: relative;
    flex: 0 0 400px;
    max-width: 400px;
    height: 100%;
    max-height: calc(90vh + 1em);
    padding: 0.5em;
    border-radius: 10px;
    background: var(--article-bg);
    overflow-y: auto;
    overflow-x: hidden;
    ul {
        margin-top: 0.5em;
    }
}

@media only screen and (max-width:1000px) {
    #videopage {
        display: block;
        width: auto;
        height: auto;
        padding: 0;
    }
    #videopage > #videoframe > div.videoplayer {
        display: block;
        padding: 0;
        .video {
            iframe {
                border-radius: 0;
            }
        }
    }
    #videopage > #videoframe > div.videodesc {
        display: block;
        padding: 0.5em;
        .videodesccenterbox {
            margin: 0;
        }
    }
    h1.videopagetitle {
        font-size: 1.2rem;
        margin: 0.5rem 0.5rem 1rem;
    }
    div.flexgrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    ul.bdoinsticons li {
        font-size: 0.8rem;
    }
    ul.bdoinsticons li img {
        margin: 0 3px 0 0;
        width: 20px;
        height: 20px;
    }
    #videopage > div#nextvideos {
        display: block;
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
}
@media only screen and (orientation: landscape) and (max-width:1000px) {
    #videopage > #videoframe > div.videoplayer {
        display: block;
        padding: 0;
        max-height: 280px;
        .video {
            iframe {
                max-height: 280px;
            }
        }
    }
}

/* About */
.infinity_box {
    width: 100%;
    padding: 0;
    margin: -10px 0 0;
    @media only screen and (max-width:700px) {
        margin: -20px 0 0;
    }
    .swiper {
        padding: 0 0 40px;
        @media only screen and (max-width:700px) {
            padding: 0 0 20px;
        }
    }
    .swiper-wrapper {
        transition-timing-function: linear;
        .swiper-slide {
            margin: 0 15px;
            display: block;
            width: 400px !important;
            height: 225px;
            @media only screen and (max-width:700px) {
                margin: 0 10px;
                width: 160px !important;
                height: 90px;
            }
            img {
                width: 400px;
                height: 225px;
                object-fit: cover;
                pointer-events: none;
                border: 10px solid var(--main-color);
                @media only screen and (max-width:700px) {
                    border: 5px solid var(--main-color);
                    width: 160px;
                    height: 90px;
                }
            }
        }
    }
}

#profile_box {
    background-image:repeating-linear-gradient(0deg, transparent 0px 14px, #ffffff10 14px 16px, transparent 16px 50px), repeating-linear-gradient(60deg, #ffffff10 0px 2px, transparent 2px 50px), repeating-linear-gradient(120deg, #ffffff10 0px 2px, transparent 2px 50px), linear-gradient(-60deg, #ed90ba 49.95%, #ed90ba40 50.05% 0);
    .profile_grid {
        padding: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 1280px;
        height: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        aspect-ratio: 16 / 9;
    }
    .profile_texts {
        grid-column: 1 / 3;
        margin: 0;
        padding: 1em;
        font-size: clamp(16px, 2vw, 24px);
        font-weight: bold;
    }
    .profile_texts h2::after, .profile_texts h2::before {
        all: initial;
    }
    .profile_texts h2 {
        margin: 0;
        padding: 0;
        font-size: clamp(48px, 5vw, 72px);
    }
    .profile_texts p.roma {
        margin: 0;
        padding: 0;
        font-size: clamp(10px, 1vw, 16px);
    }
    p.profile_texts_data {
        margin: 0;
        padding: .5em;
    }
    p.profile_texts_mid {
        border-bottom: 1px solid #999;
    }
    .profile_visual {
        grid-column: 3 / 5;
        height: 100%;
        text-align: center;
        pointer-events: none;
    }
    .designroma {
        position: absolute;
        top: 44%;
        right: 0;
        color: #0000;
        white-space: nowrap;
        font-size: clamp(50px,9vw,140px);
        font-family: Arial;
        font-weight: bold;
        translate: 40% -100%;
        transform: scaleX(.65);
        rotate: 90deg;
        -webkit-text-stroke: 2px #fff8;
        text-stroke: 2px #fffa;
        pointer-events: none;
    }
    .profile_visual_bg {
        position: absolute;
        top: 0;
        right: 0;
        opacity: .2;
        width: auto;
        height: 100%;
        max-width: none;
        pointer-events: none;
    }
    .profile_visual_main {
        position: relative;
        margin: 0 auto;
        padding: 0;
        height: 100%;
        aspect-ratio: 3 / 4;
        max-width: none;
        filter: drop-shadow(5px 5px 0 #c00056);
    }
}

@media only screen and (max-width:700px) {
    #profile_box {
        background-image:repeating-linear-gradient(0deg, transparent 0px 14px, #ffffff10 14px 16px, transparent 16px 50px), repeating-linear-gradient(60deg, #ffffff10 0px 2px, transparent 2px 50px), repeating-linear-gradient(120deg, #ffffff10 0px 2px, transparent 2px 50px), linear-gradient(-20deg, #ed90ba 49.95%, #ed90ba40 50.05% 0);
        .profile_grid {
            height: auto;
            display: block;
            max-width: none;
            max-height: none;
        }
        .profile_texts {
            font-size: 1em;
            text-align: center;
        }
        .profile_texts h2 {
            font-size: 2em;
        }
        .profile_texts p.roma {
            font-size: .8em;
        }
        .profile_visual {
            aspect-ratio: initial;
            height: auto;
        }
        .profile_visual_main {
            height: auto;
            aspect-ratio: 3 / 4;
        }
        .profile_visual_bg {
            top: initial;
            bottom: 0;
            width: 150%;
            height: auto;
        }
        .designroma {
            top: initial;
            bottom: 10%;
        }
    }
}

/* Creativity */
ul#creativitys {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    gap: 5px;
}
ul#creativitys li {
    padding: 0;
    display: block;
}
ul#creativitys li a {
    position: relative;
    display: flex;
    padding: 0;
    text-decoration: none;
    margin: 0;
    transition: all .1s;
    border-radius: 10px;
    align-items: flex-end;
    flex-wrap: nowrap;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border: solid 4px var(--button-border);
    &.c_red {
        border: solid 4px #ee6470;
    }
    &.c_orange {
        border: solid 4px #eb9c67;
    }
    &.c_yellow {
        border: solid 4px #d2e716;
    }
    &.c_green {
        border: solid 4px #3aa53a;
    }
    &.c_lime {
        border: solid 4px #62dfa0;
    }
    &.c_sky {
        border: solid 4px #70b8eb;
    }
    &.c_blue {
        border: solid 4px #6679e9;
    }
    &.c_pink {
        border: solid 4px #ee7ad1;
    }
    &.c_normal {
        border: solid 4px var(--button-border);
    }
}
ul#creativitys li a:hover {
    border: solid 4px var(--hover-border);
}
ul#creativitys li a picture {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0;
    margin: 0;
    text-align: center;
    border-radius: 6px;
}
ul#creativitys li a picture img {
    vertical-align: bottom;
    border-radius: 6px;
    object-fit: cover;
}
ul#creativitys li a div.description {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    bottom: 0;
    padding: 1em;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
    color: #fff;
    z-index: 5;
    border-radius: 6px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: all .2s;
    opacity: 0;
}
ul#creativitys li a div.description h2 {
    display: block;
    font: bold 16px sans-serif;
    border: none;
    margin: 0;
    padding: 0;
    &::after, &::before {
        display: none;
    }
}
ul#creativitys li a div.description span {
    width: 100%;
    font: normal 8px sans-serif;
    text-align: left;
    margin: 0;
}
ul#creativitys li a:hover div.description {
    opacity: 1;
}

div.creativity {
    flex-direction: row !important;
}
div.creativity div#inboxindex{
    flex: 0 0 300px;
    text-align: center;
}
div.creativity div#inboxindex img {
    border-radius: 10px;
}
div.creativity div#inboxmain {
    margin: 0 2em;
}
div.creativity div#inboxmain h2:first-child {
    margin: 0 10px;
}
div.creativity div#inboxmain p {
    margin: 1.5em 10px;
}
div.creativity div#inboxmain p#creativity_tag {
    margin: 10px 10px 2em;
    font-weight: bold;
    text-align: right;
}
div.creativity .linkbox{
    margin: 2em 10px;
    padding: 1em;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
}
@media only screen and (max-width:900px) {
    div.creativity div#inboxmain h2:first-child {
        margin: 1em 10px 0;
    }
    ul#creativitys li a div.description {
        display: none;
    }
    div.creativity div#inboxindex img {
        max-width: 300px;
    }
    div.creativity div#inboxmain {
        margin: 0;
    }
}

/* MillionLiveVideos */
div.mlglist {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 5px;
}
div.mlglist figure {
    display: flex;
    background: var(--article-bg);
    margin: 0;
    padding: 0;
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    flex: 1 1 300px;
    position: relative;
}
div.mlglist a {
    position: relative;
    text-decoration: none;
    color: var(--main-color);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
div.mlglist a:hover {
    opacity: .8;
}
div.mlglist figure.all {
    background: linear-gradient(0deg, transparent 0px 2px, var(--article-bg) 2px 100%),
                linear-gradient(to right, #ffd1ff 0%,#d1e8ff 50%,#fffad1 100%);
}
div.mlglist figure.princess {
    background: linear-gradient(0deg, #ffd1ff 0px 2px, var(--article-bg) 2px 100%);
}
div.mlglist figure.fairy {
    background: linear-gradient(0deg, #d1e8ff 0px 2px, var(--article-bg) 2px 100%);
}
div.mlglist figure.angel {
    background: linear-gradient(0deg, #fffad1 0px 2px, var(--article-bg) 2px 100%);
}
div.mlglist figure.ex {
    background: linear-gradient(0deg, #d6ffd6 0px 2px, var(--article-bg) 2px 100%);
}
div.mlglist figure figcaption {
    font-size: 12px;
    font-weight: bold;
    flex-grow: 1;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}
div.mlglist img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}
div.mlglist figure a::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: solid 2px transparent;
    transition: border 0.2s;
    border-radius: 10px;
}
div.mlglist figure a:hover::before {
    border: solid 2px var(--hover-border);
}
@media only screen and (max-width:640px) {
    div.mlglist {
        gap: 5px;
    }
    div.mlglist figure {
        max-width: 150px;
        flex: 1 1 150px;
    }
    div.mlglist figure figcaption {
        font-size: 10px;
    }
}

/* BlackDesertCalc 統合デザイン */
.bdocalc ul {
    list-style-type: none;
    padding: 0;
}
.bdocalc ul li:before {
    font-family: var(--noemojifont);
    width: 38px;
    font-size: 14px;
    font-weight: bold;
    color: #151515;
    text-align: center;
    border-radius: 10px;
    margin-right: 5px;
    display: inline-block;
    @media only screen and (max-width:600px) {
        font-size: 12px;
    }
}
.bdocalc ul li.shop:before {
    content: "購入";
    background-color: rgb(255, 207, 34);
}
.bdocalc ul li.cook:before {
    content: "料理";
    background-color: rgb(255, 149, 100);
}
.bdocalc ul li.alk:before {
    content: "錬金";
    background-color: rgb(219, 100, 255);
}
.bdocalc ul li.processing:before {
    content: "加工";
    background-color: rgb(107, 193, 255);
}
.bdocalc ul li.crafting:before {
    content: "製作";
    background-color: rgb(184, 113, 142);
}
.bdocalc ul li.get:before {
    content: "採集";
    background-color: rgb(89, 236, 87);
}
.bdocalc ul li a {
    color: var(--main-color);
    text-decoration: underline dotted;
}
.bdocalc ul > li > input {
    width: 100px;
}

.bdocalclist {
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
    position: relative;
}
.bdocalclist.popout {
    margin: 0 10px;
    max-width: none;
}
#bdocalc_list {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10;
}
#bdocalc_list.toggle_on {
    display: block;
}
#bdocalc_list > #bdocalc_list_box {
    display: flex;
    position: fixed;
    inset: 3em 1em;
    padding: 10px;
    background-color : var(--article-bg);
    border: 2px solid var(--button-border);
    border-radius: 10px;
    flex-direction: column;
    z-index: 10;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_control {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    i {
        font-size: 36px;
        cursor: pointer;
    }
    i:hover {
        color: var(--button-hover-border);
    }
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects {
    height: 90%;
    flex: 1;
    overscroll-behavior-y: contain;
    overflow-y: auto;
    background-color: var(--list-bg);
    border-radius: 10px;
    h3 {
        margin: 1em 10px;
    }
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects > .bdocalc_list_itembox {
    display: grid;
    grid-template-columns: repeat(auto-fill,  minmax(280px, 1fr));
    gap: 5px;
    padding: 0 5px;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects > .bdocalc_list_itembox > input[type="radio"] {
    display: none;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects > .bdocalc_list_itembox > label.bdocalc_item {
    margin: 0;
    padding: 5px;
    gap: 5px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color : var(--button-bg);
    border: 2px solid var(--button-border);
    border-radius: 10px;
    transition: all .1s;
    cursor: pointer;
    img {
        width: auto;
        max-height: 44px;
        border-radius: 10px;
        background-color: #000;
    }
    span {
        h4 {
            font-size: 16px;
            margin: 0;
            padding: 0;
        }
        h4::before {
            display: none;
        }
        p {
            font-size: 10px;
            margin: 0;
            padding: 0;
        }
    }
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects > .bdocalc_list_itembox > label.bdocalc_item:hover {
    background-color : var(--button-hover-bg);
    border: 2px solid var(--button-hover-border);
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects > .bdocalc_list_itembox > input:checked + label.bdocalc_item {
    background-color : var(--button-checked-bg);
    border: 2px solid var(--button-hover-border);
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects.eff_off > .bdocalc_list_itembox > .bdocalc_item > span > p {
    display: none;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects > .bdocalc_list_itembox > .bdocalc_item > span.alcdescnormal {
    display: none;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects.hi_off > .bdocalc_list_itembox > .bdocalc_item > span.alcdescnormal {
    display: block;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects.hi_off > .bdocalc_list_itembox > .bdocalc_item > span.alcdeschigher {
    display: none;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects.comp_on > .bdocalc_list_itembox {
    grid-template-columns: repeat(auto-fill,  minmax(54px, 1fr));
    align-items: start;
}
#bdocalc_list > #bdocalc_list_box > #bdocalc_list_selects.comp_on > .bdocalc_list_itembox > .bdocalc_item {
    flex-wrap: wrap;
    span {
        h4 {
            font-size: 10px;
        }
        p {
            display: none;
        }
    }
}
#bdocalc_list > .bdocalc_list_background {
    background-color : var(--nav-backdrop);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 9;
    position: fixed;
    inset: 0;
    overflow: auto;
    transform: translateZ(0);
}
.bdocalclist #bdocalc_recipes_titlebox {
    margin: 0;
    padding: 5px;
    position: sticky;
    top: 51px;
    z-index: 3;
}
.bdocalclist.popout #bdocalc_recipes_titlebox {
    top: 0;
}
.bdocalclist #bdocalc_recipes_titlebox #bdocalc_recipes_title {
    margin: 0;
    padding: 5px;
    display: flex;
    position: relative;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    background-color : var(--button-bg);
    border: 2px solid var(--button-border);
    border-radius: 10px;
    transition: all .1s;
    cursor: pointer;
    box-shadow: 0 0 20px var(--article-bg);
    i {
        font-size: 24px;
    }
    img {
        width: auto;
        max-height: 44px;
        border-radius: 10px;
        background-color: #000;
    }
    h4 {
        font-size: 16px;
        margin: 0;
        padding: 0;
    }
    h4::before {
        display: none;
    }
}
.bdocalclist #bdocalc_recipes_titlebox #bdocalc_recipes_title:hover {
    background-color : var(--button-hover-bg);
    border: 2px solid var(--button-hover-border);
}
#bdocalc_recipes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: start;
    padding: 5px;
    gap: 5px;
}
#bdocalc_recipes a {
    color: var(--main-color);
    text-decoration: underline dotted;
    cursor: pointer;
}
#bdocalc_recipes_desc, #bdocalc_recipes_maincalc {
    margin: 0;
    padding: 0;
    position: relative;
    background-color : var(--article-bg);
    border: 2px solid var(--box-background);
    border-radius: 10px;
    h3 {
        padding: 0.30em 10px 0.45em;
        margin: 0;
        background-color: var(--box-background);
        height: 39px;
        display: flex;
        flex-wrap: nowrap;
        gap:5px;
        align-items: center;
        i {
            margin-left: auto;
            font-size: 24px;
            cursor: pointer;
            width: 44px;
            height: 44px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--button-bg);
            border-radius: 10px;
        }
        i:hover {
            color: var(--button-hover-border);
            background-color: var(--button-hover-bg);
        }
    }
    h3::before, h3::after {
        display: none;
    }
    p {
        margin: 1em;
        font-size: 14px;
    }
    > ul > li > .anotherItem {
        display: none;
    }
}
#bdocalc_recipes_maincalc.another > ul > li {
    > .normalItem {
        display: none;
    }
    > .anotherItem {
        display: block;
    }
}
#bdocalc_recipes_desc {
    align-self: stretch;
}
#bdocalc_recipes ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#bdocalc_recipes ul > li {
    display: grid;
    grid-template-columns: 38px 3fr 1fr;
    padding: 0 5px;
    align-items: center;
    gap: 5px;
    @media only screen and (max-width:600px) {
        font-size: 14px;
    }
    label {
        padding: 1em 0;
    }
}
#bdocalc_recipes ul > li:nth-child(even) {
    background-color: var(--list-bg);
}
#bdocalc_recipes ul > li:last-child {
    background-color: var(--box-background);
}
#bdocalc_recipes ul > li:before {
    font-family: var(--noemojifont);
    width: 38px;
    font-size: 14px;
    font-weight: bold;
    color: #151515;
    text-align: center;
    border-radius: 10px;
    @media only screen and (max-width:600px) {
        font-size: 12px;
    }
}
#bdocalc_recipes ul > li.shop:before {
    content: "購入";
    background-color: rgb(255, 207, 34);
}
#bdocalc_recipes ul > li.cook:before {
    content: "料理";
    background-color: rgb(255, 149, 100);
}
#bdocalc_recipes ul > li.alc:before {
    content: "錬金";
    background-color: rgb(219, 100, 255);
}
#bdocalc_recipes ul > li.processing:before {
    content: "加工";
    background-color: rgb(107, 193, 255);
}
#bdocalc_recipes ul > li.crafting:before {
    content: "製作";
    background-color: rgb(184, 113, 142);
}
#bdocalc_recipes ul > li.get:before {
    content: "採集";
    background-color: rgb(89, 236, 87);
}
#bdocalc_recipes ul > li:last-child:before {
    content: "";
    width: 0;
}
#bdocalc_recipes ul > li > input {
    width: 100px;
}
#bdocalc_recipes > .bdocalc_recipes_adds_item {
    margin: 0;
    padding: 0;
    position: relative;
    background-color : var(--article-bg);
    border: 2px solid var(--box-background);
    border-radius: 10px;
    h3 {
        margin: 0;
    }
    h3::before, h3::after {
        display: none;
    }
    p {
        margin: 1em;
        font-size: 14px;
    }
    .anotherItem {
        display: none;
    }
}
#bdocalc_recipes > .bdocalc_recipes_adds_item > .bdocalc_recipes_adds_title {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 0px 5px 5px;
    align-items: center;
    background-color: var(--box-background);
    margin: 0;
    img {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        margin-top: 3px;
        background-color: #000;
    }
    i {
        margin-left: auto;
        font-size: 24px;
        cursor: pointer;
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--button-bg);
        border-radius: 10px;
    }
    i:hover {
        color: var(--button-hover-border);
        background-color: var(--button-hover-bg);
    }
}
#bdocalc_recipes > .bdocalc_recipes_adds_item.another > ul > li {
    > .normalItem {
        display: none;
    }
    > .anotherItem {
        display: block;
    }
}
/* ad */
.ad {padding:0.2em 0;}
.adl {padding:0;}
#vdbanner {
    margin:0 auto 10px;
    text-align:center;
    max-width:468px;
    padding: 10px
}
#vdbanner img {
    max-width: 100%;
    vertical-align: bottom;
    height: auto;
    padding-top: 0.5em;
}
@media only screen and (max-width:1000px) {
    #vdbanner img {
        padding-top: 0;
    }
}

#slim-adbox {
    background: var(--article-bg);
    margin: 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
}
