@charset "utf-8";
.bg {
	background-image: url("../img/top/bg_solar.webp");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: left bottom;
}
.top section {
	padding: 6rem;
}
.top section .inner_900 {
	display: flex;
	align-items: flex-start;
}
/*hoverするとテキストが入れ替わる設定*/
.top section > a.inner_900:hover .button01 span:nth-child(1) {
	/*英語*/
  opacity:0;/*透過0に*/
}
.top section > a.inner_900:hover .button01 span:nth-child(2) {
	/*日本語*/
  opacity:1;/*不透明に*/
	background-color: #007130;
}
.top section .inner_900 .inner {
	width: 80%;
}
section.bg_wh {
	background-color: rgba(255,255,255,0.6);
}
section.bg_wh:hover {
	background-color: rgba(255,255,255,0);
}
section.bg_grey {
	background-color: rgba(221,223,230,0.6);
}
section.bg_grey:hover {
	background-color: rgba(227,233,232,0.60);
}
@media only screen and (max-width:1028px) {	
	.top section {
		padding: 3rem;
	}
}
@media only screen and (max-width:768px) {	
	.top section {
		padding: 3rem 0;
	}
}
@media only screen and (max-width:480px) {	
	.bg {
		background-image: none;
	}
	section.bg_wh {
		background-color: rgba(255,255,255,0.8);
	}
	section.bg_wh:hover {
		background-color: rgba(255,255,255,0.8);
	}
	.top section {
		padding: 2rem 0;
	}
	.top section .inner_900 {
		display: block;
	}
	.top section .inner_900 .inner {
		width: 100%;
		text-align: center;
	}
	.top section .inner_900 .inner br {
		display: none;
	}
}


/*------------------------------------------------*/
/* スライダー
-----------------------------------*/
.slider .swiper-button-next,
.slider .swiper-button-prev {
    --swiper-navigation-color: rgba(255,255,255,0.75);
	top: 45%;
}
/*矢印の位置調整*/
.slider .swiper-button-prev,.swiper-rtl .swiper-button-next {
    left: 30px;
}
.slider .swiper-button-next,.swiper-rtl .swiper-button-prev {
    right: 30px;
}
/*矢印のサイズ調整*/
.slider [class^="swiper-button-"]{
    width: 60px;
    height: 150px;
}
.slider .swiper-button-next:after,
.slider .swiper-button-prev:after {
	font-size: 60px;
}
@media only screen and (max-width:480px) {	
	.slider .swiper-button-next,
	.slider .swiper-button-prev {
			--swiper-navigation-color: rgba(255,255,255,0.75);
		top: 40%;
	}
	/*矢印の位置調整*/
	.slider .swiper-button-prev,.swiper-rtl .swiper-button-next {
			left: 0;
	}
	.slider .swiper-button-next,.swiper-rtl .swiper-button-prev {
			right: 0;
	}
}
/*テキスト*/
.example {
  position: relative;
  }
.example p {
  position: absolute;
	top: 50%;
	left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  color: #fff;
	text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
	line-height: 0.75;
	width: 80%;
	font-family: "Teko", sans-serif;
	font-size: 90px;
	z-index: 1;
  }
.example p span {
	font-size: 26px;
	line-height: 1;
	font-family: -apple-system, BlinkMacSystemFont, 'Roboto', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Segoe UI", "Helvetica", Helvetica, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "メイリオ", Meiryo, sans-serif;
	font-weight: 600;
}
.exapmle p .sp {
	display: none;
}
.example img {
  width: 100%;
  }

@media (max-width:820px) {
	.example p {
		font-size: 60px;
		padding: 10px 0 0;
	}
	.example p span {
		font-size: 16px;
		display: inline-block;
		line-height: 2;
		padding-top: 15px;
	}
	.exapmle p .sp {
		display: block;
	}
}
@media (max-width:480px) {
	.example p {
		font-size: 32px;
		top: 40%;
		line-height: 1;
	}
	.example p span {
		font-size: 14px;
		padding-top: 5px;
	}
}

