*{
    padding: 0;
    margin: auto;
}
body{
    text-align: center;
    font-family: 'STIX Two Text', serif;
}
.logo{
    display: flex;
    list-style: none;
}
/* ここから */
li #search{
    position: relative;
    width: 160px;
    height: 40px;
    padding: 0px 5px;
    text-align: left;
    border-radius: 30px;
    border: 1px solid gray;
    outline: none;
}
#search input{
    position: absolute;
    height: 30px;
    border: none;   
    top: 3px;
    left: 15px;
    outline: none;
    text-align: right;
}
.btn img{
    position: absolute;
    top: 9px;
    left: 20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    outline: none;
}
.btn img:hover{
    opacity: 0.5;
}
/* ここまで */
.fa-solid{  /*google→fontawesome使うとicon/img探せる*/
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}
.fa-regular{ 
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}
#global-navi{
    display: none;
}
.hbg-menu{
    list-style: none;
}
#wrapper-item ul{
    display: flex;
    list-style: none;
    font-family: 'Crimson Text', serif;
    margin-bottom: 20px;
    margin-top: 20px;
}
nav ul li a{
    text-decoration: none;
    color: black;
}
nav ul li a:hover{
    color: rgb(54, 54, 54,0.5);
}
/* imformation */
.information{
    width: 100%;
    height: 650px;
    position: relative;
}
.information img{
    width: 80%;
    height: 580px;
    margin-top: 40px;
}
.information h1{
    position: absolute;
    top: 10%;
    left: 42%;
    margin: 0 auto;
}
.title{ /*white box*/
    position: absolute;
    width: 60%;
    height: 60%;
    background-color: #ffffff76;
    font-size: 20px;
    top: 18%;
    left: 19%;
    text-align: center;
    padding: 20px;
}
.text{
    position: absolute;
    width: 30%;
    height: 40%;
    top: 30%;
    left: 35%;
    font-size: 20px;
}
a input{
    width: 30%;
    height: 50px;
    border: 1px solid #000;
}
input:hover{
    opacity: 0.5;
}
/* footer */
.footer-social{
    color: #fff;
    background-color: rgba(189, 180, 164, 0.5);
    overflow: auto;
    padding: 1em 7.5%;
    margin-top: 2em;
    display: flex;
}
.social-widget{
    width: 32%;
    float: left;
    text-align: center;
}

.social-widget h3{
    text-transform: uppercase;
}

.social-widget img{
    width: 5em;
}
.icon img{
    width: 1.5em;
}

@media(max-width:768px){
    .logo{
        justify-content: center;
        padding: 0 20%;
    }
    /* ① */
    .logo img{
        width: 80%;
    }
    .logo li a{
        font-size: 10px;
    }
    /* ②ここから */
    li #search{
        width: 100px;
        height: 30px;
        padding: 0px 5px;
    }
    #search{
        padding: 20px;
    }
    #search input{
        width: 90px;
        height: 10px; 
        top: 10px;
        left: 5px;
    }
    .btn img{
        top: 8px;
        left: 8px;
        width: 12px;
        height: 12px;
    }
    /* ここまで */
    .fa-solid{
        display: inline;
        font-size: 12px;
        color: gray;
    }
    .fa-regular{
        display: inline;
        font-size: 15px;
        color: gray;
        padding: 20px;
    }
    /* .menu li{
        flex: 1;
    } */
    .information h1{
        left: 35%;
    }
    .information img{
        height: 530px;
        margin-top: 10px;
    }
    .title{
        height: 50%;
        top: 20%;
        left: 17%;
        text-align: center;
        padding: 20px;
    }
    .text{
        font-size: 15px;
        top: 32%;
    }
}

@media(max-width:480px){
    /* 1 ここから */
    .logo img{
        width: 70%;
    }
    li #search{
        width: 60px;
        height: 10px;
    }
    #search{
        padding: 10px;
    }
    #search input{
        width: 40px;
        height: 10px; 
        top: 0;
        left: 20px;
    }
    .btn img{
        top: 1px;
        width: 8px;
        height: 8px;
    }
    .fa-solid{
        display: inline;
        font-size: 12px;
        color: gray;
    }
    .fa-regular{
        font-size: 10px;
    }
    /* ここまで */
    #wrapper-item{
        display: none;
    }
    #global-navi{
        display: list-item;
    }
    .hbg-menu{
        list-style: none;
    }
    #wrapper nav{
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        padding-top: 50px;
        background: rgba(33,33,33,0.9);
        font-size: 16px;
        box-sizing: border-box;
        z-index: 2;
        list-style: none;
    }
    #wrapper nav ul li{
        padding: 20px 28px;
    }
    #wrapper nav ul li a{
        text-decoration: none;
        color: #ddd;
    }
    #wrapper .btn-gnavi{
        position: fixed;
        top: 6px;
        right: 24px;
        width: 30px;
        height: 24px;
        z-index: 3;
        box-sizing: border-box;
        cursor: pointer;
        -webkit-transition: all 400ms;
        transition: all 400ms;
    }
    #wrapper .btn-gnavi span {
        position: absolute;
        width: 28px;
        height: 4px;
        right: 6px;
        background: #666;
        border-radius: 10px;
        -webkit-transition: all 400ms;
        transition: all 400ms
    }
    #wrapper .btn-gnavi span:nth-child(1){
        top: 0;
    }
    #wrapper .btn-gnavi span:nth-child(2){
        top: 10px;
    }
    #wrapper .btn-gnavi span:nth-child(3){
        top: 20px;
    }
    #wrapper .btn-gnavi.open{
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    #wrapper .btn-gnavi.open span{
        background: #fff;
    }
    #wrapper .btn-gnavi.open span:nth-child(1){
        width: 24px;
        -webkit-transform: translate(-7px,17px) rotate(45deg);
        transform: translate(-7px,17px) rotate(45deg);
    }
    #wrapper .btn-gnavi.open span:nth-child(3){
        width: 24px;
        -webkit-transform: translate(-7px,-17px) rotate(-45deg);
        transform: translate(-7px,-17px) rotate(-45deg);
    }
    .information{
        width: 100%;
        height: 650px;
        position: relative;
    }
    .information h1{
        top: 7%;
        left: 25%;
    }
    .title{
        height: 55%;
        top: 15%;
        left: 16%;
        text-align: center;
        padding: 20px;
    }
    .text{
        width: 45%;
        text-align: center;
        font-size: 14px;
        left: 27%;
    }
    p{
        text-decoration: none;
    }
    input{
        width: 40%;
    }
    a input{
        width: 30%;
        height: 30px;
        background-color: #fff;
    }
}
