/* tarp-contents ---------------------------------------------------------------------------------- */
.tarp-content{
  width: 65%;
  position: relative;
}
@media screen and (max-width:768px) {
  .tarp-content {
    width: 80%;
  }
}
.tarp-content:nth-of-type(2n-1){
  margin-left: auto;
}
.tarp-content:nth-of-type(2n){
  margin-right: auto;
}
.tarp-content-visual{
  background-color: #ccc;
  position: relative;
}
.tarp-content-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tarp-content-title{
  display: inline-block;
  width: fit-content;
  height: fit-content;
  padding: 2rem 2rem;
  background: #fff;
  transform-origin: left center;
  text-align: center;
  font-family: var(--font-en);
  line-height: 1;
  position: absolute;
}
.tarp-content:nth-of-type(2n-1) .tarp-content-title{
  left: 0;
  transform: translateX(-50%);  
}
.tarp-content:nth-of-type(2n) .tarp-content-title{
  right: 0;
  transform: translateX(50%);  
}
.tarp-content-title .tit{
  display: inline-block;
  padding-bottom: .125em;
  border-bottom: 5px #000 solid;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-en);
}
.tarp-content-txt p + p{
  margin-top: 1em;
}
@media screen and (min-width:769px) {
  .tarp-content + .tarp-content{
    margin-top: 10%;
  }
  .tarp-content-visual{
    aspect-ratio: 650 / 422;
  }
  .tarp-content-title{
    top: 38%;
    min-width: 30rem;
  }
  .tarp-content-title .tit{
    font-size: 8.4rem;
    line-height: 1;
  }
  .tarp-content-txt{
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 5%;
  }
  .tarp-content-txt.float {
    width: 25%;
    max-width: 300px;
    position: absolute;
    top: 70%;
    left: -38%;
    padding-top: 0;
  }
  .tarp-content:nth-of-type(2n) .tarp-content-txt.float {
    left: 108%;
  }
  .tarp-content-txt p{
    font-size: min(1.4rem,14px);
  }
  .tarp-content-btn{
    margin-top: min(4rem,40px);
  }
}
@media screen and (max-width:768px) {
  .tarp-content + .tarp-content{
    margin-top: 24%;
  }
  .tarp-content-title {
    padding: 1rem 2rem;
    top: 50%;
  }
  .tarp-content:nth-of-type(2n-1) .tarp-content-title {
    left: -20vw;
    transform: unset;
  }
  .tarp-content:nth-of-type(2n) .tarp-content-title {
    right: -20vw;
    transform: unset;
  }
  .tarp-content-title .tit{
    font-size: 4.5rem;
    line-height: 1.25;
  }
  .tarp-content-txt {
    width: 92%;
    padding: 5% 0;
    margin: auto;
  }
  .tarp-content:nth-of-type(2n-1) .tarp-content-txt{
    margin-left: unset;
  }
  .tarp-content:nth-of-type(2n) .tarp-content-txt{
    margin-right: unset;
  }
  .tarp-content .btn_wrap{
    margin-top: 4rem;
  }
}