/************************************
** common
************************************/
*{
    font-family: 'Noto Sans JP', sans-serif;
}
body{
    background-color: #20762c;
}
.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;
}
.is-active{
    text-decoration: line-through;
    color: #000000!important;
}

@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__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: 1250px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: auto;
  }
}

@media screen and (max-width: 749px) {
  .header-title img{
    width: 13em;
  }
}

@media screen and (min-width: 1250px) {
  .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: 1250px) {
  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
        justify-content: space-around;
  }
}

/* ナビのリンク */
.nav-items__item{
        margin: auto 3em;
        color: #ffffff;
        display: block;
        text-align: center;
        background-color: #5295D1;
        padding: 0.5em 1em;
        border-radius: 11px;
}
.nav-items__item a {
    color: #ffffff;
}

@media screen and (max-width: 1250px) {
    .nav-items__item{
        margin: 2em auto;
}

}


/* ハンバーガーメニュー */

.header__hamburger {
  width: 48px;
  height: 100%;

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 1250px) {
  .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-box{
        position: relative;
    background-color: #ffffff;
border-radius: 150px;
    padding: 2em;
        width: 90%;
        margin: auto;
}
.fv-title{
    width: 60%;
    margin: auto;
    margin: 2em auto;
    position: relative;
}
.fv-title:after{
    content:"";
    width:80%;
    height: 2px;
    position: absolute;
    background-color: #a4a4a4;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: auto;
}
.fv-txt{
    text-align: center;
    font-size: 1.7em;
    margin: 2em auto;
}



.fv-img-illust01{
    width: 11em;
    position: absolute;
    bottom: -1em;
    left: 2em;
}
.fv-img-illust02{
    width: 7em;
    position: absolute;
    top: 14em;
    left: 5em;
}
.fv-img-illust03{
    width: 6em;
    position: absolute;
    top: 3em;
}
.fv-img-illust04{
    width: 15em;
    position: absolute;
    bottom: 0;
    right: 0;
}
.fv-img-illust05{
    width: 6em;
    position: absolute;
    top: 15em;
    right: 6em;
}
.fv-img-illust06{
    width: 6em;
    position: absolute;
    top: 0em;
    right: 0em;
}


@media screen and ( max-width:749px) {
    .fv-box{
        width: 80%;
        margin: auto;
        border-radius: 10px;
    }
    .fv-title{
    width: 100%;
}
    .fv-txt{
        font-size: 1.4em;
        top: -1em;
}
.fv-img-illust01{
        width: 6em;
        left: 0;
        bottom: -2em;
}
.fv-img-illust02{
        top: -1em;
        left: 6em;
        width: 5em;
}
.fv-img-illust03{
        width: 4em;
        position: absolute;
        top: 0;
        left: 0;
}
.fv-img-illust04{
        width: 8em;
        right: 0;
        bottom: -4em;
}
.fv-img-illust05{
        top: -1em;
        right: 6em;
        width: 4em;
}
.fv-img-illust06{
        top: -1em;
        width: 3em;
}
}


/************************************
** 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: 4em auto;
}
.c-title{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin: 1em auto;
    color: #ffffff;
    position: relative;
    padding: 0.5em 0;
}
.c-title:after{
    content:"";
    width: 30%;
    height: 3px;
    background-color:#ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/* 
@media screen and (max-width: 1200px) {
    .contents-box{
        padding: 2em;
    }
} */

@media screen and (max-width: 820px) {

    .contents-block{
        border-radius: 8px;
        width: 90%;
    }

}
@media screen and (max-width: 480px) {
    .c-title{
        font-size: 1.5em;
        margin: 0.5em auto;
    }
}

.about .cp-banner{
    width: 70%;
    margin: 5em auto;
}
.about .content-wrap{
    overflow: hidden;
    margin: 4em auto;
}
.about .swiper02 img{
    height: auto;
    width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: bottom;
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 160px;
}

.about-txt{
        width: 80%;
    margin: auto;
        text-align: center;
            color: #ffffff;
}
.about-btn a{
    background-color: #ffffff;
    width: 60%;
    margin: 2em auto;
    text-align: center;
    padding: 1em;
    border-radius: 25px;
    border: 1px solid #000000;
    display: block;
    color: #000000;
}
@media screen and (max-width: 750px) {
    #about .contents-block{
            margin: 3em auto;
    }
.about .cp-banner{
    width: 90%;
    margin: 2em auto;
}
    .about-txt{
        width: 100%;
        text-align: left;
}
.about .swiper02 img{
        min-height: 5em;
        max-height: 5em;
}
}
/************************************
** specialcontents
************************************/
.special-box{
    background-color: #ffffff;
    padding: 5em;
    margin: 2em auto;
    position: relative;
        width: 80%;
}
.special-box:before{
    display: block;
    content: '';
    width: 200px;
    height: 3em;
    background-image: url(img/specials/tape.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    left: -40px;
    transform: rotate(-35deg);
}
.special-box::after{
    display: block;
    content: '';
    width: 200px;
    height: 3em;
    background-image: url(img/specials/tape.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 20px;
    right: -40px;
    transform: rotate(-35deg);
}
.special .bg-parts02{
    position: absolute;
    width: 9em;
    right: 0;
    top: 40px;
    z-index: 1;
}
.special h3{
    font-size: 40px;
    text-align: center;
    color: #ffffff;
}
.special-lead{
    margin: 2em auto;
    width: 80%;
    color: #ffffff;
    text-align: center;
}
.specialbox-lead{
    margin: 2em auto;
}
.special-detail{
    display: grid;
    grid-template-columns: 30% 50%;
    justify-content: space-evenly;
    margin: 3em auto;
}
.s-name{
    font-size: 1.2em;
    margin: 1em auto;
}
.s-sns{
    display: flex;
    align-items: center;
    justify-content: end;
        margin: 1em auto;
}
.s-sns a{
margin: auto 0.5em;
}
.s-sns img{
        width: 2em;
}

/* .special-info{
    margin: 2em auto;
    padding-top: 2em;
    width: 80%;
    position: relative;
}
.s-info-box{
    position: absolute;
    top: 55%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
} */

.box27 {
    position: relative;
    margin: 3em 0;
    padding: 2em;
    border: solid 3px #000000;
}
.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -30px;
    left: -2px;
    padding: 0 9px;
    height: 30px;
    line-height: 25px;
    font-size: 20px;
    background: #000000;
    color: #ffffff;
    /* font-weight: bold; */
    border-radius: 5px 5px 0 0;
}


.box27 ul{
    margin: 2em auto;
}
.box27 ul li{
    margin: 1em auto;
}
.box27 .s-btn{
    margin: 2em auto;
}
.s-btn a{
    background-color: #ffbcda;
    width: 60%;
    margin: 2em auto;
    text-align: center;
    padding: 1em;
    border-radius: 25px;
    border: 1px solid #000000;
    display: block;
    color: #000000;
}
.special-add{
    background-color: #ffffff;
    padding: 3em;
    margin: 5em auto;
    border-radius: 50px;
        width: 80%;
}
.s-ttl{
    width: 210px;
    transform: rotate(-5deg);
}
.s-add-txt{
        margin: 2em auto;
}
.s-add-list{
        margin: 1em auto;
}
.s-add-list ul li{
        list-style: disc;
    margin-left: 2em;
}
.s-thumb{
    margin: 2em auto;
        display: grid;
    grid-template-columns: 45% 45%;
    justify-content: space-around;
}
.s-login a{
        background-color: #ffffff;
    width: 60%;
    margin: 2em auto;
    text-align: center;
    padding: 1em;
    border-radius: 25px;
    border: 1px solid #000000;
    display: block;
    color: #000000;
}
@media screen and ( max-width:749px) {
    .special-box:before{
        display: none;
    }
    .special-box::after{
        display: none;
    }
    .special-box{
            padding: 1em;
            width: 80%;
    }
    .special h3{
            font-size: 1.3em;
            margin: 0.5em auto;
    }
    .special-lead{
        width: auto;
    }
    .special-detail{
        margin: 3em auto;
    grid-template-columns: 1fr;
    }
    .s-img{
            width: 70%;
        margin: auto;
    }
    .box27{
            padding: 1em;
    }
    .s-btn a{
            width: 80%;
    }
    .special-add{
        padding: 1em;
            border-radius: 0;
    }
    .s-ttl{
            width: 10em;
                transform: initial;
    }
    .s-add-txt{
            margin: 1em auto;
    }
    .s-login a{
            width: 80%;
    }
    .s-thumb{
        display: block;
    }
    .s-thumb img{
        margin: 1em auto;
    }

}

/************************************
** 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;
    }
}
/************************************
** これからの人へ
************************************/
.campaign{
    background-color: #fff59b;
    padding: 4em 0;
}
.campaign .bg-parts{
    position: absolute;
    width: 9em;
    right: 0;
    top: 80px;
}
.campaign h2{
    color: #000000;
}
.campaign .c-title:after{
    background-color: #000000;
}
.campaign-lead{
        text-align: center;
        margin: 3em auto;
}
.campaign .s-ttl{
    margin: 1em;
}
.c-logo{
    width: 50%;
    margin: auto;
}
.c-kakomi{
    margin: 2em auto;
        text-align: center;
}
.c-otameshi a{
    background-color: #5295D1;
    width: 60%;
    margin: 2em auto;
    text-align: center;
    padding: 1em;
    border-radius: 25px;
    border: 1px solid #000000;
    display: block;
    color: #ffffff;
}
.c-kakomi span{
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 0.5em 1em;
}
.c-ttl{
    margin: 1em auto;
    font-size: 30px;
    font-weight: 600;
}
.c-detail{
    background-color: #ffffff;
    margin: 2em auto;
    padding: 1em;
    display: flex;
    justify-content: space-around;
}
.c-days ul li{
    font-size: 2em;
    color: rgb(237 37 37);
}
.c-daysplus{
    margin: auto;
    width: 80%;
}
.c-add{
    margin: 5em auto;
    border-radius: 50px;
}
.c-coupon{
        width: 90%;
    margin: auto;
}
    .campaign-box p{
        margin: auto 1em;
    }
@media screen and ( max-width:749px) {
    .campaign .bg-parts{
    width: 5em;
    right: 0;
    top: -6em;
        transform: inherit;
}
.special .bg-parts02{
    width: 5em;
    right: 0;
    top: -2em;
    transform: inherit;
}
    .c-otameshi a{
            width: 80%;
    }
    .c-logo{
        width: 70%;
        margin: 2em auto;
    }
    .c-kakomi{
        text-align: center;
    }
    .c-ttl{
        font-size: 1.2em;
        text-align: center;
    }
    .c-detail{
        display: block;
    }
    .c-detail:after{
        display: none;
    }
    .c-days ul li{
            font-size: 1.3em;
    }
    .c-daysplus{
                width: 90%;
    }
    .c-daysplus .days-pre{
        width: 60%;
        margin: 0;
    }
    .c-add{
        margin: 3em auto;
    }
}


/************************************
** お問い合わせ
************************************/
.contact-box{
        text-align: center;
        color: #ffffff;
}
.contents-img-illust{
        position: absolute;
    top: 0;
    right: 0;
}
@media screen and ( max-width:749px) {
    .contents-img-illust{
            top: -3em;
    width: 5em;
    }
}


/************************************
** バナー
************************************/
.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;
    }
}