@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}
html, body {height: 100%;}
body {
  margin: 0;
  padding: 0;
  position: relative;
/*  min-width: 892px;
  min-height: 580px;*/
  background: url("../topimg/bg2.gif") repeat-x 50%;
}

/*#container {
  margin: -290px 0 0 -446px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 892px;
  height: 580px;
}*/
ul {
	list-style: none;
	padding: 10px 0 0 0;
	background: #FFF;
}
li {
	display: inline;
}

/* ────────────────────フッター */
/* 住所、電話番号 */
p#copy {
	margin: 20px 40px 0 40px;
	padding: 20px 0;
	text-align: center;
	color: #333333;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 10px;
	font-weight: normal;
}

.top_wrap { width: 100%; height: 100%; display: flex; align-items: center;}
.top_wrap > div { width: 100%;}
.container { max-width: 892px; margin: auto;}
.top_mainimage { background: url("../topimg/bg.gif") repeat-x left top; margin-top: 19px; text-align: center;}
/* このスタイルを追加 */
.top_mainimage img {
  width: 100%;
  height: auto;
  max-width: 892px; /* 元の画像の幅に合わせる */
}

.nav-menu ul {
  display: flex; /* Flexboxを有効化 */
  flex-wrap: nowrap; /* 折り返しを無効化 */
  justify-content: space-between; /* 要素間に均等なスペースを配置 */
}

.nav-menu li {
  flex-shrink: 0; /* 縮小を無効化 */
  margin-right: 10px; /* 必要に応じて調整 */
}

/* 最後のli要素の右マージンを削除 */
.nav-menu li:last-child {
  margin-right: 0;
}

#headerbox{max-width: 892px; margin: auto;}

@media (max-width: 892px) {
    body {background:none;}
    #headerbox img {width: 95%;height: auto;max-width: 530px;}
}