@charset "utf-8";
/* ヘッダー（タイトル） */
#yumenta .top {
    position: relative;
    background: url("../../img/header_under_back.jpg") no-repeat 25% 65% / 100%;
    background-size: cover;
    padding: 20px 0 100px 0;
}
#yumenta .top:after {
    content: "";
    position: absolute;
    background: url("../../img/header_border.png") no-repeat left top / 100%;
    width: 100%;
    height: 4vw;
    bottom: -1px;
    left: 0;
}
#yumenta .top h1 {
    position: relative;
    width: 1000px;
    margin: 0 auto 10px auto;
    padding: 0 150px;
}
#yumenta .top h1:before {
    position: absolute;
    content: '';
    background: url("../../img/moon_yumenta.png") no-repeat left top / 100%;
    width: 130px;
    height: 130px;
    top: 0;
    left: 0;
}
#yumenta .top h1:after {
    position: absolute;
    content: '';
    background: url("../../img/moon_chuckl.png") no-repeat right top / 100%;
    width: 130px;
    height: 130px;
    top: 0;
    right: 0;
}
#yumenta .top h2 {
    width: 900px;
    margin: 0 auto;
    background: url(../../img/top_illust.png) no-repeat center right;
    padding: 80px 280px 80px 0;
    background-size: 260px 260px;
}
#yumenta article h1 {
    width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 0 50px 0;
}
/* おしらせ */
#yumenta article .ttl_notice:before {
    content: "";
    display: block;
    position: absolute;
    background: url("../../img/ttl_left01.png") no-repeat left top;
    width: 35%;
    height: 100%;
    top: 0;
    left: 0;
}
#yumenta article .ttl_notice:after {
    content: "";
    display: block;
    position: absolute;
    background: url("../../img/ttl_right01.png") no-repeat right top;
    width: 35%;
    height: 100%;
    top: 0;
    right: 0;
}
#yumenta article .ttl_notice img {
    width: 20%;
    margin: 0 auto;
}
#yumenta article section {
    width: 1000px;
    margin: 0 auto;
}
#yumenta .notice {
    width: 900px;
    margin: 0 auto 70px auto;
    border: 15px #7bd0ff solid;
    border-radius: 30px;
    padding: 20px 40px 0px 40px;
}
#yumenta .notice dl {
    margin: 0 0 20px 0;
}
#yumenta .notice dl dt {
    width: 120px;
    float: left;
    margin-right: 20px;
    background: #ed1c24;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 2px 0;
    letter-spacing: 0.1em;
    line-height: 150%;
}
#yumenta .notice dl dd {
    width: 640px;
    float: left;
    padding: 2px 0;
    line-height: 150%;
}
#yumenta .notice dl dd a:hover {
    color: #ed1c24;
}
/* えほんをみる */
#yumenta article .ttl_ehon:before {
    content: "";
    display: block;
    position: absolute;
    background: url("../../img/ttl_left02.png") no-repeat left top;
    width: 35%;
    height: 100%;
    top: 0;
    left: 0;
}
#yumenta article .ttl_ehon:after {
    content: "";
    display: block;
    position: absolute;
    background: url("../../img/ttl_right02.png") no-repeat right top;
    width: 35%;
    height: 100%;
    top: 0;
    right: 0;
}
#yumenta article .ttl_ehon img {
    width: 30%;
    margin: 0 auto;
}
#yumenta .ehon {
    width: 900px;
    margin: 0 auto 80px auto;
}
#yumenta .ehon a {
    width: 430px;
    float: left;
    display: block;
}
#yumenta .ehon a:hover {
    opacity: 0.8;
}
#yumenta .ehon a:first-child {
    margin-right: 40px;
}
/* iframe */
/*
.ehon_frame {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.ehon_frame li img {
    display: block;
    width: 100%;
}
.frame_prev {
    left: 40px;
    z-index: 1;
}
.frame_next {
    right: 40px;
}
.frame_prev, .frame_next {
    position: absolute;
    width: 65px;
    bottom: -73px;
    border-radius: 50%;
    background: #008ecf;
    cursor: pointer;
}
.frame_prev div, .frame_next div {
    position: relative;
    width: 100%;
    padding-top: 65px;
    text-indent: -9999px;
}
.frame_prev div:before, .frame_next div:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 25px;
    width: 20px;
    height: 20px;
    margin: auto;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
*/
.ehon_frame div {
  width: 100%; /* full width */
  margin-right: 0;
}
.ehon_frame div img {
  width: 100%;
}


