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

/* ********************************************************* */
/* 初期設定
/* ********************************************************* */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

html,body {
    width: 100%;
    height: 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 auto;
    padding: 0;
    word-break: break-all;
    overflow-x:hidden;
}

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;
}




/* ↓↓ カスタマイズ領域開始 ↓↓
/* ********************************************************* */
/* 共通デザイン　1/4　文字色、ストライプ色、リンク色、ハイライト色
/* ********************************************************* */
/* ------------------------------------------------------------
 サイトの文字色と上下のストライプ色
------------------------------------------------------------ */
body {
    display: table; /* 内容が少なくても縦幅は保つように */
    color: #555; /* サイト全体の文字色 数ヶ所該当外 */
    background: #003862; /* 上下のストライプ青色指定 */
    padding: 9px 0; /* 9pxは上下の青色部分の縦幅 */
    letter-spacing: .06em;/* 文字と文字の間 */
}


/* ------------------------------------------------------------
 全体のリンク色
------------------------------------------------------------ */
a:link,a:visited,a:active {
    color: #555; /* リンクが貼ってある文字の色 */
    transition-duration: 0.4s; /* マウスが当たっとき徐々に色変化をする */
    text-decoration: none;
}

a:hover {
    color: #ccc; /* リンクが貼ってある文字の上にマウスを乗せたときの色 */
    transition-duration: 0.4s; /* マウスが当たっとき徐々に色変化をする */
    text-decoration: none;
}


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

::-moz-selection {
    background: #444;
    color: #eee;
}




/* ********************************************************* */
/* 共通デザイン 2/4　フォームレイアウト・デザイン
/* ********************************************************* */
/* ------------------------------------------------------------
 フォームの幅と装飾
------------------------------------------------------------ */
form {
    margin: 0 auto;
    padding: 0;
    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 8px;
    clear: both;
    display: inline;
    outline: none;
    font-size: 1em; /* 文字の大きさ */
    background: #fff; /* フォーム背景色 */
    color: #777; /* フォーム文字色 */
    border: 1px solid #ddd; /* 枠の太さ・種類・色 */
    border-radius: 2px; /* フォーム角の丸み */
}

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

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

textarea {
    width: 75%; /* フォームで文章を書く横幅 */
    height: 100px; /* フォームで文章を書く縦幅 */
}

input[type=text] {
    width: 40%; /* フォームなどで名前などを書く横幅 */
}

/* ------------------------------------------------------------
 名前変換フォームの幅と装飾
------------------------------------------------------------ */
.design input[type=text] {
    width: 115px; /* 横幅 */
    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: #c0c0c0;
}

::-moz-placeholder {
    color: #c0c0c0;
}

input:-ms-input-placeholder {
    color: #c0c0c0;
}

/* ------------------------------------------------------------
 大画面では表示して、少画面では内容を消すタグ
------------------------------------------------------------ */
.pc{
    display:inline;
}

.tablet{
    display:none;
}




/* ********************************************************* */
/* 共通デザイン 3/4　ヘッダー、メニュー、トップ画像レイアウト
/* ********************************************************* */
/* ------------------------------------------------------------
 ヘッダー枠とサイト名の装飾
------------------------------------------------------------ */
header {
    position:relative;
    height: 126px; /* サイト名の余白・高さ ↓と揃える */
    line-height: 126px; /* サイト名を縦中央へ↑と揃える */
    text-align:center; /* サイト名横中央へ */
    overflow:hidden; /* はみ出たものは表示しない */
}

#square {
    content: '';
    position:absolute;
    z-index:1;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    margin:auto;
    text-align: center;
    color: transparent;
    height:80px; /* サイト名の後ろにある◆の大きさ縦 */
    width:80px; /* サイト名の後ろにある◆の大きさ横 */
    transform:rotate(45deg); /* ■を45度回して◆にする */
    background: #eee; /* ◆の色 */
}

h1 {/* サイト名 文字色など リンクなし */
    position:relative;
    z-index:2;
    font-family: "游明朝", YuMincho,'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;/* フォント指定 */
    display: inline-block;
    vertical-align: middle;
    line-height: 100%;
    color: #BD9456; /* 文字色 */
    font-size: 1.8em; /* 文字の大きさ */
    letter-spacing:0.2em; /* サイト名の文字と文字の間隔 ↓揃える */
    text-indent:0.2em; /* サイト名の文字と文字の間隔 ↑揃える */
}

