@charset "utf-8";


/*===========================================================*/
/*機能編  4-2-1 背景色が伸びる（下から上） */
/*===========================================================*/

.ttext{
	display: inline-block;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 9999999;
	text-align:center;
	color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#splash-logo img{
	width:240px;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

.splashbg{
	display: none;
}

body.appear .splashbg{
    display: block;
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleY(0);
    background-color: #c30d23;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;

}

@keyframes PageAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/

#wrapper{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #wrapper{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}


/*===========================================================*/
/*機能編  5-1-12 クリックしたらナビが下から上に出現 */
/*===========================================================*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	bottom:-120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#c30d23;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    bottom: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*===========================================================*/
/*機能編  5-2-5	MENUが×に */
/*===========================================================*/

.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:0;
	right: 0;
	cursor: pointer;
    width: 80px;
    height:70px;
    border-left:2px solid #333;
}

.openbtn.active{
	border-left:2px solid #fff;
	background: #c30d23;
	transition : 1s;

}
	
/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
  }

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
	background: #333;
  	width:30%;
    opacity: 0;
    top:22px;
    left:20px;
 }
 
 .openbtn.active span:nth-of-type(1),
 .openbtn.active span:nth-of-type(3) {
	 background: #fff;
  }

.openbtn span:nth-of-type(2) {
	top:22px;
	left:18px;
	text-transform: uppercase;
	color: #333;
    font-size: 0.9rem;
}



@media screen and (max-width:550px) {
.openbtn span:nth-of-type(2) {
    font-size: 0.8rem;
    }
    
}

.openbtn span:nth-of-type(3) {
    top:35px;
}


/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    opacity:1;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity:0;
}

.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
}



/*===========================================================*/
/*機能編  5-1-26 追従メニューの現在地ハイライト*/
/*===========================================================*/

/*========= 現在地表示のためのCSS ===============*/

#header{
	position: fixed;/*header固定*/
	height: 100px;/*Headerの高さ設定*/
	width:100%;
    z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
    background: #fff;
}

@media screen and (max-width:990px) {
#header{
    height: 75px;
    }  
}


#header_u{
	position: fixed;/*header固定*/
	height: 100px;/*Headerの高さ設定*/
	width:100%;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (max-width:990px) {
#header_u{
	height: 75px;
	}  
}


#pc-nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
    text-transform: uppercase;
    margin: 0;
	background: #fff;
	padding: 18px;
	border-radius: 35px;
	box-shadow: 2px 2px 5px #666;
}

#pc-nav li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:0 15px;
	transition:all 0.3s;
}

#pc-nav li.current a,
#pc-nav li a:hover{
	color:#c30d23;	
}

/*===========================================================*/
/*機能編  9-1-5 スクロールをするとエリアの高さに合わせて線が伸びる*/
/*===========================================================*/

.scrollgress{
	z-index:99;/*他のposition指定しているエリアより前に出すためz-indexの数字を大きく*/
}

/*===========================================================*/
/*機能編  7-1-35	下線が伸びて背景に変わる*/
/*===========================================================*/


.btnlinestretches3{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/  
	color:#333;
    padding: 5px 30px;
	display:inline-block;
    text-decoration: none;
    outline: none;
}

/*テキストの設定*/
.btnlinestretches3 span{
    /*テキストを前面に出すためz-indexの値を高く設定*/
	position:relative;
	z-index: 2;
}

.btnlinestretches3:hover span{
	color: #fff;
}

/*線の設定*/
.btnlinestretches3::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
	z-index:1;
	bottom:0;
	left:0;
    /*線の形状*/
	background:#333;
	width:100%;
	height:3px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線が伸びて背景に*/
.btnlinestretches3:hover::after {
	height:100%;
}

/*===========================================================*/
/*機能編  8-1-3 ページの指定の高さを超えたら右から出現*/
/*===========================================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#c30d23;
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0;
	bottom:0;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}

/*===========================================================*/
/*機能編  9-2-2 任意の場所をクリックすると隠れていた内容が開き、先に開いていた内容が閉じる*/
/*===========================================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

@media screen and (max-width:768px) {
.title {
    font-size:0.9rem;
}
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;
}


/*===========================================================*/
/*機能編  9-4-1 ニュースティッカー*/
/*===========================================================*/

