/*--------------------------------
reset
--------------------------------*/
html,body,div,p,img,iframe,a,span,blockquote,q,address,cite,
pre,code,em,small,strong,b,i,
header,article,section,nav,figure,figcaption,hgroup,menu,aside,footer,time,
h1,h2,h3,h4,h5,h6,
ul,ol,li,dl,dt,dd,
table,tbody,thead,tfoot,th,tr,td,
form,fieldset,legend,label,select,input,textarea,button{
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	vertical-align: baseline;
}
header,article,section,nav,figure,figcaption,hgroup,menu,aside,footer,small{
	display: block;
}
ul, li, summary{
    list-style-type: none;
}
summary::-webkit-details-marker {
  display:none;
}

h1,h2,h3,h4,h5,h6{
	font-weight: 200;
}
body{
	line-height: 1;
}
a{
	text-decoration: none;
}
img{
	vertical-align: middle;
}
table{
	border-collapse: collapse;
	border-spacing: 0;
}
select,option,input,textarea,button{
	font: inherit;
	appearance: none;
	outline: none;
	border-radius: 0;
}
blockquote::before,blockquote::after,q::before,q::after{
	content: '';
	content: none;
}
[type=submit],[type=button],[type=reset],[type=file],button{
	cursor: pointer;
}
:focus{
	outline: none;
}

