@charset "utf-8";
/* CSS Document */
/* =========================
   Base
========================= */
* {
	margin: 0;
	padding: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
	font-family:'Yu Mincho','YuMincho',serif;
	font-size: 1.6rem;
	line-height: 1.8;
	color: white;
	background: #2f0000;
	
}
a{
	text-decoration: none;
	color: #fff;
}
a:hover{
	text-decoration: none;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
img{
	display: block;
	width: 100%;
	height: auto;
	-webkit-backface-visibility: hidden;
}
picture {
	display: block;
}
/* =========================================
   Layout
========================================= */

.wrapper{
	overflow: hidden;
	margin: 0 auto;
    width: 100%;
}
.sp-br{
	display: block;
}
.sp-tb-br {
	display: block;
}
.pc-br, .tb-br{
	display: none;
}
.hr-sp{
		display: block;
	}
/* -----------------------------------------
   固定header
----------------------------------------- */
.header-fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	background: #2f0000;
}

/* logo + menu button */
.header-fixed-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 10px 15px;
	box-sizing: border-box;
	background: #2f0000;
}


/* logo */
.logo {
	display: block;
	width: 170px;
	flex-shrink: 0;
}
.logo a {
	display: block;
}
.logo img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}
.header-text {
	padding: 100px 15px 15px ;
	font-size: 1.3rem;
	line-height: 1.6;
	text-align: center;
}
/* =========================================
   footer SP
========================================= */
footer {
	padding: 4rem 1.5rem 2rem;
	background: #000;
	color: #fff;
	text-align: center;
}

#footer-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;

	margin-bottom: 3rem;
}


/* footer logo */
.footer-logo {
	width: 180px;
	
}

.footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}


/* footer info */
.footer-info {
	font-size: 1.3rem;
	line-height: 1.8;
	text-align: center;
}

.footer-info p {
	margin: 0;
}


/* =========================================
   footer nav SP
========================================= */
#footer-nav {
	max-width: 500px;
	margin: 0 auto 2rem;
}

#footer-nav ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);

	margin: 0;
	padding: 0;

	list-style: none;
}

#footer-nav li {
	border-bottom: 1px solid #444;
}

#footer-nav li:nth-child(odd) {
	border-right: 1px solid #444;
}

#footer-nav a {
	display: block;

	padding: 1rem 0.5rem;

	color: #fff;

	font-size: 1.3rem;
	text-align: center;
}


/* copyright */
.copyright {
	font-size: 1.1rem;
	line-height: 1.5;
	text-align: center;
}
/* =========================================
   page top
========================================= */
#page-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;

	margin: 0;

	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);

	transition:
		opacity 0.3s ease,
		transform 0.3s ease,
		visibility 0.3s;
}


/* 表示 */
#page-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


#page-top a {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 60px;
	height: 60px;

	background: rgba(255, 255, 255, 0.5);
	color: #000;

	font-size: 1.1rem;
	line-height: 1.3;
	text-align: center;

	border-radius: 8px;
}
#page-top a:hover {
	background: #fff;
}
/* タブレット (768px〜) */
@media (min-width: 768px) {
	.tb-br{
		display: block;
	}
	.pc-br, .sp-br{
		display: none;
	}
	.hr-sp{
		display: none;
	}
/* =========================================
	   header
========================================= */

	/* SPでfixedだったものを解除 */
	.header-fixed {
		position: static;
		width: 100%;
		background: #000;
	}


	/* logo部分 */
	.header-fixed-inner {
		display: flex;
		align-items: center;
		justify-content: flex-start;

		margin: 0 auto;
		padding: 2rem 3rem 4rem;
	}


	.logo {
		width: 240px;
		flex-shrink: 0;
	}


	

	/* =========================================
	   header text
	========================================= */

	header {
		position: relative;
	}


	.header-text {
		position: absolute;
		top: 3rem;
		right: 3rem;
		padding: 0;
		font-size: 1.5rem;
		line-height: 1.6;
		text-align: left;
	}
	/* =========================================
	   footer
	========================================= */
	footer {
		padding: 5rem 3rem 2rem;
	}


	/* logo + info 横並び */
	#footer-container {
		display: grid;
		grid-template-columns: 240px 1fr 1fr;
		gap: 3rem;
		align-items: start;

		width: 100%;
		max-width: 1400px;
		margin: 0 auto 4rem;
	}
	.footer-info{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}

	#footer-container > .footer-logo {
		width: 240px;
		margin: 0;
	}

	#footer-container > .footer-info {
		width: 100%;
		margin: 0;

		font-size: 1.4rem;
		text-align: left;
	}

	#footer-container > .map {
		width: 100%;
		margin: 0;
	}

	#footer-container > .map iframe {
		display: block;
		width: 100%;
		height: 200px;
	}


	/* footer nav 横1列 */
	#footer-nav {
		max-width: 1000px;
		margin: 0 auto 2rem;
	}


	#footer-nav ul {
		display: flex;
		justify-content: center;
		align-items: center;
	}


	#footer-nav li {
		flex: 1;

		border-bottom: none;
		border-right: 1px solid #555;
	}



	#footer-nav li:first-child {
		border-left: 1px solid #555;
	}


	#footer-nav a {
		padding: 0.8rem 1rem;

		font-size: 1.3rem;
	}


	#footer-nav a:hover {
		background: #222;
	}


	.copyright {
		font-size: 1.2rem;
	}

}
/* PC (1024px〜) */
@media (min-width: 1024px) {
	.pc-br{
		display: block;
	}
	.tb-br, .sp-br, .sp-tb-br{
		display: none;
	}
	footer {
		padding-left: 3rem;
		padding-right: 3rem;
	}

	#footer-container {
		grid-template-columns: 260px 1fr 1.4fr;
		gap: 5rem;
		max-width: 1500px;
	}
}
