@charset "Shift_JIS";

/*汎用設定*/

body {
    color: #333;
    font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.7em;
    line-break: strict;
    word-break: break-all;
    text-align: justify;
    text-justify: distribute;
    background: url(../images/bg.jpg) fixed;
}

a:link {
    text-decoration: none;
    color: #F60;
}

a:visited {
    text-decoration: none;
    color: #F60;
}

a:hover {
    text-decoration: underline;
    color: #ff9900;
}

img {
    border: none;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/*エリア指定*/

#headerLine {
    width: 100%;
    height: 60px;
    background: url(../images/line.jpg) repeat-x;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* header */
#top-head {
    font-size: 18px;
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 20px 0 0;
    line-height: 1;
    z-index: 999;
}

#top-head a,
#top-head {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

#top-head .inner {
    position: relative;
}

#top-head .logo {
    /*float: left;
	font-size: 20px;
	padding-left: 10px;*/
    display: none;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 20px;
    top: 0;
    font-size: 18px;
    text-shadow: 1px 1px 0 #fff,
        -1px 1px 0 #fff,
        1px -1px 0 #fff,
        -1px -1px 0 #fff;
}

#global-nav ul li {
    float: left;
    position: relative;
}

#global-nav ul li a {
    padding: 0 15px;
}

/* Btn Hover */
#global-nav ul li:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    bottom: -5px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

#global-nav ul li:hover:after {
    background: #ff005e;
    bottom: -10px;
}


/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 49px;
    background: rgba(253, 161, 195, 0.9);
    border-bottom: 1px solid #1a1a1a;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#top-head.fixed a {
    color: #fff;
}

#top-head.fixed .logo {
    font-size: 18px;
    color: #fff;
    padding-top: 10px;
    padding-left: 20px;
    display: block;
    -moz-text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
    -webkit-text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

#top-head.fixed #global-nav ul {
    top: 10px;
}

#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 15px;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
    bottom: -5px;
}

#top-head.fixed #global-nav ul li:hover:after {
    background: #fff;
    bottom: -10px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 17px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #ff0;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

#wrap {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 20px auto;
    overflow: hidden;
    z-index: 10;
    position: relative;
}

#header {
    top: 0px;
    left: 0px;
    height: 0;
    padding-top: 63%;
    position: relative;
    width: 100%;
    background: url(../images/header.png) no-repeat;
    background-size: cover;
    overflow: hidden;
    text-indent: -9999px;
    margin-top: 60px;
}

#contents-wrap {
    width: 100%;
    background-image:
        url(../images/frame_top_left.jpg),
        url(../images/frame_top_right.jpg),
        url(../images/frame_bottom_left.jpg),
        url(../images/frame_bottom_right.jpg),
        url(../images/frame_top.jpg),
        url(../images/frame_bottom.jpg),
        url(../images/frame_left.jpg),
        url(../images/frame_right.jpg),
        url(../images/frame_bg.jpg);
    background-size: 52px 52px, 52px 52px, 52px 52px, 52px 52px, 52px 52px, 52px 52px, 52px 52px, 52px 52px, 52px 52px;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-x, repeat-y, repeat-y, repeat;
    background-position: left top, right top, left bottom, right bottom, left top, left bottom, left top, right top, left center;
    box-sizing: border-box;
    padding: 30px;
}

h2 {
    color: #735d3b;
    background: url(../images/midashi.jpg);
    padding: 15px;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 1em;
    font-weight: bold;
    border-bottom: 1px solid #333;
    margin-top: 1em;
    padding-bottom: 0.5em;
}

#info dt {
    float: left;
    width: 8em;
    text-align: left;
    color: #A31619;
}

#info dd {
    margin: 0 0 0 8em;
    text-align: left;
}

.thanks {
    font-size: 1.6em;
    font-weight: bold;
    color: #f00;
}

.text-wrap {
    box-sizing: border-box;
    padding: 30px;
}

.bookbanner {
    width: 100%;
    margin-bottom: 3%;
}

.bookbanner img {
    width: 100%;
}

.cc01 {
    font-size: 1.2em;
    font-weight: bold;
    color: #FF5A7F;
}

.cc02 {
    font-size: 1.2em;
    font-weight: bold;
    color: #00C4BF;
}

.cc03 {
    font-size: 1.2em;
    font-weight: bold;
    color: #f90;
}

