body{
    line-height: 1.8;
    color: #000000;
    font-family: "Zen Old Mincho", serif;
    background: #f1efe4;
}
a{
    text-decoration: none;
    opacity: 1;
    transition: 0.3s;
}
a:hover{
    opacity: .3;
}
.wrapper{
    width: 100%;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}
img{
    vertical-align: bottom;
}

/** heafer **/
.header{
    padding: 20px 40px;
    width: 100%;
    box-sizing: border-box;
    background: #f1efe4;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: 1px solid #b5b3ab;
}
.header .wrap{
    position: relative;
}
.header .item{
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .item .logo img{
    width: 60px;
}

.header .item .menu{
    position: fixed;
    right: 20px;
    z-index: 1000;
}
.header .item .menu img{
    width: 28px;
}

.header .item .menu a{
    padding: 16px 16px;
    display: flex;
    border-radius: 8px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.header .item .menu a:hover{
    background-color: #000;
    opacity: 1;
}
.header .item .menu a .hamburger{
    display: inline-block;
    position: relative;
    width: 60px;
    height: 8px;
}
.hamburger__line{
    background-color: #000;
    position: absolute;
    left: calc(50% - 20px);
    width: 40px;
    height: 1px;
    transition: 0.5s;
}
.hamburger__line:nth-child(1){
    top: 0;
}
.hamburger__line:nth-child(2){
    top: 4px;
}
.hamburger__line:nth-child(3){
    top: 8px;
}
.header .item .menu a:hover .hamburger__line{
    background-color: #f1efe4;
}

.open__nav .header .item .menu a{
    background-color: #000;
    opacity: 1;
}
.open__nav .hamburger__line{
    background-color: #f1efe4;
}
.open__nav .hamburger__line:nth-child(2){
    left: -5px;
    opacity: 0;
}
.open__nav .hamburger__line:nth-child(1){
    transform: rotate(18deg);
    top: 4px;
}
.open__nav .hamburger__line:nth-child(3){
    transform: rotate(-18deg);
    top: 4px;
}

@media screen and (max-width: 500px) {
    .header .item .menu{
        right: 10px;
    }
}

/** nav **/
.nav{
    z-index: 999;
    position: fixed;
    top: 90px;
    right: -480px;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    box-sizing: border-box;
    background: #f1efe4;
    color: #000;
    padding: 40px 40px 40px;
    font-size: 16px;
    font-weight: 700;
    transition: .3s;
}
.nav ul a{
    padding: 16px 0;
    width: 100%;
    display: flex;
    color: #000;
    align-items: center;
}
.nav ul a span{
    display: inline-block;
}
.nav ul a .name{
    font-size: 18px;
    padding-left: 20px;
    position: relative;
    margin-right: 10px;
}
.nav ul a .name::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background: #999891;
}
.nav ul a .sub{
    font-size: 11px;
    color: #999891;
}
.nav ul .search a img{
    width: 16px;
    position: relative;
    top: 1px;
}
.open__nav .nav{
    right: 0px;
}
.overlay{
    z-index: 998;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    background: #000000;
    opacity: .4;
    cursor: pointer;
    display: none;
}
.open__nav .overlay{
    display: block;
}


/** footer **/
.footer{
    background: #000000;
    color: #f1efe4;
    padding: 20px;
}
.footer .logoBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}
.footer .logoBox img{
    width: 72px;
}
.footer p{
    margin-bottom: 20px;
}


.btnArea{
    text-align: center;
}
.btn-more {
    display: inline-block;
    padding: 8px 64px 14px;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    position: relative;
    margin: 20px;
    line-height: 1.2rem;
    transition: 0.3s;
}

/* 左上のカット */
.btn-more::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    width: 20px;
    height: 20px;
    background: #f1efe4;
    transform: rotate(45deg);
}
/* 左上の線 */
.btn-more::after {
    content: "";
    position: absolute;
    top: 5px;
    left: -2px;
    width: 15px;
    height: 1px;
    background: #000;
    transform: rotate(-45deg);
}
.btn-more:hover{
    background-color: #000;
    color: #f1efe4;
    opacity: 1;
}

.main{
    margin-top: 90px;
}

@media screen and (max-width: 500px) {
    .header {
        padding: 10px 20px;
            height: 70px;
    }
    .main {
        margin-top: 70px;
    }
    .nav{
           top: 70px; 
    }
}