﻿@charset "utf-8";
/*----------------------------------------------------------------------------------
  初期設定はあまり触ることをおすすめしません
  数行下にあるカスタマイズ領域から編集可能となっております
  @media screen and (max-width: 798px)と
  @media screen and (max-width: 480px)は
  タブレットとスマートフォン用の設定です
  スマートフォンでは通常の文字が小さく見えるので、大きめに設定しています
---------------------------------------------------------------------------------- */

/* ********************************************************* */
/* 初期設定 */
/* ********************************************************* */
* {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    word-break: break-all;
    vertical-align: baseline;
}

html,body {
    width: 100%;
    font-size: 100%;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    color: #444;
    letter-spacing: .06em;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    -ms-interpolation-mode: bicubic;
}

li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
}

.clear {
    clear: both;
}


/* ↓↓ カスタマイズ領域開始 ↓↓
/* ********************************************************* */
/* 共通デザイン　1/4　背景、空白、リンク色、ハイライト色
/* ********************************************************* */
/*------------------------------------------------------------
 背景
------------------------------------------------------------ */
body {
    background: url(../img/bg2.png) 50% 50% fixed repeat;/*ピンクの背景画像指定。変える場合は『../img/bg2.jpg』を編集*/
}

#bg {
    background: url(../img/bg.jpg) 50% 50% fixed no-repeat;/*カップの背景画像指定。変える場合は『../img/bg.jpg』を編集*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

/*------------------------------------------------------------
 空白　ページの大きな空白部分
------------------------------------------------------------ */
#space {
    margin: 0 0 55% 0;
}

#space2 {
    margin: 0 0 15% 0;
}

/*------------------------------------------------------------
 全体のリンク色
------------------------------------------------------------ */
a:link,a:visited,a:active {
    color: #444;/*リンクが貼ってある文字の色 */
    text-decoration: none;
    -webkit-transition-duration: 0.3s;/*徐々に変化を与える*/
    transition-duration: 0.3s;/*徐々に変化を与える*/
}

a:hover {
    color: rgba(68,68,68,.3);/*リンクが貼ってある文字の上にマウスを乗せたときの色 */
    text-decoration: none;
}

a:link img {
    -webkit-transition-duration: 0.3s;/*徐々に変化を与える*/
    transition-duration: 0.3s;/*徐々に変化を与える*/
}

a:hover img {
    opacity: .5;
}

/*------------------------------------------------------------
 ハイライト色
 文章をマウスでハイライトしたときの文字色と背景色
 両方揃える
------------------------------------------------------------ */
::selection {
    background: #E2EFE6;
    color: #000;
}

::-moz-selection {
    background: #E2EFE6;
    color: #000;
}




/* ********************************************************* */
/* 共通デザイン 2/4　フォームレイアウト・デザイン
/* ********************************************************* */
/*------------------------------------------------------------
 フォームの幅と装飾
------------------------------------------------------------ */
form {
    padding: 0;
    margin: 0 auto;
    line-height: 160%;
}

textarea,input[type=text],input[type=reset],input[type=submit],input[type=button],button,select {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    margin: 0.125em;
    padding: 3px .313em;
    clear: both;
    display: inline;
    outline: none;
    font-size: .9em;
    background: #777;
    color: #eee;
    border: 0;
    border-radius: 0.063em;
}

textarea,input[type=text],input[type=reset],input[type=submit],input[type=button],button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=reset],input[type=submit],input[type=button],button,select {
    cursor: pointer;
}

textarea {
    width: 70%;
    height: 6.250em;
}

input[type=text] {
    width: 35%;
}

/*------------------------------------------------------------
 名前変換フォームの幅と装飾
------------------------------------------------------------ */
.design input[type=text] {
    width: 110px;
    margin: 3px 0;
}

.design input[type=button] {
    padding: 3px 15px;
    margin: 3px 0;
}

.design .submit {
    display: inline-block;
}

/*------------------------------------------------------------
 FC2やshinobiからレンタルしたフォームの装飾 削除可
------------------------------------------------------------ */
/*↓fc2メールフォーム用 要らなければ削除可↓ */
#fc2form #coution2 {
    color: #444 !important;
    font-family: Verdana;
}

