@charset "utf-8";
body, p, h1, h2, ul, dl, dd, figure  {
	padding: 0;
	margin: 0;
}

img {
	vertical-align: top;
    max-width: 100%;
    height: auto;
}

body {
    line-height: 1.8;
    color: #4d332c;
}
#top {
    max-width: 100%;
    height: auto;
}
a {
	color: #fff;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	
}
.inner   {
	margin: 0 auto;
	padding: 0 20px;
	width: 1000px;
}
.header-inner {
    display: flex;
    justify-content: center;
}
header {
    background-color: #D9A282;
}

header  h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    padding-top: 135px;
    margin-left: 45px;
}
nav li  {
    flex-grow: 1;
}
nav a {
    display: flex;
    margin-right: 45px;
    margin-left: 0px;
    padding-bottom: 0;
    justify-content: center;
    align-items: center;
    height: 65px;
}
nav a:hover  {
	background-color: #DACF52;
}
main   {
    display: block;
}
.mainimage img {
    height: auto;
    text-align: center;
    width: 100%;
    max-width: 100%;
}
h2   {
    font-size: 2.2em;
    color: #4d332c;
    border-bottom: 4px dotted #D9A282;
    margin-bottom: 50px;
    font-weight: normal;
}
h2::before {
	content: url(img/icon.png);
	margin-right: 25px;
}
section {
	margin: 5% 0;
}
.box-area   {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box-area .box     {
    width: 480px;
}
dl  {
    margin-bottom: 0px;
    line-height: 4em;
    line-height: 3em;
}
dt   {
    float: left;
    padding-left: 0.5em;
    width: 5em;
}
.sec3 .box-area {
	text-align: center;
}
.box figure img {
	position: relative;
}
.sec3 p {
    text-align: center;
    margin-top: 3%;
    /* [disabled]font-weight: bold; */
    font-size: 1.5em;
    color: #534136;
}
.gotop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	opacity: 0.7;
}
.gotop :hover  {
	opacity: 1;
}

footer  {
    text-align: center;
    background-color: #d9a282;
    /* [disabled]justify-content: center; */
    padding: 45px 0;
    color: #fff;
    /* [disabled]width: auto; */
}
.footer-link p {
	color: #fff;
}
.footer-link   {
    width: 100%;
    padding: 0 20px;
    max-width: calc(100% - 40px);
}

@media (max-width:1040px){
.inner {
    width: calc(100% - 40px);
}
nav ul {
    flex-wrap: wrap;
    padding-top: 45px;
}
.sec1 p, .sec2 dl {
    margin-left: 4%;
}
nav a {
    justify-content: flex-start;
}
}

@media screen and (max-width:980px) and (min-width:601px){
nav ul {
    padding-top: 30px;
}
nav a {
    margin-right: 20px;
    margin-left: 0px;
    justify-content: flex-start;
}
}

@media (max-width:600px){

.box   {
    width: 100%;
    padding-top: 0px;
    margin-top: 5%;
}
figure     {
    /* [disabled]height: auto; */
    /* [disabled]max-width: 100%; */
    text-align: center;
}

.box-area {
    flex-wrap: wrap;
    padding-top: 0px;
    margin-top: -5%;
}
.header-inner {
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    height: auto;
}
header h1 {
    padding-left: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
}

.sec1 {
	display: none;
}
.footer-link {
    margin-bottom: 40px;
    /* [disabled]width: 100%; */
    /* [disabled]height: auto; */
}
.foooter-link a {
	white-space: nowrap;
}

nav ul {
    display: block;
    padding-top: 0px;
    margin-left: 0px;
}
nav a {
    margin-right: 0px;
    justify-content: center;
}
.gotop {
    width: 12.8vw;
    height: auto;
    justify-content: center;
}
}

@media screen and (min-width:601px){
nav ul {
    display: flex !important;
}
}