@charset "utf-8";

body{
  font-size: 14px;
}

.top-inner{
  width: 80%;
  margin: 0 auto;
  max-width: 1240px;
}

/* FV */
.fv{
  position: relative;
  margin-top: 3rem;
  max-height: 600px;
  //overflow: hidden;
}

.fv-img{
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.fv-text{
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: 10%;
  z-index: 1;
  height: fit-content;
}

.fv-text h1{
  font-size: 1.25rem;
  color: #FFF;
  font-weight: 400;
  letter-spacing: .5rem;
}

.fv-text p{
  font-size: 3rem;
  color: #FFF;
  font-weight: bold;
  letter-spacing: .5rem;
}

.fv-text img{
  width: auto;
  height: 50px;
}

  .fv-img-sp{
    display: none;
  }

@media screen and (max-width: 1024px) {
  .fv{
    position: relative;
    margin-top: 3rem;
    max-height: none;
  }
  .fv-img{
    display: none;
  }
  .fv-img-sp{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .fv-text{
    left: 5%;
  }
  .fv-text h1{
    margin: 1rem 0 0;
    font-size: 1.25rem;
    color: #FFF;
    line-height: 2;
  }
  .fv-text p{
    font-size: 2rem;
    color: #FFF;
    font-weight: bold;
    letter-spacing: .5rem;
  }

  .fv-text img{
    width: auto;
    height: 48px;
  }
}

@media screen and (max-width: 960px) {
  .fv{
    margin-top: 2rem;
  }
  .fv-text{
    left: 3%;
  }
  .fv-text h1{
    margin: 1rem 0 0;
    font-size: 24px;
    color: #FFF;
    line-height: 2;
    letter-spacing: .25rem;
  }
}

@media screen and (max-width: 600px) {
  .fv-text h1{
    margin: 1rem 0 0;
    font-size: 16px;
    color: #FFF;
    line-height: 2;
    letter-spacing: .125rem;
  }
}

/* About */
.ab-origin{
  position: relative;
  margin: 3rem auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.ab-origin-title{
  position: relative;
  padding: 1rem 10rem;
  margin: 0 auto;
  width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ab-origin-title h2{
  font-size: 1.25rem;
  color: #565FAC;
  width: fit-content;
  word-break: keep-all;
}

.ab-origin-title-deco01{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.ab-origin-title-deco02{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.event-deco{
  position: absolute;
  left: -7%;
  bottom: -3rem;
  max-width: 30%;
  height: auto;
  z-index: 1;
}

.ab-origin-item{
  width: 80%;
  position: relative;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 0 0;
}

.ab-origin-item-img{
  width: 50%;
  height: auto;
  object-fit: cover;
}

.ab-origin-item-deco01{
  position: absolute;
  bottom: 1rem;
  right: -30%;
  width: 100%;
  height: auto;
  z-index: -1;
}

.ab-origin-item-02{
  width: 80%;
  position: relative;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.ab-origin-item-02-img{
  width: 40%;
  height: auto;
  object-fit: cover;
}

.ab-origin-item-deco02{
  position: absolute;
  bottom: -5rem;
  left: -20%;
  width: 130vw;
  max-width: 1920px;
  height: auto;
  z-index: -1;
}

.ab-origin-item-03{
  width: 80%;
  position: relative;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0 auto;
}

.ab-origin-item-deco03{
  position: absolute;
  bottom: 1rem;
  left: -30%;
  width: 100%;
  height: auto;
  z-index: -1;
}

.ab-origin-item-deco04{
  position: absolute;
  top: -2rem;
  left: -20%;
  width: 100vw;
  max-width: 1920px;
  height: auto;
  z-index: 0;
}

.ab-origin-item-text{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}

.ab-origin-item-text h3{
  font-size: 1.5rem;
  color: #565FAC;
}

.ab-greeting{
  position: relative;
  margin: 5rem auto 8rem;
  padding-top: 12rem;
  width: 70%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ab-greeting-cont{
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.ab-greeting-cont h3{
  font-size: 1.5rem;
  color: #565FAC;
  text-align: center;
}

.ab-greeting-desc{
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0 auto;
  padding: 0 0 3rem 0;
}

.ab-greeting-desc-img{
  max-width: 300px;
  height: auto;
}

.ab-greeting-desc-back{
  position: absolute;
  bottom: 0;
  right: -3rem;
  z-index: -1;
  max-width: 50%;
  height: auto;
}

.ab-greeting-desc-text{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ab-greeting-desc-text-title{
  font-weight: bold;
}
.ab-greeting-desc-text-title h4{
  font-weight: bold;
  font-size: 1.5rem;
}

.ab-btnitem{
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 70%;
  margin: 8rem auto;
}

.ab-img{
  width: 100%;
  height: auto;
}

.ab-contact{
  margin: 5rem auto;
  width: 70%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ab-contact h2{
  background-color: #565FAC;
  text-align: center;
  color: #FFF;
  padding: 1rem 0;
  width: 100%;
  font-size: 1.5rem;
}

.ab-contact-desc{
  text-align: center;
  font-weight: bold;
}

@media screen and (max-width: 1200px) {
  .ab-origin-item{
    gap: 2rem;
  }
  .ab-origin-item-02{
    gap: 2rem;
  }
  .ab-origin-item-03{
    gap: 2rem;
  }
  .ab-origin-item-deco01{
    bottom: 0;
  }
  .ab-origin-item-deco02{
    bottom: 0;
  }
  .ab-origin-item-deco02-1{
    bottom: -3rem;
  }
  .ab-origin-item-deco03{
    bottom: 0;
  }
  .ab-origin-item-text h3{
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 960px) {
  .ab-origin-item{
    width: 100%;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
  }
  .ab-origin-item-text{
    width: 95%;
    margin: 0 auto;
    gap: 1.5rem;
  }
  .ab-origin-item-text p{
    font-size: 12px;
  }
  .ab-origin-item-img{
  	width: 100%;
    max-height: 400px;
    object-fit: cover;
  }
  .ab-origin-item-deco01{
    position: absolute;
    bottom: -1rem;
    right: 0;
    width: 100%;
    height: auto;
    z-index: -1;
  }
  .ab-origin-item-02{
    width: 100%;
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
  }
  .ab-origin-item-02-img{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: 20% 20%;
  }

  .ab-origin-item-deco02{
    position: absolute;
    bottom: -7rem;
    left: 0;
    width: 120%;
  }

  .ab-origin-item-03{
    width: 100%;
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
  }

  .ab-origin-item-deco03{
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
  }
  .ab-img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 65%;
  }
  .ab-origin-item-deco04{
    left: -5%;
  }
  .ab-greeting{
    position: relative;
    margin: 3rem auto;
    padding-top: 5rem;
    width: 90%;
    gap: 2rem;
    font-size: 12px;
  }
  .ab-greeting-cont h3{
    font-size: 18px;
    color: #565FAC;
    text-align: center;
  }

  .ab-greeting-desc{
    flex-direction: column;
    gap: 1rem;
    font-size: 12px;
  }

  .ab-greeting-desc-img{
    max-width: 300px;
    height: auto;
  }

  .ab-greeting-desc-back{
    right: 0;
    max-width: 70%;
  }

  .ab-greeting-desc-text{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .ab-btnitem{
    justify-content: center;
    gap: 2rem;
    width: 90%;
    margin: 5rem auto;
  }
  
  .ab-feature-item{
    padding-top: 2rem;
    flex-direction: column-reverse;
  }
  .ab-feature-item-02{
    padding-top: 2rem;
    flex-direction: column;
  }
  .ab-feature-item-deco{
    position: absolute;
    top: -5rem;
    bottom: auto;
    width: 100%;
    height: auto;
    z-index: -1;
  }
  .ab-contact{
    margin: 3rem auto;
    width: 90%;
  }
  .ab-contact-desc{
    font-size: 12px;
  }
}

@media screen and (max-width: 600px) {
    .ab-btnitem{
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: 90%;
    margin: 3rem auto;
  }
  .ab-origin-item-img{
  	width: 100%;
    max-height: 240px;
    object-fit: cover;
  }
  .ab-origin-item-02-img{
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: 20% 20%;
  }
}

@media screen and (max-width: 414px) {
  .ab-feature-item-deco{
    position: absolute;
    top: -2rem;
  }
  .ab-origin-item-deco02{
    position: absolute;
    bottom: -3rem;
    left: 0;
    width: 120%;
  }
}
