/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/*ハンバーガーメニューを非表示に*/
body .vk-mobile-nav-menu-btn {
 display: none;
}

/* 固定ページの上余白なし */
body.page .site-body {
    padding-top: 0;
}

/*サブテキスト*/
.subtext{
	font-size: 17px;
	letter-spacing: .2em;
	font-family: 'Mansalva', cursive;
}

/*見出しタイトルのフォント*/
.midashi-title{
	letter-spacing: .1em;
	font-family: 'Noto Sans Japanese', "メイリオ", Meiryo, sans-serif;
}

/*写真とテキストを逆に*/
@media screen and (max-width: 600px) {
 .reverse {
   flex-direction: column-reverse!important;
 }
}

/*メニュータブをレスポンシブ時縦にしない*/
.wp-container-core-buttons-is-layout-1 {
    flex-wrap: wrap!important;
}

/*レスポンシブ時スマホ非表示*/
@media(max-width:750px){
    .no_sp{
        display: none !important;
    }
}

/*ぱんくずリスト*/
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}
.breadcrumbs li:not(:last-of-type)::after {
  content: "›";
  margin: 0 .6em; /* 記号の左右の余白 */
  color: #777; /* 記号の色 */
}
.breadcrumbs li>a {
    color: #212529;
}

/*ヘッダー*/
.header {
	position: fixed;
	width: 100%;
	z-index: 101;
}
.changeNav {
	background: rgba(255,255,255,0.9);
    box-shadow: 1px 1px 10px rgba(154, 153, 153, 0.1);
}

.header.changeNav {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 1px 1px 10px rgba(154, 153, 153, 0.1);
}


.header:after {
	content: ""; 
	display: block;
	clear: both;
}
.header h1 {
	float: left;
	height: 90px;
	font-size: 25px;
	line-height: 70px;
	letter-spacing: 0.1em;
	padding-left: 20px;
}
@media screen and (max-width:768px) {
	.header h1 {
		height: 70px;
	}
	.header h1 img {
		width: 73%;
		vertical-align: middle;
	}
}

/* グローバルナビゲーション */

