/************************************
** common
************************************/
*{
    font-family: 'Noto Sans JP', sans-serif;
}
body{
    background-color: #fbf8e9;
}
.content-wrap{
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: auto;
    height: auto;
    /* padding: 3em 0; */
}
.sp{
    display: none;
}
.pointer-events{
    pointer-events: none;
    background: linear-gradient(#bcd2dd, #607D8B)!important;
}
a{
    transition: all .5s;
}
a:hover{
    transform: scale(1.1);
}
img{
	vertical-align:top;
}
main{
    margin-top: 8em;
}
.bg-fix{
        z-index: 2;
    position: relative;
}
#fv{
        z-index: 1;
    position: relative;
}
/* #contact,
#specials,
#collection,
#about{
        z-index: 3;
    position: relative;
} */

@media screen and (max-width: 480px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
}
@media screen and (max-width: 750px) {
    main{
        margin-top: 7em;
    }
}

/************************************
** animation
************************************/
.fadeInUpTrigger{
	opacity: 0;
}
/************************************
** header
************************************/

/* ハンバーガーメニュー */
.header {
  background-color: white;
  width: 100%;
  height: 5em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}


/* ヘッダーのロゴ部分 */
.header__title {
  width: 80px;
}


@media screen and (min-width: 960px) {
  .header__title {
    width: 120px;
  }
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease .4s;
}


@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
}


@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}



@media screen and (min-width: 960px) {
  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
        justify-content: space-around;
  }
}

/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

  .nav-items__item a span{
    display: block;
    font-size: 0.8em;
  }

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
        display: grid;
  }

}


/* ハンバーガーメニュー */