/* えほんバナー  */
#yumenta .bnr_ehon {
    width: 350px;
    margin: 0 auto;
    display: block;
}
#yumenta .bnr_ehon:hover {
    opacity: 0.8;
}

@media (max-width: 812px) {
/* ヘッダー */
#yumenta .top {
    padding: 20px 0 70px 0;
}
#yumenta .top h1 {
    width: 95%;
    margin: 0 auto 20px auto;
    padding: 0 85px;
}
#yumenta .top h1:before {
    position: absolute;
    content: '';
    background: url("../../img/moon_yumenta.png") no-repeat left top / 100%;
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
}
#yumenta .top h1:after {
    position: absolute;
    content: '';
    background: url("../../img/moon_chuckl.png") no-repeat right top / 100%;
    width: 80px;
    height: 80px;
    top: 0;
    right: 0;
}
#yumenta .top h2 {
    width: 95%;
    margin: 0 auto;
    padding: 15px 0;
    background-size: 20%;
    background: none;
}





#yumenta article {
    padding-left: 10px;
    padding-right: 10px;
}
#yumenta article .ttl_notice {
    width: 35%;
    padding: 0 0 30px 0;
}
#yumenta article .ttl_ehon {
    width: 50%;
    padding: 0 0 30px 0;
}
#yumenta article .ttl_notice:before,
#yumenta article .ttl_ehon:before {
    content: none;
    display: none;
    position: static;
    background: none;
}
#yumenta article .ttl_notice:after,
#yumenta article .ttl_ehon:after {
    content: none;
    display: none;
    position: static;
    background: none;
}
#yumenta article .ttl_notice img,
#yumenta article .ttl_ehon img{
    width: 100%;
}
#yumenta article section {
    width: 100%;
}
/* おしらせ */
#yumenta .notice {
    width: 95%;
    margin: 0 auto 50px auto;
    padding: 10px 20px 0px 20px;
}
#yumenta .notice dl {
    margin: 0 0 10px 0;
}
#yumenta .notice dl dt {
    width: 30%;
    float: none;
    margin: 0 0;
    padding: 2px 0;
    line-height: 130%;
    font-size: 90%;
}
#yumenta .notice dl dd {
    width: 100%;
    float: none;
    padding: 2px 0;
    line-height: 130%;
    font-size: 90%;
}
/* えほんをみる */
#yumenta .ehon {
    width: 95%;
    margin: 0 auto 80px auto;
}
#yumenta .ehon a {
    width: 75%;
    float: none;
    margin: 0 auto;
}
#yumenta .ehon a:first-child {
    margin: 0 auto 20px auto;
}
.modaal-container { background: none; }
.modaal-iframe-elem { height: calc(50vw + 65px); }
/* えほんバナー  */
#yumenta .bnr_ehon {
    width: 70%;
}

}

@media (max-width: 480px) {
/* ヘッダー */
#yumenta .top h1 {
    width: 95%;
    padding: 0;
    margin: 0 auto;
}
#yumenta .top h1:before {
    position: static;
    content: '';
    background: none;
    width: auto;
    height: auto;
    top: inherit;
    left: inherit;
}
#yumenta .top h1:after {
    position: static;
    content: '';
    background: none;
    width: auto;
    height: auto;
    top: inherit;
    right: inherit;
}
/* おしらせ */
#yumenta .notice {
    width: 95%;
    margin: 0 auto 35px auto;
    padding: 10px 10px 0px 10px;
    border: 10px #7bd0ff solid;
    border-radius: 15px;
}
#yumenta .notice dl dt {
    width: 45%;
    line-height: 120%;
    font-size: 85%;
}
#yumenta .notice dl dd {
    width: 100%;
    line-height: 120%;
    font-size: 85%;
}
/* えほんをみる */
#yumenta .ehon {
    margin: 0 auto 50px auto;
}
#yumenta .ehon a {
    width: 95%;
}
#yumenta .ehon a:first-child {
    margin: 0 auto 20px auto;
}
/* iframe */
.frame_prev, .frame_next {
    width: 45px;
    bottom: -55px;
}
.frame_prev div, .frame_next div {
    padding-top: 45px;
}
.frame_prev div:before, .frame_next div:before {
    right: 17px;
    width: 15px;
    height: 15px;
}
.frame_prev div:before {
    right: 10px;
}
.modaal-iframe-elem { height: calc(50vw + 45px); }
/* えほんバナー  */
#yumenta .bnr_ehon {
    width: 90%;
}

}
