/*
Theme Name: 山王物流株式会社
*/

/* 使用カラー */
:root {
  --black: #000;
  --white: #FFF;
  --blue: #4084C8;
  --textGray: #707070; 
  --borderGray: #C2C2C2; 
  --mainGreen: #478891;
  --accentGreen: #5299A3;
}


/* 使用フォント */
:root {
  --NotoSans: "Noto Sans JP", sans-serif;
  --DMSans: "DM Sans", sans-serif;
  --CGaramond: "Cormorant Garamond", sans-serif;
  /* --NotoSerif: "Noto Serif JP", serif; */
}


body {
  min-height: 100vh;
  font-family: var(--NotoSans);
  /* font-family: var(--NotoSerif); */
  position: relative;
  overflow-x: hidden;
}

html {
  /* font-size: min(calc(10 / 1280 * 100vw), 10px); */
  font-size: calc(10 / 1280 * 100vw);
  /* 画面幅1280pxで10px*/
  /* overflow-y: overlay; */
  color: var(--black);
  /* height: -webkit-fill-available; */

}

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


.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

/*fade表示関連*/

.fade_in {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0, 0.42, 0.58, 1);
}

.fade_up {
  transform: translateY(2vw);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0, 0.42, 0.58, 1);
}

.fade_in.show {
  opacity: 1;
}

.fade_up.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media screen and (max-width: 699.98px) {
  html {
    font-size: calc(10 / 375 * 100vw);
    /* 画面幅375pxで10px*/
  }

  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }
  
}