/* いたばしデザイン同好会：スマホトップへの３つの入口。 */
/* Desktop/tablet stay precisely as the parent theme renders them. */
.itb-mobile-home-quicklinks {
  display: none;
}

@media (max-width: 767.98px) {
  body.home > .main-image-area,
  body.home > .main-image-area img.main-image,
  body.home > .main-image-area > .text-white.position-absolute {
    height: 75vh !important;
    height: 75svh !important;
  }

  body.home > .main-image-area img.main-image {
    object-fit: cover;
    width: 100%;
  }

  body.home .itb-mobile-home-quicklinks {
    display: block;
    background: #fff;
    margin: 0;
    padding: 10px 22px 14px;
    border-bottom: 1px solid #e7e9eb;
    color: #26343e;
  }

  body.home .itb-mobile-home-quicklinks a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 54px;
    padding: 12px 2px;
    border-bottom: 1px solid #e4e8eb;
    color: #25323b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  body.home .itb-mobile-home-quicklinks a:last-child {
    border-bottom: 0;
  }

  body.home .itb-mobile-home-quicklinks a::after {
    content: "↗";
    flex: 0 0 auto;
    font-size: 19px;
    line-height: 1;
    color: #0085bf;
    font-weight: 400;
  }

  body.home .itb-mobile-home-quicklinks a:hover,
  body.home .itb-mobile-home-quicklinks a:focus-visible {
    color: #006b98;
    background: #f6fbfd;
  }

  body.home .itb-mobile-home-quicklinks a:focus-visible {
    outline: 2px solid #0085bf;
    outline-offset: 2px;
    border-radius: 2px;
  }
}
