
* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal;
}

.clearfix:after { 
    visibility: hidden;
    display: block;
    content: " ";
    clear: both;
    height: 0;
}

body {
    font-family: 'Varela Round', Meiryo, 'Hiragino Kaku Gothic Pro', 'MS PGothic', Helvetica, Arial, sans-serif; 
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 21px;
    background: url(top.jpg) #333 left center / cover no-repeat fixed;
    color: #000;

}

article {
    display: block;
    box-sizing: border-box;
    max-width: 600px;
    width: 85%;
    padding: 25px 15px;
    margin: 30px auto;
    background: rgba(255,255,255,0.8);
    border-radius:10px;
}

article img{
  text-align: center;
    margin: auto;
  display: block;
  }

strong {
    font-weight: bold;
}

a {
    color: #000080;
}

p {
    margin-bottom: 20px;
}

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

h1 {
    text-align: center;
    font-size: 30px;
    font-family: "Nothing You Could Do", serif;
    text-shadow: 0 0 5px rgba(0,0,0,1);
    color: #fff;
}

h2 {
    text-align: center;
    font-family: "Nothing You Could Do", serif;
    font-size: 22px;
    margin: 10px 0;
}


.desc {
  font-family: "Kumar One Outline", fantasy;
	position: relative;
    margin: 10px auto;
	padding: 0 10px;
	background-color: #483d8b;
    height: 30px;
    line-height: 32px;
    text-align: center;
    color: #ccc;
    font-size: 15px;
    text-shadow: none;
}

.desc::before,
.desc::after {
	content: '';
	position: absolute;
    top: 0;
	z-index: 2;
}

.desc::before {
    left: 0;
    border-width: 15px 15px;
    border-style: solid;
    border-color: transparent;
    border-left-color: #d4d4e2;
}

.desc::after {
	right: 0;
	border-width: 15px 15px;
	border-style: solid;
	border-color: transparent;
	border-right-color: #d4d4e2;
}

ul {
    text-align: center;
    margin: 30px 0;
}

ul li {
    list-style-type: none;
    display: inline-block;
    margin: 0 10px;
    letter-spacing: 1px;
}

ul li span {
    display: block;
    font-size: 10px;
}

ul li i.fa {
    font-size: 30px;
}

ul li a {
    text-decoration: none;
}

.rank {
    text-align: right;
    font-size: 12px;
}







/* 小説ページ用コンテナ */
/* 名前登録ページ専用コンテナ */
.container,
.name-container {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  width: 90%;
  padding: 40px;
  text-align: center;
  margin: 15px auto;
}

.container {
  max-width: 600px;
}

/* 名前登録ページ専用コンテナ */
.name-container {
  max-width: 400px;
}

.name-container img{
  text-align: center;
  width: 350px;
  margin: 0 auto;
  display: block;
  }
  
  
/* 名前登録ページ専用スタイル */
.form-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}


/* 入力欄とプルダウンのスタイル統一 */
.form-group input[type="text"],
.form-group select {
  width: 100px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #555;
  background-color: #f4f4f4;
  box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
  outline: none;
  border-color: #aaa;
}

.form-group input[type="text"]::placeholder {
  color: #aaa;
}

/* 表示部分 */
.name-display {
  margin: 20px 0;

  color: #444;
  font-weight: 300;
}

/* ボタンスタイル */
button {
  background: #aaa1e6;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #bbb;
}


.novel {
    display: block;
    box-sizing: border-box;
    max-width: 600px;
    width: 85%;
    padding: 25px 0px;
    margin: 30px auto;
    background: #d4d4e2;
    color: #333;
}

.waku1 , .waku2{
    display: block;
    box-sizing: border-box;
    max-width: 400px;
    width: 75%;
    padding:20px 15px 20px;
    background: rgba(255,255,255,0.8);
    border-radius:10px;
    text-align: left;
}

.waku1{
  margin:30px 40px 30px 10px;
  transform: rotate(3deg);
}

.waku2 {
  margin:30px 10px 30px 40px;
    transform: rotate(-3deg);
}