/*ニュース1行の周りの余白*/
.slider a{
    display: block;
    background:#fff;
    padding:10px 0;
}

/*日付*/
.slider time{
    display:inline-block;
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}

/*768px以下の見た目*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider time {
        display:block;
		padding-bottom:10px;
    }
}


/*===========================================================*/
/* 印象編 4 最低限おぼえておきたい動き*/
/*===========================================================*/

/*4-9　シャッ（左から）*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #c30d23;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/* 4-1 ふわっ（下から） */

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}


/* 4-2　パタッ（左へ） */
.flipLeft{
animation-name: flipLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
 	opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#vision,
.service-area{
    transform:  translate3d(0, 0, 0);
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
    opacity: 0;
}


/*===========================================================*/
/* 印象編　6-6　スクロールすると下のエリアがヘッダーにかぶさる*/
/*===========================================================*/

#top-main{
	width:100%;
	height: 600px;
	top: 100px;
	position: fixed;
	overflow: hidden;
	z-index: -1;
} 

#top-main img{
	width: 100%;
	height:600px;
	object-fit: cover;
	object-position: 50% 50%;
}


#under-main{
	max-width:1200px;
	width:100%;
	top: 100px;
	margin: 0 auto 20px;
} 

#under-main img{
	width: 100%;
}

@media screen and (max-width:990px) {
	#top-main{
		top: 75px;
	}
	#under-main{
		top: 75px;
	} 
}



.group_image {
	width:100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition-duration: 0.5s;
	transition-property: opacity;
	transition-delay: 0.2s;
}
.group_image.isCurrent {
	z-index: 1;
	position: relative;
	opacity: 1;
	transition-delay: 0s;
}

/*
#top-main:before{
	content: '';
	position:fixed;
	z-index: -1;
	width: 100%;
	height: 600px;
}*/

@media screen and (max-width:768px) {
#top-main:before{
    background-position: top center;
    background-size:auto 90%;
    }
}

#container{
	position: relative;
	z-index:2;
	color: #fff;
	background:#729630;
	top:700px;
	padding: 50px 0 0;
}

#container-under{
	position: static;
	background: #fff;
	z-index:2;
	padding: 130px 0 0;
}

@media screen and (max-width:1000px) {
	#container-under{
		padding: 100px 0 0;
	}
}


#container_u{
	position: relative;
	z-index:2;
	color: #fff;
	background:#729630;
	top:700px;
	padding: 0;
}

#container-under_u{
	position: static;
	background: #fff;
	z-index:2;
	padding: 0;
}

@media screen and (max-width:1000px) {
	#container-under_u{
		padding: 0;
	}
}

.cont_inner_u{
	max-width:1200px;
	width:100%;
	margin: auto;
}


.cont_inner{
	max-width:1200px;
	width:96%;
	margin: auto;
}

ul.core_business_list{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap:5px;
	margin: 30px 0;
}

ul.core_business_list li{
	background: #729630;
	border-radius: 5px;
	padding: 0 30px;
	color: #fff;
	font-size:15px;
	font-weight:bold;
	text-align: center;
}


ul.sapi_safety{
	list-style: none;
	margin: 40px 0;
}

ul.sapi_safety li{
	font-weight: bold;
}


.sapi_pic{
	width:360px;
	float: right;
	margin-left: 10px;
}

.sapi_pic img{
	width:100%+
}