h1 a:link,h1 a:visited,h1 a:active {/* サイト名 文字色 リンクあり */
    color: #BD9456;
}

h1 a:hover {/* 文字の色 マウスがあたっているとき */
    color: #003862;
}


/* ------------------------------------------------------------
 メニューレイアウト
------------------------------------------------------------ */
#menu {
    display:block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#menu li {
    display: inline-block;
    text-align: center;
    font-size: 1em; /* 文字の大きさ */
    position:relative;
}

#menu li a,#menu .mega {/* メニューのリンクレイアウト マウスが当たっていないとき */
    width: 100%;
    text-align: center;
    display: inline;
    cursor: pointer;
    padding: 4px 15px; /* 4pxは上下の高さ 15pxは両横の長さ */
}

#menu .mega {
        transition-duration: 0.4s; /* 徐々に色変化をする */
}

#menu li a:hover,#menu .mega:hover {/* メニューのリンクレイアウト マウスが当たっているとき */
    color:#ccc; /* 文字色 */
    cursor: pointer;
}

#menu ul {/* メガメニュー用 */
    display: none;
    position: absolute;
    z-index: 10;
    width: auto;
    padding: 0;
    box-shadow:0px 0px 6px 0px #ccc; /* メニュー箱の影の太さと色 */
    background: #FEFEFD; /* 背景色 */
    border-radius: 2px; /* 角の丸み */
}

#menu li:last-child ul{
    right:0;
}

#menu ul li {/* メガメニュー用 */
    display: block;
    width: 100%;
    text-align: left; /* 文字左より */
    font-size: 1em; /* 文字の大きさ */
    white-space: nowrap; /* メニュー名が長くても改行しない */
}

#menu ul li a {/* メガメニュー用 リンクレイアウト マウスが当たってないとき */
    width: 100%;
    height: auto;
    border: 0;
    margin: 0;
    padding: 7px;
    display: block;
    line-height: 180%;
    text-align: left; /* 文字左より */
}

#menu ul li a:hover {/* メガメニュー用 リンクレイアウト マウスが当たってるとき */
    height: auto;
    border: 0;
    margin: 0;
    padding: 7px;
    display: block;
    background: #555; /* 背景色 */
    color: #fff; /* 文字色 */
    line-height: 180%;
}

#close{/* スマホ用 ここではまだ表示しない */
    display:none;
}

#smartbar{/* スマホ用 ここではまだ表示しない */
    display:none;
}




/* *************************************************************** */
/* 共通デザイン 4/4　主に使われている枠とメイン見出し メインの背景色　小説ページ抜き
/* *************************************************************** */
/* ------------------------------------------------------------
 主に使われている枠
------------------------------------------------------------ */
#cont {/* コンテンツを囲う大枠 */
    width:100%;
    height:100%;
    display: table-row; /* 内容が少なくても縦幅は保つように */
    background: #F9F9F6; /*メインの背景色 灰色 */
}

#main {/* コンテンツの横幅を保つ枠 */
    margin: 0 auto;
    word-break: break-all;
    max-width: 803px; /* サイトの横幅 */
    line-height: 160%;
}

.kakoi {/* 内容を囲っている枠 */
    width:100%;
    margin: -5px 0 50px 0; /* 50pxは項目と項目の余白 */
    font-size: 1em; /* 文字の大きさ */
}

.kakoi img {
    vertical-align: bottom;
}

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

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


/* ------------------------------------------------------------
 トップなどで多用されている見出し
------------------------------------------------------------ */
h3 {
    width: 100%;
    font-family: "游明朝", YuMincho,'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; /* フォント指定 */
    padding: 15px 0;
    font-size:1.4em; /* 文字の大きさ */
    color: #777; /* 文字色 */
    line-height: 160%; /* 文字と文字の隙間 */
}

h3:after {
    content:'';
    display:block;
    width:100%;
    height: 2px; /* 線の高さ */
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* 下の線 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* 下の線 */
}


/* ********************************************************* */
/* 更新履歴・メイン目次・連載個別目次レイアウト
/* ********************************************************* */
/* ------------------------------------------------------------
 更新履歴レイアウト
------------------------------------------------------------ */
.update {
    padding: 5px;
    border: 0; /* 枠なし */
    height: 120px; /* 枠の高さ */
    width: 99%; /* 枠の横幅 */
    line-height: 150%; /* 行と行の間隔 */
    overflow: auto;
    -webkit-overflow-scrolling: touch; /*アップル社の製品でスクロールを滑らかにする*/
}

