　@charset "utf-8";

@import url(http: //mplus-webfonts.sourceforge.jp/mplus_webfonts.css);

* {
    margin: 0px;
    padding: 0px;
}

html {
    font-size: 40px;
    margin: 0px;
}

body {
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    /*background:url(../images/bgimg.jpg) center top;*/
    overflow-x: hidden;
    z-index: 0;
    background-color: #fff;
    position: relative;
}

/*------------nav--------------*/
#nav-content {
    position: fixed;
    width: 200px;
    padding: 0 10px 0px 10px;
    height: 100%;
    box-sizing: 100%;
    left: 0px;
    top: 0px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    background-color:#504C96;
}
.logo{
  margin: 10% 0;
}


.logo{
width: 100%;
}

.presents{
  width: 100%;
}
.presents a img {
    width: 90%;
    height: auto;
    margin: 0 10px 45px;
}

#nav-content .logo img {
    width: 90%;
    margin: 30px auto 30px;

}

#nav-content .logo ul li a img {
    width: 100;
    /*height: 25px;*/
    margin: 10px auto;
}

#nav-content ul li {
    text-align: left;
}

#nav-content ul li {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

}

#nav-drawer {
    height: 0px;
}





.opacity:hover {
    opacity: 0.7;
}

.dot{
  position: relative;
  display: block;
  text-decoration: none;
    width:100%;
    padding: 20px auto;
    margin: 10px 0;
}
.dot::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #F7DA7E;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
    z-index: 9999;
}
.dot:hover::after {
  transform: scale(1, 1);
}

/*-----nav-------------------------------------*/
/*-----wrapper-------------------------------------*/
#wrapper {
    z-index: 0;
    height: auto;
    background-color: #fff;
    width: calc(100% - 200px);
    margin: 0 0 0 200px;
    position: relative;
}


.header {
    margin: 0 0 0 0;
    width: 100%;
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.header:before {
    content: "";
    display: block;
    padding-top: 99.2%;
    width: 100%;
    height: 100%;
}

@keyframes fuwafuwa {
    0% {
        transform: translate(0, 0) rotate(-2deg);
    }

    50% {
        transform: translate(0, -20px) rotate(0deg);
    }

    100% {
        transform: translate(0, 0)rotate(2deg);
    }
}

/*-----wrapper-------------------------------------*/
/*-----conts-------------------------------------*/
.conts {
    position: relative;
    width: 100%;
    padding: 0 0 0 0px;
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
}

img.main {
    width: 100%;
}

.goods {
    margin: 0 0 0 0;
    width: 100%;
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../images/goods.png);
    background-repeat: no-repeat;
    background-size: contain;
}


.goods_btn{
  position: absolute;
  width: 80%;
  bottom: 6%;
  left: 51%;
-webkit-transform: translate(-50%,0);
-moz-transform: translate(-50%,0);
-ms-transform: translate(-50%,0);
-o-transform: translate(-50%,0);
transform: translate(-50%,0);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.goods_btn a{
}

.goods_btn a img{
  width: 90%;
}

.access {
    margin: 0 0 0 0;
    width: 100%;
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../images/access.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.access:before {
    content: "";
    display: block;
    padding-top: 79.1%;
    width: 100%;
    height: 100%;
}

.twitter {
    position: absolute;
    bottom: 3%;
    right: 12%;
    width: 20%;
}

.access_link iframe {
    position: absolute;
    top: 11.4%;
    left: 3%;
    width: 25%;
    height:44.2%;
    box-shadow: 1px 0px 7px #000;
}


/*-----conts-------------------------------------*/
/*-----footer-------------------------------------*/

.footer {
    position: relative;
    width: 100%;
    line-height: 1;
    background-image: url(../images/footer_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center;
    vertical-align: bottom;
    color:#fff;
    padding: 0;
}
.footer:before {
    content: "";
    display: block;
    padding-top: 19.0%;
    width: 100%;
    height: 100%;
}

.core,
.graphic{
  position: absolute;
  left: 10%;
  width: 40%;
}

.core{
  bottom: 55%;
}

.graphic{
  bottom: 5%;
}

.melon{
  position:absolute;
  right: 3%;
  bottom: 42%;
  width: 20%;
}

/*-----footer-------------------------------------*/

/*トップボタン*/

.topBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    display: block;
    background-color: rgb(136, 94, 110);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 19px;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 22px;
    border-radius: 40px;
    padding-top: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.topBtn:before {
    content: '\25B2';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.topBtn:hover {
    opacity: 0.7;
}


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

    #wrapper {
        width: 100%;
        margin: 0px;
    }

    .personality_body #wrapper{
      width: 100%;
      margin: 0;
    }
.personality{
  padding: 100px 0 0 0;
  width: 90%;
}
    #nav-drawer {
        position: fixed;
        z-index: 100;
        top: 5px;
        left: 10px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.7);
    }

    #nav-open:hover {
        cursor: pointer;
        opacity: 0.7;
    }

    /*チェックボックス等は非表示に*/
    .nav-unshown {
        display: none;
    }

    /*アイコンのスペース*/
    #nav-open {
        display: inline-block;
        width: 30px;
        height: 22px;
        vertical-align: middle;
        margin: 10px 5px 0px 10px;
    }

    /*ハンバーガーアイコンをCSSだけで表現*/
    #nav-open span, #nav-open span:before, #nav-open span:after {
        position: absolute;
        height: 3px;
        /*線の太さ*/
        width: 25px;
        /*長さ*/
        border-radius: 3px;
        background: #555;
        display: block;
        content: '';
        cursor: pointer;
    }

    #nav-open span:before {
        bottom: -8px;
    }

    #nav-open span:after {
        bottom: -16px;
    }

    /*閉じる用の薄黒カバー*/
    #nav-close {
        display: none;
        /*はじめは隠しておく*/
        position: fixed;
        z-index: 99;
        top: 0;
        /*全体に広がるように*/
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 0;
        transition: .3s ease-in-out;
    }

    /*中身*/
    #nav-content {
        overflow: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        /*最前面に*/
        width: 200px;
        /*右側に隙間を作る（閉じるカバーを表示）*/
        height: 100%;
        transition: .3s ease-in-out;
        /*滑らかに表示*/
        -webkit-transform: translateX(-105%);
        transform: translateX(-105%);
        /*左に隠しておく*/
    }

    /*チェックが入ったらもろもろ表示*/
    #nav-input:checked ~ #nav-close {
        display: block;
        /*カバーを表示*/
        opacity: .5;
    }

    #nav-input:checked ~ #nav-content {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        /*中身を表示（右へスライド）*/
        box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
    }

    .conts {
        width: 100vw;
        padding: 0px 0px 0px 0px;
        box-sizing: border-box;
        margin: 0px;
    }

    #nav {
        display: none;
    }


}
