@import url("common.css");

@font-face{
    font-family: "RocknRollOne";
    src: url(../fonts/RocknRollOne-Regular.ttf);
}
:root{
    --text-color1: #FFFFFF;
    --text-color2: #e9baa7;
    --back-color1: #181818;
    --back-color2: #303030;
    --back-color3: #472f29;
    --line-color: #f6dfd5;
    --shadow-color: #e9bba9B0;
}
body{
    color: var(--text-color1);
    background-color: var(--back-color1);
    font-size: 20px;
}
h2 {
    font-family: RocknRollOne;
    font-weight: normal;
    font-size: 2.2vh;
    position: relative;
    padding: 18px 24px;
    background-color: var(--back-color3);
    border: solid 1px var(--line-color);
    box-shadow: 0px 0px 6px var(--shadow-color), inset 0px 0px 6px var(--shadow-color);
}
h3{
    font-family: RocknRollOne;
    font-weight: normal;
    font-size: 1.8vh;
    margin: 16px 0px;
    padding: 4px 12px;
    background-color: var(--back-color3);
    border: solid 1px var(--line-color);
    box-shadow: 0px 0px 6px var(--shadow-color), inset 0px 0px 6px var(--shadow-color);
}
@media screen and (max-width: 780px){
    h2 {
        font-size: 28px;
    }
    h3{
        font-size: 24px;
    }
}
.header{
    font-family: RocknRollOne;
    font-size: 20px;
    height: 60px;
    margin-bottom: 20px;
    background-color: var(--back-color2);
    border-bottom: solid 1px var(--line-color);
    box-shadow: 0px 0px 16px var(--shadow-color);
}
.header ul{
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.header-mobile{
    display: none;
    font-family: RocknRollOne;
    font-size: 20px;
    height: 60px;
    margin-bottom: 20px;
    padding-left: 0px;
    padding-right: 0px;
    background-color: var(--back-color2);
    border-bottom: solid 1px var(--line-color);
    box-shadow: 0px 0px 12px var(--shadow-color);
}
.header-mobile input{
    display: none;
}
.header a{
    font-weight: normal;
}
.header a:hover{
    color: var(--line-color);
}
.header-mobile nav{
    position: absolute;
    overflow: hidden;
    top: 60px;
    z-index: 999;
    width: 100%;
    height: 0px;
    background-color: var(--back-color1);
    transition: 0.5s;
}
.header-mobile nav ul{
    width: 100%;
}
.header-mobile nav a{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-weight: bold;
    color: var(--text-color1);
    background-color: var(--back-color2);
    border-bottom: solid 1px var(--text-color2);
}
#check-h:checked + nav{
    height: 200px;
}
@media screen and (max-width: 780px){
    .header{
        display: none;
    }
    .header-mobile{
        display: flex;
    }
    .header-menu{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 10px;
    }
}
.footer{
    font-family: sans-serif;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--text-color2);
    background-color: var(--back-color2);
    border-top: solid 1px var(--line-color);
    box-shadow: 0px 0px 12px var(--shadow-color);
}
.footer p{
    font-weight: bold;
}
.footer a{
    font-size: 12px;
    margin: 4px 0px;
    color: var(--text-color1);
}
.footer a:hover{
    text-decoration: underline;
}
.footer-mobile{
    font-family: sans-serif;
    margin-top: 40px;
    padding-bottom: 20px;
    font-size: 18px;
    color: var(--text-color1);
    background-color: var(--back-color2);
    box-shadow: 0px 0px 12px var(--shadow-color);
    display: none;
}
.footer-mobile input{
    display: none;
}
.footer-mobile label{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    background-color: var(--back-color2);
    border-top: solid 1px var(--text-color1);
}
.footer-mobile label p{
    margin-left: 10px;
    padding-left: 10px;
    font-weight: bold;
    border-left: double 14px var(--text-color1);
}
.footer-mobile a{
    color: var(--text-color1);
}
.footer-mobile nav{
    height: 0px;
    overflow: hidden;
    transition: 0.5s;
}
.footer-mobile nav ul{
    width: 100%;
}
.footer-mobile nav a{
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0px 20px;
    color: var(--text-color1);
    background-color: var(--back-color1);
}
#check-f0:checked + nav{
    height: 40px;
}
#check-f1:checked + nav{
    height: 40px;
}
#check-f2:checked + nav{
    height: 120px;
}
#check-f3:checked + nav{
    height: 40px;
}
@media screen and (max-width: 780px){
    .footer{
        display: none;
    }
    .footer-mobile{
        display: flex;
    }
}
hr.line{
    width: 100%;
    height: 1px;
    background-color: var(--line-color);
    border: 0px solid transparent;
    box-shadow: 0px 0px 8px var(--shadow-color);
}
.contents-list{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
}
.icon-button{
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--back-color3);
    border: solid 1px var(--line-color);
    box-shadow: 0px 0px 8px var(--shadow-color);
}
.icon-button > div{
    width: 100%;
    flex-direction: column;
}
.icon-button > div > img{
    width: 100%;
    height: calc(var(--vh, 1vh) * 32);
    background-color: var(--back-color1);
}
.icon-button > div > h4{
    width: 96%;
    margin: calc(var(--vh, 1vh) * 0.6) 2%;
    font-size: 1.8vh;
    font-weight: bold;
}
.icon-button > div > p{
    width: 96%;
    margin: 0px 2%;
    font-size: 1.2vh;
}
.icon-button > div:last-child > p{
    margin: calc(var(--vh, 1vh) * 0.2) 2%;
    color: var(--text-color2);
}
@media screen and (max-width: 780px){
    .icon-button > div > h4{
        font-size: 24px;
    }
    .icon-button > div > p{
        font-size: 20px;
    }
}