@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.content {
	margin-top: 0 !important;
}
.wrap {
	width: 80%;
	margin: auto;
}
main {
	padding: 0 !important;
}
.entry-content {
	margin-top: 0 !important;
}

.entry-title {
	display: none !important;
}

a {
	text-decoration: none;
}

.top-image {
	background-color: #143755;
	width: 100vw;
	max-width: none;
	margin: 0;
	position: relative;
	left: calc(-50vw + 50%);
	display: flex !important;
	justify-content: center;
	align-items: center;
	padding: 0;
}

.image-wrapper {
	display: flex;
	justify-content: center;
}

.image-wrapper img {
	max-width: 100%;
	height: auto;
}

.category_title {
	color: #143755;
	font-size: 44px;
	margin-bottom: 0em !important;
	font-weight: bold;
	letter-spacing: 8px;
}

.header_1 {
	background-image: url("../../uploads/2025/02/kenchiku_01.png");
	background-position: right;
	background-repeat: no-repeat;
	background-color: #003554;
	color: #ffffff;
	height: 210px;
	font-size: 44px;
	padding: 15px;
	margin-bottom: 0em !important;
}
.header_1 a {
	color: #fff;
	position: relative;
    top: 10px;
}
.header_2 {
	background-image: url("../../uploads/2025/02/fudousan_01.png");
	background-position: right;
	background-repeat: no-repeat;
	background-color: #003554;
	color: #ffffff;
	height: 210px;
	font-size: 44px;
	padding: 15px;
	margin-bottom: 0em !important;
}
.header_3 {
	background-image: url("../../uploads/2025/02/system_01.png");
	background-position: right;
	background-repeat: no-repeat;
	background-color: #003554;
	color: #ffffff;
	height: 210px;
	font-size: 44px;
	padding: 15px;
	margin-bottom: 0em !important;
}
.header_4 {
	background-image: url("../../uploads/2025/02/hoken_01.png");
	background-position: right;
	background-repeat: no-repeat;
	background-color: #003554;
	color: #ffffff;
	height: 210px;
	font-size: 44px;
	padding: 15px;
	margin-bottom: 0em !important;
}

.category_head {
	color: #009589;
	font-weight: bold;
	font-size: 28px;
	margin-bottom: 0.3em !important;
}
.sub_category {
	color: #009589;
	font-weight: bold;
	padding: 5px;
}

.hr-container {
	width: 100%;
	text-align: center;
	position: relative;
	margin-bottom: 0.3em !important;
}

.hr-container hr {
	border: none;
	height: 5px;
	background-color: #d1d1ca;
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.hr-container::before {
	content: "";
	display: block;
	position: absolute;
	width: 30%;
	height: 5px;
	background-color: #143755 !important;
	left: 35%;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.content_area {
	background-image: url('../../uploads/2025/02/sanwamedico_white.png');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-color: #f0eeee;
	padding: 30px;
	background-size: 20%;
}
.sanwa_bar {
	background-image: url('../../uploads/2025/02/grayobi.png');
	background-repeat: no-repeat;
	width: 100vw;
	max-width: none;
	margin: 0;
	position: relative;
	left: calc(-50vw + 50%);
	display: flex !important;
	justify-content: flex-end;
	align-items: end;
	padding: 20px 100px;
	height: 100px;
}
.sanwa_bar img {
	width: 200px !important;
}

.point-container {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	padding: 15px;
}
.has-text-align-center .point-container {
	width: fit-content;
	margin: 0 auto;
}
.has-text-align-center .arrow {
	top: 5px;
}
.point-area {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 0;
	gap: 10px;
}
.point-marker {
	width: 40px;
	height: 40px;
	background-color: #ff7600;
	border-radius: 50%;
}
.point-marker2 {
	width: 30px;
	height: 30px;
	background-color: #ff7600;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	position: relative;
	padding: 5px;
	align-self: flex-end;
	top: -18px;
}
.arrow {
	color: #ffffff;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: -3px;
}
.point-text {
	color: #143755;
	font-size: 35px;
	font-weight: bold;
}
.point-text2 {
	font-size: 28px;
	align-self: flex-end;
	position: relative;
	top: -10px;
}
.point-text3 {
	padding-right: 15px;
}
.point-text4 {
	font-size: 25px;
	align-self: flex-end;
	position: relative;
	top: -10px;
}

.company_greeting {
	width: 80% !important;
	margin: auto;
}
.company_table {
	width: 80% !important;
	margin: auto;
}
.company_table table {
	border-left: 0 !important;
    border-right: 0 !important;
}
.company_table td {
	background-color: #ffffff;
}
.company_table td:first-child {
	text-align: center;
	vertical-align: top;
	width: 300px;
}

.achievements {
	margin: auto;
}
.achievements td {
	background-color: #ffffff;
	border-color: #5a5050 !important;
	border-left: 0 !important;
    border-right: 0 !important;
}
.achievements td:first-child {
	vertical-align: top;
	width: 10em;
	background-color: #f0eeee;
}

.page-id-33 img {
	width: 100%;
	margin: auto;
	margin: unset !important;
}

.wpcf7 {
	margin: 5em;
}
.wpcf7-submit {
	background-color: #32a29c !important;
	color: #ffffff !important;
	font-size: 20px;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.wrap {
		width: 95%;
	}  
	.header_1 {
		height: 150px;
		padding: 10px;
	}
	.has-text-align-center .arrow {
		top: 5px;
	}
	
	.category_head {
		font-size: 22px;
	}

	.point-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 5px;
		padding: 10px;
	}
	.point-area {
		gap: 10px;
	}
	.point-marker2 {
		align-self: flex-start;
		top: 0px;
	}
	.point-text {
		font-size: 30px;
	}
	.point-text2 {
		top: -41px;
	}
	
	.company_table {
		width: 95% !important;
	}
	.company_table td:first-child {
		width: 100px;
	}
	
	.sanwa_bar {
		padding: 20px 30px;
		height: 60px;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.pc {
		display: none;
	}
	.br-pc {
		display: none;
	}
	
	.wpcf7 {
		margin: auto;
	}
}
@media screen and (min-width: 480px){
	.br-sp {display: none; }
}
