

:root {
  --obc: rgba(240, 180, 60, 0.1);
}

.obc {
  background: var(--obc);
}

/* si = small item */
@media (max-width:601px) {
  .si {
    grid-template-columns: 1fr;
  }

  .si2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .si3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .si4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .si5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .si6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.banbox {
  background-color: #f5f5f5;
  padding: 60px 0;
  padding: clamp(40px, 6vw, 80px) 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
}

.banner h2 {
  width: 50%;
  text-align: center;
  line-height: 1;
  margin-bottom: 15px;
  margin-bottom: clamp(10px, 1.5vw, 20px);
}

.banner p {
  width: 50%;
  text-align: center;
  font-size: 1.2rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
}

.banner2 {
  margin-top: 30px;
  margin-top: clamp(20px, 3vw, 40px);
  grid-template-columns: 15% 15% 15% 15%;
  justify-content: start;
}

.banner2 figure {
  text-align: center;
}

.banner2 img {
  width: 30%;
  margin-bottom: 15px;
  margin-bottom: clamp(10px, 1.5vw, 20px);
}

@keyframes scale {
  0% {
    transform: scale(1, 1);
  }

  35% {
    transform: scale(1.2, 1.1);
  }

  65% {
    transform: scale(1.2, 1.1);
  }

  100% {
    transform: scale(1, 1);
  }
}

.banner2 a {
  min-width: 120px;
  height: 2.4rem;
  line-height: 2.4rem;
  border-radius: 1.2rem;
  animation: scale 3s linear infinite;
  position: relative;
}

@keyframes btn {
  0% {
    background-position: -280% center;
  }

  35% {
    background-position: -280% center;
  }

  65% {
    background-position: 280% center;
  }

  100% {
    background-position: 280% center;
  }
}

.banner2 a::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("../image/light_animate.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  animation: btn 3s linear infinite;
}

@media (max-width:600px) {
  .banner h2, .banner p {
    width: 100%;
    text-align: left;
  }

  .banner2 {
    grid-template-columns: 30% 30%;
  }

  .banner2 a {
    height: 2.2rem;
    line-height: 2.2rem;
    padding: 0 20px;
    border-radius: 1.2rem;
  }
}

@media (max-width:400px) {
  .banner2 img {
    width: 20%;
  }
}

.banner2 figcaption {
  font-weight: 400;
}

.banner2 p {
  line-height: 1.2;
}

.banner2 a {
  margin-top: 20%;
  background-image: linear-gradient(to right, #f4b538, #cf9625);
  color: #fff;
}

.banner2 a:hover {
  background-image: linear-gradient(to right, #cf9625, #f4b538);
}

@media (max-width:600px) {
  .banner div h5 p {
    display: block;
  }
}

@media (min-width:601px) {
  .banner div h5 p:first-of-type {
    margin-right: 15px;
  }

  .banner div h5 p:last-of-type {
    margin-left: 15px;
  }
}

article {
  padding: 50px 0;
  padding: clamp(40px, 5vw, 60px) 0;
}

article h4 {
  margin-bottom: 30px;
  margin-bottom: clamp(20px, 3vw, 40px);
}

article .inner {
  margin-bottom: 30px;
  margin-bottom: clamp(20px, 3vw, 40px);
}

article span {
  display: block;
  color: #666;
  margin-top: 5px;
}

article span i:first-of-type {
  margin-right: 20px;
}

article div {
  margin-top: 30px;
  margin-top: clamp(20px, 12px + 2vw, 40px);
}

article.only div {
  margin-top: 0;
}

article p.sub {
  text-align: center;
  margin-top: 30px;
  margin-top: clamp(20px, 12px + 2vw, 40px);
}

article p.sub a, .banner div a, .banner2 li a {
  display: inline-block;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  font-weight: 400;
  background: #3391ff;
  border-radius: 20px;
  color: #fff;
}

article p.sub a i, .banner div a i, .banner2 li a i {
  margin-left: 10px;
  color: #d00;
  font-size: 20px;
}

article p.sub a:hover, .banner div a:hover, .banner2 li a:hover {
  background: #60f;
  color: #fff;
}

.ecruit, .ecruit2, .ecruit3 {
  margin-top: 60px;
  margin-top: clamp(40px, 6vw, 80px);
}

.ecruit a, .ecruit2 a, .ecruit3 a {
  margin: 0 15px;
  font-size: 18px;
  font-weight: 400;
}

.tables {
  margin-top: 45px;
  margin-top: clamp(30px, 4.5vw, 60px);
}

.ecruit .rr, .ecruit2 .rr2, .ecruit3 .rr3 {
  color: #f80;
  border-bottom: solid #fa0 1px;
}

.bgy, .on1 {
  background: #FFCC09;
}

@media (min-width:901px) {
  article h5 {
    float: left;
  }

  article span {
    float: right;
  }

  article div {
    column-count: 2;
    column-fill: balance;
    column-rule: dashed #ddd 1px;
    column-gap: 50px;
    column-gap: clamp(40px, 5vw, 60px);
  }
}
