@charset "UTF-8";

/*-------------------------------------------*/
/*	PC
/*-------------------------------------------*/

@media screen and (min-width:900px) {

  .contents {
    padding: 180px 0;
  }

  /* =====================
    btn
  ===================== */
  
  .contents .btn {
    margin-left: auto;
  }

  /* =====================
    fv
  ===================== */
  
  #fv {
    width: 100%;
    /* height: calc( 100vh - 193px ); #header高さ分引く */
    height: 90vh; /* #header高さ分引く */
    min-height: 550px;
    position: relative;
  }

  #fv .inner {
    height: 100%;
    position: relative;
    width: 900px;
  }

  .scroll {
    width: 14px;
    position: absolute;
    top: 190px;
    right: 73px;
  }

  .fv_tower {
    width: auto;
    height: 100%;
    position: absolute;
    bottom: 90px;
    /* bottom: -20px; */
    right: 11vw;
    transform: none;
    transition: 2s;
    z-index: 0;
  }

  .fv_tower img {
    width: auto;
    height: 120%;
    /* height: 100%; */
  }

  /*  fv_text
  ------------------------*/

  .fv_text1 {
    animation: fv_to_left 100s linear 0s infinite;
    display: block;
    width: calc( 1416px * 3 );
    height: min(14vh,167px);
    background: url(../img/home/fv_text1.svg) repeat-x left top;
    background-size: contain;
    will-change: transform;
    position: absolute;
    bottom: 29.5vh;
    left: 0;
    z-index: 1;
  }

  .fv_text2 {
    animation: fv_to_right 100s linear 0s infinite;
    display: block;
    width: calc( 1400px * 3 );
    height: min(9vh, 104px);
    background: url(../img/home/fv_text2.svg) repeat-x left top;
    background-size: contain;
    will-change: transform;
    position: absolute;
    bottom: calc(29.5vh - min(14vh, 162px) + 24px);
    right: 0;
    z-index: 1;
  }

  /*  keyframes
  ------------------------*/

  @keyframes fv_to_left {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%);
    }
  }

  @keyframes fv_to_right {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(50%)
    }
  }


  /*  fv_copy
  ------------------------*/
  
  .fv_copy {
    font-size: 24px;
    font-weight: 500;
    padding: 0 8px;
    letter-spacing: 0.1em;
    line-height: 3.4;
    position: absolute;
    /* top: min(18vh,198px); */
    top: 25%;
    left: 0;
    transform: none;
    visibility: hidden; /* 初期は非表示 */
  }

  .fv_copy.show {
    visibility: visible;
  }
  
  .fv_copy .skip {
    position: relative;
    visibility: visible; /* 初期状態は表示される必要がある */
    font-weight: 700;
    padding: 12px 10px 14px 12px;
    line-height: 1;
    margin: 0 5px;
  }  
  
  .fv_copy .skip:nth-of-type(2) {
    margin-left: -8px;
  }
  
  .fv_copy .skip::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    border: 2px solid var(--color-black);
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    visibility: hidden; /* 初期は非表示 */
    transition: width 0.5s ease, height 0.5s ease;
  }
  
  .fv_copy .skip.border::before {
    visibility: visible; /* ボーダー表示 */
    width: 100%; /* 横幅を100%まで広げる */
    height: 100%; /* 高さを保持 */
  }
  
  .fv_copy .skip.complete {
    visibility: visible; /* アニメーション完了後も表示 */
  }

  /* =====================
    about
  ===================== */

  #about .ttl_area {
    margin-bottom: 80px;
  }

  .about_text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transform: none;
    opacity: 0;
  }

  .about_text.show {
    transform: none;
  }

  .about_ttl {
    font-size: 32px;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
  }
  
  .about_text p {
    opacity: 0;
  } 

  .about_text p:not(:last-of-type) {
    margin-bottom: 30px;
  }

  #about_lead_pc {
    width: 100vw;
    margin: -10px calc( 50% - 50vw ) 30px;
  }
  
  #about_lead_pc svg {
    width: 1410px !important;
    max-width: 100%;
    margin: 0 auto;
  }

  #about .btn {
    opacity: 0;
    transition: all 1s ease;
    transform: translate(0, 100px);
  }

  #about .btn.aboutshow {
    opacity: 1;
    transform: none;
  }

  /* =====================
    works
  ===================== */
  
  #works .cat_tags {
    justify-content: flex-start;
    margin-top: 30px;
    gap: 0 10px;
  }

  /*  .works_item:first-child 
  ------------------------*/
  
  .works_item:first-child {
    width: 100%;
    max-width: 100%;
  }

  .works_item:first-child a {
    flex-direction: row-reverse;
    position: relative;
  }

  .works_item:first-child a::before {
    content: '';
    width: 65.5px;
    height: 30px;
    display: block;
    background: url(../img/common/icon_arrow_l_w.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    bottom: 60px;
    right: 60px;
    transition: .3s;
  }

  .works_item:first-child .works_text,
  .works_item:first-child .works_img {
    width: 50%;
  }
  
  .works_item:first-child .works_text {
    padding: 60px 60px 115px;
  }

  .works_item:first-child .works_ttl {
    font-size: 24px;
  }

  .works_item:first-child .cat_tag {
    margin-bottom: 20px;
  }

  .works_item:first-child .works_time {
    font-size: 16px;
  }

  .works_item:first-child .works_img {
    padding-bottom: 35.3335%;
    min-height: 100%;
  }

  .works_item:first-child a:hover::before {
    transform: translateX(5px);
  }
  
  /* =====================
    news
  ===================== */

  #news {
    background: var(--color-black);
    position: relative;
    z-index: 0;
  }  

  #news::before {
    content: '';
    width: calc( 50vw - 600px + 464px);
    height: 100%;
    display: block;
    background: url(../img/home/news_bg.jpg) no-repeat center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .news_column {
    justify-content: space-between;
  }

  .news_wrap {
    max-width: 660px;
    width: 61%;
    padding-top: min(7vw,120px);
  }

  .news_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .news_item a {
    padding: 28px 0;
    color: #fff;
  }

  .news_cat {
    font-weight: 700;
    border-color: #fff;
    margin-right: 20px;
  }

  .news_time {
    width: 70px;
  }

  .news_ttl {
    width: calc( 100% - 250px );
  }

  .news_wrap .btn {
    margin-top: 80px;
  }

  /* =====================
    contact
  ===================== */
  
  #contact {
    margin-top: 0;
  }

}

