@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
	margin: 0;
  overflow-x: hidden;
}
body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}


.light-text {
  font-weight: 300; /* Light */
}
body{background: #fff000;}
/* 初期白背景 */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
	background: #fff000;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* 動画コンテナ */
#video-container {
  position: fixed;
  top: 42%;
  left: 54%;
  transform: translate(-50%, -50%);
  z-index: 1000;
	background: #fff000;
 }

#video-container video {
  display: block;
  width: 1400px;
  height: auto;
  border-radius: 8px;
	pointer-events: none;
}

/* clickリンク */
.hidden {
  display: none;
}

#click-link {
  position: fixed; /* 画面の最下部に対して固定 */
  bottom: -50px;
  left: 45%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  font-weight: bold;
  background: transparent;
	width: auto;
	white-space: nowrap;
  z-index: 1000; /* 他要素の上に表示 */
}

/* 上の「有限会社 アドクリ」 */
#click-link div:first-child {
	width: 20vw;
	max-width: 280px;
	height: auto;
  margin-bottom: 20px;
	letter-spacing: 0.07em;
}

/* 下の「CLICK TO ENTER」 */
#click-link div:last-child {
  border: 2px solid #000;
  padding: 0.5em 1em;
  font-size: 1.2rem;
  letter-spacing: 1px;
}


/* 単色レイヤ */
#color-layer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #595757;
  z-index: 2001;
}
#main-content {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

/* ===== メディアクエリ ===== */
@media screen and (max-width: 768px) {
  #intro-layer {
    display: none !important; /* SPではPC用イントロを完全非表示 */
  }
}
#intro-layer.pc-only { display: block; }
#sp-intro-layer.sp-only { display: none; }

@media screen and (max-width: 768px) {
    #intro-layer.pc-only { display: none !important; }
    #sp-intro-layer.sp-only { display: flex !important; }
}
@media screen and (max-width: 768px) {
  #header nav ul.pc-menu { display: none; }
  #video-container video { max-width: 100%; height: auto; }
}
.renual {
	color: #fff;
	letter-spacing: 0.06em;
	font-size: 2em;
	padding: 0.3em 1em 0.4em;;
	border: solid 2px #fff;background: rgba(0,0,0,0.5);
  position: absolute;      /* または fixed */
  bottom: 33%;             /* メニューの上あたり */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;           /* undermenu より上に出す */
}

@media screen and (max-width: 768px) {
.renual {
	text-align: center;
	font-size: 120%;
	width: 80%;
	bottom: 40%;
}	
}

/* SP専用動画を画面中央・フルスクリーンに */
#sp-intro-layer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84%;
  height: 90%;
  z-index: 2000;
  background: #fff000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#sp-video-container {
  width: 100%;
  height: 100%;
  z-index: 2001;
}

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

