@charset "UTF-8";
html{
    font-family: 'Zen Kaku Gothic New',sans-serif;
    margin:0;
    padding:0;
}
body{
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}
body::before{
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 115vh;
    background-image: url("img/assets/background.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
}
.main{
    background-color: rgba(255, 255, 255, 0.5);
    width: 97%;
    max-width: 1300px;
    margin: 50px auto 50px auto;
    padding: min(3vw,30px);
    flex: 1;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
header{
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    margin: 0;
    padding: 5px 0 5px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    height: 55px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
}
.title{
    display: inline-block;
    height: 100%;
    padding: 0 0 0 3vw;
}
.title a{
    text-decoration: none;
    font-size: 40px;
    font-family: 'Pinyon Script', cursive;
    color: black;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px 0 12px;
    transition: 0.3s;
    box-sizing: border-box;
    overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
    .title a:hover{
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 5px;
    }
}
.hlink{
    display: inline-block;
    margin: 0;
    list-style-type: none;
    padding: 0 3% 0 0;
    height: 100%;
}
.hlink li{
    height: 100%;
    margin: 0;
    padding: 0;
    float: left;
}
.hlink li a{
    text-decoration: none;
    font-size: 20px;
    font-family: 'Kaisei Opti', serif;
    color: black;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px 2px 12px;
    transition: 0.3s;
    box-sizing: border-box;
}
@media (hover: hover) and (pointer: fine) {
    .hlink li a:hover{
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 5px;
    }
}
footer{
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    text-align: center;
    padding: 10px 0 10px 0;
    width: 100%;
    box-shadow: 0 -5px 10px 0 rgba(0, 0, 0, 0.15);
}
img.emoji {
    height: 1.3em;
    width: 1.3em;
    margin: 0 0.12em 0 0.12em;
    vertical-align: -0.3em;
}
.wbreak{
    word-break: break-all;
}
.ilbox{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: min(2vw,20px);
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0 0 0;
    display: flex;
}
.ilimgbox::before{
    content: "";
    display: block;
    padding-top: 100%;
}
.ilimgbox{
    position: relative;
    width: 50%;
}
.ilimg{
    width: 100%;
    height: 100%;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0;
}
.ilimg img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    margin: 0;
    padding: 0;
}
@media (hover: hover) and (pointer: fine) {
    .ilimg img:hover{
        opacity: 0.8;
        background-color: rgba(255, 255, 255, 0.6);
    }
}
.ildescription{
    display: inline-block;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
}
.dcbox{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: min(2vw,20px);
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0 0 0;
    display: flex;
}
.dcimgbox::before{
    content: "";
    display: block;
    padding-top: 100%;
}
.dcimgbox{
    position: relative;
    width: 100%;
    height: auto;
    margin: auto 0;
}
div:has(>div.dcimgbox){
    display: flex;
    justify-content: center;
    width: 30%;
}
.dcimg{
    width: 100%;
    height: 100%;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0;
}
.dcimg img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    margin: 0;
    padding: 0;
}
@media (hover: hover) and (pointer: fine) {
    .dcimg img:hover{
        opacity: 0.8;
        background-color: rgba(255, 255, 255, 0.6);
    }
}
.ilkomi{
    font-size: 25px;
    margin: 0 0 10px 0;
}
.dcdescription{
    display: inline-block;
    padding: 20px;
    width: 70%;
    box-sizing: border-box;
}
.dckomi{
    font-size: 25px;
    margin: 40px 0 20px 0;
}
.dctitle{
    font-size: 20px;
    margin: 0 0 20px 0;
}
.dcbimgbox{
    width: 30%;
    position: relative;
    font-size: 0;
}
.dcbcoverbox::before{
    content: "";
    display: block;
    padding-top: 100%;
}
.dcbcoverbox{
    position: relative;
    width: 100%;
    margin: 0 0 2% 0;
}
.dcbcover{
    width: 100%;
    height: 100%;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0;
}
.dcbcover img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    margin: 0;
    padding: 0;
}
.dcbpage{
    width: 24%;
    display: inline-block;
    margin: 0.5%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    padding: 0;
}
.dcbpage img{
    width: 100%;
    display: inline-block;
    margin: 0;
    padding: 0;
    transition: 0.3s;
}
@media (hover: hover) and (pointer: fine) {
    .dcbcover img:hover, .dcbpage img:hover{
        opacity: 0.8;
        background-color: rgba(255, 255, 255, 0.6);
    }
}
.head{
    margin: calc(min(3vw,30px) * -1) calc(min(3vw,30px) * -1) 0;
    width: calc((min(3vw,30px) * 2) + 100%);
}
.linkbox{
    display: flex;
    flex-wrap: wrap;
}
.biglink{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 5px 1% 15px 1%;
    display: flex;
    width: 48%;
    box-sizing: border-box;
    transition: 0.3s;
}
a.biglink{
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    .biglink:hover{
        opacity: 0.8;
        background-color: rgba(255, 255, 255, 0.6);
    }
}
.biglinkicobox::before{
    content: "";
    display: block;
    padding-top: 100%;
}
.biglinkicobox{
    position: relative;
    width: 100px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin: auto 0;
    height: auto;
}
.biglinkico{
    width: 60%;
    height: 60%;
    display: inline-block;
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 20% 20%;
    opacity: 0.8;
}
.biglinkico img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    transition: 0.3s;
    margin: 0;
    padding: 0;
}
.biglinktext{
    display: inline-block;
    text-decoration: none;
    color:black;
    margin: 0 0 0 min(2vw,20px);
    padding: min(0.5vw,5px);
    box-sizing: border-box;
    flex: 1;
}
.biglinktexttitle{
    font-size: 21px;
}
.biglinkicowr{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10%;
}
.preline{
    white-space: pre-line;
}

