@charset "utf-8";

* {
    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;
}

/*
.maintitle img{
  opacity: 0;
  animation-name: bounce;
  animation-duration: 2s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  display: inline-block;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}*/
.maintitle img {
    opacity: 0;
    animation-name: blur;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*
.anim-balloon {
　　animation: anim-rotate 2s ease-out 2s infinite;
　　transform-origin: 0 40%;
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}
@keyframes bounce{
  0% {
    transform: scale(1,1);
    opacity: 0;
     filter: blur(0px);
   }
   30% {
     transform: scale(1,1);
     opacity: 0;
     filter: blur(0px);
   }
   40% {
     transform: scale(1.5,1.5);
     opacity: 1;
      filter: blur(10px);
    }
    50% {
      transform: scale(1,1);
      opacity: 1;
      filter: blur(0px);
    }
   100% {
     transform: scale(1,1);
     opacity: 1;
     filter: blur(0px);
   }
}
*/
@keyframes blur {
    0% {
        transform: translate(0, 0);
        opacity: 0;
        filter: blur(30px);
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
        filter: blur(0px);
    }
}

/*------------nav--------------*/
/*ソーシャルボタン*/
.social {
    position: fixed;
    top: 5%;
    left: 1.5%;
    z-index: 3000;
    display: flex;
    flex-direction: row;
}

.social a {
    margin: 0 10% 0 0;
    display: block;
}

.social a img {
    width: 20px;
    height: auto;
}

.social a:hover {
    opacity: 0.7;
}

#nav-content {
    position: fixed;
    width: 200px;
    padding: 0;
    height: 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: #ffbbcd;
}

.logo {
    width: 100%;
    margin: 40% 0 0 0;
    text-align: center;
    padding: 0 0 0 0;
}

.presents {
    width: 100%;
    text-align: center;
}

img.intro {
    width: 100%;
    text-align: center;
}

#nav-content .logo img {
    margin: 10px auto 0px;
}

#nav-content .logo ul li a img {
    height: 18px;
    margin: 0;
    width: auto;
}

#nav-content .logo ul li img {
    /*max-width: 90%;*/
}

#nav-content ul li {
    text-align: center;
}

#nav-content ul li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: auto;
}

#nav-drawer {
    height: 0px;
    text-align: left;
}

.presents a img {
    width: 80%;
    height: auto;
    margin: 0 10px 45px;
}

.opacity:hover {
    opacity: 0.7;
}

.dot,
.navcont {
    position: relative;
    display: block;
    text-decoration: none;
    width: 80%;
    margin: 15px auto;
    padding: 0 0 10px 0;
    text-align: left;
}

.dot::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    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;
}

body#memories #wrapper {
    width: 100%;
    margin: 0 auto;
}

body#memories #wrapper h2 {
    text-align: center;
}

body#memories #wrapper h2 img {
    width: 90%;
}

.header {
    margin: 0 0 0 0;
    position: relative;
    width: 100%;
    height: auto;
    /*background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-size: contain;*/
}

.header_bg img {
    width: 100%;
    position: relative;
}

.header:before {
    /*content: "";
  display: block;
  padding-top: 140.3%;
  width: 100%;
  height: 100%;*/
}

.maintitle {
    text-align: center;
    position: absolute;
    top: 47%;
    width: 100%;
}

