@charset "utf-8";
/*=================================
common
=================================*/
:root{
    --primary-white: #FEFFFA;
    --primary-black: #222222;
    --primary-greyblue: #BBDBDA;
    --primary-skyblue: #F2F6F6;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    font-family: "Ubuntu","Noto Sans JP";
    color: var(--primary-black);
    font-optical-sizing: auto;
    font-weight: 500;
    letter-spacing: 0.06em;
    background-color: var(--primary-white);
    line-height: 1.5;
  }

img{
    width: 100%;
    height: auto;
  }

.btn1{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.011em;
    padding: 22px 0 21px 0;
    position: relative;
    width: 24.3vw;
    height: 85px;
    background: var(--primary-black);   
    min-width: 261px; 
    display: block;
    margin: 0 auto;
}

.main_topic{
    color: var(--primary-white);
    font-family: Ubuntu;
    font-size: 9.027vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.main_text{
    color: var(--primary-white);
    font-family: "Noto Sans JP";
    font-size: 1.527vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
 
section{
    overflow-x: hidden;
}


.main_title{
    font-family: Ubuntu;
    font-size: 3.819vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: relative;
    margin-top: 100px;
    margin-left: 68px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
    white-space: nowrap;
}

.main_title::after{
    content: "";
    display: block;
    width: 64.37vw;
    height: 3.125vw;
    flex-grow: 1;
}

.main_subtitle{
    font-family: "Noto Sans JP";
    font-size: 1.388vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 1380px;
    margin: 0 auto;
}

.main_title--white{
    color: var(--primary-white);
}

.main_title--white::after{
    content: "";
    display: block;
    width: 64.37vw;
    height: 3.125vw;
    flex-grow: 1;
}

.show.main_title--whit::after{
  background-image: linear-gradient(
    90deg,
    #fff,
    #fff 50%,
    #000 50%,
    #000);
  background-size: 200%, 100%;
  animation-name: bar-anime;
  animation-duration: 1.4s;
  animation-timing-function: cubic-bezier(0.83, 0, 0.17, 1); /* easeInOutQuintのイージング */
}

.main_title--flow{
    font-family: Ubuntu;
    font-size: 5.902vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: relative;
    margin-top: 100px;
    margin-left: 68px;
    display: flex;
    gap: 20px;
    align-items: baseline;
    margin: 0 auto;
}

.main_title--flow::after{
    content: "";
    display: block;
    width: 64.37vw;
    height: 3.125vw;
    background-color: var(--primary-black);
    flex-grow: 1;
}

.show.main_title::after{
  background-image: linear-gradient(
    90deg,
    #222,
    #222 50%,
    #fff 50%,
    #fff
  );
  background-size: 200%, 100%;
  animation-name: bar-anime;
  animation-duration: 1.4s;
  animation-timing-function: cubic-bezier(0.83, 0, 0.17, 1); /* easeInOutQuintのイージング */
}

@keyframes bar-anime {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

.main_subtitle{
    font-family: "Noto Sans JP";
    font-size: 1.388vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 1380px;
    margin: 0 auto;
}

 /* common sp */
@media screen and (max-width: 769px){
body{
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 160% */
}

.main_title{
    font-family: Ubuntu;
    font-size: 6.666vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 0;
    gap: 2.666vw;
    white-space: nowrap;     
}    

.main_title::after{
    content: "";
    display: block;
    width: 64.37vw;
    height: 5vw;
    flex-grow: 1;
}

.main_subtitle{
    font-family: "Noto Sans JP";
    font-size: 0.972vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0;
}

}

/*=================================
main
=================================*/
/* mainvisual */
.main{
}

.mainvisual{
    background-image: url(../img/service_top.png);
    height: 31.25vw;
    background-size: cover;
    position: relative;
    background-position: center bottom;
    margin-top: 8.722vw;
}

.massage_topic{
    padding: 6.94vw 4.72vw ;
}

.main_topic{
    position: absolute;
    top: 9.583vw;
    left: 6.041vw;
}

.main_text{
    position: absolute;
    top: 20.138vw;
    left: 6.597vw;
}

@media screen and (max-width: 769px){
.main{
    padding-top: 70px;
}

.massage_topic{
    padding:  13.333vw 4.8vw;
} 

.mainvisual{
    background-image: url(../img/service_top_sp.jpg);
    height: 48vw;
    margin-top: 0;
    }

.main_topic{
    font-family: Ubuntu;
    font-size: 12vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_text{
    font-family: "Noto Sans JP";
    font-size: 4vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
}
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */


/* service */
.service{
padding: 13.333vw 4.72vw;
}

.service_topic{
    width: 100%;
    text-align: center;
}

.service_top h2{
    font-family: "Noto Sans JP";
    font-size: 4.166vw;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 3.6px;
    margin-bottom: 2.777vw;
}

.service_top p{
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 1.5vw;
    font-style: normal;
    font-weight: 500;
    line-height: 166.667%;
}


.service_btn{
    color: var(--primary-black);
    font-size: 1.736vw;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.011em;
    padding: 1.944vw;
    position: relative;
    width: 24.3055555556vw;
    background: var(--primary-white);
    border: 3px solid #FEFFFA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 3px solid var(--primary-black);
    margin: 0 auto;
    /* margin-top: 58px; */
}

.service_btn::before{
    content: "";
    background-image: url(../img/arrow_blk.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.041vw;
    height: 1.666vw;
    position: absolute;
    right: 22px;
}

.service_btn:hover:before{
    background-image: url(../img/arrow.svg);
}


.service_btn_sp{
    display: none;
}

.br_pc{
    display: block;
}

@media screen and (max-width: 768px){
.service{
padding: 13.333vw 4.8vw;
}

.service_topic{
    width: 100%;
    text-align: center;
    /* border-radius: 12vw; */
    /* position: relative; */
    /* margin: 0 auto; */
    /* padding: 86px 21px 87px 21px; */
    /* white-space: normal; */
    
}

.service_top h2{
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 5.866vw;
    font-style: normal;
    font-weight: 700;
    line-height: 145.455%;
    letter-spacing: 1.32px;
    white-space: nowrap;
    margin-bottom: 20px;
}

.service_top p{
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 3.2vw;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    width: 72.666vw;
    margin: 0 auto;
}

.br_pc{
    display: none;
}

.service_btn_sp{
    display: block;
    color: var(--primary-black);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.011em;
    padding: 19px 17px;
    position: relative;
    width: 62.133vw;
    background: var(--primary-white);   
    border: 2px solid var(--primary-black);
    margin-top: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px auto 0;
    min-height: 55px;
    height: auto;
}

.service_btn_sp::before{
    content: "";
    background-image: url(../img/arrow_blk.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.041vw;
    height: 2.666vw;
    position: absolute;
    right: 22px;
}

.service_btn_sp:hover:before{
    background-image: url(../img/arrow.svg);
}


.service_btn{
    display: none;
    gap: 2.083vw;
}
}

/* work */
.work_img_sp{
    display: none;
}

.work_top{
    padding: 0 4.72vw;
}

.work_topic{
    display: flex;
    gap: 2.083vw;
    justify-content: center;
    padding-top: 7.638vw;
    position: relative;
}

.work_topic:after{
    content: '';
    display: block;
    width: 100%;
    top: 20vw;
    bottom: 0;
    background-color: var(--primary-black);
    position: absolute;
    z-index: -1;
}

.work_group{
    background-color: var(--primary-white);
    margin: 0 auto;
    width: 24.305vw;
    padding: 2.43vw 1.22vw;
    height: 16.4027vw;
}

.work_list{
    text-align: center;
}

.work img{
     width: 24.305vw;
}

.work h3{
    color: var(--primary-black);
    font-family: "Noto Sans JP";
    font-size: 2.083vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 2.083vw;
}

.work p{
    color: var(--primary-black);
    font-family: "Noto Sans JP";
    font-size: 1.111vw;
    font-style: normal;
    font-weight: 400;
    line-height: 175%;
}

@media screen and (max-width: 768px){
.work_img_pc{
    display: none;
}

.work_img_sp{
    display: block;
    margin: 0 auto;
    width: 80vw;
    height: 58.666vw;
}

.work_topic:after{
    content: '';
    display: block;
    width: 100%;
    top: 30vw;
    bottom: 0;
    background-color: var(--primary-black);
    position: absolute;
    z-index: -1;
}

.work_top{
    padding: 0 4vw;
}

.work img{
    width: 80vw;
    height: 58.666vw;
}

.work_group{
    width: 80vw;
    height: 32vw;
    margin: 0 auto;
    padding: 5vw 4vw; 
}

.work_group h3{
    font-size: 5.333vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 2.666vw;
}

.work_group p{
    font-family: "Noto Sans JP";
    font-size: 3.2vw;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; 
}

.work_topic{
    gap: 8vw;
    padding-top: 8vw;
    flex-direction: column;
}

/* .work_topic{
    display: block;
} */

}

/* otherworks */
.main_title--work{
    color: var(--primary-white);
}

.show.main_title--blk::after{
  color: var(--primary-white);
  background-image: linear-gradient(
    90deg,
    #fff,
    #fff 50%,
    #222 50%,
    #222
  );
  background-size: 200%, 100%;
  animation-name: bar-anime;
  animation-duration: 1.4s;
  animation-timing-function: cubic-bezier(0.83, 0, 0.17, 1); /* easeInOutQuintのイージング */
}

@keyframes bar-anime {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

.otherworks{
    padding: 13.333vw 4.8vw;
    background-color: var(--primary-black);
}

.otherworks_topic{
    display: flex;
    text-align: center;
}

.otherworks_list h4{
    font-size: 1.736vw;
    color: var(--primary-white);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 2.083vw;
}

.otherworks_list p{
    font-size: 1.111vw;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: var(--primary-white);
    width: 15.277vw;
    margin: 0 auto;
}

/* .otherworks_list p::after{
    content: "";
    display: block;
    background-color: var(--primary-black);
    width: 1px;
    position: absolute;
} */

.otherworks_list{
    width:  15.277vw;
    flex: 1;
    position: relative;
}

.otherworks_list:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: var(--primary-white);
}

.otherworks_topic{
    justify-content: center;
    padding-top: 7.638vw;
}

.service_btn{
    color: var(--primary-black);
    font-size: 1.736vw;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.011em;
    padding: 1.944vw;
    position: relative;
    width: 24.3055555556vw;
    background: var(--primary-white);
    border: 3px solid #FEFFFA;
    margin-top: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 3px solid var(--primary-black);
    margin: 0 auto;
    margin-top: 7.638vw;
    margin-bottom: 3.472vw;
}

.service_btn::before{
    content: "";
    background-image: url(../img/arrow_blk.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.041vw;
    height: 1.666vw;
    position: absolute;
    right: 22px;
}

.service_btn:hover:before{
    background-image: url(../img/arrow.svg);
}

.service_btn--sp{
    display: none;
}

@media screen and (max-width: 768px){
.otherworks_list h4{
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 5.333vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 2.666vw;
}

.otherworks_list p{
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 3.2vw;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    width: 82vw;
}

.otherworks_list p::after {
    content: "";
    display: block;
    border-bottom: 0.266vw solid var(--primary-white);
    margin-top: 8vw; 
    width:  82vw;
    margin: 0 auto;
    margin-bottom: 8vw;
    margin-top: 8vw;
}

.service_btn{
    display: none;
}

.service_btn--sp{
    display: block;
}

.service_btn--sp{
    display: block;
        color: var(--primary-black);
        font-size: 1.6rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.011em;
        padding: 19px 17px;
        position: relative;
        width: 62.1333333333vw;
        background: var(--primary-white);
        border: 2px solid var(--primary-black);
        margin-top: 58px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 13.333vw auto 13.333vw;
        min-height: 55px;
        height: auto;
}

.service_btn--sp::before{
    content: "";
    background-image: url(../img/arrow_blk.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.041vw;
    height: 2.666vw;
    position: absolute;
    right: 22px;
}

.service_btn--sp:hover:before{
    background-image: url(../img/arrow.svg);
}

.service_btn--sp::after{
    content: "";
    display: block;
    width: 64.37vw;
    height: 4.8vw;
    flex-grow: 1;
}

.otherworks_list::after {
    display: none;
}


/* .otherworks_list p:last-of-type::after{
    display: none;
} */

.otherworks_topic{
    display: block;
    padding-top: 13.333vw;
}

.otherworks_list{
    width: 82vw;
    margin: 0 auto;
}


}


/* flow */
.flow{
    padding: 13.333vw 4.72vw;
}

.step{
    display: flex;
    margin-top: 6.944vw;
    justify-content: center;
    gap: 2.083vw;
}

.step_list{
    text-align: center;
}

.step_icon{
    width: 2.291vw;
    margin-left: 1.041vw;
}

.step_icon2{
    width: 4.027vw;
    margin-left: 1.041vw;
}

.step_title{
    font-family: Ubuntu;
    font-size: 1.388vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.6px;
    margin-bottom: 0.347vw;
}

.step_no{
    font-family: Ubuntu;
    font-size: 3.472vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 1.736vw;

}

.step_topic{
    font-family: "Noto Sans JP";
    font-size: 1.388vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.step_text{
    font-family: "Noto Sans JP";
    font-size: 1.111vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 12.5vw;
    margin: 0 auto;
}

.step_group{
    display: flex;
    justify-content: center;
    margin-bottom: 1.736vw;
}

.step_mainicon{
    width: 8.333vw;
    margin-bottom: 10px;
}

.step_line{
    border-radius: 3.472vw;
    padding: 1.388vw;
    border: 0.138vw solid var(--primary-black);
    width: 15.763vw;
    text-align: center;
    height: 22.916vw;
}

.step_label {
  writing-mode: vertical-rl;  /* 縦書き：右から左へ */
  text-orientation: upright; /* 文字を立てる（日本語対応） */
  background-color: var(--primary-black);  /* 背景色（黒に近いグレー） */
  color: var(--primary-white);
  font-family: "Noto Sans JP";
  font-size: 1.388vw;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 7.152vw 2.361vw;
  display: inline-block;
  text-align: center;
  margin-left: 2.0833vw;
}

.steplaber_text{
    font-family: "Noto Sans JP";
    font-size: 1.388vw;
    font-style: normal;
    font-weight: 700;
    line-height: 121.129%;
    letter-spacing: 2.064px;
}

@media screen and (max-width: 768px){
.flow{
    display: none;
}
    
.step{
    display: none;
}

.main_title--flow{
    display: none;
}

.main_subtitle{
    display: none;
}

.service_btn--sp--step{
    display: none;
}


}






