* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo_flex img {
    width: 250px;
    height: 73px;
    object-fit: contain;
}

h1 {
    position: relative;
    color: #6eb0f9;
    line-height: 1.4;
    -webkit-box-reflect: below -20px -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.6));
}

.title {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    font-size: 25px;

}

h2 {
    font-size: 20px;
    font-weight: bold;
    color: #323232;
    line-height: 5rem;
    float: left;
    margin: 50px auto 10px;
}

body {
    background-color: #ffffff;
}

main {
    display: flex;
    flex-flow: row;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.workspage-image img {
    width: 100%;
    height: 100%;
}

.workspage-image {
    width: 100px;
    height: 150px;

}

.workspage-li img {
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.workspage-li a {
    text-align: center;
    font-family: 'Kosugi', sans-serif;
    text-decoration: none;
    color: #323232;
}

.workspage-diary {
    font-size: 13px;
}

.mainarea {
    display: flex;
    flex-flow: row;
    justify-content: center;
}

.contents {
    justify-content: center;
}

.box {
    display: flex;
    justify-content: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-content: stretch;
    color: #fff;
    text-align: center;
    text-decoration: none;
    list-style-type: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0.3rem 0 #c6c6c6;
    /* border-radius: 0.3rem; */
    display: flex;
    flex-flow: row wrap;
}

.boxmargin01 {
    margin-bottom: 0rem !important;
    border-radius: 0.3rem 0.3rem 0rem 0rem !important;
}

.boxmargin02 {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
    border-radius: 0rem !important;
}

.workspage-title {
    font-size: 14px;
    margin-top: 5px;
}

.workspage-image {
    width: 100%;
    height: auto;
}

.cell {
    width: 22.5%;
    height: auto;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    border-radius: 0.6rem;
}

.cell.is-empty {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.cell:hover {
    cursor: pointer;
    margin-top: 1.3rem;
    margin-bottom: 0.7rem;
    box-shadow: none;
}

.workspage-image2 {
    width: 100%;
    height: 500px;
}

/* 横 vr */
.w {
    width: 22%;
    height: auto;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    border-radius: 0.6rem;
}

.w:hover {
    cursor: pointer;
    margin-top: 1.3rem;
    margin-bottom: 0.7rem;
    box-shadow: none;
}

.workspage-image-yoko img {
    width: 100%;
    height: 100%;
}

.workspage-image-yoko {
    width: 100%;
    height: auto;
}


.workspage-image-yoko145 img {
    width: 100%;
    height: 100%;
}

.workspage-image-yoko145 {
    width: 100%;
    height: auto;
}


/* hamburger menu */
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #3584BB;
    filter: opacity(70%);
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #FFFFFF;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #3584BB;
    transition: all 0.5s;
    /*アニメーション設定*/
}

.menu-content ul {
    padding: 70px 10px 0;
    display: block;
}

.menu-content ul li {
    border-bottom: solid 1px #FFFFFF;
    list-style: none;
}

.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #FFFFFF;
    border-right: solid 2px #FFFFFF;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

#menu-btn-check:checked ~ .menu-content {
    left: 0;
    /*メニューを画面内へ*/
}




#pagetop {
    position: fixed;
    right: 0;
    bottom: 0;
    text-indent: -9999px;
    margin: 0;
}
#pagetop a {
    position: relative;
    display: block;
    width: 65px;
    height: 65px;
    background: rgba(0,0,0,1);
    transition: opacity .6s ease;
}
#pagetop a:hover {
    opacity: .3;
}
#pagetop a::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
}
@media screen and (max-width:767px) {
    #pagetop a {
        width: 45px;
        height: 45px;
    }
    #pagetop a::before {
        top: 5px;
        width: 10px;
        height: 10px;
    }
}

/*アドネット九州HPの分追加*/

header{
    margin: 0 0 0 15px!important;
}


/*小さいPC*/

@media screen and (min-width:1071px) and (max-width:1300px) {
    h2 {
        margin: 50px auto 10px 30px;
    }
}

@media screen and (min-width:1067px) and (max-width:1279px) {
    .cell {
        width: 22%;
    }
}

@media screen and (min-width:1000px) and (max-width:1066px) {
    .cell {
        width: 21%;
    }
}

/*タブレット*/

@media screen and (min-width:700px) and (max-width:999px) {
    h2 {
        margin: 50px auto 10px 50px;
    }

}

@media screen and (min-width:740px) and (max-width:999px) {

    .cell {
        width: 29%;
    }
}

@media screen and (min-width:700px) and (max-width:739px) {

    .cell {
        width: 28%;
    }
}



/*スマートフォンとタブレット*/
@media screen and (min-width:660px) and (max-width:699px) {
    .cell {
        width: 45%;
    }

    .w {
        width: 100%;
    }
}

/*スマホ*/
@media screen and (max-width:659px) {
    h2 {
        padding: 0 0 0 1rem;
    }

    .cell {
        width: 100%;
        margin: 0;
    }

    .box {
        display: block;
    }

    .w {
        width: 100%;
        margin: 0;
    }

    .workspage-image {
        width: 100%;
        height: auto;
    }

    .workspage-li img {
        display: block;
        height: auto;
        object-fit: contain;
        width: 100%;
    }

    .workspage-image-yoko {
        height: auto;
    }

    .workspage-image-yoko145 {
        height: auto;
    }
}
