@charset "UTF-8";
@import url("style_reset.css");
@import 'https://fonts.googleapis.com/css?family=Questrial';

/*
  * "Questrial" is lisenced under the SIL Open Font License
  * http://scripts.sil.org/OFL
  * by https://www.google.com/fonts(Joe Prince)
  */

/*
  * "font-awesome" is lisenced under the SIL Open Font License 1.1
  * http://scripts.sil.org/OFL
  * by http://fontawesome.io/
  */
  
  

/*---- 全体 ----*/

*{
	box-sizing: border-box;
	word-break: normal;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

html {
	font-size: 62.5%;	/*em指定用*/
}

body {	/* スマホ用 */
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;	/*Chrome,Safari*/
	-moz-text-size-adjust: 100%;	/*EgdeMobile*/
	-ms-text-size-adjust: 100%;		/*firefox*/
	-o-text-size-adjust: 100%;
}

body{
	background: url(img/back.gif) repeat fixed 0% 0%; /* 背景色 */
	color: #2b2b2b; /* 文字色 */
	line-height: 1.7em; /* 行間 */
	text-align: center;
	font-size: 1.3rem;
	letter-spacing: 0.3px;
	font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, 'Lucida Grande', sans-serif;  
}


/*---- リンク ----*/

a {padding:0 0.1em;}
a:link {color: #668999; text-decoration: none;}
a:visited {color: #D0826C; text-decoration: none;}
a:active {color: #666600; text-decoration: none;}
a:hover {color: #666600; text-decoration: underline;}

/*---- レイアウト ----*/

div#container{
	padding: 0;
	text-align: left;
}

header{
}

#title_image {
	z-index: 1;
	position: fixed;
	bottom: 10px;
	right: 10px;
	width:172px;
	height: 336px;
	background: url(img/top.gif) no-repeat;
	_float: right;
}

main{
	margin: 0 0 0 0; 
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	position: relative;
	clear: both;
	_float: left;
}

.block_n{
	z-index: 2;
	margin: 0 0 20px 10px;
	float: left;
	width: 31%;
	max-width: 455px;
	min-width: 345px;
}

.block_w{
	z-index: 2;
	margin: 0 0 20px 10px;
	float: left;
	width: 34%;
	max-width: 455px;
	min-width: 345px;
}

@media all and (max-width: 1118px) {
	div#container{
		margin: 0; 
	}

	.block_w, .block_n{
		margin: 0 10px 50px; 
		width: 45%;
		min-width: reset;
		min-width: initial;
	}
	.block_n{
		width: 39%;
	}
}

@media all and (max-width: 850px) {
	div#container{
		margin: 0; 
	}

	.block_w, .block_n{
		margin: 0 2.5% 50px; 
		width: 95%;
		min-width: reset;
		min-width: initial;
	}
}

/* スマホ用 */
@media all and (max-device-width: 479px) {
	div#container{
		margin: 0; 
	}

	.block_w, .block_n{
		margin: 0 0 50px; 
		width: 100%;
		min-width: reset;
		min-width: initial;
	}
}

/* 本文部分 */
.text{
	padding: 1em;
	background-color: #fafafa;
}

.text:last-of-type{
	padding: 1em 1em 2.2em;
	background-color: #fafafa;
}

nav{
	margin:3px 0 0 0;
	padding: 1em;
	background-color: #fafafa;
}

/*---- 見出し ----*/

h1{
	margin:0 0 3px 0;
	padding:0.9em 0.5em 0.6em;
	color: #666600;
	font-size: 1.7rem;
	font-weight:none;
	letter-spacing: 0.2rem;
	background-color: #fafafa;
	font-family: 'Questrial', sans-serif;
}

h2 {
	margin:0;
	padding:0 0 0.1em 1em;
	color:#4c4c00;
	font-size: 1.45rem;
	font-weight:none;
	letter-spacing: 0.05rem;
	background:url(img/h2.gif) no-repeat 0% 48%;
	font-family: 'Questrial', sans-serif;
}

