@charset "utf-8";

html:has(.gjs-dashed),
body.gjs-dashed  {
  overflow: auto;
}

.gjs-dashed .fv-wrapper{
  display:none;
}

html, body {
  overflow: hidden;
}

.lower-title2 h2{
  font-size:clamp(2.875rem, 1.193rem + 5.61vw, 7.5rem);
  background-image: linear-gradient(135deg, #8D785A, #5E5E5E 65% 100%);
}

.lower-title2.white{
  color:#fff;
}

.lower-title2.white h2{
  background-image: linear-gradient(135deg, #F8F8F8,  rgba(141, 120, 90, 1));
}

.lower-title2 p{
  font-size:clamp(1rem, 0.636rem + 1.21vw, 2rem);
}

.fv-wrapper{
  position:absolute;
  width:100%;
  height:100%;
  background:#fff;
  opacity:0;
  top:0;
  left:0;
  z-index:100;
}

.fv{
  height:100vh;
  height:100svh;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.fv-txt{
  position:absolute;
  z-index:10;
  top: 57.5%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(2);
  transform: translate(-50%, -50%) scale(2);
  opacity: 0;
  width: 100%;
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}

.fv-txt.fadeUp {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

.fv-txt p{
  font-size:clamp(6.25rem, 3.977rem + 7.58vw, 12.5rem);
  text-shadow:0px 0px 50px rgba(0,0,0,1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 2.5rem;
}

.fv-txt p strong{
  font-size:clamp(2.813rem, 1.563rem + 4.17vw, 6.25rem);
}

.fv-txt h1{
  font-size:clamp(1.125rem, 0.534rem + 1.97vw, 2.75rem);
  text-shadow:0px 0px 50px rgba(0,0,0,1);
  letter-spacing:8px;
}

.fv img{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  z-index:1;
  object-fit: cover;
}

.scroll-list-wrap{
  position: absolute;
  top: 33%;
  left: 51%;
  transform: translate(-50%, -50%) rotate(-48deg);
  -webkit-transform: translate(-50%, -50%) rotate(-48deg);
  -ms-transform: translate(-50%, -50%) rotate(-48deg);
  opacity:0.7;
  width:150%;
}

.scroll-list {
  z-index: 1;
  display: flex;
  list-style: none;
  padding-inline: 0;
  margin-inline: 0;
  gap: 0;
  width:100%;
  overflow: hidden;
}

.scroll-list > p {
  font-size: clamp(5.625rem, 2.67rem + 9.85vw, 13.75rem);
  color:#F8F8F8;
  white-space: nowrap;
  padding: 0 3rem 0 0;
  margin: 0;
  animation: text-right 80s  linear infinite;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Jost", sans-serif;
  text-shadow:none;
}

.next{
  padding:5rem 0 180px  5%;
  position:relative;
  overflow:hidden;
  background:url(https://fkrelations.co.jp/system_panel/uploads/images/20251204152934617047.png) no-repeat bottom center/cover;
}

.next-wrap{
  display:flex;
  justify-content: space-between;
}

.next-wrap .lower-title2 h2{
  display: inline-block;
  background-image: url(https://fkrelations.co.jp/system_panel/uploads/images/20251204154202161389.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(14, 14, 14, 0.6);
}

.next-wrap .lower-title2 p{
  font-size:clamp(1rem, 0.455rem + 1.82vw, 2.5rem);
}

.next-img{
  width: 50%;
  transform: translateX(10%);
}

.next-img.support-img::after{
  background:#F6F6F6;
}

.next-wrap .lower-title2 {
  text-align: left;
  width:50%;
}

.next-wrap2{
  padding-right:10%;
  align-items: flex-end;
  margin-top: -3rem;
}

.next-txt{
  width:45%;
  max-width: 670px;
  position: relative;
  z-index: 10;
  font-size:clamp(1rem, 0.864rem + 0.45vw, 1.375rem);
}

.next-txt .arrow-btn{
  margin-top:5rem;
}

.next-img2{
  width:50%;
  max-width:710px;
}

.next-img2 .next-img:first-child {
  width: 65%;
  margin:0 0 0 auto;
}

.next-img2 .next-img:last-child {
  width: 58%;
  margin:-2rem 0 0 -5%;
}

.support{
  padding:200px 5%;
  color:#fff;
  overflow:hidden;
  background:url(https://fkrelations.co.jp/system_panel/uploads/images/20251204150237750840.png) no-repeat center/cover;
}

.support-wrap{
  display:flex;
  text-align:center;
  justify-content: space-between;
  align-items: center;
}

.support-wrap .lower-title2 p{
  font-size:clamp(1.25rem, 0.795rem + 1.52vw, 2.5rem);
  line-height: 1.5;
  margin-top: 2rem;
}

.support-item{
  width:23%;
  font-size:clamp(1rem, 0.864rem + 0.45vw, 1.375rem);
  font-weight:bold;
}

.support-item p{
  line-height:1.5;
  height:4rem;
  margin-top:1rem;
}

.support .arrow-btn{
  margin:4rem auto 0;
}

.support-img{
  clip-path: polygon(5% 0, 100% 0%, 95% 100%, 0% 100%);
  position: relative;
}

.support-img::before{
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: #8D785A;
  top: 0;
  right: 0;
  transition: 0.3s;
  z-index: 10;
}

.support-img.fadeUp::before{
  animation: date-btn 1s forwards  ease-in-out;
}

.support-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1B1C1D;
  top: 0;
  right: 0;
  transition: 0.3s;
}

.support-img.fadeUp::after {
  animation: date-btn-fade 1s forwards ease-in-out;
}

.support-img.reverse::before {
  right: auto;
  left: 0;
}

.support-img.reverse.fadeUp::before {
  animation: date-btn-reverse 1s forwards  ease-in-out;
}

.support-img.reverse::after {
  right: auto;
  left: 0;

}

.reason{
  padding:10rem 0 15rem;
  position:relative;
}

.reason::before{
  content:"";
  position:absolute;
  width:50%;
  aspect-ratio:1959/2485;
  left:0;
  top:0;
  z-index:-1;
  background:url(https://fkrelations.co.jp/system_panel/uploads/images/20251204124700748786.png) no-repeat left/contain;
}

.reason::after{
  content:"";
  position:absolute;
  width:100%;
  aspect-ratio:1920/4160;
  left:0;
  top:0;
  z-index:-10;
  background:url(https://fkrelations.co.jp/system_panel/uploads/images/20251204144815472765.png) no-repeat left/contain;
}

.reason-wrap{
  display:flex;
  width:90%;
  margin:0 auto;
  justify-content: space-between;
  align-items: flex-start;
}

.reason-wrap .lower-title2{
  text-align: left;
  margin-bottom: 10rem;
}

.reason-right{
  width: calc(100% - 500px);
  max-width: 1000px;
  padding-top: 5rem;
}

.strength-wrap{
  gap: 0rem;
  position:relative;
  width: fit-content;
  margin: 0 0 5rem;
}

.strength-wrap:first-child{
  margin: 0 0 5rem auto;
}

.strength-wrap:nth-child(2){
  margin: 0 auto 5rem auto;
  width: 65%;
  max-width: 550px;
}

.strength-txt h3 {
  margin-bottom: 1rem;
}

.strength-txt h3 + p{
  font-size:clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
}

.strength-wrap img {
  position: absolute;
  z-index: -1;
  width: 170px;
  left: -100px;
  top: -60px;
}

.strength-txt {
  width: 100%;
}

.top-case{
  width:90%;
  margin:0 auto;
}

.top-case-wrap{
  display:flex;
  margin-top: 7.5rem;
  padding: 0 5%;
}

.top-case-item{
  width:calc(100% / 3);
  font-size:clamp(0.813rem, 0.653rem + 0.53vw, 1.25rem);
  position:relative;
  animation-delay:0.2s;
}

.top-case-item::before{
  content:"";
  position:absolute;
  width: 15%;
  aspect-ratio: 1 / 2;
  top: 35%;
  left: -10%;
  z-index:10;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251204131753214625.png) no-repeat center/contain;
}

.top-case-item:first-child::before{
  display:none;
}

.top-case-item img{
  transform:scale(1.2);
}

.top-case-item:nth-child(2){
  animation-delay:0.4s;
}

.top-case-item:nth-child(3){
  animation-delay:0.6s;
}

.top-case-txt{
  padding:60px 20px 20px 0;
  position:relative;
}

.top-case-txt::before{
  content:"";
  position:absolute;
  width: 2px;
  height: 200px;
  background: #8D785A;
  left: -9%;
  top: 1rem;
  transform: rotate(12deg);
  z-index: -1;
}

.top-case-txt h3{
  font-size:clamp(1rem, 0.636rem + 1.21vw, 2rem);
  margin-bottom:1rem;
}

.top-news{
  padding:300px 0 0;
}

.top-news .lower-title2 h2{
  margin:0 0 7.5rem;
}

.top-news-wrap{
  display:flex;
  width:90%;
  margin:0 auto;
  justify-content: space-between;
  align-items: flex-start;
}

.top-news-left{
  width:fit-content;
}

.top-news .news-main{
  width:70%;
  margin: 4rem 0 0;
  padding: 0;
  background: transparent;
}

.news-main .webgene-blog .newsTextWrap {
  flex-direction: column;
  align-items: flex-start;
}

.newsItemText,
.news-main .webgene-blog article .newsItemTit{
  width:100%;
}

.newsItemCate{
  border: 1px solid #BFBFBF;
  background: #FFFFFF;
  color:#0E0E0E;
}

.insta{
  padding:280px 0 10rem;
}

.insta .arrow-btn{
  margin:50px auto 0;
}

.cta{
  margin-top:0;
}
.fv-sp{
  display:none;
}

.strength-txt h3{
  font-size:clamp(1.25rem, 0.795rem + 1.52vw, 2.5rem);
}


.support-wrap-sp,
.reason .reason-sp,
.top-news .arrow-btn-sp{
  display:none;
}
/*
.support-img.next-img{
-webkit-transform: translateX(10%) skewX(-3deg);
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
}*/

@media (max-width: 1600px) {
  .next-img2 .next-img:last-child{
    margin: -2rem 0 0 -10%;
  }
  .reason::after{
    top:65%;
  }
  .strength-wrap img {
    width: 130px;
    left: -70px;
    top: -45px;
  }
}
@media (max-width: 1400px) {
  .next-wrap2 {
    padding-right: 5%;
    margin-top: 4rem;
  }
  .scroll-list-wrap {
    transform: translate(-50%, -50%) rotate(-55deg);
    -webkit-transform: translate(-50%, -50%) rotate(-55deg);
    -ms-transform: translate(-50%, -50%) rotate(-55deg);
  }
  .strength-wrap:nth-child(2) {
    margin: 0 auto 5rem auto;
    width: 85%;
    max-width: none;
  }
}

@media (max-width: 1279px) {
  .reason-wrap{
    flex-direction: column;
    gap: 4rem;
  }
  .reason-left .arrow-btn,
  .top-news-left .arrow-btn{
    display:none;
  }
  .reason .reason-sp,
  .top-news .arrow-btn-sp{
    display:block;
    margin:0 auto;
  }
  .reason-wrap .lower-title2{
    margin:0;
  }
  .reason-wrap{
    width:100%;
  }
  .strength-wrap,
  .strength-wrap:nth-child(2){
    width: 100%;
    max-width: none;
  }
  .reason-right {
    width: 75%;
    margin: 0 auto;
  }
  .reason-left{
    position:relative;
    padding: 2rem 10rem 0rem 3rem;
  }
  .reason-left::before {
    content: "";
    position: absolute;
    width: 100%;
    aspect-ratio:340/135;
    background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251205151826955222.png) no-repeat left / contain;
    left: 0;
    top: 0;
    z-index: -1;
  }
  .reason::before{
    display:none;
  }
  .top-case-wrap{
    flex-direction: column;
    gap: 5rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    width: 70%;
  }
  .top-case-txt::before{
    content: "";
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewX(-7deg);
    -webkit-transform: translate(-50%, -50%) skewX(-7deg);
    -ms-transform: translate(-50%, -50%) skewX(-7deg);
    z-index: -1;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
  }
  .top-case-txt {
    padding: 1rem 2rem;
    position: relative;
    width: fit-content;
    margin: -2rem 0 0 auto;
    z-index: 10;
  }
  .top-case-item {
    width: 100%;
  }
  .top-case-txt h3{
    margin:0;
  }
  .top-case-item:nth-child(2) {
    margin-left: auto;
  }
  .top-case-item img {
    transform: scale(1);
    width: 80%;
  }
  .top-case-item::before{
    aspect-ratio:53/13;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251205153126403698.png) no-repeat center / contain;
  }
  .top-news-wrap{
    flex-direction: column;
    margin-bottom: 3.5rem;
    align-items: center;
    gap:2.5rem;
    width: 80%;
  }
  .top-news-wrap .lower-title2,
  .top-news .lower-title2 h2{
    margin:0;
  }
  .top-news .news-main {
    width: 100%;
    margin: 0;
  }
  .news-main .webgene-blog article:first-child > a {
    border-top: 1px solid #BFBFBF;
  }
  .reason {
    padding: 2rem 0 7.5rem;
  }
  .top-news {
    padding: 7.5rem 0 0;
  }
  .insta {
    padding: 7.5rem 0;
  }
  .support {
    padding: 100px 5%;
  }
  .top-case-item:nth-child(2) img{
    margin:0 0 0 auto;
    display: block;
  }
  .top-case-item:nth-child(2) .top-case-txt{
    margin: -2rem auto 0 0;
  }
}

@media (max-width: 1024px) {
  .support-wrap-pc .support-item{
    display:none;
  }
  .support-wrap-sp{
    display:flex;
    margin-top:3rem;
    gap:5%;
  }
  .support-wrap{
    justify-content: center;
  }
  .support-item {
    width: 40%;
  }
  .fv-txt p{
    flex-direction: column;
  }
  .next-img2{
    display:none;
  }
  .next-wrap2 .next-txt{
    width:100%;
    max-width: none;
  }
  .next-wrap2 {
    margin-top: 2rem;
  }
  .next{
    z-index: 1;
  }
  .scroll-list-wrap {
    top: 70%;
    left: 51%;
    transform: translate(-50%, -50%) rotate(-20deg);
    -webkit-transform: translate(-50%, -50%) rotate(-20deg);
    -ms-transform: translate(-50%, -50%) rotate(-20deg);
  }
  .next-wrap{
    flex-direction: column;
  }
  .next-wrap .support-img{
    margin: 0 0 0 auto;
    width: 70%;
  }
  .next-wrap .lower-title2{
    width:100%;
  }
  .next-txt .arrow-btn{
    margin:5rem auto 0;
  }
}

@media (max-width: 1024px) {
  @media (min-height: 900px) {
    .fv-sp{
      display:block;
    }
    .fv-pc{
      display:none;
    }
  }
}

@media (max-width: 767px) {
  .fv-txt h1{
    letter-spacing: 4px;
  }
  .fv-sp{
    display:block;
  }
  .fv-pc{
    display:none;
  }
  .next {
    padding: 2.5rem 0 4rem 5%;
  }
  .next-wrap .support-img {
    width: 100%;
  }
  .next-txt .arrow-btn{
    margin:2.5rem auto 0;
  }
  .arrow-btn {
    min-width: 250px;
    width: fit-content;
  }
  .support {
    padding: 2.5rem 5% 4rem;
  }
  .support-wrap .lower-title2 p{
    margin-top: 0.5rem;
  }
  .support-wrap  .lower-title2{
    margin:0;
  }
  .support-wrap {
    flex-direction: column;
    gap: 2.5rem;
  }
  .support-item {
    width: 80%;
  }
  .support-item p {
    margin-top:0.5rem;
    height: auto;
  }
  .reason-left {
    padding: 1.5rem 5rem 0rem 1rem;
    margin-bottom: 2rem;
  }
  .reason {
    padding: 3rem 0 100px;
  }
  .strength-wrap img {
    width: 75px;
    left: -15px;
    top: -24px;
  }
  .strength-txt h3 {
    margin-bottom: 0.5rem;
  }
  .reason-right {
    width: 85%;
    margin: 0 auto 0 10%;
    padding: 0;
  }
  .strength-wrap,
  .strength-wrap:first-child,
  .strength-wrap:nth-child(2) {
    margin: 0 0 3rem;
  }
  .top-case-item {
    width: 100%;
  }
  .top-case-wrap{
    width: 90%;
  }
  .top-case-txt {
    padding: 1rem;
  }
  .top-case-item:nth-child(2) .top-case-txt {
    margin: -2rem auto 0 0;
    width: 85%;
  }
  .top-case-wrap{
    gap:2rem;
  }
  .top-news-wrap{
    width:90%;
  }
  .top-case-item::before{
    top: -1.25rem;
  }
  .reason-left::before{
    width: 115%;
    top: -3%;
  }
  .scroll-list-wrap {
    top: 63%;
    left: 51%;
    transform: translate(-50%, -50%) rotate(-35deg);
    -webkit-transform: translate(-50%, -50%) rotate(-35deg);
    -ms-transform: translate(-50%, -50%) rotate(-35deg);
  }
}