#fc2form .submit .button {
    width: 65px;
}
/*↑fc2メールフォーム用 要らなければ削除可↑ */

/*↓shinobiメールフォーム用 要らなければ削除可↓ */
#shinobi_jp_text {
    width: 100% !important;
}

#default_top input {
    font-size: 1em !important;
}

#default_top br {
    display: none;
}
/*↑shinobiメールフォーム用 要らなければ削除可↑ */


/*------------------------------------------------------------
 フォームに書かれてある初期名詞などの文字色。すべて同じ色で揃える
------------------------------------------------------------ */
::-webkit-input-placeholder {
    color: silver;
}

::-moz-placeholder {
    color: silver;
}

input:-ms-input-placeholder {
    color: silver;
}






/* ********************************************************* */
/* 共通デザイン 3/4　ヘッダー、メニュー、トップ画像レイアウト
/* ********************************************************* */
/*------------------------------------------------------------
 ヘッダー枠とサイト名の装飾
------------------------------------------------------------ */
header {
    width: 20%;
    position: fixed;
    height: 100%;
    left: 0;
    bottom: 0;
    top: 0;
    border-right: 1px #e1e1e1 solid;/*サイト名の右側の縦線*/
    float: left;
}

h1 {
    text-align: center;
    font-size: 1.5em;/*サイト名文字の大きさ*/
    margin: 1.25em .125em;
    word-break: normal;
}

h1 a {
    word-break: normal;
}

#sub {
    color: #000;
}

/*------------------------------------------------------------
 メニューレイアウト
------------------------------------------------------------ */
#menu {
    float: right;
    position: fixed;
    z-index: 5;
    top: 30%;
    text-align: right;
    width: 20%;
    height: 250px;
    overflow-y: auto;
    font-size: 1.3em;
}

#menu li {
    width: 98%;
}

#menu > li {
    float: left;
    position: relative;
    height: auto;
}

#menu ul {
    display: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.tappu_menu {
    display: none;
}

.rinkucolor2 a:link,.rinkucolor2 a:visited,.rinkucolor2 a:active,.rinkucolor2 .mega {
    color: rgba(0,0,0,.7);/* スクロール前 マウスが当たっていない時時*/
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    cursor:pointer;
}

.rinkucolor2 a:hover, .rinkucolor2 .mega:hover{/* スクロール前 メニューのリンクレイアウト マウスが当たっている時*/
    color: rgba(0,0,0,.1);
}

.rinkucolor a:link,.rinkucolor a:visited,.rinkucolor a:active,.rinkucolor .mega {
    color: rgba(255,255,255,.8);/* スクロール後 マウスが当たっていない時*/
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    cursor:pointer;
}

.rinkucolor a:hover, .rinkucolor .mega:hover {/* スクロール後 メニューのリンクレイアウト マウスが当たっている時*/
    color: rgba(255,255,255,.3);
}



/* ********************************************************* */
/* 共通デザイン 4/4　主に使われている枠とメイン見出し　小説ページ抜き
/* ********************************************************* */
/*------------------------------------------------------------
 主に使われている枠
------------------------------------------------------------ */
#main {
    width: 80%;/* サイトの横幅 */
    float: right;
    font-size:.900em;/*文字の大きさ*/
}

.kakoi {/*内容を囲っている透明な箱 */
    max-width: 85%;/*箱の最大幅*/
    margin: 75em auto 0 auto;
    padding: .313em 0 0 0;
}

