* {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    font-family: YuMincho, 'Yu Mincho', serif;
}

img {
    vertical-align: top;
}

/* ボタンのスタイル */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
    z-index: 100;
}

#page-top a {
    background: #3f3f3f;
    text-decoration: none;
    color: #fff;
    width: 20px;
    padding: 10px;
    text-align: center;
    display: block;
    border-radius: 5px;
    opacity: 0.8;
}

#page-top a:hover {
    text-decoration: none;
    background: #999;
}

.logo img {
    width: 44px;
}

.logo {
    padding: 7px 0 7px 12px;
}

header {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px black;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 99;
}

.head-menu a {
    color: #9e8e75;
}

.head-menu ul {
    display: flex;
    font-size: 14px;
}

.head-menu li {
    /* margin: 19px 22px 0 0; */
    margin: 0 22px 0 0;
    padding: 19px 0 0 0;
}

.head-wrap {
    width: 100%;
    height: 100vh;
    position: relative;
}

.head-wrap:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    background: url(../img/main_v.jpg) no-repeat center;
    background-size: cover;
}

.logo-2 img {
    width: 350px;
}

.copy img {
    width: 302px;
}

.main-logo {
    text-align: center;
    padding: 315px 0 0;
    -webkit-filter: drop-shadow(0px 2px 4px black);
    -moz-filter: drop-shadow(0px 2px 4px black);
    -ms-filter: drop-shadow(0px 2px 4px black);
    filter: drop-shadow(0px 2px 4px black);
}

.wrap {
    background: #fafafa;
}

.news-wrap {
    max-width: 800px;
    margin: 52px auto 86px;
}

.news {
    display: flex;
    flex-wrap: wrap;
    color: #9e8e75;
}

.news h2 {
    font-size: 26px;
    padding: 0 76px 0 0;
}

ul.news-list {
    font-size: 16px;
    line-height: 1.8;
    border-top: 1px solid #dddddd;
    width: 600px;
}

ul.news-list li {
    border-bottom: 1px solid #dddddd;
    padding: 15px 0;
}

ul.news-list label {
    background: #605752;
    color: #fff;
    font-size: 14px;
    padding: 2px 17px;
    margin: 0 0 0 18px;
}

.about-wrap {
    display: flex;
    position: relative;
    padding-bottom: 450px;
}

.about-img img {
    width: 651px;
}

.about-img {
    z-index: 3;
    position: relative;
    top: 65px;
    left: 0;
}

.about {
    background: #9e8e75;
    width: 70%;
    position: absolute;
    right: 0;
    z-index: 2;
}

.about-contents {
    width: 390px;
    margin: 0 auto;
    padding: 70px 0 60px;
    color: #fff;
}

.about-contents h2,
.recruit-contents h2,
.contact h2 {
    font-size: 48px;
    text-align: center;
}

p.sub-title {
    font-size: 18px;
    color: #605751;
    padding: 0 0 0 68px;
}

.about-contents h3 {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 40px 0 55px;
}

.about-contents p.txt,
.recruit-contents p.txt {
    font-size: 14px;
    line-height: 2;
    padding-bottom: 49px;
}

.btn {
    font-size: 18px;
    border: 1px solid;
    width: 205px;
    text-align: center;
    padding: 12px 20px 12px 0;
    margin: 0 auto;
    position: relative;
}

.btn a {
    color: #fff;
    z-index: 1;
    transition: .3s;
}

.btn a::before {
    content: "";
    width: 227px;
    height: 54.8px;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: -1;
    background: #fff;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform ease .3s;
}

.btn a:hover {
    color: #9e8e75;
}

.btn a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.btn:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 1px;
    border-right: solid 1px;
    position: absolute;
    top: 50%;
    right: 26px;
    margin-top: -4px;
    transform: rotate(45deg);
}

.btn a:hover::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 1px;
    border-right489: solid 1px;
    position: absolute;
    top: 50%;
    right: 26px;
    margin-top: -4px;
    transform: rotate(45deg);
    color: #9e8e75;
}


.about-wrap:after {
    /* content: 'a'; */
    position: absolute;
    content: '';
    background: #fcefda;
    left: 0;
    z-index: 1;
    width: 718px;
    display: block;
    height: 418px;
    top: 325px;
}

.service-wrap {
    position: relative;
    z-index: 0;
}

.service-wrap p.sub-title {
    text-align: center;
    padding: 0;
    color: #9e8e75;
}