.date {
    display: block;
    float: left;
    width: 15%; /* 日付の横幅 */
}

.detail {
    display: block;
    overflow: auto;
    width: auto;
}


/* ------------------------------------------------------------
 メイン目次レイアウト
------------------------------------------------------------ */
h4 {/* 相手の名の見出し */
    margin: 0 0 3px 0;
    padding: 0;
}

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

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

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

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

.tanpen {/* 短編リスト */
    margin: 0 0 0 1em;
}

.tanpen li {
    display: inline;
    word-break: break-all;
    margin: 0 2px;
}

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

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


/* ------------------------------------------------------------
 連載/長編個別目次レイアウト
------------------------------------------------------------ */
.chapter {
    margin: 0 0 0 10px;
    padding: 0;
}

.serial {
    margin: 0 0 0 20px;
}

.serial li {
    display: inline-block;
    margin: 0 10px 0 0;
}



/* ********************************************************* */
/* 小説ページレイアウト
/* ********************************************************* */
/* ------------------------------------------------------------
 小説ページのタイトル見出し
------------------------------------------------------------ */
h2 {
    width: 100%;
    height: 100%;
    font-family: "游明朝", YuMincho,'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; /* フォント指定 */
    font-size:1.55em; /* 文字の大きさ */
    vertical-align: middle;
    color: #BD9456; /* 文字色 */
    line-height: 120%; /* 題名と線の間隔 */
    position:relative;
    z-index:1;
}

h2:after {
    display:block;
    width:100%;
    height: 2px; /* 線の縦幅 */
    content:'';
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* 線の幅・種類・色 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* 線の幅・種類・色 */
    margin:5px 0 0 0;
}

h2:before{
    content: '';
    position:absolute;
    margin:auto;
    top:-5px;
    bottom:0;
    left:0;
    z-index:-1;
    height:52px; /* ◆の縦幅 */
    width:52px; /* ◆の横幅 */
    transform:rotate(45deg); /* ■を45度回転して◆に */
    background: #eee; /* ◆の色 */
}


/* ------------------------------------------------------------
 小説ページ枠
------------------------------------------------------------ */
#box {/* メニューより下のコンテンツを囲う枠 */
    margin: 0 auto;
    max-width: 803px; /* 小説ページの横幅 */
    line-height: 160%; /* 行と行の間隔 */
    word-break: break-all;
    padding:30px 0 0 0;
}

#story {
    font-size: 1em; /* 文字の大きさ */
    line-height: 185%; /* 行と行の間隔 */
    padding: 20px 19px; /* 上下左右の余白 */
    line-break: strict; /* 小説の禁則処理 */
    word-break: normal; /* 小説の禁則処理 */
}


/* ------------------------------------------------------------
 前項・目次・次項 ページめくりレイアウト
------------------------------------------------------------ */
#page {
    width: auto;
    height: 100%;
    padding:5px 0;
    text-align:center;
    font-family: "游明朝", YuMincho,'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size:1.3em; /* 文字の大きさ */
    vertical-align: middle;
    color: #BD9456; /* 文字色 */
    letter-spacing:0.5em; /* 文字と文字の間隔 ↓揃える */
    text-indent:0.5em; /* 文字と文字の間隔 ↑揃える */
}

#page li{
    position:relative;
    z-index:1;
    width:auto;
    margin:8px 10px;
    padding:0 10px;
    display:inline-block;
}

#page li:before{
    content: '';
    position:absolute;
    right:0;
    left:0;
    margin:auto;
    z-index:-1;
    height:30px; /* ◆の縦幅 */
    width:30px; /* ◆の横幅 */
    transform:rotate(45deg); /* ■を45度回転して◆に */
    background: #eee; /* ◆の色 */
}

#page a:link,#page a:visited,#page a:active {/* リンクの色 マウスが当たってないとき */
    color:#BD9456;
}

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



/* ********************************************************* */
/* その他レイアウト　linkページ、.galleryはギャラリー用 削除可、広告レイアウト
/* ********************************************************* */
/* ------------------------------------------------------------
 linkページ
------------------------------------------------------------ */
.link li {
    margin: 5px 0;
}

