#youtube, 
.l-service-youtube, 
[id*="youtube"], 
[class*="youtube"] {
    display: none !important;
}

/* 2. 採用情報の「中身」だけを見えなくする（安全策） */
.service-linkbox__item a[href*="recruit"],
.service-linkbox__item a[href*="recruit"] + *,
.service-linkbox__item h2:contains("採用情報") {
    display: none !important;
}

/* 3. 採用情報の「枠」を、順番（2番目）で指定して消す */
/* これならブラウザが意味を誤解して隣を消すことはありません */
.service-linkbox__item:nth-of-type(2) {
    display: none !important;
}

/* 4. 残った1番目の枠（事業所一覧）を中央に寄せる */
.service-linkbox {
    display: block !important;
    text-align: center !important;
}
/*枠線ごと非表示*/
.service-linkbox__item:nth-of-type(1) {
    display: none !important;
    float: none !important;
    margin: 0 auto !important;
}

.c-postTimes {
	display:none;
}




/* スタッフ紹介ページ */
.staff-item__term {
	margin-right:15px;	
}

ul.staff__category li:nth-child(3) {
   margin-right: 66%;
} 
@media (max-width: 767px) {
ul.staff__category li:nth-child(3) {
   margin-right: 0 !important;
}
}

/* サービス一覧ページ */
.service__mv-img {
    display: block;
    width: 100%;
}
.service__mv-img img{
	width: 100%;
	border-radius: 14px;
}
.service__heading {
    text-align: center;
    /*margin-top: 3.75rem;*/
}
@media (max-width: 767px) {
    .service__heading {
        /*margin-top: 1.875rem;*/
    }
}
  
