@charset "UTF-8";

.bjc-tab-button-list {
  padding-left: 0;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  max-width: 560px;
  padding: 0 30px;
  justify-content: center;
  gap: 8px 8px;
  
  @media screen and (min-width: 767px){
    gap: 8px 12px;
    max-width: 800px;
  }
}

.bjc-tab-button-item {
  list-style: none;
  position: relative;
}

.bjc-tab-button-item::before {
  content: '';
  display: block;
  width: 1px;
  height: 24px;
  background-color: #303136;
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translate(-50%, -50%);
}

.bjc-tab-button[type=button] {
  appearance: none;
  background-color: transparent;
  border: none;
  color: #1A73E8;
  font-weight: 600;
  font-size: 20px;
  position: relative;

  @media screen and (max-width: 767px){
    font-size: 18px;
  }
}

.bjc-tab-button[type=button].is-active {
  color: #303136;
}

.bjc-tab-button[type=button]:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  bottom: 0;
  background-color: #1A73E8;
  position: absolute;
  transition: .1s;
  left: 50%;
  transform: translateX(-50%);
}

.bjc-tab-button[type=button].is-active:after {
  width: calc(100% - 12px);
}

.bjc-classes {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}

.bjc-classes.is-hidden {
  overflow-y: clip;
  position: relative;
}

.bjc-classes.is-hidden::before {
  content: '';
  display: block;
  width: 100%;
  height: 6%;
  position: absolute;
  z-index: 1;
  bottom: -50px;
  background: transparent linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, #fff 55%) 0% 0% no-repeat padding-box;

  @media screen and (min-width: 767px){
    height: 12%;
  }
}

.bjc-tab-content {
  display: none;
}

.bjc-class {
  padding-bottom: 20px;
  border-bottom: 1px solid #c9c9c9;
}

.bjc-caution-text {
  display: none;
}

.bjc-more-button {
  position: relative;
  color: #1a73e8;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  font-weight: 700;
  border: none;
  background-color: transparent;
}

.bjc-more-button.is-active {
  bottom: 0;
}

.bjc-more-button:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #1a73e8;
  border-right: 2px solid #1a73e8;
  transform: rotate(135deg);
  position: absolute;
  transform-origin: right;
  right: -8px;
  top: 50%;
}

.bjc-more-button.is-active:before {
  transform: rotate(-45deg);
  transform-origin: center;
}
