/*
Theme Name: yps
Theme URI: http://ycomps.co.jp/
Author: 株式会社ワイコム・パブリッシングシステムズ
*/

.floating-banner {
  position: fixed;
  z-index: 9999;
  display: flex;
}

.banner-item {
  background-color: #3ab088;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.banner-item:hover {
  opacity: 0.8;
}

.banner-icon {
  width: 24px;
  height: auto;
}

.banner-text {
  color: #fff !important;
}

.banner-item:hover {
  text-decoration: none;
}

.banner-item:visited {
  color: #fff !important;
}

.banner-item.contact img {
  width: 24px;
  height: auto;
  margin-bottom: 10px;
}

.banner-item.recruit img {
  width: 28px;
  height: auto;
  margin-bottom: 8px;
}


@media screen and (max-width: 767px) {
  .floating-banner {
    bottom: 0;
    left: 0;
    width: 100%;
    gap: 20px;
    height: 50px;
    justify-content: center;
  }

  .banner-item {
    width: 50%;
    flex-direction: row;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px 20px 0 0;
  }

  .banner-item:last-child {
    border-right: none;
  }

  .banner-text {
    font-size: 14px;
    font-weight: bold;
    color: #fff !important;
  }

  .banner-item.contact img {
    margin-bottom: 0px;
  }

  .banner-item.recruit img {
    margin-bottom: 0px;
  }

  .copyright-bg {
    background-color: #fff;
  }

  .copyright-bg a {
    color: #3ab088;
  }

  body {
    padding-bottom: 60px;
  }


}

@media screen and (min-width: 768px) {
  .floating-banner {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 20px;
  }

  .banner-item {
    padding: 20px 10px;
    flex-direction: column;
    border-radius: 30px 0 0 30px;
    width: 80px;
  }

  .banner-icon {
    margin-bottom: 10px;
  }

  .banner-text {
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
    font-size: 15px;
    font-weight: bold;
  }
}