@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/*-- 下層header --*/

header {
	position: relative;
	width: 100%;
}

#h_logo_n.change-color {
  background-color: rgba(255,255,255,.5);
}

/*.lists a {
	color: white;
}

.change-color .lists a {
  color: #333;
}*/

h1 {
	
}

h5 {
	font-weight: 600;
}

#box {
	text-align: center;
	padding: var(--margin-200) var(--margin-100);
	overflow: hidden;
}

.change-color h1 {
	background: url(../images/takeda_logo.png)no-repeat bottom;
	background-size: cover;
}

.start {
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
}
.start p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 280px;
}

.main_v {
	position: relative;
	width: 100%;
	height: calc(100vh - 2.86458333vw);
	margin-top: 2.86458333vw;
	z-index: 0;
	overflow: hidden;
}

.main_v video {
	position: absolute;
	bottom: 0;
	left: 0;
    width: 100%;
	height: calc(100vh - 2.86458333vw);
    object-fit: cover;
	object-position: center bottom;
}

#mvimgbox .box_cont_left {
	flex: 1;
	display: flex;
	justify-content: center;
	margin-right: 0;
}

#mvimgbox .box_cont_right {
	flex: none;
}

#mvimgbox .mv {
	width: 100%; /* 横幅を自動調整 */
	height: 39.0625vw; /* 高さを固定 */
	object-fit: cover; /* 動画をトリミングして枠内に収める（必要に応じて） */
	display: block;
}

#mvimgbox .mv_right_img {
	width: 27.08333vw;
	height: 39.0625vw;
	object-fit: cover; /* 画像の切り抜き方法（必要に応じて） */
	display: block;
}

#threeimg div {
	width: calc(100%/3);
	height: 19.2708333vw;
}

#threeimg div img {
	width: 100%;
}

#company {
	background: url("../images/top_img07.jpg")no-repeat center;
	background-size: cover;
}

#info {
	width: 66.666vw;
	margin: 0 auto;
}

.box_cont {
	width: calc(100%/2);
}

.box_cont_left {
	position: relative;
    margin-right: 0;
}

.slideBox {
	position: relative;
	height: 33.8541666vw;
	overflow: hidden;
}

/* imgのみ */
.item1 {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
    transition: all 2s; /* 動きを滑らかに */
}

/* 初期状態は透明で下に配置 */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px); /* 下から表示されるように */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* 1秒で滑らかに表示 */
}

/* スクロールしてきたときに表示されるクラス */
.is-visible {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻す */
}

.image-item {
  opacity: 0;
  transform: translateX();  /* 初期位置を左に設定してスライドイン効果 */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.is-visible .image-item {
  opacity: 1;
  transform: translateX(0);  /* 画面内に入ったときに元の位置に戻る */
}


/* ここから時間差フェードインアニメーション */

.fadeIn1s {
    transition-delay: 0s;
}


.fadeIn1200ms {
    transition-delay: 0.5s;
}

.fadeIn1500ms {
    transition-delay: 0.7s;
}

.fadeIn2000ms {
    transition-delay: 1s;
}

.fadeIn2003ms {
    transition-delay: 1.3s;
}

.fadeIn2s {
    transition-delay: 1.2s;
}

.fadeIn21s {
    transition-delay: 1.5s;
}

.fadeIn22s {
    transition-delay: 1.7s;
}

.fadeIn23s {
    transition-delay: 2.2s;
}

.fadeIn24s {
    transition-delay: 2.9s;
}

.fadeIn25s {
    transition-delay: 3.6s;
}

.fadeIn2500ms {
    transition-delay: 2.4s;
}

.fadeIn2800ms {
    transition-delay: 2.9s;
}

/*-- header end --*/

h2 {
	font-size: var(--font-size-76);
	color: white;
}


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


}

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

	
}

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


}


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

	
}

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

}


/*-- ここからスマホcss START --*/
@media only screen and ( max-width : 767px ) {
	
.main_v {
	position: relative;
	width: 100%;
	height: calc(100% - 50px);
	margin-top: 50px;
	z-index: 0;
}
	
.main_v video {
    width: 100%; /* スマホでは画面幅いっぱいに表示 */
    height: auto; /* 高さは自動調整 */
}

.main_v video {
	position: relative;
	bottom: 0;
	left: 0;
    width: 100%;
	height: auto;
    object-fit: cover;
	object-position: center bottom;
}

.slider {
	position: absolute;
	top: 7.8226857886vw;
	width: 100%;
	padding-bottom: 7.8226857886vw;
	height: calc(100vh - 7.8226857886vw);
	z-index: 0;
}
	
.slider .zoom-fade__item {
	height: calc(100vh - 14.2134262243vw);
}
	
.box_cont_left,
.box_cont_right {
	width: 100%;
}
	
#box {
	padding: 50px 20px;
}
	
#threeimg,
#threeimg div img,
#four,
#four div img {
	width: 100%;
}

#threeimg div {
	width: 100%;
	height: 200px;
}
	
#four div {
	width: 100%;
	height: 200px;
}
	
#info {
	width: 100%;
	margin: 0 auto;
}
	
#mvimgbox .cont {
	position: relative;
	display: flex;
	justify-content: space-between;
}
	
#mvimgbox .box_cont_left,
#mvimgbox .box_cont_right {
	flex: 1;
}
	
#mvimgbox .mv {
	width: auto; /* 横幅を自動調整 */
}
	
#mvimgbox .mv_right_img {
    width: 30vw; /* 横幅を画面幅の30%に変更 */
}
	
.slideBox {
	height: 200px;
}
	
.btn {
	margin: 50px auto 0;
}

}
