.global-nav>li.menu-item-has-children>a::after {
    content: "" !important;
    width: 12px;
    height: 6px;
    background: url(../assets/images/header-menu-after.svg) no-repeat center center;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

.top-hero__inner {
    max-width: 1650px !important;
}

.only-pc {
    display: block !important;

    @media (max-width: 768px) {
        display: none !important;
    }
}

.only-sp {
    display: none !important; 
}

/* 1500px〜1024px のみ表示 */
.only-pc-bloc-15-12 {
    display: none !important;
}

@media (max-width: 1500px) and (min-width: 1024px) {
    .only-pc-bloc-15-12 {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .only-sp {
        display: block !important;
    }
}


.top-hero__img-2 {
    width: calc(59% - 16px) !important;
}

.menu-item-1332, .menu-item-1333, .menu-item-1334 {
    display: none !important;

    @media (max-width: 1024px) {
        display: block !important;
    }
}

.site-header__burger span {
    transition: transform 0.3s ease-in-out !important;
}
.site-header__burger.is-active span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg) !important;
    transform-origin: center center !important;
}

.site-header__burger.is-active span:nth-child(2) {
    display: none !important;
}

.site-header__burger.is-active span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg) !important;
    transform-origin: center center !important;
}

.top-message__body {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-job-lead .top-job-lead__text {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-doctor .top-doctor__body {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-interview .top-interview__lead {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-job .top-job__lead {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-env .top-env__lead {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-faq .top-faq__lead {
    font-size: 1.6rem !important;

    @media (max-width: 768px) {
        font-size: 1.4rem !important;
    }
}

.top-message {
    @media (max-width: 768px) {
        padding: 40px 20px !important;
    }
}

.top-interview .top-interview__title {
    @media screen and (max-width: 1200px) {
        font-size: 3.2rem;
    }

    @media screen and (max-width: 768px) {
        font-size: 2.6rem;
    }
}

.top-doctor .top-doctor__name {

    @media screen and (max-width: 768px) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

.top-doctor .top-doctor__name span {
    @media screen and (max-width: 768px) {
        padding: 0;
    }
}

.top-job .top-job__card-title {
    @media screen and (max-width: 992px) {
        font-size: 1.8rem;
    }

    @media screen and (max-width: 768px) {
        font-size: 2rem;
    }
}

.top-job .top-job__card-body {
    @media screen and (max-width: 992px) {
       padding-inline: 24px;
    }

    @media screen and (max-width: 768px) {
        padding-inline: 20px;
    }
}

.site-footer__clinic {
    @media screen and (max-width: 768px) {
        max-width: 500px;
        margin: auto;
    }
}

.site-footer .site-footer__corp-link {
    @media screen and (max-width: 768px) {
        margin-bottom: 10px;
    }
}

.section-toc a {
    gap: 8px;
}

.section-toc ul {
    gap: 0px 40px;

    @media screen and (max-width: 768px) {
        gap: 0px 24px;
    }
}

.p-page-title {
    @media screen and (max-width: 768px) {
        min-height: auto;
        padding: 40px 16px 50px;
    }
}

.about-future-image {
    @media screen and (max-width: 1020px) {
        border-radius: 8px !important;
    }
}

.policy .value-item__body {
    @media screen and (max-width: 1020px) {
        padding: 32px 40px;
    }
}

@media (max-width: 768px) {
    .policy .value-item__body {
        padding: 20px;
    }
}

.director-voice-herb--2 {
    @media screen and (max-width: 576px) {
        bottom: -860px;
    }

    @media screen and (max-width: 420px) {
        bottom: -900px;
    }

    @media screen and (max-width:  350px) {
        bottom: -950px;
    }
}

.director-history-footer__photo {
    @media screen and (max-width:  576px) {
        width: 90px;
        height: 90px;
    }
}

.director-history-footer__bubble {
    @media screen and (max-width:  576px) {
        padding: 20px 20px;
    }
}

/* faq99：Tb・SPはセレクター、PCは左ナビ */
.faq99-menu-select-wrap {
    display: none;
}

.faq99-menu-select__label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--c-olive);
}

.faq99-menu-select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--c-text);
    background-color: var(--c-white);
    border: 2px solid var(--c-green);
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2373CD58' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .page-layout .faq99-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding-top: 40px !important;
    }

    .page-layout .faq99-layout .faq99-menu {
        position: sticky !important;
        top: 120px !important;
        z-index: 20;
        margin-bottom: 8px !important;
        padding-bottom: 12px;
    }

    .faq99-menu-select-wrap {
        display: block;
    }

    .page-layout .faq99-layout #faq_tob {
        display: none !important;
    }

    .faq99-block h2 {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 768px) {
    .page-layout .faq99-layout {
        padding: 32px 0 0 0 !important;
    }

    .page-layout .faq99-layout .faq99-menu {
        top: 80px !important;
    }

    .page-layout .sitsumon-layout .faq99-menu {
        position: sticky !important;
        top: 64px !important;
    }
}

@media (max-width: 1024px) {
    .page-layout .sitsumon-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .page-layout .sitsumon-layout .faq99-menu {
        position: sticky !important;
        top: 100px !important;
        z-index: 20;
        margin-bottom: 8px !important;
        padding-bottom: 12px;
    }

    .page-layout .sitsumon-layout #faq_tob {
        display: none !important;
    }
}

.p-interview-list__grid {
    grid-template-columns: repeat(2, 1fr);
}

.dh-stepup__photo {
    @media screen and (max-width:  1024px) {
        right: -30px !important;
    }
}

.hygienist .dh-stepup {
    @media screen and (max-width:  1024px) {
        overflow: visible !important;
    }

}



.common-herb-01 {
    @media screen and (max-width:  576px) {
        top: -4%;
    }
}

@media screen and (max-width:  576px) {
    .hygienist .dh-works__bubble, .assistant .da-works__bubble, .assistant .da-stepup__bubble {
        column-gap: 10px;
    }

    .dh-stepup__block {
        padding: 24px 16px !important;
    }

    .hygienist .dh-works__bubble-icon, .assistant .da-works__bubble-icon, .assistant .da-stepup__bubble-icon {
        width: 80px;
        height: 80px;
    }
}

/* 404ページ */
.error404 .main-wrapper {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.error404 .entry-header {
    height: clamp(16rem, 4.464rem + 27.38vw, 25rem);
    background:url(https://works83.9design.jp/maramadc-test/wp-content/uploads/2026/06/header_404-scaled.jpg) center / cover no-repeat;
}

.error404 .entry-heading {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: center;
}

.error404 .entry-page-slug {
    margin: 0 0 8px;
    font-size: clamp(1rem, 0.897rem + 0.32vw, 1.2rem);
    font-weight: 700;
    color: var(--c-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.error404 .entry-title {
    margin: 0;
    font-family: var(--ff-heading);
    font-size: clamp(1.5rem, 0.857rem + 2.86vw, 3rem);
    font-weight: 400;
    color: var(--c-olive);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 13px #fff;
}

.error404 .back-cream{
	background: var(--c-bg-cream);
	box-shadow: 0 0 0 100vmax var(--c-bg-cream);
	clip-path: inset(0 -100vmax);
	padding: clamp(4.5rem, 2rem + 4vw, 7.5rem) 32px;
}

.error404 .notfound-ttl-text {
    margin: 0 0 2.5rem;
    font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.6rem);
    line-height: 1.8;
    color: var(--c-text);
    text-align: center;
}

.error404 .p-404-nav {
    display: flex;
    gap: 40px 32px;
}

.error404 .p-404-nav > .notfound-page-list {
    flex: 1;
    min-width: 0;
}

.error404 .notfound-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.error404 .notfound-list li {
    line-height: 2.5em;
}

.error404 .notfound-list a {
    color: var(--c-text-sub);
    text-decoration: none;
    transition: opacity 0.2s;
}

.error404 .notfound-list a:hover {
    opacity: 0.7;
}

.error404 .notfound-page-list > li > a:first-child {
    font-family: var(--ff-heading);
    font-size: 2.4rem;
    color: var(--c-text);
}

.error404 .notfound-page-list > li {
    margin: 2.5em 0;
}

.error404 .menu-list {
    margin: 0;
    padding: 0 0 0 0.5em;
    list-style: none;
}

.error404 .p-404-section-title {
    margin: 3rem 0 0.5rem;
}

.error404 .p-404-section-title__label {
    display: inline-block;
    background: var(--c-green);
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: 4px;
}

@media (max-width: 824px) {
    .error404 .entry-header {
        margin-top: 24px;
        height: clamp(12rem, 30vw, 18rem);
    }

    .error404 .p-404-nav {
        flex-direction: column;
        gap: 0;
    }

    .error404 .back-yellow {
        margin-top: 24px;
        padding: 4.5rem 24px;
    }
}

/* ボタン矢印（header-btn-arrow.svg） */
.c-btn__arrow {
    border: none !important;
    background: url(../assets/images/header-btn-arrow.svg) center / contain no-repeat !important;
}

.c-btn__arrow::before,
.c-btn__arrow::after {
    display: none !important;
}

.site-header .c-btn--header .c-btn__arrow {
    width: 20px !important;
    height: 20px !important;
}

.footer-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: 450px;
    margin: auto;
}

.top-hero .top-hero__images {
    flex-basis: 52% !important;
}

.top-doctor .top-doctor__herb {
    @media screen and (max-width:  768px) {
        width: 120px !important;
        z-index: 5;
    }

}

.site-header__burger {
    width: 24px !important;
}

.header_nav_inner {
    @media screen and (max-width:  1024px) {
        max-height: calc(100vh - 128px);
        overflow-y: auto;
    }

    @media screen and (max-width:  768px) {
        max-height: calc(100vh - 102px);
    }
}

/* ===========================================
   おすすめページ（around-link / recommend）統一
   =========================================== */
.around-link-head__cat,
.recommend-cat {
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    color: var(--c-green) !important;
    font-family: var(--ff-jp) !important;
}

.around-link-head__title,
.recommend-title {
    font-size: 3.6rem !important;
    font-weight: 400 !important;
    font-family: var(--ff-heading) !important;
    color: var(--c-olive) !important;
    letter-spacing: 0.0375em !important;
    line-height: 1.4 !important;
}

.around-link-wrap .btn a,
.recommend-card {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    font-family: var(--ff-jp) !important;
    color: var(--c-olive) !important;
    letter-spacing: 0.03em !important;
    line-height: 1.5 !important;
}

.around-link-wrap .btn a {
    padding: 24px 64px 24px 32px !important;
}

.around-link-wrap .btn a::before,
.recommend-card__label {
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    font-family: var(--ff-heading) !important;
    color: var(--c-text-en) !important;
    letter-spacing: 0.08em !important;
}

.recommend-card__title {
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
}

/* リンク矢印（.about-future-link span と同じ 24px 丸 + →） */
.around-link-wrap .btn a .fa-angle-right,
.recommend-card__arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 50% !important;
    right: 24px !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: var(--c-green) !important;
    color: var(--c-white) !important;
    font-size: 1.2rem !important;
    font-style: normal !important;
    line-height: 1 !important;
    transition: transform 0.2s !important;
    overflow: hidden !important;
}

/* add_03 の横線＋矢印疑似要素を無効化 */
.around-link-wrap .btn a .fa-angle-right::before,
.around-link-wrap .btn a .fa-angle-right::after {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.around-link-wrap .btn a .fa-angle-right::after {
    display: none !important;
    content: none !important;
}

.around-link-wrap .btn a .fa-angle-right::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    content: '→' !important;
    font-family: inherit !important;
    font-weight: normal !important;
    font-size: 1.2rem !important;
    color: var(--c-white) !important;
    line-height: 1 !important;
}

.recommend-card__arrow::before,
.recommend-card__arrow::after {
    display: none !important;
    content: none !important;
}

.around-link-wrap .btn a:hover .fa-angle-right,
.recommend-card:hover .recommend-card__arrow {
    transform: translateY(-50%) translateX(2px) !important;
}

/* recommend ショートコード：around-link と同じカード見た目 */
.recommend-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.recommend-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.recommend-title {
    margin: 0 0 36px;
}

.recommend-cat {
    display: block;
    margin: 0 0 12px;
}

.recommend-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.recommend-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 0 0 420px;
    max-width: 420px;
    width: 100%;
    padding: 24px 64px 24px 32px;
    background: var(--c-white);
    border: 2px solid #efebe1;
    border-radius: 12px;
    text-decoration: none;
    min-height: 96px;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}

.recommend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    opacity: 1;
}

