@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&display=swap');

html {
	margin: 0;
	font-size: 16px;
	padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body {
	font-family: -apple-system,Segoe UI,'Noto Sans JP', 'Helvetica Neue' , 'Hiragino Kaku Gothic ProN' ,'メイリオ' ,meiryo,sans-serif;
	color: #231815;
	margin: 0;
	line-height: 1.75;
}

h1,h2,h3,h4,h5,p {
	margin: 0;
	padding: 0;
}

h1 {
	font-family: 'Noto Sans JP', sans-serif;
}

img {
	max-width: 100%;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

dl,dt,dd {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

button {
	font-size: 1rem;
	outline: none;
}

/* Common Contents */

.sns {
	max-width: 285px;
	margin: 0 auto;
	padding: 0 0 20px;
	box-sizing: border-box;
	height: 20%;
}

.sns ul {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}
.sns ul li {
	flex: 0 0 25%;
	max-width: 25%;
	text-align: center;
	flex-direction: column;
}

.sns ul li img {
	height: 50px;
}

.sns a img,
.footer-sns a img {
	transition: all 0.4s ease;
}

.sns a:hover img,
.footer-sns a:hover img {
	transform: scale(1.1);
}

.text-yellow {
	color: #E8AB2E;
}

.text-blue {
	color: #00A0E9;
}

.text-gray {
	color: #A0A0A0;
}

.container {
	max-width: 960px;
	margin: 0 auto;
	padding: 60px 0 80px;
}

.title {
	text-align: center;
	padding-bottom: 40px;
}

.title h1 {
	font-size: 4rem;
}

.title h2 {
	font-size: 1.125rem;
}

p {
	padding-bottom: 2rem;
}

.background-wrapper {
	position: relative;
}

.container p {
	text-align: center;
}

.button-wrapper {
	padding: 30px 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.icon-arrow {
	margin-left: 10px;
}

.icon-arrow:before {
	content: url(../images/icon-arrow.svg?v=1);
	display: inline-block;
	width: 8px;
	height: 18px;
	transform: translateY(1px);
}

.button-primary {
	background: #231815;
	padding: 15px 40px;
	color: #fff;
	border-radius: 40px;
	display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
	overflow: hidden;
	cursor: pointer;
}

.button-primary i {
	display: inline-block;
	transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.35s;
}

.button-primary span {
	z-index: 10;
}

.button-primary:before {
	content: "";
    display: block;
    position: absolute;
    opacity: 1;
    background: black;
    border-radius: 50%;
    width: 100%;
    height: 300px;
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.35s;
    transform: scale(0, 0);
}

.button-primary:hover i {
	transform: translateX(8px);
}

/* Common Background */

.background-wrapper:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 64px;
}

.background-wrapper:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 64px;
}

.background-wrapper.background-1 {
	border-bottom: 8px solid #E2DFDD;
}

.background-wrapper.background-1:before {
	background: #E8AB2E;
	background-repeat: repeat-y;
}

.background-wrapper.background-1:after {
	background: #00A0E9;
	background-repeat: repeat-y;
}

.background-wrapper.background-2 {
	border-top: 8px solid #fff;
	border-bottom: 8px solid #fff;
	background: #E2DFDD;
}

.background-wrapper.background-2:before {
	background-image:url(../images/bg-blue-stripe.png?v=1);
	background-size: 100% auto;
	background-position: right top;
	background-repeat: repeat-y;
}

.background-wrapper.background-2:after {
	background: #A0A0A0;
	background-repeat: repeat-y;
}

.background-wrapper.background-3 {
	border-top: 8px solid #E2DFDD;
	border-bottom: 8px solid #E2DFDD;
}

.background-wrapper.background-3:before {
	background: #A0A0A0;
	background-repeat: repeat-y;
}

.background-wrapper.background-3:after {
	background: #E8AB2E;
	background-repeat: repeat-y;
}

.background-wrapper.background-4 {
	background: #E2DFDD;
	border-top: 8px solid #fff;
	border-bottom: 8px solid #fff;
}

.background-wrapper.background-4:before {
	background: #E8AB2E;
	background-repeat: repeat-y;
}

.background-wrapper.background-4:after {
	background-image:url(../images/bg-blue-stripe.png?v=1);
	background-size: 100% auto;
	background-position: -8px top;
	background-repeat: repeat-y;
}

.background-wrapper.background-5 {
	border-top: 8px solid #E2DFDD;
	border-bottom: 8px solid #E2DFDD;
}

.background-wrapper.background-5:before {
	background: #00A0E9;
	background-repeat: repeat-y;
}

.background-wrapper.background-5:after {
	background: #A0A0A0;
	background-repeat: repeat-y;
}

/* Contents */
.main {
	background: #E2DFDD;
	position: relative;
	opacity: 1;
	translate: opacity ease 0.4s;
}
.main .image-area{
	height: 80%;
	text-align: center;
	/* background-image: url(../images/img-main.png?v=1);
	background-repeat: no-repeat;
	background-position: center 0;
	background-size: auto 100%; */
}

.main .image-area img {
	height: 100%;
}

.main:after {
	content: '';
	display: block;
	width: 100%;
	position: absolute;
	height: 8px;
	background: #fff;
	bottom: 8px;
	z-index: -1;
}

.content-about dl {
	padding: 15px 0;
	line-height: 1.8;
	border-top: 1px solid #A0A0A0;
}

.content-about dl dt {
	min-width: 5rem;
	font-weight: bold;
}

.content-about dl:last-child {
	border-bottom: 1px solid #A0A0A0;
}

.content-about dl ul li {
	padding-left: 15px;
	position: relative;
}

.content-about dl ul li:before {
	content: '';
	width: 0.65rem;
	height: 0.65rem;
	border: 3px solid #00A0E9;
	position: absolute;
	left: -12px;
	top: 6px;
	border-radius: 100%;
}

.content-about dl ul li:not(:last-child) {
	padding-bottom: 1rem;
}

.content-about .button-wrapper {
	text-align-last: left;
}

.content-collection h3 {
	font-size: 1rem;
	text-align: center;
	padding-top: 8px;
}

#sns .image-area {
	max-width: 748px;
	margin: 0 auto;
}

#sns .sns {
	padding: 20px 0;
}

