@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Sawarabi+Gothic&display=swap');
*{	
	margin: 0;
	padding: 0;
} 
body {
	font-family: 'Sawarabi Gothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;
	font-size:16px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	color:#333;
}
.en {font-family: 'Rajdhani'!important;
}
img{
	vertical-align:bottom;
}
h1,h2,h3,h4,h5{
	font-size:100%;
}
ul{
	list-style-type: none;
}
a{
	text-decoration: none;
}
#wrap{
	width:100%;
	margin:0 auto;
	max-width: 800px;
}
.text {
	display: inline-block;
}

/*その他*/
.clearfix:after{
	content:".";
	visibility:hidden;
	display:block;
	height:0;
	clear:both;
}
.hide {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

body {
	background: url(../images/bg.jpg) center center / cover no-repeat;
	background-attachment: fixed;
	min-height: 100vh;
	height: 100%;
	position: relative;
}
main {
	padding: 30px;
	box-sizing: border-box;
	text-align: center;
}
main .box {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	background: rgba(255,255,255,0.30);
	padding: 0 0px 30px 0px;
	box-shadow: 2px 2px 5px #333;
}
main h1 {
	font-size: 28px;
	letter-spacing: 2px;
	background-color:#333;
	color:#fefefe;
	padding: 10px 50px;
	margin-bottom: 20px;
}
main h2 i {
	font-size:50px;
	color:#333;
	margin-bottom: 15px;
}
main h3 {
	font-size: 20px;
	color:#333;
	margin-bottom: 20px;
	
}
main p {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	margin: 5px;
}
.text {
	display: inline-block;
}

/*ここからタブレット用（～768px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:768px){
main .box {
	width:80%;
}
}

/*ここからスマホ用（～667px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:667px){
main h1 {
	font-size: 24px;
}
main h2 i {
	font-size: 40px;
}
main h3 {
	font-size: 18px;
}
main p {
	font-size: 14px;
}
}