.divide {/* 枠を二分割する */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.hako {/* 枠を二分割する */
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 50%;
}


/*------------------------------------------------------------
 トップなどで多用されている見出し
------------------------------------------------------------ */
h3 {
    font-family: 'Sorts Mill Goudy',"ＭＳ 明朝",serif;/*特殊文字指定。文字デザインが苦手な場合この行を削除*/
    margin: 2em 0 0 0;
    font-size: 2em;/*文字の大きさ*/
}

/* ********************************************************* */
/* 更新履歴・メイン目次・連載個別目次レイアウト
/* ********************************************************* */
/*------------------------------------------------------------
 更新履歴レイアウト
------------------------------------------------------------ */
.update {
    border: 0;
    height: 80px;
    overflow: auto;
    padding: 5px;
    text-align: left;
    width: 50%;
    -webkit-overflow-scrolling: touch;
}


/*------------------------------------------------------------
 メイン目次レイアウト
------------------------------------------------------------ */
h4 {/* 相手の名の見出し */
    font-size: 1em;
}

h5 {/* 作品の長さの見出し 短編・中編・長編 */
    margin: 0 0 0 10px;
    padding: 0;
}

.rensai {/* 連載リスト */
    margin: 0;
}

.rensai a:link {
    word-break: break-all;
    display: inline-block;
}

.rensai a:link img{
    width:100%;
}

.tanpen {/* 短編リスト */
    margin: 0;
    word-break: normal;
}

.tanpen li {
    display: inline;
    margin: 0;
}

.tate {/* 目次・縦表示 */
    margin: 0 5px 10px 20px;
}

.shousai {/* 夢小説の詳細を表示する文字 .8em以上にする場合vertical-align:top;を削除 */
    font-size: .8em;/*文字の大きさ*/
    color: #888;/*文字の色*/
    vertical-align: top;
}


/*------------------------------------------------------------
 連載/長編個別目次レイアウト
------------------------------------------------------------ */
#mokuji {
    margin: 0 auto;
    padding: 0 15px;
    max-width: 680px; /*連載目次の最大横幅 */
}

#box h3 {/*連載ページ 見出し*/
    margin: 30px auto 0 auto;/*上の空間*/
    max-width: 710px; /*枠の最大横幅 */
}

.chapter {
    margin: 0 0 0 0.625em;
    padding: 0;
}

.serial {
    margin: 0 0 0 1.250em;
}

.serial li {
    display: inline-block;
    margin: 0 0.625em 0 0;
}


/* ********************************************************* */
/* 小説ページレイアウト
/* ********************************************************* */
/*------------------------------------------------------------
 小説ページのタイトル見出し
------------------------------------------------------------ */
h2{
    font-size: 1.4em;/*文字の大きさ*/
}

/*------------------------------------------------------------
 小説ページ枠
------------------------------------------------------------ */
#box {
    margin: 0 2%;
}

#box2 {
    margin: 0 auto;
    padding: 15px 0;
    max-width: 710px; /*枠の最大横幅 */
}


#story {
    padding: 1%;
    font-size: .860em;
    line-height: 185%;
    line-break: strict;/*小説の禁則処理 */
    word-break: normal;/*小説の禁則処理 */
}

/*------------------------------------------------------------
 前項・目次・次項 ページめくりレイアウト
------------------------------------------------------------ */
#page {
/*ページめくりの設定 中央にしたい場合、text-align:left;をtext-align:center;にしてください。右にしたい場合はtext-align:right;  */
    text-align: left;
    max-width: 710px;
    margin:0 auto;
}

#page a:link,#page a:visited,#page a:active {/*リンクの色 マウスが当たってない時 */
    color: #444;
    font-size:1.2em;
}

#page a:hover {/*リンクの色 マウスが当たってる時 */
    color: #aaa;
}



/* ********************************************************* */
/* その他レイアウト　Galleryページ
/* ********************************************************* */
/*------------------------------------------------------------
 Galleryページ
------------------------------------------------------------ */
.popup img {
    border: 1px solid #ccc;
}








