@charset "UTF-8";

/*===================================
メインビジュアル
===================================*/
.mv {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mv__inner{
    position: relative;
    background-image: url(../../img/mv/mv_bkg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    width: 100%;
    min-height: clamp(
        600px,
        calc(600px + (100vw - 1300px) * 0.1613),
        700px
    );
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* 円 */
.mv__circle {
  width: min(45vw, 680px);
  aspect-ratio: 560 / 570;
  /* height: 647px; */
  position: absolute;
  right: 6%;
  bottom: -70px;
}

/* スライダー */
.mv__slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.mv__slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.mv__slide.active {
  opacity: 1;
}

.mv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 回転テキスト */
.mv__text {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  fill: #ccc;
  font-size: 18px;
  letter-spacing: 2px;
  animation: rotateText 20s linear infinite;
  pointer-events: none;
  z-index: 3;
  letter-spacing: 3px;
  font-weight: bold;
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mv__content{
    position: absolute;
    left: clamp(
    10px,
    calc(10px + (100vw - 1300px) * 0.2258),
    150px
  );
}

.mv__title{
    font-size: 5.8rem;
    line-height: 1.3;
}

.mv__lead{
    font-size: 1.7rem;
    margin-top: 30px;
    line-height: 2;
}

/* ===== Scroll Indicator ===== */

.mv__scroll {
  position: absolute;
  right: 25px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

/* 表示用 */
.mv__scroll.is-active {
  opacity: 1;
  transform: translateY(0);
}

.mv__scroll-text {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  color: #333;
}

/* ライン本体 */
.mv__scroll-line {
  position: relative;
  width: 2px;
  height: 80px;
  background: rgba(0,0,0,0.2);
  overflow: hidden;
}

/* 動く線 */
.mv__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  animation: scrollLine 2s linear infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* タブレット（PCサイズ維持） */
@media screen and (max-width:1300px) and (min-width:768px){

  .mv__circle{
    width: clamp(570px, 45vw, 570px);
  }

}

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

    .mv__inner{
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        background-image: url(../../img/mv/mv_sp.jpg);
        background-size: cover;
        background-position: top;
        min-height: clamp(500px, calc(500px + (100vw - 375px) * 0.5102), 700px);
    }

    /* 円 */
    .mv__circle {
        width: 63%;
        position: absolute;
        right: 3%;
        top: 6%;
        bottom: auto;
    }

    .mv__content{
        position: unset;
        padding: 15px;
        border-radius: 15px;
        letter-spacing: 2px;
    }

    .mv__title{
        font-size: clamp(3.8rem, 2.5rem + 3vw, 5.8rem);
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        position: absolute;
        top: 10px;
        left: 15px;
    }

    .mv__lead{
        font-size: 1.5rem;
        position: absolute;
        bottom: 20px;
        right: 10px;
        width: 80%;
    }

    .mv__scroll{
        right: auto;
        left: 0;
    }
    
}

/*===================================
T's SolutioNとは
===================================*/

.about{
    padding: 100px 20px;
}

.about__inner{
    display: flex;
    position: relative;
}

.about__heading{
    margin-top: 35px;
    font-weight: bold;
    font-size: 3rem;
}

.about__text{
    margin-top: 35px;
}

.about__paragraph{
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about__image{
    width: 55%;
    position: absolute;
    top: 0;
    right: 0;
}

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

    .about{
        padding: 50PX 0;
    }

    .about__inner{
        display: block;
    }

    .about__heading{
        margin-top: 20px;
        font-size: 2.3rem;
    }

    .about__text{
        margin-top: 20px;
    }

    .about__image{
        position: unset;
        width: 100%;
    }

}

/*===================================
私たちができること
===================================*/

.services {
    position: static;
    background-color: #FFF6F1;
    padding: 50px 0;
    /* margin-top: -35%; */
}

.services__sticky{
    margin-top: 20px;
    top: 100px;
    height: auto;
    overflow: hidden;
    max-width: 1300px;
}

.services__track {
    /* display: flex; */
    position:relative;
    height: 100%;
}

.services__panel{
    display: block;
    padding: 20px;
    width: 100%;
    background-size: cover;
    position: static;
    opacity: 1;
    transform: none;
    margin-bottom: 40px;
}

.services__panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.services__image{
    max-width: 600px;
}

.services__content{
    background-repeat: no-repeat;
    height: 556px;
    background-size: 100% 100%;
    margin-left: 40px;
    padding: 70px 30px;
    width: 58%;
    position: relative;
}

.services__content--01{
    background-image: url(../../img/top/services_bkg_01.png);
}

.services__content--02{
    background-image: url(../../img/top/services_bkg_02.png);
}

.services__content--03{
    background-image: url(../../img/top/services_bkg_03.png);
}

.services__content--04{
    background-image: url(../../img/top/services_bkg_04.png);
}

.services__heading{
    font-weight: bold;
    font-size: 2.8rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.services__paragraph{
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 15px;
}

.services__footer{
    display: flex;
    align-items: baseline;
    position: absolute;
    bottom: 80px;
}

.services__btn{
    position: relative;
    display: inline-block;
    padding: 15px 45px;
    color: #000;
    text-decoration: none;
    background-color: #fff;
}

.services__btn:hover{
    color: #FF6E4A;
    opacity:  1;
}

/* 4辺の線 */
.services__btn::before,
.services__btn::after{
  content:"";
  position:absolute;
  background:#FF6E4A;
  transition:all .3s ease;
}

/* 上 */
.services__btn::before{
  top:0;
  left:0;
  height:1px;
  width:0;
}

/* 右 */
.services__btn::after{
  top:0;
  right:0;
  width:1px;
  height:0;
}

/* 下 */
.services__btn span::before{
  content:"";
  position:absolute;
  bottom:0;
  right:0;
  height:1px;
  width:0;
  background:#FF6E4A;
  transition:.3s ease .3s;
}

/* 左 */
.services__btn span::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:1px;
  height:0;
  background:#FF6E4A;
  transition:.3s ease .6s;
}

/* hoverアニメーション */

.services__btn:hover::before{
  width:100%;
}

.services__btn:hover::after{
  height:100%;
  transition-delay:.3s;
}

.services__btn:hover span::before{
  width:100%;
}

.services__btn:hover span::after{
  height:100%;
}

.services__progress{
    display: none;
}

/* PCのみスクロールスライド */
@media screen and (min-width:1301px){

    .services{
        height: 300vh;
        position: relative;
    }

    .services__sticky {
        position: sticky;
        top: 110px;
        height: 85vh;
        margin: 0 auto;
    }

    .services__panel {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(40px);
        transition: opacity .6s ease, transform .6s ease;
        pointer-events: none;
    }

    /* progress */
    .services__progress{
        display: block;
        margin-left: 25px;
        width:200px;
        position:relative;
    }

    /* 線 */
    .services__progress-line{
        width:100%;
        height:2px;
        background:#ddd;
        position:relative;
    }

    .services__progress-bar{
        position:absolute;
        top:0;
        left:0;
        height:100%;
        width:0%;
        background:#000;
        transition:width .15s linear;
    }

    /* 丸 */
    .services__progress-dots{
        display:flex;
        justify-content:space-between;
        margin-top:-6px;
    }

    .services__dot{
        width:12px;
        height:12px;
        border-radius:50%;
        background:#ddd;
        transition:.3s;
    }

    .services__dot.is-active{
        background:#000;
        transform:scale(1.2);
    }

}

/* タブレット（PCサイズ維持） */
@media screen and (max-width:1300px) and (min-width:768px){

    .services__panel {
        display: flex;
    }

}

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

    .services{
        position: static;
        padding: 50px 0 0;
    }

    .services__image{
        margin: 0 auto;
    }

    .services__content{
        height: auto;
        width: 100%;
        margin-left: 0;
        padding: 15px 0;
    }

    .services__panel--01{
        background-image: url(../../img/top/services_bkg_sp_01.png);
    }

    .services__panel--02{
        background-image: url(../../img/top/services_bkg_sp_02.png);
    }

    .services__panel--03{
        background-image: url(../../img/top/services_bkg_sp_03.png);
    }

    .services__panel--04{
        background-image: url(../../img/top/services_bkg_sp_04.png);
    }

    .services__content--01,.services__content--02,.services__content--03, .services__content--04{
        background-image: none;
    }

    .services__heading{
        font-size: 2rem;
        margin-bottom: 10px;
        line-height: 1.6;
    }

    .services__footer{
        /* display: block; */
        position: unset;
        bottom: auto;
    }

    .services__btn{
        border-radius: 10px;
    }
}


/*===================================
お知らせ
===================================*/
.news__item{
    padding: 25px 0;
    border-bottom: solid 1px #FF6E4A;
    font-weight: bold;
}

.news__item a{
    display: flex;
    align-items: center;
}

.news__item:last-of-type{
    border-bottom: none;
}

.news__item-title{
    margin-left: 40px;
}

/*===================================
活動情報
===================================*/
.instagram-feed{
    margin: 50px auto 80px;
}

#sb_instagram .sb_instagram_header h3, .sb_instagram_header h3{
    font-weight: bold;
}

#sb_instagram .sb_instagram_header p, .sb_instagram_header p{
    width: 88%;
}

#sb_instagram .sbi_follow_btn a:focus, #sb_instagram .sbi_follow_btn a:hover{
    box-shadow:unset!important;
}

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

    .instagram-feed{
        margin: 30px auto 60px;
    }

    #sb_instagram .sb_instagram_header p, .sb_instagram_header p{
        width: 100%;
    }
}