.header__hamburger {
  width: 48px;
  height: 100%;

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

/************************************
**　fixあしらい
************************************/
.bg-fix-img01{
    position: fixed;
    width: 19em;
    transform: scale(-1, 1);
    left: -4em;
    top: 2em;
    animation: fuwafuwa .8s ease-in-out infinite alternate;
}
@keyframes fuwafuwa {
  0% {
    transform:rotate(-2deg) scale(-1, 1);
  }
  100% {
    transform:rotate(2deg) scale(-1, 1);
  }
}
.bg-fix-img02{
    position: fixed;
    width: 11em;
    left: 1em;
    top: 18em;
    animation: fuwafuwa02 1s ease-in-out infinite alternate;
}
@keyframes fuwafuwa02 {
  0% {
    transform: scale(-1, 1) rotate(339deg);
  }25%{
        transform: scale(-1, 1) rotate(341deg);
  }50%{
        transform: scale(-1, 1) rotate(339deg);
  }75%{
        transform: scale(-1, 1) rotate(339deg);
  }
    100% {
    transform: scale(-1, 1) rotate(339deg);
  }
}
.bg-fix-img03-01{
    position: fixed;
    width: 5em;
    right: 8em;
    top: 12em;
    animation: fuwafuwa03 2s ease-in-out infinite alternate;
}
.bg-fix-img03-02{
    position: fixed;
    width: 5em;
    right: 2em;
    top: 6em;
    animation: fuwafuwa03 2s .4s ease-in-out infinite alternate;
}
.bg-fix-img03-03{
    position: fixed;
    width: 5em;
    right: 0;
    top: 12em;
    animation: fuwafuwa03 2s .7s ease-in-out infinite alternate;
}
@keyframes fuwafuwa03 {
  0% {
    transform:translateY(0);
  }5%{
    transform:translateY(-5px);
  }6%{
    transform:translateY(0);
  }100% {
    transform:translateY(0);
  }
}
.bg-fix-img04{
    position: fixed;
    width: 19em;
    transform: scale(-1, 1) rotate(24deg);
    right: -6em;
    bottom: 2em;
    animation: fuwafuwa04 1s ease-in-out infinite alternate;
}
@keyframes fuwafuwa04 {
  0% {
    transform: scale(-1, 1) rotate(24deg);
  }50%{
        transform: scale(-1, 1) rotate(26deg);
  }75%{
        transform: scale(-1, 1) rotate(24deg);
  }
    100% {
    transform: scale(-1, 1) rotate(24deg);
  }
}
@media screen and (max-width: 1200px) {
    .bg-fix{
        display: none;
    }
}

/************************************
** fv
************************************/

.fv-block{
    position: relative;
}
.fv .contents-block > img{
        padding: 3em 0;
}
.fv-txt{
    position: absolute;
    top: 2em;
    left: 1em;
    font-size: 2em;
    color: #2ca070;
}
.fv-txt-p01{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #fff241;
    display: inline;
}
.fv-txt-p02{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #fff241;
    margin: auto 0.5em;
}
.fv-tokuten-box{
        position: relative;
            margin-top: 2em;
    }
.fv-tokuten-box a{
        width: 60%;
    display: block;
    margin: auto;
}

.fv-img-illust03{
width: 6em;
    position: absolute;
    top: 9em;
    right: 6em;
}
.fv-img-illust04{
width: 8em;
    position: absolute;
    top: 3em;
    left: 6em;
}

@media screen and ( max-width:749px) {
    .fv-txt{
        font-size: 1.4em;
        top: -1em;
}

    .fv-tokuten-box a{
        width: 80%;
        margin: 0;
    }
    .fv-img-illust03{
        top: 4em;
        width: 4em;
        right: 0;
    }
    .fv-img-illust04{
        width: 5em;
        top: 0;
        left: auto;
        right: 1em;
    }
}


/************************************
** contents
************************************/
.menu-list{
    width: 60%;
    background-color: #ffffff;
    margin: 3em auto;
    border-radius: 50px;
}
.menu-list ul{
    display: flex;
    justify-content: space-evenly;
    padding: 1em 0;
    flex-wrap: wrap;
}
.menu-list ul li{
    position: relative;
    font-size: 1em;
    font-weight: 600;
    text-align: left;
    padding-left: 0.5em;
}
.menu-list ul li a{
    color: #607D8B;
    text-decoration: underline;
}
@media screen and (max-width: 1200px) {
    .menu-list{
    width: 90%;
    margin: 0 auto;
    border-radius: 8px;
    }
    .menu-list ul{
        justify-content: flex-start;
    }
    .menu-list ul li:first-child{
        margin-top: 0;
    }
    .menu-list ul li{
        text-align: center;
        width: 100%;
        padding: 0.3em;
    }
    .menu-list ul li a{
        font-size: 0.9em;
    }
    .menu-list ul li a:before{
        display: block;
        content:"▼";
        position: absolute;
        right: 2%;
        left: auto;
        text-align: center;
    }
    .contents02 .menu-list ul li a:before{
        display: block;
        content:"▼";
        position: absolute;
        right: 2%;
        left: auto;
        text-align: center;
        transform: rotate(180deg);
    }

}
/************************************
** 私の本棚とは？
************************************/
.contents-block{
    width: 80%;
    margin: 7em auto;
}
.c-title{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
}
.c-detail{
    display: flex;
    margin-top: 2em;
        width: 70%;
    margin: 2em auto;
}
.c-txt{
    margin: 2em;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
.c-txt p{
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

@media screen and (max-width: 1200px) {
    .contents-box{
        padding: 2em;
    }
    .c-detail{
        display: block;
    }
    .c-img{
        width: 90%;
        margin: auto;
    }
    .c-img p{
        font-size: 1.1em;
        height: auto;
    }
    .c-title{
        font-size: 2.5em;
    }
    .c-txt{
        width: 90%;
        margin: auto;
        padding-top: 2em;
    }
    .menu-list ul li:before{
        display: none;
    }

}
@media screen and (max-width: 820px) {

    .contents-block{
        border-radius: 8px;
        width: 90%;
    }
    .contents-box{
        padding: 1em;
    }
    .c-title{
        font-size: 1.8em;
        margin: 1em auto;
    }
    .c-detail{
        margin-top: 1em;
    }
    .c-txt{
        padding-top: 1em;
    }
    .c-txt p{
        font-size: 1em;
    }

}
@media screen and (max-width: 480px) {
    .c-title{
        font-size: 1.5em;
        margin: 0.5em auto;
    }
}
/************************************
** のらのらBooksとは
************************************/

.about-box{
        margin: auto;
    padding: 2em 0 5em;
}
.about-img{
        width: 80%;
    margin: 2em auto;
}
.about-txt{
        width: 80%;
    margin: auto;
}
@media screen and (max-width: 750px) {
    #about .contents-block{
            margin: 3em auto;
    }
    .about-img{
        margin: 0 auto 2em;
    }
    .about-txt{
        width: 100%;
}
}
/************************************
** 全巻紹介
************************************/
.howto-parts{
    width: 80px;
    margin: auto;
}
.allbooks-txt{
    text-align: center;
}
.allbooks-img-illust{
    width: 8em;
    position: absolute;
    top: -8em;
    right: 6em;
}
.howto-box{
    background-color: #e3c69c;
    padding: 1em;
    margin: 1em;
    border-radius: 10px;
    width: 80%;
    margin: 2em auto;
}
.allbooks-btn-box{
    margin: 1em;
    display: flex;
}
.allbooks-btn{
    display: block;
    border: 1px solid #000000;
    border-radius: 12px;
    margin: 0 auto;
    text-align: center;
}
.allbooks-btn a{
    color: #000000;
    display: block;
    padding: 0.5em 1em;
}
.allbooks-select{
    width: 30%;
    background-color: #ffffff;
    color: #000000;
    display: block;
    padding: 0.5em 1em;
    cursor: pointer;
    box-shadow: 4px 4px #887760;
}
.allbooks-buy-link{
    background-color: #cdcf61;
    width: 40%;
}
.allbooks-txt{
    margin: 1em;
}
.allbooks-txt .a-t-number{
    background-color: #676767;
    text-align: center;
    color: #ffffff;
    display: inline-block;
    padding: 0 0.5em;
}
.allbooks-sample-box{
    text-align: center;
    margin: 1em auto;
}
.allbooks-sample-box img{
    width: 60%;
}
.howto-box h3{
    font-weight: 600;
    font-size: 1.2em;
    margin: 1em;
}
.allbooks-detail-box{
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: center;
    margin: 3em auto;
}
.allbooks-img{
    width: 60%;
    margin: auto;
}
.howto-box .hajimete-b{
    background: linear-gradient(#FFE8AA, #CEA847);
    display: block;
    text-align: center;
    padding: 1em;
    border-radius: 100px;
    font-size: 1.1em;
    color: #000000;
    font-weight: 600;
    margin: 2em auto;
}
.howto-box .button1,
.howto-box .button2
{
    background: linear-gradient(#A5CBEC, #2196f3);
    display: block;
    text-align: center;
    padding: 1em;
    border-radius: 100px;
    font-size: 1.1em;
    color: #000000;
    font-weight: 600;
    margin: 2em auto;
}
.howto .title-p{
    text-align: center;
}
.howto-title-inner{
    position: relative;
}
.hajimete-t{
    text-align: center;
}
.setplan{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.setplan div{
    background-color: #737373;
    height: 70px;
    width: 70px;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.7em;
    color: #ffffff;
}
.month01,.month02{
    width: 100%;
    margin: 2em auto;
    display: block;
    padding: 0.5em;
    border: 1px solid #000000;
    color: #000000;
    font-weight: 600;
    position: relative;
}

select{
    -webkit-appearance: none;
    appearance: none;
}
.new-contents div{
    position: relative;
    width: 80%;
    margin: auto;
}
.new-contents div:after{
    display: inline-block;
    content: "▼";
    position: absolute;
    top: 50%;
    right: 2%;
    margin: auto;
    transform: translate(0, -50%);
}

.allbooks-select.active {
    background-color: #e3f1ff;
    color: #004a8f;
}

@media screen and (max-width: 1200px) {
    .allbooks-select{
        margin: 1em auto;
    }
    .allbooks-buy-link{
        width: 40%;
        margin: 1em auto;
    }
    .allbooks-img-illust{
        width: 7em;
        right: 1em;
        top: -8em;
    }
    .howto-block{
        padding: 0;
    }
    .setplan div{
        height: auto;
        width: 70%;
        border-radius: initial;
        padding: 0.2em;
    }
    .howto .contents-block{
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 750px) {
        .allbooks-img-illust{
        width: 4em;
        right: 1em;
        top: -7em;
    }
        .allbooks-btn-box{
        display: block;
    }
        .allbooks-select{
            width: 100%;
    }
        .allbooks-buy-link{
        width: 100%;
    }
        .allbooks-detail-box{
        flex-direction: column-reverse;
        display: flex;
    }
}


/************************************
** Specials
************************************/
.specials-img-illust{
    width: 6em;
    position: absolute;
    top: 0;
    right: 6em;
}
.firstvisit h3{
    text-align: center;
    font-size: 1.4em;
    font-weight: 600;
    margin: 2em auto;
}
.specials-ing-box{
    position: relative;
}
.specials-img{
        width: 80%;
    margin: 5em auto;
}
.specials-seed01{
position: absolute;
    top: 4em;
    left: 0;
    width: 10em;
}
.specials-seed02{
    position: absolute;
    top: 17em;
    left: 0;
    width: 10em;
}
.specials-seed03{
    position: absolute;
    top: -2em;
    left: 0;
    right: 0;
    margin: auto;
    width: 10em;
}
.specials-seed04{
    position: absolute;
    top: 5em;
    right: 0;
    width: 10em;
}
.specials-seed05{
    position: absolute;
    top: 16em;
    right: 0;
    width: 10em;
}
.specials-txt-ttl{
        font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 1em auto;
}
.specials-btn-box{
        margin: 2em auto;
            display: flex;
}
.specials-btn{
    margin: auto;
}
.specials-btn a{
    color: #ffffff;
    background-color: #e86820;
    border-radius: 26px;
    display: block;
    border: 1px solid #000000;
    margin: 0 auto;
    text-align: center;
    padding: 1em 4em;
}

.f-visit-img{
    width: 150px;
    margin: auto;
}
.f-visit-movie{
    width: 60%;
    margin: 3em auto;
    text-align: center;
}
.f-visit-movie .md-btn img{
    width: 560px;
}
.firstvisit .md-contents{
    height: auto;
  }
.firstvisit .md-inner{
    overflow-y: auto;
  }
  .firstvisit i{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    margin-right: 1em;
  }
  @media screen and (max-width: 1200px) {
.specials-img-illust{
        width: 7em;
        right: 1em;
        top: -2em;
}
.specials-seed01{
    top: 2em;
}
.specials-seed02{
    top: 10em;
}
.specials-seed03{
top: -4em;
}
.specials-seed04{
top: -1em;
}
.specials-seed05{
    top: 9em;
}

}
  @media screen and (max-width: 749px) {
    .specials-img-illust{
    width: 5em;
        right: 1em;
        top: -5em;
    }

        .specials-seed01,
    .specials-seed02,
    .specials-seed03,
    .specials-seed04,
    .specials-seed05
    {
    width: 6em;
}
}
/************************************
** contact
************************************/
.contents-img-illust{
        width: 6em;
    position: absolute;
    top: 0;
    right: 6em;
}
.contact-box{
    margin: 2em auto;
}
.contact-box p{
    text-align: center;
}
.contact-img-illust{
    position: absolute;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 10em;
}
  @media screen and (max-width: 1200px) {
    .contents-img-illust{
        width: 7em;
        right: 1em;
        top: -2em;
        }
  }
  @media screen and (max-width: 749px) {
    .contents-img-illust{
            width: 6em;
            right: 1em;
            top: -5em;
        }
  }

/************************************
** footer
************************************/
footer{
    background-color: #6b5e28;
}
footer nav{
    padding: 2em 0;
}
footer nav ul{
    flex-wrap: wrap;
    display: flex;
    justify-content: space-evenly;
}
footer nav ul li{
    padding: 1em;
}
footer  nav ul li a{
    display: block;
    text-align: center;
    color:#ffffff;
}
footer nav ul li a span{
    display: block;
}
.sns-block{
    display: flex;
    align-items: center;
    margin: 3em auto;
    justify-content: space-evenly;
    width: 250px;
}
.sns-x img{
    width: 1.5em;
}
.sns-ig img{
    width: 1.5em;
}
.sns-fb img{
    width: 1.7em;
}
.sns-yt a{
    align-items: center;
    display: flex;
}
.sns-yt img{
    width: 1.5em;
}
.sns-note img{
    width: 2.3em;
}
.copyright{
    text-align: center;
    color: #ffffff;
    font-size: 0.7em;
        padding: 2em 0;
}
  @media screen and (max-width: 1200px) {
    footer .contents-block nav ul{
            display: block;
    }
}

  @media screen and (max-width: 750px) {
    footer nav ul{
        display: block;
    }
}




/************************************
** バナー
************************************/
.fixed{
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: #f6f6f6;
    opacity: 0;
    transition: all 1s ease;
    z-index: 999999;
    width: 6em;
    margin-left: auto;
    border: 1px solid #000000;
}
.fixed .content-wrap{
    padding: 0;
}
.fixed .content-wrap p{
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.5em;
    font-size: 0.7em;
}
.fadeInBunner{
    opacity: 1;
    transition: all 1s ease;
}
.fixed .try-button,
.fixed .back-button{
    text-align: center;
    margin: 1em;
}
.fixed .try-button img{
    width: 3em;
}
.fixed .back-button img{
    width: 2.3em;
}
.fixed p{
    color:#000000;
}
.fixed .try-button::after{
    content: "";
    position: absolute;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    margin:auto;
    width: 80%;
    height: 1px;
    background-color: #000000;
}


@media screen and (max-width: 1200px) {
    .fixed{
        padding: 0.2em;
    }
    .fixed .try-button, .fixed .back-button{
        margin:0;
    }
    .fixed .try-button a{
        font-size: 0.8em;
        width: 80%;
        margin: 0.5em auto;
    }
    .fixed .try-button img{
        width: 2em;
    }
    .fixed .back-button img{
        width: 1.3em;
    }
}
/************************************
** モーダルウィンドウ
************************************/
body.is-scrollLock{
    overflow: hidden;
}
.md-btn{
    position: relative;
    display: block;
}
.md-btn::after{
    content: "サンプル";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dddddd54;
    /* color: #ffffff; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    font-weight: 800;
}
.md-overlay{
    display: none;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    z-index: 99;
    position: fixed;
    top: 0px;
    left: 0px;
    opacity: 0.3;
  }
   
  .md-contents{
    display: none;
    width: 100%;
    max-width: 1000px;
    height: auto;
    background: rgb(255, 255, 255);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }
   
   
  .md-inner{
    background: #fff;
    height: 100%;
    overflow-y: auto;
    text-align: center;
    overflow-y: scroll;
    margin: 0 auto;
  }
   
   
   
  .md-xmark{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 22px;
    z-index: 9999;
    cursor: pointer;
    background-color: #ffffff;
  }
   
  .md-xmark span {
    height: auto;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
  }
   
  .md-xmark span:nth-of-type(1) {
    top: 0;
    transform: translateY(10px) rotate(-45deg);
  }
   
   
  .md-xmark span:nth-of-type(2) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }
  @media screen and (max-width: 820px) {
    .md-contents{
        width: 80%;
    }
    .md-btn::after{
        font-size: 1em;
    }
}