h1{
	text-align: center;
	font-size: 2vmax;
	font-weight: bold;
	padding: 3vmax 0 0 0;
}

hr {
	border: none;
	border-top: 0.3vmax solid #000000;
	overflow: visible;
	text-align: center;
	margin: 5vmax 0vmax 5vmax 0vmax;
}

ul,li,p {
	margin: 0;
	padding: 1vmax;
}

ul,li {
	list-style: none;
}

body {
	font-family: sans-serif;
	width: 94%;				/* チャットルームの幅を指定 */
	background: #ffffff;	/* チャットルームの背景を白 */
	padding: 0.3vmax;		/* チャットルーム端からの余白 */
}

a:link{
  color:#000088;
}

a:visited{
  color:#440088;
}

a:hover{
	color:#990000;
	text-decoration: underline; /* マウスオーバー時に下線を表示 */
}

.chat {
	display: flex; /* 要素を横並び */
	margin-bottom: 0; /* チャット同士に隙間を作る */
}

.chat .mes {
	width: 85%; /* 短いチャット対応は、widthではなくmax-widthを指定 */
	font-size: 2vmax;
	line-height: 180%;
	border-radius: 2vmax; /* 角丸を指定 */
	padding: 1.7vmax 1.5vmax 1.7vmax 2vmax; /* メッセージの内側に余白 */
	position: relative; /* 吹き出しの矢印を作るための基準位置 */
}

/* 左側メッセージのCSS */
.chat.one .mes {
	color: #ffffff; /* 文字色を白 */
	background: #112255; /* 背景 */
}

.chat.one .mes::before {
	content: "";
	position: absolute;
	left: -3.7vmax; /* メッセージボックスの左に配置 */
	top: 50%;
	transform: translateY(-50%);
	border-width: 1vmax 2vmax;
	border-style: solid;
	border-color: transparent #112255 transparent transparent; /* 吹き出しの三角形 */
}

/* 右側メッセージのCSS */
.chat.two {
	flex-direction: row-reverse; /* 左右の並び順を逆順にする */
}

.chat.two .mes {
	color: #ffffff;
	background: #335522; /* 背景色を緑 */
}

.chat.two .mes::after {
	content: "";
	position: absolute;
	right: -3.7vmax; /* メッセージボックスの右に配置 */
	top: 50%;
	transform: translateY(-50%);
	border-width: 1vmax 2vmax;
	border-style: solid;
	border-color: transparent transparent transparent #335522; /* 吹き出しの三角形 */
}

/* 同時メッセージのCSS */
.chat.both {
	justify-content: center; /* 横方向に中央揃え */
}

.chat.both .mes {
	text-align: center;
	color: #ffffff;
	text-shadow:
		0.5vmax 0.5vmax 0 #ffffff,   /* 2Pの色（右下にズラす） */
		0 0 0 #ffffff; /* 1Pの色（左上にズラす） */
	background: #000000; /* 背景 */
}

/* 両側に三角形をつけるチャット */
.chat.both .mes::before,
.chat.both .mes::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border-style: solid;
	border-width: 1vmax 2vmax;
}

.chat.both .mes::before {
	left: -3.7vmax;
	border-color: transparent #112255 transparent transparent;
}

.chat.both .mes::after {
	right: -3.7vmax;
	border-color: transparent transparent transparent #335522;
}

.intermission{
	text-align: center;
	font-size: 2.5vmax;
	font-weight: bold;
	padding: 5vmax 0vmax 5vmax 0vmax;
}

/* ネタバレ回避 */
.spoilers{
	text-align: center;
	font-size: 1.5vmax;
	padding: 1vmax 0vmax 1vmax 0vmax;
}

html {
  scroll-behavior: smooth;
}

/* 上付き文字 */
.superscript {
	font-size: 1.7vmax; 
	vertical-align: super;
}

/* お便り */
.otayori {
	font-style: oblique;
	color: #ffffaa;
}

/* 説明書や攻略本の引用 */
.quote {
	font-style: oblique;
	color: #ffddcc;
}

/* 驚き */
.odoroki {
	font-size: 3vmax; 
	font-weight: bold;
}

/* 強調 */
.strong {
	font-size: 3vmax; 
	font-weight: bold;
}

.img{
	text-align: center;
	padding: 3vmax 0 3vmax 0;
}

/* YouTube埋め込み */
.video-container {
  position: relative;
  width: 96%; /* 横幅を親要素いっぱいに */
  padding-top: 64%; /* 16:9 のアスペクト比 (高さ÷幅)50.625 */
  margin: 4vmax auto 1vmax auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 出典 */
.source {
	font-size: 1.2vmax;
	font-weight: bold;
	margin: 0 2vmax 4vmax 2vmax;
}

/* 画像の出典 */
.img_source {
	font-size: 1.5vmax;
	font-weight: bold;
	text-align: center;
	margin: 0 2vmax 6vmax 2vmax;
}

/* 外部リンク */
.GaibuLink {
	font-size: 1.5vmax;
	text-align: right;
	margin: 0 2vmax 4vmax 2vmax;
}

/* フッター */
.footer{
	text-align: center;
	font-weight: bold;
	font-size: 2vmax;
	padding: 0 0 10vmax 0;
}

.back{
	padding: 0 2vmax 0 0;
}

.next{
	padding: 0 0 0 2vmax;
}

.home{
	padding: 0 0 0 0;
}




/* HOME */
.hometop{
	background-image: url('images/title.png');
    background-size: auto 100%;       /* 画像をエリア全体に広げる */
    background-position: center;  /* 画像を中央に寄せる */
    background-repeat: no-repeat; /* 画像の繰り返しを防止 */
	color: #ffffff;
	width: 100%;
	background-color: #000000;
	text-shadow: 
		1px  1px 0 #000,
		-1px  1px 0 #000,
		1px -1px 0 #000,
		-1px -1px 0 #000;
}

.title{
	text-align: center;
	font-size: 3.5vmax;
	font-weight: bold;
	padding: 2vmax 0 0 0;
}

.update{
	color: #000000;
	font-weight: bold;
	width: 100%;
	text-align: left;
	font-size: 1.5vmax;
	margin: 0.4vmax 0 0 0;
	padding: 0 0 0 0;
}

.hometoptxt{
	font-size: 1.8vmax;
	line-height: 180%;
	padding: 2vmax 2.5vmax 2vmax 2.5vmax;
}

.originator{
	color: #000000;
	width: 100%;
	text-align: right;
	font-size: 1.7vmax;
	margin: 0 0 2vmax 0;
	padding: 0 0 0 0;
}

.stagearea{
	color: #000000;
	font-size: 2vmax;
	line-height: 150%;
	margin: 0 2vmax 3vmax 2vmax;
	padding: 0 0 0 0;
}

.stage{
	font-weight: bold;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.stagedate{
	font-size: 1.5vmax; 
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.regepure{
	font-size: 1.8vmax; 
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.thankstitle, .noticetitle, .yeartitle {
	color: #ffffff;
	width: 100%;
	background: #000000;
	text-align: center;
	font-size: 2vmax;
	font-weight: bold;
	margin: 5vmax 0 2vmax 0;
	padding: 0;
}

.thanksarea, .noticearea {
	font-size: 2vmax;
	line-height: 170%;
	padding: 1vmax 2vmax 3vmax 0;
	margin: 0 2vmax 8vmax 2vmax;
}

/* ライアン日記 */

.LianDiary{
	font-size: 2vmax;
	line-height: 170%;
	padding: 0 1vmax 0 1vmax;
}

.LianDiaryCenter{
	text-align: center;
}