@charset "UTF-8";
/* header
   ========================================================================== */
header {
	background: url(../image/hdr_back.jpg) no-repeat center;
	background-position : center bottom 22%;
	background-size: cover;
	margin: auto;
	padding: 0;
	overflow: hidden;
}

.hdr_h1 {	margin-top: 10px;}

.hdr_title {
	background: #fff;
	display: block;
	margin: auto;
	width: 100%;
	text-align: center;
}

.hdr_title img {
	display: inline-block;
	margin: auto;
}

.hdr_logo {
	background: #ffee33;
	display: inline-block;
	padding: 15px;	
}

.hdr_inner {
	box-sizing: border-box;
	margin: 0 auto;
	width: 980px;
	padding: 40px 70px 10px 60px;
}

.relative { position: relative;}

h1 { margin: 0 auto;}

.hdr_white {}

.hdr_author {
	position: absolute;
	top: 180px;
	left: 45px;
}

.hdr_mbtn {	text-align: center;}

.hdr_mbtn p {
	display: inline-block;
	box-sizing: border-box;
	border: solid 2px #fff;
	border-radius: 10px;
	background: #ffee33;
	color: #333;
	font-size: 120%;
	font-weight: 600;
	padding: 10px 40px;
	margin: 180px auto 20px;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
}

@media screen and (max-width: 800px) {
header {
	background-size: cover;
	background-position: center bottom 0;
}

.hdr_title {
  display: grid;
	grid-template-columns: 3fr 1fr;
	grid-gap: 1em;
}

.hdr_txt { grid-column-start: 1;}
.hdr_logo { grid-column-start: 2;}

.hdr_title img { width: 100%;}

.hdr_inner {
	padding: 10px 5% 1px;
	width: 100%;
}

.hdr_author {
	width: 25%;
	top: 21%;
	left: 2%;
}

.hdr_white { width: 100%;}

.hdr_h1 { width: 100%;}

.hdr_mbtn p {	margin: 20% auto 20px;}
}

/* drawr
   ========================================================================== */
#fixedBox {
	background: #fff;
	overflow: hidden;
}

.mainmenu {
  display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1.5em;
	padding: 0;
	margin: 0 auto;	
	width: 980px;	
}

.mainmenu  li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.mainmenu li a {
	list-style-type: none;
	display: block;
	color: #111;	
  min-width: 0;
  padding: 1em;
	text-align: center;
	line-height: 1;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	position: relative;
	border-bottom: solid 2px #eee;
	transition: 0.5s;
}

.mainmenu li a:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 5px;
	background: #00b8cc;
	transform: scale(0, 1);
	transition: 0.5s;
}

.mainmenu li a:hover {
	color: #00b8cc !important;
}

.mainmenu li a:hover:before {
	transform: scale(1);
}

.smtop { display: none;}

.close-bt { display: none;}

@media screen and (max-width: 800px) {
/*右上に固定でメニューボタンを設置*/
.drawr-bt {
	display: block;
	background: #f7f9fb;
	cursor: pointer;
	text-align: center;
	font-size: 200%;
	padding: 6px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 7777;
}

#panel-btn-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  margin: -1px 0 0 -15px; /* widthの半分引いた数 */
  background: #00b8cc;
}

#panel-btn-icon:before,
#panel-btn-icon:after {
  background: #00b8cc;
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
}

#panel-btn-icon:before { margin-top: -10px;}
#panel-btn-icon:after { margin-top: 8px;}


/*右から出てくるメニューボックス。こちらもfixed。z-indexでメニューボタンの上に持ってきましょう。*/
.drawr {
	display: none;
	background: rgba(255,255,255,0.8);
	padding: 0;	
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	z-index: 8888;
}

/*閉じるボタンを設置。z-indexを最強にしておかないと隠れちゃいます。*/
.close-bt {
	display: block;
	background: #f7f9fb;
	cursor: pointer;
	margin: 11px 11px 11px auto;
	width: 51px;
	height: 51px;
	z-index: 9999;
	position: relative;
}

.close-btn-icon {
  display: block;
	background: #f00;
	color: #00b8cc;
	position: relative;
	top: 50%;
	left: 50%;
  width: 30px;
  height: 2px;
	margin: -1px 0 0 -15px;
	background: transparent;
	transition: 0.3s;
}

.close-btn-icon:before,
.close-btn-icon:after {
	background: #00b8cc;
	content: "";
	position: absolute;
  width: 30px;
  height: 2px;
	margin-top: -1px;
}

.close-btn-icon:before {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.close-btn-icon:after{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.mainmenu {
  grid-template-columns: 1fr;	
	grid-gap: 0;
	width: 100%;
}

.mainmenu li a {
	border-bottom: solid 1px #00b8cc;
	font-size: 90%;
	padding: 20px 0;
}

.mainmenu li:nth-child(1) a {	border-top: solid 1px #00b8cc;}

.mainmenu li a:before {
	content: "";
	display: none;
}

.mainmenu li a:hover {
	background: #c4dde4 !important;
	color: #111 !important;
}

.smtop { display: block;}

.mainmenu br {	display: none;}
}

@media screen and (min-width: 800px) {
.fixed {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10000;
	/*
	box-shadow: 0px 1px 3px rgba(0,41,88,0.2);
	-webkit-box-shadow: 0px 1px 3px rgba(0,41,88,0.2);
 	-moz-box-shadow: 0px 1px 3px rgba(0,41,88,0.2);
	*/
}
}
/* プリント非表示
   ========================================================================== */
@media print {
	.drawr-bt { display: none !important;}
}