@charset "utf-8";
/* CSS Document */

/* ---------- fv ---------- */
.fv {
    position: relative;
    width: 100%;
    height: 230vh; 
    overflow: hidden;
}

.fv.bg_img_wrap2 {
    position: relative;
    z-index: 0;
	background-attachment: fixed;
}

.fv.bg_img_wrap2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(112, 66, 20, 0.2) 0%,
        #1a1a1a 100%
    );
    pointer-events: none;
}
.fv .imgbox {
    position: absolute;
	left: 8%;
    margin-top: 100vh; 
	width: 100%; 
	z-index: 10;
}

.fv .imgbox img {
    width: 40%;             
    height: auto;
    display: inline-block;
}
.fv .titlebox h1{
	font-family: Zen old Mincho, "sans-serif";
	font-size: 60px;
	color: #fff;
}
.fv .titlebox {
    position: fixed;
    top: 40%;
    left: 12%;
    z-index: 10;
	transition: all 0.4s ease;
}
.titlebox.unfixed {
    opacity: 0;
    pointer-events: none;
}
.fv .mainmenu_box {
    position: absolute;
    top: 65vh;
    right: 5%;
    z-index: 10;
	transition: all 0.3s ease;
}
.fv .mainmenu_box.on {
    opacity: 0;
    pointer-events: none;
    z-index: -9999;
}
.fv .mainmenu_box .ul{
	flex-direction: column;
	gap:10px;
}
.fv .mainmenu_box .li{
	border: #fff solid 1px;
	padding: 10px 20px;
	width: 100%;
}
.fv .mainmenu_box .li a{
	justify-content: flex-start;
}
.fv .mainmenu_box img{
	width: 20px;
}
.mission {
    position: absolute;
	right: 25%;
    margin-top: 100vh; 
	width: 25%;
    z-index: 10;
}
.fv .mission .titleitem h2{
	color: #fff;
	font-size: 40px;
	padding-bottom: 30px;
}

.fv .scroll {
    position: fixed;
    bottom: 40px;
    left: 20px;
    writing-mode: vertical-rl; 
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    color: #fff;
    z-index: 100;
}
.fv .scroll {
    position: fixed;
    bottom: 40px;
    left: 20px;
    align-items: center;
    z-index: 100;
    transition: opacity 0.4s ease;
}
.fv .scroll .line {
    margin: 10px auto 0;
    width: 1px;
    height: 200px;
    background-color: #fff;
    opacity: 0.8;
}
.fv .scroll.scroll-hidden {
    opacity: 0;
    pointer-events: none;
}
/* ---------- sec01 ---------- */
.section01 .title_wrap{
	text-align: center;
}
.section01{
	position: relative;
	overflow: hidden;
}

/*
.swiper-container .swiper-wrapper .swiper-slide{
	display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.section01 .swiper-container{
	width: 100%;
	padding: 0 3%;
	margin: 0 auto;
}
body.on .section01 .swiper-container .swiper-wrapper .swiper-slide{
	aspect-ratio: 1.6 / 1;
	overflow: hidden;
}
.section01 .swiper-container .swiper-wrapper .swiper-slide a{
	position: static;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: flex-start;
    align-items: flex-end;
	flex-direction: row;
	padding: 30px 20px;
}
.swiper-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
*/

/* ---------- swiper-button ---------- */

.swiper-button{
	width: 80px;
	height: 80px;
	cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-button img {
    width: 36px;     
    height: auto;
}
.swiper-button.swiper-button-prev {
	top: 50%;
    left: 5%;
    transform: translateY(-50%) translateX(-50%);
}
.swiper-button.swiper-button-next {
	top: 50%;
    right: 5%;
    transform: translateY(-50%) translateX(50%);
}
/* ---------- sec02 ---------- */
.section02{
	padding-left: 150px;
}

.section02 .link_wrap .leftbox{
	width: 50%;
	flex-wrap: wrap;
}
.section02 .link_wrap .rightbox{
	flex-direction: column;
	width: 50%;
	gap:20px;
	padding-left: 20px;
	align-items: flex-start;
}

.section02 .linkbox1 {
	width: 100%;
	margin-top: 80px;
	position: relative;
	overflow: hidden;
}
.section02 .linkbox2 {
	width: 75%;
	position: relative;
	overflow: hidden;
}
.section02 .linkbox3 {
	width: 75%;
	position: relative;
	overflow: hidden;
}

.section02 .linkbox a {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.section02 .linkbox img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.section02 .linkbox:hover img {
    transform: scale(1.08); 
}
.section02 .linkbox .txtitem {
	position: absolute;
	bottom: 5%;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 2;
	pointer-events: none;
	justify-content: space-between;
	padding-left: 40px;
	padding-right: 40px;
}
.section02 .linkbox {
    position: relative;
    overflow: hidden;
}
.section02 .linkbox {
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25); /* X方向 Y方向 ぼかし 色 */
	transition: box-shadow 0.3s ease;
}

.section02 .linkbox::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(112, 66, 20, 0.1);
    z-index: 1;
    pointer-events: none;
}
.more-arrow-w {
    position: relative;
    display: inline-block;
}

.section02 .more-arrow-w::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px; 
    width: 100%;
    background-color: #fff; 
}

