.btn {
  background-color: DodgerBlue;
  border: none;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
}
.btn:hover {
  background-color: RoyalBlue;
}
.btn-real {
  display: inline-block;
  text-decoration: none;
  color: rgba(152, 152, 152, 0.43);
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 40px;
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
  font-weight: bold;
  background-image: linear-gradient(#e8e8e8 0%, #d6d6d6 100%);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
  border-bottom: solid 2px #b5b5b5;
}
.btn-real i {
  line-height: 80px;
}
.btn-real:active {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
  border-bottom: none;
}
.card-one {
  margin:0px auto;
  width:640px;
  max-width:100%;
  background-color:rgba(255,255,255,0.3);
  border-radius:5px;
  box-shadow:0 2px 5px #ccc;
}
.card-one-img-folder {
	text-align:center;
}
.card-one-img {
	max-width:100%;
  max-height:640px;
  transition-duration:1s;
  transition-property:height;
}
.card-one-content {
	margin:10px;
}




body {
	margin:0;
	width:100vw;
	height:100vh;
        background-image:url('/common/img/bg$bg_num.jpg');
	background-attachment:fixed;
	/* background-color:rgba(255,255,255,0.8); */
	/* background-blend-mode:lighten; */
}
h1 {
	font-size:20px;
}
.nowrap {
	white-space:nowrap;
}
#container {
	display: grid;
	grid-template-rows: 60px;
	grid-template-columns: 130px 1fr;
}
#container_logo {
  font-family: 'Vidaloka', serif;
  text-align:center;
  font-weight:normal;
  color:#444;
}
#logo {
	width:130px;
}
.maintitle{
  display:block;
  font-size:24px;
  line-height:24px;
  letter-spacing:0px;
  text-shadow:3px 3px 6px #888;
}
.description{
  display:block;
  font-size:8px;
  line-height:10px;
  letter-spacing:1px;
  text-shadow:5px 5px 10px #888;
}
.listtitle{
	display:block;
	font-size:24px;
	line-height:24px;
	letter-spacing:0px;
	text-shadow:3px 3px 6px #888;
	clear: both;
}
.br{
	clear: both;
}
.slider-wrapper {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 5px;
  overflow: hidden;
  background-color: rgba(234, 237, 237, 0.4);
}
.result-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.result-flex .card,
.result-flex .card-wide {
  width: 100%;
  margin: 0;
}
.slider {
  display: flex;
  flex-wrap: wrap;
  width: auto;
}
.slider > * {
  -webkit-transform: translateZ(0);
}
.slider-wrapper::-webkit-scrollbar {
  height: 8px;
}
.slider-wrapper::-webkit-scrollbar-track{
  background: rgba(#111,0.5);
  border: none;
}
.slider-wrapper::-webkit-scrollbar-thumb{
  background: rgba(#111,0.5);
  border-radius: 8px;
  box-shadow: inset 0 0 4px rgba(100,100,100,0.8);
}
.card {
  display: block;
  width: calc(50% - 8px);
  margin: 0 4px 8px;
  padding: 4px;
  text-decoration: none;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}
.card:hover {
  background: #e5e5e5;
}
.card-wide {
  display: block;
  width: calc(50% - 8px);
  margin: 0 4px 8px;
  padding: 4px;
  text-decoration: none;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}
.card-wide:hover {
  background: #e5e5e5;
}
.card-img {
  height: 96px;
  overflow: hidden;
  border-radius: 4px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content {
  padding: 4px 2px;
  text-align: center;
  overflow: hidden;
}
.card-title {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-text {
  display: none;
}
.card-link {
  display: none;
}

@media screen and (min-width:600px){
  .slider {
    width:3050px;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
  }
  .card {
    width: calc(50% - 8px);
  }
  .card-wide {
    width: calc(50% - 8px);
  }
  .card-img {
    height:120px;
  }
}

.pet-chat-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 400px;
  padding-bottom: 150px;
}
.pet-chat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.pet-chat-component {
  flex: 1 1 300px;
  min-width: 280px;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 1px 6px #ccc;
  padding: 20px;
  margin-bottom: 20px;
}
#pet-chat-log {
  font-size: 0.95em;
  color: #555;
  min-height: 40px;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 6px #eee;
  padding: 10px;
}
.pet-chat-input-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 60px;
  background: #f8f8f8;
  box-shadow: 0 -2px 8px #ccc;
  padding: 16px 0 12px 0;
  z-index: 100;
  display: flex;
  justify-content: center;
}
.pet-chat-input-bar form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 600px;
}
.pet-chat-input-bar input[type="text"] {
  flex: 1;
  font-size: 1em;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.pet-chat-input-bar button {
  font-size: 1em;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  background: #0077cc;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 600px) {
  .pet-chat-row { flex-direction: column; gap: 0; }
  .pet-chat-component { margin-bottom: 12px; }
  .pet-chat-input-bar form { max-width: 98vw; }
}

/* bottom navigation menu */
.menu-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}
.menu-item {
  flex: 1;
  text-align: center;
  color: #555;
  font-size: 12px;
}
.menu-item i {
  font-size: 20px;
  display: block;
  margin-bottom: 2px;
}
.menu-item a {
  color: inherit;
  text-decoration: none;
}