h3 {
	margin:0 0 0;
	padding:0 0 0.1em 1em;
	font-size: 1.3rem;
	font-weight:none;
	background:url(img/h3.gif) no-repeat 0% 48%;
}

/*---- その他 ----*/

td {
	color: #2b2b2b; /* 文字色 */
	line-height: 1.7em; /* 行間 */
	font-size: 1.3rem;
}

/* フォーム */
form {
	margin: 0.5em 0 0;
}

textarea {
	font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, 'Lucida Grande', sans-serif;  
	border: 1px solid #2b2b2b;
	background: #fafafa;
	margin: 0;
	padding: 0.5em;
	width:95%;
	font-size: 1.3rem;
	color:#2b2b2b;
	line-height: 1.5em;
}

textarea.idx {
	height:6em;
}

input {
	border: 1px solid #2b2b2b;
	background: #fafafa;
	margin: 0 0.3em 0.3em 0;
	padding: 0.18em;
	font-size: 1.3rem;
	color:#2b2b2b;
	vertical-align: middle;
}

input.bt {
	font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, 'Lucida Grande', sans-serif;  
	border: 1px solid #000;
	background: #e4e4e4;
	margin: 0.5em 0;
	padding: 0.1em 1em;
	font-size: 1.3rem;
	color:#000;
}

/*---- dream.php ----*/
/* 名前変換 */
form.changeName {width: 210px;}
/* ラベル非表示 */
form.changeName legend{display: none;}
form.changeName label {display: none;}
/* フォーム横並び */
form.changeName ul, form.changeName li, form.changeName p, form.changeName ul.process li{display: inline-block;}
form.changeName .process {display: block;} /* ボタンのみ段違い */
/* 入力欄 */
form.changeName input{width:90px; margin:0 0 0.5em 0.5em;}
/* ボタンデザイン */
form.changeName .process input{
	font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, 'Lucida Grande', sans-serif;  
	border: 1px solid #000;
	background: #e4e4e4;
	margin: 0.5em;
	padding: 0.1em 1em;
	font-size: 1.3rem;
	width: auto;
	color:#000;
}

/*---- 装飾 ----*/

/* 最後のpはdiv.text側でマージンを取る */
p {margin:0 0 1em;}
p:last-of-type {margin:0;}

