@charset "UTF-8";

/**
 * Cordy site compatibility layer for Emanon Pro 4.x.
 *
 * Load this file after the parent theme, child theme, and Additional CSS.
 * Keep every rule scoped to the plugin-provided body class so the theme can
 * continue to be updated independently.
 */

/* --------------------------------------------------------------------------
 * Content links and breadcrumbs
 * ----------------------------------------------------------------------- */

.cordy-site-custom .breadcrumb__item a,
.cordy-site-custom .breadcrumb__item a:visited,
.cordy-site-custom .breadcrumb-home {
	color: #484848;
}

.cordy-site-custom .breadcrumb__item a:hover,
.cordy-site-custom .breadcrumb__item a:focus-visible {
	color: #07770c;
	text-decoration: underline;
}

/*
 * The old Additional CSS targeted section.article-body. Emanon 4 outputs a
 * div.article-body, so only text-like link contexts are widened here. This
 * deliberately avoids globally changing --ema-link-color because menus,
 * footer links, CTA buttons, and share buttons legitimately use white.
 */
.cordy-site-custom .article-body > a:not(.wp-element-button):not(.btn_cont):not(.cv_bnr),
.cordy-site-custom .article-body :where(p, li:not(.share-btn__item), td, th, dt, dd, figcaption) a:not(.wp-element-button):not(.btn_cont):not(.cv_bnr):not(.more_btn):not(.link_btn):not(.cta_button01),
.cordy-site-custom .article-body #toc_container a,
.cordy-site-custom .article-body .box-info a {
	color: #000099;
	font-weight: 700;
	text-decoration: underline;
}

.cordy-site-custom .article-body > a:not(.wp-element-button):hover,
.cordy-site-custom .article-body :where(p, li:not(.share-btn__item), td, th, dt, dd, figcaption) a:not(.wp-element-button):not(.btn_cont):not(.cv_bnr):not(.more_btn):not(.link_btn):not(.cta_button01):hover,
.cordy-site-custom .article-body #toc_container a:hover,
.cordy-site-custom .article-body .box-info a:hover {
	color: #009999;
	text-decoration: underline;
}

.cordy-site-custom .article-body a.org__btn:link,
.cordy-site-custom .article-body a.org__btn:visited {
	color: #ff8c00;
}

.cordy-site-custom .article-body a.org__btn:hover {
	color: #009999;
}

/* --------------------------------------------------------------------------
 * Classic-editor heading compatibility
 * ----------------------------------------------------------------------- */

.cordy-site-custom .article-body > h2:not(.wp-block-heading) {
	margin: 56px 0 40px;
}

.cordy-site-custom .article-body > h3:not(.wp-block-heading) {
	margin: 48px 0 32px;
}

.cordy-site-custom .article-body > h4:not(.wp-block-heading) {
	margin: 48px 0 16px;
}

.cordy-site-custom .article-body > h5:not(.wp-block-heading) {
	margin: 40px 0 8px;
}

.cordy-site-custom .article-body > h6:not(.wp-block-heading) {
	margin: 32px 0 8px;
}