/*------------------------------------------------*/
/* スクロールダウン .scrolldown2
-----------------------------------*/
.slider {
	position: relative;
  text-align: center;
}
/*スクロールダウン全体の場所*/
.scrolldown2{
  /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
	z-index:10;
	text-align: center;
}
/*Scrollテキストの描写*/
.scrolldown2 span{
  /*描画位置*/
	position: absolute;
	top: -80px;
	left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
	width: 60px;
  /*テキストの形状*/
	color: #eee;
	font-size: 0.9rem;
	letter-spacing: 0.10em;
}
/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom:0;
  left:-4px;
  /*丸の形状*/
	width:10px;
	height:10px;
	border-radius: 50%;
	background:#eee;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
	animation:
		circlemove 1.6s ease-in-out infinite,
		cirlemovehide 1.6s ease-out infinite;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
	0%{bottom:45px;}
	100%{bottom:-5px;}
 }
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
	0%{opacity:0}
	50%{opacity:1;}
	80%{opacity:0.9;}
	100%{opacity:0;}
 }
/* 線の描写 */
.scrolldown2:after{
	content:"";
  /*描画位置*/
	position: absolute;
	bottom: 0;
	left: 0;
  /*線の形状*/
	width: 1px;
	height: 50px;
	background: #eee;
}



/*------------------------------------------------*/
/* 見出し .mds_01
-----------------------------------*/
.content section .inner_900 .mds_01 {
	width: 20%;
	margin-right: 2rem;
	margin-top: 2rem;
}
.mds_01 {
	display: flex;
	align-items: center;
}
.mds_01 h2 { /* 英語 */
	padding: 2rem 0 2rem 1.6rem;
	border-left: 10px solid #c3c5c6;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.2;
}
.top section:hover .mds_01 h2 { 
	border-left-color: #fad43a;
}
.mds_01 h2 span { /* 日本語 */
	display: block;
	margin-top: 0.3rem;
	font-size: 0.8rem;
	font-weight: normal;
	color: #333;
	letter-spacing: 0.05em;
}
@media only screen and (max-width:520px) {
	.mds_01 h2 { /* 英語 */
		padding: 1.0rem 0 1.0rem 1rem;
		border-left: 6px solid #fad43a;
		font-size: 1.2rem;
	}
}
@media only screen and (max-width:480px) {
	.content section .inner_900 .mds_01 {
		width: 100%;
		margin-right: 0;
		margin-bottom: 1rem;
	}
	.mds_01 {
	}
	.mds_01 h2 { /* 英語 */
		padding: 0.5rem 0 0.5rem 1.0rem;
		border-left: 6px solid #fad43a;
		font-size: 1.4rem;
	}
	.mds_01 h2 span { /* 日本語 */
		font-size: 0.8rem;
	}
}


/*------------------------------------------------*/
/* 会社概要　#company　/ 採用情報　#recruit
-----------------------------------*/
#company,#recruit {
	position: relative;
	overflow-x: hidden;
	overflow-y: visible;
	padding-bottom: 8rem
}
#company::before,#recruit::before {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	content: "";
	width: 100%;
	height: calc(100% - 0rem);
	background-color: rgba(221,223,230,0.6);
}
#company:hover::before,#recruit:hover::before {
	background-color: rgba(221,223,230,0.4);
}
@media (max-width:980px) {
	#company,#recruit {
		padding-bottom: 5rem;
	}
}

/*------------------------------------------------*/
/* 施工例　#works
-----------------------------------*/
#works .inner_900 {
	position: relative;
	z-index: 50;
}
@media (max-width:980px) {
	#works {
		 background-color: rgba( 255, 255, 255, 0.9);
		padding-bottom: 4rem;
	}
}
@media only screen and (max-width:480px) {
	#works {
		padding-bottom: 4rem;
	}
	#works::after {
		right: -170px;
		bottom: 0;
		width: 380px;
		background-size: 100%;
	}
}