em {color: #C20000;font-style: normal;}
b {font-weight: bold;}
small {font-size: 1.2rem;}

/* web拍手 */
.clap {
	margin: 1em 0.5em;
}

/* お知らせ */
.info {padding: 0 0 0 20px; margin: 0; background: url(img/info.gif) no-repeat 0% 55%;}

/* 最終更新 */
.star {padding: 0 0 0 15px; margin: 0; background: url(img/star.gif) no-repeat 0% 55%;}
.nostar {padding: 0 0 0 15px; margin: 0;}

/* 更新履歴 */
dl.update {margin: 0; padding: 0; font-size: 1.2rem;}
dl.update dt {margin: 0 0 0.3em 0; padding: 0; width: 5em; float: left;}
dl.update dd {margin: 0 0 0.3em 5em; padding: 0 0.5em;}

/* 小説補足 */
.deco {padding:0 0.1em 0 0.5em; margin:0 0 0 0.1em; color:#666666; border-left: 1px dotted #4c4c00; font-size: 1.2rem;}
.qm {padding: 0 0 0 20px; margin: 0; background: url(img/qm.gif) no-repeat 0% 55%;}
.un {padding:0; margin:0; background: #e8e8e8; color: #666666; text-decoration:line-through;}
.sq {padding: 0 0 0 12px; margin: 0; background: url(img/h3.gif) no-repeat 0% 55%;}
.white {color:#fafafa;}
.mk {
	padding:0 0.5em 0 0.5em;
	margin:0 0 0 0.1em;
	border-left: 1px dotted #4c4c00;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(40%, transparent), color-stop(0%, #ffecea));
	background: linear-gradient(transparent 50%, #ffecea 0%);
	font-size: 1.2rem;
}

/* タイトル */
/* 共通定義 */
.world, .lycoris, .tsui, .kiss, .sakura, .ice, .life, .opera, .fanta {
	padding:10px 0 10px 40px; margin:0 0 1em; font-weight:bold;
}

.world {color:#5F9EA0; background:url(img/world.gif) no-repeat 0% 55%;}
.lycoris {color:#BC8F8F; background:url(img/lycoris.gif) no-repeat 0% 55%;}
.tsui {color:#CD853F; background:url(img/tsui.gif) no-repeat 0% 55%;}
.kiss {color:#89acd7; background:url(img/kiss.gif) no-repeat 0% 55%; padding:0 0 0 40px;}/*タイトルが長いのでpadding:調整*/
.sakura {color:#cd7171; background:url(img/sakura.gif) no-repeat 0% 55%;}
.ice {color:#9574cd; background:url(img/ice.gif) no-repeat 0% 55%;}
.life {color:#939393; background:url(img/life.gif) no-repeat 0% 55%;}
.opera {color:#000000; background:url(img/opera.gif) no-repeat 0% 55%;}/*#de297b*/
.fanta {color:#b79537; background:url(img/fanta.gif) no-repeat 0% 55%;}
/* 共通定義も追加すること */

dl.title {margin: 0; padding:5px 0; line-height: 1.4em;}
dl.title_t {margin: 0; padding:5px 0 8px; line-height: 1.4em;}
dl.title dt, dl.title_t dt {margin: 0; width:42px; float: left;}
dl.title dd, dl.title_t dd {margin: 0 0 0 42px; padding: 0; }
dl.title_t span {line-height: 1.65em;}

img.title, img.title_t {margin-top: 2px; padding: 1px; border: 1px solid #d0d0d0;}

/* 表示/非表示ボタン */
.hide .target        {display:none;}
      .trigger       {color:#2b2b2b; cursor:pointer; font-weight:bold;}
      .trigger:after {content:url(img/cross.gif); padding-left:0.3em; vertical-align:-3px;}
      .trigger:hover {color:#666600;}
.hide .trigger:after {content:url(img/res.gif);}
p.target {padding-bottom: 1em;}
div.target {padding-bottom: 1em;}

/* 上に戻るボタン */
#page_top{
	z-index: 3;
	width: 35px;
	height: 35px;
	position: fixed;
	line-height: 35px;
	right: 5px;		/* 余白 */
	bottom: 2.5px;	/* 余白 */
	background: #EB9793;
	opacity: 0.6;
}
#page_top a{
	position: relative;
	width: 35px;
	height: 35px;
	display: block;
	text-decoration: none;
}

#page_top a::before{
	font-family: FontAwesome;
	content: '\f106';
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 35px;
	height: 35px;
 	top: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

/* 下に戻るボタン */
#page_bottom{
	z-index: 3;
	width: 35px;
	height: 35px;
	line-height: 35px;
	position: fixed;
	right: 5px;		/* 余白 */
	top: 2.5px;		/* 余白 */
	background: #EB9793;
	opacity: 0.6;
}
#page_bottom a{
	position: relative;
	width: 35px;
	height: 35px;
	display: block;
	text-decoration: none;
}

#page_bottom a::before{
	font-family: FontAwesome;
	content: '\f107';
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 35px;
	height: 35px;
	bottom: 0;
	left: 0;
	text-align: center;
}

/* 粧裕スイッチ */
input[type=checkbox] {
    display: none;
}
.checkbox01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 0 0 0 20px;
    position: relative;
    width: auto;
}
.checkbox01::before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 13px;
    width: 13px;
    left: 0px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
}
.checkbox01::after {
    border-right: 3px solid #ed7a9c;
    border-bottom: 3px solid #ed7a9c;
    content: '';
    display: block;
    height: 9px;
    left: 3.5px;
    margin-top: -8px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}
input[type=checkbox]:checked + .checkbox01::after {
    opacity: 1;
}