.section02 .linkbox:hover .more-arrow-w::after {
    transform: translateX(4px);
}
/* ---------- sec03 ---------- */
.section03{
	background-color: #232623;
	gap: 80px;
    align-items: center;
    flex-wrap: wrap;
}
.section03 .leftbox{
	width: calc(50% - 50px);
}
.section03 .leftbox .img1{
	width: 50%;
	justify-content: flex-start;
	margin-bottom: 375px;
	padding-left: 50px;
}
.section03 .leftbox .img2{
	width: 50%;
	justify-content: flex-end;
	margin-top: 300px;
	
}
.section03 .rightbox{
	width: calc(50% - 50px);
	padding-left: 30px;
	flex-direction: column;
}
.section03 .more_wrap{
	justify-content: flex-start;
}
.section03 .more{
	margin-top: 50px;
}

/* ---------- sec04 ---------- */

.section04 .contents .cms_contents .webgene-blog{
	display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
    align-items: center;
	flex-direction: row;
	gap: 30px;
}

.section04 .contents {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 80%;
	gap: 60px;
	margin: 0 auto;
}

.section04 .title_wrap {
	text-align: center;
}

.section04 .webgene-blog {
	display: flex;
	gap: 30px;
	overflow: hidden;
	width: 100%;
	justify-content: center;
	
}

.section04 .webgene-item {
	width: calc((100% - 120px) / 5); /* 5件表示 */
	background-color: #fff;
	overflow: hidden;
	transition: all 0.3s ease;
}

.section04 .webgene-item .imgbox {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.section04 .webgene-item .imgbox img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.section04 .webgene-item .txt-box {
	padding-top: 15px;
	text-align: left;
}

.section04 .webgene-item .txt-box .label {
	display: flex;
	gap: 10px;
	font-size: 14px;
	margin-bottom: 10px;
	color: #666;
}

.section04 .webgene-item .txt-box h3 {
	font-size: 14px;
	line-height: 1.6;
	color: #000;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
	
	.fv .titlebox h1{
		font-size: 54px;
	}	
	.fv .mission .titleitem h2{
		font-size: 30px;
	}	

/* ---------- main ---------- */
	.section02 .linkbox .txtitem{
		flex-direction: column;
	}
	.section02 .linkbox .txtitem .en_title3{
		font-size: 24px;
	}
	.section02 .linkbox .txtitem .default_txt{
		font-size: 12px;
	}

	.section03 .leftbox{
		width: calc(30% - 50px);
	}
	.section03 .righttbox{
		width: calc(70% - 50px);
	}
	.section03 .leftbox .img1 {
    	width: 70%;
		margin-bottom: 50px;
		padding-left: 0px;
	}
	.section03 .leftbox .img2 {
    	width: 70%;
		margin-top: 30px;
		
	}

}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
	.fv {
		height: 160vh; 
	}
	.fv .titlebox h1{
		font-size: 50px;
	}
	.fv .imgbox {
		display: none;
	}
	.fv .mission{
		width: 50%;
		left: 12%;
	}
	
	.section02 {
		padding-left: 80px;
	}
	.section03 {
		padding-bottom: 80px;
		padding-top: 80px;
	}
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
	.fv {
		height: 180vh; 
	}
	.section02{
		padding-left: 0px;
		text-align: center;
	}
	.section02 .title_wrap2{
		padding-left: 0;
		text-align: center;
	}
	.section02 .link_wrap {
		flex-direction: column;
		align-items: center;
		padding: 0;
		width: 100%;
		margin: 0 auto;
	}

	.section02 .leftbox,
	.section02 .rightbox {
		width: 100%;
		padding-left: 0;
	}
	.section02 .link_wrap .rightbox {
		padding-left: 0px;
		gap: 0px;
	}
	.section02 .linkbox1,
	.section02 .linkbox2,
	.section02 .linkbox3 {
		width: 100%;
		height: auto;
		margin-top: 30px;
		
	}

	.section02 .txtitem {
		flex-direction: column;
		gap: 10px;
		padding-left: 20px;
		padding-right: 20px;
	}
	.section03 {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 60px 20px;
		gap: 40px;
	  }

	  .section03 .leftbox {
		display: none; /* 画像を非表示に */
	  }

	  .section03 .rightbox {
		width: 100%;
		align-items: center;
		display: flex;
		flex-direction: column;
		padding-left: 0;
	  }

	  .section03 .rightbox .title_wrap2,
	  .section03 .rightbox .txtbox,
	  .section03 .more_wrap {
		align-items: center;
		text-align: center;
	  }

	  .section03 .more_wrap {
		justify-content: center;
	  }
	.section04 .webgene-blog {
		flex-direction: column;
		align-items: center;
	  }

	  .section04 .webgene-item {
		width: 100%;
		max-width: 500px; /* お好みで幅制限 */
	  }

	  .section04 .webgene-item .imgbox {
		aspect-ratio: auto; /* 高さ制限が不要なら */
	  }
	
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
	.fv ,.fv.bg_img_wrap2{
      position:relative;
		height: 200vh;
      z-index: 2;
       background: none;
      background-image: none!important;
      background-color:transparent;
      
	}
  .fv.bg_img_wrap2{z-index: 2;}
  	img.fv-bgimg2{
    z-index: 1;
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    display: block;
    height: 100vh;
    transform: translate(-50%, -50%);
	}
  .main-wrap{background-color:#fff;position:relative;z-index: 3;}
  .footer{position:relative;z-index: 3;}
	.fv .titlebox h1{
		font-size: 30px;
	}
  .mission{margin-top: 80vh;}
	.fv .mission .titleitem h2{
		font-size: 20px;
	}	
	.fv .mainmenu_box{
		display: none;
	}
	.fv .mission{
		width: 70%;
	}
    .link_wrap{
        gap: 0;
    }
    .section02 .link_wrap .leftbox,.section02 .link_wrap .rightbox{
        width:  70%;
    }
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

