@charset "utf-8";

*,
*:before,
*:after {
    box-sizing: border-box;
}

body{
    font-family: 'Crimson Text', serif;
    color: black;
}


img {
    max-width: 100%;
    vertical-align: bottom;
}


a {
    text-decoration: none;
}

/*  */

.wrapper{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 4%;
}

.bg-bg{
    background-color: #fff;;
    min-height: 100vh;

}

/* 共通 header */

.header-wrapper{
    padding: 30px 10px 30px 0;
    max-width: 600px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 10px;
}

/*メディアクエリー*/
@media (max-width: 800px){
    .wrapper{
        max-width: 500px; 

    }

    .header-wrapper{
        max-width: 450px; 
}
}

@media (max-width: 360px){
    .wrapper{
        max-width: ;width: 360px;

    }

    .header-wrapper{
        max-width: 300px; 
        padding: 30px 0;
    }
}



/*---------ハンバーガーボタン--------------*/
.menu-btn {
    width: 50px;
    height: 50px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.menu-btn:focus {
    outline: none;

}


.menu-btn span {
    background: black;
    display: block;
    width: 100%;
    height: 5px;
}


.close span{
    color: #fff;
}

.close span:first-child {
    transform: rotate(45deg) translate(4px, -5px);
    transform-origin: left top;
}

.close span:nth-child(2)  {
    transform: rotate(-45deg) translate(7px, -7px);
}

.close span:last-child {
    display: none;
}

/*-------------------------------*/

#gnavi {
    display: none;
    text-align: right;
}

#gnavi.open {

    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background:rgba(0,0,0,.9);
    z-index: 100;
}

.gnav__wrap{
    align-items:center;
    display: flex;
    height: 100%;
    justify-content: center;
    position: absolute;
    width: 100%;

    min-width: 100vh;
    min-height: 100vh;

    
}


.gnavi__list {
    list-style-type: none;
    padding-top: 100px;

}


.gnavi__link {
    padding: .8em 0px .8em 1em;
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-size: 2rem;
}


.gnavi__link:hover,
.close:hover{
    opacity: .5;
}

.close{
    width: 50px;
    margin-top: 50px;
    margin-right: 100px;
    cursor: pointer;
    
}

/**/

.header-logo a{
    color: black;
    font-style: italic;
    font-kerning: normal;
    font-size: 2rem;
}

.header-logo a:hover{
    opacity: .5;;
}

.header-logo-0{
    visibility: hidden;
}

/* 共通 footer */

footer {
    text-align: center;
    padding-bottom: 50px;
}

/*メディアクエリー*/
@media (max-width: 800px){
    .header-logo a{
        padding: 20px;
    }
}


/* home */
#home{
background-image: url(../img/pc_bg_20%.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    min-height: 100vh;

}

.home-wrapper{
    text-align: center;
    padding: 35% 0 30%;
}

.main-logo{
    font-size: 5rem;
    margin-bottom: 10px;
    font-weight:600;
    font-style: italic;
    font-kerning: none;

}

.enter-logo a{
    color: black;
    padding: 2px 0;
    border: 2px solid black;
    font-size: 2rem;
    width: 150px;
    display: block;
    margin: 0 auto;
    font-style: italic;
    font-kerning: normal;
}

.enter-logo a:hover{
    background-color: black;
    color: #fff;
}

/*メディアクエリー*/
@media (max-width: 800px){
    .home-wrapper{
        padding: 50% 0;
    }
    
    
    .main-logo{
        font-size: 3.5rem;
    }
    .enter-logo a{
        font-size: 1.5rem;
        width: 120px;
    }
}
    

/* select */

.select-wrapper{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 10px;
    max-width: 600px;
    margin:0 auto 80px;
    text-align: center;
    padding: 20px;
}

.select-wrapper h2{
    padding: 20px; 
}

.select-wrapper h2 a{
    font-size: 3rem;
    color: black;
}

/*メディアクエリー*/
@media (max-width: 800px){
    .select-wrapper{
        width: 450px;
    }
    .select-wrapper h2 a{
        font-size: 2.5rem;
    }
    .select-wrapper h2{
        padding: 10px; 
    }
  
}
    
@media (max-width: 360px){
    .select-wrapper{
        width: 340px;
    }
    .select-wrapper h2 a{
        font-size: 2rem;
    }
    .select-wrapper h2{
        padding: 5px; 
    }

}

.aaa a:hover{
    color: blueviolet;
}

.bbb a:hover{
    color: coral;
}

.ccc a:hover{
color: dodgerblue;
}

.ddd a:hover{
    color: chartreuse;
}

.eee a:hover{
color: crimson;
}

.fff a:hover{
color: fuchsia;
}

.ggg a:hover{
color: gold;
}

.hhh a:hover{
color: mediumspringgreen;
}

.iii a:hover{
color: aqua;
}

.jjj a:hover{
color: tomato;
}

.kkk a:hover{
color: navajowhite;
}

.lll a:hover{
    color: mediumpurple;
}

.mmm a:hover{
    color: mediumblue;
}

.nnn a:hover{
    color: hotpink;
}

.ooo a:hover{
    color: orange;
}

.ppp a:hover{
    color: palegreen;
}

.qqq a:hover{
    color: turquoise;
}

.rrr a:hover{
    color:lawngreen;
}

.sss a:hover{
    color: salmon;
}

.ttt a:hover{
    color: slateblue;
}

.uuu a:hover{
    color: mediumorchid;
}

.vvv a:hover{
    color: mediumvioletred;
}

.www a:hover{
    color: navajowhite;
}

.xxx a:hover{
    color: cornflowerblue;
}

.yyy a:hover{
    color: sandybrown;
}

.zzz a:hover{
    color: greenyellow;
}

/* about */
.about-text{
    width: 500px;
    padding: 0 20px;
    margin: 50px auto 80px;
    text-align: left;
    text-indent: 1em;
}

/*メディアクエリー*/
@media (max-width: 800px){
    .about-text{
        width: 350px;
        text-indent: 0;
    }
}

/* aaa */
.main-wrapper{
    margin: 0 auto;
    text-align: center;
    
}


.illust-box{
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    justify-content: center;

}

.right,.left,.right-0,.left-0{
    width: 30px;
}

.right-0,.left-0{
    visibility: hidden;
}

.illust-main{
    padding: 0 20px;
    width: 700px;


}

.illust-title{
    color: black;
    /*border: 1px solid black;*/
    font-size: 1.8rem;
    width: 150px;
    display: block;
    margin: 30px auto 50px;
    text-align: center;
    font-weight: 400;
}


/*メディアクエリー*/


@media (max-width: 800px){
    .main-wrapper{
        max-width: 450px;
    }

    .illust-title{
        font-size: 1.5rem;
        padding-bottom: 5px;
    }
}

@media (max-width: 360px){
    .main-wrapper{
        max-width: 300px;
    }

    .illust-title{
        font-size: 1.2rem;
    }
}
