/*
 * Hamada homepage only. The shared top_new.css starts its event grid at 992px,
 * leaving 768-991px with desktop-width cards in a block container.
 * Keep the reference desktop grid's three columns and 20px gap in that interval.
 */
@media screen and (min-width: 768px) and (max-width: 991px) {
  body.home.page-id-3575 #eventArea {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  body.home.page-id-3575 #eventArea > li.elementor-column {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }
}

/* common.css gives #footer .inner a fixed 1100px width from 821px upward. */
@media screen and (min-width: 821px) and (max-width: 1099px) {
  body.home.page-id-3575 #footer {
    min-width: 0;
  }
  body.home.page-id-3575 #footer .inner {
    max-width: 100%;
  }
}

/* Hide only the recruitment card in the homepage company-information block. */
body.home.page-id-3575 .elementor-element-6e396ca9 > .elementor-container > .elementor-element-c1b4068 {
  display: none;
}
@media screen and (min-width: 768px) {
  body.home.page-id-3575 .elementor-element-6e396ca9 > .elementor-container > .elementor-column:not(.elementor-element-c1b4068) {
    width: 33.333333%;
  }
}
/* Ota supplied logos retain their original pixels and natural proportions. */
.hamada-logo-frame img {object-fit:contain!important;object-position:center!important}
.ota-pending-panel {max-width:900px;margin:64px auto;padding:60px 32px;text-align:center;border-top:1px solid #ddd;border-bottom:1px solid #ddd;color:#333;line-height:2}
.ota-pending-panel h2 {font-size:clamp(24px,4vw,38px);margin:16px 0 24px;font-weight:500}
.ota-kicker {font-family:Montserrat,sans-serif;letter-spacing:.18em;font-size:12px}
.ota-pending-panel a {display:inline-block;margin-top:28px;padding:12px 32px;border:1px solid #333;color:#333}
.ota-showroom-pending {max-width:920px;margin:0 auto;padding:10px 24px 80px;color:white;text-align:center;line-height:2}
.ota-showroom-pending .mont{letter-spacing:.15em}.ota-showroom-pending h3{font-size:28px;font-weight:400;margin:20px auto}
.ota-showroom-pending .more_btn{display:inline-block;color:white;border-color:#fff;margin-top:28px}
@media(max-width:767px){.ota-pending-panel{margin:32px 16px;padding:40px 16px}.ota-showroom-pending h3{font-size:22px}}

/* Keep the supplied wide Ota logo clear of the next footer line. */
@media(max-width:767px){
 .elementor-6985 .elementor-element.elementor-element-3921388 {margin-bottom:3%!important}
 .elementor-7043 .elementor-element.elementor-element-553b80a img {width:70%!important}
}
.ota-company-phone {display:inline-block;text-decoration:none!important}
.ota-company-phone small {display:block;font-size:14px;line-height:1.6;font-weight:400}