.service-wrap h2 {
    font-size: 48px;
    text-align: center;
    color: #9e8e75;
}

.service {
    max-width: 850px;
    margin: 0 auto;
    z-index: 3;
}

.service ul {
    display: flex;
    justify-content: space-between;
    padding: 44px 0 70px;
}

.service li img {
    width: 200px;
}

.service li {
    box-shadow: 0 0 10px grey;
    position: relative;
    background-color: black;
}

.service-wrap .btn {
    color: #fff;
}


.service-wrap:before {
    content: '';
    background: #9e8e75;
    width: 100%;
    display: block;
    position: absolute;
    z-index: -1;
    top: 250px;
    height: 335px;
    background-image: url(../img/logo-bk.png);
    background-repeat: no-repeat;
    background-position: center top 100px;
    background-size: 30%;
}


.service-1:after,
.service-2:after,
.service-3:after,
.service-4:after {
    position: absolute;
    top: 40%;
    white-space: pre;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 8px black;
    font-size: 14px;
    max-width: 200px;
    margin: 0 auto;
}

.service-1:after {
    content: 'Food and healthcare\A健康食品・化粧品企画販売';
    left: 14px;
}

.service-2:after {
    content: 'Electronic commerce\A EC運営';
    left: 40px;
}

.service-3:after {
    content: 'Telecommunications\A電気通信';
    left: 33px;
}

.service-4:after {
    content: 'Wholesale\A食品卸売';
    left: 63px;
}

.service-1,
.service-2,
.service-3,
.service-4 {
    position: relative;
}


.service li img {
    opacity: 0.7;
    transition: .3s ease-in-out;
}

.service li:hover img {
    filter: blur(3px);
}

.recruit-wrap {
    padding-top: 350px;
    display: flex;
    position: relative;
    flex-direction: row-reverse;
}

.recruit {
    background: #9e8e75;
    width: 70%;
    position: absolute;
    z-index: 2;
    left: 0;
}

.recruit-contents {
    width: 390px;
    margin: 0 auto;
    padding: 70px 0 90px;
    color: #fff;
}

.recruit-img img {
    width: 651px;
}

.recruit-img {
    z-index: 3;
    position: relative;
    top: 58px;
    right: 0;
}

.recruit-contents p.sub-title {
    padding: 0 0 0 84px;
}

.recruit-contents p.txt {
    padding: 49px 0;
}

.recruit-wrap:after {
    position: absolute;
    content: '';
    background: #fcefda;
    right: 0;
    z-index: 1;
    width: 718px;
    display: block;
    height: 418px;
    top: 260px;
}

.contact-wrap {
    margin-top: 298px;
    background-image: url(../img/contact-img.jpg);
}

.contact {
    max-width: 800px;
    margin: 0 auto 150px;
    padding-bottom: 92px;
}

.contact .sub-title {
    padding: 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 5px black;
    padding-top: 56px;
}

.contact h2 {
    color: #fff;
    text-shadow: 0 0 5px black;
}

.contact .txt {
    font-size: 24px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 11px black;
    padding-bottom: 60px;
}

.contact-btn {
    display: flex;
    justify-content: space-around;
}

.form-btn,
.tel-btn {
    width: 337px;
    background: #fff;
    text-align: center;
    color: #5d5343;
    font-size: 18px;
    border-radius: 10px;
    font-weight: bold;
    transition: .3s;
}

.form-btn {
    padding: 36px 0 36px 20px;
    position: relative;
}

.form-btn:hover,
.tel-btn:hover,
.foot-btn:hover {
    transform: scale(1.04);
}


.form-btn a {
    color: #5d5343;
}

.tel-btn {
    padding: 19px 0 19px 20px;
    position: relative;
}

.tel-btn span {
    font-size: 15px;
    font-weight: normal;
}


.form-btn:before,
.tel-btn:before {
    content: '';
    display: inline-block;
    background-size: contain;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    position: absolute;
    left: 28px;
    top: 38px;
}

.form-btn:before {
    background-image: url(../img/mail-icon.png);
}

.tel-btn:before {
    background-image: url(../img/tel-icon.png);
}

footer {
    background: #3f3f3f;
    color: #fff;
    font-size: 12px;
    padding-top: 58px;
}

.foot-menu a {
    color: #fff;
}

.foot-wrap .foot-btn a,
.foot-wrap .foot-btn a:hover,
.foot-wrap .foot-btn a:focus-visible,
.foot-wrap .foot-btn a:active {
    color: ##3f3f3f;
}