/* PC用 */
@media print, screen and (min-width:769px) {
	nav.gnav:after {
		content: '';
		display: block;
		clear: both;
	}
	nav.gnav {
		float: right;
	}

	/* 共通 */
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li {
		position:  relative;
		line-height: 50px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	nav.gnav ul li a {
		display: block;
		color: #fff;
		font-size: 15px;
		text-decoration: none;
		letter-spacing: 0.1em;
	}
	nav.gnav.text-black ul li a {
		color: #333;
	}
	nav.gnav ul li:hover > a {
		opacity: .7;
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	header.changeNav nav.gnav ul li a {
		color: #111;
	}

	/* 1段目 */
	nav.gnav > ul > li {
		position: relative;
		float: left;
		margin: 0;
		padding: 0 15px 0 10px;
		text-align: center;
		list-style: none;
		line-height: 90px;
	}
	nav.gnav > ul > li.subnav a {
		padding-right: 20px;
	}
	nav.gnav > ul > li.subnav > a:after {
		position: absolute;
		content: "";
		top: 50%;
		width: 0;
		height: 0;
		margin-top:  -2.5px;
		margin-left: 10px;
		border: 5px solid transparent;
		border-top-color: #fff;
	}

	/* 2段目 */
	nav.gnav ul li ul {
		position: absolute;
		z-index: 3;
		top: 100%;
		left: 0;
		width: 180px;
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li ul li {
		overflow: hidden;
		height: 0;
		color: #fff;
		transition: .2s;
	}
	nav.gnav ul li ul li a {
		padding: 0 15px;
		text-align: left;
		background: #4a342c;
		font-weight: normal;
	}
	nav.gnav ul li ul li a:hover {
		background: #291d18;
	}
	nav.gnav ul li:hover > ul > li {
		overflow: visible;
		height: 40px;
		line-height:  40px;
		border-bottom: 1px solid #555;
	}
	nav.gnav ul li:hover ul li:last-child {
		border-bottom: none;
	}
	nav.gnav > ul > li:last-child > ul {
		left: -60px;
	}
	nav.gnav ul li ul li ul:before {
		position: absolute;
		content: "";
		top: 17.5px;
		left: -20px;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-left-color: #fff;
	}
	nav.gnav > ul > li:last-child ul li ul:before {
		position: absolute;
		content: "";
		top: 17.5px;
		left: 200%;
		margin-left: -20px;
		border: 5px solid transparent;
		border-right-color: #fff;
	}

}

/* タブレット・スマートフォン用 */
@media screen and (max-width:768px) {
	nav.gnav {
		display:  none;
	}
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav > ul {
		z-index: 2;
		overflow: auto;
		position: fixed;
		top: 70px;
		right: 0;
		width: 100%;
		height: 88%;
		height: -webkit-calc(100% - 50px);
		height: calc(100% - 50px);
	}
	nav.gnav li {
		position: relative;
		width: 100%;
		float: none;
		margin: 0;
		text-align: left;
		list-style: none;
		border-bottom: 1px dotted #9ce4b3;
		background: #69bd83;
  }
  nav.gnav li::before {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: "\f0da";
    font-weight: 900;
    top: 15px;
    left: 20px;
    color: #fff;
  }
	nav.gnav li:first-child {
		border-top: 0;
	}
	nav.gnav li:last-child {
		border-bottom: 0;
	}
	nav.gnav li a {
		display: block;
		padding: 15px 35px;
		color: #fff;
		text-decoration: none;
		background: #69bd83;
	}
	nav.gnav li a:hover {
		color: #fff;
		/*background: #4a342c;*/
	}
	nav.gnav ul ul {
		display: none;
		position: relative;
	}
	nav.gnav li li a {
		box-sizing: border-box;
		width: 100%;
		padding: 10px 30px 10px 34px;
		text-align: left;
	}
	nav.gnav li li li a {
		padding: 10px 20px 10px 48px;
	}

	nav.gnav .subnav > a:before {
		display: block;
		content: "";
		position: absolute;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 20px;
		right: 20px;
		width: 10px;
		height: 10px;
		margin-top: -5px;
		background: #f1f1f1;
	}
	nav.gnav .subnav > a:after {
		display: block;
		content: "";
		position: absolute;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 20px;
		right: 20px;
		width: 10px;
		height: 10px;
		margin-top: -10px;
		background: #000;
	}
	nav.gnav .subnav a:hover:after {
		background: #222;
	}
	nav.gnav .subnav.active > a:before {
		margin-top: 0;
	}
	nav.gnav .subnav.active > a:after {
		margin-top: 5px;
	}

	.spMenuWrap {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		-webkit-transition:  all 1s;
		-moz-transition:  all 1s;
		-ms-transition:  all 1s;
		-o-transition:  all 1s;
		transition:  all 1s;
		background: transparent;
	}

	#spMenu {
		position: absolute;
		top: 10px;
		right: 10px;
	}

	#spMenu:hover {
		cursor: pointer;
	}

	#navBtn {
		display: inline-block;
		position: relative;
		width: 30px;
		height: 50px;
		border-radius: 5%;
	}
	#navBtnIcon {
		display: block;
		position: absolute;
		top: 50%;
		left: 0%;
		width: 25px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #69bd83;
		transition: .2s;
	}
	#navBtnIcon:before,
	#navBtnIcon:after {
		display: block;
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		width: 25px;
		height: 2px;
		background: #69bd83;
		transition: 0.3s;
	}
	#navBtnIcon:before {
		margin-top: -8px;
	}
	#navBtnIcon:after {
		margin-top: 6px;
	}
	#navBtn .close {
		background: transparent;
	}
	#navBtn .close:before,
	#navBtn .close:after {
		margin-top: 0;
	}
	#navBtn .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}
	#navBtn .close:after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}
}
/*=== #mainVis ==*/
#mainVis .mainVis--txt {
	width: 30%;
	position: relative;
	background: #fffeee;
}
#mainVis .mainVis--txt div {
	position: absolute;
    bottom: 10%;
    left: 0;
    width: 127%;
    z-index: 99;
    /*background-color: rgba(255, 255, 255,0.9);*/
    background-color: #f5b2b2;
    padding: 30px 50px;
    letter-spacing: 0.1em;
	color: #fff;
}
#mainVis .mainVis--txt h1 {
	font-size: 50px;
	font-family: 'Mansalva', cursive;
	letter-spacing: .1em;
}
#mainVis .mainVis--txt p {
	font-size: 16px;
    letter-spacing: .15em;
}
#mainVis .mainVis--image {
	width: 70%;
}
section  {
	padding-bottom: 5rem;
}
section.section {
	padding-top: 5rem;
}
@media screen and (max-width:767px) {
	section  {
		padding-bottom: 3rem;
	}
	section.section {
		padding-top: 3rem;
	}
}
/*=== 下層ページのタイトル ==*/
.mainVis {
	position: relative;
}
.mainVis_img {
	width: 70%;
    height: 400px;
}
.mainVis_ttl {
    width: 30%;
    background-color: #fffeee;
    position: relative;
}
.mainVis_ttl > div {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: #f4b2b2;
    box-sizing: content-box; /* 2025/05/20 追加 */
    width: 75%;
    text-align: right;
    padding: 20px 100px;
    font-size: 27px;
    color: #fff;
    letter-spacing: .2em;
    line-height: 1.6;
}
.mainVis_ttl > div span {
	font-size: 17px;
	font-family: 'Mansalva', cursive;
}

