@charset "utf-8";

video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commitment{
  background-color: #fff;
  margin-left: 22rem;
  position: relative;
}

.commitment_top{
  padding: 14rem 9rem 15.6rem;
}

.commitment_title{
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: calc(51em/35);
  text-shadow: #00000029 0 .3rem .6rem;
}


.commitment_top_text{
  margin-top: 1.9rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: calc(35em/16);
}

.commitment_dark{
  position: relative;
  width: 100%;
  height: fit-content;
}

.commitment_main{
  position: relative;
  overflow: clip;
  padding: .1px;
  width: 100%;
  height: 78rem;
  text-align: center;
  color: #fff;
}

.commitment_main:nth-of-type(2){
  height: 149rem;
}

.commitment_main:nth-of-type(3){
  height: 93rem;
}

.commitment_main_inner{
  position: absolute;
  inset:0 0;
  width: 100%;
  height: 270%;
}

.commitment_texts{
  inset:0;
  margin: 0 auto;
  position: sticky;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  /* height: 100vh; */
}

.commitment_texts::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #00000096;
  width: 100%;
  height: 100vh;
}

.commitment_main:not(:first-of-type) .commitment_main_inner{
  inset: -100vh 0;
}

.commitment_bg{
  position: absolute;
  top: 0;
  /* aspect-ratio: 1060/780; */
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.commitment_dark_texts{
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100%;
  height: 100%;
  padding:9.4rem 0 41.9rem;
}

.commitment_text_inner{
  width: 100%;
  /* min-height: 140vh; */
  color: white;
  text-align: center;
}

.commitment_text_inner:nth-of-type(2){
  margin-top: 22.6rem;
}

.commitment_text_inner:nth-of-type(3){
  margin-top: 13.9rem;
}

.commitment_text_inner:nth-of-type(4){
  margin-top: 4.8rem;
}

.commitment_text_inner:nth-of-type(5){
  margin-top: 16rem;
}

.commitment_main_title{
  position: relative;
  z-index: 1;
  margin-top: 0;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: calc(35em/24);
}

.commitment_main_title::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -7.3rem;
  width: 0;
  height: 6rem;
  border-left: solid .1rem #fff;
}

.commitment_main_detail{
  position: relative;
  z-index: 1;
  margin-top: 2.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: calc(35em/16);
}

.commitment_main_logo{
  position: relative;
  aspect-ratio: 142/163.87;
  margin: 0 auto 9.4rem;
  width: 14.2rem;
  overflow: hidden;
  z-index: 1;
}

.link_button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5.3rem auto 0;
  width: 22.8rem;
  height: 5.6rem;
  border: solid .1rem #fff;
  border-radius: 2.8rem;
  padding: 1.75rem 0;
  /* padding-left: 2.7rem; */
  font-size: 1.5rem;
  letter-spacing: .1em;
  line-height: 1em;
  transition: all ease .3s;
  z-index: 1;
}

/* .link_button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.1rem;
  margin: auto;
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  background-color: #fff;
  transition: all ease .3s;
} */

.link_button:hover,
.link_button:hover::after {
  filter: invert();
  background-color: black;
}

.commitment_details{
  padding: 6rem 9rem 0rem;
}

.details_title{
  color: #BC0000;
  text-shadow: #00000029 0 .3rem .6rem;
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: calc(58em/40);
}

.details_declarations{
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  font-size: 2rem;
  letter-spacing: .08em;
  line-height: 1em;
  line-height: calc(58em/40);
  white-space: nowrap;
  text-shadow: #00000029 0 .3rem .6rem;
}

.details_declarations .touten{
  letter-spacing: -.299em;
}

.details_declarations span{
  display: inline-block;
  width: fit-content;
}

.commitment_details_flex{
  margin-top: 6.3rem;
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 5rem;
}

.details_iamge{
  aspect-ratio: 300/425;
  width: 30rem;
  overflow: hidden;
}

.commitment_detail{
  margin-top: -.6rem;
  width: 50rem;
  font-size: 1.6rem;
  letter-spacing: .16em;
  line-height: calc(35em/16);
}

.commitment_detail_text{
  color: #6F6F6F;
  transition: all ease .1s;
}

.commitment_detail_text .color_change.visible{
  color: black;
}

.commitment_detail_name{
  margin-top: 3rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: calc(28em/16);
}

.commitment_slide{
  width: 100%;
  padding: 14.2rem 0 16rem;
}

.swiper-wrapper {
  transition-timing-function: linear;
}

.commitment_slide_content{
  aspect-ratio: 40/35;
  width: 40rem;
  padding-right: 5rem;
  overflow: hidden;
}

@media screen and (max-width: 699.98px) {

  .commitment {
    margin-left: 0;
  }

  .commitment_top {
    padding: 14rem 1rem 12rem;
  }

  .commitment_top_text {
    margin-top: 2rem;
  }

  .commitment_main {
    padding: .1px;
    width: 100%;
    height: 95rem;
  }

  .commitment_main:nth-of-type(2) {
    height: 189.7rem;
  }

  .commitment_main:nth-of-type(3){
    height: 120rem;
  }

  .commitment_texts{
    padding-top: 9.6rem;
  }

  .commitment_bg {
    aspect-ratio: 375/950;
  }

  .commitment_dark_texts{
    padding-top: 9.7rem;
  }

  .commitment_main_title {
    font-size: 2rem;
    letter-spacing: .16em;
    line-height: calc(29em/20);
  }

  .commitment_main_title::before {
    top: -7.6rem;
  }

  .commitment_main_detail {
    margin-top: 2.4rem;
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: calc(35em/14);
  }

  .link_button{
    margin-top: 5.2rem;
  }

  .commitment_text_inner:nth-of-type(2) {
    margin-top: 23.3rem;
  }

  .commitment_text_inner:nth-of-type(3) {
    margin-top: 10.9rem;
  }

  .commitment_text_inner:nth-of-type(4) {
    margin-top: 4.8rem;
  }

  .commitment_text_inner:nth-of-type(5) {
    margin-top: 21.7rem;
  }

  .commitment_text_inner:nth-of-type(5) .commitment_main_title {
    font-size: 2.4rem;
  }

  .commitment_details {
    padding: 6rem 1rem 0rem;
    overflow: hidden;
  }

  .details_title {
    text-wrap: nowrap;
  }

  .details_declarations {
    margin-top: 3.3rem;
    gap: 2rem;
    font-size: 1.6rem;
    letter-spacing: .08em;
    line-height: calc(24em/16);
  }

  .details_declarations .touten {
    padding: 0;
    letter-spacing: -.299em;
  }

  .details_declarations span {
    padding-left: 3.3rem;
  }

  .commitment_details_flex {
    margin-top: 7rem;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .details_iamge {
    aspect-ratio: 1/1;
    width:100%;
  }

  .commitment_detail {
    width: 100%;
    font-size: 1.6rem;
  }

  .commitment_detail_text {
    color: #6F6F6F;
    transition: all ease .1s;
  }

  .commitment_detail_text .color_change.visible {
    color: black;
  }

  .commitment_detail_name {
    margin-top: 1rem;
    line-height: calc(30em/16);
    text-align: right;
  }

  .commitment_slide {
    width: 100%;
    padding: 6.7rem 0 16rem;
  }


  .commitment_slide_content {
    aspect-ratio: 245/220;
    width: 24.5rem;
    padding-right: 2.5rem;
    overflow: hidden;
  }
}