.recommend-card__label {
    display: block;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .around-link-head__title,
    .recommend-title {
        font-size: 2.6rem !important;
    }

    .around-link-wrap .btn a,
    .recommend-card {
        font-size: 1.4rem !important;
        min-height: 80px !important;
        padding: 15px 56px 15px 20px !important;
    }

    .around-link-wrap .btn a::before,
    .recommend-card__label {
        font-size: 1.2rem !important;
    }

    .around-link-wrap .btn a .fa-angle-right,
    .recommend-card__arrow {
        right: 16px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 1.2rem !important;
    }

    .recommend-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/*260817 募集可否タグ*/
.recruit-cat__item {
	position: relative;
}
.recruit-cat__wrapper {
	padding-top: 12px;
}
.recruit-cat__status {
	position: absolute;
	top: -10px;
	left:0;
	z-index: 1;
	display: inline-block;
	padding: 0.15em 0.55em;
	font-size: 0.7em;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	border-radius: 999px;
	white-space: nowrap;
	pointer-events: none;
}
.recruit-cat__status--open {
	color: #1a6b3c;
	background: #e6f5ec;
}
.recruit-cat__status--closed {
	color: #6b6b6b;
	background: #eeeeee;
}
.recruit-cat__card--closed {
	background: #e8e8e8 !important;
	color: #8a8a8a !important;
	opacity: 0.85;
}
.recruit-cat__card--closed .recruit-cat__arrow {
	opacity: 0.4;
}
@media (max-width: 768px) {
	.recruit-cat__wrapper {
		overflow: visible !important;
		overflow-x: visible !important;
		max-width: 100%;
		padding-top: 14px;
	}
	.recruit-cat__list {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 20px !important;
		width: 100% !important;
	}
	.recruit-cat__item {
		width: 100% !important;
		flex-shrink: 1 !important;
	}
	.recruit-cat__card {
		width: 100% !important;
		box-sizing: border-box;
	}
}