@charset "utf-8";

.about{
  margin:100px 0 5rem;
}

.about .container{
  position:relative;
  max-width:1280px;
}

.about-txt{
  position:absolute;
  width:max-content;
  left:0;
  top:0;
}

.about-txt h2{
  font-size:clamp(1.25rem, 0.833rem + 1.39vw, 2.5rem);
  margin-bottom:1.5rem;
  color:#0B0B0B;
}

.professional-wrap{
  display:flex;
  justify-content: space-between;
  align-items: center;
  max-width:1080px;
  margin:10rem auto;
}

.professional-wrap.reverse{
  flex-direction:row-reverse;
}

.professional-img{
  width:47.5%;
  position:relative;
  font-size:clamp(1.5rem, 0.667rem + 2.78vw, 4rem);
  color:#175534;
}

.professional-img p{
  line-height:1;
  margin-bottom:-8px;
  position: relative;
}

.professional-txt{
  width:45%;
}

.professional-txt h3{
  margin-bottom:2.5rem;
  font-size:clamp(1.25rem, 1rem + 0.83vw, 2rem);
}

.message-wrap{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width:1130px;
  margin:0 auto;
}

.message-img{
  width:29%;
}

.message-txt{
  width:66%;
}

.message-txt h3{
  margin-bottom:0;
}

.message-txt h4{
  margin:4rem 0 2.5rem;
  font-size:clamp(1.125rem, 1rem + 0.42vw, 1.5rem);
  color:#0B0B0B;
}

.message-name{
  margin-top:4rem;
  display:flex;
  align-items:center;
  gap:1rem;
  font-size:14px;
}

.message-name p:last-child{
  font-size:18px;
}

.info-wrap{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
}

.info-item{
  width:47.5%;
}

.info-list{
  display:flex;
  border-bottom:0.5px solid #808080;
  margin-bottom:2.5rem;
}

.info-list p{
  padding-bottom:1rem;
}

.info-list p:first-child{
  width:5rem;
  color:#175534;
  border-bottom:1px solid #175534;
}

.info-list p:last-child{
  width:calc(100% - 5rem);
  padding-left:1rem;
}

.history-wrap{
  display:flex;
  font-family: "Zen Old Mincho", serif;
  justify-content: space-between;
  align-items:flex-start;
  position:relative;
}

.history-wrap::before{
  content:"";
  position:absolute;
  width:100%;
  height:0.8px;
  background:#0B0B0B;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.history-item{
  padding-bottom:10rem;
  position: relative;
  height: 300px;
  font-size:12px;
}

.history-item::before{
  content:"";
  position:absolute;
  width:1px;
  height:145px;
  border-left:1px dashed #9B9B9B;
  bottom:0;
  left:1rem;
}

.history-item::after{
  content:"";
  position:absolute;
  width:11px;
  height:11px;
  background:#0B0B0B;
  border-radius:999vh;
  bottom: -5px;
  left: 11px;
}

.history-item p:first-child{
  color:#CACCCB;
  font-size:clamp(1.5rem, 0.667rem + 2.78vw, 4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.history-item:nth-child(2),
.history-item:nth-child(4){
  margin-top:300px;
  padding:10rem 0 0;
}

.history-item:nth-child(2)::before,
.history-item:nth-child(4)::before{
  bottom:auto;
  top:0;
}

.history-item:nth-child(2)::after,
.history-item:nth-child(4)::after{
  bottom:auto;
  top:-5px;
}

.lower-fv .contents .btn:nth-child(2){
  font-size: 10.5px;
}


@media screen and (max-width: 1280px) {
  .about-txt {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: -20%;
  }
  .message-wrap{
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .message-txt{
    width:100%;
  }
  .message-img {
    width: 100%;
    max-width: 350px;
  }
}

@media screen and (max-width: 1024px) {
  .oem-item {
    margin-top: 2.5rem;
  }
  .info-wrap{
    flex-direction: column;
  }
  .info-item {
    width: 100%;
  }
  .about-txt{
    margin-bottom: -15%;
  }
  .about .container{
    width: 85%;
  }
  .professional-wrap,
  .professional-wrap.reverse{
    margin: 5rem auto;
    flex-direction: column;
    gap: 2.5rem;
  }
  .professional-img{
    width: 100%;
    max-width: 400px;
  }
  .professional-txt {
    width: 100%;
  }
  .history-wrap{
    flex-direction: column;
    gap: 2rem;
  }
  .history-item{
    padding-bottom: 0rem;
    height: auto;
    width: 300px;
    margin-left:5rem;
  }
  .history-item:nth-child(2), .history-item:nth-child(4) {
    margin:0;
    margin-left:5rem;
    padding:0;
  }
  .history-wrap::before{
    width: 0.8px;
    height: 100%;
    top: 0%;
    left: 0%;
    transform: none;
  }
  .history-item::before {
    width: 4rem;
    height: 1px;
    border:none;
    border-bottom: 1px dashed #9B9B9B;
    bottom: auto;
    left: -80px;
    top: 1.3rem;
  }
  .history-item::after{
    bottom: auto;
    left: -85px;
    top: 1rem;
  }
  .history-item:nth-child(2)::before, .history-item:nth-child(4)::before{
    bottom: auto;
    top: 1.3rem;
  }
  .history-item:nth-child(2)::after, .history-item:nth-child(4)::after{
    top: 1rem;
  }
}


@media screen and (max-width: 767px) {
  .about-txt {
    margin-bottom: 1rem;
    width: fit-content;
  }
  .about {
    margin: 0rem 0 4rem;
  }
  .professional-wrap, .professional-wrap.reverse {
    margin: 3rem auto;
    gap: 1.5rem;
  }
  .professional-txt h3 {
    margin-bottom: 1rem;
  }
  .product {
    margin-bottom: 5rem;
  }
  .message-txt h4 {
    margin: 2rem 0 2rem;
  }
  .message-name {
    margin-top: 2rem;
  }
  .history-item, .history-item:nth-child(2), .history-item:nth-child(4){
    margin-left: 3rem;
  }
  .history-item::before,
  .history-item:nth-child(2)::before, .history-item:nth-child(4)::before{
    left: -50px;
    top: 0.9rem;
    width: 2.5rem;
  }
  .history-item::after,
  .history-item:nth-child(2)::after, .history-item:nth-child(4)::after{
    left: -53px;
    top: 0.6rem;
  }
  .history-item p:first-child{
    margin-bottom: 0.5rem;
  }
  .history-wrap{
    gap: 1.5rem;
  }
  .info-list p:first-child {
    width: 4.5rem;
  }
  .info-list p:last-child {
    width: calc(100% - 4.5rem);
  }
  .info-list{
    margin-bottom: 1.5rem;
  }
  .message-img {
    width: 75%;
  }
}