/*-------------------------------------------*/
/*	SP
/*-------------------------------------------*/

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

  .contents {
    padding: 160px 0;
  }

  /* =====================
    btn
  ===================== */
  
  .contents .btn {
    margin-left: auto;
    margin-top: 60px;
  }

  /* =====================
    fv
  ===================== */
  
  #fv {
    width: 100%;
    height: calc( 100vh - 135px ); /* #header高さ分引く */
    min-height: 830px;
    position: relative;
  }

  #fv .inner {
    height: 100%;
    position: relative;
  }

  .scroll {
    width: 14px;
    position: absolute;
    top: 43vh;
    right: 10px;
  }

  .fv_tower {
    width: auto;
    height: 83.5vh;
    min-height: 775px;
    position: absolute;
    bottom: -30px;
    right: -48px;
    transform: none;
    transition: 2s;
    z-index: 0;
  }

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

  /*  fv_text
  ------------------------*/

  .fv_text1 {
    animation: fv_to_left 100s linear 0s infinite;
    display: block;
    width: calc( 1102.27px * 2 );
    height: 130px;
    background: url(../img/home/fv_text1.svg) repeat-x left top;
    background-size: 1102.27px 130px;
    will-change: transform;
    position: absolute;
    top: min(67.5vh,500px);
    left: 5%;
    z-index: 1;
  }

  .fv_text2 {
    animation: fv_to_right 100s linear 0s infinite;
    display: block;
    width: calc( 1048.73px * 2 );
    height: 78px;
    background: url(../img/home/fv_text2.svg) repeat-x left top;
    background-size: 1048.73px 78px;
    will-change: transform;
    position: absolute;
    top: min(88vh,640px);
    right: 5%;
    z-index: 1;
  }

  /*  keyframes
  ------------------------*/

  @keyframes fv_to_left {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%);
    }
  }

  @keyframes fv_to_right {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(50%)
    }
  }


  /*  fv_copy
  ------------------------*/
  
  .fv_copy {
    font-size: 16px;
    font-weight: 500;
    padding: 0 8px;
    letter-spacing: 0.1em;
    line-height: 3.4;
    position: absolute;
    top: min(49.5vh,330px);
    left: 0;
    transform: none;
    transition: none;
    visibility: hidden; /* 初期は非表示 */
  }

  .fv_copy.show {
    visibility: visible;
  }
  
  .fv_copy .skip {
    position: relative;
    visibility: visible; /* 初期状態は表示される必要がある */
    font-weight: 700;
    padding: 7px 6px 9px 8px;
    line-height: 1;
    margin: 0 5px;
  }  
  
  .fv_copy .skip:nth-of-type(2) {
    margin-left: -8px;
  }
  
  .fv_copy .skip::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    border: 2px solid var(--color-black);
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    visibility: hidden; /* 初期は非表示 */
    transition: width 0.5s ease, height 0.5s ease;
  }
  
  .fv_copy .skip.border::before {
    visibility: visible; /* ボーダー表示 */
    width: 100%; /* 横幅を100%まで広げる */
    height: 100%; /* 高さを保持 */
  }
  
  .fv_copy .skip.complete {
    visibility: visible; /* アニメーション完了後も表示 */
  }

  /* =====================
    about
  ===================== */

  #about .ttl_area {
    margin-bottom: 80px;
  }
  
  .about_text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transform: none;
    opacity: 0;
  }

  .about_text.show {
    transform: none;
  }

  .about_ttl {
    font-size: 24px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }

  .about_text p {
    opacity: 0;
    font-size: 16px;
  }

  .about_text p:not(:last-of-type) {
    margin-bottom: 25px;
  }

  #about_lead_sp {
    width: 100vw;
    margin: 10px calc( 50% - 50vw ) 30px;
  }
  
  #about_lead_sp svg {
    width: 100%;
    /* width: 774px !important;
    margin-left: -42px; */
  }

  #about .btn {
    margin-top: 0;
    opacity: 0;
    transition: all 1s ease;
    transform: translate(0, 100px);
  }

  #about .btn.aboutshow {
    opacity: 1;
    transform: none;
  }


  /* =====================
    works
  ===================== */
  
  #works .cat_tags {
    flex-wrap: wrap;
    margin-top: 20px;
  }

  /*  .works_item:first-child 
  ------------------------*/

  .works_item:first-child a {
    flex-direction: column-reverse;
    position: relative;
  }

  .works_item:first-child a::before {
    content: '';
    width: 52.4px;
    height: 24px;
    display: block;
    background: url(../img/common/icon_arrow_l_w.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    bottom: 30px;
    right: 24px;
  }

  .works_item:first-child .works_text,
  .works_item:first-child .works_img {
    width: 50%;
  }
  
  .works_item:first-child .works_text {
    width: 100%;
    padding: 24px 24px 63px;
  }

  .works_item:first-child .works_ttl {
    font-size: 18px;
    line-height: 2;
  }

  .works_item:first-child .cat_tag {
    margin-bottom: 16px;
    font-size: 14px;
    padding: 6px 10px 6px 24px;
  }

  .works_item:first-child .cat_tag  span {
    left: 10px;
  }

  .works_item:first-child .time {
    font-size: 13px;
  }

  .works_item:first-child .works_img {
    width: 100%;
    padding-bottom: 70.668%;
    height: 0;
  }

  /* =====================
    seminar
  ===================== */

  #seminar .lead {
    margin-bottom: 40px;
  }
  
  /* =====================
    news
  ===================== */

  #news {
    padding-top: 85px;
    padding-top: 0;
    background: var(--color-black);
    position: relative;
    z-index: 0;
  }  

  #news .ttl_area {
    position: relative;
    padding: 84px 0;
    z-index: 1;
  }

  #news .ttl_area::before {
    content: '';
    width: 100vw;
    height: 300px;
    display: block;
    background: url(../img/home/news_bg.jpg) no-repeat center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: calc( 50% - 50vw );
    z-index: -1;
  }

  .news_column {
    display: block;
  }

  .news_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .news_item a {
    color: #fff;
  }

  .news_cat {
    border-color: #fff;
  }

  /* =====================
    contact
  ===================== */
  
  #contact {
    margin-top: 0;
  }

  /* =====================
    SP調整
  ===================== */

  @media screen and (min-width:688px) {

    /* =====================
      about
    ===================== */
        
    #about_lead_sp svg {
      width: 100% !important;
      margin: 0 auto;
    }

  }
       
}