/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 11 2026 | 12:08:09 */
/* 薬局についてページ */

/* 代表挨拶 */
.p-about-greeting .image {
	border-radius: 20px;
	overflow: hidden;
	border: 4px solid #fff;
}
@media (max-width: 781px) {
	.p-about-greeting figure img {
		aspect-ratio: 4 / 3!important;
	}
	.p-about-greeting .wp-block-columns {
		flex-direction: column-reverse;
	}
}

/* 会社理念 */
.p-about-philosophy h3 {
	letter-spacing: .05em;
	font-family: 'Noto Sans JP', sans-serif!important;
}
@media (max-width: 781px) {
	.p-about-philosophy h3 {
		font-size: 26px!important;
	}
}
.p-about-philosophy .sub-text {
	font-size: 18px;
}
@media (max-width: 781px) {
	.p-about-philosophy .sub-text {
		font-size: 17px;
	}
}
@media (max-width: 781px) {
	.p-about-philosophy .bottom-content {
		gap: 40px;
	}
}
.p-about-philosophy .bottom-content .item {
	position: relative;
}
.p-about-philosophy .bottom-content .item img {
	border-radius: 5px;
	overflow: hidden;
}
.p-about-philosophy .bottom-content.number .item::before {
	position: absolute;
	top: -60px;
	right: 0;
	width: 80px;
	height: 60px;
	font-size: 60px;
	font-weight: bold;
	color: var(--wp--preset--color--vk-color-custom-1);
	text-shadow: 3px 3px 0px #fff;
	z-index: 1;
}
@media (max-width: 781px) {
	.p-about-philosophy .bottom-content.number .item::before {
		width: 60px;
		height: 40px;
		font-size: 40px!important;
		top: -40px;
	}
}
.p-about-philosophy .bottom-content.number .item:nth-of-type(1)::before {
	content: "01";
}
.p-about-philosophy .bottom-content.number .item:nth-of-type(2)::before {
	content: "02";
}
.p-about-philosophy .bottom-content.number .item:nth-of-type(3)::before {
	content: "03";
}
@media (min-width: 782px) {
	.p-about-philosophy .bottom-content .item:nth-of-type(2) {
		margin-top: 40px;
	}
	.p-about-philosophy .bottom-content .item:nth-of-type(3) {
		margin-top: 80px;
	}
}
.p-about-philosophy .bottom-content .item h4 {
	letter-spacing: .05em;
	font-size: 30px!important;
	font-family: 'Noto Sans JP', sans-serif!important;
}
@media (max-width: 781px) {
	.p-about-philosophy .bottom-content .item h4 {
		font-size: 26px!important;
		font-family: 'Noto Sans JP', sans-serif!important;
	}
}
.p-about-philosophy .bottom-content .item .text {
	font-size: 20px;
}
@media (max-width: 781px) {
	.p-about-philosophy .bottom-content .item .text {
		font-size: 18px!important;
	}
}

/* わかば調剤薬局の特徴 */
.p-about-feature .wp-block-cover {
	border-radius: 20px;
	overflow: hidden;
}
@media (max-width: 781px) {
	.p-about-feature  .wp-block-columns {
		flex-direction: column-reverse;
	}
}

/* 地域との関わり */
.p-about-community .content {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
}
@media (max-width: 781px) {
	.p-about-community .text-area {
		padding: 0 1.5em 2em 1.5em!important;
	}
}

/* アクセス */
.p-about-access .wp-block-gallery figure {
	border-radius: 10px;
	overflow: hidden;
}

/* 薬局で使用しているDXツール */
.p-about-access .kikai-wrap figure,
.p-about-access .kikai-wrap-sp figure {
	text-align: center;
}
.p-about-access .kikai-wrap img[style] {
	object-fit: contain!important;
	width: 300px!important;
}
.p-about-access .kikai-wrap-sp img[style] {
	object-fit: contain!important;
	width: 200px!important;
}