/* h2 setting retained in the DB: balloon. Emanon 4 only styles block h2. */
.cordy-site-custom .article.is-h2-style-balloon .article-body h2:not(.wp-block-heading):not(.is-style-none):not(.qa_h2) {
	position: relative;
	padding: 8px 16px;
	border-radius: 4px;
	background-color: var(--ema-main-color, #07770c);
	color: #ffffff;
}

.cordy-site-custom .article.is-h2-style-balloon .article-body h2:not(.wp-block-heading):not(.is-style-none):not(.qa_h2)::after {
	position: absolute;
	top: 100%;
	left: 30px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top: 15px solid var(--ema-main-color, #07770c);
	content: "";
}

/* h3 setting retained in the DB but removed from Emanon 4: border-left-bottom. */
.cordy-site-custom .article.is-h3-style-border-left-bottom .article-body h3:not(.is-style-none) {
	padding: 6px 0 6px 12px;
	border-bottom: 2px solid #e2e5e8;
	border-left: 4px solid var(--ema-main-color, #07770c);
}

/* h4 two-colour underline is still supported for blocks; add classic h4. */
.cordy-site-custom .article.is-h4-style-border-bottom-two .article-body h4:not(.wp-block-heading):not(.is-style-none) {
	position: relative;
	padding: 4px 0;
	border-bottom: 2px solid #cccccc;
}

.cordy-site-custom .article.is-h4-style-border-bottom-two .article-body h4:not(.wp-block-heading):not(.is-style-none)::after {
	position: absolute;
	bottom: -2px;
	left: 0;
	z-index: 2;
	width: 20%;
	height: 2px;
	background-color: var(--ema-main-color, #07770c);
	content: "";
}

.cordy-site-custom .article-body h5:not(.wp-block-heading)::before {
	margin-right: 3px;
	color: var(--ema-main-color, #07770c);
	font-size: 13px;
	content: "■";
}

/* --------------------------------------------------------------------------
 * Contact manga carousel (dependency-free; paired with cordy-site-custom.js)
 * ----------------------------------------------------------------------- */

.cordy-site-custom .manga img {
	margin-bottom: 0;
}

.cordy-site-custom .manga_in {
	position: relative;
	max-width: 400px;
	margin: 0 auto;
}

.cordy-site-custom .swipe_manga {
	width: 100%;
	overflow: hidden;
}

.cordy-site-custom .swipe_manga .swiper-wrapper {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	transition: transform 300ms ease;
	will-change: transform;
}

.cordy-site-custom .swipe_manga .swiper-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.cordy-site-custom .swipe_manga .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.cordy-site-custom .manga_in .sw_nav {
	position: absolute;
	top: 50%;
	right: -20px;
	left: -20px;
	z-index: 10;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
}

.cordy-site-custom .manga_in .swiper-button-next,
.cordy-site-custom .manga_in .swiper-button-prev {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	transform: none;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-indent: 0;
	pointer-events: auto;
}

.cordy-site-custom .manga_in .swiper-button-next::after,
.cordy-site-custom .manga_in .swiper-button-prev::after {
	display: none;
	content: none;
}

.cordy-site-custom .manga_in .swiper-button-next img,
.cordy-site-custom .manga_in .swiper-button-prev img {
	display: block;
	width: 30px;
	height: 30px;
	margin: 0;
}

.cordy-site-custom .manga_in [aria-disabled="true"] {
	opacity: 0.35;
	cursor: default;
}

.cordy-site-custom .manga_in [role="button"]:focus-visible {
	outline: 3px solid #07770c;
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
 * Contact overview appended content
 * ----------------------------------------------------------------------- */

.cordy-site-custom .cordy-contact-list {
	max-width: 900px;
	margin: 100px auto 0;
}

.cordy-site-custom .cordy-contact-list .inbx {
	margin-bottom: 40px;
}

.cordy-site-custom .cordy-contact-list .qa_h2 {
	position: static;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #303030;
	font-size: 1.6rem;
}

.cordy-site-custom .cordy-contact-list .qa_h2::after {
	display: none;
	content: none;
}

.cordy-site-custom .cordy-contact-list .qa_h2 span {
	display: inline-block;
	padding: 0 4px 4px 0;
	border-bottom: 1px solid #07770c;
}

.cordy-site-custom .cordy-contact-list .btn_cont {
	display: flex;
	align-items: center;
	height: 140px;
	margin: 20px 0;
	border-radius: 10px;
	background: #07770c;
	color: #ffffff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.cordy-site-custom .cordy-contact-list .btn_cont:hover {
	color: #ffffff;
	text-decoration: none;
	opacity: 0.8;
}

.cordy-site-custom .cordy-contact-list .btn_cont .in {
	width: 100%;
	padding: 20px 0;
}

.cordy-site-custom .cordy-contact-list .btn_cont .tl {
	margin-bottom: 10px;
}

.cordy-site-custom .cordy-contact-list .btn_cont .num {
	font-size: 24px;
}

.cordy-site-custom .cordy-contact-list .telss {
	pointer-events: none;
}

.cordy-site-custom .cordy-contact-list .telss .in {
	background: url("../images/con_tel.png") center left 30px / 40px auto no-repeat;
}

.cordy-site-custom .cordy-contact-list .inbx_ub {
	margin-bottom: 40px;
}

.cordy-site-custom .cordy-contact-list .cont_card {
	position: relative;
	line-height: 1.4;
}

.cordy-site-custom .cordy-contact-list .cont_card .in {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 20px 80px;
	background-repeat: no-repeat, no-repeat;
	background-position: center left 40px, center right 30px;
	background-size: auto 48px, 11px auto;
}

.cordy-site-custom .cordy-contact-list .cont_blue {
	background: #339ecc;
}

.cordy-site-custom .cordy-contact-list .cont_gold {
	background: #bb8909;
}

.cordy-site-custom .cordy-contact-list .cont_memo .in {
	background-image: url("../images/icon-memo.svg"), url("../images/con_arw.png");
}

.cordy-site-custom .cordy-contact-list .cont_cat .in {
	background-image: url("../images/icon-cat.svg"), url("../images/con_arw.png");
	background-size: auto 56px, 11px auto;
}

.cordy-site-custom .cordy-contact-list .cont_hosp .in {
	background-image: url("../images/icon-hospital.svg"), url("../images/con_arw.png");
	background-size: auto 52px, 11px auto;
}

.cordy-site-custom .cordy-contact-list .cont_card .cc_ttl {
	display: block;
	color: #f8f8f8;
	font-size: 32px;
	font-weight: 700;
}

.cordy-site-custom .cordy-contact-list .cont_card .cc_sub {
	display: block;
	color: #f8f8f8;
	font-size: 24px;
	font-weight: 700;
}

.cordy-site-custom .cordy-contact-list .cont_card .cc_lead {
	display: inline-block;
	margin-bottom: 6px;
	padding: 0 8px 3px;
	border-bottom: 1px solid #ffffff;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
}

.cordy-site-custom .cordy-contact-list .atn_txt i {
	color: #ff0000;
	font-style: normal;
}

.cordy-site-custom .cordy-contact-list .atn_ul {
	margin: 20px 0 0 20px;
}

.cordy-site-custom .cordy-contact-list .atn_ul li {
	list-style: disc;
}

/* --------------------------------------------------------------------------
 * Request/form page
 * ----------------------------------------------------------------------- */

.cordy-site-custom .article-body .danger-under {
	border-bottom: 3px solid #ff0029;
}

.cordy-site-custom .article-body .contact-h1 {
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 700;
}

.cordy-site-custom .article-body .ct-atenttion-bx {
	margin-bottom: 3em;
}

.cordy-site-custom .article-body .ct-atenttion-bx .sp_img {
	display: none;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 40px;
	margin: 30px auto 0;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c3 img {
	display: block;
	width: 100%;
	height: auto;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c2 {
	display: grid;
	height: 345px;
	place-content: center;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c2 .infos {
	padding: 50px;
	background: #fafafa url("../images/ctat1.png") top right / auto 100% no-repeat;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c2 .tx1 {
	font-size: 20px;
	font-weight: 900;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c2 .tx1 i {
	font-size: 16px;
	font-weight: 700;
}

.cordy-site-custom .article-body .ct-atenttion-bx .c2 .tx2 {
	margin-top: 32px;
	color: #f97c35;
	font-size: 24px;
	font-weight: 700;
}

.cordy-site-custom .article.is-h2-style-balloon .article-body .ct-atenttion-bx h2:not(.wp-block-heading) {
	padding: 16px;
	color: #e7e749;
	font-size: 24px;
	text-align: center;
}

.cordy-site-custom .article.is-h2-style-balloon .article-body .ct-atenttion-bx h2:not(.wp-block-heading)::after {
	left: 50%;
	transform: translateX(-50%);
}

.cordy-site-custom .article-body .contact-lead {
	margin: 30px 0;
}

.cordy-site-custom .article-body .contact-lead .fbb {
	margin-bottom: 5px;
	font-weight: 700;
}

/* Plugin hook: present only while the repaired form template is active. */
body.cordy-site-custom-form > .l-container > .l-header {
	display: none;
}

.cordy-site-custom .cordy-form-header {
	border-bottom: 1px solid #e6e6e6;
	background: #ffffff;
}

.cordy-site-custom .cordy-form-header .header,
.cordy-site-custom .cordy-form-header .header-area-height {
	height: auto;
}

.cordy-site-custom .cordy-form-header .container {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
}

.cordy-site-custom .cordy-form-header .header-brand {
	padding: 25px;
	line-height: 40px;
}

.cordy-site-custom .cordy-form-header .header-logo img {
	display: block;
	width: min(400px, 100%);
	height: auto;
}

.cordy-site-custom .cordy-form-header__inner {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding: 25px 0;
}

.cordy-site-custom .cordy-form-header__logo {
	display: block;
	width: min(400px, 100%);
	height: auto;
}

/* --------------------------------------------------------------------------
 * Restored shortcode output
 * ----------------------------------------------------------------------- */

.cordy-site-custom .supervision_box {
	margin: 0 0 40px;
	padding: 24px;
	border: 1px solid #cc1111;
	border-radius: 5px;
	background: #ffffff;
	color: #333333;
}

.cordy-site-custom .supervision_box .inner {
	display: flex;
}

.cordy-site-custom .supervision_box .inner > .img {
	width: 140px;
	height: auto;
	object-fit: contain;
}

.cordy-site-custom .supervision_box .inner > div {
	width: calc(100% - 180px);
	margin-left: 40px;
}

.cordy-site-custom .supervision_box .inner .txt {
	margin-bottom: 0;
}

.cordy-site-custom .supervision_box .box {
	display: flex;
	align-items: baseline;
}

.cordy-site-custom .supervision_box .box .txt {
	width: auto;
	font-size: 14px;
}

.cordy-site-custom .supervision_box .box .list {
	margin: 10px 0 0;
	list-style: none;
}

.cordy-site-custom .supervision_box .box .list .item {
	margin: 0 0 6px;
	padding: 0;
}

.cordy-site-custom .supervision_box .box .list .item .link {
	color: #323638;
	font-size: 14px;
	text-decoration: underline;
}

.cordy-site-custom .supervision_box .box .list .item .link:hover {
	text-decoration: none;
	opacity: 0.7;
}

.cordy-site-custom .cv_banners {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	width: calc(100% - 40px);
	max-width: 1080px;
	margin: 0 auto 50px;
	text-align: center;
}

.cordy-site-custom .cv_banners .cv_bnr {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

.cordy-site-custom .cv_banners .cv_bnr img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border-radius: 5px;
}

.cordy-site-custom .cv_banners .cv_tel {
	pointer-events: none;
}

.cordy-site-custom .box-info.blog-card {
	padding: 10px;
}

.cordy-site-custom .blog-card a {
	display: flex;
	align-items: center;
}

.cordy-site-custom .blog-card .blog-card-thumbnail {
	max-width: 40%;
	margin-right: 15px;
}

.cordy-site-custom .blog-card .blog-card-thumbnail img {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
 * Responsive adjustments
 * ----------------------------------------------------------------------- */

@media (max-width: 767px) {
	.cordy-site-custom .manga_in .sw_nav {
		right: 4px;
		left: 4px;
	}

	.cordy-site-custom .cordy-contact-list {
		margin-top: 56px;
	}

	.cordy-site-custom .cordy-contact-list .telss {
		pointer-events: auto;
	}

	.cordy-site-custom .cordy-contact-list .cont_card {
		text-align: center;
	}

	.cordy-site-custom .cordy-contact-list .cont_card .in {
		padding: 16px 44px;
		background-position: center left 14px, center right 12px;
		background-size: auto 34px, 9px auto;
	}

	.cordy-site-custom .cordy-contact-list .cont_cat .in {
		background-size: auto 40px, 9px auto;
	}

	.cordy-site-custom .cordy-contact-list .cont_hosp .in {
		background-size: auto 38px, 9px auto;
	}

	.cordy-site-custom .cordy-contact-list .cont_card .cc_ttl {
		font-size: 22px;
	}

	.cordy-site-custom .cordy-contact-list .cont_card .cc_sub {
		font-size: 16px;
	}

	.cordy-site-custom .cordy-contact-list .cont_card .cc_lead {
		font-size: 12px;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px 0;
		margin: 30px auto;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c3 img {
		margin: 0;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c2 {
		height: auto;
		place-content: unset;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c2 .infos {
		padding: 0;
		background: none;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c2 .tx1 {
		margin-top: 40px;
		font-size: 16px;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c2 .tx1 i {
		font-size: 14px;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .c2 .tx2 {
		margin-top: 20px;
		font-size: 18px;
	}

	.cordy-site-custom .article-body .ct-atenttion-bx .sp_img {
		display: block;
		margin-top: 24px;
	}

	.cordy-site-custom .article.is-h2-style-balloon .article-body .ct-atenttion-bx h2:not(.wp-block-heading) {
		padding: 9px;
		font-size: 20px;
	}

	.cordy-site-custom.page-template-form-php .article-body .inquiry {
		width: 100%;
		margin: 0 0 20px;
	}

	.cordy-site-custom.page-template-form-php .article-body .inquiry th,
	.cordy-site-custom.page-template-form-php .article-body .inquiry td {
		display: block;
		width: 100%;
		border-top: 0;
	}

	.cordy-site-custom .cordy-form-header__inner {
		padding: 8px 0;
	}

	.cordy-site-custom .cordy-form-header .header-brand {
		padding: 5px;
	}

	.cordy-site-custom .supervision_box .inner {
		flex-wrap: wrap;
	}

	.cordy-site-custom .supervision_box .inner > .img {
		width: 200px;
		margin: 0 auto;
	}

	.cordy-site-custom .supervision_box .inner > div {
		width: 100%;
		margin: 10px 0 0;
	}

	.cordy-site-custom .supervision_box .box {
		flex-wrap: wrap;
	}

	.cordy-site-custom .supervision_box .box .txt {
		width: 100%;
		margin: 10px 0 0;
	}

	.cordy-site-custom .supervision_box .box .list {
		margin: 0;
	}

	.cordy-site-custom .cv_banners {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		max-width: 500px;
	}

	.cordy-site-custom .cv_banners .cv_bnr {
		flex: 0 0 auto;
		width: 100%;
	}

	.cordy-site-custom .cv_banners .cv_tel {
		pointer-events: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cordy-site-custom .swipe_manga .swiper-wrapper {
		transition: none;
	}
}
