@charset "UTF-8";

/*==========================
loading view
==========================*/

#loading-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--main-color__blk);
  z-index: 9999 !important;   
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bgFadeOut 0.5s ease 2.5s forwards;
}

/* --- ロゴ画像 --- */
.loading-logo {
  width: 80%;
  opacity: 0;
  animation: logoSequence 2.5s ease 0s forwards;
}

@media screen and (min-width: 769px) {
  .loading-logo {
     width: 40%;
  }
}

/* ロゴの一連の動き（出現 → 待機 → 退場） */
@keyframes logoSequence {
  /* --- 0%〜30%: フェードイン（少し奥から現れる） --- */
  0% {
    opacity: 0;
    transform: scale(0.8); /* 最初は少し小さく */
  }
  30% {
    opacity: 1;
    transform: scale(1);   /* 通常サイズに戻る */
  }
  
  /* --- 30%〜80%: 待機（ロゴを見せる時間） --- */
  80% {
    opacity: 1;
    transform: scale(1);
  }
  
  /* --- 80%〜100%: 前方に飛び出して消える --- */
  100% {
    opacity: 0;            /* 透明になっていく */
    transform: scale(5);   /* 5倍に巨大化（＝手前に迫る） */
  }
}

/* 背景のフェードアウト & 操作不能化 */
@keyframes bgFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden; /* 完全に消してクリックも通すようにする */
  }
}

/*==========================
Article header FV
==========================*/

.fv_background_PC{
  display: none !important;
}

.contact__PC {
  display: none;
}

.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

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

.fv-video-pc {
  display: none !important;
}
.fv-video-sp {
  display: block !important;
}

.fv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
  to bottom,
  rgba(255, 255, 255, 0.1) 0%,   /* 上部：ほぼ透明（動画が見える） */
  rgba(255, 255, 255, 0.7) 70%,  /* 中間：少し白く */
  rgba(255, 255, 255, 1.0) 100%  /* 最下部：真っ白（次のセクションに馴染む） */
  );
  z-index: 1; /* 動画(0)より上、タイトル(10)より下 */
  pointer-events: none;
}

.fv__title {
  display: block;
  position: absolute;
  bottom: 30%;
  opacity: 0;
  z-index: 10; /*動画より手前に表示 */
}

/* fvローディン後に_タイトルが動くアニメーション */
body.loaded .fv__title {
  animation: fadeIn 1.0s ease 0s forwards;
}

.fv_txt1 {
  width: 90%;
  color: var(--main-color__wht);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 1.92px;
  padding: 5px 10px;
  margin-top: 10px;
  background-color: var(--main-color__blk);
}

.fv_txt2 {
  width: 110%;
  color: var(--main-color__wht);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 1.92px;
  padding: 5px 10px;
  margin-top: 10px;
  background-color: var(--main-color__blk);
}

.scroll_down {
  display: none ;
}


@media screen and (min-width: 769px) {
  .fv_background_SP {
    display: none;
  }

  .fv_background_PC {
    display: block;
  }

/* SP用の動画を消して、PC用の動画を表示 */
  .fv-video-sp {
    display: none !important;
  }

  .fv-video-pc {
    display: block !important;
  }  

  .fv__title {
    position: absolute;
    left: 0;
    top: 30%;
  }

  .fv_txt1 {
    width: 85%;
    padding: 10px 20px 10px 80px;
    font-size: 4rem;
    line-height: 60px;
    letter-spacing: 3.84px;
  }

  .fv_txt2 {
    width: auto;
    padding: 10px 20px 10px 80px;
    margin-top: 40px;
    font-size: 4rem;
    line-height: 60px;
    letter-spacing: 3.84px;
  }

  .contact__PC {
    display: flex;
    width: 80px;
    height: 200px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--main-color__wht);
    border-left: 1px solid var(--main-color__wht);
    border-bottom: 1px solid var(--main-color__wht);
    border-radius: 20px 0 0 20px;
    background: var(--main-color__blk);
    color: var(--main-color__wht);
    writing-mode: vertical-rl;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 4.5px;
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 999;
    transition: 0.3s ease-in-out;
  }

  .contact__PC:hover {
    background: rgb(90, 176, 126);
    color: var(--main-color__blk);
    border: none;
  }

  /* スクロールダウン表示 */
  @import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

  .scroll_down{
    display: block;
    position:absolute;
    bottom: 0%;
    right: 7%;
    z-index: 999;
  }

  .scroll_down a{
    position: absolute;
    left: 10px;
    bottom: 150px;
    color: var(--main-color__grn);
    font-size: 1.6rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: .2em;
    font-weight: 700;
    writing-mode: vertical-lr;
    text-decoration: none;
    text-transform: uppercase;
  }

  .scroll_down:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background:var(--main-color__grn);
    animation:
      circlemove 1.6s ease-in-out infinite,
      cirlemovehide 1.6s ease-out infinite;
  }

  @keyframes circlemove{
    0%{bottom:200px;}
    100%{bottom:0px;}
  }

  @keyframes cirlemovehide{
    0%{opacity:0}
    50%{opacity:1;}
    80%{opacity:0.9;}
    100%{opacity:0;}
  }

  .scroll_down:after{
    content:"";
    position: absolute;
    bottom:0;
    left:0;
    width:2px;
    height: 250px;
    background: var(--main-color__grn);
  }

  .scroll_down.is_hidden {
    opacity: 0;
    transition: 2.5s;
  }

  /* スクロールダウン表示 END*/


}

