@charset "UTF-8";

/* 互助会を検討されている方ページ　タブ上 */
.gojokai_service_main {
	max-width: initial;
	max-width: auto;
	max-width: none;
}

.g_service {
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;
	display: block;
}

.gs_tti_txt {
	margin: 0em auto 3em;
	font-size: 1.1em;
	font-weight: 500;
	text-align: left;
	line-height: 2em;
}

.gs_box {
	width: 100%;
	margin-bottom: 110px;
}

.gs_ttl {
	background-color: #7DBFD6;
	color: #ffffff;
	display: block;
	border-radius: 8px;
	text-align: left;
	padding-left: 1em;
	font-size: 2em;
	line-height: 2.4em;
}

.gs_txt {
	text-align: left;
	font-size: 1.3em;
	line-height: 1.8em;
	font-weight: 500;
}

.gs_hall_img {
	width: 100%;
	margin: 2em 0 0;
}

/* タブ切り替え */
.tab {
	margin: 20px;
}

.tab_area {
	color: #333;
	margin: 30px 0 0 0;
	width: 100%;
	font-size: 14px;
	line-height: 1.6;
}

.tab_list {
	display: table;
	margin: 0 auto;
	width: 85%;
	max-width: 1200px;
	zoom: 1;
	table-layout: fixed;
	border-spacing: 0;
}