.link img {
    margin: 3px 0;
}

.linkbox {
    margin:3px 3px 3px 0;
    padding:3px 5px;
    width:99%; /*管理者とコメントを囲う枠の横幅*/
    border:1px solid #ececec; /* 枠の太さ・種類・色 */
    font-size:.9em; /*文字の大きさ*/
    background:#fff; /*背景色*/
    color:#555; /*文字色*/
}

.mastername{/*管理者名の文字色*/
    color:#BD9456;
}


/* ------------------------------------------------------------
 ギャラリーページ
------------------------------------------------------------ */
.gallery {
    text-align: center; /* 画像を中央寄せ */
}

/* ------------------------------------------------------------
 広告レイアウト FC2やshinobiサーバで広告を見やすく
------------------------------------------------------------ */
#fc2_footer{ /* FC2用 */
    margin:-35px 0 -35px 0;
}

.tdftad{ /* 忍者用 */
    margin:-25px auto 0 auto !important;
    max-width: 803px !important;/* サイトの横幅 広告用*/
}


/* ********************************************************* */
/* 小説ページの見出しがはみ出してしまうため、
/* それを阻止する微調整
/* ********************************************************* */
@media screen and (min-width: 1px) and (max-width:840px) {
#box{
    padding:30px 10px 0 10px;
}
}




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

/* 文字の大きさ設定 このテンプレではPCと同じ
/* 大きさです。100%を110%に変更すると拡大
--------------------------------------------- */
    body {
        font-size: 100%;
    }

/* パソコン版では消して、タブレットでは内容を表示するタグ
------------------------------------------------------------ */
    .pc{
        display:none;
    }

    .tablet{
        display:inline;
    }

/* 上下の余白
--------------------------------------------- */
    #main {
        margin: 0 auto;
        max-width: 100%;
    }

/* メールフォーム
--------------------------------------------- */
    textarea {
        width: 75%; /* 横幅 */
        height: 100px; /* 縦幅 */
    }

    input[type=text] {
        width: 35%; /* 横幅 */
    }

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

    #smart{
        display:none;
    }

    #close{
        display:inline;
    }

    #smartbar{
        display:block;
        font-size:1.2em;
    }

    #lines {
        display: inline-block;
        width: 17px; /* 3本線の横幅 */
        vertical-align:0.43em;
    }

    #lines span, #lines span:before, #lines span:after {
        content: '';
        cursor: pointer;
        position: absolute;
        display: block;
        border-radius: 1px; /* 線先の丸み */
        height: 1px; /* 線の太さ */
        width: 17px; /* 3本線の横幅 */
        background: #898989; /* 線の色 */
    }

    #lines span:before {/* 線と線の間 ↓と揃える */
        top: -0.31em;
    }

    #lines span:after {/* 線と線の間 ↑と揃える */
        bottom: -0.31em;
    }

    #lines span, #lines span:before, #lines span:after {/* 3本線が Xに変わる速さ 440を編集で速・遅 */
        transition: all 440ms ease-in-out;
    }

    #lines.active span {
        background: transparent;
    }

    #lines.active span:before, #lines.active span:after {
        top: 0;
    }

    #lines.active span:before {
        transform: rotate(45deg);
    }

    #lines.active span:after {
        transform: rotate(-45deg);
    }

    #smartbar{
        width:100%;
        text-align:center;
        cursor: pointer;
        font-family: "游明朝", YuMincho,'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'Osaka', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; /* フォント指定 */
        margin:10px 0 25px 0;
    }

    #smart {
        width: 100%;
        text-align: left;
        margin: -15px auto 25px auto
    }

    #smart li {
        text-align: center;
        font-size: 1em;
        position:relative;
        display:inline-block;
        width: 50%
    }

    #smart li a,#smart .mega {/* メニューのリンクレイアウト マウスが当たっていないとき */
        text-align: center;
        display: inline-block;
        cursor: pointer;
        padding: 4px 15px; /* 4pxは上下の高さ 15pxは両横の長さ */
    }

