﻿/* DEFAULT SETTING */
@import url(pc.css) screen and (min-width: 800px);
@import url(sp.css) screen and (max-width: 799px);
@import url(pc.css) print;
@charset "utf-8";
body{
	-webkit-text-size-adjust: 100%;
	margin:0;
	padding:0;
	background:#FFF;
	font-size:100%;
	text-align:center;
	line-height:1.8;
	color:#000;
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	position:relative;
}
div:after{
	content:"clear";
	height:0px;
	line-height:0px;
	clear:both;
	display: block;
	visibility:hidden;
}
div{
	zoom:1;
}
.wrap{
	justify-content: space-between;
	border-bottom: solid 1px #706864;
	display: flex;
	flex-direction: column;
}
/*============
nav
=============*/
/*********** SPハンバーガーメニュー ***********/
.hamburger {
	display : block;
	position: fixed;
	z-index : 3;
	left : 20px;
	top   : 20px;
	width : 42px;
	height: 42px;
	cursor: pointer;
	text-align: center;
}
.hamburger span {
	display : block;
	position: absolute;
	width   : 30px;
	height  : 2px;
	left    : 6px;
	background: #FFF;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition   : 0.3s ease-in-out;
	transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
	top: 10px;
}
.hamburger span:nth-child(2) {
	top: 20px;
}
.hamburger span:nth-child(3) {
	top: 30px;
}

/*********** SPハンバーガーメニューを開いてる時のボタン ***********/
.hamburger.active span:nth-child(1) {
	top : 16px;
	left: 6px;
	background :#fff;
	-webkit-transform: rotate(-45deg);
	-moz-transform   : rotate(-45deg);
	transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
	top: 16px;
	background :#fff;
	-webkit-transform: rotate(45deg);
	-moz-transform   : rotate(45deg);
	transform        : rotate(45deg);
}

/*********** ハンバーガーメニュー背景 ***********/
nav.globalMenuSp {
	position: fixed;
	z-index : 2;
	top  : 0;
	left: 0;
	color: #fff;
	background: #000;
	text-align: left;
	width: 100%;
	transform: translateY(-100%);
	transition: all 1s;
}

nav.globalMenuSp ul {
	margin: 0 auto;
	padding: 2em 0 0 1.5em;
	width: 100%;
}

nav.globalMenuSp ul li {
	list-style-type: none;
	padding: 0;
	width: 100%;
	transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
	padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
	background :#ddd;
}

nav.globalMenuSp ul li a {
	display: block;
	color: #fff;
	padding: 1em 0;
	text-decoration :none;
}

/*********** SPハンバーガーメニュークリックでjQueryで追加・削除 ***********/
nav.globalMenuSp.active {
	opacity: 100;
	display: block;
	transform: translateY(0%);
	height: 100%;
	padding-top: 15vw;
}
/*********** ロゴ ***********/
div#logo img {
	display: block;
	position: fixed;
	z-index: 3;
	left: 70px;
	top: 20px;
	width: 42px;
	height: 36px;
	cursor: pointer;
	text-align: center;
}
/*********** フッターロゴ ***********/
.footer_company h1 img {
	width: 60px;
}

/***********  CSSアニメーションの設定  ***********/
@keyframes SlideIn {
	0% {
		opacity: 1;
		transform: translateY(-64px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/*********** 滑らかにアンカーリンク ***********/
html {
	scroll-behavior: smooth;
}

/*********** 重要なお知らせ ***********/

.important {
	color: #F44336;
	width: 1000px;
	margin: 0 auto 2em;
	border: 2px solid #F44336;
	padding: 0em 0;
}

.important p {
	color: #000;
	font-size: .8em;
}

.important h2 {
	margin: 0;
	font-size: 1em;
}

.important h1 {
	margin: .5em 0 0 0;
	font-size: 1.2em;
}
@media screen and (max-width: 768px) {
	.important {
		width: 80%; 
		margin: 1em auto;
		padding: .5em 1.5em;
		border-width: 3px;
	}

	.important h2 {
		font-size: .8em;
	}

	.important h1 {
		font-size: 1em;
	}

	.important p {
		font-size: .8em;
		line-height: 1.6em;
		text-align: left;
	}
}