/*
Theme Name: eases5-child
Template: eases5
Description: ケアサービスたかはし 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 740px;
	--es-side-max-width: 260px;
	--es-main-font-color: #555;
	--es-primary-color: #f08300;
	--es-secondary-color: #f6ad49;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #4c3f29;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #f6ad49;
	--es-footer-font-color: white;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #f08300;
}

ul, ol {
	padding: 0;
	list-style: none; }

/* contents ------------------------------------------------------------------------------------- */

/* ■ h2 - h5
-------------------------------------------------------------- */
#main h2 {
	position: relative;
	margin: 0 auto 20px;
	padding:5px 20px!important;
	border-radius: 5px 10px 20px 30px;
	background-image: linear-gradient(rgb(255 153 31), rgb(248 184 98 / 60%));
	color: white;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }

#footer h2 { font-size: 2.2rem; }

#main h3 {
	margin: 0 auto;
	padding: 5px 20px;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	line-height: 1.5em; }

#main h2 span{ display: inline-block; }
/* レイアウト
-------------------------------------------------------------- */
.wp-block-image .alignleft {
	display: block;
    float: none;
    text-align: center; }
	@media screen and (min-width: 500px) {
		.wp-block-image .alignleft {
			display: inline;
    		float: left;
    		text-align: left; } }

#wrap {
	margin: 0;
	padding: 0; }

#header {
	margin-bottom: 40px;
	text-align: center; }
	@media screen and (min-width: 600px) {
		#header { text-align: left; } }

.title {
	display: flex;
	align-items: center; }

#header .hgroup figure { margin: 0; }

.hgroup .information a:hover { background-color: #f0d88e; }

#globalnavi {
	margin-bottom: 0;
	background-color: #f6ad49; }

#globalnavi ul { 
    width: 100%;
    max-width: var( --es-wrap-max-width );
    margin: 0 auto;
    border-right: 1px solid white;
    justify-content: center; }

#globalnavi li {
	width: 20%;
	background-color: var( --es-secondary-color );
	font-size: 1.6rem;
	border-left: 1px solid #fff }

#globalnavi #menu-item-347 a { letter-spacing: -0.2rem; }

#globalnavi li a {
	display: block;
	width: 100%;
	padding: 15px 0; }

#globalnavi li a:hover {
	background-color: var( --es-primary-color ); }

#globalnavi li.current-menu-item a {
	background-color: #f08300; }

#pagebody > .inner {
	max-width: var( --es-wrap-max-width );
	margin: 0 auto 50px; }
	@media screen and (min-width: 768px) {
		#pagebody > .inner {
			display: flex;
			justify-content: space-between;
			flex-direction: row-reverse;
			padding: 0 10px; } }
	@media screen and (min-width: 1024px) {
		#pagebody {
			padding: 0; } }

#main { padding: 0 10px; }
	@media screen and (min-width: 768px) {
		#main {
			max-width: var(	--es-main-max-width );
			margin-left: 20px;
			padding: 0; } }

#sidebar { display: none; }
	@media screen and (min-width: 768px) {
		#sidebar {
			display: block;
			max-width: var(	--es-side-max-width ); } }

#sidebar .menu a {
	display: block;
	padding: 10px;
	border-radius: 5px;
	background-color: #f6ad49;
	font-size: 1.7rem;
	color: white; } 

#sidebar .menu li { padding-bottom: 1px; }

#sidebar .menu li.current_page_item a {background-color:#f08300;}

#sidebar #menu-item-56 a { letter-spacing: -0.2rem; } 

.link-banner { margin-left: 10px; }
	@media screen and (min-width: 768px) {
		.link-banner { margin-left: 0; } }

.link-banner li {
	margin-bottom: 10px; }

#footer { padding: 40px 0 20px; }

#footer > .inner {
	max-width: var( --es-wrap-max-width );
	margin: 0 auto; }

#wrap .inner > #footer > .inner > section {
	display: flex;
	flex-direction: column-reverse; }
	@media screen and (min-width: 768px) {
		#wrap .inner > #footer > .inner > section {
			flex-direction: row;
			align-items: flex-start; } }

