/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 05 2024 | 07:59:29 */
/* トップページ */

/* コンセプトセクション */
body.home .sectionConcept {
	margin-top: 60px;
	padding: 0 35px;
}
@media (max-width: 767px) {
	body.home .sectionConcept {
		margin-top: 40px;
		padding: 0 15px;
	}
}
body.home .sectionConcept .headMessage {
	text-align: center;
	font-size: 25px;
	margin-bottom: 60px;
	padding: 0 40px;
	font-weight: bold;
}
@media (max-width: 767px) {
	body.home .sectionConcept .headMessage {
		font-size: 18px;
		margin-bottom: 340px;
		padding: 0;
	}
}
@media (max-width: 500px) {
	body.home .sectionConcept .headMessage {
		margin-bottom: 270px;
	}
}
body.home .sectionConcept .content {
	position: relative;
}
@media (min-width: 768px) {
	body.home .sectionConcept .content .topArea,
	body.home .sectionConcept .content .bottomArea {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}
body.home .sectionConcept .content .topArea {
	background-color: #f2f2f2;
	padding: 5% 4% 2%;
}
@media (max-width: 767px) {
	body.home .sectionConcept .content .topArea {
		padding: 40px 15px 10px;
	}
}
body.home .sectionConcept .content .topArea .logoWrap {
	flex-basis: 35%;
}
body.home .sectionConcept .content .topArea .logoWrap .logo {
	width: min(80px, 30%);
	margin: 0 auto 20px;
}
@media (max-width: 767px) {
	body.home .sectionConcept .content .topArea .logoWrap .logo {
		width: 60px;
	}
}
body.home .sectionConcept .content .topArea .logoWrap .logoText {
	width: min(280px, 70%);
	margin: 0 auto;
}
@media (max-width: 767px) {
	body.home .sectionConcept .content .topArea .logoWrap .logoText {
		margin-bottom: 20px;
	}
}
body.home .sectionConcept .content .topArea .textWrap {
	flex-basis: 33%;
}
body.home .sectionConcept .content .topArea .textWrap {
	font-size: 14px;
}
body.home .sectionConcept .content .bottomArea {
	background-color: var(--accentColor);
	padding: 40px;
}
@media (max-width: 767px) {
	body.home .sectionConcept .content .bottomArea {
		padding: 20px 30px 30px;
	}
}
body.home .sectionConcept .content .bottomArea .leftSide {
	flex-basis: 35%;
}
body.home .sectionConcept .content .bottomArea .rightSide {
	flex-basis: 30%;
}
@media (min-width: 600px) and (max-width: 767px) {
	body.home .sectionConcept .content .bottomArea .leftSide {
		margin-bottom: 5px;
	}
}
@media (max-width: 767px) {
	body.home .sectionConcept .content .bottomArea .leftSide {
		width: min(90%, 300px);
		margin-left: auto;
		margin-right: auto;
	}
	body.home .sectionConcept .content .bottomArea .rightSide {
		width: min(60%, 300px);
		margin: 0 auto;
	}
}
body.home .sectionConcept .content .doctor {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 24%;
}
@media (max-width: 767px) {
	body.home .sectionConcept .content .doctor {
		bottom: auto;
		top: -310px;
		width: 200px;
	}
}
@media (max-width: 500px) {
	body.home .sectionConcept .content .doctor {
		top: -248px;
		width: 160px;
	}
}

/* 当院についてセクション　タイトル */
@media (max-width: 767px) {
	body.home #main .sectionTitleWrap {
		margin-top: 40px;
	}
}

