#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;
    }
}









/* =======================================
   サービスカード用 CSS スタイル
================================== */
.service-card-section {
    padding: 60px 20px;
}
.service-card-container {
    max-width: 1100px;
    margin: 0 auto;
    border: 2px solid #f29399;
    border-radius: 16px;
    padding: 40px 20px;
    background-color: #fff;
    box-sizing: border-box;
}
.service-card__header {
    text-align: center;
    margin-bottom: 30px;
}
.service-card__main-title {
    display: inline-block;
    border: 2px solid #0099ff;
    color: #f29399;
    font-size: 24px;
    font-weight: bold;
    padding: 6px 24px;
    margin-bottom: 15px;
}
.service-card__sub-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.service-card__desc {
    font-size: 14px;
    color: #666;
}
.service-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
@media screen and (max-width: 768px) {
    .service-card__grid {
        grid-template-columns: 1fr;
    }
}
.service-card__item {
    border: 2px solid #f29399;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* タイトル基本設定 */
.service-card__title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #f29399;
    padding: 15px 10px 10px;
    line-height: 1.3;
}

/* 2行になるタイトル用の縮小設定（17px） */
.service-card__title--small {
    font-size: 17px;
}

/* 画像エリアと画像の中央配置指定 */
.service-card__img {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center; /* 画像を中央に寄せる */
}
.service-card__img img {
    width: 80%; /* 幅を80%に指定 */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto; /* 中央配置 */
}

/* 対象者エリア全体（ピンク背景） */
.service-card__target-box {
    background-color: #f29399;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 15px;
}
.service-card__target-label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* 1行目：対象者のテキスト（黒文字） */
.service-card__target-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 4px 0;
    color: #333333; /* 黒文字 */
    white-space: pre-wrap;
    font-weight: bold;
}

/* 2行目：対象者の年齢（白文字） */
.service-card__target-age {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #ffffff; /* 白文字 */
    font-weight: bold;
}

.service-card__point-box {
    padding: 20px;
    flex-grow: 1;
}
.service-card__point-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-card__point-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}
.service-card__point-list li::before {
    content: "●";
    color: #f29399;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
}
.service-card__btn-wrap {
    padding: 0 20px 20px;
    text-align: center;
}
.service-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f29399;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    gap: 8px;
}
.service-card__btn::before {
    content: "▶";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #f29399;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}