@media screen and (max-width:767px) {
	.mainVis.flex {
		display: block;
		padding-top: 70px;
	}
	.mainVis_ttl {
		width: 100%;
		position: absolute;
	    bottom: 10px;
	    left: 0;
	}
	.mainVis_ttl div {
		width: 80%;
	    text-align: left;
	    padding: 10px 20px;
	    font-size: 19px;
	}
	.mainVis_img {
    width: 100%;
    height: 260px;
	}
}
/*=== キービジュアル ==*/
.mainVis_img {
  background: url("https://reaf.care-rapport.jp/wp-content/uploads/2025/01/bg-office.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}


/*フッター*/
.footer {
	font-size: 16px;
	font-family: 'Noto Sans Japanese',"メイリオ",Meiryo,sans-serif;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
  color: #333;
  letter-spacing: .05em;
	background: #f4b2b2;
	padding: 10px 10px;
}
.fnav-company p {
	font-size: 12px;
	letter-spacing: 0.1em;
}
.fnav ul li {
	display: inline-block;
	list-style: none;
	margin: 5px 10px;
	font-size: 13px;
}
.fnav ul li a {
	color: #333;
}
.fnav ul li a:hover {
	opacity: .7;
}
.fnav .cvArea {
	border-bottom: 1px dotted rgba(255,255,255,0.5);
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.fnav .cvArea .fnav-tel a {
    font-size: 20px;
    font-weight: bold;
    color: #43a962;
}
.fnav .cvArea .fnav-contact {
  display: inline-block;
}
.fnav .footer-menu .sp-only {
  display: none;
}
.copyright {
	padding: 20px 0 0;
	color: rgba(17, 17, 17, 0.7);
	font-size: 11px;
	text-align: right;
}

@media screen and (max-width:767px) {
	.footer {
		padding-top: 40px;
  }
  .fnav-company {
    width: 90%;
  }
  .fnav {
    width: 100%;
  }
	.fnav .footer-menu .pc-only {
		display: none;
	}
	.fnav .footer-menu li {
    margin: 5px 8px 10px 8px;
    display: block;
    border-bottom: 1px dotted rgba(255,255,255,0.5);
    padding: 0 0 8px 5px;
  }
  .fnav .cvArea {
    border-bottom:none;
    margin-bottom: 10px;
  }
  .fnav .cvArea .fnav-contact {
    display: none;
  }
  .fnav .footer-menu .sp-only {
    display: block;
  }
	.copyright {
		text-align: center;
	}

}

/*フッターの余白調整*/
:where(.wp-block-columns.has-background) {
    padding: 0!important;
}
.footer-menu{
	padding: 0!important;
}
.cvArea{
	padding: 0!important;
}

/*****
flex
*****/
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.jc-around {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.ai-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/*投稿ページのフッター非表示*/
.entry-meta-data-list {
    display: none;
}

/*アーカイブページのぱんくずリストを非表示*/
.breadSection .breadcrumb {
    display: none;
}





/* カスタマイズで追加した CSS */
body {
    background-color: #fffeee;
}
.header h1 {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
}
.header .inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
body .page-header {
    background-color: transparent;
}
.page-header .page-header-inner.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
body .page-header-title, 
body h1.page-header-title {
    font-size: unset;
    font-weight: normal;
}

/* 前の記事・次の記事 */
.card-intext .card-intext-inner .vk_post_body {
    background-color: rgba(255,255,255,0.7);
}
.card-intext .card-intext-inner .vk_post_body .vk_post_title {
    color: #333;
}
.card-intext .card-intext-inner .vk_post_body div, .card-intext .card-intext-inner .vk_post_body p {
    color: #333;
}
.next-prev .vk_post_imgOuter_singleTermLabel {
    background-color: var(--vk-color-primary-dark);
}