/*--------------------------------
global element
--------------------------------*/
html{
	width: 100%;
	height: 100%;
}
body{
	width: 100%;
	height: 100%;
	background: #111;
	font-size: 24px;
	color: #333;
	font-family: sans-serif;
}
a,button{
	transition: .3s;
}
a:hover,button:hover{
	opacity:.6;
}
.wrap{
	margin: 0 auto;
	width: 100%;
	max-width: 768px;
	position: relative;
	overflow: hidden;
	opacity: 0;
	animation: fade-in .3s ease .3s forwards;
	background: #000;
}
.content-img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.inner-txt{
	padding: 200% 0 0 0;
	display: block;
}
.clear{
	margin: 0;
	padding: 0;
	clear: both;
}
/*--------------------------------
Header
--------------------------------*/
.top{
	position: relative;
	overflow: hidden;
}
.top .btn-row{
	padding: 6% 8%;
	position: absolute;
	bottom: 0;
}
.sub-top{
	padding: 4% 0;
	position: relative;
	text-align: center;
	background: #672424;
}
.sub-top .logo{
	padding: 0;
	height: 64px;
}
.logo-link{
	padding: 0 4%;
	height: 64px;
	display: block;
}
.logo-link .content-img{
	margin: 0 auto;
	width: auto;
}
/*--------------------------------
Contents
--------------------------------*/
.content{
	position: relative;
}
.page01{
	background: url(../images/bg_content01.webp) no-repeat center bottom / 100% auto #ece9d7;
}
.page02{
	background: url(../images/bg_content02.webp) no-repeat center / cover;
}
.page03{
	background: url(../images/bg_content03.webp) no-repeat center / cover;
}
.page04{
	background: url(../images/bg_content04.webp) no-repeat center / cover;
}
.page05{
	background: url(../images/bg_content05.webp) no-repeat center bottom / 100% auto #ece9d7;
}
.content-inner{
	padding: 4% 4% 48%;
}
.page03 .content-inner, .page04 .content-inner{
	padding: 4% 4% 64%;
}
.page05 .content-inner{
	padding: 4% 4% 36%;
}
.post-item{
	padding: 0 0 4%;
	display: flex;
	align-items: flex-start;
}
.sent{
	flex-direction: row-reverse;
}
.post-thumb{
	margin: 0 4% 0 0;
	width: 8%;
	flex-shrink: 0;
}
.sent .post-thumb{
	margin: 0 0 0 4%;
}
.post-txt{
	padding: 2% 4%;
	line-height: 1.4;
	background: #fff;
	border-radius: 8px;
	box-shadow: 2px 2px 2px rgba(0,0,0,.2);
	position: relative;
	z-index: 2;
}
.post-txt:before, .post-txt:after{
	width: 24px;
	height: 24px;
	content: "";
	background: #fff;
	position: absolute;
	top: 16%;
	z-index: 3;
}
.post-txt:after{
	background: rgba(0,0,0,.2);
	top: 18%;
	z-index: 1;
}
.received .post-txt:before, .received .post-txt:after{
	left: -24px;
	clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.sent .post-txt:before, .sent .post-txt:after{
	right: -24px;
	clip-path: polygon(0 0, 0 100%, 100% 50%);
}



.modal-content .heading-txt{
	padding: 0 0 4%;
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
}
.general-item{
	padding: 0 0 8%;
	color: #fff;
}
.general-item h3{
	margin: 0 0 4%;
	padding: 2% 0;
	font-size: 1em;
	font-weight: bold;
	border-bottom: 2px solid #900;
}
.general-item h4{
	margin: 0 0 4%;
	padding: 2% 0;
	color: #900;
	font-size: 1em;
}
.general-txt, .general-item p{
	padding: 0 0 4%;
	font-size: .9em;
	line-height: 1.6;
}
/*--------------------------------
Button
-------------------------------*/
.btn-row{
	margin: 0 auto;
	padding: 0 8% 4%;
	width: 100%;
	max-width: 768px;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}
.reg-btn{
	margin: 0 auto;
	display: block;
	position: relative;
}
/*--------------------------------
Footer
--------------------------------*/
.footer{
	padding: 4% 4% 0;
	text-align: center;
	background: #672424;
	color: #fff;
}
.gnav-list{
	padding: 4% 0;
	display: flex;
}
.gnav-item{
	width: 50%;
	text-align: center;
}
.nav-link{
	color: #fff;
	display: block;
	font-size: .8em;
	text-decoration: underline;
}
.copy{
	font-size: .8em;
	line-height: 1.4;
	display: block;
	text-align: center;
	color: #fff;
}
/*--------------------------------
Modal
--------------------------------*/
.overlay{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	background: rgba(0,0,0,.75);
	display: none;
}
.modal-pane{
	margin: auto;
	padding: 4%;
	width: 90%;
	max-width: 736px;
	height: 60%; 
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 11;
	background: #000;
	overflow: hidden;
	border-radius: 8px;
	display: none;
}
.modal-pane .modal-content{
	height: 100%;
	overflow: auto;
}
.close-modal{
	width: 32px;
	height: 32px;
	position: absolute;
	top: 8px;
	right: 8px;
	transform: rotate(45deg);
	transform-origin: center;
}
.close-modal::before,.close-modal::after{
	margin: auto;
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #fff;
}
.close-modal::before{
	width: 4px;
	height: 100%;
}
.close-modal::after{
	width: 100%;
	height: 4px;
}
/*--------------------------------
Animation
--------------------------------*/
@keyframes fade-in{
0% {opacity: 0;filter: blur(4px);}
100% {opacity: 1;filter: blur(0);}
}
@keyframes btn-action01{
0% {opacity: 0;filter: blur(4px);transform: translate3d(0,-32px,0);}
100% {opacity: 1;filter: blur(0); transform: translate3d(0,0,0);}
}
@media screen and (max-width:767px) {
	/*--------------------------------
	global element
	--------------------------------*/
	body{
		font-size: 18px;
	}
	/*--------------------------------
	Header
	--------------------------------*/
	.sub-top .logo{
		height: 44px;
	}
	.logo-link{
		height: 44px;
	}
	/*--------------------------------
	Contents
	--------------------------------*/
	.post-txt:before, .post-txt:after{
		width: 12px;
		height: 12px;
		content: "";
		background: #fff;
		position: absolute;
		top: 12%;
		z-index: 3;
	}
	.post-txt:after{
		background: rgba(0,0,0,.2);
		top: 14%;
		z-index: 1;
	}
	.received .post-txt:before, .received .post-txt:after{
		left: -12px;
	}
	.sent .post-txt:before, .sent .post-txt:after{
		right: -12px;
	}
	/*--------------------------------
	Button
	--------------------------------*/
	.btn-row{
		padding: 0 8% 24%;
	}
	/*--------------------------------
	Footer
	--------------------------------*/
}
@media screen and (max-width:320px) {
	/*--------------------------------
	global element
	--------------------------------*/
	body{
		font-size: 16px;
	}
}