@charset "utf-8";
/* CSS Document */
@import url('https://unpkg.com/swiper/swiper-bundle.min.css') screen and (max-width: 768px);
@media screen and (max-width: 768px) {
  /* slider */
  .swiper-slide {
    height: auto;
  }
  #link_area ul {
    padding-bottom: 35px;
  }
  #link_area ul li .inner_wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #brand, #contact, #oem {
    background: none;
    height: 100%;
  }
  #brand, #brand figure::after {
    border: 2px solid var(--color-link);
  }
  #oem, #oem figure::after {
    border: 2px solid var(--color-text);
  }
  #contact, #contact figure::after {
    border: 2px solid var(--color-heading);
  }
  #link_area ul li + li {
    margin-top: 0;
  }
  #link_area .flex {
    text-align: center;
  }
  #link_area .flex figure {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    position: relative;
  }
  #link_area .flex figure::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 10%;
    width: calc(80% - 4px);
    height: 90%;
    z-index: 0;
  }
  #link_area .flex figure img {
    max-width: 330px;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
  }
  #link_area .link_area_contents {
    width: 100%;
    margin-top: -4.9em;
    position: relative;
    z-index: 2;
  }
  #link_area h4 {
    display: inline-block;
    line-height: 1;
    padding: 1rem 3rem;
    margin-bottom: 1rem;
  }
  #link_area #brand h4 {
    background: var(--color-link);
  }
  #link_area #oem h4 {
    background: var(--color-text);
  }
  #link_area #contact h4 {
    background: var(--color-heading);
  }
  #link_area #brand h4, #link_area #contact h4, #link_area #brand .sub_h4, #link_area #contact .sub_h4 {
    color: #fff;
  }
  #link_area .sub_h4 {
    display: block;
    text-indent: 0;
  }
  #link_area p {
    text-align: left;
  }
  #link_area #oem p {
    color: var(--color-text);
  }
  .swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
  }
  .swiper-pagination-bullet, .swiper-pagination-bullet-active {
    background: var(--color-heading);
  }
  .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
  }
  .swiper-button-next, .swiper-button-prev {
    color: var(--color-text);
    outline: none;
  }
}
@media screen and (max-width: 480px) {
  #link_area h4 {
    padding: 1rem 2rem;
    max-width: 100%;
  }
}