.maintitle img {
    width: 70%;
    margin: 0 auto;
    opacity: 0;
    animation-name: blur;
    animation-duration: 5s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.multi img {
    mix-blend-mode: multiply;
}

@keyframes blur {
    0% {
        transform: translate(0, 0);
        opacity: 0;
        filter: blur(30px);
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
        filter: blur(0px);
    }
}

.chart_icon {
    position: absolute;
    width: 13%;
    top: 3%;
    left: 3%;
}

.chart_icon:hover {
    opacity: 0.7;
}

.chart_icon img {
    width: 100%;
}

.mainlogo,
.logoback {
    position: absolute;
}

.mainlogo img,
.logoback img {
    width: 100%;
    height: auto;
    position: absolute;
}

.mainlogo {
    width: 14.5%;
    z-index: 10;
    top: 7.5%;
    left: 40%;
    transform: translate(-50%, 0);
    animation-delay: 0.5s;
}

.logoback {
    width: 100%;
    z-index: 9;
    top: 16%;
    left: 3%;
}

@keyframes fuwafuwa {
    0% {
        transform: translate(0, 0) rotate(-2deg);
    }

    50% {
        transform: translate(0, -20px) rotate(0deg);
    }

    100% {
        transform: translate(0, 0)rotate(2deg);
    }
}

/*-----wrapper-------------------------------------*/
/*chr*/
.chr_tab *,
.chr_tab *:before,
.chr_tab *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.chr_tab {
    margin: 0% auto 0;
    width: 100%;
    text-align: center;
}

.chr_tab > input[type='radio'] {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    /* display: none; */
    opacity: 0;
}

.chr_tab .chr_tabpanel {
    /* display: none; */
    opacity: 0;
    width: 100%;
}

.chr_tabpanel p {
    line-height: 1.5em;
    font-size: 24px;
    padding: 0 5%;
}

.chr_tab .chr_tabpanel {}

.chr_tabpanels {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 10;
}

.chr_tabpanels:before {
    content: "";
    display: block;
    padding-top: 140%;
    width: 100%;
    height: 100%;
}

.chr_tabpanel {
    position: absolute;
    /*display: none;*/
    opacity: 0;
}

.chr_tabpanels .chr_tabpanel img {
    width: 100%;
    z-index: 1;
}

.chr_tabpanel img {
    position: relative;
}

.chr_tab > input:first-child:checked ~ .chr_tabpanels > .chr_tabpanel:first-child,
.chr_tab > input:nth-child(3):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(2),
.chr_tab > input:nth-child(5):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(3),
.chr_tab > input:nth-child(7):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(4),
.chr_tab > input:nth-child(9):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(5),
.chr_tab > input:nth-child(11):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(6),
.chr_tab > input:nth-child(13):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(7),
.chr_tab > input:nth-child(15):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(8),
.chr_tab > input:nth-child(17):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(9),
.chr_tab > input:nth-child(19):checked ~ .chr_tabpanels > .chr_tabpanel:nth-child(10) {
    /*display: block;*/
    opacity: 1;
    transition: all 0.8s ease;
    left: 0;
    top: -0.1%;
}

.chr_tab > input:checked + label {
    background-color: #CFE0E8;
    box-shadow: 0px 0px 10px 11px #cfe0e8;
}

.chr_tab > label {
    position: relative;
    display: inline-block;
    width: 22%;
    padding: 0;
    cursor: pointer;
    margin: 1% 0%;
    padding: 0;
    z-index: 3;
    box-sizing: border-box;
}

.chr_tab > label img {
    width: 100%;
    height: auto;
}

.chr_tab > label:hover,
.chr_tab > input:focus + label {
    color: #0066cc;
}

.chr_tab > input:checked + label {
    z-index: 20 !important;
}

/*chr*/
.tweet_flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.widmax {
    width: 100%;
    text-align: center;
}

.tweet_img {
    width: 45%;
    margin: 3% auto;
}

.tweet_img * {
    width: 100%;
}

.tweet_btn {
    width: 55%;
}

.tweet_btn * {
    width: 100%;
}

.tweet_img p {
    font-size: 3vw;
    text-align: center;
    line-height: 1.5em;
    font-family: ryo-text-plusn, serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 5px;
    margin: 2% 0;
    color: #8FA7B1;
}

.author_flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}

.author_flex a {
    width: 25%;
}

.shop_flex {
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 19%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
}

.shop_flex2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.shop_flex2 a {
    padding: 2%;
}

.shop_flex a {
    width: 30%;
}

.shop_flex2 a img,
.shop_flex a img,
.author_flex a img {
    width: 100%;
    padding: 2% 0;
}

.author_item {
    position: absolute;
    width: 65%;
    top: 78%;
    left: 50%;
    transform: translateX(-50%);
}

.author_item img {
    width: 100%;
}

.footer_melon {
    position: absolute;
    width: 20%;
    bottom: 3.5%;
    left: 50%;
    transform: translateX(-50%);
}

.footer_melon img {
    width: 100%;
}

.footer_twi {
    position: absolute;
    width: 45%;
    top: 62.5%;
    left: 50%;
    transform: translateX(-50%);
}

.footer_twi img {
    width: 100%;
}

/*-----conts-------------------------------------*/
.conts {
    position: relative;
    width: 100%;
    padding: 0 0 0 0px;
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
}

.btn {
    position: absolute;
}

.btn:hover {
    opacity: 0.7;
}

.btn img {
    width: 100%;
}

.order_btn {
    width: 80%;
    top: 87.5%;
    left: 50%;
    transform: translateX(-50%);
}

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;
}

.pdf {
    width: 60%;
    position: absolute;
    bottom: 0.5%;
    left: 50%;
    transform: translateX(-50%);
}

.pdf img {
    width: 100%;
}