/* サービス重度訪問介護ページ　「事例のすべてを見る」の矢印アイコンから文字までリンク設置になるように修正*/
.service-case__link {
    margin-top: 2.75rem;
    display: flex;
}
.service-case__link::before{
	display:none!important;
}
.service-case__link a {
    font-size: 1.125rem;
    font-weight: bold;
    color: #333333;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-top: 1.25rem;
}
.service-case__link a::before {
    display: block;
    content: "";
    width: 3.25rem;
    height: 3.25rem;
    background-image: url(/wp-content/uploads/2024/03/arrow.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    margin-right: 1rem;
}

/* サービス重度訪問介護ページ　「重度訪問介護のスタッフ一覧を見る」リンクに、「事例のすべてを見る」と同様のhover設置*/
@media (min-width: 769px) {
    .service-staff__link:hover {
        opacity: 0.7;
        transition: 0.3s;
    }
}


/* サービスページ　訪問看護　Partner Ship　追加*/
.service-features .service-features__item .flex-box_hospital{display: flex;flex-direction: row;flex-wrap: wrap;}
.service-features .service-features__item .flex-box_hospital img{width:80%;}
.service-features .service-features__item .flex-box_hospital a{
padding-right: 0;position: static;    display: inline-block;width:33%;}
.service-features .service-features__item .flex-box_hospital a::after {display:none;}
.service-features .service-features__item .flex-box_hospital a:hover{opacity: 0.5;}

@media (max-width: 769px) {
.service-features .service-features__item .flex-box_hospital img{width:80%;}
.service-features .service-features__item .flex-box_hospital a{
padding-right: 0;position: static;    display: inline-block;width:50%;}	
}



/* トップページ　LPへのボタン設置*/
.lp_link{
	display:flex;
	align-items: center;
	justify-content: center;
}
.lp_link .link_btn {
	font-size: 1.125rem;
	font-weight: bold;
  color: #F19899;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 0 0.9375rem -0.3125rem #777777;
  margin:5rem 2rem 3rem 2rem;
}
.lp_link .link_btn::before {
	display: block;
	content: "";
	width: 2.25rem;
	height: 2.25rem;
	background-image: url(/wp-content/uploads/2024/03/arrow.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center;
	margin-right: 1rem;
}
.lp_link .link_btn:hover {
  opacity: 0.7;
  transition: 0.3s;
}
@media (max-width: 769px) {
.lp_link{
	display: block;
}
.lp_link .link_btn{
  margin: 2rem 0;
	padding: 1rem;
}
}

/*募集要項内の項目用追加*/
.recruit__item ul {
	margin: 0;
	padding: 0 0 0 1.5em;
	line-height: 0;
}
.recruit__item ul li{
	line-height: 1.5;
	margin-bottom: 0.2em;
}

/*事業所一覧にGoogleマップのリンクを追加*/
.zip-gmap {
	display: flex;
	align-items: center;
}
.gmap-link a {
    background-color: #F19899;
    padding: 2px 10px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none !important;
    font-size: 0.75em;
    font-weight: bold;
	margin-left: 1em;
	border: 2px solid #F19899;
}
.gmap-link a:hover {
        background-color: #fff;
        color: #F19899;
        transition: 0.3s;
    }

/*footer調整*/
.l-footer__wrap {
    padding-top: 2.875rem;
}
.l-footer__inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 2em;
}
.l-footer__nav {
	row-gap: 2em;
}
.l-footer__wrap .l-footer__foot {
    padding-top: 0;
    max-width: 65%;
}
.l-footer__logo {
  width: 30%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	gap: 2em;
}
.l-footer__logo img {
    max-width: 144px;
}
.l-footer__sns {
    margin: 0;
}
.l-footer__sns img {
	max-width: 25px;
}
.l-footer__txt p{
	font-size: 0.85em;
	text-align: justify;
	line-height: 1.8;
}
.l-footer__bottom {
    margin-top: 3.9375rem;
}
.btn-corporate {
    border: 1px solid #333;
    padding: 0.8rem;
    background: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    width: 100%;
    font-weight: 600;
    color: #333;
}

/*top修正*/
.page-template-top .l-header:not(.top-scroll) .c-headLogo {
    background-image: url(https://care.eustylelab.co.jp/wp-content/uploads/2025/05/logo_w-min.png);
}
.top-about p {
	font-size: 1rem;
  line-height: 1.8;
}
.service-logo img {
    max-width: 300px;
}
.service-logo {
		background-color: #ffffffad;
    padding: 0.8em 1em;
    border-radius: 6px;
    max-width: 320px;
    display: flex;
    justify-content: center;
		margin-bottom: 1em;
}

@media (max-width: 767px) {
	.l-footer__wrap .l-footer__foot {
			max-width: 100%;
	}
	.l-footer__logo {
		width: 100%;
	}
	.service-logo {
    max-width: 140px;
		border-radius: 4px;
		padding: 0.5em 0.8em;
}
	.service-logo img {
    max-width: 120px;
}
	.top-about p {
		text-align: justify;
		font-size: 1rem;
	}

	.l-footer__wrap {
		justify-content: center;
		padding-top: 0;
		flex-direction: column;
		align-items: center;
	}
}

/*私達についてページ*/
.about__top {
	margin: 3em auto;
}
.about__toptext {
	text-align:justify;
	font-size: 1.1rem;
	line-height: 1.8;
}
.about-table {
	background: #fff;
	margin: 1.5625rem auto 3em;
}
.about-table th {
	width: 15%;
	text-align: center;
	vertical-align: middle;
}
.pc-only {
	display: block;
}
.sp-only {
	display: none;
}
.about__video{
	padding-top:3em;
}
.about__video-lead{
	padding:1.5em 0;
}
.video_wrapper{
	aspect-ratio: 16 / 9;
  width: 100%;
}
.video_wrapper iframe{
	width: 100%;
  height: 100%;
}
@media (max-width: 769px) {
	.about__top {
		margin: 3em auto 2em;
	}
	.about__toptext {
		font-size: 1rem;
		line-height: 1.8;
		padding: 0 2em;
}
.pc-only {
	display: none;
}
.sp-only {
	display: block;
}
}
@media (min-width: 770px) {
	.about__toptext {
		width:40em;
		max-width:100%;
		margin:0 auto;
	}
}
@media (min-width: 1000px) {
	.about__video-lead {
		text-align:center;
	}
}

/*ページネーション*/
.archive .page-numbers, .archive .post-page-numbers {
	color: #333;
}

/*重度訪問ページ下にLINEQRコード追加*/
.line-qr_area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding: 1em 2em 0;
}
.line-qr_area img {
    max-width: 100px;
}
.line-qr_area p {
    text-align: left;
}

/*トップメインを動画に変更*/
.top-mv_movie iframe {
	height: 100vh;
}
@media (max-width: 767px) {
    .top-mv_movie iframe {
        height: 56vh;
    }
}

/*margin調整*/
.service-features {
	margin-bottom: 5em;
}



































/* --------------------------------------------------
 *  フッター レスポンシブ＆表示補正（全端末共通・切り替え）
 * -------------------------------------------------- */

/* ▼ 全画面サイズ共通（PC・SP問わず適用） ▼ */
.l-footer__nav .menu-item-has-children {
    max-width: 100% !important;
}

/* 850px以下（SP表示：縦1列・中央揃え・メニュー表示補正） */
@media (max-width: 850px) {
    .l-footer__wrap {
        display: flex !important;
        flex-wrap: wrap !important; /* 横幅100%を超えたら自然に折り返し（改行） */
        justify-content: center !important;
        padding-top: 0 !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* 上下に並んだ際、ナビを上・ロゴを下に配置（order制御） */
    .l-footer__wrap .l-footer__foot {
        order: 1 !important;
        padding-top: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .l-footer__logo {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-direction: column !important;
        gap: 2em !important;
    }

    /* フッターナビおよび配下要素の強制表示 */
    .l-footer__nav,
    .l-footer__nav *,
    ul.l-footer__nav {
        display: block !important;
    }

    ul.l-footer__nav {
        padding: 3rem 0rem 1rem 0rem !important;
    }

    .l-footer__widgets {
        padding: 0rem 0 !important;
    }
<!--
    .l-container {
        text-align: center !important;
    }
-->
    .l-footer__nav .menu-item-has-children {
        font-weight: bold !important;
        padding: 1rem 0rem 1rem 0rem !important;
        margin-right: 0 !important;
    }

    /* ▼ 最下部エリア（ボトムナビ・コピーライト）の中央揃え対応 ▼ */
    .l-footer__bottom {
        margin-top: 2rem !important;
        text-align: center !important;
    }

    /* ボトムナビ全体の中央寄せ */
    .l-footer__bottom-nav {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 2em 2em !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* ボトムナビ内の各メニュー項目・リンク文字を中央寄せ */
    .l-footer__bottom-nav li,
    .l-footer__bottom-nav a {
        text-align: center !important;
        display: inline-block !important;
        margin: 0 !important;
    }

    /* コピーライト表示を中央寄せ */
    .l-footer__bottom .c-copyright {
        font-size: 0.9375rem !important;
        text-align: center !important;
        margin-top: 1.5rem !important;
        font-weight: bold !important;
        padding-bottom: 1rem !important;
    }
}

/* 851px以上のPC/タブレット表示 */
@media (min-width: 851px) {
    .l-footer__widgets {
        padding: 1rem 0;
    }

    /* 全体をFlexコンテナにし、隙間に合わせて折り返させる */
    .l-footer__nav {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2rem 1.5rem !important;
    }

    /* 各ブロックが最小180px〜で伸縮し、入らない分だけ自然に下段（2段・3段）へ落ちる */
    .l-footer__nav > li {
        flex: 1 1 180px !important;
        width: auto !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* .l-footer__txt の幅を .l-footer__foot に合わせて100%指定 */
    .l-footer__foot .l-footer__txt {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ▼ 851px以上での .l-footer__bottom 中央寄せ指定 ▼ */
    .l-footer__bottom {
        width: 100% !important;
        text-align: center !important;
        margin: 2rem auto 0 auto !important;
        padding-bottom: 2rem !important;
    }

    .l-footer__bottom-nav {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 1em 2em !important; /* PC時もゆったり余白 */
        padding: 0 !important;
        width: 100% !important;
    }

    .l-footer__bottom .c-copyright {
        text-align: center !important;
        margin-top: 1rem !important;
    }
}









/* =======================================
    サービスカード 共通スタイル（rem指定）
================================== */
.service-card-section {
    padding: 2rem 1.25rem;
}
.service-card-container {
    max-width: 1100px;
    margin: 0 auto;
    border-width: 2px;
    border-style: solid;
    border-radius: 1rem;
    padding: 3.5rem 2.5rem 3rem 2.5rem;
    background-color: #fff;
    box-sizing: border-box;
}
.service-card__header {
    text-align: center;
    margin-bottom: 1rem;
}
.service-card__main-title {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.375rem 2rem;
    margin-bottom: 0.9375rem;
}
.service-card__sub-title {
    font-size: 1.35rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 0.5rem;
}
.service-card__desc {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}
.service-card__note {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    margin-top: 0.3rem;
}
.service-card__note p {
    margin: 0;
}
.service-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.7rem;
    margin-top: 0.4rem;
}
.service-card__item {
    border-width: 2px;
    border-style: solid;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.25rem 0.625rem rgba(0,0,0,0.05);
}

/* 通常の1行タイトル */
.service-card__title {
    font-size: 1.6rem;
    text-align: center;
    font-weight: bold;
    padding: 1rem 1.5rem 0rem 1.5rem;
    line-height: 1.3;
}

/* 改行入りタイトルの個別指定（1行目:1.2rem / 2行目:1rem） */
.service-card__title--multiline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.95;
}
.service-card__title-line1 {
    font-size: 1.2rem;
    font-weight: bold;
}
.service-card__title-line2 {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

.service-card__img {
    width: 100%;
    padding: 0 1.25rem;
    box-sizing: border-box;
    text-align: center;
}
.service-card__img img {
    width: 70%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}
.service-card__point-box {
    padding: 1.25rem 1.2rem 0.5rem 1.2rem;
    flex-grow: 1;
}

/* リストスタイル（ドットの調整） */
.service-card__point-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-card__point-list li {
    text-align: start;
    position: relative;
    padding-left: 1.3rem;
    padding-bottom: 0.2rem;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 0.625rem;
}
.service-card__point-list li:last-child {
    padding-bottom: 0rem;
}
.service-card__point-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0.6rem;
    font-size: 1.2rem;
    line-height: 1;
}

.service-card__btn-wrap {
    padding: 0 1.25rem 1.25rem;
    text-align: center;
}
.service-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
    gap: 0.5rem;
}
.service-card__btn::before {
    content: "▶";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ---------------------------------------
    1. 障害福祉（ピンクカラー）
---------------------------------- */
.service-card-section--pink .service-card-container,
.service-card-section--pink .service-card__item {
    border-color: #F19899;
}
.service-card-section--pink .service-card__title,
.service-card-section--pink .service-card__btn,
.service-card-section--pink .service-card__note {
    color: #F19899;
}
.service-card-section--pink .service-card__main-title {
    color: #F19899;
    border: none;
    border-top: 2px solid #F19899;
    border-bottom: 2px solid #F19899;
    padding: 0.5rem 3rem;
}
.service-card-section--pink .service-card__point-list li::before {
    color: #F19899;
}
.service-card-section--pink .service-card__btn::before {
    background-color: #F19899;
}
.service-card-section--pink .service-card__target-box {
    background-color: #F19899;
    color: #fff;
    text-align: center;
    padding: 0.5rem 1.1rem 0.5rem 1.1rem;
    margin-top: 1.5rem;
}
.service-card-section--pink .service-card__target-label {
    font-size: 1.45rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.service-card-section--pink .service-card__target-text {
    border-bottom: 4px dotted #ffffff;
    padding-bottom: 0.25rem;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 0 0.25rem 0;
    color: #333333;
    white-space: pre-wrap;
    font-weight: 550;
    text-align: left;
}
.service-card-section--pink .service-card__target-age {
    font-size: 1.08rem;
    line-height: 1.5;
    margin: 0;
    color: #333333;
    font-weight: 600;
    text-align: left;
}

/* ---------------------------------------
    2. 介護保険（オレンジカラー）
---------------------------------- */
.service-card-section--orange .service-card-container,
.service-card-section--orange .service-card__item {
    border-color: #F09C72;
}
.service-card-section--orange .service-card__title,
.service-card-section--orange .service-card__btn,
.service-card-section--orange .service-card__note {
    color: #DB7D33;
}
.service-card-section--orange .service-card__main-title {
    color: #DB7D33;
    border-top: 2px solid #F09C72;
    border-bottom: 2px solid #F09C72;
    padding: 0.5rem 3rem;
}
.service-card-section--orange .service-card__point-list li::before {
    color: #F09C72;
}
.service-card-section--orange .service-card__btn::before {
    background-color: #DB7D33;
}

/* ---------------------------------------
    3. 医療保険（ブルーカラー＆1カラム横長）
---------------------------------- */
.service-card-section--blue .service-card-container,
.service-card-section--blue .service-card__item {
    border-color: #6091BF;
}
.service-card-section--blue .service-card__title,
.service-card-section--blue .service-card__btn,
.service-card-section--blue .service-card__note {
    color: #4C7BA8;
}
.service-card-section--blue .service-card__main-title {
    color: #4C7BA8;
    border-top: 2px solid #6091BF;
    border-bottom: 2px solid #6091BF;
    padding: 0.5rem 3rem;
}
.service-card-section--blue .service-card__point-list li::before {
    color: #6091BF;
}
.service-card-section--blue .service-card__btn::before {
    background-color: #4C7BA8;
}

/* 1カラム（横長）レイアウトスタイル */
.service-card__grid--single {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.service-card__item--horizontal .service-card__body {
    display: flex;
    align-items: center;
    padding: 0.3rem 1.25rem 1.25rem 1.25rem;
}
.service-card__item--horizontal .service-card__img {
    width: 40%;
    padding: 0;
}
.service-card__item--horizontal .service-card__content {
    width: 60%;
    padding-left: 0rem;
}
.service-card__item--horizontal .service-card__point-box {
    padding: 1.25rem 0rem;
}
.service-card__item--horizontal .service-card__btn-wrap {
    padding: 1rem 0 0 0;
    text-align: left;
}

/* ---------------------------------------
    レスポンシブ（メディアクエリ）設定
---------------------------------- */
@media screen and (max-width: 1170px) and (min-width: 901px) {
    .service-card__title-line2 {
        font-size: 0.9rem;
        font-weight: bold;
        margin-top: 0.25rem;
    }
}

@media screen and (max-width: 1000px) and (min-width: 901px) {
    .service-card__grid {
        gap: 1.2rem;
    }
}

@media screen and (max-width: 900px) and (min-width: 701px) {
    .service-card__grid:not(.service-card__grid--single) {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card__img img {
        width: 65%;
        height: auto;
        object-fit: cover;
        border-radius: 0.5rem;
        display: block;
        margin: 0 auto;
    }
    .service-card-section--pink .service-card__target-box {
        background-color: #F19899;
        color: #fff;
        text-align: center;
        padding: 0.3rem 1.1rem 0.3rem 1.1rem;
        margin-top: 0.7rem;
    }
    .service-card__point-box {
        padding: 0.7rem 1.2rem 0.1rem 1.2rem;
        flex-grow: 1;
    }
    .service-card__btn-wrap {
        padding: 0 1.25rem 0.8rem;
        text-align: center;
    }
}

@media screen and (max-width: 700px) {
    .service-card-container {
        padding: 2rem 2rem 1.5rem 2rem;
    }
    .service-card__grid {
        grid-template-columns: 1fr;
    }
    .service-card__title {
        font-size: 1.6rem;
        text-align: center;
        font-weight: bold;
        padding: 1rem 1.5rem 1rem 1.5rem;
        line-height: 1.3;
    }
    .service-card__item--horizontal .service-card__body {
        flex-direction: column;
        padding: 0.3rem 0 0 0;
    }
    .service-card__item--horizontal .service-card__img,
    .service-card__item--horizontal .service-card__content {
        width: 100%;
        padding-left: 0;
    }
    .service-card__item--horizontal .service-card__point-box {
        padding: 1.25rem 1.2rem 0.5rem 1.2rem;
    }
    .service-card__btn-wrap {
        padding: 0 1.25rem 0.8rem;
        text-align: center;
    }
    .service-card__img img {
        width: 55%;
        height: auto;
        object-fit: cover;
        border-radius: 0.5rem;
        display: block;
        margin: 0 auto;
    }
    .service-card__note {
        font-size: 1.1rem;
        font-weight: bold;
        text-align: left;
        line-height: 1.6;
        margin-top: 2rem;
    }
    .service-card__point-box {
        padding: 0.5rem 1.2rem 0rem 1.2rem;
        flex-grow: 1;
    }

    /* 700px以下：ピンク（障害福祉）の対象者ボックス上書き指定 */
    .service-card-section--pink .service-card__target-box {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.8rem;
        background-color: #F19899;
        padding: 0.6rem 0.8rem;
        margin-top: 0.9rem;
        margin-bottom: 0.5rem;
        border-radius: 0rem;
        text-align: left;
    }
    .service-card-section--pink .service-card__target-label {
        background-color: #ffffff;
        color: #F19899;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 0.5rem 0.5rem;
        border-radius: 0.5rem;
        margin-bottom: 0;
        display: inline-block;
    }
    .service-card-section--pink .service-card__target-text {
        font-size: 1.2rem;
    }
    .service-card-section--pink .service-card__target-age {
        font-size: 1.1rem;
    }

    /* 700px以下：オレンジ・ブルーの対象者テキスト＆年齢フォントサイズ・余白上書き指定 */
    .service-card-section--orange .service-card__target-text, 
    .service-card-section--blue .service-card__target-text {
        font-size: 1.2rem;
    }
    .service-card-section--orange .service-card__target-age, 
    .service-card-section--blue .service-card__target-age {
        font-size: 1.1rem;
    }
    .service-card-section--orange .service-card__target-box, 
    .service-card-section--blue .service-card__target-box {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
        margin-bottom: 0.6rem;
    }
}

/* =======================================
    対象者ボックス（オレンジ・ブルー限定指定）
================================== */

/* 1. 白枠（左カラム）の共通＆個別文字色設定 */
.service-card-section--orange .service-card__target-box > *:first-child,
.service-card-section--blue .service-card__target-box > *:first-child {
    background-color: #ffffff;
    padding: 0.5rem 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

.service-card-section--orange .service-card__target-box > *:first-child {
    color: #DB7D33;
}

.service-card-section--blue .service-card__target-box > *:first-child {
    color: #4C7BA8;
}

.service-card__target-label {
    color: #333333;
}

/* 2. ボックス全体のレイアウト（2カラム設定） */
.service-card-section--orange .service-card__target-box,
.service-card-section--blue .service-card__target-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 1rem;
    border-radius: 0.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* 右側カラムのコンテンツコンテナ */
.service-card-section--orange .service-card__target-content,
.service-card-section--blue .service-card__target-content {
    display: flex;
    flex-direction: column;
}

/* 右側1行目：テキスト領域（基本スタイル） */
.service-card-section--orange .service-card__target-text,
.service-card-section--blue .service-card__target-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    font-weight: bold;
    color: #333333;
    text-align: left;
}

/* 2行目（年齢など）が存在する場合のみ、1行目の下に白点線を引く指定 */
.service-card-section--orange .service-card__target-text.has-border,
.service-card-section--blue .service-card__target-text.has-border {
    border-bottom: 4px dotted #ffffff;
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
}

/* 右側2行目：年齢等の条件 */
.service-card-section--orange .service-card__target-age,
.service-card-section--blue .service-card__target-age {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    color: #333333;
    font-weight: bold;
    text-align: left;
}

/* 3. 背景色の指定 */
.service-card-section--orange .service-card__target-box {
    background-color: #fcc3a6;
}

.service-card-section--blue .service-card__target-box {
    background-color: #a3c4e4;
}





/* =======================================
    サービス アンカーナビゲーション スタイル
================================== */
.service-nav-section {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

/* 上部リード文（淡いピンク背景） */
.service-nav__lead {
    background-color: #FDF0F0;
    color: #333333;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    padding: 0.8rem 1rem;
    margin: 0 0 1.5rem 0;
    border-radius: 0.2rem;
}

/* 3カラムグリッド */
.service-nav__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* カード共通スタイル */
.service-nav__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-nav__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* カードヘッダー（アイコン＋タイトル） */
.service-nav__card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
}

/* アイコン画像指定（共通） */
.service-nav__icon {
    display: inline-block;
    width: 2.2rem;
    height: 2.2rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 各色のアイコン画像切り替え */
.service-nav__card--pink .service-nav__icon {
    background-image: url("https://care.eustylelab.co.jp/wp-content/uploads/2026/08/service.png");
}
.service-nav__card--orange .service-nav__icon {
    background-image: url("https://care.eustylelab.co.jp/wp-content/uploads/2026/08/care.png");
}
.service-nav__card--blue .service-nav__icon {
    background-image: url("https://care.eustylelab.co.jp/wp-content/uploads/2026/08/medical.png");
}

.service-nav__title {
    font-size: 1.6rem;
    font-weight: bold;
}

/* カード本文（キャッチコピー＋詳細） */
.service-nav__card-body {
    padding: 1.2rem 1rem 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.service-nav__catch {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 1rem 0;
}
.service-nav__desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* カードフッター（CLICK矢印付きリボン風） */
.service-nav__card-footer {
    text-align: center;
    padding: 0.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 50% 100%); /* 下矢印型にする切り抜き指定 */
    margin-bottom: -1rem;
    padding-bottom: 0.8rem;
}

/* ---------------------------------------
    カラー別個別スタイル
---------------------------------- */
/* 1. 障害福祉（ピンク） */
.service-nav__card--pink {
    border-color: #F19899;
}
.service-nav__card--pink .service-nav__card-header {
    background-color: #FDF0F0;
}
.service-nav__card--pink .service-nav__catch {
    color: #F19899;
}
.service-nav__card--pink .service-nav__card-footer {
    background-color: #F19899;
}

/* 2. 介護保険（オレンジ） */
.service-nav__card--orange {
    border-color: #F09C72;
}
.service-nav__card--orange .service-nav__card-header {
    background-color: #FFF5EE;
}
.service-nav__card--orange .service-nav__catch {
    color: #DB7D33;
}
.service-nav__card--orange .service-nav__card-footer {
    background-color: #F09C72;
}

/* 3. 医療保険（ブルー） */
.service-nav__card--blue {
    border-color: #6091BF;
}
.service-nav__card--blue .service-nav__card-header {
    background-color: #F0F7FF;
}
.service-nav__card--blue .service-nav__catch {
    color: #4C7BA8;
}
.service-nav__card--blue .service-nav__card-footer {
    background-color: #6091BF;
}

/* ---------------------------------------
    スマホレスポンシブ（700px以下）
---------------------------------- */
@media screen and (max-width: 700px) {
    .service-nav__grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .service-nav__lead {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }
    .service-nav__icon {
        width: 1.8rem;
        height: 1.8rem;
    }
    .service-nav__title {
        font-size: 1.3rem;
    }
    .service-nav__catch {
        font-size: 1.1rem;
    }
    .service-nav__desc {
        font-size: 0.9rem;
    }
}