/* Front-page only. Keep all selectors inside this component. */
#content .ih-restaurants,
#content .ih-restaurants * { box-sizing: border-box; }
#content .ih-restaurants {
  display: block;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 32px 0 36px;
  background: #f1f1f1;
  color: #222;
  text-align: center;
  font-family: inherit;
}
#content .ih-restaurants .ih-restaurants__inner { width: 100%; max-width: 980px; margin: 0 auto; }
#content .ih-restaurants .ih-restaurants__heading {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}
#content .ih-restaurants .ih-restaurants__subtitle {
  margin: 8px 0 24px;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
#content .ih-restaurants .ih-restaurants__grid {
  display: flex;
  justify-content: center;
  gap: 24px;
}
#content .ih-restaurants .ih-restaurants__card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: none;
  width: 25%;
  height: 230px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e1e1;
  background: #fff;
  color: #222;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
  transition: box-shadow .25s ease;
}
#content .ih-restaurants .ih-restaurants__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #e7e7e7;
}
#content .ih-restaurants .ih-restaurants__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center 55%;
  transition: transform .3s ease;
}
#content .ih-restaurants .ih-restaurants__image--kowata { object-position: center 30%; }
#content .ih-restaurants .ih-restaurants__body { padding: 8px 12px 10px; }
#content .ih-restaurants .ih-restaurants__name {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
#content .ih-restaurants .ih-restaurants__description {
  margin: 3px 0 4px;
  padding: 0;
  color: #444;
  font-size: 11px;
  line-height: 1.5;
}
#content .ih-restaurants .ih-restaurants__more { color: #800; font-size: 11px; line-height: 1.5; }
#content .ih-restaurants .ih-restaurants__card:focus-visible { outline: 3px solid #800; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  #content .ih-restaurants .ih-restaurants__card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .10); }
  #content .ih-restaurants .ih-restaurants__card:hover .ih-restaurants__image { transform: scale(1.035); }
}
@media (max-width: 768px) {
  #content .ih-restaurants { padding: 28px 0 32px; }
  #content .ih-restaurants .ih-restaurants__grid { flex-direction: row; align-items: stretch; gap: 0; }
  #content .ih-restaurants .ih-restaurants__card { width: 50%; height: auto; aspect-ratio: 280 / 250; }
}
@media (prefers-reduced-motion: reduce) {
  #content .ih-restaurants .ih-restaurants__card,
  #content .ih-restaurants .ih-restaurants__image { transition: none; }
  #content .ih-restaurants .ih-restaurants__card:hover .ih-restaurants__image { transform: none; }
}
