﻿@charset "utf-8";
header {
	position: relative;
}
.midashi{
	position: absolute;
	margin: auto 30px;
	top: 200px;
	left: 0;
	right: 0;
	padding: 0;
	color: #fff;
	font-size: 3em;
	font-weight: bold;
	text-align:center;
	text-shadow: 2px 2px 3px #333,
             -2px 2px 3px #333,
             2px -2px 3px #333,
             -2px -2px 3px #333;
}
#logo1 img {
	width: 80%;
	max-width: 460px;
	height: auto;
	position: absolute;
	top: 330px;
	left: 0;
	right: 0;
	margin: auto;
}
h1 {
	margin-top: 30px;
	padding: 30px 0 30px 0;
	text-align: center;
	font-size: 1.8em;
	color: #754C24;
}
h2 {
	margin-bottom: 30px;
	font-size: 1.5em;
}
h3 {
	color: #754C24;
	font-size: 1.5em;
}
.main-flex {
	display: block;
}
.direction-right {
	flex-direction : row-reverse;
}
.main-flex div {
	margin-top: 20px;
	padding: 20px;
	width: 95%;
}
.main-flex div img {
	width: 95%;
	max-width: 456px;
	border: 8px solid #eee;
	border-radius: 8px;
	text-align: center;
}
#news {
	margin-top: 30px;
	padding: 30px;
	border-radius: 20px;
	border: 5px dotted #754C24;
	background-color: #fff1c5;
}
#news span {
	margin-left: 30px;
}
.flex-left {
	text-align: center;
}
.flex-right {
	text-align: center;
}
@media screen and (min-width:768px){
	#logo1 img {
		width: 460px;
		height: auto;
	}
	.main-flex {
		display: flex;
		justify-content: center;
	}
	.main-flex div {
		width: 50%;
		max-width: 456px;
	}
	.flex-left {
		text-align: left;
	}
	.flex-right {
		text-align: left;
	}
	#news {
		margin: 30px auto;
		max-width: 912px;
	}
}
.button:link {
	color: #393;
	text-decoration: none;
	font-weight: bold;
}
.button:hover {
	text-decoration: none;
}
.button {
	margin-top: 30px;
	position: relative;
	display: inline-block;
	padding: .5em 4em;
	border: 2px solid #393;
	color: #393;
	text-align: center;
	text-decoration: none;
	transition: .3s;
	font-size: 1.2em;
	line-height: 1.2em;
}
.button:hover {
  color: #fff;
}
.button::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #393;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.button:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}