/* 当院についてセクション　画像グリッドエリア */
@media (max-width: 980px) {
	body.home .aboutUs_gridContainer {	
		margin-top: -40px;
	}
}
body.home .aboutUs_gridContainer {	
	display: grid;
	grid-template-columns: 3fr 2fr;
}
@media (max-width: 600px) {
	body.home .aboutUs_gridContainer {	
		grid-template-columns: 1fr;
	}
}
body.home .aboutUs_gridContainer .left .img,
body.home .aboutUs_gridContainer .right .img {
	width: 100%;
	height: 100%;
}
body.home .aboutUs_gridContainer .left .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (max-width: 600px) {
	body.home .aboutUs_gridContainer .left .img img {
		height: auto;
		object-fit: contain;
	}
}
body.home .aboutUs_gridContainer .right {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
	body.home .aboutUs_gridContainer .right .img {
		aspect-ratio: 1;
	}
	body.home .aboutUs_gridContainer .right .img img{
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
body.home .aboutUs_gridContainer .img img {
	margin-bottom: 0;
}

/* 当院についてセクション　診療3アイテムエリア */
body.home .aboutUs_treatmentColumn3 {
	position: relative;
	padding: 40px 0;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn3 {
		margin-top: 40px;
	}
}
body.home .aboutUs_treatmentColumn3 .wp-block-group__inner-container {
	padding: 40px 20px 10px;
	background-color: #fff;
}
body.home .aboutUs_treatmentColumn3 .bg {
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--header-bg);
	width: 100vw;
	height: 100%;
	z-index: -1;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn3 .bg {
		left: -4vw;
	}
}
body.home .aboutUs_treatmentColumn3 .illustBg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 230px;
	height: 407px;
	background-image: url(https://dental.pipora.com/img/2024/07/illustBg_teethLeft.webp);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	z-index: -1;
}
body.home .aboutUs_treatmentColumn3 .topMessage {
	font-weight: bold;
	text-align: center;
	font-size: 18px;
}
@media (max-width: 767px) {
	body.home .aboutUs_treatmentColumn3 .topMessage {
		font-size: 17px;
	}
}
body.home .aboutUs_treatmentColumn3 .item {
	transition: .3s;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn3 .item {
		padding-top: 20px;
	}
}
body.home .aboutUs_treatmentColumn3 .item a:hover {
	opacity: 0;
}
body.home .aboutUs_treatmentColumn3 .item:hover {
	opacity: .8;
}
body.home .aboutUs_treatmentColumn3 .item:not(:first-of-type) {
	border-left: 1px solid var(--header-bg);
}
@media (max-width: 781px) {
	body.home .aboutUs_treatmentColumn3 .item {
		border-left: 0!important;
		border-top: 1px solid var(--header-bg);
	}
}
body.home .aboutUs_treatmentColumn3 .item .titleTop {
	line-height: 1.2;
	font-size: 15px;
	text-align: center;
	position: relative;
}
body.home .aboutUs_treatmentColumn3 .item .titleTop::before {
	content: "";
	position: absolute;
	border-top: 2px solid var(--header-bg);
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	display: block;
	bottom: -10px;
	width: 110px;
}
@media (max-width: 781px) {
	body.home .aboutUs_treatmentColumn3 .item .titleTop::before {
		border-top: 3px solid var(--header-bg);
	}
}
body.home .aboutUs_treatmentColumn3 .item .img {
	width: 70%;
	height: 190px;
	margin: 0 auto;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn3 .item .img {
		width: min(50%, 200px);
		height: auto;
	}
}
body.home .aboutUs_treatmentColumn3 .item .img.large {
	width: 100%;
	margin: 0 auto;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn3 .item .img.large {
		width: min(70%, 280px);
	}
}
body.home .aboutUs_treatmentColumn3 .item .img.large img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.2);
}
@media (max-width: 1200px) {
	body.home .aboutUs_treatmentColumn3 .item .img.large img {
		transform: scale(1);
	}
}
body.home .aboutUs_treatmentColumn3 .item .imgBtn {
	margin: 25px auto 0;
	width: 35px;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn3 .item .imgBtn {
		margin-top: -12px;
	}
}

/* 当院についてセクション　診療2アイテムエリア */
body.home .aboutUs_treatmentColumn2 {
	margin: 60px 0;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentColumn2 {
		margin: 40px 0;
	}
}
body.home .aboutUs_treatmentColumn2 .item {
	border-left: 1px solid var(--header-bg);
	padding-bottom: 25px;
	transition: .3s;
}
@media (max-width: 781px) {
	body.home .aboutUs_treatmentColumn2 .item {
		border-left: 0!important;
		border-top: 1px solid var(--header-bg);
		padding-top: 20px;
	}
	body.home .aboutUs_treatmentColumn2 .item:last-of-type {
		padding-bottom: 50px;
	}
}
body.home .aboutUs_treatmentColumn2 .item a:hover {
	opacity: 0;
}
body.home .aboutUs_treatmentColumn2 .item:hover {
	opacity: .8;
}
body.home .aboutUs_treatmentColumn2 .item:last-of-type {
	border-right: 1px solid var(--header-bg);
}
@media (max-width: 781px) {
	body.home .aboutUs_treatmentColumn2 .item:last-of-type {
		border-right: 0;
		border-bottom: 1px solid var(--header-bg);
	}
}
body.home .aboutUs_treatmentColumn2 .item .titleTop {
	line-height: 1.2;
	font-size: 15px;
	text-align: center;
	position: relative;
}
body.home .aboutUs_treatmentColumn2 .item .titleTop::before {
	content: "";
	position: absolute;
	border-top: 2px solid var(--header-bg);
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	display: block;
	bottom: -15px;
	width: 110px;
}
@media (max-width: 781px) {
	body.home .aboutUs_treatmentColumn2 .item .titleTop::before {
		border-top: 3px solid var(--header-bg);
	}
}
body.home .aboutUs_treatmentColumn2 .item .img {
	width: 60%;
	margin: 0 auto;
}
body.home .aboutUs_treatmentColumn2 .item:last-of-type .img {
	margin-top: -15px;
}
body.home .aboutUs_treatmentColumn2 .item .imgBtn {
	width: 35px;
	margin: -30px auto;
}