#smart .mega {
        transition-duration: 0.4s; /* 色変化*/
    }

    #smart li a:hover,#smart .mega:hover {/* メニューのリンクレイアウト マウスが当たっているとき */
        color: #ccc;
        cursor: pointer;
    }

    #smart ul {/* メガメニュー用 */
        display: none;/* はじめはメニューを非表示に */
        position: absolute;
        box-shadow:0px 0px 6px 0px #ccc; /* メニュー箱の影の太さと色*/
        background: #FEFEFD; /* 背景色*/
        z-index: 10; /* どのレイヤーよりも上に表示*/
        padding: 0;
        border-radius: 2px;/* 角の丸み */
        left:1.5%; /*  メガメニューの横幅↓と合わせる*/
        right:1.5%;/* メガメニューの横幅↑と合わせる*/
        width: 197%; /* メガメニューの横幅 200%から（leftとrightを足して（3%））マイナスした数*/
    }

    #smart li:nth-child(even) ul{
        right:0;
    }

    #smart ul li {/* メガメニュー用 */
        display: block;
        text-align: center;
        font-size: 1em;
        width: 100%;
        white-space: nowrap;
    }

    #smart ul li a {/* メガメニュー用 リンクレイアウト マウスが当たってないとき */
        width: 100%;
        height: auto;
        border: 0;
        line-height: 180%;
        display: block;
        padding: 7px;
        margin: 0;
    }

    #smart ul li a:hover {/* メガメニュー用 リンクレイアウト マウスが当たってるとき */
        background: #555;
        color: #fff;
        height: auto;
        border: 0;
        line-height: 180%;
        display: block;
        padding: 7px;
        margin: 0;
    }

    #smart ul li:first-child a:hover {/* メガメニュー用 一行目の丸み */
        border-radius: 2px 2px 0 0;
    }

    #smart ul li:last-child a:hover {/* メガメニュー用 最後の行の丸み */
        border-radius: 0 0 2px 2px;
    }

/* ヘッダー
--------------------------------------------- */
    h1 {/* サイト名 文字色など リンクなし */
        padding: 0 10px;
    }

/* 枠設定と見出し
--------------------------------------------- */
    .divide {
        display: inline;
    }

    .kakoi {/* 枠を二分割していたのを一列に */
        display: block;
        width: 100%;
        padding:0 5px;
        margin: 0 0 50px 0;
    }

    .hako {/* 枠を二分割していたのを一列に */
        width: 100%;
    }

    h3 {
        width: 100%;
        padding: 3px 5px;
        text-align: left;
        margin: 0 0 5px 0;
        font-size:1.25em;
    }

    h3 br {
        display: none;
    }

/* メニュー
--------------------------------------------- */
    ul#menu {
        margin:0 0 20px 0;
    }

    #menu li {
        width: 25%;
    }

    #menu li a,#menu .mega {
        padding: 4px 0; 
    }

/* 更新歴ページ
--------------------------------------------- */
    .date {
        display: block;
        float: none;
        width: 100%;
    }

    .detail {
        display: block;
        overflow: auto;
        width: 100%;
        padding: 0 0 15px 12px;
    }

/* 小説ページ枠
--------------------------------------------- */
    #box {
        margin: 0 0.5% 0 0.5%;
        max-width: 100%;
    }

/* 小説ページのタイトル見出し
--------------------------------------------- */
    h2 {
        font-size: 1.45em;
    }

/* 小説ページ枠
---------------------------------------------- */
   #story {
        padding: 20px 0.5%;
    }

/* linkページ画像、.lazyはギャラリー用 削除可
--------------------------------------------- */
    .linkbox {
        width:100%;
        margin:3px 0px 40px 0;
    }

}/* ここは消さないよう注意 */





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

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

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

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

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

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

    .design br {
        display: none;
    }

/* ヘッダー
--------------------------------------------- */
    h1 {/* サイト名 文字色など リンクなし */
        font-size: 1.55em;
        margin:0 auto;
    }

/* メニュー
--------------------------------------------- */
    #menu li {
        width: 50%;
    }

    #menu ul {/* メガメニュー用 */
        right: 5%;
        left: 5%;
    }

/*  前項・目次・次項 ページめくりレイアウト
------------------------------------------------------------ */
    #page li{
        padding:0 10px;
        margin:50px 10px;
        display:block;
        letter-spacing:0.3em;
        text-indent:0.3em;
    }

/* linkページ画像、.lazyはギャラリー用 削除可
--------------------------------------------- */
    .link{
        margin:20px 0;
    }

    .link img {
        display: block;
        margin: 3px 0;
    }

    .lazy {
        display: block;
        margin: 0 auto;
    }

}/* ここは消さないよう注意 */