p.copylight {
    padding: 61px 0 22px;
    text-align: center;
    font-size: 11px;
}

.foot-wrap {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    justify-content: space-between;
}


.foot-logo img {
    width: 194px;
}

p.adress {
    line-height: 2.0;
    padding: 29px 0 45px 15px;
}

.foot-menu ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
    padding-top: 73px;
}

.foot-menu li {
    padding: 0 0 15px 65px;
}

.foot-btn {
    margin: 0 0 0 15px;
    width: 175px;
    background: #fff;
    color: #3f3f3f;
    text-align: center;
    padding: 17px 0 17px 20px;
    border-radius: 6px;
    position: relative;
    transition: .3s;
}

.foot-btn:before {
    content: '';
    background-image: url(../img/mail-icon.png);
    display: inline-block;
    background-size: contain;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 19px;
    left: 27px;
    filter: invert(100%) sepia(10%) saturate(50%) hue-rotate(146deg) brightness(17%) contrast(78%);
}

.cp a {
    position: relative;
    display: inline-block;
    transition: .3s;
}

.cp a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 0;
    height: 1px;
    background-color: #605752;
    transition: .3s;
    bottom: -2px;
}

.cp a:hover::after {
    width: 100%;
}

.start {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

.start p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    text-align: center;
}

.start p img {
    width: 250px;
}

.scrolldown1 {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    left: 50%;
    bottom: 10px;
    /*全体の高さ*/
    height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
    position: absolute;
    left: -18px;
    top: -25px;
    color: #eee;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px black;
}

/* 線の描写 */
.scrolldown1::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1.5px;
    height: 37px;
    background: #fff;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}



/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 50px;
        opacity: 0;
    }
}

#container {
    position: relative;
    z-index: 1;
    background: #fafafa;
    padding: 1px 0;
    text-align: center;
}

/*アニメーション要素のスタイル*/
.animation {
    opacity: 0;
    visibility: hidden;
    transition: 2s;
    transform: translateY(30px);
}

/*アニメーション要素までスクロールした時のスタイル*/
.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tel-btn a {
    color: #5d5343;
}

.foot-btn a {
    color: #3f3f3f;
}


/*スマホ*/