/*------------------------------------------------*/
/* お問い合わせ　#contact
-----------------------------------*/
#contact {
	margin-top: -2rem;
	padding-top: 0;
}
#contact .inner_900 {
	display: block;
}
#contact .inner_900 .mds_02 {
	padding: 7rem 0 4rem 0;
}
.c-btn {
	margin: 0 auto;
}
.c-btn a {
	position: relative;
  z-index: 1;
	display: block;
  overflow: hidden;
	width: 30rem;
	height: 90px;
	margin: 0 auto;
	padding: 1.6rem 2rem;
	background-color: rgba(255,255,255,0.8);
	border: 2px solid #000;
	font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  transition: .3s;
}
.c-btn a::before {
	content: "";
	position: absolute;
  top: 0;
  right: -90px;
  z-index: -1;
  width: 130%;
  border-right: 90px solid transparent;
  border-top: 90px solid #000;
  transform: translateX(-100%);
  transition: transform ease .3s;
}
.c-btn a:hover {
	border: 2px solid #000;
  color: #fff;
}
.c-btn a:hover::before {
  transform: translateX(0);
}
@media only screen and (max-width:980px) {
	#contact {
		background-color: rgba(255,255,255,0.9);
	}
	.c-btn a {
		height: 4.2rem;
		padding: 1rem;
		background-color: #fff;
	}
	.c-btn a::before {
		right: -4.2rem;
		width: 130%;
		border-right: 4.2rem solid transparent;
		border-top: 4.2rem solid #fad43a;
	}
}
@media only screen and (max-width:768px) {
	#contact .inner_900 .mds_02 {
		padding: 4rem 0 2rem 0;
	}
	.c-btn {
		margin-bottom: 1rem;
	}
	.c-btn a {
		width: 60%;
	}
	.c-btn a::before {
	}
}
@media only screen and (max-width:480px) {
	#contact .inner_900 .mds_02 {
		padding: 4rem 0 2rem 0;
	}
	.c-btn a {
		width: 90%;
	}
}



/* --------------------------------
  1：swiper
  スライダーのスタイル
-------------------------------- */
.swiper-container {
  max-width: 100vw;
	height: calc(100vh - 105px);
}
.swiper-wrapper .swiper-slide {
	height: calc(100vh - 105px);
  overflow: hidden;
}
.swiper-wrapper .swiper-slide img {
	object-fit: cover;
  height: 100vh;
  width: 100vw;
}
@media screen and (max-width:1024px) {
	.swiper-container,
	.swiper-wrapper .swiper-slide {
		height: auto;
	}
	.swiper-wrapper .swiper-slide img {
		width: 100%;
		height: auto;
	}
}

/* --------------------------------
  ２：Top Lazy Load
  遅延ロード用スタイル
-------------------------------- */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}
#loader {
  background-color: #000;
  height: 100vh;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}
#loader.loaded {
  animation: fadeOut 0.5s forwards;
}

/*------------------------------------------------*/
/* アニメーション
-----------------------------------*/
@keyframes slideIn { /*右からスライドイン*/
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
@keyframes slideIn_bottom { /*下からスライドイン*/
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
  }
  40%,100% {
    opacity: 1;
  }
}
@keyframes slideIn_right { /*右からスライドイン*/
  0% {
    transform: translateX(140px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
@keyframes slideIn_naname{ /*斜め左下からスライドイン*/
  0% {
    transform: translate(-40px,40px);
    opacity: 0;
  }
  100% {
    transform: translate(0,0);
  }
  40%,100% {
    opacity: 1;
  }
}
/*会社概要*/
#company .inner_900.is-animated,
#recruit .inner_900.is-animated {
  animation: slideIn_bottom 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
/*施工例*/
@media screen and (min-width:480px) { /*スマホ以外*/
	#works .inner_900.is-animated {
		animation: slideIn_right 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
	}
}
@media screen and (max-width:480px) { /*スマホのみ*/
	#works .inner_900.is-animated {
		animation: slideIn_bottom 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
	}
}
/*お問い合わせ*/
#contact .inner_900.is-animated {
  animation: slideIn_naname 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

