@charset "utf-8";

.caption {
	margin-top: 10px;
	color: #fff;
	font-weight: bold;
	background-color: #002b5c;
	padding: 10px;
}

.caption2 {
	color: #777;
	font-weight: bold;
	background-color: #faf0e6;
	margin-top: 10px;
}

.footer_sub_menu {
	width: 18%;
	margin: 1%;
}

.button {
	width: 100%;
	height: 50px;
	margin: 10px 0;
	font-size: 1.25em;
	color: #fff;
	text-align: center;
	line-height: 50px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	background-image: url("../img/arrow.png"), linear-gradient(to bottom, #333, #000);
	background-repeat: no-repeat, no-repeat;
	background-position: right center, center;
	background-color: #000;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000')";
}

.button:hover {
	background-color: #555;
	color: #fff;
}

.cancel_button {
	width: 100%;
	height: 50px;
	margin: 10px 0;
	font-size: 1.25em;
	background-image: linear-gradient(to bottom, #fff, #ccc);
	background-color: #fff;
	color: #000;
	border: none;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc')";
	background-color: #f00;
	color: #000000;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.cancel_button.touchstart {
	background: #999999;
}

.cancel_button:hover {
	background-color: #ddd;
}

.index_price {
	padding: 0 10px;
	text-align: right;
	color: #164A87;
}

.search_title_index {
	height: 3em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.thumbnails {
	overflow: hidden;
}

.back_color_false {
	border: none;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc')";
	background-image: -moz-linear-gradient(-45deg, #ffffff, #cccccc);
	background-image: -webkit-linear-gradient(-45deg, #ffffff, #cccccc);
	background-image: -ms-linear-gradient(-45deg, #ffffff, #cccccc);
	background-image: linear-gradient(-45deg, #ffffff, #cccccc);
	background-color: #f00;
	font-size: 0.8em;
}

.li_selected {
	background-image: linear-gradient(to bottom, #666, #eee);
	background-color: #002b5c;
	color: #000;
}

/* スライド */
#header_slide {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* 1枚目以外は絶対配置して重ねる */
.slide_item {
  width: 100%;
  height: auto;       /* ← 縦横比を保って高さ自動調整 */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fade 9s infinite;
}
/* 最初の1枚だけ通常の位置に置く（高さを親に伝えるため） */
.slide_item:first-child {
  position: static;
  opacity: 1;
  animation: none;
}
.slide_item:nth-child(1) {
  animation-delay: 0s;
}
.slide_item:nth-child(2) {
  animation-delay: 3s;
}
.slide_item:nth-child(3) {
  animation-delay: 5s;
}
.slide_item:nth-child(4) {
  animation-delay: 7s;
}
.slide_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}