@charset "utf-8";
/* CSS Document */
/*--top----------------------------------------------------------*/
.top .main {
  display: flex;
  max-height: 500px;
  background: url("../image/about/sanada.jpg") no-repeat 0 0;
  background-size: cover;
  padding: 10% 0;
}
.main h1 {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.5;
  font-size: 3rem;
  font-weight: bold;
  margin-left: 10%;
}
.main h1 span {
  font-size: 1.6rem;
}
@media screen and (max-width: 480px) {
  .top .main {
    height: 400px;
  }
  .main h1 {
    font-size: 2.4rem;
    margin-top: 120px;
  }
}
/*--antivirus-----------------------------------------------------------*/
.antivirus {
  margin: 40px auto;
  text-align: center;
  width: 330px;
  border: 1px solid #1f7a00;
  padding: 10px;
}
.antivirus:hover {
  opacity: 0.5;
}
.antivirus a {
  text-decoration: none;
  color: #1f7a00;
  font-weight: 600;
}
@media screen and (max-width: 480px) {
  .top .main {
    height: 400px;
    background: url("../image/about/about_mobile.jpg") no-repeat 0 0;
    background-size: cover;
  }
  .antivirus {
    width: 290px;
    font-size: 1.4rem;
  }
}
/*--service--------------------------------------------------------*/
.service {
  background-color: #fef9e3;
}
.service .inner {
  padding: 80px 24px 60px;
}
.service-list-container {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  margin-top: 40px;
}
.service-list {
  flex-basis: calc(calc(100% / 2) - 20px);
  background: #fff;
  border-radius: 10px;
  display: flex;
  height: 160px;
}
.service-list img {
  height: 160px;
}
.service-list h3 {
  text-align: left;
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 0.6319rem + 1.2778vw, 1.7rem);
}
.service-list-wrap {
  margin: 30px;
  text-align: left;
}
.school-list li {
  text-align: left;
  list-style: none;
  font-size: clamp(1.2rem, 0.6319rem + 1.2778vw, 1.4rem);
}
.kirari-link {
  font-size: clamp(1.1rem, 0.6319rem + 1.2778vw, 1.2rem);
  display: inline-block;
  text-align: left;
  color: #1f7a00;
  font-weight: 600;
  letter-spacing: 1.1px;
}
@media screen and (max-width: 880px) {
  .service-list img {
    height: 140px;
  }
  .service-list {
    height: 140px;
  }
  .service-list-wrap {
    margin: 16px;
  }
  .kirari-link {
    letter-spacing: normal;
    line-height: 1.4;
  }
}
@media screen and (max-width: 760px) {
  .service-list-container {
    flex-direction: column;
  }
  .service-list {
    margin: 0 8%;
  }
}
@media screen and (max-width: 520px) {
  .service .inner {
    padding: 80px 5% 60px;
  }
  .service-list {
    margin: 0;
  }
}
@media screen and (max-width: 420px) {
  .service .inner {
    padding: 80px 2% 60px;
  }
  .service-list img {
    height: 130px;
  }
  .service-list {
    height: 130px;
    align-items: center;
  }
  .service-list h3 {
    margin-bottom: 6px;
  }
  .school-list li {
    line-height: 1.7;
  }
}
@media screen and (max-width: 350px) {
  .service .inner {
    padding: 80px 1% 60px;
  }
  .service-list-wrap {
    margin: 10px;
  }
}
/*--history--------------------------------------------------------------*/
.history {
  background-image: url("../image/about/bird3.png");
  background-repeat: no-repeat;
  background-size: 30% auto;
  background-position: top 18% right 0;
}
.history .inner {
  padding: 80px 0;
}
.history ol li {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  position: relative;
  text-align: left;
}
.history ol li p {
  width: 70%;
  text-align: left;
}
.item-list {
  position: relative;
  list-style: none;
  margin-top: 100px;
}
.item-list::before {
  position: absolute;
  top: 6px;
  left: 172px;
  display: block;
  content: "";
  width: 2px;
  height: calc(100% - 3%);
  background-color: #8cc11e;
}
.history ol li:after {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 10.5em;
  width: 10px;
  height: 10px;
  background-color: #8cc11e;
  border-radius: 50%;
}
@media screen and (max-width: 980px) {
  .item-list::before {
    left: 156px;
  }
  .history ol li:after {
    left: 9.5em;
  }
}
@media screen and (max-width: 819px) {
  .history {
    background-size: 40% auto;
  }
  .history ol li p {
    font-size: 1.4rem;
  }
  .item-list::before {
    left: 139px;
  }
  .history ol li:after {
    left: 8.5em;
    width: 8px;
    height: 8px;
  }
}
@media screen and (max-width: 690px) {
  .br-sp3 {
    display: block;
  }
  .item-list::before {
    left: 115px;
  }
  .history ol li:after {
    left: 7em;
  }
}
@media screen and (max-width: 590px) {
  .br-sp4 {
    display: block;
  }
  .item-list::before {
    left: 105px;
    height: calc(100% - 2%);
  }
  .history ol li:after {
    left: 6.4em;
  }
}
@media screen and (max-width: 540px) {
  .item-list::before {
    left: 91px;
  }
  .history ol li:after {
    left: 5.5em;
  }
}
@media screen and (max-width: 460px) {
  .history {
    background-size: 50% auto;
    background-position: top 15% right 0;
  }
  .history ol li p {
    font-size: 1.2rem;
  }
  .history time {
    margin-right: 40px;
    font-size: 1.2rem;
  }
  .item-list::before {
    left: 59px;
  }
  .history ol li:after {
    left: 3.5em;
  }
  .history .inner {
    padding-bottom: 0;
  }
}
@media screen and (max-width: 400px) {
  .br-sp2 {
    display: block;
  }
  .service_dot {
    display: none;
  }
}
@media screen and (max-width: 374px) {
  .br-sp5 {
    display: block;
  }
}
