@charset "utf-8";
/* CSS Document */
#sub {
	height: 400px;
    position: relative;
    top: 0;
    left: 0;
    z-index: -0;
    background: url("../images/kv1.jpg") no-repeat center top /cover;
}
#sub::before {
    content: "";
    position: absolute;
    inset: 0;
	z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}
#sub h2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFF;
    font-size: 4.0rem;
    z-index: 10;
}

#Established {
	margin: 50px 0;
}
/* =========================
   2カラムブロック
========================= */
.list-half-parts .list-parts {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.list-half-parts .list-parts h4 {
  font-size: 1.4rem;
}

.list-half-parts .image-l-parts img,
.list-half-parts .image-r-parts img {
  border-radius: 50px;
  box-shadow: 10px 10px rgba(0,0,0,0.1);
}

/* ★ ここで一旦 media を閉じる */
@media screen and (min-width:900px) {

  .list-half-parts .list-parts {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .list-half-parts .image-l-parts,
  .list-half-parts .image-r-parts {
    width: 50%;
  }

  .list-half-parts .image-r-parts {
    margin-left: 2rem;
  }

  .list-half-parts .image-l-parts {
    order: -1;
    margin-right: 2rem;
  }

  .list-half-parts .text-parts {
    flex: 1;
  }

} /* ← ★ここで閉じる！ */


/* =========================
   テーブル（常に有効）
========================= */
.ta2-parts caption {
  font-weight: bold;
  padding: 0.2rem 1rem;
  margin-bottom: 15px;
  border-radius: 5px;
  background: rgb(163, 200, 246) !important;
  color: #fff;
  font-size: 2.4rem;
}

.ta2-parts {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 2rem;
  background: #fff;
  color: #555;
}

.ta2-parts th,
.ta2-parts td {
  padding: 1rem;
  word-break: break-all;
  border: 1px solid #999;
}

.ta2-parts th {
  width: 20%;
  text-align: left;
  background: #eee;
}
/*横長タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal1-parts .list-parts {
	display: flex;	/*flexボックスを使う指定*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding: 25px 0;	/*上下、左右へのボックス内の余白*/
	position: relative;
}

.list-normal1-parts .list-parts div {
	flex: 1;
}

/*１つ目のボックスにのみ上に線を入れる*/
.list-normal1-parts .list-parts:nth-of-type(1) {
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}

/*ボックス内のfigure画像*/
.list-normal1-parts .list-parts figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
}

/*ボックス内のh4タグ*/
.list-normal1-parts .list-parts h4 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 10px;	/*下に少し余白を作る*/
	color: #333;			/*文字色*/		
}
.list-normal1-parts .list-parts h4 a  {
	color: inherit;
}

/*ボックス内のpタグ*/
.list-normal1-parts .list-parts p {
	margin: 0;
	font-size: 0.7em;		/*文字サイズを親要素の70%に。*/
}


/*list内のtableっぽく見える所
---------------------------------------------------------------------------*/
/*ボックス全体*/
.list-normal1-parts dl.line-parts {
	grid-template-columns: repeat(2, auto 1fr);	/*２列にする（各ボックスは、左は内容に応じて自動、残りを右側に割り当て）*/
}

/*ボックス一個あたり*/
dl.line-parts {
	margin: 0;
	display: grid;						/*gridボックスを使う指定*/
	grid-template-columns: auto 1fr;	/*左は内容に応じて自動、残りを右側に割り当て*/
	font-size: 0.7em;					/*文字サイズを親要素の70%に。*/
	border-top: 1px solid #ccc;			/*上の線の幅、線種、色*/
}

dl.line-parts dt, dl.line-parts dd {
	border-bottom: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 0 0.5rem;/*上、左右への余白*/
	font-size: 1.6rem;
}
dl.line-parts dt {
	background: #eee;	/*背景色*/
}		
@media screen and (max-width:600px) {
	#sub {
	height: 250px;
}
	#Cooperation .line-parts {
		display: none!important;
	}
	#Cooperation img {
		height: 50px!important;
		width: auto;
	}
	
	#profile th,
	#profile td {
		font-size: 1.4rem!important;
	}
}
		
		
		
	
