@charset "utf-8";

/****************
KV
****************/

#kv {
	width: 100%;
	height: 100vh;
	height: 100svh;
	background: url("../images/top/kv_pc.jpg") no-repeat top / cover;
	position: relative;
	display: flex;
  	align-items: center; /* 上下中央 */
  	padding-left: 12%;   /* 左から20%の位置に配置 */
  	box-sizing: border-box;
	z-index: 10;
}
/* 背景動画:JSで「A」の形に切り抜く */
#kv .kv_video {
	position: absolute;
	inset: 0;
	z-index: 1;
	isolation: isolate;
	pointer-events: none;
	opacity: 0;                /* JSの準備ができたらフェードイン */
	transition: opacity 1.2s ease;
	/* 左(キャッチコピー側)に向かって動画を透明にフェード */
	-webkit-mask-image: linear-gradient(90deg, transparent 32%, #000 52%);
	mask-image: linear-gradient(90deg, transparent 32%, #000 52%);
}
#kv .kv_video.is-ready {
	opacity: 1;
}
#kv .kv_video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* 動画が読み込めない間の代替(動画が読めたら隠れる) */
#kv .kv_video::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #8e0e00 0%, #471100 40%, #000000 100%);
}

/* キャッチコピー */
#kv .cc {
	font-size: 14px;
}
#kv .cc .en {
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 600;
}
#kv .cc h1 {
	font-size: 63px;
	line-height: 1.2;
	margin: 0.4em 0 0.8em;
	min-height: 2.5em;
}
#kv .cc h1 .accent {
  color: var(--color-red);
}

/* いま打っている行にだけカーソルを表示 */
.typing .is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;              /* 細く */
  height: 0.9em;
  margin-left: 3px;
  vertical-align: -0.1em;
  background: #333;        /* 赤い行でもカーソルはグレーのまま */
  opacity: 0.3;            /* 薄く */
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}


/****************
NEWS
****************/

.top_news {
	background: #fff;
	border-block: 1px solid #d6d6d6;
	overflow-x: clip;
	margin: 0;
	position: relative;
	z-index: 10;
}
.top_news .inner_box {
	margin-inline: auto;
  	display: grid;
  	grid-template-columns: 33.333% 1fr;
}
.news_head {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 40px;
}
.news_head h2 {
	font-size: 25px;
	font-weight: 400;
	background: none;
	color: #000;
}
.news_list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 1px solid #d6d6d6;
}
.news_list li {
	position: relative;
	padding: 1.8em 0 1.8em 4em;
	display: flex;   /* 子要素(time と span)を横並び */
	gap: 40px;
}
.news_list li a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: block;
}
.news_list li + li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 1px;
	background: #ddd;
}


/****************
ABOUT
****************/

.top_about .cont_box {
	width: 33.333%;
}
.top_about .img {
	width: 58%;
	margin-left: auto;
}

/****************
STRATEGY
****************/

.top_strategy .cont_box {
	width: 58%;
	margin-left: auto;
}
.top_strategy .img {
	width: 33.333%;
	margin-top: 100px;
}
.top_strategy ol li {
	color: #cfcfcf;
	font-size: 20px;
	font-weight: 700;
	border-bottom: 1px solid #cfcfcf;
	padding: 0.2em 0;
	vertical-align: middle;
}
.top_strategy ol li span {
	font-family: var(--font-en);
	font-size: 30px;
	font-weight: 600;
	padding-right: 0.5em;
}


/****************
CASE
****************/

.top_case ul li {
	width: calc(100% / 3);
}
.top_case ul li .box {
	width: calc(100% - 40px);
	margin-inline: auto;
}
.top_case ul li dt {
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1.5;
	margin: 1.0em 0;
	display: inline-block;
	border-bottom: 4px solid #000000;
}
.top_case ul li dd span {
	display: inline-block;
	border: 1px solid #000;
	border-radius: 30px;
	padding: 0 0.7em;
	margin: 0 10px 10px 0;
	line-height: 1.5;
}


/****************
RECRUIT
****************/