@media screen and (max-width: 1344px) {

    .head-menu ul {
        display: none;
    }

    header {
        max-width: 325px;
        display: block;
    }

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        height: 100vh;
    }

    /*丸の拡大*/
    .circle-bg {
        position: fixed;
        z-index: 3;
        width: 100px;
        height: 250px;
        border-radius: 50%;
        background: #9e8e75;
        transform: scale(0);
        top: -50px;
        left: calc(50% - 50px);
        transition: all .6s;
    }

    .circle-bg.circleactive {
        transform: scale(50);
        /*クラスが付与されたらscaleを拡大*/
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav-list {
        display: none;
        /*はじめは表示なし*/
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
        /*クラスが付与されたら出現*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        opacity: 0;
        /* position: absolute; */
        z-index: 999;
        /* top: 50%; */
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
        padding: 75px 0 0;
    }

    /*背景が出現後にナビゲーションを表示*/
    #g-nav.panelactive ul {
        opacity: 1;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }


    /*リストのレイアウト設定*/
    #g-nav li {
        text-align: center;
        list-style: none;
    }

    #g-nav li a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        /* font-weight: bold; */
        font-size: 12px;
    }


    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        top: -1px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #605752;
        width: 30px;
    }

    .openbtn:after {
        content: 'MENU';
        color: #9e8e75;
        font-size: 10px;
        position: absolute;
        top: 36px;
        left: 13px;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .ham-btn {
        padding: 70px 0 0;
    }

    .ham-btn .form-btn,
    .ham-btn .tel-btn {
        width: 250px;
        background: #fff;
        text-align: center;
        color: #5d5343;
        font-size: 14px;
        border-radius: 10px;
        font-weight: bold;
        transition: .3s;
        margin: 0 auto;
        /* padding: 0 0 0; */
    }

    .ham-btn .form-btn {
        padding: 27px 0 27px 20px;
        position: relative;
        margin-bottom: 20px;
    }

    .ham-btn .tel-btn {
        padding: 14px 10px 14px 10px;
        position: relative;
    }

    .ham-btn .form-btn:before,
    .ham-btn .tel-btn:before {
        content: '';
        display: inline-block;
        background-size: contain;
        width: 22px;
        height: 22px;
        background-repeat: no-repeat;
        position: absolute;
        left: 28px;
        top: 26px;
    }

    .hum-logo img {
        width: 200px;
    }

    .hum-logo {
        text-align: center;
        padding: 80px 0 0;
    }

    .logo-2 img {
        width: 300px;
    }

    .copy img {
        width: 250px;
    }

    .news-wrap {
        padding: 0 10px 0;
    }

    .about-img img,
    .recruit-img img {
        width: 340px;
    }

    .about,
    .recruit {
        width: 90%;
    }

    .about-contents {
        width: 300px;
        margin: 0 auto;
        padding: 280px 0 50px;
        color: #fff;
    }

    .about-contents h2,
    .recruit-contents h2,
    .contact h2 {
        font-size: 35px;
    }

    p.sub-title {
        padding: 0 0 0 0;
    }

    .about-contents h3 {
        font-size: 14px;
        padding: 30px 0;
    }

    .about-contents p.txt,
    .recruit-contents p.txt {
        font-size: 12px;
        padding-bottom: 30px;
    }

    .about-wrap:after {
        position: absolute;
        content: '';
        background: #fcefda;
        left: 0;
        z-index: 1;
        width: 259px;
        display: block;
        height: 520px;
        top: 261px;
    }

    .news h2 {
        font-size: 20px;
        padding: 0 76px 10px 0;
    }

    ul.news-list {
        font-size: 12px;
        width: 100%;
        text-align: left;
    }

    ul.news-list li {
        padding: 15px 0 15px 17px;
    }

    .about-wrap {
        padding-bottom: 669px;
    }

    .service-wrap h2 {
        font-size: 34px;
    }

    .service ul {
        padding: 44px 15px 70px;
        flex-wrap: wrap;
        max-width: 350px;
        width: 100%;
    }

    .service li img {
        width: 166px;
    }

    .service li {
        margin: 0 0 15px;
    }

    .service-1:after,
    .service-2:after,
    .service-3:after,
    .service-4:after {
        font-size: 11px;
    }

    .service-1:after {
        left: 16px;
    }

    .service-2:after {
        left: 34px;
    }

    .service-3:after {
        left: 30px;
    }

    .service-4:after {
        left: 56px;
    }

    .service-wrap:before {
        top: 260px;
        height: 458px;
        background-size: 100%;
    }

    .service ul {
        padding: 44px 12px 65px;
    }

    .recruit-wrap {
        padding-top: 257px;
    }

    .recruit-wrap:after {
        width: 287px;
        height: 317px;
        top: 164px;
    }

    .recruit-contents {
        width: 300px;
        padding: 280px 0 50px;
    }

    .recruit-contents p.txt {
        padding: 30px 0 30px;
    }

    .contact-wrap {
        margin-top: 510px;
    }


    .contact .txt {
        font-size: 18px;
        padding: 30px 0 43px;
    }

    .contact-btn {
        display: block;
    }

    .contact-btn .form-btn,
    .contact-btn .tel-btn {
        width: 310px;
        font-size: 16px;
        margin: 0 auto 14px;
    }

    .contact-btn .form-btn {
        padding: 26px 0 26px 20px;
    }


    .contact-btn .tel-btn {
        padding: 7px 0 7px 20px;
        position: relative;
        font-size: 20px;
    }

    .contact-btn .form-btn:before,
    .contact-btn .tel-btn:before {
        top: 28px;
    }

    .contact {
        margin: 0 auto 86px;
    }

    .foot-wrap {
        flex-wrap: wrap;
    }

    .foot-menu ul {
        padding: 10px 0 65px;
        margin: 0 auto;
    }

    .foot-adress {
        margin: 0 auto;
        text-align: left;
    }

    footer {
        font-size: 10px;
    }

    .service ul {
        padding: 44px 12px 65px;
        margin: 0 auto;
    }

    .foot-btn {
        font-size: 12px;
    }

    .foot-wrap {
        display: block;
    }

    p.adress {
        margin: 0 auto;
        max-width: 180px;
    }

    .foot-logo {
        text-align: center;
    }

    .foot-btn {
        font-size: 12px;
        margin: 0 auto;
    }


}

@media screen and (min-width:966px) and (max-width:1344px) {

    .about-contents,
    .recruit-contents {
        width: 300px;
    }

    .about-img img,
    .recruit-img img {
        width: 440px;
    }

    .about,
    .recruit {
        width: 80%;
    }

}

/*PC*/

@media only screen and (min-width:1344px) {

    .openbtn,
    #g-nav,
    .circle-bg {
        display: none;
    }
}