.form {
    position: absolute;
    top: 27.2%;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
}

.form img {
    width: 100%;
}

a img:hover {
    opacity: 0.7;
}

.tw_btn img:hover {
    opacity: 0.7;
}

.register {
    position: absolute;
    width: 21%;
    top: 54.5%;
    right: 4.7%;
}

.register:hover {
    opacity: 0.7;
}

.register img {
    width: 100%;
}

.ebook_banner {
    position: absolute;
    width: 95%;
    top: 27%;
    left: 50%;
    transform: translate(-50%, 0);
}

.ebook_banner:hover {
    opacity: 0.7;
}

.access {
    margin: 0 0 0 0;
    width: 100%;
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(../images/access.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.access:before {
    content: "";
    display: block;
    padding-top: 159.9%;
    width: 100%;
    height: 100%;
}

.access_link iframe.map1 {
    position: absolute;
    top: 7%;
    left: 4.5%;
    width: 25%;
    height: 22%;
    box-shadow: 1px 0px 7px #000;
}

.access_link iframe.map2 {
    position: absolute;
    top: 34%;
    left: 4.5%;
    width: 25%;
    height: 22%;
    box-shadow: 1px 0px 7px #000;
}

.lb_anker {
    color: #fff;
    background-color: #F1307F;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    top: -23px;
    padding: 0 10px;
}

.lb_anker:hover {
    opacity: 0.7;
}

/* safari */
/* Safari 7.1+ (9.0 is the latest version of Safari at this time) */
_::-webkit-full-page-media,
_:future,
:root .lb_anker {
    color: #fff;
    background-color: #F1307F;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    top: -23px;
    padding: 0 10px;
}

.twitter {
    position: absolute;
    bottom: 2.5%;
    right: 10%;
    width: 25%;
}

.apply {
    position: absolute;
    top: 38.5%;
    right: 50%;
    transform: translateX(50%);
    width: 55%;
}

.tweet {
    position: absolute;
    bottom: 16%;
    right: 50%;
    transform: translateX(50%);
    width: 80%;
}

.map_btn {
    position: absolute;
    top: 31%;
    left: 8%;
    width: 17%;
}

.entry2 {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
}

.entry2 img {
    width: 100%;
}

/*-----conts-------------------------------------*/
/*-----footer-------------------------------------*/
.footer {
    position: relative;
    width: 100%;
    margin: 0;
    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 a:hover {
    opacity: 0.7;
}

.footer:before {
    content: "";
    display: block;
    padding-top: 32.7%;
    width: 100%;
    height: 100%;
}

.footer_tit_btn {
    position: absolute;
    display: inline-flex;
    flex-direction: row;
}

.company_btn {
    top: 12.5%;
    height: 56%;
    position: absolute;
}

.company_btn img {
    height: 100%;
}

.btn1 {
    left: 2.5%;
}

.btn2 {
    left: 20.5%;
}

.btn3 {
    left: 36.5%;
}

.melon {
    position: absolute;
    right: 15%;
    bottom: 18%;
    width: 15%;
}

/*-----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;
    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;
    }

    .logo {
        margin: 20% 0 0 0;
    }

    .chart_icon {
        position: absolute;
        width: 13%;
        top: 88%;
        left: 3%;
    }

    .social {
        position: fixed;
        top: 2%;
        left: 9.5%;
        z-index: 3000;
        display: flex;
        flex-direction: row;
    }

    .social a {
        margin: 0 40% 0 0;
    }

    .personality_body #wrapper {
        width: 100%;
        margin: 0;
    }

    .personality {
        padding: 100px 0 0 0;
        width: 90%;
    }

    #nav-drawer {
        position: fixed;
        z-index: 100;
        top: 2%;
        left: 3.5%;
        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;
        /*滑らかに表示*/
        transform: translateX(-105%);
        /*左に隠しておく*/
    }

    /*チェックが入ったらもろもろ表示*/
    #nav-input:checked ~ #nav-close {
        display: block;
        /*カバーを表示*/
        opacity: .5;
    }

    #nav-input:checked ~ #nav-content {
        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;
        position: relative;
    }

    #nav {
        display: none;
    }
}

/*---------------------診断--------------------------------*/
.personality {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 70%;
    padding: 0;
}

.personality img.personality_main {
    width: 100%;
}

.chart {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.chart a {
    width: calc(100% / 8);
    height: auto;
    display: block;
}

.chart a img {
    width: 100%;
}

.chart a img:hover {
    opacity: 0.7;
}

.personality_body #wrapper {
    width: 100%;
    margin: 0;
}
