@charset "utf-8";
@import url("navi.css");


html {
　　scroll-snap-type: y proximity;
　　scroll-padding-top: 100px;
}
body { min-height: 100vh;
margin: 0;}

/*========= 背景動画設定のCSS ===============*/
/*MENU設定*/
#menu{
	/*background-color: #A3A3A3;*/
    width: 90%; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 10%; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
	margin-top: 2%;
	padding-right: 5%;
	padding-left: 5%;
	text-align: center;
}
/*header設定*/
#header{
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
    height: 100vh;/*高さを全画面にあわせる*/
} 

#video-area{
    position: fixed;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}

#video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}

/*見出し設定*/
h1{
    /*要素の配置*/
    position:absolute;
    /*要素を天地中央寄せ*/
    top: 40%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    /*見た目の調整*/
    color:#fff;
    text-shadow: 0 0 15px #666;
}

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

#container{
  background:#fff;
  padding:200px 0;
  text-align: center;
}

#container2{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
  background:#fff;
  padding:20px 0;
  text-align: justify;
	padding-bottom: 100px;
}

.c_box{
	width: 70%;
	min-height: 600px;
	height: auto;
	font-size: 85%;
margin-right: auto;
margin-left : auto;
	margin-bottom: 100px;
	margin-top: 100px;
	
}

.c_box2{
	width: 70%;
	min-height: 900px;
	height: auto;
	font-size: 85%;
margin-right: auto;
margin-left : auto;
	margin-bottom: 100px;
	margin-top: 100px;
	
}
.c_box7{
	width: 90%;
	min-height: 900px;
	height: auto;
	font-size: 85%;
margin-right: auto;
margin-left : auto;
	margin-bottom: 100px;
	margin-top: 100px;
	
}
.c_box2 table {
	border-collapse: collapse;
    border:0px solid #333;
	font-size: 95%; 
	
}
.tst{
	 background: #FFFFFF; 
	border: #FFFFFF;
}
.c_box h2{padding-top:30px;}
.c_box table {
	width: 380px;
	border-collapse: collapse;
    border:0px solid #333;
	font-size: 90%; 
	
}
.c_box7 table {
	width: 100%;
	border-collapse: collapse;
    border:0px solid #333;
	font-size: 90%; 
	
}
.c_box th{
    border-collapse: collapse;
	background-color: #F9F4C2;
	padding: 5px;
    border:1px solid #333;
	text-align: center;
}
.c_box td{
    border-collapse: collapse;
    border:1px solid #333;
	text-align: left; 
	padding: 10px;}

.c_box2 table {
	border-collapse: collapse;
    border:0px solid #333;
	font-size: 16pt; 
	
}
.c_box2 th{
	width: 80px;
    border-collapse: collapse;
	background-color: #F9F4C2;
	padding: 5px;
    border:1px solid #333;
	text-align: center;
}
.c_box2 td{
    border-collapse: collapse;
    border:1px solid #333;
	text-align: left; 
	padding: 10px;}

.c_box ul{
   display: flex;
  justify-content: space-between;
}
.c_box li{
	width: 500px;
  list-style: none;
 /* justify-content: center;*/
}
	.tfont{
		font-size: 1.1em;
		width: 100%;
		display: flex;
		text-align: center;
	}
.tfont td{
	width: 100px;
}
.top_bg{
	font-size: 1.1em;

}
.chu{
	text-align: right;
	font-size: 1.5em;

}
.bottom_f{
	text-align: right;
	font-weight: bold;
	font-size: 1.5em;
}
@media screen and (max-width: 650px) {
	.c_box{
		margin-top: 100px;
	width: 90%;
}
	.contents{
		width: 100%;
		margin-left: 0;

	}
	.c_box2{
		margin-top: 100px;
	width: 90%;
}
	.c_box ul{
 flex-direction: column;
		width: 380px;
}
.c_box li{
  width: 380px;;
  margin-top: 20px;
	margin-bottom: 20px;
	/*align-content: center;*/
	display: flex;
	}
.c_box img{
		/*width: 380px;*/
	margin-bottom: 20px;
	}
	.combox{
		width: 360px;
		
		
	}
	.ismart{
		width: 360px;
	}
	.s_box{
	width: 360px;
		float: left;
	}
	.tfont{
		font-size: 10px;
		width: 100%;
	}
}

/*TOPへ戻るスマホで見た時*/
#pageTop {
	z-index: 3;
  position: absolute;
  bottom: 10;
  display: block;
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: rgba(21, 78, 103, 0.8);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}
/*PCで見た時*/
@media screen and (min-width: 481px) {
  #pageTop {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 12px;
  }
}



.combox{
	text-align: justify;
	font-size: 1em;
	line-height: 2em;
	width: 450px;

}
.c_box h2{
	font-size: 2.5em;
}
.c_box h3{
	font-size: 1.5em;
}
.c_box2 h2{
	font-size: 2.5em;
}
.c_box2 h3{
	font-size: 1.5em;
}

/* ------------------------------------------- */
/* レスポンシブ対応のための基本設定
/* ------------------------------------------- */

/* 画像がコンテナからはみ出ないようにする */
img, video {
  max-width: 100%;
  height: auto;
}

/* ボックスサイズの計算方法を統一 */
* {
  box-sizing: border-box;
}

/* テーブルを横スクロール可能にするためのラッパー */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロール */
  width: 100%;
}
.table-wrapper table {
    min-width: 700px; /* テーブルが縮みすぎないように最小幅を指定 */
}

/* ------------------------------------------- */
/* タブレット・スマートフォン表示（画面幅が900px以下の場合）
/* ------------------------------------------- */
@media screen and (max-width: 900px) {

  /* コンテンツ全体の幅と余白を調整 */
  #container, .c_box, .c_box2, .c_box7 {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* 横並びのリストを縦積みに変更 */
  .c_box ul {
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
  }

  .c_box ul li {
    width: 100%; /* 幅を100%に */
    margin-bottom: 30px; /* 要素間の余白 */
  }
  
  .c_box ul li:last-child {
    margin-bottom: 0;
  }

  /* ヘッダーのロゴ画像のサイズ調整 */
  #header h1 img {
    width: 80%;
    max-width: 400px;
  }

  /* 見出しのフォントサイズを調整 */
  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }

  /* フッターのレイアウトを縦積みに */
  #footer ul {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  #footer ul li {
    margin-bottom: 20px;
  }
}


/* ------------------------------------------- */
/* スマートフォン表示（画面幅が600px以下の場合）
/* ------------------------------------------- */
@media screen and (max-width: 600px) {

  /* 本文のフォントサイズを調整 */
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  /* サイドにフロートしているボタンを非表示に（画面が狭いため） */
  .w_pg1, .w_pg2 {
    display: none;
  }

  /* 会社案内のテーブルの文字サイズを調整 */
  #sec1 + ul table th,
  #sec1 + ul table td {
    font-size: 1em !important; /* !importantでインラインスタイルを上書き */
    display: block; /* 縦並びにする */
    width: 100% !important;
    text-align: left;
    padding-left: 10px;
  }
  #sec1 + ul table th {
    font-weight: bold;
    background-color: #f2f2f2 !important;
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
   #sec1 + ul table td {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
  }
  
  /* フッターの文字サイズ調整 */
  #footer li {
    font-size: 12px;
  }
}
