﻿@charset "utf-8";
body {
	color: #333;
}
#main1 h2 {
	padding: 30px 0 30px 0;
	text-align: center;
	font-size: 180%;
	font-weight: bold;
	color: #C09;
}
#main1 {
	padding: 30px;
	border-top: 1px solid #aaa;
	background: url(../img/ohakajimai/bg.png), linear-gradient(208deg, rgba(212,197,217,1) 0%, rgba(222,222,222,1) 86%) ;
	background-repeat: no-repeat;
	background-position: 90% 2%;
	color: #333;
}
#main1:after {
	content: '';
   width:100px;
   height:100px;
	background-image: url(../img/ohakajimai/bg.png);
}
#main1 ul li {
	color: #333;
}
#main1 .main-line {
	padding: 20px 10px;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}
.main-line h3,h4 {
	font-size: 24px;
	margin: 20px 10px;
	color: #C09;
}
.main-line p {
	margin: 30px;
}
.main-line ul {
	margin: 20px;
}
.main-line ul a {
	color: #333;
}
.main-inner div {
	padding: 20px;
}
.main-inner div p {
	margin: 10px;
	line-height: 180%;
}
.main-image {
	width: 552px;
	height: auto;
	margin: 0;
}
@media screen and (max-width:960px) {
	.main-inner {
		display: block;
	}
	.main-image {
		width: auto;
		text-align: center;
	}
	.main-image img {
		max-width: 100%;
		height: auto;
	}
	.button-outer {
		text-align: center;
	}
}
@media screen and (max-width: 480px) {
	.box img {
		width: 100%;
	}
}
.box {
	margin: 2em auto;  
	padding: 1em;
	width: 90%; /*幅の調節*/
	color: #333; /*文字色*/
	background-color: rgba(240,240,240,0.9); /*背景色*/
	border: 2px solid #ccc; /*線の太さ・色*/
	border-radius: 8px; /*角の丸み*/
}
.box li {
	margin: 0.5em;
	line-height: 1.5em;
}
.box img {
	max-width: 450px;
	width: 100%;
}
.wrap1 a {
	margin-top: 30px;
	color: #333;
}
.button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.button {
	margin: 10px auto 20px auto;
	padding: 0.5vw 2vw;
	background-color: #ddd;
	border: 2px solid #333;
	font-weight: bold;
	line-height: 50px;
}
.button:hover {
	background-color: #333;
	border-color: #333;
	color: #fff;
	text-decoration: none;
}
.wrap2 a {
	color: #fff;
	font-weight: bold;
}
.wrap2 a:hover {
	text-decoration: none;
	background-color: #d1a;
}
.button2 {
	position: relative;
	display: inline-block;
	margin: 20px 0 0 0;
	padding: .9em 4em;
	background-color: #C09;
	border: 2px solid #C09;
	color: #fff;
	text-align: center;
	text-decoration: none;
}
.button2::before,
.button2::after {
  position: absolute;
  top: 50%;
  right: .2em;
  content: '';
  margin-top: -5px;
  border: 7px solid transparent;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-color: #fff;
}
.button2::after {
  opacity: 0;
  right: 1em;
}
.button2:hover::before {
  animation: arrowbefore .5s;
}
.button2:hover::after {
  animation: arrowafter .5s;
}
@keyframes arrowbefore {
  100% {
    right: -.4em;
    opacity: 0;
  }
  }
  @keyframes arrowafter {
  99% {
    right: .2em;
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
