/* CSS Document */
#main .txt {
	margin-bottom: 51px;
	font-size: 18px;
	line-height: 2.25;
	text-align: center;
	font-weight: bold;
}

#main .mainBox {
	margin: 0 auto;
	width: 970px;
}

#main .mainBox ul.deposit-banner-list {
	display: flex;
  justify-content: center; /* 横並びのときの中央揃え */
  align-items: center;    /* 上下の中央揃え */
  gap: 15px;              /* バナー同士の間隔 */
  list-style: none;
  padding: 0;
  margin: 0 0 51px 0;     /* 下（会社概要）との間の余白 */
  border: none;
}

#main .mainBox ul.deposit-banner-list li {
	border: none;              /* li要素の枠線（罫線）を消す */
  outline: none;             /* アウトラインを消す */
  padding: 0;                /* 内側余白をリセット */
  margin: 0;                 /* 外側余白をリセット */
}

#main ul.deposit-banner-list li img {
  border: none;              /* 画像の枠線を消す */
  display: block;            /* 下部の隙間（インライン要素特有の余白）を消す */
}

#main .mainBox h3 {
	margin-bottom: 24px;
}

#main .mainBox h3 .title {
	margin-right: 52px;
	padding-left: 35px;
	line-height: 1;
	position: relative;
	font-size: 29px;
}

#main .mainBox h3 .title:before {
	width: 13px;
	height: 30px;
	position: absolute;
	background: url(../img/about/icon02.png) no-repeat left top;
	top: -3px;
	left: 2px;
  
	content: "";
}

#main .mainBox h3 .title:after {
	width: 3px;
	height: 30px;
	position: absolute;
	border-right: 2px solid #1F9247;
	top: -2px;
	right: -26px;
  
	content: "";	
}

#main .mainBox h3 span {
	display: inline-block;
	font-size: 15px;
	vertical-align: middle;
	line-height: 1.4;
}

#main .mainBox .tableBox {
	margin-bottom: 88px;
}

#main .mainBox table {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #7FC8A6;
}

#main .mainBox table th,
#main .mainBox table td {
	padding: 16px 22px;
	font-size: 14px;
	text-align: left;
	vertical-align: middle;
	border-top: 1px solid #7FC8A6;
}

#main .mainBox table td a:hover {
	text-decoration: underline;
}

#main .mainBox table td a[href^="tel:"]:hover {
	text-decoration: none;
}

#main .mainBox table th {
	width: 160px;
	box-sizing: border-box;
}

#main .mainBox table tr:nth-child(2n+1) {
	background: #F0F6D2;
}

#main .mainBox .mapBox {
	margin-bottom: 126px;
	border: 1px solid #7FC8A6;
	height: 420px;
}

#main .mainBox .mapBox iframe {
	width: 100%;
	height: 100%;
}

#main .mainBox .comContactLink {
	margin-bottom: 0;
}

@media all and (-ms-high-contrast:none){
	a[href^="tel:"]:hover {
		text-decoration: none;
	}
}

@media all and (min-width: 0) and (max-width: 767px) {
	#main .mainBox {
		margin: 0 15px;
		width: auto;
	}
	
	#main .txt {
		font-size: 12px;
	}
	
	#main .mainBox ul.deposit-banner-list {
		flex-direction: column; /* 縦並びにする */
    align-items: center;    /* 縦並びのときの中央揃え */
    gap: 10px;              /* 縦に並べたときの間隔 */
    margin-bottom: 30px;    /* スマホ時の下（会社概要）との余白（お好みで調整） */
	}

	
	#main .mainBox h3 span {
		font-size: 12px;
	}
	
	#main .mainBox h3 .title {
		margin-right: 35px;
		padding-left: 25px;
		font-size: 16px;
	}
	
	#main .mainBox h3 .title:before {
		width: 8px;
		height: 20px;
		background-size: 100% auto;
	}
	
	#main .mainBox h3 .title:after {
		height: 20px;
	}
	
	#main .mainBox table th,
	#main .mainBox table td {
		padding: 8px 10px;
		font-size: 12px;
	}
	
	#main .mainBox table th {
		padding: 8px 5px 8px 10px;
		width: 26%;
	}
	
	#main .mainBox table td {
		width: 74%;
	}
	
	#main .mainBox table td a:hover {
		text-decoration: none;
	}
	
	#main .mainBox .tableBox {
		margin-bottom: 40px;
	}
	
	#main .mainBox .mapBox {
		margin-bottom: 40px;
		height: 200px;
	}
	
	#main .mainBox .mapBox iframe {
		height: 200px;
		width: 100%;
	}
}