.profbox01 {
    border: 3px solid #FF5A7F;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border-radius: 5px;
}

.profbox02 {
    border: 3px solid #00C4BF;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border-radius: 5px;
}

.profbox01 .title,
.profbox02 .title {
    font-weight: bold;
    font-size: 1.6em;
    margin-bottom: 0.5em;
}

.profbox01 .name,
.profbox02 .name {
    margin-bottom: 1.5em;
    border-bottom: 2px dotted #ccc;
    padding-bottom: 1.5em;
}

.profbox01 .fantasy {
    font-weight: bold;
    color: #FF5A7F;
    margin-bottom: 1em;
}

.profbox02 .modern {
    font-weight: bold;
    color: #00C4BF;
    margin-bottom: 1em;
}

.prize {
    top: 0px;
    left: 0px;
    height: 0;
    padding-top: 13.44444%;
    position: relative;
    width: 100%;
    background: url(../images/prize.jpg) no-repeat;
    background-size: cover;
    overflow: hidden;
    text-indent: -9999px;
}

ul.entry {
    width: 102%;
    margin-right: -2%;
    overflow: hidden;
    margin-bottom: 1em;
    list-style: none;
}

ul.entry li {
    width: 48%;
    float: left;
    margin-right: 2%;
}

ul.entry li img {
    width: 100%;
}

.awards {
    top: 0px;
    left: 0px;
    height: 0;
    padding-top: 83.52941%;
    position: relative;
    width: 100%;
    background: url("../images/awards.jpg") no-repeat;
    background-size: cover;
    overflow: hidden;
    text-indent: -9999px;
}

#footer-wrap {
    width: 100%;
    background: #fff;
    padding: 20px 10px;
    box-sizing: border-box;
}

#footer {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9em;
}


/*MOBILE--------------------------------------------------------------------------------------*/

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

    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }

    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }

    #top-head a {
        color: #fff;
    }

    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }

    #mobile-head {
        background: rgba(253, 161, 195, 0.9);
        width: 100%;
        height: 60px;
        z-index: 999;
        position: relative;
        border-bottom: 1px solid #1a1a1a;
    }

    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 10px;
        top: 22px;
        color: #333;
        font-size: 18px;
        display: block;
        -moz-text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
        -webkit-text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
        text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
    }

    #top-head.fixed .logo {
        top: 12px;
        left: -10px;
    }

    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }

    #global-nav ul li {
        float: none;
        position: static;
    }

    #global-nav ul li:after {
        display: none;
    }

    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #ff005e;
        padding: 15px 0;
        border-bottom: 1px solid #ccc;
    }

    #nav-toggle {
        display: block;
    }

    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(560px);
        -webkit-transform: translateY(560px);
        transform: translateY(560px);
    }

    #wrap {
        padding: 0 10px;
        box-sizing: border-box;
    }

}

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

    #header {
        top: 0px;
        left: 0px;
        height: 0;
        padding-top: 100%;
        position: relative;
        width: 100%;
        background: url(../images/header2.png) no-repeat;
        background-size: cover;
        overflow: hidden;
        text-indent: -9999px;
        margin-top: 60px;
    }

    body {
        font-size: 12px;
    }

    #headerLine {
        display: none;
    }

    #contents-wrap {
        padding: 10px;
    }

    .text-wrap {
        padding: 15px;
    }

    #info dt {
        float: noe;
        width: 100%;
        text-align: left;
        color: #A31619;
    }

    #info dd {
        margin: 0 0 0 0;
        text-align: left;
    }

    #footer {
        text-align: left;
    }

    ul.entry {
        width: 100%;
        margin-right: 0;
        overflow: hidden;
        margin-bottom: 0;
        list-style: none;
    }

    ul.entry li {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 1em;
    }

    .prize {
        top: 0px;
        left: 0px;
        height: 0;
        padding-top: 96.25%;
        position: relative;
        width: 100%;
        background: url(../images/prize2.jpg) no-repeat;
        background-size: cover;
        overflow: hidden;
        text-indent: -9999px;
    }

    .awards {
        top: 0px;
        left: 0px;
        height: 0;
        padding-top: 178.3333333%;
        position: relative;
        width: 100%;
        background: url("../images/awards2.jpg") no-repeat;
        background-size: cover;
        overflow: hidden;
        text-indent: -9999px;
    }


}