.top_recruit {
	background: url("../images/top/top_recruit.png") no-repeat top / cover;
	width: 100%;
}
.top_recruit .box {
	width: 500px;
	padding: 20% 0 5%;
	margin-inline: auto;
	margin-right: 15%;
}
.top_recruit h2 {
	font-size: 60px;
}
.top_recruit .txt_box {
	color: var(--color-white);
}


/****************
FOOTER
****************/
footer {
	margin-top: 0;
}






@media screen and (max-width: 767px) {
    
.pc_disp {display: none;}
.sp_disp {display: block;}
.pc_img {display: none;}
.sp_img {display: inline-block;}
	
	
/****************
KV
****************/

#kv {
	width: 100%;
	height: 100vh;
	height: 100svh;
	background: url("../images/top/kv_pc.jpg") no-repeat top / cover;
	position: relative;
	display: flex;
  	align-items: center; /* 上下中央 */
  	padding-left: 7.5%;   /* 左から20%の位置に配置 */
  	box-sizing: border-box;
	z-index: 10;
}
	
#kv {
	align-items: flex-start;   /* コピーは上、Aは下に分ける */
	padding: clamp(88px, 16svh, 150px) 0 0 7.5%;
}
#kv .kv_video {
	-webkit-mask-image: none;
	mask-image: none;
}
#kv .kv_video.is-ready {
	opacity: .9;           /* 文字に重なるので薄くする(0〜1で調整) */
}
	
/* 動きを減らす設定の人には、止めた状態で表示 */
@media (prefers-reduced-motion: reduce) {
#kv .kv_video { transition: none; }
}

#kv .cc {
	position: absolute;
	width: 85%;
	left: 7.5%;
	bottom: 20%;
	font-size: 12px;
	z-index: 99;
}
#kv .cc .en {
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 600;
}
#kv .cc h1 {
	font-size: 13.0vw;
	line-height: 1.4;
	margin: 0.4em 0 0.8em;
}



/****************
NEWS
****************/

.top_news .inner_box {
	width: 100%;
	grid-template-columns: 1fr;
}
.news_head {
	width: 85%;
	padding: 1.8em 0;
	padding-left: 7.5% ;
}
.news_list {
	border-left: none;
}
.news_list li {
	width: 100%;
    padding: 1.8em 0 1.8em;
	padding-left: 7.5%;
	padding-right: 7.5%;
    display: block;
	box-sizing: border-box;
}
.news_list li::before {
	width: 100% !important;
}
.news_list li:first-child {
	border-top: 1px solid #ddd;
}
.news_list li time {
	width: 100%;
	display: block;
}
	

/****************
ABOUT
****************/

.top_about .cont_box {
	width: 100%;
}
.top_about .img {
	width: 87%;
	margin-left: auto;
	margin-top: 5.0em;
}
	
	
/****************
STRATEGY
****************/

.top_strategy .cont_box {
	width: 100%;
	margin-left: auto;
}
.top_strategy .img {
	width: 70%;
	margin-top: 5.0em;
	flex-direction: row-reverse;
}
.top_strategy ol li {
	font-size: 1.2em;
}
.top_strategy ol li span {
	font-family: var(--font-en);
	font-size: 1.5em;
}
	
	
/****************
CASE
****************/

.top_case ul li {
	width: 100%;
	margin-bottom: 20%;
}
.top_case ul li .box {
	width: calc(100% - 40px);
	margin-inline: auto;
}
.top_case ul li dt {
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1.5;
	margin: 1.0em 0;
	display: inline-block;
	border-bottom: 4px solid #000000;
}
.top_case ul li dd span {
	display: inline-block;
	border: 1px solid #000;
	border-radius: 30px;
	padding: 0 0.7em;
	margin: 0 10px 10px 0;
	line-height: 1.5;
}
	
/****************
RECRUIT
****************/

.top_recruit {
	background: url("../images/top/top_recruit.png") no-repeat top / cover;
	width: 100%;
	margin-top: 10%;
}
.top_recruit .box {
	width: 85%;
	padding: 55% 0 10%;
	margin-inline: auto;
	margin-right: 7.5%;
}
.top_recruit h2 {
	font-size: 7.0vw;
}

}


