@charset "utf-8";

.gjs-dashed .case-img{
  z-index:10;
}

.lower-title span{
  font-size: clamp(1.125rem, 0.625rem + 1.67vw, 2.5rem) !important;
}

.grd-h2 h2 em {
  display: inline !important;
}

.grd-h2 h2 u{
  text-decoration:none !important;
  display:inline-block;
}

.case-main::before{
  aspect-ratio:3840/3800;
  background:url(https://fkrelations.co.jp/system_panel/uploads/images/20251204092221294379.png) no-repeat center/cover !important;
}

.date-btn{
  flex-direction: column;
  gap: 4rem;
  z-index:1;
  padding: 10rem 5% 3rem;
  background:url(https://fkrelations.co.jp/system_panel/uploads/images/20251204094000925585.png) no-repeat center/cover;
}

.date-btn::before{
  width:100%;
  height:100%;
  top:0;
  left:0;
  border:none;
  background:rgba(0,0,0,0.35);
  z-index:-1;
}

.date-btn h2{
  font-size:clamp(1.5rem, 0.955rem + 1.82vw, 3rem);
}

.arrow-btn{
  margin: 0;
  width: 300px;
}

.arrow-btn p{
  font-size:clamp(0.875rem, 0.83rem + 0.15vw, 1rem) !important;
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
}

.lower-title2-row{
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
}

.lower-title2-row h2{
  margin:0;
}

.container.strength{
  margin-bottom:10rem;
}

.strength .lower-title2{
  text-align:left;
}

.strength .lower-title2 h2{
  margin:0 0 1rem;
}

.strength-wrap{
  display:flex;
  gap:3rem;
  max-width:1100px;
  margin: 0 0 80px auto;
  align-items: flex-start;
}

.strength-txt{
  width:82%;
}

.strength-wrap img{
  width:calc(18% - 3rem);
}

.strength-txt h3{
  margin-bottom:2rem;
  font-size:clamp(1.5rem, 1.136rem + 1.21vw, 2.5rem);
  animation-delay:0.3s;
}

.strength-txt h3 + p{
  font-size:clamp(1rem, 0.955rem + 0.15vw, 1.125rem);
  animation-delay:0.6s;
}

.case-img {
  width: 44%;
  clip-path: polygon(5% 0, 100% 0%, 95% 100%, 0% 100%);
}

.case-img img{
  aspect-ratio: 700 / 360;
}

.case-txt h3{
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

@media (min-width: 1280px) {
  .case-txt{
    z-index: -1;
    transform: translateX(100px) translateY(-35%);
    -webkit-transform: translateX(100px) translateY(-35%);
    -ms-transform: translateX(100px) translateY(-35%);
  }

  .case-txt.fadeUp{
    transform: translateY(-30%);
    -webkit-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
  }
}

.case-txt .accent{
  border-left:4px solid #8D785A;
  padding-left:1rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  font-size:clamp(0.938rem, 0.915rem + 0.08vw, 1rem);
}

.case-txt h3 + p {
  margin: 1rem 0 0rem;
}

.case::before{
  aspect-ratio:2048/2149;
  height: auto;
  top: 7.5%;
  background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251204101249986484.png) no-repeat top center / contain;
}

.case-wrap{
  margin-bottom: 140px;
}

.date-btn-bg{
  max-width:none;
  margin:0;
}

.date-btn-bg::after{
  z-index:10;
}

.date-btn:hover{
  opacity:1;
}

@media (max-width: 1600px) {
  .case-txt {
    padding: 2rem 5% 2rem 7.5%;
  }
}

@media (max-width: 1279px) {
  .case-img{
    width: 80%;
    position: relative;
    z-index: 15;
  }
  .case-txt, .case-wrap.second .case-txt{
    margin: -1rem 0 0 auto;
    padding: 3rem 5% 3rem 7.5%;
  }
  .case::before{
    display:none;
  }
}

@media (max-width: 1024px) {
  .strength-wrap{
    gap:2rem;
  }
  .strength-wrap img {
    width: calc(18% - 2rem);
  }
}

@media (max-width: 767px) {
  .case .container{
    width:100%;
  }
  .case-img {
    width: 95%;
    transform: translateX(-10%);
  }
  .case-txt .accent{
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .case-txt, .case-wrap.second .case-txt {
    padding: 3rem 3% 2rem 7.5%;
  }
  .case-wrap {
    margin-bottom: 2rem;
  }
  .lower-title2-row{
    gap: 20px;
    padding: 0 5%;
  }
  .date-btn {
    text-align:center;
    gap: 2rem;
    padding: 5rem 5% 20px;
  }
  .strength-wrap {
    gap: 0rem;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .strength-txt {
    width: 100%;
  }
  .strength-wrap img {
    width: 115px;
    margin-bottom: -1rem;
    margin-left: -0.5rem;
  }
  .strength-txt h3 {
    margin-bottom: 1rem;
  }
  .strength .lower-title2 h2 {
    margin: 0 0 0rem;
  }
  .arrow-btn {
    min-width: 280px;
  }
  .container.strength {
    margin-bottom: 5rem;
  }
}