@media screen and (max-width:800px) {
	.sapi_pic{
		max-width:400px;
		width:80%;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-width:480px) {
	.sapi_pic{
		width:100%;
	}
}

.asahi_pic1_pc{
	width:100%;
	max-width: 800px;
	display: block;
	margin: auto;
}

.asahi_pic1_sp{
	display: none;
	margin: auto;
}

@media screen and (max-width:480px) {
	.asahi_pic1_pc{
		display: none;
	}
	.asahi_pic1_sp{
		display: block;
		width:100%;
	}
}

ul.core_main_products{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
}

ul.core_main_products li{
	width:20%;
}

@media screen and (max-width:800px) {
	ul.core_main_products li{
		width:25%;
	}
}

@media screen and (max-width:680px) {
	ul.core_main_products li{
		width:33.333%;
	}
}

@media screen and (max-width:480px) {
	ul.core_main_products li{
		width:50%;
	}
}

ul.core_main_products li img{
	width:100%;
}


.flex_overview{
	display: flex;
	margin: 40px 0;
}

.flex_overview div{
	width:50%;
}

.flex_overview div:last-of-type{
	width:40%;
	margin-left: 10%;
}

.flex_overview div table th{
	text-align: left;
	background-color: #f2f2f2;
	padding: 7px 10px;
	font-size:13.5px;
}

.flex_overview div table td{
	padding: 7px 10px;	
	font-size:13px;
	line-height: 1.4;
}

@media screen and (max-width:900px) {
	.flex_overview{
		display: block;
		margin: 40px 0;
	}
	
	.flex_overview div{
		width:100%;
		max-width:650px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.flex_overview div:last-of-type{
		width:100%;
		margin-left: 0;
	}
}


.flex_suncornet{
	display: flex;
	margin: 0;
}

.flex_suncornet div{
width:40%;
}

.flex_suncornet div:last-of-type{
width:55%;
margin-left: 5%;
}

.flex_suncornet h3{
	font-size:20px;
	font-family: serif;
}

@media screen and (max-width:900px) {
.flex_suncornet{
	display: block;
}

.flex_suncornet div{
	width:100%;
}

.flex_suncornet div:last-of-type{
	width:100%;
	margin-left: 0;
	margin-top:30px;
	margin-bottom: 30px;
}
}

	


section.w96{
	width: 96%;
	max-width: 1200px;
	margin: auto;
	background-image: url('../img/core/bg_pc.jpg');
	background-repeat: no-repeat;
	background-size: contain;
}

@media screen and (max-width:480px) {
	section.w96{
		background-image: url('../img/core/bg_sp.jpg');
	}
}

section.w96a{
	width: 96%;
	max-width: 1200px;
	margin: auto;
}

.flex1{
	width:100%;
	margin: 20px auto;
	padding: 0 20px;
	display: flex;
	box-sizing: border-box;
	gap: 20px;
}

.flex1 div{
	width: 50%;
}

@media screen and (max-width:800px) {
	.flex1{
		display: block;
		gap: 20px;
	}
	
	.flex1 div{
		width: 100%;
		margin-bottom: 30px;
	}
}

#container2{
	background:#67a5af;
	color: #fff;
	padding: 20px 20px 40px;
	margin-top: 100px;
	background-image: url(../img/index_pic2.png);
	background-position: bottom right;
	background-size: auto;
	background-repeat: no-repeat;
}

@media screen and (max-width:990px) {
	#container{
		top:675px;
	}
}

#container3{
	color: #fff;
	padding: 20px 20px 40px;
	background-image: url(../img/index_pic3.jpg);
	background-position: bottom right;
	background-size: cover;
	background-repeat: no-repeat;
}

#container3 .groupcompany{
	max-width:500px;
	margin: 30px 0 0;
}

ul.group_flex{
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0;
}

ul.group_flex li{
	width: 48%;
	margin-right: 4%;
}

ul.group_flex li:nth-of-type(2n){
	margin-right: 0;
}

@media screen and (max-width:450px) {
	ul.group_flex{
		display: block;
	}
	
	ul.group_flex li{
		width: 100%;
		margin-right: 0;
	}
}

ul.point5{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	max-width:800px;
	width: 96%;
	margin-top: -50px;
	margin-right: auto;
}

ul.point5 li{
	width: 220px;
}

@media screen and (max-width:730px) {
	ul.point5 li{width: 33%;}
}


.point5_caption{
	width: 450px;
	margin: -180px 0 0 auto;
	font-size:.9rem;
	background:rgba(114,150,48,.6);
	color: #fff;
	padding: 10px 20px;
	box-sizing: border-box;
}

.point5_caption h3{
	font-size:1.2rem;
}

@media screen and (max-width:950px) {
	.point5_caption{
		width: 100%;
		margin: 30px auto 0;
	}
}


.inner{
	max-width: 1000px;
	margin: auto;
}