#information .button-primary {
	width: 100%;
}

#kdskizou .button-primary {
	width: 400px;
}

.map {
	padding-bottom: 25px;
}

.map-inner {
	position: relative;
    width: 100%;
    padding-top: 55.5%;
}

.map-inner iframe {
	border: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Footer */

footer {
	background: #231815;
	color: #fff;
	text-align: center;
	border-top: 8px solid #fff;
}

.footer-sns {
	max-width: 185px;
	margin: 0 auto;
	padding: 25px 0 20px;
}

.footer-sns dt {
	padding-bottom: 10px;
}

.footer-sns ul {
	display: flex;
}
.footer-sns ul li {
	flex: 0 0 33.333%;
	max-width: 33.333%;
}

.footer-sns ul li img {
	height: 40px;
}

footer .container {
	padding: 0 0 25px;
}

footer .logo img {
	width: 160px;
}
.modal {
	padding: 20px;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	max-width: 100vw;
	max-height: 100vh;
	overflow: auto;
	display: flex;
	z-index: 3;
	align-items: center;
	justify-content: center;
}
.modal-container {
	width: 60%;
	margin: auto;
	padding: 40px 40px 20px;
	background: #fff;
	z-index: 2;
	box-sizing: border-box;
}

.modal-container h1 {
	font-size: 2rem;
	text-align: center;
	line-height: 1.5;
	padding-bottom: 2rem;
}

.modal-container h1 span {
	font-size: 0.75em;
	display: inline-block;
	padding-bottom: 0.75em;
}
.modal-container p {
	text-align: center;
}

.modal-overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 1;
}

.fadeout {
	animation : fadeOut 0.6s;
	animation-fill-mode: both;
}

@keyframes fadeOut {
	0% {
	  opacity: 1;
	}
	100% {
	  opacity: 0;
	}
  }

