@charset "utf-8";

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

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

.loader {
    color: #000;
    font-size: 40px;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: load6 1.7s infinite ease, round 1.7s infinite ease;
  }


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

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
	display:block;
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 50%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: translateX(-300%) skewX(-45deg);
    background-color: #333;/*伸びる背景色の設定*/
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:translateX(-300%) skewX(-45deg);
	}
	100% {
		transform-origin:left;
		transform:translateX(500%) skewX(-45deg);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;/*はじめは透過0に*/
}

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

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



/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #999;
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
	right:-50px;
    top:-50px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

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

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav li{
	text-align: center; 
	list-style: none;
}

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


/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

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

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

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

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



/*========= レイアウトのためのCSS ===============*/

h1{
	font-size:1.2rem;
}

h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

h2::before,
h2::after {
  content: '';
  width: 70px;
  height: 2px;
  background-color: #333;
}

h2::before {
  margin-right: 30px;
}

h2::after {
  margin-left: 30px;
}

h4{
	font-size:1.0rem;
	margin: 10px 10px 30px 10px;
  text-align: center;
}

p{
	margin-top:20px;	
}

small{
	color:#fff;
	display: block;
	text-align: center;
}

#header{
	width:100%;
	background:#000;
	color:#fff;
	text-align: center;
	padding: 20px;
}

section{
	padding:100px 30px;
}

.bkg_top{
    
    background-repeat: no-repeat;
    background-position: center center;
    padding: 150px 250px 150px 0;
    text-align: center;
    font-size: 30px;
}



.wrap {
    display: flex;
    flex-wrap: wrap;
  }
  
  .item {
    padding: 0px;
    width: 32%;
    background-color: #fff;
    text-align: center;
  }
  
  .item:not(:nth-child(3n+3)) {
    margin-right: 2%;
  }
  
  .item:nth-child(n+4) {
    margin-top: 30px;
  }
  
  @media not all and (min-width: 768px) {
    .item {
      width: 100%;
    }
  
    .item:not(:nth-child(3n+3)) {
      margin-right: 0;
    }
  
    .item:nth-child(n+2) {
      margin-top: 30px;
    }
  }


  
  .wrap_2x2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .wrap_2x2:not(:last-child) {
    margin-bottom: 0px;
  }
  
  .wrap_2x2:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  * {
    float: none;
    position: static;
  }

  img {
    text-align: center;
    max-width: 100%;
	  height: auto;

  }

  .small_white {
    font-size: 20px;
  }
  
  /*良くある質問*/
  
/*==================================================
アコーディオンのためのcss
===================================*/

/*アコーディオン全体*/
.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;
}

/*アイコンの＋と×*/
.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%;
}

  /*会社概要*/
  dl {
    display: flex;
    justify-content: space-between;
  }
  
  dt {
    padding: 20px 30px;
    width: 40%;
    border-bottom: 2px solid #333;
  }
  
  dd {
    padding: 20px 30px;
    width: 60%;
    border-bottom: 1px solid #6f6f6f;
  }
  
/* contact */

#contact{
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact .tel,
#contact .mail{
  font-size: 2rem; 
  margin: 0 0 1vh 0;
}

#contact .mail{
  margin:0 0 6vh 0;
}

#contact .sns-link li{
  display: inline-block;
  margin: 0 10px;
}

#contact .sns-link li img{
   width:30px;   
}

@media screen and (max-width:768px) {
#contact .tel,
#contact .mail{
  font-size: 1.3rem;
}
}
/* area */

.fixed{
  z-index: 1;
  height:100vh;
  width:100%;
  max-width:100%;
  padding:0 7vw;
animation: bgchange 40s ease infinite;
}

@media screen and (max-width:768px) {
#service.fixed,
#about.fixed{
    height: auto;
  }
}

@media screen and (max-width:540px) {
.fixed{
  padding:0 60px;
  }
  
}
  hr {
    margin: 80px 0 80px 0;
  }

section:nth-child(2n){
	background:#f3f3f3;	
}

#footer{
	background:#333333;
	padding:20px;
}

.center{
  text-align: center;
}

.right{
  text-align: right;
}

/*きらっと光るボタン*/

.btnshine{
    /*キラッと光る基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/	
	display:inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    text-align: right;
}

/*キラッと光る*/
.btnshine::before {
	content: '';
    /*絶対配置でキラッと光るの位置を決める*/
	position: absolute;
	top: 0;
	left: -75%;
    /*キラッと光る形状*/
    width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	transform: skewX(-25deg);
}

/*hoverした際の移動のアニメーション*/
.btnshine:hover::before {
	animation: shine 0.7s;
}

@keyframes shine {
	100% {
		left: 125%;
	}
}

/* ボタン共通設定 */
.btn06{
  /*矢印の基点とするためrelativeを指定*/
position: relative;
  /*ボタンの形状*/
text-decoration: none;
display: inline-block;
background:#333;
color:#fff;
  padding: 10px 40px 10px 30px;
border-radius:25px;
  text-align: center;
  outline: none;
  /*アニメーションの指定*/
  transition: ease .2s;
}

.btn06:hover{
background:#555;
}

/* 矢印が回転 */

.btnarrow3::after{
  content: '';
  /*絶対配置で矢印の位置を決める*/
position: absolute;
  top: 42%;
  right: 13px;
  /*矢印の形状*/    
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  /*アニメーションの指定*/    
  transition: all .3s;
}

/*hoverした際のアニメーション*/
.btnarrow3:hover::after{
animation: arrowrotate .3s;
}

@keyframes arrowrotate {
100% {
  transform: rotate(360deg);
}
}

/*========= ページトップのためのCSS ===============*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#333;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	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: 10px;
	bottom:10px;
	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);
  }
}


.container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.container1 {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
  transition: background-color 0.3s ease;
}

li:hover {
  background-color: #e8f4f8;
}

strong {
  color: #006393;
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
}

p {
  margin: 0;
  color: #333;
  line-height: 1.6;
}
.video-background {
  width: 100%;
  height: auto;
  max-height: 400px; /* バナーの高さを制限したい場合に使用 */
  object-fit: cover;
  display: block;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}