@charset "utf-8";

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
ul{
    margin: 0;
}
.header{
    max-width: 100%;
    height: 110px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(./img/sikakuheader.png);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h1{
    padding-top: 25px;
    padding-left: 30px;
}

ul{
    list-style: none;
    display: flex;
}

li{
    color: #fff;
    padding: 30px ;
}

a{
    color: inherit;
    text-decoration: none;
}

body{
    font-family: sans-serif;
    line-height: 2;
}
nav ul a:hover{
    color: rgb(253, 255, 139);
    }
    

.footernav {
    max-width: 100%;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    background-image: url(./img/sikaku2.png);
}
.footernav ul{
    justify-content: center;
    align-items: center;
}
.footernav p{
    color: #fff;
    font-weight: bold;
    display: block;
    text-align: center;
}

.footer{
    display: flex;
    justify-content: space-between;
}

.footer h2{
    padding-left: 40px;
}
 .footer ul{
     padding-right: 80px;
 }
 .footernav ul a:hover{
    color: rgb(253, 255, 139);
    }

 /* ここからメイン↓ */
main{
    background-image: url(./img/jikann-haikei.png);
    background-size: cover;
    text-align: center;
    width: 100%;
    padding-bottom: 800px; 
    padding-top: 30px; 
}

.hako{
    width: 100%;
    max-width: 1100px;
    height: 550px;
    /* background: url(./img/sikaku\ ryoukin7.png )no-repeat;  */
    background-color: #92afe8b0;
    border-radius: 69px;
    margin: 50px auto 0;
    background-size: cover;
    }
    
.jikan ,.ryoukin{
    display: flex;
justify-content: center;
align-items: center;
}

.jikan h2,.ryoukin h2{
text-align: center;
}

.hako h1, h2{
    padding: 30px;
    font-size: 2rem;
}

.jikan h3,.ryoukin h3{
    padding: 5px 0 30px 40px;
    color: #29357d;
    font-size: 2.5rem;
    text-align: left;
    font-weight: lighter;
}
.hako p{
    font-size: 1.5rem;
}
.jikan{
    padding-bottom: 20px;
}