@media (min-width: 1025px) {
    .sidebar {
        width: 28%;
        max-width: 260px;
    }
}
@media (max-width: 799px) {}
/*h3*/
.single_sub_ttl{
	       border-bottom: #d6d6d6 1px solid;
    padding-bottom: 10px;
	font-size: clamp(1.25rem, 1.147rem + 0.47vw, 1.5rem) !important;
	font-weight:bold;
	
}
.single_sub_ttl::before {
    display: inline-block;
       margin: 0px 6px 0px 0px;
    width: 16px;
    height: 16px;
    content: '';
    border-radius: 100%;
    background: #529FD6;
}
.ystdtb-timeline-item::before{
	
}
.ticss-4cf40565 {
    padding: 0rem 0 1.5rem;
    margin-bottom: 0.2rem;
    background-image: linear-gradient(90deg, #529FD6 0 20%, #dedede 20%);
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
}
.department_list .wp-block-group{
   margin-bottom: 0;
}
@media (max-width: 599px) {
  .department_list p strong{
    font-size:0.8rem;
  }
}
/*お問い合わせ*/

table.CF7_table th,table.CF7_table td {
    font-size: 16px;
    vertical-align: middle;
    display: block;
    width: 100% !important;
    line-height: 2.5em;
}
.wpcf7 table.CF7_table th{
	    padding: 16px 0 0 !important;
}
table.CF7_table p {
    font-size: 16px !important;
}
.CF7_req {
    font-size: 12px !important;
    background: none !important;
    color: #DE0000 !important;
}
.CF7_unreq {
    font-size: 12px !important;
    background: none !important;
    color: #6f6f6f !important;
}
.temperature td p{
	    display: flex;
    align-items: baseline;
}
.temperature td p span.wpcf7-form-control-wrap{
	    width: 19%;
}
.temperature td p span.c_unit{
	    padding-left: 1%;
}
.wpcf7-list-item.first{
	    margin: 0 1rem 0 0;
}
.allergy_box {
	margin-top: 32px;
}
.allergy_box p{
	    display: flex;
    align-items: center;
}
.allergy_box p .box_ttl{
    width: 20%;
}
.allergy_box p .wpcf7-form-control-wrap{
	    width: 83%;
    margin-left: 2%;
}
  .upload-box {
border: 3px solid #66b3e6;
    background-color: #f0f8ff;
    padding: 20px 24px;
    margin-top: 18px;
  }
  .upload-box h2 {
    color: #0066b3;
    font-size: 18px;
    margin-bottom: 10px;
  }
.upload-box p {
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 0;
}
  .upload-box .box-ttl{
	    color: #529FD6;
    font-weight: 600;
	  font-size:1rem;
}
  .file-input {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
  }
   .upload-box .note {
    color: red;
    font-size: 1rem;
    margin-top: 10px;
  }
.upload-box input{
	background: none;
    border: none;
}
.upload-box .mb0{
	margin-bottom:0;
}
.wpcf7 .cold_cf input.wpcf7-submit {
    background-color: #529FD6;
    border: 2px solid #529FD6;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    padding: 24px 0;
    transition: all 0.5s 0s ease;
    max-width: 300px;
    width: 100%;
}
.CF7_table input, .CF7_table select, .CF7_table textarea {
    border: 1px solid #d8d8d8 !important;
    border-radius: 8px;
    background-color: #ffffff !important;
}
@media (max-width: 768px) {
.allergy_box p {
    display: block;
    align-items: center;
}
input[type="date"]{
	    width: 96% !important;
}
}
@media (min-width: 1025px) {
    .has-sidebar .archive__main, .has-sidebar .content__main {
        max-width: 950px;
        margin-left: 0;
    }
	    .has-sidebar .archive__main, .has-sidebar .content__main {
        width: 75%;
        margin-left: 0;
    }
	.container {
     max-width: 1300px;
    padding-left: 0;
    padding-right: 0;
}
}
/*フォント*/
.font-lato {
  font-family: "Lato", sans-serif;
}
.ystdb-heading__subtext{
	font-family: "Lato", sans-serif;
}
/*header*/
ul#global-nav__menu a {
    font-weight: 600;
    color: #434548;
}
.menu_access a{
	    background: #89CAA1;
    color: #fff;
    width: 100px;
}
.menu_recruit a{
	    background: #529FD6;
    color: #fff;
    width: 100px;
}
.menu_recruit{
	    margin-left: 0 !important;
}
.menu_access a img,.menu_recruit a img{
	width:36px;
}
.global-nav__container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100px;
}
.menu_access a p,.menu_recruit a p{
	    color: #fff;
    font-size: 13px;
    margin-bottom: 0;
}
.global-nav__menu>.menu-item {
    margin-left: 1.2rem;
}
@media (max-width: 1500px) {
	ul#global-nav__menu a {
    padding: 0;
    font-size: 0.8rem;
}
	ul#global-nav__menu a .wp-block-image img {
        width: 32px !important;
}
}
@media (max-width: 1300px) {
	.global-nav__toggle .ys-icon, .global-nav__toggle svg {
    color: #fff;
}
	.global-nav__toggle:after {
    display: block;
    margin-top: -.3em;
    content: attr(data-label-open);
    font-size: .6em;
    line-height: 1;
    text-align: center;
    color: #fff;
}
    .global-nav__toggle {
        display: block;
        cursor: pointer;
    }
	    .global-nav__menu:not(#global-nav__menu-amp) {
        display: none;
    }
	    .global-nav {
        display: block;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding: var(--mobile-nav-container-padding) 2em 2em;
        overflow: auto;
        background-color: var(--mobile-nav-bg);
        opacity: 0;
        transition: all .3s;
    }
	    .widget-mobile-nav {
        display: block;
    }
	.site-header {
    height: 70px;
}
}
@media (max-width: 599px) {
.global-nav .ystdb-icon {
    padding: 0.5rem !important;
}
		.site-header {
    height: 60px;
}
}
/*mv*/
@media (max-width: 599px) {
	    .ticss-de677b2b .wp-block-group.has-background:not(.alignfull):not(.alignwide), .mv-bg .wp-block-group.has-background:not(.alignfull):not(.alignwide) {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
	.ticss-de677b2b .wp-block-group.has-background img,.mv-bg .wp-block-group.has-background img{
		    width: 48px !important;
        height: 32px !important;
	}
	.mv-bg .wp-block-group.has-background p{
		margin-top:0 !important;
	}
}
/*news*/
.news_box .ys-posts__item{
    background: #fff;
    padding-top: 1% !important;
    border-bottom: none !important;
    margin-bottom: 2px !important;
    padding-bottom: 1% !important;
    padding-left: 2% !important;
}
.news_box .ys-posts__cat{
	 padding-top: 6px !important;
    border-radius: 25px !important;
    font-size: 10px !important;
    padding-bottom: 6px !important;
    width: 80px;
    text-align: center;
}
.category--news{
	background:#529FD6 !important;
}
.category--significant{
	background: #DE0000 !important;
}
.news_box .ys-posts__title {
  position: relative;
}
.news_box .ys-posts__title a {
    display: block;
    background: #fff;
    padding: 1% !important;
    border-bottom: none !important;
    margin-bottom: 2px !important;
    position: relative;
    margin-right: 8%;
}
.news_box .ys-posts__text a::after {
    position: absolute;
    content: url(https://bizhomely1.xbiz.jp/yagi/wp-content/uploads/2025/08/img_arrow_news.png);
    transform-origin: top right;
    transform: scale(0.5);
    top: 5px;
    left: 50%;
    width: 100%;
    right: 0;
}
    .news_box .ys-posts.is-simple .ys-posts__text {
        display: flex;
        align-items: center;
        gap: 1em;
    }
@media (max-width: 768px) {
	.news_box .ys-posts__text a::after {
    position: absolute;
    content: url(https://bizhomely1.xbiz.jp/yagi/wp-content/uploads/2025/08/img_arrow_news.png);
    transform-origin: top right;
    transform: scale(0.3);
    top: 7px;
    left: 50%;
    width: 70%;
    right: 0;
    height: fit-content;
}

}
@media (max-width: 599px) {
	.ys-posts.is-simple .ys-posts__title {
    font-size: 0.8em;
		    width: 100%;
}
	.news_box .ys-posts__title a {
            display: block;
        margin-right: 12%;
}
	.news_box .ys-posts__cat {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    width: 66px;
    text-align: center;
}
	.news_box .ys-posts.is-simple .ys-posts__text{
		    display: block;
	}
	    .news_box .ys-posts__text a::after {
    position: absolute;
    content: url(https://bizhomely1.xbiz.jp/yagi/wp-content/uploads/2025/08/img_arrow_news.png);
    transform-origin: top right;
    transform: scale(0.3);
    top: -10px;
    left: 55%;
    width: 70%;
    right: 0;
    height: fit-content;
    }
	.news_box .ys-posts__item {
    padding-top: 2% !important;
}
}
/*footer*/
@media (min-width: 900px) {
.footer-sub .border_le{
	        border-left: 2px solid #CBCBCB;
}
}
@media (max-width: 768px) {
.ticss-de677b2b .wp-block-group.has-background:not(.alignfull):not(.alignwide) ,.mv-bg .wp-block-group.has-background:not(.alignfull):not(.alignwide) {
    padding-right: 0.8em;
    padding-left: 0.8em;
}

}
@media (max-width: 768px) {
	.global-nav {
		padding-left: 0;
    padding-right: 0;
	}
}
a:hover {
    opacity: 1;
       color: #0538c5 !important;
}
