@charset "UTF-8";

/*----------------------------
* メニュー開閉ボタン
*----------------------------*/
button.menu-btn {
	position: fixed;
	top: 4px;
	right: 4px;
	z-index: 3;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	color: #333;
	border: 1px solid #333;
	/* box-sizing: border-box; */
}
/* button.menu-btn::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f0c9";
	font-size: 1.3rem;
} */
  
button.menu-btn i {
	  /* font-family: "Font Awesome 5 Free";
	  font-weight: 900; */
	font-size: 1.3rem;
}
  
/*----------------------------
* メニュー本体
*----------------------------*/
#main-menu {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fff;
	opacity: 0.9;
}
#main-menu ul{
	width: 100%;
	height: auto;
	padding: .5em 1em;
	text-align: center;
	color: #fff;
	box-sizing: border-box;
}

/*----------------------------
* アニメーション部分
*----------------------------*/

/* アニメーション前のメニューの状態 */
#main-menu {
	transform: translateX(100vw);
	transition: all .3s linear;
}
/* アニメーション後のメニューの状態 */
#main-menu.is-active {
	transform: translateX(0);
}
  
  
#main-menu li {
	  font-size: 1.6rem;
	  line-height: 3rem;
	  /* font-weight: bold; */
}

#main-menu li a {
	  color: #333;
	  text-decoration: none;
}
#main-menu li a:hover {
	  color: #8a0000;
}
  
@media print, screen and (min-width:1000px) {
	button.menu-btn {
	  display: none;
	}
  
	#main-menu {
	  position: absolute;
	  top: 30px;
	  right: 0;
	  width: auto;
	  height: auto;
	  display: block;
	  opacity: 1;
	  transform: none;
	  transition: none;
	}
  
	#main-menu ul{
	  width: auto;
	  height: auto;
	  padding: 0;
	  text-align: center;
	  color: #fff;
	  box-sizing: border-box;
	}
  
	#main-menu li {
	  float: left;
	  font-size: 1rem;
	  line-height: 1rem;
	  margin-right: 20px;
	}

}



/* スクロールアップ */
.scrolltop {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    background-color: rgba(255,255,255,.6);
	border: 1px solid #333;
    border-radius: .7rem;
    z-index: 9999;
    transition: .4s;
    visibility: hidden;
	text-decoration: none;
}
.scrolltop:hover {
    background-color: rgba(255,255,255,1);
}
.scrolltop i {
    font-size: 2rem;
    color: #333;
}

.show-scroll {
	visibility: visible;
	bottom: 1.5rem;
}





body {
	margin: 0;
	padding: 0;
	line-height: 1.6;
	letter-spacing: 1px;
	font-size: 1em;
	color: #333;
	background-color: #fff;
}

html {
	overflow-y: scroll;
	font-family: 'Shippori Mincho', serif;
}

br {
	letter-spacing: normal;
}

img {
	border: 0;
	vertical-align: bottom;
}

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

p {
	margin: 10px 0;
}

ul, 
ol {
	margin: 10px 10px 10px 24px;
}

dl {
	margin: 10px 0;
}

input, 
select {
	vertical-align: top;
}

/* iOSデフォルトスタイルリセット */
input[type="submit"], 
input[type="button"] {
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration, 
input[type="button"]::-webkit-search-decoration {
	display: none;
}
input[type="submit"]::focus, 
input[type="button"]::focus {
	outline-offset: -2px;
}

hr {
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

a:focus, 
*:focus {
	outline: none;
}

.clearfix:after {
	content: "";
	clear: both;
	display: block;
}


#container {
	margin: 30px 30px 5px 30px;
}

header {
	position: relative;
}

h1 > img {
	width: calc(100vw - 70px);
	max-width: 366px;
	margin-bottom: 10px;
}

#footer div.right p {
	text-align: right;
	margin-right: 20px;
}

#footer div.right p a {
	display: inline-block;
	margin: 10px;
}

#footer div.left p img{
	vertical-align: middle;
}

#footer div.left small {
	display: inline-block;
	font-size: 0.75rem;
	margin-left: 10px;
}




@media print, screen and (min-width:390px) {

	#footer div.right {
		width: 340px;
		margin: 0 auto;
	}

	#footer div.left {
		width: 340px;
		margin: 0 auto;
	}

	#footer div.left small {
		margin-left: 30px;
	}
	
}

@media print, screen and (min-width:700px) {

	#footer {
		position: relative;
		width: 80%;
		margin: 0 auto;
	}

	#footer div.left {
		margin: 0 0 0 15px;
	}

	#footer div.right {
		position: absolute;
		right: 0;
		top: 0;
	}
	
	#footer div.right p {
		margin: 0;
	}
	
	#footer div.right p a {
		display: inline-block;
		margin: 10px 15px;
	}
	
	#footer div.right p img {
		vertical-align: middle;
	}

}

@media print, screen and (min-width:1400px) {

	#container {
		margin: 30px 5px 5px 5px;
	}
	
	header {
		margin-left: 50px;
	}


}







/* 印刷時 */
@media print {

	body {
		width: 1200px;
	}


}