/* Responsive */
@media screen and (min-width:551px) {
	br.sp {
		display: none;
	}
	.map {
		padding-bottom: 25px;
	}

	.content-collection li:nth-child(2),
	.content-collection li:nth-child(4) {
		padding-top: 40px;
	}

	.content-collection {
		display: flex;
		flex-direction: row;
	}	
	.content-collection li {
		flex: 0 0 25%;
		max-width: 25%;
		flex-direction: column;
	}
	.button-primary:hover:before,
	.button-primary:hover:after,
	.button-primary:focus:before,
	.button-primary:focus:after {
		transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.35s;
	}

	.button-primary:hover:before,
	.button-primary:focus:before {
		transform: scale(1, 1);
	}
}

@media screen and (min-width:769px) and (max-width:1024px) {
	.container {
		width: 780px;
	}
	.map-inner {
		padding-top: 69%;
	}
}

@media screen and (min-width:769px) {
	.content-about-wrapper {
		display: flex;
		margin-left: -20px;
		margin-right: -20px;
		width: calc(100% - 40px);
	}
	.content-about {
		flex: 0 0 50%;
		padding: 0 20px;
	}
	.content-about dl {
		display: flex;
	}
	.map {
		border-bottom: 1px solid #A0A0A0;
	}
	.content-about:last-child dl:last-child {
		padding-bottom: 38px;
	}
	.content-collection {
		margin-left: -20px;
		margin-right: -20px;
		width: calc(100% - 120px);
	}	
	.content-collection li {
		padding: 0 20px;
	}
	br.tab {
		display: none;
	}
}

@media screen and (max-width:768px) {
	html {
		font-size: 14px;
	}
	/* .main .image-area {
		background-size: 92% auto;
		background-position: center;
	} */
	.main .image-area img {
		width: 92%;
		object-fit: contain;
	}
	.container {
		padding: 48px;
	}
	.background-wrapper:before {
		width: 28px;
	}
	.background-wrapper:after {
		width: 28px;
	}
	.title h1 {
		font-size: 2.25rem;
	}
	.title h2 {
		font-size: 1rem;
	}
	#information .container {
		max-width: 480px;
	}
	.content-about dl dt {
		padding-bottom: 10px;
	}
	.content-about dl ul li {
		padding-left: 25px;
	}
	.content-about dl ul li:before {
		left: 0;
    	top: 5px;
	}
	.content-about .button-wrapper {
		padding-top: 20px;
		padding-bottom: 15px;
	}
	.map-inner {
		padding-top: 75%;
	}
	#information .button-primary,
	#kdskizou .button-primary {
		width: 280px;
	}
	.modal-container {
		width: 100%;
		margin-bottom: 20px;
		padding: 20px;
	}
	.modal-container h1 {
		font-size: 1.3rem;
	}
	.modal-container p {
		text-align: justify;
	}
	.modal-container p br {
		display: none;
	}
	.modal-container .button-wrapper {
		padding: 0 0 20px;
	}
	.modal-container .button-primary {
		padding-left: 60px;
		padding-right: 60px;
	}
}

@media screen and (max-width:768px) and (min-width:551px) {
	.content-collection {
		width: calc(100% - 80px);
	}	
	.content-collection li {
		padding: 0 10px;
	}
}

@media screen and (max-width:550px) {
	.background-wrapper.background-4:after {
		background-position: -3px top;
	}
	.button-primary { 
		padding-left: 20px;
		padding-right: 20px;
	}
	.content-collection h3 {
		font-size: 0.8rem;
		padding-top: 0;
	}

	.content-collection li {
		padding-bottom: 20px;
	}

	.sns {
		max-width: 235px;
	}
	.sns ul li img {
		height: 40px;
	}
	.main .sns {
		padding-top: 0;
	}
	#information .button-primary,
	#kdskizou .button-primary {
		max-width: 280px;
	}
	br.tab {
		display: none;
	}
}

@media screen and (max-width:320px) {
	html {
		font-size: 13px;
	}
	.button-primary {
		font-size: 0.8em;
	}
}