@media (prefers-color-scheme: dark) {
    body {
        color: rgb(255, 255, 255);
        background-color: black;
    }
    body::before{
        background-color: rgb(0, 0, 0);
        background-image: url("img/assets/background_dark.jpg");
    }
    a {
        color: rgb(203, 245, 255);
    }
    .main{
        background-color: rgba(0, 0, 0, 0.5);
    }
    header{
        background-color: rgba(0, 0, 0, 0.5);
    }
    .title a{
        color: white;
    }
    .title a:hover{
        background-color: rgba(255, 255, 255, 0.2);
    }
    footer{
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
    }
    .hlink li a{
        color: white;
    }
    .hlink li a:hover{
        background-color: rgba(255, 255, 255, 0.2);
    }
    .ilbox{
        background-color: rgba(255, 255, 255, 0.07);
    }
    .ilimg img{
        background-color: rgba(255, 255, 255, 0.07);
    }
    .ilimg img:hover{
        background-color: rgba(255, 255, 255, 0.04);
    }
    .dcbox{
        background-color: rgba(255, 255, 255, 0.07);
    }
    .dcimg img, .dcbcover img, .dcbpage img{
        background-color: rgba(255, 255, 255, 0.07);
    }
    .dcimg img:hover, .dcbcover img:hover, .dcbpage img:hover{
        background-color: rgba(255, 255, 255, 0.04);
    }
    .biglink{
        background-color: rgba(255, 255, 255, 0.07);
    }
    .biglinkicobox{
        background-color: rgba(255, 255, 255, 0.07);
    }
    .biglink:hover{
        background-color: rgba(255, 255, 255, 0.04);
    }
    .biglinktext{
        color: white;
    }
  }

@media screen and (max-width:700px){
    header{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        flex-flow: column;
        height: 90px;
    }
    .title{
        height: 45px;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    .title a{
        height: 100%;
        padding: 10px 0 0 0;
        margin: 0 auto 0 auto;
        width: min(80%,300px);
        font-size: min(13vw,40px);
    }
    .hlink{
        margin: 0;
        padding: 0;
        height: 35px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hlink li a{
        font-size: min(6.7vw,19px);
        padding: 0 min(1.5vw,12px) 2px min(1.5vw,12px);
    }
    .ilbox{
        flex-flow: column;
    }
    .ilimgbox{
        width: 100%;
    }
    .ildescription{
        width: 100%;
        box-sizing: border-box;
    }
    .dcbox{
        flex-flow: column;
    }
    div:has(>div.dcimgbox){
        width: 100%;
    }
    .dcbimgbox{
        width: 100%;
    }
    .dcdescription{
        width: 100%;
        box-sizing: border-box;
    }
    .biglink{
        width: 98%;
    }
    .biglinkicobox{
        width: min(17vw,70px);
    }
  }