@charset "utf-8";
/*******************************************************
mescius -http://www.mescius.jp/
Copyright(c)
by mescius GCTeam AC
*******************************************************/
/*** Form normalizing style  ***/
/* Base for label styling */

.img--with-text	{
	width: 100px;
	height: 100px;
	margin: 0 3rem auto 0;
}

.list--agreement {
	line-height: 1.8em;
}

.list--agreement li {
	margin-bottom: 0.7em;
}

.v3-table  .table--head{
	width: 30%;
	text-align: left;
	vertical-align: top;
}

.agency-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	column-gap: 3rem;
	row-gap: 4rem;
}

.agency-box {
	display: grid;
	grid-template-rows: subgrid;
	gap: 16px;
	grid-row: span 2;
}
.agency-img {
	width: 100%;
	height: auto;
	object-fit: contain;
	align-self: center;
	justify-self: center;
}
.contents-link--wrap {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}


.table--td ul { margin: 0;}


@media only screen and (max-width : 768px) {

.table, tbody {border: none !important;}
	
.table--head-row{ display: none;}
	
.table td, .table th {
  border: none;
	}

	tr {
		display: block;
		margin-bottom: 2em;
		border: solid 1px #666;
	}
	
	
td {
	display: block;
	border-bottom: solid 1px #bbb;
	text-align: center !important;
	}
		
td:first-of-type {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 	1.5em;
	border-top: none !important;
	background: #b1d5e1;
}
	
td:first-of-type::before {
	background: #b1d5e1;
	margin: 0 0.5em 0 0;
	}
	
td::before {
	content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
	font-weight: bold;
	}
	
.duo--td {
	background: transparent !important;
	text-align: left !important;
	justify-content: flex-start !important;
	}
	
.v3-table .table--head {
	display: flex;
	flex-direction: column;
	width: 100%;
	border-top: none !important;
	}
	
.v3-table .duo--td {
	align-items: flex-start;
}
	
.v3-table ul {
	margin: 0 auto 0 0;
	padding-left: 1em;
	}

	.agency-box {
		width: 100%;
	}
}

@media only screen and (max-width : 640px) {
	
.text--width-img { width: 100%;}
	
.img--with-text	{
	margin: auto auto 2em;
	}
	
.btn--blue-line__large{ margin: 2em auto 3rem;}
	
}