#footer > .inner > section section:nth-child(1) { margin: 0; }
#footer > .inner > section section:nth-child(2) { margin: 0; }
	@media screen and (min-width: 400px) {
		#footer > .inner > section section:nth-child(1) { width: 100%; }
		#footer > .inner > section section:nth-child(2) { width: 100%; } }
	@media screen and (min-width: 768px) {
		#footer > .inner > section section:nth-child(1) { width: 100%; }
		#footer > .inner > section section:nth-child(2) { width: 100%; } }
	@media screen and (min-width: 768px) {
		#footer > .inner > section section:nth-child(1) { width: 67%; }
		#footer > .inner > section section:nth-child(2) { width: 32%; } }

.widgets_drawer ul {
	width: 310px;
	margin-bottom: 40px; }

.navi-contents { background-color: #eee; }
	@media screen and (max-width: 1000px) {
		.navi-contents { height: calc( 100dvh - 70px ); }
		.sp-menu #drawer-close { height: calc( 100dvh - 70px ); } }

/* コンテンツ
-------------------------------------------------------------- */
.wp-block-image .alignleft {
	display: block;
    float: none;
    text-align: center; }
	@media screen and (min-width: 500px) {
		.wp-block-image .alignleft {
			display: inline;
    		float: left;
    		text-align: left; } }

.wp-block-image figcaption { font-size: 1.4rem; }

.wp-block-image .alignleft>figcaption { display: block; }

.wp-block-table { margin: 0 1em 2em; }

.wp-block-button a:hover { color: #555!important; }

.wp-block-button a::after { background: var(--es-secondary-color); }

table { font-size: 1.6rem; }

form p img,
.link-anime img { vertical-align: baseline; }

/* リストスタイル */
#main #page ul {
	list-style-type: disc;
	margin: 0 0 5px 40px;
	padding-left: 10px; }

/*トップページ*/
.attaka_image img{ display: none; }
	@media screen and (min-width: 600px) {
		.attaka_image img {
			display: block; } }



.wp-block-image{ margin-bottom: 0; }
	@media screen and (min-width: 600px) {
		.wp-block-image {
			margin-bottom: 20px; } }


#main .wp-block-group__inner-container { padding: 0; }

#main .wp-block-group__inner-container .wp-block-group__inner-container { padding: 0 20px 40px; }

:where(.wp-block-columns.is-layout-flex) { gap: 1em; }

.wp-block-group{ 
	margin: 0;
	padding-top: 0; }

.has-text-align-right span{ display: inline-block; }

.news_posts { margin-left: 40px; }

.newstitle{ text-decoration: underline; }

.newstitle:hover{ text-decoration: none; }

/*料金*/
.has-fixed-layout span{ display: inline-block; }


/*あったかデイサービスセンター*/
.ichinichitaiken{
	padding:10px;
	border:3px solid #f08300;}

.taiken {
	display: flex;
    gap: 2em;
    flex-wrap: nowrap;
    align-items: center; }
		@media screen and (max-width: 768px) {
			.taiken {
				margin: 0 auto;
    			 } } 

.hgroup .information a { background-color: #f08300; }

/*スタッフ紹介・日課表*/
.staff th{ }
	@media screen and (max-width: 481px) {
    	.staff th{
			display: block;
			text-align: left;
			vertical-align: middle; } }

.staff td{ }
	@media screen and (max-width: 481px) {
		.staff td{
			display: block;
			width: 100%!important;
			text-align: left; 
			vertical-align: middle; } }

/*会社案内・アクセスマップ*/
.kaisya_joho th{ }
@media screen and (max-width: 481px) {
		.kaisya_joho th{
			display: block;
			text-align: left;
			vertical-align: middle; } }

.kaisya_joho td{ }
		@media screen and (max-width: 481px) {
				.kaisya_joho td{ 	
					display: block;
					text-align: left; 
					vertical-align: middle; } }

.g_map{ width: 100%; }
	@media screen and (min-width: 768px) {
		.g_map{
			width: 50%; } }

/*サブメニュー*/
.navi-contents .menu li a { font-size: 1.4rem; }
	@media screen and (min-width: 481px) {
		.navi-contents .menu li a{
			font-size: 1.6rem;} }


.menu-side_menu-container{ margin-bottom: 50px; }

.attaka_syousai{ display: none; }
	@media screen and (min-width: 768px) {
		.attaka_syousai{
			display: block;
			padding: 10px!important;
    		border: 2px solid #f08300;
			background-color: rgba(248,184,98,0.3); } }


.attaka_syousai p{ margin-bottom: 20px; }

#sidebar .menu a {
	background: #f6ad49;
	color: #fff;
	overflow: hidden;
	position: relative;
	transition-duration: .2s;
	z-index: 2; }

#sidebar .menu a::after {
	background: #f08300;
	border-radius: 50%;
	content: "";
	display: block;
	margin: auto;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	width: 100%;
	padding-top: 100%;
	height: 0;
	z-index: -1;
	transform: translateY(-50%) scale(0.1);
	transition: opacity .3s, transform 0s;
	transition-delay: 0s, .4s; }
   
#sidebar .menu a:hover  {color: #fff; }

#sidebar .menu a:hover::after {
	opacity: 1;
	transform: translateY(-50%) scale(1.1);
	transition-delay: 0s;
	transition: opacity .8s, transform .6s ease-in-out; }

/*ヘッダー*/

.wp-block-cover__inner-container{ padding-bottom: 10px; }

.title{ width: 100%; }
	@media screen and (min-width: 768px) {
		.title{ width: 55%; } }


.information{ width: 45%!important; }

.description{ color: #f6ad49 }

.title span{ color: #82ae46;}

.hgroup .information p{ color: #000; }

/*削除されたcss*/
.title { width: 100%; }
@media screen and (min-width: 768px) {
	.title { width: 50%; } }

#header .hgroup img.logo_img {
	max-width: 100px;
	height: 33px!important; }
	@media screen and (min-width: 430px) {
		#header .hgroup img.logo_img { height: 40px!important; } }
	@media screen and (min-width: 768px) {
		#header .hgroup img.logo_img { height: 45px!important; } }
	@media screen and (min-width: 1024px) {
		#header .hgroup img.logo_img { height: 60px!important; } }

#header .hgroup .logo-h1 {
	display: flex;
    align-items: center; }

/*フッター*/

ul#menu-footer_menu { display: none;}
	@media screen and (min-width: 768px) {
		ul#menu-footer_menu {
			display: flex;
 			flex-wrap: wrap;} }

ul#menu-footer_menu li { font-size: 1.4rem; }
	@media screen and (min-width: 481px) {
		ul#menu-footer_menu li{ width: 45%; } }
		@media screen and (min-width: 865px) {
			ul#menu-footer_menu li{ font-size: 1.6rem; } }
			@media screen and (min-width: 1000px) {
				ul#menu-footer_menu li{ width: 40%; } }

ul#menu-footer_menu li:hover{ text-decoration: underline; }

.attaka_syousai2{ 
	display: flex;
	flex-direction: column;
	align-items: center; }

.attaka_syousai2 p{ margin-bottom: 20px; }

/*url*/
.url_in a{
	text-decoration: underline;
	color: black; }

.url_in a:hover{
	text-decoration: underline; 
	color:#f08300; }

.url_in li{ list-style-type: none; }

/*モバイルメニュー*/
.menubox {
    display: flex;
    width: 100%;
    padding: 10px 0 7px 0;
    flex-wrap: nowrap!important; }

/* お問い合わせ */
.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea {
	width: 100%; }

input[type="submit"] {
	display: block;
	width: 170px;
	margin: 0 auto;
	padding: 15px; }

input[type="submit"]:hover { background-color: var(--es-primary-color)!important; }

/* ブログ */
.post-categories ul span[class*="label-"], .post-categories ul a[class*="label-"]{
	border:none;
	background-color: #FE7316; }
.profile{
	font-size: 1.5rem; }

.post-footer {
	text-align: center; }
#comment{
	width: 90%;
	margin: 0 auto; }

#index-page,#single-page{
	padding: 0 1em; }
/* サイドバー */
.navi-contents,.navi-contents figcaption{
    color: #fff; }