/* ********************************************************* */
/* タブレット用のレイアウト指定 */
/* ********************************************************* */
@media screen and (min-width: 1px) and (max-width:798px) {

/* 文字の大きさ設定　拡大
--------------------------------------------- */
    body {
        font-size: 96%;
    }

/* ヘッダーと背景調整
--------------------------------------------- */
    #header {
        width: 100%;
        border: 0;
        position: absolute;
        top: 35%;
    }

    #bg {
        background: url(../img/bg.jpg) 50% 50% scroll no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .rinkucolor a:link,.rinkucolor a:visited,.rinkucolor a:active {
        color: rgba(0,0,0,.7);/*リンクが貼ってある文字の色 */
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        text-shadow: 0px 1px 3px rgba(0,0,0,0.2);
    }

    .rinkucolor a:hover {
        color: rgba(0,0,0,.3);/*リンクが貼ってある文字の色 マウスが当たってる時 */
    }

    .rinkucolor2 a:link,.rinkucolor2 a:visited,.rinkucolor2 a:active {
        color: rgba(0,0,0,.8);/*リンクが貼ってある文字の色 */
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .rinkucolor2 a:hover {
        color: rgba(255,255,255,.3);/*リンクが貼ってある文字の色 マウスが当たってる時 */
        text-shadow: 0 0 0.063em #fff;
    }

/* スマホとタブレットメニュー
--------------------------------------------- */
    #menu,#menu2 {
        display: none;
    }

    #menu li {
        padding: 0;
        margin: 0;
    }

    #smart {
        display: inline;
        width: 100%;
        top: 0;
        left: 0;
    }

    .tappu_btn {
        position: fixed;
        cursor: pointer;
        float: right;
        padding: 0.938em;
        top: 0.625em;
        right: 0.625em;
        height: 2.813em;
        z-index: 6;
        background: rgba(253,250,246,.7);
        border-radius: 03px;
    }

    .tappu_btn .tappu_icon-bar + .tappu_icon-bar {
        margin-top: 3px;
    }

    .tappu_icon {
        float: right;
        padding: 0.125em 0;
    }

    .tappu_icon-bar {
        display: block;
        width: 1.2em;
        height: .125em;
        border-radius: .063em;/* 背景の角の丸み */
        background: #000;/* 3つのバーの色 */
    }

    .tappu_menu {
        display: inline-block;
        width: 100%;
        font-size: 1em;
    }

    .tappu_menutxt {
        display: block;
        line-height: 13px;
        float: left;
        color: #FFF;
        font-weight: 700;
    }

    .tappu_no-text {
        margin: 0;
    }

    .tappu_arrow {
        margin: 0 0 0 .4em;
    }

    .tappu_nav {
        position: fixed;
        top: 0;
        clear: both;
        color: #555;
        font-size: .800em;
        background: rgba(0,0,0,0.9 );
        cursor: pointer;
        width: 37%;
        height: 100%;
        z-index: 5;
        word-wrap: break-word;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tappu_nav ul,.tappu_nav li {
        width: 100%;
    }

    .tappu_row {
        display: block;
        width: 100%;
    }

    .tappu_txtnode {
        margin-left: 10.313em;
    }

    .tappu_nav a,.tappu_nav a a {
        cursor: pointer;
        padding: 0.625em 1.250em;
        color: #eee;
        display: block;
    }

    .tappu_item a,.tappu_parent-link a {
        display: inline;
    }

    .tappu_nav a:hover {
        color: #444;
        background: rgba(255,255,255,.5);
    }

    .tappu_nav a a {
        background: none;
        display: none;
        margin: 0;
        padding: 0 .295em;
    }

    .tappu_nav a a:hover {
        background: none;
    }

/* 枠設定
--------------------------------------------- */
    .kakoi {
        max-width: 100%;
        padding: 0;
    }

    #main {
        width: 90%;
        float: none;
        margin: 0 auto;
    }

    .divide {
        display: -webkit-inline;
        display: -ms-inline;
        display: -webkit-inline;
        display: inline;
    }

/* 小説ページ　ページめくり中央
--------------------------------------------- */
#page {
    text-align: center;
}

/* 忍者ツールズ広告用　いらなければ削除
--------------------------------------------- */
    .tdftad {
        text-align: center;
        width: 99%;
    }
}








/* ********************************************************* */
/* スマートフォン用のレイアウト指定 */
/* ********************************************************* */
@media screen and (max-width: 480px) {

/* メールフォーム
--------------------------------------------- */
    textarea {
        width: 95%;
        height: 6.250em;
    }

    input[type=text] {
        width: 65%;
        height: 65%;
    }

/* 名前変換フォーム
--------------------------------------------- */
    .design textarea,.design input[type=text] {
        display: block;
        margin: 4px auto;
    }

    .design input[type=text] {
        width: 125px;
        margin: 10px auto;
    }

    .design .submit {
        text-align: center;
        display: block;
    }

    .design br {
        display: none;
    }

/* linkページ画像
--------------------------------------------- */
    .link img {
        display: block;
    }
}