.tab_item_gs {
	display: table-cell;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.tab_item_gs a {
	display: block;
	padding: 20px 20px 15px 20px;
	margin: 0 2px;
	overflow: hidden;
	position: relative;
	color: #333;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 10px 10px 0 0;
	font-size: 2em;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* hover時の背景色（グレー）の指定 */
.tab_item_gs a:hover {
	background-color: #eee;
}

/* タブ選択時の文字色の指定 */
.tab_item_gs a.selected {
	color: #fff;
	font-weight: 400;
}

.tab_item_gs a:first-of-type {
	margin-right: 2%;
}

/* タブ01の背景色と文字色の指定 */
.tab_item_gs:first-child a.selected {
	background-color: #B5B0D5;
	border:none;
}

/* タブ02の背景色と文字色の指定 */
.tab_item_gs:nth-child(2) a.selected {
	background-color: #D791AD;
	border: none;
}

.tab_inner {
	width: 100%;
	margin: 0 auto;
	margin-top: -1px;
}

.tab_inner_box {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 45px 0;
}

/* タブ01選択時のコンテンツ内の背景色の指定 */
.tab_inner .purple {
	border-top: solid 5px #B5B0D5;
	padding-bottom: 10px;
	width: 100%;
}

/* タブ02選択時のコンテンツ内の背景色の指定 */
.tab_inner .pink {
	border-top: solid 5px #D791AD;
	padding-bottom: 10px;
	width: 100%;
}

.merit_top_header {
	text-align: center;
	font-size: 2.4em;
	font-weight: 500;
	margin-bottom: 80px;
}

.merit_top_header span {
	font-size: 1.4em;
	margin: 0 0.1em;
	font-weight: 500;
}

.merit_box {
	margin: 30px 0 70px;
	max-width: 1000px;
}

.merit_box_ttl {
	font-size: 2.4em;
	font-weight: 500;
	text-align: left;
}

.merit_box_ttl span {
	font-size: 1.2em;
	color: #fff;
	margin: auto 0;
	width: 60px;
	height: 60px;
	background: #555555;
	border-radius: 50%;
	line-height: 60px;
	text-align: center;
	margin-right: 30px;
	display: inline-block;
}

.merit_box_txt {
	text-align: left;
	font-size: 1.6em;
	line-height: 2em;
	font-weight: 500;
	margin: 30px 0 60px;
}

.merit_img {
	margin: 50px 0 100px;
	display: flex;
	justify-content: space-between;
}

.img_center img {
	margin: 0 auto;
}

.merit_right_img {
	display: flex;
	align-items: flex-start;
	margin-top: 30px;
}

.right_img_txt {
	width: 50%;
	padding-right: 2em;
	white-space: inherit;
	font-size: 1.4em;
	line-height: 1.8em;
}

.right_img_box {
	width: 50%;
	margin-top: 30px;
}

.merit_hall_img,
.merit_dress_img {
	display: flex;
	justify-content: space-between;
	margin-top: 80px;
}

.merit_hall_img img {
	width: 24%;
}

.merit_dress_img img {
	width: 19%;
}

.merit_halllist_link a {
	background-color: #7DBFD6;
	padding: 0 3em;
	color: #ffffff;
	font-size: 1.8em;
	line-height: 3em;
	display: block;
	margin: 0 auto 30px;
	border-radius: 8px;
}

.merit_halllist_link a:hover {
	background-color: #9dd5e8;
	text-decoration: none;
}

.gs_freedial_box {
	background-color: #FCFCFA;
	width: 100%;
	padding: 50px 0 80px;
}

.gs_freedial_box_bnr {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.gs_freedial_box_bnr a {
	margin: 0 auto;
	display: block;
}

@media screen and (max-width: 975px){
	.gs_freedial_box_bnr {
		flex-wrap: wrap;
		width: 90%;
	}

	.gs_freedial_box_bnr a {
		margin-bottom: 2%;
	}
}

@media screen and (max-width: 768px){
	.g_service {
		width: 90%;
		margin: 0 auto;
		display: block;
	}

	.gs_ttl {
		padding: 15px 10px;
		font-size: 1.4em;
		line-height: 1.6em;
	}

	.gs_txt {
		font-size: 1em;
		line-height: 1.8em;
	}

	.gs_box {
		margin-bottom: 70px;
	}

	/* タブ切り替え */
	.tab_area {
		color: #333;
		margin: 30px 0 0 0;
		width: 100%;
		font-size: 14px;
		line-height: 1.6;
	}

	.tab_list {
		width: 96%;
	}

	.tab_item_gs {
		font-size: 8px;
	}

	.tab_item_gs a {
		display: block;
		padding: 20px 20px 15px 20px;
		margin: 0 2px;
		overflow: hidden;
		position: relative;
		color: #333;
		background-color: #fff;
		border: 1px solid #ccc;
		border-radius: 10px 10px 0 0;
		font-size: 2em;
		text-decoration: none;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.tab_inner_box {
		width: 90%;
		padding: 50px 0;
	}

	.merit_top_header {
		margin-bottom: 0;
		line-height: 1.6em;
	}

	.merit_box {
		margin: 40px 0;
	}

	.merit_box_ttl {
		font-size: 1.6em;
		line-height: 2em;
	}

	.merit_box_ttl span {
		font-size: 1.2em;
		width: 50px;
		height: 50px;
		line-height: 50px;
		margin-right: 10px;
	}

	.merit_box_txt {
		font-size: 1.2em;
		line-height: 2em;
		margin: 10px 0 30px;
	}

	.merit_img {
		margin: 30px 0 0;
		flex-wrap: wrap;
		height: auto;
	}

	.merit_img img {
		align-self: flex-start;
	}

	.merit_right_img {
		display: flex;
		align-items: flex-start;
		margin: 30px 0 -30px;
		flex-direction: column-reverse;
		height: auto;
	}

	.right_img_txt {
		width: 100%;
		padding-right: 0;
		margin-top: 40px;
	}

	.right_img_box {
		width: 100%;
		margin-top: 30px;
	}

	.right_img_box img {
		align-self: flex-start;
	}

	.merit_hall_img,
	.merit_dress_img {
		display: flex;
		justify-content: space-between;
		margin: 40px 0;
		flex-wrap: wrap;
		height: auto;
	}

	.merit_hall_img img {
		width: 49%;
		margin-bottom: 2%;
		align-self: flex-start;
	}

	.merit_dress_img img {
		width: 49%;
		margin-bottom: 2%;
		align-self: flex-start;
	}


}