html{
    font-size: 100%;
}

body{
    font-family: 'Great Vibes', cursive;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    color: #333;
}

img{
    max-width: 100%;
    vertical-align: bottom;
}

li{
    list-style: none;
}

dt{
    font-weight: normal;
}

a:hover{
    color: lightgray;
}

.wrapper{
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-title{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap:0 8px;
    margin-bottom: 40px;
}

.en{
    display: block;
    font-size: 1.5rem;
}

.ja{
    display: block;
    font-size: 0.7rem;
}


/* header */
#header{
    width: 100%;
    height: 80px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
}

#header h1{
    width: 200px;
    line-height: 1px;
}

#header h1 a{
    font-size: 1.5rem;
    font-weight: 700;
}

.hamburger-menu{
    position: fixed;
    top:0;
    left: -300px;
    width: 300px;
    color: #fff;
    padding: 60px 40px;
    transition: all 0.5s;
    z-index: 20;
    opacity: 0;
}

.hamburger-menu a{
    color: #fff;
}

.hamburger-menu li{
    margin-bottom: 20px;
}

.open .hamburger-menu{
    left: 0;
    opacity: 1;
}

.hamburger-btn{
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
}

.hamburger-btn span{
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    transition: all 0.5s;
    border-radius: 4px;
}

.hamburger-btn span:nth-child(1){
    top: 10px;
}

.hamburger-btn span:nth-child(2){
    bottom: 10px;
}

.open .hamburger-btn span{
    background-color: #fff;
}

.open .hamburger-btn span:nth-child(1){
    -webkit-transform: translateY(4px) rotate(-45deg);
    transform: translateY(4px) rotate(-45deg);
}

.open .hamburger-btn span:nth-child(2){
    -webkit-transform: translateY(-4px) rotate(45deg);
    transform: translateY(-4px) rotate(45deg);
}

#mask{
    display: none;
    transition: all 0.5s;
}

.open #mask{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 10;
    cursor: pointer;
    background-color: #000;
}


/* main */
#content{
    padding-top: 80px;
    padding-bottom: 160px;
}

.content-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.content-list li{
    width: 23%;
    margin-bottom: 40px;
}

.content-list li img{
    margin-bottom: 5px;
}

.list-btn{
    display: block;
    text-align: center;
}

.list-btn:hover{
    color: lightgray;
}

.pagination{
    display: flex;
    justify-content: center;
    gap: 0 40px;
}

/* item */
.item{
    display: flex;
    justify-content: space-between;
    width: 70%;
    padding-top: 30px;
    margin: 0 auto;
}

.item img{
    width: 48%;
}

.item-text{
    width: 48%;
}

.item-text h2{
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.item-disc{
    padding-left: 20px;
}

.item-disc dl{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.item-disc dt{
    width: 20%;
    padding:5px 0;
}

.item-disc dd{
    width: 80%;
    padding: 5px 0;
}

.back-btn{
    display: block;
    padding-left: 20px;
    margin-top: 100px;
}

/* about */
.content-text{
    width: 70%;
    margin: 0 auto;
}

.content-text p{
    margin-bottom: 30px;
    line-height: 2;
}

.content-text p:last-child{
    margin-bottom: 0;
}


/* company */
.company-list{
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    width: 50%;
    margin: 0 auto;
}

.company-list dt{
    width: 25%;
    padding: 20px 0;
    border-bottom: solid 1px lightgray;
}

.company-list dd{
    width: 75%;
    padding: 20px 0;
    border-bottom: solid 1px lightgray;
}

.company-list dt:last-of-type,
.company-list dd:last-of-type{
    border-bottom: none;
}

.map{
    filter:grayscale(1);
    text-align: center;
    margin-top: 40px;
}

.map iframe{
    width: 50%;
    height: 300px;
}


/* footer */
#footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.info{
    display: flex;
    gap: 0 30px;
}

.copyright{
    font-size: 0.7rem;
}



/* tb */
@media(max-width:768px){

    .content-list li{
        width: 47%;
    }

    .item{
        flex-direction: column;
    }

    .item img{
        width: 100%;
        margin-bottom: 30px;
    }

    .item-text{
        width: 100%;
    }

    .back-btn{
        padding-left: 0;
        text-align: center;
    }

    .content-text{
        width: 100%;
    }

    .content-text p{
        line-height: 1;
    }

    .company-list{
        width: 100%;
        flex-direction: column;
    }

    .company-list dt{
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    .company-list dd{
        width: 100%;
    }

    .map iframe{
        width: 100%;
    }

    #footer{
        flex-direction: column;
    }

    .info{
        margin-bottom: 40px;
    }
}



@media(max-width:425px){
    .item-disc{
        padding-left: 0;
    }

    .item-disc dl{
        font-size: 0.8rem;
    }
    
    .item-disc dt{
        width: 40%;
    }
    
    .item-disc dd{
        width: 60%;
    }
}