/* 当院についてセクション　3つの特徴エリア */
body.home .aboutUs_treatmentFeatures {
	margin: 80px 0 60px;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentFeatures {
		margin: 40px 0;
	}
}
body.home .aboutUs_treatmentFeatures .item .img {
	aspect-ratio: 434/278;
}
body.home .aboutUs_treatmentFeatures .item .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.home .aboutUs_treatmentFeatures .item .title {
	margin-top: 0;
	padding-left: 15px;
	border-left: 4px solid var(--accentColor);
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentFeatures .item .title {
		font-size: 18px;
	}
}
body.home .aboutUs_treatmentFeatures .item .text {
	font-size: 14px;
	margin-bottom: 10px;
}
body.home .aboutUs_treatmentFeatures .item .btns {
	font-size: 14px;
	line-height: 1.4;
}
body.home .aboutUs_treatmentFeatures .item .btns a {
	padding: 20px 10px;
}
@media (max-width: 980px) {
	body.home .aboutUs_treatmentFeatures .item .btns a {
		font-size: 15px;
	}
}

/* 当院についてセクション　安心の実績エリア */
body.home .aboutUs_achievements {
	position: relative;
	padding: 40px 0;
}
body.home .aboutUs_achievements .wp-block-group__inner-container {
	padding: 20px;
	background-color: #fff;
}
body.home .aboutUs_achievements .bg {
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--header-bg);
	width: 100vw;
	height: 100%;
	z-index: -1;
}
@media (max-width: 980px) {
	body.home .aboutUs_achievements .bg {
		left: -4vw;
	}
}
body.home .aboutUs_achievements .illustBg {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 230px;
	height: 360px;
	background-image: url(https://dental.pipora.com/img/2024/07/illustBg_teethRight.webp);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	z-index: -1;
}
body.home .aboutUs_achievements .topMessage {
	font-weight: bold;
	font-size: 22px;
}
@media (max-width: 980px) {
	body.home .aboutUs_achievements .topMessage {
		font-weight: bold;
		font-size: 19px;
	}
}
body.home .aboutUs_achievements .item {
	padding: 0 20px;
}
@media (max-width: 980px) {
	body.home .aboutUs_achievements .item {
		padding: 20px;
	}
}
body.home .aboutUs_achievements .item:not(:first-of-type) {
	border-left: 1px solid var(--header-bg);
}
@media (max-width: 781px) {
	body.home .aboutUs_achievements .item {
		border-left: 0!important;
		border-top: 1px solid var(--header-bg);
	}
	body.home .aboutUs_achievements .item:last-of-type {
		border-bottom: 1px solid var(--header-bg);
	}
}
body.home .aboutUs_achievements .item .title {
	margin-top: 0;
}
body.home .aboutUs_achievements .item .img.small {
	width: 80%;
	height: 186px;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 1200px) {
	body.home .aboutUs_achievements .item .img.small {
		height: auto;
	}
}
body.home .aboutUs_achievements .item .img {
	margin-bottom: 10px;
	text-align: center;
}
body.home .aboutUs_achievements .item .text {
	font-size: 14px;
}
body.home .aboutUs_achievements .link {
	margin: 10px 0 10px;
}
body.home .aboutUs_achievements .link a {
	color: #333;
	display: block;
	font-weight: bold;
	font-size: 18px;
	width: max-content;
	margin: 0 auto;
	padding-right: 50px;
	position: relative;
}
@media (max-width: 767px) {
	body.home .aboutUs_achievements .link a {
		width: 100%;
		font-size: 16px;
	}
}
body.home .aboutUs_achievements .link a::after {
	position: absolute;
	content: "";
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	width: 40px;
	height: 40px;
	background-image: url(https://dental.pipora.com/img/2024/07/icon_ArrowRight.webp);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
@media (max-width: 767px) {
	body.home .aboutUs_achievements .link a::after {
		width: 30px;
		height: 30px;
	}
}
