/*========================================
共通
========================================*/

.c-container {
	max-width: 980px;
	margin: 0 auto;
}



/*========================================
ヘッダー
========================================*/

.l-header {
	position: fixed;
    top: 0;
	z-index: 1000;
	padding: 12px;
	width: 100%;
	height: 76px;
	background-color: #ffffff;
	box-shadow: 0 4px 12px 2px rgba(0,0,0,0.2);
}

.l-header .c-container {
	max-width: 100%;
}


.l-header .l-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.l-header .c-site-branding__title {
	width: 360px;
}


.l-header .c-site-branding__title a {
	line-height: 0;
}

.l-header a {
	display: block;
}

.l-header .c-openday {
	margin-top: 0;
	font-size: 2.8rem;
	font-weight: bold;
}

@media (max-width: 639px) {
	.l-header {
		height: 64px;
	}
	.l-header .c-site-branding__title {
		width: 200px;
	}
	.l-header .c-openday {
		font-size: 1.6rem;
	}
}



/*========================================
コンテンツ
========================================*/

.l-contents__container {
	padding-bottom: 60px;
}


.main-visual {
	margin-top: 36px;
	padding: 0 24px;
}

.main-visual figure {
	text-align: center;
	/*background-color: #b9bad4;*/
}

.c-section {
	padding: 0 12px 60px;
}

.c-section__inner {
	max-width: 980px;
	margin: 0 auto;
}

@media (max-width: 639px) {
	.l-contents__container {
		padding-bottom: 0;
	}
	.c-section {
		padding: 0 12px 36px;
	}
}

.c-section__heading3-container--type1 {
	/*max-width: 884px;*/
	margin: 0 auto;
}

.c-section__heading3-container--type2 {
	max-width: 884px;
	margin: 48px auto 0;
	padding: 24px;
	background-color: #ffffff;
}

.c-section__heading3-contents + .c-section__heading3-contents {
	margin-top: 48px;
}

.c-2columns,
.c-3columns {
	display: flex;
	margin-top: 24px;
	gap: 24px;
}

.c-2columns__left-column > *,
.c-2columns__right-column > *,
.c-3columns__left-column > *,
.c-3columns__center-column > *,
.c-3columns__right-column > * {
	margin-top: 0;
}

.c-2columns__left-column,
.c-2columns__right-column {
	width: calc((100% - 24px) / 2);
}

.c-3columns__left-column,
.c-3columns__center-column,
.c-3columns__right-column {
	width: calc((100% - 48px) / 3);
}

@media (max-width: 639px) {
	.c-2columns,
	.c-3columns {
		flex-direction: column;
	}
	.c-2columns__left-column,
	.c-2columns__right-column {
		width: 100%;
	}
	
	.c-3columns__left-column,
	.c-3columns__center-column,
	.c-3columns__right-column {
		width: 100%;
	}
}




/*========================================
フッター
========================================*/

.l-footer {
	padding: 12px;
	background-color: #898989;
}

.c-copyright {
	margin-top: 0;
	color: #ffffff;
	line-height: 1.25;
	text-align: center;
}

.c-copyright small {
	font-size: 1.6rem;
}

.p-page-top {
  position: fixed;
  bottom: 60px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.p-page-top.scroll-page-top {
  opacity: 1;
  visibility: visible;
  transition: all 0.5s;
}

.is-scrollEnd .p-page-top {
  bottom: 100px;
}

.c-footer-cta-inner {
	display: flex;
}

.c-footer-cta-inner a {
  transition: 0.3s;
}

.c-footer-cta-inner a:hover {
	filter: brightness(0.8);
  transition: 0.3s;
}

.is-scrollEnd .l-footer {
  transition: 0.3s ease-out;
}

.is-scrollEnd .c-footer-cta.footer_cta_scroll {
  bottom: -1px;
  transition: 0.3s ease-out;
}

@media (min-width: 640px) {
  .c-footer-cta {
    position: fixed;
    bottom: 0;
    right: 0;
    max-width: 400px;
		transition: 0.3s ease-out;
  }
  .c-footer-cta.footer_cta_scroll {
		bottom: -47px;
		transition: 0.3s ease-out;
	}
}

@media (max-width: 639px) {
	.l-footer {
		margin-bottom: 90px;
		padding: 6px;
	}
	.c-copyright small {
		font-size: 1.2rem;
	}
  .p-page-top {
    right: 12px;
  }
	.c-footer-cta {
		display: block;
		position: fixed;
		bottom: -1px;
		transition: 0.3s ease-out;
	}
	.c-footer-cta.footer_cta_scroll {
		bottom: -46px;
		transition: 0.3s ease-out;
	}
	.is-scrollEnd .l-footer {
		margin-bottom: 90px;
		transition: 0.3s ease-out;
	}
	.is-scrollEnd .c-footer-cta.footer_cta_scroll {
		bottom: -1px;
		transition: 0.3s ease-out;
	}
}

@media (max-width: 399px) {
	.l-footer {
		margin-bottom: 84px;
	}
	.is-scrollEnd .l-footer {
		margin-bottom: 84px;
	}
}

@media (max-width: 369px) {
	.l-footer {
		margin-bottom: 76px;
	}
	.is-scrollEnd .l-footer {
		margin-bottom: 76px;
	}
}