/*==========================
About ACEについて
==========================*/

.about {
  margin: 0 0 30px 0;
}

.cont {
  /* About, Belief, Service共有 */
  display: flex;
  padding: 0 8% 20px 5%;
  gap: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  opacity: 0;
}

.cont__txt {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 2;
}

.abt__office_pic__PC {
  display: none;
}

.abt__office_pic__SP {
  width: 90%;
}

.cont.animated {
  opacity: 1;
  animation: fadeInUp;
  animation-duration: 0.8s;
}

@media screen and (min-width: 1023px) {
  .abt__office_pic__SP {
    display: none;
  }

  .abt__office_pic__PC {
    display: block;
    width: 40%;
    height: auto;
  }

  /* 各セクション共有 */
  section {
    padding: 50px 0;
  }

  .cont {
    display: flex;
    justify-content: space-between;
    padding: 10px 80px 30px 5%;
    flex-direction: row;
    gap: 100px;
    opacity: 0;
  }

  /*コンテンツのアニメーション  */
  .cont.animated {
    opacity: 1;
    animation: fadeInUp;
    animation-duration: 0.8s;
  }

  .cont__txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    font-size: 1.8rem;
    line-height: 1.8;
    letter-spacing: 0.3rem;
  }
}

/*==========================
Belirfs ACEの想い
==========================*/

.belief {
  display: flex;
  width: 100%;
  padding-bottom: 30px;
  flex-direction: column;
  background-color: var(--main-color__blk);
}

.belief h2 {
  color: var(--sub-color__blk);
}

.belief h3 {
  color: var(--main-color__wht);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.belief .cont {
  margin-bottom: 30px;
  color: var(--main-color__wht);
  font-size: 1.4rem;
  line-height: 20px;
  letter-spacing: 0.1em;
}

.btn--blk a {
  display: flex;
  background: var(--main-color__wht);
  color: var(--main-color__blk);
}

@media screen and (min-width: 769px) {
  .belief {
    padding-bottom: 60px;
  }

  .belief .cont {
    margin-top: 30px;
  }

  .belief .cont__txt {
    width: 90%;
    max-width: 1350px;
    font-size: 1.8rem;
    line-height: 2;
  }

}

/*==========================
Service ACEにできること
==========================*/

.serv__pic__PC {
  display: none;
}

.serv__pic__SP {
  width: 90%;
}

.service {
  padding-bottom: 50px;
}

.cont__catch {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 40px;
}

@media screen and (min-width: 1023px) {
  .serv__pic__SP {
    display: none;
  }

  .serv__pic__PC {
    display: block;
    max-width: 40%;
  }
  
  .cont__catch {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 30px 0 40px 0;
  }

  .cont__word {
    max-width: 1200px;
    }

}

/*==========================
お知らせ　※wordpressで代替予定
==========================*/

.notify {
  color: var(--main-color__blk);
  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin: 0 24px;
}

.notify__pic__PC {
  display: none;
}

.notify__line {
  border-top: solid 3px var(--main-color__grn);
  border-radius: 5px;
  margin: 15px 24px 40px 24px;
}

.notify__cont {
  margin: 0 24px 20px 24px;
  border: solid 1px var(--sub-color__blk);
  text-align: center;
}

.notify__cont p {
  margin-top: 5px;
  text-align: left;
}

.date_time {
  font-size: 1.6rem;
}

.notify span {
  font-size: 1.4rem;
  margin-left: 10px;
}

.nofify__ttl {
  font-size: 1.6rem;
  font-weight: 500;
}

.notification {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 769px) {
  .notify {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin: 0 80px;
  }

  .notify span {
    font-size: 1.8rem;
    margin-left: 10px;
  }

  .notify span:hover {
    opacity: 0.8;
    color: var(--sub-color__grn);
    transition: 0.2s;
  }


  .notify__cont {
    width: 30%;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .notify__line {
    margin: 10px 80px;
    border-top: solid 7px var(--main-color__grn);
    border-radius: 10px;
  }

  .notify__pic__SP {
    display: none;
  }

  .notify__pic__PC {
    display: block;
    width: 100%; 
    height: auto;
  }

  .notification {
    flex-direction: row;
    margin: 80px;
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .date_time {
    font-size: 1.8rem;
    margin-top: 15px; 
    color: #888;
  }

  .nofify__ttl {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.5;
  }
}
