@charset "UTF-8";

: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);
}

.banner2 a {
  width: 120px;
  height: 2.4rem;
  line-height: 2.4rem;
  border-radius: 1.2rem;
}

@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;
}

@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 {
  margin-top: 20%;
  background-image: linear-gradient(to right, #f4b538, #cf9625);
  color: #fff;
  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("../images/light_animate.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  animation: btn 3s linear infinite;
}

.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;
  }
}

main {
  padding-top: 60px;
  padding-top: clamp(40px, 6vw, 80px);
}

main ul.dg {
  gap: 22px;
  gap: clamp(15px, 2.2vw, 30px);
}

main ul a {
  overflow: hidden;
}

main li {
  display: grid;
  gap: 30px;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr 3fr;
  padding-bottom: 22px;
  padding-bottom: clamp(15px, 2.2vw, 30px);
  border-bottom: solid #eee 1px;
}

main li div a {
  margin-bottom: 10px;
}

main li div p {
  color: #666;
}

@media (max-width:600px) {
  main ul.dg {
    gap: 20px;
  }

  main li {
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  main li div a {
    margin-bottom: 5px;
  }
}

.banner div a {
  display: inline-block;
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  font-weight: 400;
  background: rgba(240, 180, 60, 0.2);
  border-radius: 6px;
}

.banner div a:hover {
  background: #60f;
  color: #fff;
}

.pages {
  margin-top: 40px;
  margin-top: clamp(30px, 4vw, 50px);
}

.pages span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
}

.pages b, .pages a {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background: #fa0;
  margin: 5px;
  padding: 0 15px;
  border-radius: 6px;
}

.pages b {
  font-weight: 400;
  color: #fff;
}

.pages a {
  background: #eee;
}

.pages a:hover {
  background: #60f;
  color: #fff;
  font-weight: 400;
}

.pages i {
  margin: 0 5px;
  font-weight: 400;
}
