@charset "utf-8";

.about-gr{
  position: relative;
  margin: 5rem auto;
  padding: 8rem 0 0;
}

.about-gr-back{
  position: absolute;
  top: 0;
  right: 5%;
  max-width: 60%;
  height: auto;
  z-index: -1;
}

.about-gr-inner{
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.about-gr-img{
  position: relative;
  width: 100%;
  height: auto;
}

.about-gr-text{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5%;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 45%;
  height: fit-content;
}

.about-gr-text img{
  max-width: 500px;
  height: auto;
}

.about-gr-text-spimg{
   display: none;
}

.about-record{
  position: relative;
  margin: 5rem auto;
  width: 80%;
}

.about-record-title{
  position: relative;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-record-title h2{
  position: relative;
  font-size: 1.25rem;
  text-align: center;
  padding-bottom: 2rem;
}

.about-record-title h2:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-image: url("https://yumesekai.jp/system_panel/uploads/images/20251108185206229679.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 42px;
  height: 4px;
}

.about-record-title p{
  position: relative;
  font-size: 1.5rem;
  text-align: center;
}

.about-record-cont{
  position: relative;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-record-item{
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.about-record-item:nth-child(even){
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 2rem;
}

.about-record-item-img{
  position: relative;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: fit-content;
}

.about-record-item-img-deco{
  position: absolute;
  top: 35%;
  right: -15%;
  height: auto;
  z-index: -1;
  max-width: 30vw;
}

.about-record-item-img-deco02{
  position: absolute;
  top: 35%;
  right: -50%;
  height: auto;
  z-index: -1;
  max-width: 30vw;
}

.about-record-item-img-deco03{
  position: absolute;
  top: 65%;
  left: -15%;
  height: auto;
  z-index: -1;
  max-width: 30vw;
}

.about-record-item-img img:nth-child(1){
  max-width: 80%;
  height: auto;
}

.about-record-item-img img:nth-child(2){
  max-width: 60%;
  height: auto;
  margin: 0 0 0 auto;
}

.about-record-item-text{
  position: relative;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.about-record-item-text-year{
  position: relative;
  font-size: 5rem;
  line-height: 1;
}

.about-record-item-text-desc{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 90%;
  margin: 0 0 0 auto;
  padding: 1rem 0 8rem 2rem;
  border-left: 1px solid #000
}

.about-record-item-text-desc h3{
  position: relative;
  font-size: 1.75rem;
}

.about-desc{
  position: relative;
  margin: 5rem auto;
  padding: 3rem 5%;
  width: 80%;
  border-top: 1px solid #B4B4B4;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.about-desc-img{
  max-width: 320px;
  height: auto;
}

.about-desc-item{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 60%;
  max-width: 700px;
}

.about-desc-item-name{
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.about-desc-item-list{
  position: relative;
  display: flex;
  gap: 2rem;
}

.about-desc-item-list-tit{
  width: 70px;
}

.about-desc-item-list-wrap{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-cta{
  position: relative;
  margin: 5rem auto;
  width: 80%;
  display: flex;
}

.about-cta-item{
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 3rem 2rem;
  color: #FFF;
  text-align: center;
}

.about-cta-item h3{
  color: #FFF;
  font-size: 2rem;
  text-align: center;
}

.about-cta-item a{
  margin: 1rem auto 0;
}

.about-cta-item-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  z-index: -1;
}

@media screen and (max-width: 1200px) {
  .about-gr-inner{
    width: 100%;
  }
  .about-desc{
    width: 95%;
  }
}

@media screen and (max-width: 960px) {
  .about-gr{
    margin: 3rem auto;
    padding: 4rem 0 0;
  }

  .about-gr-back{
    max-width: 80%;
  }

  .about-gr-inner{
    width: 90%;
  }

  .about-gr-text{
    position: relative;
    right: 0;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    height: fit-content;
  }
  .about-gr-text img{
    display: none;
  }
  .about-gr-text-spimg{
    display: block;
    position: absolute;
    top: 3rem;
    right: 3%;
    max-width: 60%;
    height: auto;
    z-index: 1;
  }
  
  .about-record{
    width: 90%;
  }
  .about-record-title h2{
    font-size: 1rem;
    padding-bottom: 1.5rem;
  }
  .about-record-title p{
    font-size: 1.25rem;
  }
  .about-record-cont{
    margin: 3rem auto;
  }

  .about-record-item{
    flex-direction: column;
    align-items: center;
  }

  .about-record-item:nth-child(even){
    flex-direction: column;
    align-items: center;
  }
  .about-record-item-img{
    max-width: 100%;
  }
   .about-record-item-text{
     margin: 0 auto;
  }
  .about-record-item-text-year{
    font-size: 3.5rem;
  }
  .about-record-item-text-desc{
    width: 100%;
    margin: 0 0 0 auto;
    padding: 1rem 0 3rem 1.5rem;
  }
  .about-record-item-text-desc h3{
    font-size: 18px;
  }
  .about-desc{
    position: relative;
    margin: 3rem auto;
    padding: 2rem .5rem;
    width: 95%;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .about-desc-img{
    max-width: 280px;
    height: auto;
  }

  .about-desc-item{
    width: 100%;
  }
  .about-desc-item-list{
    gap: 1rem;
  }
  .about-cta{
    margin: 3rem auto;
    width: 90%;
    flex-direction: column;
    gap: 1.5rem
  }
  .about-cta-item{
    width: 100%;
    gap: 1rem;
    padding: 3rem 1rem;
  }
  .about-cta-item h3{
    font-size: 1.25rem;
  }
  .about-cta-item a{
    margin: 1rem auto 0;
  }
  .about-cta-item-back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    z-index: -1;
  }
}

@media screen and (max-width: 768px) {
  .about-record-title p{
    font-size: 16px;
  }
  .about-gr{
    margin: 3rem auto;
    padding: 2.5rem 0 0;
  }
  .about-gr-text{
    position: relative;
    right: 0;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    height: fit-content;
  }
  .about-gr-text img{
    display: none;
  }
  .about-gr-text-spimg{
    display: block;
    position: absolute;
    top: 3rem;
    right: 3%;
    height: auto;
    z-index: 1;
  }
}