@charset "utf-8";
/*
Theme Name: 高知慈善協会
Author: BASARA
Author URI: 
Version: 3.0
*/

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    backface-visibility: hidden;
}

html{ margin: 0; padding: 0; }

body {
    font-family: "Noto Sans Japanese","Hiragino Kaku Gothic ProN","Hiragino Sans","Meiryo",sans-serif;
    color: #343434;
    font-size: 16px;
    line-height: 1.8;
    word-break: break-all;
    margin: 0;
    padding: 0;
    min-width: 375px;
    background: url("images/bg_body.png") #FFFDF7 left top;
    background-size: 100% 100%;
}

div, p, ul, ul li, dl, dt, dd {
    margin: 0;
    padding: 0;
    font-size: 100%;
    list-style:none;
    box-sizing:border-box;
}
img, video, object {
    max-width: 100%;
    height: auto;
    border: none;
}
img{ image-rendering: -webkit-optimize-contrast; }

h1, h2, h3 ,h4 {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    font-style: normal;
}
h2{ font-size: var(--46px); margin-bottom: 1.5em; text-align: center;}
h3{ font-size: var(--46px); margin-bottom: 1.0em; letter-spacing: 2px;}
h4{ font-size: var(--18px); margin-bottom: 0.5em;}


a:link {color:#343434; text-decoration: none; }
a:visited {color:#000;}
a:hover {color:var(--main-color); text-decoration: none; transition:0.3s; }
a:hover img { opacity: 0.7; filter: alpha(opacity=70); -moz-opacity: 0.7;}
a[href^="tel:"] { text-decoration:none; pointer-events:none ; text-emphasis: none !important;}
a[href^="fax:"] { text-decoration:none; pointer-events:none ;}

.pc{display: inherit;}
.tb{display: none;}
.sp{display: none;}

@media only screen and (max-width:820px){
    .pc {display:none;}
    .tb {display:block;}
    .sp {display:none;}

    h2{ font-size: var(--32px);}
    body {
        background: url("images/bg_body_sp.png") #FFFDF7 left top;
        background-size: 100% 100%;
    }
}
@media only screen and (max-width:468px){
    .pc {display:none;}
    .tb {display:none;}
    .sp {display:block;}
}

/*===============================
    CSS変数の宣言
================================*/
:root {
    --main-color: #7562A8;
    --secondary-color: #C74242;
    --12px: 0.75rem;
    --13px: 0.8125rem;
    --14px: 0.875rem;
    --15px: 0.9375rem;
    --16px: 1rem;
    --17px: 1.0625rem;
    --18px: 1.125rem;
    --19px: 1.1875rem;
    --20px: 1.25rem;
    --21px: 1.3125rem;
    --22px: 1.375rem;
    --23px: 1.4375rem;
    --24px: 1.5rem;
    --25px: 1.5625rem;
    --26px: 1.625rem;
    --27px: 1.6875rem;
    --28px: 1.75rem;
    --29px: 1.8125rem;
    --30px: 1.875rem;
    --31px: 1.9375rem;
    --32px: 2rem;
    --42px: 2.625rem;
    --46px: 2.875rem;
    --52px: 3.25rem;
    --kodakasa: #FFCA46;
    --ushioe: #F58787;
    --ushioe2: #39A85F;
    --minamimachi: #55C8F2;
    --aijinen: #FD9C9C;
    --hakuaien: #FF9429;
    --post: #7562A8;
}

/* =========================================================================================
Layout
=========================================================================================*/
#wrapper{
    position:relative;
    margin:0;
    padding:0;
}
#container{
    margin:0;
    padding:100px 0 80px 0;
    background: #FFFDF7;
}
article{
    max-width: 1200px;
    margin: 0 auto;
}
article.bg-white{
    background: #FFF;
    padding: 75px 2.0em;
    border-radius: 70px;
    width: 1100px;
}
section{
    padding-left: 30px;
    padding-right: 30px;
}
section + section{
    margin-top: 100px;
}
.inner {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    position:relative;
    box-sizing:border-box;
}
.box{
    margin-bottom: 75px;
}


/*flex-item*/
.flex-box{ display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 50px ;}
.flex-column{ display: flex; flex-direction: column; justify-content: space-between; gap: 50px ; }


@media only screen and (max-width:820px){
    section{ padding-left: 5%; padding-right: 5%;}
    section + section{ margin-top: 75px; }
    .box{ margin-bottom: 75px;  }
    #container{ padding-top: 50px !important;}
    article.bg-white{ padding: 0px 0px;}
}
@media only screen and (max-width:468px){
    section{ padding-left: 20px; padding-right: 20px; }
}





/* =========================================================================================
Btn
=========================================================================================*/
.btn{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 50px;
    position: relative;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto;
    gap: 20px;
}
.btn a:hover {text-decoration: none; opacity: 0.8; transition:0.3s;}
.btn a {
    text-align: center;
    color: #fff;
    border-radius: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: var(--18px);
    display: block;
    padding: 10px 50px 10px 40px;
    background: #694A26;
}
.btn a::after{
    position: absolute;
    content: "";
    background-image: url("images/ico_arrow_wh.svg");
    background-repeat: no-repeat;
    background-position: center left 7px;
    background-size: contain;
    width: 20px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}


.btn.white a{ color: #000; background: #FFF; border: 1px solid #000;}
.btn.white a::after{ background: url(images/common/icon_arrow.svg) no-repeat; }

.btn.green a{ color: #FFF; background: green;}
.btn.green a::after{ background: url(images/common/icon_arrow_w.svg) no-repeat; }

.btn.blue a{ color: #FFF; background: blue;}
.btn.blue a::after{ background: url(images/common/icon_arrow_w.svg) no-repeat; }

.btn a[target~="_blank"]::after {
    position: absolute;
    content: "";
    background-image: url("images/ico_window_wh.svg");
    background-repeat: no-repeat;
    background-position: center left 7px;
    background-size: contain;
    width: 20px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  }

@media only screen and (max-width:820px){

}
@media only screen and (max-width:468px){
    .btn {
    width: 100%!important;
}
    .btn a { 
        padding: 10px 0;
        width: 100%!important;
        position: relative;
    }
    .btn a::after {
        top: 50%;
    }
}


/* =========================================================================================
Breadcrumbs
=========================================================================================*/
.breadcrumbs{
    font-size: var(--13px);
    padding: 15px 30px;
}
.breadcrumbs .inner{
    align-items: center;
    display: flex;
    max-width: 1100px;
}
span.pankuzu_icon {
    display: flex;
    width: 5px;
    height: 10px;
}
.breadcrumbs a.home{
    padding-left: 15px;
    background: url("images/icon_home.svg") no-repeat left center;
    background-size: 14px;
}
.breadcrumbs .current-item { color: var(--main-color); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span {
    margin: 0 3px;
}

@media only screen and (max-width:820px){
    .breadcrumbs {
        display: none;
    }
}
@media only screen and (max-width:468px){
    .btn a { max-width: 100%;}
}

/* =========================================================================================
Header
=========================================================================================*/
#header {
    padding:20px 30px;
    margin: 0;
    width:100%;
    height: 100px;
    background:#fff;
    border-bottom: 1px solid #000;
    position: fixed;
    z-index: 100;
    top: 0;
}
    #header .inner{
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    
    #header .logo a img{
        display:inline-block;
        width: auto;
        height: 60px;
    }

/*globalnavi*/
#header #g-navi ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: right;
    gap: 20px;
}
    #header #g-navi ul li{
        font-size:1.0em;
        font-weight: bold;
    }

/* =========================================================================================
Footer
=========================================================================================*/
#footer {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
}
#footer:before {
    content: '';/*何も入れない*/
    display: inline-block;
    width: 100%;/*画像の幅*/
    height: 50px;/*画像の高さ*/
    background-image: url("images/footer_top.svg");
    background-size: auto;
    vertical-align: middle;
    background-repeat: repeat-x;
  }
#footer .bg-beige {
    padding: 20px 40px;
    background: #FFFDF7;
}
#footer .inner {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}
#footer .address .logo img{
    margin-bottom: 20px;
    height: 32px;
}
#footer .copyright {
    width: fit-content;
    padding: 5px 20px;
    margin: 40px auto 0;
    background-color: #fff;
    border-radius: 25px;
    font-size: var(--15px);
    font-weight: 500;
}
ul#menu-footer-nav {
    display: flex;
    gap: 40px;
}
ul#menu-footer-nav li {
    font-size: var(--18px);
}
ul#menu-footer-nav li a {
    padding-bottom: 3px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: .3s;
}
ul#menu-footer-nav li a::after {
    position: absolute;
    bottom: 10px;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    border-radius: 10px;
    color: var(--main-color);
    background-color: var(--main-color);
    opacity: 0;
    transition: .3s;
}
ul#menu-footer-nav li a:hover {
    color: #7562A8;
}

ul#menu-footer-nav li a:hover::after {
    bottom: 0;
    opacity: 1;
}
@media only screen and (max-width:820px){
    #footer .inner { flex-direction: column; align-items: center; gap: 30px; }
    ul#menu-footer-nav { flex-direction: column; align-items: center; gap: 0.5em;}
    ul#menu-footer-nav.menu { position: initial; padding-bottom: 0; background: none; }
    #footer .bg-beige { padding: 20px 15px 110px; }
}
@media only screen and (max-width:468px){

}

/* =========================================================================================
Side Link
=========================================================================================*/
.side-link{ position: fixed; width: 60px; top:10vh; right: 0; z-index: 100; }
.side-link ul{ display: flex; flex-direction: column; gap: 10px; }

.side-link a:hover img {
    opacity: unset;
}

body.page-id-76 .side-link{
    display: none;
}

@media only screen and (max-width:820px){
    .side-link{ position: fixed; width: 100%; top:auto; right: 0; bottom: -8px; z-index: 100; }
    .side-link ul{ flex-direction: row; gap: 0; }
    .side-link ul li{ width: 50%; }
}
@media only screen and (max-width:468px){

}


/* =========================================================================================
Page
=========================================================================================*/
.inner>.read_text {
    margin: 0 auto;
    font-size: var(--18px);
    max-width: 1000px;
}



/* =========================================================================================
List(nursery&facility)
=========================================================================================*/
.page-id-2 .list, .page-id-55 .list {
    position: relative;
    margin-bottom: 100px;
}
.page-id-2 .list .inner::before, .page-id-55 .list .inner::before {
    content: '';
    display: inline-block;
    width: 171px;
    height: 166px;
    background-image: url("images/deco_06.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0px;
    z-index: -1;
}
.page-id-2 .list .inner::after, .page-id-55 .list .inner::after  {
    content: '';
    display: inline-block;
    width: 177px;
    height: 160px;
    background-image: url("images/deco_02.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    bottom: -60px;
    z-index: 0;
}

section.list .flex-box{
    flex-wrap: wrap;
    gap: 50px;
    z-index: 1;
    position: inherit;
}
section.list .item{
    width: calc( (100% - 100px ) / 2 );
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: var(--18px);
}
section.list .item a{
    position: relative;
    display: block;
}
section.list .thumb{
    padding: 0;
    margin: 0;
    line-height: 0 !important;
}
section.list .thumb img{
    object-fit: cover;
    aspect-ratio: 3 / 2;
    width: 100%;
    border-radius: 10px;
}
section.list .title{
    position: absolute;
    top: 0;
    left: 0;
    color: #FFF;
    border-radius: 10px 0;
    font-size: var(--32px);
    padding: 0.05em 1.0em;
    margin: 0;
}
.item.kodakasa .title {
    background: var(--kodakasa);
}
.item.ushioe .title {
    background: var(--ushioe);
}
.item.ushioe2 .title {
    background: var(--ushioe2);
}
.item.minamimachi .title {
    background: var(--minamimachi);
}
.item.aijinen .title {
    background: var(--aijinen);
}
.item.hakuaien .title {
    background: var(--hakuaien);
}
section.list ul{
    display: flex;
    flex-wrap: wrap;
    gap: 1.0em;
    padding: 1.0em;
    background: url("images/bg_underline.svg") repeat-x left bottom;
}
section.list ul li{
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
}
section.list ul li:not(span) {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    font-size: var(--16px);
}
section.list ul li:first-child{
    width: 100%;
}
section.list ul li span{
    color: #FFF;
    background: #585858;
    padding: 0.2em 0.75em;
    border-radius: 5px;
    letter-spacing: 3px;
    white-space: nowrap;
}
section.list .link{
    text-align: right;
}
section.list .link a {
    padding: 0.5em;
}
section.list .link a::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 17px;
    background-image: url("images/ico_arrow.svg");
    background-repeat: no-repeat;
    background-position: top 4px left 7px;
    background-size: 10px 14px;
}
section.list .link a:hover::after {
    background-image: url("images/ico_arrow_hover.svg");
}
section #recruit {
    margin-top: 120px;
}
section #recruit .read_text {
    text-align: center;
}
section #recruit .btn {
    margin-top: 30px;
}
section #recruit .btn a {
    width: 330px;
}
section #recruit div.illust {
    text-align: center;
    margin-bottom: 30px;
}
section #recruit img {
    width: 30%;
}

@media only screen and (max-width:820px){
    section.list .title {
        font-size: var(--24px);
    }
    section #recruit img {
        width: 60%;
    }
    section #recruit .list_h3 {
        font-size: 1.8rem;
        padding: 0px 0 30px 0;
    }
    section.list .item{ width: 100%; }
}


/* =========================================================================================
Page Top
=========================================================================================*/
#page-top {
    position: fixed;
    z-index: 9999;
    bottom: 3.5%;
    right: 2.5%;
    background-color:#fff;
    border: 1px solid var(--main-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0px 0px 12px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}
    #page-top a {
        display: block;
        text-decoration: none;
        color: var(--main-color);
        padding: 25%;
        font-size: var(--18px);
        background:none;
        text-align: center;
    }
    #page-top a:hover{
        background-color: var(--main-color);
        color: #fff;
        border: 1px solid var(--main-color);
        border-radius: 50%;
        box-sizing: border-box;
        transition: unset;
    }

@media only screen and (max-width:820px){
    #page-top { display:none!important; }
}


/* =========================================================================================
Post list
=========================================================================================*/
.post-list{
    padding: 30px 0;
}
.post-list ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.post-list ul li{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 10px 20px;
    border-radius: 20px;
}
.post-list .title a {
    color: #343434;
}
.post-list .title a:hover{
    text-decoration: underline;
    color: var(--main-color);
}
body.home .cat {
    padding-bottom: 2px;
    border-radius: 50px;
  }
  body.home .cat a {
    font-size: var(--14px);
  }
.post-list ul li .cat.kodakasa {
    background: var(--kodakasa);
}
.post-list ul li .cat.ushioe {
    background: var(--ushioe);
}
.post-list ul li .cat.ushioe2 {
    background: var(--ushioe2);
}
.post-list ul li .cat.minamimachi {
    background: var(--minamimachi);
}
.post-list ul li .cat.aijinen {
    background: var(--aijinen);
}
.post-list ul li .cat.hakuaien {
    background: var(--hakuaien);
}
.post-list ul li .cat.post {
    background: var(--post);
}
@media only screen and (max-width:820px){
    .post-list ul li .cat{ width:fit-content;}
    .post-list ul li .title{ width: 100% }
    /* card */
    .post-list.card li{ width: calc( ( 100% - 30px ) / 2 ); }
}
@media only screen and (max-width:468px){
    /* card */
    .post-list.card li{ width: 100%; }
}


/* =========================================================================================
Archive-Page
=========================================================================================*/
body.archive .post,
body.single .post {
    width: 1050px;
}
.archive .post-list{
    border-top:none;
    border-bottom:none;
    padding:0;
}
.wrap_news .post-contents a, .wrap_news .entry-content a {
    text-decoration: underline;
}
.wrap_news .post-contents .btn a, .wrap_news .entry-content .btn a  {
    text-decoration: none!important;
}
.wrap_news .post-contents a:hover, .wrap_news .entry-content a:hover {
    text-decoration: none;
}
#main .post-list ul{
    gap: 50px;
}
#main .post-list .flex-box,
body.single .entry-header .flex-box{
    width: 96%;
    justify-content: space-between;
    margin-inline: auto;
}
.wrap_news .post-list .flex-box,
.wrap_news .post-wrap .flex-box {
    padding: 6px 10px;
    background-color: #F9F2FF;
    border: 1px solid #EDDBFF;
    border-radius: 5px;
    display: flex;
}
#main .h3-wrap .cat {
    width:auto;
    border:none;
}
#main .post-list .title{
    width: 100%;
    margin-bottom: 0.5em;
}
#main .post-list .post-contents,
#main .entry-content{
    width: 100%;
    padding: 30px 0 20px;
}
#main .post-list .post-contents p,
#main .entry-content p {
    margin-bottom: 15px;
}
.wrap_news #sidebar {
    width: 300px;
    margin: 0 auto;
}
.wrap_news #sidebar h3 {
    font-size: var(--18px);
    text-align: center;
}
.wrap_news #sidebar li a {
    padding: 7px 5px 5px;
    display: block;
    border-bottom: 1px dotted #333;
    line-height: 1.7;
}
.wrap_news #main {
    width: 100%;
}
.wrap_news #main .post-contents,
.wrap_news #main .entry-content {
    margin: 0 auto;
    width: 95%;
}

@media only screen and (max-width:820px) {
    body.archive .post {
        width: 100%;
    }
    .wrap_news .flex-box {
        display: block;
    }
    .archive .post-list {
        width: 100%;
    }
    .wrap_news #sidebar {
        width: 100%;
        margin: 0 auto;
        margin-top: 60px;
    }
}
@media only screen and (max-width:468px){

}

/*見出し------------------------------*/
body.archive .h3-wrap,
body.single .h3-wrap {
    width: 100%;
}

.wrap_news .post-list h3,
.wrap_news .entry-header h3 {
    padding: 0 0 5px 2px;
    position: relative;
    border-bottom: 3px solid #E2E2E2;
    border-radius: unset;
    width: 100%;
    font-size: var(--21px);
}


body.archive #sidebar h3, body.single #sidebar h3 {
    font-size: var(--21px);
    text-align: center;
}

.wrap_news .post-list h3::before,
.wrap_news .entry-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100px;
    height: 3px;
    border-radius: 20px;
    background: var(--main-color);
}

.wrap_news #sidebar h3{
    padding: 0 0 5px 2px;
    font-weight: bold;
    position: relative;
    border-bottom: 3px solid var(--main-color);
    border-radius: unset;
    width: 100%;
}


/*pagination*/
.pagination{ padding: 80px 0 0; }
.wrap_news .pagination { width: 700px; }
.pagination .page-numbers{ display: flex; justify-content: center; align-items: center; gap: 20px; }
.pagination .page-numbers li{ margin: 0; }

.pagination .page-numbers li:first-child{ flex-grow: 2; }
.pagination .page-numbers li:first-child span{float: right; }
.pagination .page-numbers li:first-child a{float: none; }
.pagination .page-numbers li:last-child{ flex-grow: 2; }
.pagination .page-numbers li:last-child a{float: right; }

.pagination .page-numbers li a,
.pagination .page-numbers li span,
.pagination .page-numbers li .current {
    color: var(--main-color);
    width: 40px;
    height: 40px;
    padding: 0.25em 1.0em;
    background: transparent;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--main-color);
    background-color: #fff;
}
.pagination .page-numbers li:first-child a,
.pagination .page-numbers li:last-child a {
    border: none;
    background-color: transparent;
    white-space: nowrap;
    font-size: var(--14px);
    color: #343434;
}
.pagination .page-numbers li:first-child a {
    padding-left: 50px;
    background: url("images/ico_arrow_prev.svg") no-repeat left center;
}

.pagination .page-numbers li:last-child a {
    padding-right: 50px;
    background: url("images/ico_arrow.svg") no-repeat right center;
}

.pagination .page-numbers li:first-child a:hover,
.pagination .page-numbers li:last-child a:hover {
    color: var(--main-color);
}

.pagination .page-numbers li:first-child a:hover {
    padding-left: 50px;
    text-decoration: none;
}

.pagination .page-numbers li:last-child a:hover {
    padding-right: 50px;
    text-decoration: none;
}

.single-navi .prev-navi a:hover,
.single-navi .next-navi a:hover {
    text-decoration: underline;
    color: #343434;
}

.pagination .page-numbers li .current{ color: #fff; background: var(--main-color);}
.pagination .page-numbers li img{ width: 0.75em; }


@media only screen and (max-width:820px){
    .wrap_news{
        width: 90%;
        margin-inline: auto;
    }
    .pagination { 
        width: 100%!important;
        padding:50px 5%;
    }
}
@media only screen and (max-width:468px){

}

/* =========================================================================================
Single-Page
=========================================================================================*/
.single .post-wrap{
    padding: 30px;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
}
.single .entry-header h2{
    margin-top: 15px;
    line-height: 1.4;
}
.single .entry-header .data{
    display: inline-block;
    text-align: left;
    width:auto;
    padding: 3px 20px 0 0;
}
.wrap_news .cat {
    display: flex;
    align-items: start;
    justify-content: left;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 3px 10px;
    font-size: var(--14px);
    border-radius: 50px;
    width: fit-content;
}
.single .entry-header .cat .icon,
.single .entry-header .tag .icon{ 
    font-size: 0.9em;
    height: auto;
    text-align: center;
    display: inline-block;
    padding: 0.25em 1.0em 0.2em;
    border: 1px solid #CCC;
    background: #CCC;
    border-radius: 50px;
}

.single .single-navi {
    display: flex;
    justify-content:space-between;
    padding: 60px 0;
}


.single .single-navi .prev-navi,
.single .single-navi .next-navi {
    margin-inline: auto;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 15px;
}



.single .single-navi .prev-navi a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 17px;
    background-image: url(images/ico_arrow_prev.svg);
    background-repeat: no-repeat;
    background-position: top 6px left 7px;
    background-size: 8px 10px;
}

.single .single-navi .prev-navi a:hover {
    text-decoration: underline;
    color: #343434;
}

.single .single-navi .next-navi a::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 17px;
    background-image: url(images/ico_arrow.svg);
    background-repeat: no-repeat;
    background-position: top 6px left 7px;
    background-size: 8px 10px;
}

.single .single-navi .next-navi a:hover {
    text-decoration: underline;
    color: #343434;
}

.single section{ 
    padding-left: 0;
    padding-right: 0;
}

/* ギャラリー全体のスタイル */
.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; /* 画像間のスペース */
    margin-bottom: 30px; /* ギャラリー全体の余白 */
}


@media only screen and (max-width:820px){
    body.single .post {
        width: 100%;
    }

}
@media only screen and (max-width:468px){
    .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        margin: 0;
        width: 100%; /* 1カラムにする */
        box-sizing: border-box; /* パディングやボーダーを含めて計算 */
    }

    .wp-block-gallery.has-nested-images img {
        margin: 12px 0!important;
    }
}


/* =========================================================================================
  Midashi
=========================================================================================*/
.page-header{
    max-width: 1100px;
    height: 360px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding:40px 20px;
    margin: 0 auto 50px;
}
.nursery .page-header{
    background: url("images/head_nursery.jpg") no-repeat center;
    background-size: 100%;
}
.facility .page-header{
    background: url("images/head_facility.jpg") no-repeat center;
    background-size: 100%;
}
.archive .page-header, .single .page-header{
    background: url("images/head_houjin_news.jpg") no-repeat center;
    background-size: 100%;
}
.page-header::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.2;
}
.page-header h2{
    margin: 0;
    color: #fff;
}
.page-header.full{
    max-width: 100%;
    height: 400px;
    border-radius: 0;
    margin: 0;
}
.page-header.full::after{
    content: "";
    position: absolute;
    background-repeat: repeat-x;
    background-size: contain;
    width: 100vw;
    height: 190px;
    z-index: 10;
    bottom:-90px;
    /*background-image: url(images/common/wave.png);*/
}
.page-header.full::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.2;
}

.list_h2,.list_h3 {
    background: url("images/bg_heading.svg") no-repeat center bottom;
    width: fit-content;
    padding: 0px 50px 30px 20px;
}
.list_h2 {
    margin-bottom: 30px;
}
.list_h3 {
    margin: 0 auto 30px;
}
.list_h4 {
    margin-top: 40px;
    text-align: center;
    font-size: 1.75rem;

}
@media only screen and (max-width:820px){
    .page-header { border-radius: 0; }
    .list_h2,.list_h3 { font-size: 2.25rem; }
    .page-header { min-height: 330px;}
    .page-header.full{
        background-size: cover;
        background-position: center;
    }
    .list_h4 { font-size: 1.55rem; }
    .nursery .page-header{
        background: url("images/head_nursery.jpg") no-repeat center;
        background-size: cover;
    }
    .facility .page-header{
        background: url("images/head_facility.jpg") no-repeat center;
        background-size: cover%;
    }
    .archive .page-header, .single .page-header{
        background: url("images/head_houjin_news.jpg") no-repeat center;
        background-size: cover;
    }
    body.profile .page-header, body.report .page-header{
        background: url("images/head_kyoukai.webp") no-repeat center;
        background-size: cover;
    }

}
@media only screen and (max-width:468px){

}


/* =========================================================================================
  Editer
=========================================================================================*/
/*Hr*/
.wp-block-separator{
    height: 1px;
    border: none;
    background-color: #000;
    margin: 5vh 0;
}
.wp-block-separator.is-style-dots:before{
    font-size: 3.0em;
    letter-spacing: 1.0em;
    padding-left: 1.0em;
}

/*midashi*/
.wp-block-heading{ font-weight: bold; margin: 1.0em 0 ; line-height: 1.6;}
h1.wp-block-heading{ font-size: 2.0em !important; }
h2.wp-block-heading{ font-size: 1.65em !important; }

h3.wp-block-heading,
.entry-content h3{
    
}
h3.wp-block-heading::before,
.entry-content h3::before{
    
}

h4.wp-block-heading{ font-size: 1.15em !important; }
h5.wp-block-heading{ font-size: 1.0em !important; }
h6.wp-block-heading{ font-size: 0.85em !important; }


/*Table*/
.wp-block-table table,
.entry-content table{
    width:100%;
    border-collapse: 0;
    border-spacing: 0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    margin: 1.0em 0;
}
.wp-element-caption,
.entry-content caption{
    color: #CCC;
    padding: 0.5em 0;
}
.wp-block-table th, .wp-block-table td,
.entry-content th , .entry-content td{
    text-align: left;
    padding: 0.7em;
    vertical-align:middle;
    border-top: none;
    border-left: none;
    border-right: none;
    position: relative;
    background-color: #fff;
}
.wp-block-table td,
.entry-content td{
    border-bottom:1px solid #ddd;
}
.wp-block-table th,
.entry-content th{
    white-space: nowrap;
    border-bottom:1px solid #fff;
    background: #FFE6C6;
}
.wp-block-table tr:last-child th,
.entry-content tr:last-child th {
    border-bottom:1px solid #ddd;
}
.wp-block-table.is-style-stripes .wp-element-caption{
    border-top:3px solid #000;
}


/*Button(wp-block-button)*/
.wp-block-button a{
    color: #FFF;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    background: #000;
    padding: 1.0em 3.0em 1.0em 2.0em;
    position: relative;
}
.wp-block-button a::after{
    position: absolute;
    content: "";
    background: url(images/common/arrow_w.png) no-repeat;
    background-size: contain;
    width: 9px;
    height: 9px;
    right: 1.26em;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.wp-block-button.is-style-outline{
}
.wp-block-button a:hover{ opacity: 0.7; }
.wp-block-button__link{ font-size: 1.0em; }
.wp-block-buttons>.wp-block-button{ margin: 10px 10px 10px 0; }

/*blockquote*/
blockquote{
    position:relative;
    padding: 3.0em 2.0em;
    background:#f5f5f5;
}
blockquote cite {
    display: block;
    font-size: 0.8rem;
    text-align: right;
    color: #808080;
    padding-right:20px;
}

@media only screen and (max-width:820px){
    .wp-block-media-text .wp-block-media-text__content{
        margin: 0;
        padding: 1.5em 0 0.5em;
    }
    .wp-block-table th,
    .entry-content th{
        white-space: initial;
    }
    .wp-block-image.size-full.is-resized {
        margin-inline: auto;
        width: fit-content;
    }
}





/* =========================================================================================
Home
=========================================================================================*/
.home .inner {
    max-width: 1200px;
}

/*SLIDER------------------------------*/
.home .kv{
    position: relative;
}
.home .kv .catch{
    position: absolute;
    right: 5% !important;
    bottom: 10% !important;
    z-index: 100 !important;
}
@media only screen and (max-width:820px){
    .home .kv .catch{
        text-align: center;
    }

}
@media only screen and (max-width:468px){

}

/* NEWS------------------------------*/
.home .news {
    margin-top: 60px;
}
.home .news .flex-box {
    gap: 0;
}
.home .news .flex-box h2 {
    padding: 0px 50px 0 20px;
    background-image: url("images/bg_heading.svg"), url("images/deco_03.svg");
    background-position: center top 25px, left 70px top 125px;
    background-size: auto, auto;
    background-repeat: no-repeat, no-repeat;
}
.home .news .btn a {
    padding: 10px 50px 10px 40px;
    font-size: var(--16px);
}

.home .news .flex-box .post-list {
    width: calc( 100% - 300px );
}
.home .news .flex-box .post-list ul {
    gap: 10px;
}
.home .news .flex-box .post-list ul li {
    padding: 13px 20px;
    border-radius: 10px;
    gap: 20px;
    background: rgba(255,255,255,0.5);
}
.home .news .flex-box .post-list ul li .cat {
    width: 190px;
    text-align: center;
}

.home .news .btn {
    position: absolute;
    left: 0;
    bottom: 40px;
}
.home .post-list li .cat a {
    color: #fff;
}
@media only screen and (max-width:820px){
    .home .news .flex-box { flex-wrap: wrap;}
    .home .news .flex-box h2 , .home .news .flex-box .post-list{ width: 100%; }
    .home .news .btn { position: static; margin-top: 2.0em; margin: 0 auto;}
    .home .news .flex-box h2 {
        margin-bottom: 0;
        padding: 0px 20px 0px 20px;
        background-image:url(images/deco_03_sp.svg),url(images/bg_heading.svg);
        background-position:right top 0, center top 0px;
        background-size:20%, auto;
        height: 82px;
    }
    .home .news .flex-box .post-list ul li .cat {
        width: fit-content;
        padding: 0 5px;
    }
}

@media only screen and (max-width: 820px){
    .home .news .btn a {
        margin-left:0;
    }
}
@media only screen and (max-width:468px){

}

/* FACILITY------------------------------*/
.home .facility {
    position: relative;
    margin-bottom: 100px;
}


.home .facility .inner::before {
    content: '';
    display: inline-block;
    width: 171px;
    height: 166px;
    background-image: url("images/deco_01.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: -40px;
    z-index: 0;
}
.home .facility .inner::after {
    content: '';
    display: inline-block;
    width: 177px;
    height: 160px;
    background-image: url("images/deco_02.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    bottom: -60px;
    z-index: 0;
}
.home .facility .flex-box {
    max-width: 1200px;
    justify-content: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    z-index: 1;
    position: inherit;
}
.home .facility .item{
    width: 29.5%;
    position: relative;
    overflow: hidden;
}
.home .facility .thumb{
    padding: 0;
    margin: 0;
    line-height: 0 !important;
}
.home .facility .thumb img{
    object-fit: cover;
    aspect-ratio: 3 / 2;
    width: 100%;
    border-radius: 10px;
}

.home .facility .title{
    position: absolute;
    top: 0;
    left: 0;
    color: #FFF;
    border-radius: 10px 0;
    font-size: var(--23px);
    padding: 0.05em 1.0em;
    margin: 0;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
}
.home .facility .btn{
    position: absolute;
    top:0 ;
    right:0;
}
.home .facility .btn a:nth-child(2){
    /* width: 250px; */
}

@media only screen and (max-width:820px){
    .home .facility .list_h2 {
        margin: 0 auto 20px;
        width: 100%;
    } 
    .home .facility .flex-box .item{ width: calc((100% - 30px) / 2); }
    .home .facility .btn{ position: static; margin-top: 2.0em; }
    .home .facility .inner::before { right: initial; left: 0; top: initial; bottom: 0; z-index: -1; background-size: 70% auto;}
    .home .facility .inner::after { right: 0; left: initial; top: -30px; bottom: initial; z-index: -1; background-size: 70% auto; background-position: right;}
}
@media only screen and (max-width:468px){
    .home .facility .flex-box .item{ width: 100%; }
}

/* ABOUT------------------------------*/
.home .about .inner {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 120px;
    background: #FFF;
    border-radius: 20px;
    padding: 70px 70px 0;
    box-shadow: 0px 0px 20px 0px rgb(0, 0, 0 ,0.1);
}
.home .about h2 {
    padding-bottom: 50px;
    font-size: var(--52px);
    width: 190px;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin: 0 auto;
    letter-spacing: 0.12em;
    font-weight: 500;
    background: url("images/deco_04.svg") no-repeat center bottom;
    background-size: 100%;
}
.home .about .read_text p {
    padding: 20px 30px;
    background-color: #FFF4ED;
    border-radius: 10px;
}
.home .about .read_text::after {
    content: '';
    display: inline-block;
    width: 100%;
    max-width: 840px;
    height: 9px;
    background-image: url("images/deco_05.svg");
    background-size: contain;
    vertical-align: middle;
    margin: 40px auto 0;
}
.home .about h3 {
    text-align: center;
}
.home .about .btn a{
    width: fit-content;
}
.home .about .attention {
    text-align: center;
    font-size: var(--14px);
} 
.home .about h2 span{
    font-size: var(--32px);
}
.home .about h3 span{
    font-size: var(--18px);
}
.home .about ruby {
    font-size: var(--32px);
    letter-spacing: 0;
}
.home .about rt {
    font-size: var(--12px);
    font-weight: 400;
}
.home .about .flex-column {
    width: 840px;
}
.home .about .thumb img{
    object-fit: cover;
    aspect-ratio: 3 / 2;
    width: 100%;
    border-radius: 10px;
}
.home .about .btn{
    margin-top: 1.0em;
}
@media only screen and (max-width:820px){
    .home .about h2{ width: 100%; writing-mode: rl; font-size: var(--32px); align-items: center; background-size: contain; background-position: right;}
    .home .about h2 span{ font-size: var(--18px);}
    .home .about .flex-column{ width: 100%; align-items: center; gap: 30px; }
    .home .about .inner { flex-wrap: wrap; padding: 30px 20px 60px 20px; gap: 0px;}
    .home .about .inner .flex-box { flex-wrap: wrap; gap: 0px;}
    .home .about .read_text::after { background-image: url(images/deco_05_sp.svg); }
}
@media only screen and (max-width:468px){
    .home .about .flex-box{ flex-wrap: wrap;}
    .home .about .thumb{ width: 100%; }
    .home .about .text{ width: 100%; }
}


/* =========================================================================================
nursery(ALL)
=========================================================================================*/
/*SLIDER------------------------------*/
.nursery-slide{
    margin: 0;
    padding: 0;
    position: relative;
}
.nursery-slide .swiper-wrapper {
    width: 100%;
    max-height: 200vh;
    aspect-ratio: 4 / 2;
}
.nursery-slide .swiper-slide img{
    width: 100%;
    object-fit: cover;
    object-position:center;
}
.swiper-slide {
    position: relative;
}
body.ushioe .swiper-slide::before,
body.parent-pageid-64 .swiper-slide::before,
body.post-type-archive-ushioe .swiper-slide::before,
body.single-ushioe .swiper-slide::before,
body.tax-cat-ushioe .swiper-slide::before {
    position: absolute;
    content: '';
    display: inline-block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background-image: url("images/ushioe_contents_top.svg");
    background-size: cover;
    vertical-align: middle;
    background-repeat: no-repeat;
    z-index: 1;
}
body.kodakasa .swiper-slide::before,
body.parent-pageid-62 .swiper-slide::before,
body.post-type-archive-kodakasa .swiper-slide::before,
body.single-kodakasa .swiper-slide::before,
body.tax-cat-kodakasa .swiper-slide::before {
    position: absolute;
    content: '';
    display: inline-block;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 160px;
    background-image: url("images/kodakasa_contents_top.svg");
    background-size: cover;
    vertical-align: middle;
    background-repeat: no-repeat;
    z-index: 1;
}
body.minamimachi .swiper-slide::before,
body.parent-pageid-60 .swiper-slide::before,
body.post-type-archive-minamimachi .swiper-slide::before,
body.single-minamimachi .swiper-slide::before,
body.tax-cat-minamimachi .swiper-slide::before {
    position: absolute;
    content: '';
    display: inline-block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background-image: url("images/minamimachi_contents_top.svg");
    background-size: cover;
    vertical-align: middle;
    background-repeat: no-repeat;
    z-index: 1;
}
body.ushioe2 .swiper-slide::before,
body.parent-pageid-66 .swiper-slide::before,
body.post-type-archive-ushioe2 .swiper-slide::before,
body.single-ushioe2 .swiper-slide::before,
body.tax-cat-ushioe2 .swiper-slide::before  {
    position: absolute;
    content: '';
    display: inline-block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background-image: url("images/ushioe2_contents_top.svg");
    background-size: cover;
    vertical-align: middle;
    background-repeat: no-repeat;
    z-index: 1;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 140px!important;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap,10px)!important;
}
.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,10px))!important;
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,10px))!important;
    background-color: #fff!important;
    opacity: 1.0!important;
} 

@media only screen and (max-width:820px){
    .swiper {
        height: 410px;
    }
    .nursery-slide .swiper-wrapper {
        max-height:none;
        aspect-ratio:unset;
    }
    .nursery-slide .swiper-slide img {
        width: 100%;
        object-fit: cover;
        object-position: center;
        height: 410px;
    }
    body.kodakasa .swiper-slide::before,
    body.parent-pageid-62 .swiper-slide::before,
    body.post-type-archive-kodakasa .swiper-slide::before,
    body.single-kodakasa .swiper-slide::before,
    body.tax-cat-kodakasa .swiper-slide::before {
        background-image: url(images/kodakasa_contents_top.svg);
        background-size: 110% auto;
        background-position: bottom center;
    }
    body.ushioe .swiper-slide::before,
    body.parent-pageid-64 .swiper-slide::before,
    body.post-type-archive-ushioe .swiper-slide::before,
    body.single-ushioe .swiper-slide::before,
    body.tax-cat-ushioe .swiper-slide::before {
        background-image: url(images/ushioe_contents_top.svg);
        background-size: 110% auto;
        background-position: bottom center;
    }
    body.ushioe2 .swiper-slide::before,
    body.parent-pageid-66 .swiper-slide::before,
    body.post-type-archive-ushioe2 .swiper-slide::before,
    body.single-ushioe2 .swiper-slide::before,
    body.tax-cat-ushioe2 .swiper-slide::before {
        background-image: url(images/ushioe2_contents_top.svg);
        background-size: 110% auto;
        background-position: bottom center;
    }
    body.minamimachi .swiper-slide::before,
    body.parent-pageid-60 .swiper-slide::before,
    body.post-type-archive-minamimachi .swiper-slide::before,
    body.single-minamimachi .swiper-slide::before,
    body.tax-cat-minamimachi .swiper-slide::before {
        background-image: url(images/minamimachi_contents_top.svg);
        background-size: 110% auto;
        background-position: bottom center;
    }
    .nursery-header {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 1em;
        top: 210px;
    }
    .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom, .swiper-pagination-fraction {
    top: 320px!important;
}

}
@media only screen and (max-width:468px){
  
}

/*HEADER------------------------------*/
body[class*="page-template-page-temp-nursery"] .page-header h2,
body[class*="post-type-archive-ushioe"] .page-header h2,
body[class*="post-type-archive-kodakasa"] .page-header h2,
body[class*="post-type-archive-minamimachi"] .page-header h2,
body[class*="post-type-archive-ushioe2"] .page-header h2,
body.single-ushioe .page-header h2,
body.single-kodakasa .page-header h2,
body.single-minamimachi .page-header h2,
body.single-ushioe2 .page-header h2,
body[class*="tax-cat-"] .page-header h2 {
    margin-top: -90px;
}
body[class*="page-template-page-temp-nursery"] .page-header.full,
body[class*="post-type-archive-ushioe"] .page-header.full,
body[class*="post-type-archive-kodakasa"] .page-header.full,
body[class*="post-type-archive-minamimachi"] .page-header.full,
body[class*="post-type-archive-ushioe2"] .page-header.full,
body.single-ushioe .page-header.full,
body.single-kodakasa .page-header.full,
body.single-minamimachi .page-header.full,
body.single-ushioe2 .page-header.full,
body[class*="tax-cat-"] .page-header.full {
    height: 500px;
}

.nursery-header{
    position: absolute;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 1.0em;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 1;
    width: 100%;
}
.nursery-header .logo{
    width: auto;
    height: 85px;
}
.nursery-header .logo img {
    width: auto;
    height: 100%;
}
.nursery-header .logo h2{
    margin: 0;
}
.nursery-header .info{
    color: #694A26;
}
.nursery-header .info .post-code,
.nursery-header .info .address{
    display: inline-block;
}
.nursery-header .info .post-code{
    margin-right: 1.0em;
}
.nursery-header .info .tel {
    font-size: 2.0em;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.nursery-header .info .tel b{
    display: inline-block;
    font-size: 1.0rem;
    background: #FFF;
    padding: 0.25em 1.0em;
    border-radius: 100px ;
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
    font-weight: 500;
}
.nursery-header .sub-navi-content{
    width: 100%;
    margin-bottom: 2.0em;
}
.nursery-header .sub-navi-content ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.0em 2.0em;
}
@media only screen and (max-width:820px){
    .nursery-header{
        margin-top: 0;
        position: unset;
        transform:none;
    }

    body[class*="page-template-page-temp-nursery"] .page-header,
    body.post-type-archive-ushioe2 .page-header,
    body.single-ushioe2 .page-header,
    body.tax-cat-ushioe2 .page-header,
    body.post-type-archive-kodakasa .page-header,
    body.single-kodakasa .page-header,
    body.tax-cat-kodakasa .page-header,
    body.post-type-archive-ushioe .page-header,
    body.single-ushioe .page-header,
    body.tax-cat-ushioe .page-header,
    body.post-type-archive-minamimachi .page-header,
    body.single-minamimachi .page-header,
    body.tax-cat-minamimachi .page-header  { min-height: 250px; }

    body[class*="page-template-page-temp-nursery"] .page-header.full,
    body.post-type-archive-ushioe2 .page-header.full,
    body.single-ushioe2 .page-header.full,
    body.tax-cat-ushioe2 .page-header.full,
    body.post-type-archive-ushioe .page-header.full,
    body.single-ushioe .page-header.full,
    body.tax-cat-ushioe .page-header.full,
    body.post-type-archive-kodakasa .page-header.full,
    body.single-kodakasa .page-header.full,
    body.tax-cat-kodakasa .page-header.full,
    body.post-type-archive-minamimachi .page-header.full,
    body.single-minamimachi .page-header.full,
    body.tax-cat-minamimachi .page-header.full { height: auto; }

    body[class*="page-template-page-temp-nursery"] .page-header h2,
    body[class*="post-type-archive-ushioe"] .page-header h2,
    body[class*="post-type-archive-kodakasa"] .page-header h2,
    body[class*="post-type-archive-minamimachi"] .page-header h2,
    body[class*="post-type-archive-ushioe2"] .page-header h2,
    body.single-ushioe .page-header h2,
    body.single-kodakasa .page-header h2,
    body.single-minamimachi .page-header h2,
    body.single-ushioe2 .page-header h2,
    body[class*="tax-cat-"] .page-header h2 {margin-top: 0;}
    
    .nursery-header .logo{ margin-top: 20px;}
    .nursery-header .info .tel {margin-inline: auto;width: fit-content;}

    .nursery-header{ flex-wrap: wrap; gap: 15px; margin-bottom: 0; background: #FFFCE8;}

    .nursery-header .info{ text-align: center; width: 100%; background: #FFFCE8; padding: 0 2% 15px; }

    .ushioe .nursery-header, .parent-pageid-64 .nursery-header{ background: #FFF2F2; }

    .ushioe2 .nursery-header,
    .parent-pageid-66 .nursery-header,
    .post-type-archive-ushioe2 .nursery-header,
    .single-ushioe2 .nursery-header,
    .tax-cat-ushioe2 .nursery-header,
    .ushioe2 .nursery-header .info,
    .parent-pageid-66 .nursery-header .info,
    .post-type-archive-ushioe2 .info,
    .single-ushioe2 .info,
    .tax-cat-ushioe2 .info { background: #F8FFE8; }

    .ushioe .nursery-header,
    .parent-pageid-64 .nursery-header,
    .post-type-archive-ushioe .nursery-header,
    .single-ushioe .nursery-header,
    .tax-cat-ushioe .nursery-header,
    .ushioe .nursery-header .info,
    .parent-pageid-64 .nursery-header .info,
    .post-type-archive-ushioe .info,
    .single-ushioe .info,
    .tax-cat-ushioe .info { background: #FFF2F2; }

    .minamimachi .nursery-header,
    .parent-pageid-60 .nursery-header,
    .post-type-archive-minamimachi .nursery-header,
    .single-minamimachi .nursery-header,
    .tax-cat-minamimachi .nursery-header,
    .minamimachi .nursery-header .info,
    .parent-pageid-60 .nursery-header .info,
    .post-type-archive-minamimachi .info,
    .single-minamimachi .info,
    .tax-cat-minamimachi .info { background: #E5F8FC; }

    

}
@media only screen and (max-width:468px){
    
}

/*wrap nursery------------------------------*/
body[class*="page-template-page-temp-nursery"] .wrap_nursery {
    background: #fff;
}

/*Container------------------------------*/
body[class*="page-template-page-temp-nursery"] #container,
body[class*="page-template-page-temp-nursery"] #container,
body[class*="post-type-archive-"] #container,
body[class*="single-"] #container,
body[class*="tax-cat-"] #container  {
    margin: 0;
    padding: 0;
    padding-top: 0;
    background: none;
}


/*footer------------------------------*/
body[class*="page-template-page-temp-nursery"] #footer,
body.post-type-archive-ushioe #footer,
body.post-type-archive-kodakasa #footer,
body.post-type-archive-minamimachi #footer,
body.post-type-archive-ushioe2 #footer,
body.single-ushioe2 #footer,
body.single-kodakasa #footer,
body.single-minamimachi #footer,
body.single-ushioe2 #footer,
body.tax-cat-ushioe2 #footer,
body.tax-cat-kodakasa #footer ,
body.tax-cat-ushioe #footer ,
body.tax-cat-minamimachi #footer  {
    background: #CBF295;
}

/*Navigation------------------------------*/
.sub-navi-content ul {
    margin: 0 auto;
    padding-top: 40px;
    width: 900px;
}
.sub-navi-content ul.flex-box {
    gap: unset;
}
.sub-navi-content li {
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    width: 100%;
    line-height: 1.4;
}
.sub-navi-content li div {
    height: 115px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.sub-navi-content li div img {
    height: 85%;
}
.sub-navi-content li:nth-child(1) div img {
    height: 80%;
}
.sub-navi-content li:nth-child(3) div img {
    height: 70%;
}
.sub-navi-content li:nth-child(4) div img {
    height: 70%;
}

@media only screen and (max-width:820px){
    .sub-navi-content ul {
        width: 100%;
        flex-wrap: wrap;
        justify-content: start;
        padding-top: 0;
    }
    .sub-navi-content li { width:33.3%; margin-bottom: 15px; }
    .sub-navi-content li:nth-child(3) { background:none!important; }
}
@media only screen and (max-width:468px){
    
}

/*ARCHIVE------------------------------*/
body[class*="page-template-page-temp-nursery"] .archive-content{
    max-width: 1000px;
    margin: 40px auto 60px;
    padding-left: 0;
}
body[class*="page-template-page-temp-nursery"] .archive-content .inner{
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    border-radius: 30px;
}

body[class*="page-template-page-temp-nursery"] .archive-content .left-box {
    width: 300px;
    height: 100%;
    padding: 30px;
    border-radius: 30px 0 0 30px;
}
body[class*="page-template-page-temp-nursery"] .archive-content .inner h2{
    margin: 10px 0 60px;
    padding-bottom: 60px;
    background-image : url("images/title_nursery_news.svg");
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
body[class*="page-template-page-temp-nursery"] .archive-content .btn{
    position: relative;
    margin-inline: auto;
    width: fit-content;
}
body[class*="page-template-page-temp-nursery"] .archive-content .btn a{
    display: block;
}
body[class*="page-template-page-temp-nursery"] .archive-content .btn:after {/*画像を絶対配置*/
    position: absolute;
    content: '';
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    width: 166px;
    height: 41px;
    background-image: url("images/deco_nursery_01.svg");
    background-size: contain;
    background-repeat: no-repeat;
    }
body[class*="page-template-page-temp-nursery"] .post-list {
    margin: 0 auto;
    width: 570px;
}
.nursery-info .post-list,
.nursery-info-single .post-list {
    margin: 0 auto;
    width: 680px;
}
body[class*="page-template-page-temp-nursery"] .post-list ul li {
    padding: 0 0 5px 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    background:none;
    border-radius:unset;
    border-bottom: 2px dotted #707070;
}
body[class*="page-template-page-temp-nursery"] .post-list ul li .date {
    color: #FF7031;
    font-weight: bold;
    width: 17%;
}
body[class*="page-template-page-temp-nursery"] .title {
    width: 77%;
}
body[class*="page-template-page-temp-nursery"] .post-list .title a {
    color: #343434;
    display: block;
}
.nursery-info #sidebar,
.nursery-info-single #sidebar {
    width: 300px;
}

.nursery-info #sidebar h3,
.nursery-info-single #sidebar h3 {
    position: relative;
    text-align: center;
}
.nursery-info #sidebar h3:before,
.nursery-info-single #sidebar h3:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 4px;
    border-radius: 5px;
}
.nursery-info #sidebar ul li a,
.nursery-info-single #sidebar ul li a {
    padding: 5px;
    display: block;
}

.nursery-info #main .post-list ul li,
.nursery-info-single .post-wrap {
    padding: 0;
    background: none;
}

.nursery-info #main .post-list .post-contents,
.nursery-info-single #main .entry-content {
    margin: 0 auto;
    width: 95%;
}
.nursery-info #main .post-list .post-contents ul,
.nursery-info-single #main .entry-content ul {
    margin: 20px 0 20px 30px;
}
.nursery-info #main .post-list .post-contents li,
.nursery-info-single #main .entry-content li {
    list-style:disc;
}
.nursery-info #main .post-list .post-contents a,
.nursery-info-single #main .entry-content a {
    text-decoration: underline;
}
.nursery-info #main .post-list .post-contents a:hover,
.nursery-info-single #main .entry-content a:hover {
    text-decoration: none;
}
.wrap_nursery article #sidebar a {
    text-decoration:none;
}
.nursery-info-single #main .entry-content>.inner {
    margin-top: 0;
    width: 100%;
}
.nursery-info #main .post-list .flex-box,
.nursery-info-single #main .entry-header .flex-box {
    position: relative;
}
.nursery-info #main .post-list .flex-box:before,
.nursery-info-single #main .entry-header .flex-box:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background-color: #f2f2f2;
}
.nursery-info #main .post-list ul li .cat,
.nursery-info-single #main .entry-header ul li .cat {
    width: fit-content;
    height: auto;
    text-align: center;
}
.nursery-info #main .post-list .post-contents img,
.nursery-info-single #main .entry-content img {
    margin: 30px 0;
    border-radius: 30px;
}
.nursery-info .pagination .page-numbers,
.nursery-info-single .pagination .page-numbers {
    margin-bottom: 60px;
}
.nursery-info .pagination .page-numbers li:first-child a,
.nursery-info .pagination .page-numbers li:last-child a {
    border: none!important;
    color: #343434!important;
}

@media only screen and (max-width:820px){
    .nursery-info #sidebar, .nursery-info-single #sidebar {
        width: 100%;
    }
    .single .single-navi {
        
    }
}



/*Article------------------------------*/
body[class*="page-template-page-temp-nursery"] article,
.nursery-info article,
.nursery-info-single article {
    max-width: unset;
    position: relative;
    width: 100%;
}
body[class*="page-template-page-temp-nursery"] article.bg-white,
.nursery-info article.bg-white,
.nursery-info-single article.bg-white  {
    padding-bottom: 10px;
    border-radius: 0;
}
body[class*="page-template-page-temp-nursery"] article::before,
.nursery-info article::before,
.nursery-info-single article::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 74px;
    background-size: auto;
    vertical-align: middle;
    background-repeat: repeat-x;
}

.wrap_nursery #main h3 {
    padding: 10px 15px;
    border-radius: 10px;
    font-size: var(--21px);
}

@media only screen and (max-width:820px){
    body[class*="page-template-page-temp-nursery"] article::before, .nursery-info article::before, .nursery-info-single article::before {
        height: 40px;
    }
    body.single section.entry-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    body.single section.entry-content .post-wrap {
        
        padding: 100px 0 0;
    }
}


/*entry content------------------------------*/
body[class*="page-template-page-temp-nursery"] .entry-content .inner,
.nursery-info .entry-content .inner {
    margin: 60px auto;
    width: 1000px;
}
.nursery-info-single .entry-content .inner {
    margin-top: 60px;
    width: 1000px;
}
.nursery-info-single .entry-content .inner #main {
    width: 700px;
}

body[class*="page-template-page-temp-nursery"] .entry-content h3 {
    padding: 10px;
    text-align: center;
    font-size: var(--28px);
    border-radius: 10px;
}
body[class*="page-template-page-temp-nursery"] .entry-content .inner>.box {
    padding: 0 30px;
    line-height: 2;
}
body[class*="page-template-page-temp-nursery"] .entry-content .inner>.box p:not(:last-child) {
    margin-bottom: 20px;
}

@media only screen and (max-width:820px){
    body[class*="page-template-page-temp-nursery"] .entry-content .flex-box,
    .nursery-info .entry-content .flex-box,
    body.single-ushioe2 .entry-content .flex-box,
    body.single-ushioe .entry-content .flex-box,
    body.single-minamimachi .entry-content .flex-box,
    body.single-kodakasa .entry-content .flex-box {
        display: block;
    }
    body[class*="page-template-page-temp-nursery"] .entry-content .inner,
    .nursery-info .entry-content .inner {
        margin-top: 30px;
        width: 100%;
    }
    .nursery-info-single .entry-content .inner {
        margin-top: 0;
        width: 100%;
    }
    .nursery-info-single .entry-content .inner #main {
        width: 100%;
    }

}

@media only screen and (max-width:820px) {
    body[class*="page-template-page-temp-nursery"] .entry-content h3 {
        padding: 5px;
        font-size: var(--22px);
    }
}

@media only screen and (max-width:468px){
    .link-content li{ width: 100%; }
    .link-content::after { width:100%; }
}

/*LINK------------------------------*/
.link-content {
    position: relative;
}
.link-content::after {
    position: absolute;
    content: '';
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    width: 413px;
    height: 122px;
    background-image: url("images/deco_nursery_02.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.link-content ul{
    padding: 150px 0 80px;
    display: flex;
    flex-wrap: wrap;
    gap:50px;
    justify-content: center;
    align-items: top;
}
.link-content li{
    width: calc((100% - 100px) / 3);
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}
.link-content li img{
    object-fit: cover;
    object-position: top;
    aspect-ratio: 17 / 15;
    width: 100%;
}
.link-content li h3{
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
    margin: 0;
    padding: 0.75em;
    background: no-repeat bottom ;
    background-size: contain;
    text-indent: -9999px;
}
.link-content li.intro h3{ background-image: url(images/page/title_intro.svg); }
.link-content li.life h3{ background-image: url(images/page/title_life.svg); }
.link-content li.guidance h3{ background-image: url(images/page/title_guidance.svg); }

@media only screen and (max-width:820px){
    .link-content li{ width: calc((100% - 50px) / 2); }
    .nursery-info .post-list {width: 100%;}
    body[class*="page-template-page-temp-nursery"] #footer, body.post-type-archive-ushioe #footer {}
    body[class*="page-template-page-temp-nursery"] .archive-content .btn{ margin-top: 20px;} 
    body[class*="page-template-page-temp-nursery"] .entry-content .inner>.box { padding: 0px; }
    body[class*="page-template-page-temp-nursery"] .archive-content .left-box { width: 100%; margin: 0 auto; padding: 0;}
    body[class*="page-template-page-temp-nursery"] .archive-content .inner { padding: 7%;}
    body[class*="page-template-page-temp-nursery"] .archive-content .inner h2 { padding-bottom: 0px; margin: 0;}
    body[class*="page-template-page-temp-nursery"] .post-list ul li .date {width: 100%;}
    body[class*="page-template-page-temp-nursery"] .archive-content{margin: 0px 20px 60px; padding-top: 20px; padding-left: 20px;}
    body[class*="page-template-page-temp-nursery"] .post-list {margin: 16px auto 0;}
    body[class*="page-template-page-temp-nursery"] article.bg-white, .nursery-info article.bg-white { padding-top:64px; }
    .link-content::after { 
        height: 90px;
        background-position: center;
    }
    .box.events p, .box.gallery p {
        margin-bottom: 30px;
        line-height: 1.5;
        font-size: var(--15px);
    }
    
}
@media only screen and (max-width:468px){
    .link-content li{ width: 100%; }
    .link-content::after { width:100%; }
}
/*FOOTER------------------------------*/
.sub-footer-content{
    background-image: url("images/bg_footer_nursery_kusa.svg"), url("images/bg_footer_nursery.svg");
    background-position: left top 100px,left top;
    background-size: 80% auto, cover;
    background-repeat: repeat-x, no-repeat;
    background-color: #fff;
}
.sub-footer-content .inner{
    padding: 30px 0 20px;
    max-width: 770px;
    position: relative;
}
.sub-footer-content .inner::before {
    position: absolute;
    content: '';
    top: 50px;
    left: -200px;
    display: block;
    width: 184px;
    height: 82px;
    background-image: url("images/deco_07.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.sub-footer-content .inner::after {
    position: absolute;
    content: '';
    top: 70px;
    right: -200px;
    display: block;
    width: 184px;
    height: 80px;
    background-image: url("images/deco_08.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.sub-footer-content .inner .flex-box {
    padding-bottom: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: unset;
    gap: 50px;
    align-items: center;
}
.sub-footer-content .logo{
    max-width: 200px;
}
.sub-footer-content .info {
    line-height: 1.5;
}
.sub-footer-content .info .post-code,
.sub-footer-content .info .address{
    display: inline-block;
}
.sub-footer-content .info .post-code{
    margin-right: 1.0em;
}
.sub-footer-content .info .tel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.sub-footer-content .info .tel span:first-child::after{
    content: "／";
}
.sub-footer-content .sub-footer-navi{
    width: 100%;
    background: url("images/bg_footer_nursery_line.svg") repeat-x top left;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
    font-weight: 500;
    font-size: var(--18px);
}
.sub-footer-content .sub-footer-navi li a {
    padding-bottom: 3px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: .3s;
}
.sub-footer-content .sub-footer-navi li a::after {
    position: absolute;
    bottom: 10px;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    border-radius: 10px;
    color: #343434;
    background-color: #343434;
    opacity: 0;
    transition: .3s;
}
.sub-footer-content .sub-footer-navi li a:hover {
    color: #343434;
}
.sub-footer-content .sub-footer-navi li a:hover::after {
    bottom: 0;
    opacity: 1;
}
@media only screen and (max-width:820px){
    .sub-footer-content .sub-footer-navi {gap: 10px;}
    .sub-footer-content .inner{ justify-content: center; padding: 0; }
    .sub-footer-content .logo {max-width: 180px;}
    .sub-footer-content { background-image: url("images/bg_footer_nursery_sp.svg"); background-size: cover; background-position: top; padding: 150px 0 30px;}
    .sub-footer-content .sub-footer-navi{ background: initial; flex-flow: column; padding-top: 150px;}
    .sub-footer-content .inner .flex-box {flex-flow: column; gap: 0;}
    .sub-footer-content .inner::after {content: initial;}
    .sub-footer-content .info { background: none;}
    .sub-footer-content .info .tel{ flex-flow: column; align-items: normal;}
    .sub-footer-content .info .tel span {text-align: center;}
    .sub-footer-content .info .tel span:first-child::after {display: none;}
}
@media only screen and (max-width:468px){

}

/*リストマーク------------------------------*/
body[class*="page-template-page-temp-nursery"] .wrap_nursery article .box:not(.history, .events, .gallery) li {
    list-style-type: none;
    position: relative;
    padding-left: 20px;
    margin:  0 0 10px 10px;
}

body[class*="page-template-page-temp-nursery"] .wrap_nursery article .box:not(.histor, .events, .gallery) li:before {
    border-radius: 50%;
    width: 8px;
    height: 8px;
    display: block;
    position: absolute;
    left: 0;
    top:0.5lh;
    translate:0 -50%;
    content: "";
}
body[class*="page-template-page-temp-nursery"] .wrap_nursery article li:last-child {
    margin-bottom: 0;
}

/*画像------------------------------*/
.box .image img , .box .main-image img {
    object-fit: cover;
    aspect-ratio: 3 / 2;
    width: 100%;
    border-radius: 30px;
}
@media only screen and (max-width:820px){
    body[class*="page-template-page-temp-nursery"] .wrap_nursery article .box:not(.histor, .events, .gallery) li:before {
        top: 16px;
    }
}
@media only screen and (max-width:468px){

}
/*給庭開放------------------------------*/
.garden{
    display: flex;
    flex-wrap: nowrap;
    align-items: start;
    gap: 50px;
}
.garden .text{
    width: calc( 60% - 50px );
}
.garden .image{
    width: 40%;
}
@media only screen and (max-width:820px){
    .garden{ flex-wrap: wrap;}
    .garden .text{ width: 100%; }
    .garden .image{ width: 100%; }
}
@media only screen and (max-width:468px){

}

/*利用可能サービス------------------------------*/
.service table tr th{
    text-align: center;
}
.service table tr:nth-child(1) th{
    background-color: #E2E2E2;
}
.service table tr:nth-child(1) th:nth-child(2){
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}
.service table td:nth-child(2){
    border-right: 1px solid #ddd;
    text-align: center;
}
.service table td:nth-child(3){
    line-height: 1.6;
}

/*給食について------------------------------*/
.school_lunch{
    display: flex;
    flex-wrap: nowrap;
    align-items: start;
    gap: 50px;
}
.school_lunch .text{
    width: calc( 60% - 50px );
}
.school_lunch .image{
    width: 40%;
}
@media only screen and (max-width:820px){
    .school_lunch{ flex-wrap: wrap;}
    .school_lunch .text{ width: 100%; }
    .school_lunch .image{ width: 100%; }
}
@media only screen and (max-width:468px){

}
/*園の概要------------------------------*/
.overview table{
    border: none;
}
.overview th{
    background: none;
    white-space: nowrap;
}
.overview th {
    color: #694A26;
    letter-spacing: 0.1em;
}

@media only screen and (max-width:820px){

}
@media only screen and (max-width:468px){

}
/*アクセスマップ------------------------------*/
.map iframe{
    width: 100% !important;
    height: 400px;
}
@media only screen and (max-width:820px){

}
@media only screen and (max-width:468px){
    .map iframe{ height: 300px !important; }
}
/*沿革-----------------------------*/
.history table{
    border: none;
}
.history th , .history td{
    border-bottom: none;
}
.history th{
    width: 200px;
    text-align: right;
    background: none;
    white-space: nowrap;
}
@media only screen and (max-width:820px){

}
@media only screen and (max-width:468px){

}
/*園の一日------------------------------*/
.day-schedule{
    display: flex;
    flex-wrap: nowrap;
    align-items: start;
    gap: 50px;
}
.day-schedule .timebox {
    display: flex;
    gap: 20px;

    border-bottom: 2px dashed #C7C7C7;
}

.day-schedule .timebox:not(:first-child){
    padding-top: 10px;
}
.day-schedule .clock {
    width: 50px;

}
.day-schedule .time {
    padding-bottom: 10px;
    width: 4em;
    padding-top: 15px;
    font-weight: bold;
    line-height: 1.5;
}
.day-schedule .text{
    padding-top: 10px;
    width: calc( 70% - 50px );
}
.day-schedule .text p.comment{
    margin: 10px 0 20px;
    padding: 10px;
    border-radius: 10px;
    background-color: #FFFAD5;
    font-size: var(--15px);
    line-height: 1.5;
}
.day-schedule .text table{
    margin: 0;
    border: none;
}
.day-schedule .text th{
    width: 200px;
    background: none;
    white-space: nowrap;
}
.day-schedule .image{
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 1.0em;
}
.day-schedule .image img{
    height: 230px;
}
@media only screen and (max-width:820px){
    .day-schedule .timebox {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        grid-template-columns: 70px
        }
        
    .timebox .clock { grid-area: 1 / 1 / 3 / 2; padding-top: 5px; }
    .timebox .time { grid-area: 1 / 2 / 2 / 3;  white-space: nowrap}
    .timebox .text { grid-area: 2 / 2 / 3 / 3; }


    .day-schedule{ flex-wrap: wrap;}
    .day-schedule .text{ width: 100%; padding-bottom:10px; padding-top:0; }
    .day-schedule .image{ width: 100%; flex-direction:row; gap: 20px; flex-wrap: wrap;}
    .day-schedule .image img { width: calc( (100% - 50px) / 2 ); }
    .day-schedule .time {
        padding-bottom: 0;
    }
    body[class*="page-template-page-temp-nursery"] .entry-content .inner > .box p:not(:last-child) {
        margin-bottom: 0;
    }
}
@media only screen and (max-width:468px){
    .day-schedule .image img { width: calc((100% - 20px) / 2);height: auto; }
}



/*年間行事-----------------------------*/
.events .text ul, .events .image ul{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}
.events .text ul::after,.events .image ul::after  {
    display: block;
    content:"";
    width: calc((100% - 60px) / 3);
    }
.events .text li, .events .image li{
    width: calc((100% - 60px) / 3);
    text-align: center;
}
.events .text li{
    padding: 30px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: var(--18px);
}
.events .text li.april h4 {
    background-image : url("images/event_illust_4_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.april {
    background: url("images/event_illust_4.svg") no-repeat #E7FFDE left 10px top 10px;
}
.events .text li.may h4 {
    background-image : url("images/event_illust_5_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.may {
    background: url("images/event_illust_5.svg") no-repeat #E7FFDE left 10px top 10px;
}
.events .text li.june h4 {
    background-image : url("images/event_illust_6_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.june {
    background: url("images/event_illust_6.svg") no-repeat #E7FFDE left 10px top 10px;
}
.events .text li.july h4 {
    background-image : url("images/event_illust_7_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.july {
    background: url("images/event_illust_7.svg") no-repeat #E8FBFF left 10px top 10px;
}
.events li.august h4 {
    background-image : url("images/event_illust_8_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.august {
    background: url("images/event_illust_8.svg") no-repeat #E8FBFF left 10px top 10px;
}
.events .text li.september h4 {
    background-image : url("images/event_illust_9_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.september {
    background: url("images/event_illust_9.svg") no-repeat #E8FBFF left 10px top 10px;
}
.events .text li.october h4 {
    background-image : url("images/event_illust_10_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.october {
    background: url("images/event_illust_10.svg") no-repeat #FFF8E0 left 10px top 10px;
}
.events .text li.november h4 {
    background-image : url("images/event_illust_11_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.november {
    background: url("images/event_illust_11.svg") no-repeat #FFF8E0 left 10px top 10px;
}
.events .text li.december h4 {
    background-image : url("images/event_illust_12_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.december {
    background: url("images/event_illust_12.svg") no-repeat #FFF8E0 left 10px top 10px;
}
.events .text li.january h4 {
    background-image : url("images/event_illust_1_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.january {
    background: url("images/event_illust_1.svg") no-repeat #F7EDFF left 10px top 10px;
}
.events .text li.february h4 {
    background-image : url("images/event_illust_2_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.february {
    background: url("images/event_illust_2.svg") no-repeat #F7EDFF left 10px top 10px;
}
.events .text li.march h4 {
    background-image : url("images/event_illust_3_month.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.events .text li.march {
    background: url("images/event_illust_3.svg") no-repeat #F7EDFF left 10px top 10px;
}
.events .other table {
    width: fit-content;
}

@media only screen and (max-width:820px){
    .page-template-page-temp-nursery-life .other table th, .page-template-page-temp-nursery-life .other table td { display: block; }
    .events .text li , .events .image li{ width: calc((100% - 30px) / 2); }
}
@media only screen and (max-width:468px){
    .events .text li , .events .image li{ width: 100%; }
}


/*ギャラリー系-----------------------------*/
.gallery .main-image{
    margin-bottom: 50px;
}
.gallery .image ul{
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 50px;
}
.gallery .image li{
    width: calc((100% - 50px) / 2);
    text-align: center;
}
@media only screen and (max-width:820px){

}
@media only screen and (max-width:468px){
    .gallery .image li{ width: 100%; }
}


/* =========================================================================================
guidance
=========================================================================================*/
body.guidance .list_h3 {
    display: none;
}
body.guidance .guidance-header {
    background: url("images/guidance_contents_top.svg")no-repeat center top;
    background-size: cover;
    height: 180px;
    display: flex;
    justify-content: center;
}
body.guidance .guidance-header h2 {
    background-image : url("images/guidance_title.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 362px;
    height: 58px;
    margin-top: 100px;
}
body.guidance #container {
    padding-bottom: 0;
}
body.guidance .wrap_guidance {
    background: url("images/guidance_contents_bottom.svg") repeat-x #fff top left;
    background-size: auto 50px;
    position: relative;
}
body.guidance .wrap_guidance::after {
    position: absolute;
    content: '';
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    width: 413px;
    height: 122px;
    background-image: url("images/deco_nursery_02.svg");
    background-size: contain;
    background-repeat: no-repeat;
 }
body.guidance .read_text {
    text-align: center;
}
body.guidance article {
    padding: 200px 0 250px;
    max-width: unset;
    width: 100%; 
    background: url("images/bg_guidance_footer.svg") no-repeat bottom left;
    background-size: 100%;
}
body.guidance article .entry-content h3 {
    padding: 10px;
    text-align: center;
    font-size: var(--28px);
    border-radius: 10px;
    background-color: #F4EAFA;
}
body.guidance article .entry-content h3:not(:first-child) {
    margin-top: 50px;
}
body.guidance article .entry-content p {
    padding: 0 30px;
}
body.guidance article .entry-content p:not(:first-child) {
    margin-top: 20px;
}
body.guidance #footer {
    background-color: #CBF295;
}
body.guidance p.tel {
    font-size: var(--22px);
}
@media only screen and (max-width:820px){
        body.guidance .wrap_guidance::after { width: 100%; }
        body.guidance article {
        padding: 200px 0 250px;
        max-width: unset;
        width: 100%;
        background: url(images/bg_guidance_footer_sp.svg) no-repeat bottom left;
        background-size: 100%;
    }
    body.guidance .wrap_guidance .list {
        margin-bottom: 60px;
    }
    body.guidance .wrap_guidance::after {
        background-size: 70%;
        background-position: center;
    }
    body.guidance article .entry-content h3 {
        padding: 6px;
        font-size: var(--24px);
    }
}
@media only screen and (max-width:468px){

}


/* =========================================================================================
recruit
=========================================================================================*/
body.bosyu .list_h3  {
    display: none;
}
body.bosyu article .entry-content h3 {
    padding: 10px;
    text-align: center;
    font-size: var(--28px);
    border-radius: 10px;
    background-color: #F4EAFA;
}
body.bosyu .recruit-header  {
    background: url("images/guidance_contents_top.svg")no-repeat center top;
    background-size: cover;
    height: 180px;
    display: flex;
    justify-content: center;
}
body.bosyu .recruit-header h2 {
    background-image : url("images/recruit_title.svg");
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 362px;
    height: 58px;
    margin-top: 100px;
}
body.bosyu #container {
    padding-bottom: 0;
}
body.bosyu .wrap_recruit {
    background: url("images/guidance_contents_bottom.svg") repeat-x #fff top left;
    background-size: auto 50px;
    position: relative;
}
body.bosyu .wrap_recruit::after {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    width: 410px;
    height: 100%;
    background-image: url("images/deco_nursery_recruit.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
body.bosyu .read_text {
    text-align: center;
}
body.bosyu article {
    padding: 200px 0 250px;
    max-width: unset;
    width: 100%; 
    background: url("images/bg_guidance_footer.svg") no-repeat bottom left;
    background-size: 100%;
}
body.bosyu .entry-content h3 {
    padding: 10px;
    text-align: center;
    font-size: var(--28px);
    border-radius: 10px;
    background-color: #F4EAFA;
}
body.bosyu .entry-content h3:not(:first-child) {
    margin-top: 50px;
}
body.bosyu article .entry-content p {
    padding: 0 30px;
}
body.bosyu article .entry-content p:not(:first-child) {
    margin-top: 20px;
}
body.bosyu #footer {
    background-color: #CBF295;
}
body.bosyu p.tel {
    font-size: var(--22px);
}
body.bosyu  h4.wp-block-heading {
    color: var(--main-color);
    width: 96%;
    margin: 0 auto 10px;
}
body.bosyu table {
    width: 96%;
    margin: 0 auto;
}


@media only screen and (max-width:820px){
    body.bosyu .wrap_recruit::after {
            width: 80%;
        }
        body.bosyu article {
        padding: 200px 0 250px;
        max-width: unset;
        width: 100%;
        background: url(images/bg_guidance_footer_sp.svg) no-repeat bottom left;
        background-size: 100%;
    }
    body.bosyu .wrap_recruit .list {
        margin-bottom: 60px;
    }
    body.bosyu article .entry-content h3 {
        padding: 6px;
        font-size: var(--24px);
    }
    body.bosyu .wp-block-table table th,
    body.bosyu .wp-block-table table td {
        display: block;
    }
}
@media only screen and (max-width:468px){

}


/* =========================================================================================
kodakasa
=========================================================================================*/
body.kodakasa .wrap_nursery,
body.post-type-archive-kodakasa .wrap_nursery,
body.single-kodakasa .wrap_nursery,
body.tax-cat-kodakasa .wrap_nursery { background: #FFFCE8; }
body.kodakasa .swiper-pagination-bullet-active {
    background: var(--kodakasa)!important;
}

body.kodakasa .sub-navi-content,
body.parent-pageid-62 .sub-navi-content,
body.post-type-archive-kodakasa .sub-navi-content,
body.single-kodakasa .sub-navi-content,
body.tax-cat-kodakasa .sub-navi-content {
    background-color: #FFFCE8;
}
body.kodakasa .sub-navi-content li:not(:last-child),
body.parent-pageid-62 .sub-navi-content li:not(:last-child),
body.post-type-archive-kodakasa .sub-navi-content li:not(:last-child),
body.single-kodakasa .sub-navi-content li:not(:last-child),
body.tax-cat-kodakasa .sub-navi-content li:not(:last-child) {
    background: url("images/nursery_navi_line_kodakasa.svg") no-repeat right top;
}
body.kodakasa .sub-navi-content li a:hover,
body.parent-pageid-62 .sub-navi-content li a:hover,
body.post-type-archive-kodakasa .sub-navi-content li a:hover,
body.single-kodakasa .sub-navi-content li a:hover,
body.tax-cat-kodakasa .sub-navi-content li a:hover {
    color: #FFAB24;
}
body.kodakasa .archive-content .inner {
    background: linear-gradient(90deg, #FFF291 0%, #FFF291 32%, #fff 32%, #fff 100%);
}
body.kodakasa article, body[class*="page-template-page-temp-nursery"] article {
    max-width: unset;
    width: 100%;
    background-color: #fff;
    position: relative;
}
body.kodakasa article::before, body.parent-pageid-62 article::before,
body.post-type-archive-kodakasa article::before,
body.single-kodakasa article::before,
body.tax-cat-kodakasa article::before  {
    background-image: url("images/kodakasa_contents_bottom.svg");
}
body.parent-pageid-62 .entry-content h3,
body.post-type-archive-kodakasa #main h3,
body.single-kodakasa #main h3,
body.tax-cat-kodakasa #main h3 {
    background-color: #FFF291;
}
body.post-type-archive-kodakasa #main h3,
body.single-kodakasa #main h3,
body.tax-cat-kodakasa #main h3 {
    font-size: var(--24px);
}
body.parent-pageid-62 .overview th, body.parent-pageid-62 .overview td {
    border-bottom: 2px dashed #FFAB24;
}
body.parent-pageid-62 .overview tr:last-child th {
    border-bottom: 2px dashed #FFAB24;
}
body.parent-pageid-62 .day-schedule .time {
    color: #FFAB24;
}
body.post-type-archive-kodakasa .nursery-info #sidebar h3:before,
body.single-kodakasa .nursery-info #sidebar h3:before,
body.single-kodakasa .nursery-info-single #sidebar h3:before,
body.tax-cat-kodakasa #sidebar h3:before {
    background: var(--kodakasa);
}
body.post-type-archive-kodakasa .nursery-info #sidebar ul li,
body.single-kodakasa .nursery-info #sidebar ul li,
body.single-kodakasa .nursery-info-single #sidebar ul li,
body.tax-cat-kodakasa #sidebar ul li {
    border-bottom: 2px dashed var(--kodakasa);
}
body.post-type-archive-kodakasa .nursery-info .pagination .page-numbers li a,
body.post-type-archive-kodakasa .nursery-info .pagination .page-numbers li span,
body.post-type-archive-kodakasa .nursery-info .pagination .page-numbers li .current,
body.tax-cat-kodakasa .nursery-info .pagination .page-numbers li a,
body.tax-cat-kodakasa .nursery-info .pagination .page-numbers li span,
body.tax-cat-kodakasa .nursery-info .pagination .page-numbers li .current {
    color: #FFAB24;
    border: 1px solid #FFAB24;
}
body.post-type-archive-kodakasa .nursery-info .pagination .page-numbers li .current,
body.tax-cat-kodakasa .nursery-info .pagination .page-numbers li .current {
    color: #fff;
    background: #FFAB24;
}
body.post-type-archive-kodakasa .nursery-info #sidebar ul li a:hover,
body.single-kodakasa .nursery-info-single #sidebar ul li a:hover,
body.tax-cat-kodakasa #sidebar ul li a:hover {
    color: #FFAB24;
}
body.kodakasa .archive-content .post-list .title a:hover,
body.single-kodakasa .nursery-info-single .post-list .title a:hover,
body.tax-cat-kodakasa .nursery-info-single .post-list .title a:hover {
    color: #FFAB24;
}
body.post-type-archive-kodakasa .page-header,
body.single-kodakasa .page-header,
body.tax-cat-kodakasa .page-header {
    background: url("images/kodakasa_pho_head_04.jpg") no-repeat center;
    background-size: cover;
}
body.parent-pageid-62 .wrap_nursery article a:hover,
body.post-type-archive-kodakasa .wrap_nursery article a:hover,
body.single-kodakasa .wrap_nursery article a:hover,
body.tax-cat-kodakasa .wrap_nursery article a:hover {
    color: var(--kodakasa);
    text-decoration: none;
}
body.parent-pageid-62 .wrap_nursery article .box:not(.history, .events, .gallery) li:before {
    background-color: #FFAB24;
}

body.post-type-archive-kodakasa .cat a,
body.single-kodakasa .cat a,
body.tax-cat-kodakasa .cat a {
    padding: 0 20px;
    border-radius: 50px;
    border: 1px solid var(--kodakasa);
  }

@media only screen and (max-width:820px){
    body.kodakasa .archive-content .inner {
        background: rgb(255,242,145);
        background: linear-gradient(180deg, #FFF291 0%, #FFF291 90px, #fff 90px, #fff 100%);
    }
    body.post-type-archive-kodakasa .page-header,
    body.single-kodakasa .page-header,
    body.tax-cat-kodakasa .page-header {
        background-size: cover;
    }
}
@media only screen and (max-width:468px){

}

/* =========================================================================================
ushioe
=========================================================================================*/
body.ushioe .wrap_nursery,
body.post-type-archive-ushioe .wrap_nursery,
body.single-ushioe .wrap_nursery,
body.tax-cat-ushioe .wrap_nursery { background: #FFF2F2; }
body.ushioe .swiper-pagination-bullet-active,
body.single-ushioe .wrap_nursery {
    background: var(--ushioe)!important;
}
body.ushioe .sub-navi-content,
body.parent-pageid-64 .sub-navi-content,
body.post-type-archive-ushioe .sub-navi-content,
body.single-ushioe .sub-navi-content,
body.tax-cat-ushioe .sub-navi-content {
    background-color: #FFF2F2;
}
body.ushioe .sub-navi-content li:not(:last-child),
body.parent-pageid-64 .sub-navi-content li:not(:last-child),
body.post-type-archive-ushioe .sub-navi-content li:not(:last-child),
body.single-ushioe .sub-navi-content li:not(:last-child),
body.tax-cat-ushioe .sub-navi-content li:not(:last-child) {
    background: url("images/nursery_navi_line_ushioe.svg") no-repeat right top;
}
body.ushioe .sub-navi-content li a:hover,
body.parent-pageid-64 .sub-navi-content li a:hover,
body.post-type-archive-ushioe .sub-navi-content li a:hover,
body.single-ushioe .sub-navi-content li a:hover,
body.tax-cat-ushioe .sub-navi-content li a:hover {
    color: var(--ushioe);
}
body.ushioe .archive-content .inner {
    background: linear-gradient(90deg, #FFC4C4 0%, #FFC4C4 32%, #fff 32%, #fff 100%);
}
body.ushioe article,
body[class*="page-template-page-temp-nursery"] article,
.nursery-info article {
    max-width: unset;
    width: 100%;
    background-color: #fff;
    position: relative;
}
body.ushioe article::before,
body.parent-pageid-64 article::before,
body.post-type-archive-ushioe article::before,

body.single-ushioe article::before,
body.tax-cat-ushioe article::before {
    background-image: url("images/ushioe_contents_bottom.svg");
}
body.parent-pageid-64 .entry-content h3,
body.post-type-archive-ushioe #main h3,
body.single-ushioe #main h3,
body.tax-cat-ushioe #main h3 {
    background-color: #FFC4C4;
}
body.post-type-archive-ushioe #main h3,
body.single-ushioe #main h3,
body.tax-cat-ushioe #main h3 {
    font-size: var(--24px);
}
body.parent-pageid-64 .overview th, body.parent-pageid-64 .overview td {
    border-bottom: 2px dashed var(--ushioe);
}
body.parent-pageid-64 .overview tr:last-child th {
    border-bottom: 2px dashed var(--ushioe);
}
body.parent-pageid-64 .day-schedule .time {
    color: var(--ushioe);
}
body.post-type-archive-ushioe .nursery-info #sidebar h3:before,
body.single-ushioe .nursery-info #sidebar h3:before,
body.single-ushioe .nursery-info-single #sidebar h3:before,
body.tax-cat-ushioe #sidebar h3:before {
    background: var(--ushioe);
}
body.post-type-archive-ushioe .nursery-info #sidebar ul li,
body.single-ushioe .nursery-info #sidebar ul li,
body.single-ushioe .nursery-info-single #sidebar ul li,
body.tax-cat-ushioe #sidebar ul li  {
    border-bottom: 2px dashed var(--ushioe);
}
body.post-type-archive-ushioe .nursery-info .pagination .page-numbers li a,
body.post-type-archive-ushioe .nursery-info .pagination .page-numbers li span,
body.post-type-archive-ushioe .nursery-info .pagination .page-numbers li .current,
body.tax-cat-ushioe .nursery-info .pagination .page-numbers li a,
body.tax-cat-ushioe .nursery-info .pagination .page-numbers li span,
body.tax-cat-ushioe .nursery-info .pagination .page-numbers li .current {
    color: var(--ushioe);
    border: 1px solid var(--ushioe);
}
body.post-type-archive-ushioe .nursery-info .pagination .page-numbers li .current,
body.tax-cat-ushioe .nursery-info .pagination .page-numbers li .current {
    color: #fff;
    background: var(--ushioe);
}
body.post-type-archive-ushioe .nursery-info #sidebar ul li a:hover,
body.single-ushioe .nursery-info-single #sidebar ul li a:hover,
body.tax-cat-ushioe #sidebar ul li a:hover {
    color: var(--ushioe);
}
body.ushioe .archive-content .post-list .title a:hover,
body.single-ushioe .nursery-info-single .post-list .title a:hover,
body.tax-cat-ushioe .post-list .title a:hover {
    color: var(--ushioe);
}
body.post-type-archive-ushioe .page-header,
body.single-ushioe .page-header,
body.tax-cat-ushioe .page-header {
    background: url("images/ushioe_pho_head_04.jpg") no-repeat center;
    background-size: cover;
}
body.parent-pageid-64 .wrap_nursery article a:hover,
body.post-type-archive-ushioe .wrap_nursery article a:hover,
body.single-ushioe .wrap_nursery article a:hover,
body.tax-cat-ushioe .wrap_nursery article a:hover {
    color: var(--ushioe);
    text-decoration: none;
}
body.parent-pageid-64 .wrap_nursery article .box:not(.history, .events, .gallery) li:before {
    background-color: var(--ushioe);
}

body.post-type-archive-ushioe .cat a,
body.single-ushioe .cat a,
body.tax-cat-ushioe .cat a {
    padding: 0 20px;
    border-radius: 50px;
    border: 1px solid var(--ushioe);
}

@media only screen and (max-width:820px){
    body.ushioe .archive-content .inner {
        background: linear-gradient(180deg, #FFC4C4 0%, #FFC4C4 100px, #fff 100px, #fff 100%);
    }
    body.post-type-archive-ushioe .page-header,
    body.single-ushioe .page-header,
    body.tax-cat-ushioe .page-header {
    background-size: auto 100%;
    }
}
@media only screen and (max-width:468px){

}

/* =========================================================================================
ushioe2
=========================================================================================*/
body.ushioe2 .wrap_nursery,
body.post-type-archive-ushioe2 .wrap_nursery,
body.single-ushioe2 .wrap_nursery,
body.tax-cat-ushioe2 .wrap_nursery { background: #F8FFE8; }
body.ushioe2 .swiper-pagination-bullet-active {
    background: var(--ushioe2)!important;
}

body.ushioe2 .sub-navi-content,
body.parent-pageid-66 .sub-navi-content,
body.post-type-archive-ushioe2 .sub-navi-content,
body.single-ushioe2 .sub-navi-content,
body.tax-cat-ushioe2 .sub-navi-content {
    background-color: #F8FFE8;
}
body.ushioe2 .sub-navi-content li:not(:last-child),
body.parent-pageid-66 .sub-navi-content li:not(:last-child),
body.post-type-archive-ushioe2 .sub-navi-content li:not(:last-child),
body.single-ushioe2 .sub-navi-content li:not(:last-child),
body.tax-cat-ushioe2 .sub-navi-content li:not(:last-child) {
    background: url("images/nursery_navi_line_ushioe2.svg") no-repeat right top;
}
body.ushioe2 .sub-navi-content li a:hover,
body.parent-pageid-66 .sub-navi-content li a:hover,
body.post-type-archive-ushioe2 .sub-navi-content li a:hover,
body.single-ushioe2 .sub-navi-content li a:hover,
body.tax-cat-ushioe2 .sub-navi-content li a:hover {
    color: var(--ushioe2);
}
body.ushioe2 .archive-content .inner {
    background: linear-gradient(90deg, #DAFDBA 0%, #DAFDBA 32%, #fff 32%, #fff 100%);
}
body.ushioe2 article, body[class*="page-template-page-temp-nursery"] article {
    max-width: unset;
    width: 100%;
    background-color: #fff;
    position: relative;
}
body.ushioe2 article::before, body.parent-pageid-66 article::before,
body.post-type-archive-ushioe2 article::before,
body.single-ushioe2 article::before,
body.tax-cat-ushioe2 article::before {
    background-image: url("images/ushioe2_contents_bottom.svg");
}
body.parent-pageid-66 .entry-content h3,
body.post-type-archive-ushioe2 #main h3,
body.single-ushioe2 #main h3,
body.tax-cat-ushioe2 #main h3 {
    background-color: #cdffb0;
}
body.parent-pageid-66 .overview th, body.parent-pageid-66 .overview td {
    border-bottom: 2px dashed var(--ushioe2);
}
body.parent-pageid-66 .overview tr:last-child th {
    border-bottom: 2px dashed var(--ushioe2);
}
body.parent-pageid-66 .day-schedule .time {
    color: var(--ushioe2);
}
body.post-type-archive-ushioe2 .nursery-info #sidebar h3:before,
body.single-ushioe2 .nursery-info #sidebar h3:before,
body.single-ushioe2 .nursery-info-single #sidebar h3:before,
body.tax-cat-ushioe2 #sidebar h3:before {
    background: var(--ushioe2);
}
body.post-type-archive-ushioe2 .nursery-info #sidebar ul li,
body.single-ushioe2 .nursery-info #sidebar ul li,
body.single-ushioe2 .nursery-info-single #sidebar ul li,
body.tax-cat-ushioe2 #sidebar ul li   {
    border-bottom: 2px dashed var(--ushioe2);
}
body.post-type-archive-ushioe2 .nursery-info .pagination .page-numbers li a,
body.post-type-archive-ushioe2 .nursery-info .pagination .page-numbers li span,
body.post-type-archive-ushioe2 .nursery-info .pagination .page-numbers li .current,
body.tax-cat-ushioe2 .nursery-info .pagination .page-numbers li a,
body.tax-cat-ushioe2 .nursery-info .pagination .page-numbers li span,
body.tax-cat-ushioe2 .nursery-info .pagination .page-numbers li .current {
    color: var(--ushioe2);
    border: 1px solid var(--ushioe2);
}
body.post-type-archive-ushioe2 .nursery-info .pagination .page-numbers li .current,
body.tax-cat-ushioe2 .nursery-info .pagination .page-numbers li .current {
    color: #fff;
    background: var(--ushioe2);
}
body.post-type-archive-ushioe2 .nursery-info #sidebar ul li a:hover,
body.single-ushioe2 .nursery-info-single #sidebar ul li a:hover,
body.tax-cat-ushioe2 #sidebar ul li a:hover {
    color: var(--ushioe2);
}
body.ushioe2 .archive-content .post-list .title a:hover,
body.single-ushioe2 .nursery-info-single .post-list .title a:hover,
body.tax-cat-ushioe2 .post-list .title a:hover {
    color: var(--ushioe2);
}
body.post-type-archive-ushioe2 .page-header,
body.single-ushioe2 .page-header,
body.tax-cat-ushioe2 .page-header {
    background: url("images/ushioe2_pho_head_04.jpg") no-repeat center;
    background-size: cover;
}
body.parent-pageid-66 .wrap_nursery article a:hover,
body.post-type-archive-ushioe2 .wrap_nursery article a:hover,
body.single-ushioe2 .wrap_nursery article a:hover,
body.tax-cat-ushioe2 .wrap_nursery article a:hover {
    color: var(--ushioe2);
    text-decoration: none;
}
body.parent-pageid-66 .wrap_nursery article .box:not(.history, .events, .gallery) li:before {
    background-color: var(--ushioe2);
}
body.post-type-archive-ushioe2 .cat a,
body.single-ushioe2 .cat a,
body.tax-cat-ushioe2 .cat a {
    padding: 0 20px;
    border-radius: 50px;
    border: 1px solid var(--ushioe2);
}

@media only screen and (max-width:820px){
    body.ushioe2 .archive-content .inner { background: linear-gradient(180deg, #DAFDBA 0%, #DAFDBA 100px, #fff 100px, #fff 100%);}
}
@media only screen and (max-width:468px){

}

/* =========================================================================================
minamimachi
=========================================================================================*/
body.minamimachi .wrap_nursery,
body.post-type-archive-minamimachi .wrap_nursery,
body.single-minamimachi .wrap_nursery,
body.tax-cat-minamimachi .wrap_nursery  { background: #E5F8FC; }
body.minamimachi .swiper-pagination-bullet-active {
    background: var(--minamimachi)!important;
}

body.minamimachi .sub-navi-content,
body.parent-pageid-60 .sub-navi-content,
body.post-type-archive-minamimachi .sub-navi-content,
body.single-minamimachi .sub-navi-content,
body.tax-cat-minamimachi .sub-navi-content {
    background-color: #E5F8FC;
}
body.minamimachi .sub-navi-content li:not(:last-child),
body.parent-pageid-60 .sub-navi-content li:not(:last-child),
body.post-type-archive-minamimachi .sub-navi-content li:not(:last-child),
body.single-minamimachi .sub-navi-content li:not(:last-child),
body.tax-cat-minamimachi .sub-navi-content li:not(:last-child) {
    background: url("images/nursery_navi_line_minamimachi.svg") no-repeat right top;
}
body.minamimachi .sub-navi-content li a:hover,
body.parent-pageid-60 .sub-navi-content li a:hover,
body.post-type-archive-minamimachi .sub-navi-content li a:hover,
body.single-minamimachi .sub-navi-content li a:hover,
body.tax-cat-minamimachi .sub-navi-content li a:hover {
    color: var(--minamimachi);
}
body.minamimachi .archive-content .inner {
    background: linear-gradient(90deg, #A3F1FF 0%, #A3F1FF 32%, #fff 32%, #fff 100%);
}
body.minamimachi article, body[class*="page-template-page-temp-nursery"] article {
    max-width: unset;
    width: 100%;
    background-color: #fff;
    position: relative;
}
body.minamimachi article::before, body.parent-pageid-60 article::before,
body.post-type-archive-minamimachi article::before,
body.single-minamimachi article::before,
body.tax-cat-minamimachi article::before {
    background-image: url("images/minamimachi_contents_bottom.svg");
}
body.parent-pageid-60 .entry-content h3,
body.post-type-archive-minamimachi #main h3,
body.single-minamimachi #main h3,
body.tax-cat-minamimachi #main h3 {
    background-color: #A3F1FF;
}
body.parent-pageid-60 .overview th, body.parent-pageid-60 .overview td {
    border-bottom: 2px dashed var(--minamimachi);
}
body.parent-pageid-60 .overview tr:last-child th {
    border-bottom: 2px dashed var(--minamimachi);
}
body.parent-pageid-60 .day-schedule .time {
    color: var(--minamimachi);
}

body.post-type-archive-minamimachi .nursery-info #sidebar h3:before,
body.single-minamimachi .nursery-info #sidebar h3:before,
body.single-minamimachi .nursery-info-single #sidebar h3:before,
body.tax-cat-minamimachi #sidebar h3:before {
    background: var(--minamimachi);
}
body.post-type-archive-minamimachi .nursery-info #sidebar ul li,
body.single-minamimachi .nursery-info #sidebar ul li,
body.single-minamimachi .nursery-info-single #sidebar ul li,
body.tax-cat-minamimachi #sidebar ul li {
    border-bottom: 2px dashed var(--minamimachi);
}
body.post-type-archive-minamimachi .nursery-info .pagination .page-numbers li a,
body.post-type-archive-minamimachi .nursery-info .pagination .page-numbers li span,
body.post-type-archive-minamimachi .nursery-info .pagination .page-numbers li .current,
body.tax-cat-minamimachi .nursery-info .pagination .page-numbers li a,
body.tax-cat-minamimachi .nursery-info .pagination .page-numbers li span,
body.tax-cat-minamimachi .nursery-info .pagination .page-numbers li .current {
    color: var(--minamimachi);
    border: 1px solid var(--minamimachi);
}
body.post-type-archive-minamimachi .nursery-info .pagination .page-numbers li .current,
body.tax-cat-minamimachi .nursery-info .pagination .page-numbers li .current {
    color: #fff;
    background: var(--minamimachi);
}
body.post-type-archive-minamimachi .nursery-info #sidebar ul li a:hover,
body.single-minamimachi .nursery-info-single #sidebar ul li a:hover,
body.tax-cat-minamimachi .nursery-info-single #sidebar ul li a:hover {
    color: var(--minamimachi);
}
body.minamimachi .archive-content .post-list .title a:hover,
body.single-minamimachi .nursery-info-single .post-list .title a:hover,
body.tax-cat-minamimachi .nursery-info-single .post-list .title a:hover {
    color: var(--minamimachi);
}
body.post-type-archive-minamimachi .page-header,
body.single-minamimachi .page-header,
body.tax-cat-minamimachi .page-header {
    background: url("images/minamimachi_pho_head_04.jpg") no-repeat center;
    background-size: cover;
}
body.parent-pageid-60 .wrap_nursery article a:hover,
body.post-type-archive-minamimachi .wrap_nursery article a:hover,
body.single-minamimachi .wrap_nursery article a:hover,
body.tax-cat-minamimachi .wrap_nursery article a:hover {
    color: var(--minamimachi);
    text-decoration: none;
}
body.parent-pageid-60 .wrap_nursery article .box:not(.history, .events, .gallery) li:before {
    background-color: var(--minamimachi);
}
body.post-type-archive-minamimachi .cat a,
body.single-minamimachi .cat a,
body.tax-cat-minamimachi .cat a {
    padding: 0 20px;
    border-radius: 50px;
    border: 1px solid var(--minamimachi);
}

@media only screen and (max-width:820px){
    body.minamimachi .archive-content .inner {background: linear-gradient(180deg, #A3F1FF 0%, #A3F1FF 100px, #fff 100px, #fff 100%);}

}
@media only screen and (max-width:468px){

}


/* =========================================================================================
Page(contact)
=========================================================================================*/
.entry-content form {
    position: relative;
    margin: 0 auto;
    padding: 1.0em;
    box-sizing: border-box;
    background: #fff;
}

.entry-content label {
    font-weight: bold;
}

.entry-content input,
.entry-content textarea {
    padding: 0.5em 0.75em;
    border: 1px solid #000;
    margin-bottom: 2.0em;
}

.entry-content input:focus,
.entry-content textarea:focus {
    background: #e5e5e5;
}

.entry-content textarea {
    display: block;
    width:100%;
}
.entry-content input[type="submit"] {
    color: #FFF;
    font-weight: bold;
    padding: 0.5em 1.0em;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    background: #000;
}
.entry-content input[type="submit"]:hover{
    background: #555;
    transition: 0.3s;
}

@media only screen and (max-width:820px){

}
@media only screen and (max-width:468px){

}

/* =========================================================================================
facility(ALL)
=========================================================================================*/
/*背景------------------------------*/
body[class*="page-template-page-temp-facility-"],
body[class*="post-type-archive-hakuaien"],
body[class*="post-type-archive-aijinen"],
body.single-hakuaien,
body.single-aijinen,
body.tax-cat-hakuaien,
body.tax-cat-aijinen {
    background: url("images/bg_body_facility.png") #FFFDF7 repeat-x left top;
    background-size: 100%;
}


/*Footer------------------------------*/
body[class*="page-template-page-temp-facility-"] #footer::before,
body[class*="post-type-archive-hakuaien"] #footer::before,
body[class*="post-type-archive-aijinen"] #footer::before,
body.single-hakuaien #footer::before,
body.single-aijinen #footer::before,
body.tax-cat-hakuaien #footer::before ,
body.tax-cat-aijinen #footer::before   {
    content: '';
    display: inline-block;
    width: 100%;
    height: 50px;
    background-image: url("images/footer_top_facility.svg");
    background-size: auto;
    vertical-align: middle;
    background-repeat: repeat-x;
    margin-top: 70px;
}
body[class*="page-template-page-temp-facility-"] #footer .bg-beige,
body[class*="post-type-archive-hakuaien"] #footer .bg-beige,
body[class*="post-type-archive-aijinen"] #footer .bg-beige,
body.single-hakuaien #footer .bg-beige,
body.single-aijinen #footer .bg-beige,
body.tax-cat-hakuaien #footer .bg-beige,
body.tax-cat-aijinen #footer .bg-beige  {
    background-color: #FAF6EA;

}

/*コンテンツ背景色------------------------------*/
.wrap_facility {
    padding-top: 40px;
    background: #FFFDF7;
}


/*KV------------------------------*/
body[class*="page-template-page-temp-facility-"] .page-header,
body[class*="post-type-archive-hakuaien"] .page-header,
body[class*="post-type-archive-aijinen"] .page-header,
body.single-hakuaien .page-header,
body.single-aijinen .page-header,
body.tax-cat-hakuaien .page-header,
body.tax-cat-aijinen .page-header {
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
}
body.page-id-70 .page-header, body.page-id-68 .page-header {
    height: 480px;
}
body.page-id-70 .page-header::before, body.page-id-68 .page-header::before {
    background:none;
    opacity:unset;
}
body[class*="id-70"] h2, body[class*="id-68"] h2,
body[class*="post-type-archive-hakuaien"] h2,
body[class*="post-type-archive-aijinen"] h2,
body.single-hakuaien h2,
body.single-aijinen h2,
body.tax-cat-hakuaien h2,
body.tax-cat-aijinen h2 {
    width: 1100px;
    margin: 0 auto;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
    font-weight: 600;
    font-size: var(--42px);
}
body[class*="id-70"] h2,
body[class*="post-type-archive-aijinen"] h2,
body.single-aijinen h2,
body.tax-cat-aijinen h2 {
    background-color: #FFDEDE;
}
body[class*="id-68"] h2,
body[class*="post-type-archive-hakuaien"] h2,
body.single-hakuaien h2,
body.tax-cat-hakuaien h2 {
    background-color: #FBE3C4;
}
body[class*="id-70"] .page-header h3,
body[class*="id-68"] .page-header h3,
body[class*="post-type-archive-hakuaien"] .page-header h3,
body[class*="post-type-archive-aijinen"] .page-header h3,
body.single-hakuaien .page-header h3,
body.single-aijinen .page-header h3,
body.tax-cat-hakuaien .page-header h3,
body.tax-cat-aijinen .page-header h3 {
    color: #fff;
    text-align: center;
}

@media only screen and (max-width:820px){
    body[class*="page-template-page-temp-facility-"] .contents,
    body[class*="post-type-archive"] .contents,
    body[class*="single-aijine"] .contents,
    body[class*="single-hakuaien"] .contents,
    body.tax-cat-aijinen .contents,
    body.tax-cat-hakuaien .contents {
        margin-top: 10px;
    }
    body[class*="id-70"] h2,
    body[class*="id-68"] h2,
    body[class*="post-type-archive-hakuaien"] h2,
    body[class*="post-type-archive-aijinen"] h2,
    body.single-hakuaien h2,
    body.single-aijinen h2,
    body.tax-cat-hakuaien h2,
    body.tax-cat-aijinen h2 {
        width: 100%;
    }
    body.page-id-70 .page-header,
    body.page-id-68 .page-header {
        background-size: auto 100%;
        min-height: auto;
        height: 200px;
    }
    body[class*="page-template-page-temp-facility-"] .page-header,
    body[class*="post-type-archive-hakuaien"] .page-header,
    body[class*="post-type-archive-aijinen"] .page-header,
    body.single-hakuaien .page-header,
    body.single-aijinen .page-heade,
    body.tax-cat-hakuaien .page-header,
    body.tax-cat-aijinen .page-header,
    body[class*="single-aijine"] .page-header,
    body[class*="single-hakuaien"] .page-header  {
        min-height: auto;
        height: 200px;
    }
    body[class*="page-template-page-temp-facility-"] .page-header h3,
    body[class*="post-type-archive-hakuaien"] .page-header h3,
    body[class*="post-type-archive-aijinen"] .page-header h3,
    body.single-hakuaien .page-header h3,
    body.single-aijinen .page-heade h3,
    body.tax-cat-hakuaien .page-header h3,
    body.tax-cat-aijinen .page-header h3,
    body[class*="single-aijine"] .page-header h3,
    body[class*="single-hakuaien"] .page-header h3 {
        font-size: var(--28px);
        margin-bottom: 0;
    }
}

/*Top NEWS------------------------------*/
body[class*="page-template-page-temp-facility-"] .archive-content {
    padding: 0;
}
body[class*="page-template-page-temp-facility-"] .archive-content .inner {
    display: block;
}
body[class*="page-template-page-temp-facility-"] .post-list {
    padding: 0;
}
body[class*="page-template-page-temp-facility-"] #main .post-list ul {
    gap: 20px;
}
body[class*="page-template-page-temp-facility-"] .post-list ul li {
    padding: 0 0 10px 5px;
    display: flex;
    flex-wrap: inherit;
    justify-content: left;
    gap:0;
    background: none;
    border-radius: unset;
    border-bottom: 1px dotted #585858;
}
body[class*="page-template-page-temp-facility-"] #main .post-list .date {
    width: 18%;
}
body[class*="page-template-page-temp-facility-"] #main .post-list .title {
    margin-bottom: 0;
}
body[class*="page-template-page-temp-facility-"] #main .post-list .title a {
    display: block;
}
body[class*="page-template-page-temp-facility-"] #main .post-list .title a:hover {
    color: var(--main-color);
    text-decoration: underline;
}
body[class*="page-template-page-temp-facility-"] .about-wrap {
    margin-bottom: 50px;
    padding: 40px 30px 20px;
    border-radius: 20px;
    background-color: #fff;
    position: relative;
}
body[class*="page-template-page-temp-facility-"] .about-wrap .midashi_ribon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 333px;
    height: 60px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
body[class*="id-68"] .midashi_ribon {
    background: url("images/hakuaien_midashi_ribon.svg") no-repeat;
}
body[class*="id-70"] .midashi_ribon {
    background: url("images/aijinen_midashi_ribon.svg")  no-repeat;
}
body[class*="page-template-page-temp-facility-"] .about-wrap .box {
    margin-bottom: 0;
}
body[class*="id-68"] .about-wrap {
    border: 5px solid var(--hakuaien);
}
body[class*="id-70"] .about-wrap {
    border: 5px solid var(--aijinen);
}


@media only screen and (max-width:820px) {
    body[class*="page-id-68"] .post-list ul li,
    body[class*="page-id-70"] .post-list ul li {
        margin-left: 0!important;
    }
}

/*article------------------------------*/
body[class*="page-template-page-temp-facility-"] article,
body[class*="post-type-archive-hakuaien"] article,
body[class*="post-type-archive-aijinen"] article,
body.single-hakuaien article,
body.single-aijinen article,
body.tax-cat-hakuaien article,
body.tax-cat-aijinen article {
    width: 1100px;
}
body[class*="page-template-page-temp-facility-"] article.flex-box {
    align-items: flex-start;
}
body[class*="page-template-page-temp-facility-"] .box {
    margin-bottom: 50px;
}
body[class*="page-template-page-temp-facility-"] .btn a {
    width: fit-content;
    padding: 0.5em 2.5em;
}
body[class*="page-template-page-temp-facility-"] .message-senior .message-image {
    width: 90%;
    margin: 40px auto 20px;
}
body[class*="page-template-page-temp-facility-"] .message-senior .message-image img {
    border-radius: 20px;
}

body[class*="page-557"] .message-image {
    text-align: center;
}
body[class*="page-557"] .message-image img {
    width: 20%;
    border-radius: unset!important;
}

@media only screen and (max-width:820px) {
    body[class*="page-template-page-temp-facility-"] article,
    body[class*="post-type-archive-hakuaien"] article,
    body[class*="post-type-archive-aijinen"] article,
    body.single-hakuaien article,
    body.single-aijinen article,
    body.tax-cat-hakuaien article,
    body.tax-cat-aijinen article {
        width: 100%;
    }
    body[class*="page-557"] .message-image img {
        width: 60%;
    }
}


/*サイドバー------------------------------*/
body[class*="page-template-page-temp-facility-"] .side-menu,
body[class*="post-type-archive-hakuaien"] .side-menu,
body[class*="post-type-archive-aijinen"] .side-menu,
body.single-hakuaien .side-menu,
body.single-aijinen .side-menu,
body.tax-cat-hakuaien .side-menu,
body.tax-cat-aijinen .side-menu {
    padding: 10px;
    border-radius: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
    width: 300px;
}
body[class*="page-template-page-temp-facility-"] .side-menu ul,
body[class*="post-type-archive-hakuaien"] .side-menu ul,
body[class*="post-type-archive-aijinen"] .side-menu ul,
body.single-hakuaien .side-menu ul,
body.single-aijinen .side-menu ul,
body.tax-cat-hakuaien .side-menu ul,
body.tax-cat-aijinen .side-menu ul {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}
body[class*="page-template-page-temp-facility-"] #sidebar,
body[class*="post-type-archive-hakuaien"] #sidebar,
body[class*="post-type-archive-aijinen"] #sidebar,
body.single-hakuaien #sidebar,
body.single-aijinen #sidebar,
body.tax-cat-hakuaien #sidebar,
body.tax-cat-aijinen #sidebar {
    position: sticky;
    top: 20px;
}
body[class*="page-template-page-temp-facility-"] #sidebar li,
body[class*="post-type-archive-hakuaien"] #sidebar li,
body[class*="post-type-archive-aijinen"] #sidebar li,
body.single-hakuaien #sidebar li,
body.single-aijinen #sidebar li,
body.tax-cat-hakuaien #sidebar li,
body.tax-cat-aijinen #sidebar li {
    border-bottom: none;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    font-weight: 500;
    font-size: var(--18px);
}
body[class*="page-template-page-temp-facility-"] #sidebar li a,
body[class*="post-type-archive-hakuaien"] #sidebar li a,
body[class*="post-type-archive-aijinen"] #sidebar li a,
body.single-hakuaien #sidebar li a,
body.single-aijinen #sidebar li a,
body.tax-cat-hakuaien #sidebar li a,
body.tax-cat-aijinen #sidebar li a {
    padding: 7px 10px 7px 25px;
    display: block;
    position: relative;
}
body[class*="id-68"] #sidebar li a:hover,
body[class*="post-type-archive-hakuaien"] #sidebar li a:hover,
body.single-hakuaien #sidebar li a:hover,
body.tax-cat-hakuaien #sidebar li a:hover {
    color: var(--hakuaien);
}
body[class*="id-70"] #sidebar li a:hover,
body[class*="post-type-archive-aijinen"] #sidebar li a:hover,
body.single-aijinen #sidebar li a:hover,
body.tax-cat-aijinen #sidebar li a:hover {
    color: var(--aijinen);
}
body[class*="id-68"] #sidebar li a.active,
body[class*="post-type-archive-hakuaien"] #sidebar li a.active,
body.single-hakuaien #sidebar li a.active,
body.tax-cat-hakuaien #sidebar li a.active {
    color: var(--hakuaien);
}
body[class*="id-70"] #sidebar li a.active,
body[class*="post-type-archive-aijinen"] #sidebar li a.active,
body.single-aijinen #sidebar li a.active,
body.tax-cat-aijinen #sidebar li a.active {
    color: var(--aijinen);
}
body[class*="id-68"] #sidebar li a.active::before,
body[class*="id-70"] #sidebar li a.active::before,
body[class*="post-type-archive-hakuaien"] #sidebar li a.active::before,
body[class*="post-type-archive-aijinen"] #sidebar li a.active::before,
body.single-hakuaien #sidebar li a.active::before,
body.single-aijinen #sidebar li a.active::before,
body.tax-cat-hakuaien #sidebar li a.active::before,
body.tax-cat-aijinen #sidebar li a.active::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: -7px;
    width: 4px;
    height: 60%;
    border-radius: 5px;
}
body[class*="id-68"] #sidebar li a.active::before,
body[class*="post-type-archive-hakuaien"] #sidebar li a.active::before,
body.single-hakuaien #sidebar li a.active::before,
body.tax-cat-hakuaien #sidebar li a.active::before {
    background: var(--hakuaien);
}
body[class*="id-70"] #sidebar li a.active::before,
body[class*="post-type-archive-aijinen"] #sidebar li a.active::before,
body.single-aijinen #sidebar li a.active::before,
body.tax-cat-aijinen #sidebar li a.active::before {
    background: var(--aijinen);
}
body[class*="page-template-page-temp-facility-"] #sidebar .info,
body[class*="post-type-archive-hakuaien"] #sidebar .info,
body[class*="post-type-archive-aijinen"] #sidebar .info,
body.single-hakuaien #sidebar .info,
body.single-aijinen #sidebar .info,
body.tax-cat-hakuaien #sidebar .info,
body.tax-cat-aijinen #sidebar .info {
    margin-top: 20px;
}
body[class*="page-template-page-temp-facility-"] #sidebar .info .name,
body[class*="post-type-archive-hakuaien"] #sidebar .info .name,
body[class*="post-type-archive-aijinen"] #sidebar .info .name,
body.single-hakuaien #sidebar .info .name,
body.single-aijinen #sidebar .info .name,
body.tax-cat-hakuaien #sidebar .info .name,
body.tax-cat-aijinen #sidebar .info .name  {
    font-weight: bold;
}
body[class*="page-template-page-temp-facility-"] #sidebar .post-code,
body[class*="post-type-archive-hakuaien"] #sidebar .info .post-code,
body[class*="post-type-archive-aijinen"] #sidebar .info .post-code,
body.single-hakuaien #sidebar .info .post-code,
body.single-aijinen #sidebar .info .post-code,
body.tax-cat-hakuaien #sidebar .info .post-code,
body.tax-cat-aijinen #sidebar .info .post-code {
    line-height: 1em;
    margin-top: 5px;
}
body[class*="page-template-page-temp-facility-"] #sidebar .info .tel,
body[class*="post-type-archive-hakuaien"] #sidebar .info .tel,
body[class*="post-type-archive-aijinen"] #sidebar .info .tel,
body.single-hakuaien #sidebar .info .tel,
body.single-aijinen #sidebar .info .tel,
body.tax-cat-hakuaien #sidebar .info .tel,
body.tax-cat-aijinen #sidebar .info .tel {
    font-size: var(--24px);
}
body[class*="page-template-page-temp-facility-"] #sidebar .info b,
body[class*="post-type-archive-hakuaien"] #sidebar .info b,
body[class*="post-type-archive-aijinen"] #sidebar b,
body.single-hakuaien #sidebar .info b,
body[class*="single-a"] #sidebar .info b,
body.tax-cat-hakuaien #sidebar .info b,
body[class*="tax-cat-a"] #sidebar .info b {
    margin-right: 15px;
    padding: 4px 5px 4px 5px;
    border-radius: 5px;
    background-color: #DED4B8;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: var(--16px);
}
body[class*="page-template-page-temp-facility-"] #sidebar .info .fax,
body[class*="post-type-archive-aijinen"] #sidebar .info .fax,
body[class*="single-a"] #sidebar .info .fax,
body[class*="tax-cat-a"] #sidebar .info .fax,
body[class*="post-type-archive-hakuaien"] #sidebar .info .fax,
body[class*="single-h"] #sidebar .info .fax,
body[class*="tax-cat-h"] #sidebar .info .fax {
    font-size: var(--24px);
}
body[class*="page-template-page-temp-facility-"] #sidebar .info .mail,
body[class*="post-type-archive-aijinen"] #sidebar .info .mail,
body[class*="single-a"] #sidebar .info .mail,
body[class*="tax-cat-a"] #sidebar .info .mail,
body[class*="post-type-archive-hakuaien"] #sidebar .info .mail,
body[class*="single-h"] #sidebar .info .mail,
body[class*="tax-cat-h"] #sidebar .info .mail {
    margin-top: 10px;
}
body[class*="id-68"] .side-menu,
body[class*="post-type-archive-hakuaien"] .side-menu,
body.single-hakuaien .side-menu,
body.tax-cat-hakuaien .side-menu {
    background-color: #FFE3C4;
}
body[class*="id-70"] .side-menu,
body[class*="post-type-archive-aijinen"] .side-menu,
body.single-aijinen .side-menu,
body.tax-cat-aijinen .side-menu {
    background-color: #FFDEDE;
}
body[class*="page-template-page-temp-facility-"] .bnr_pdf_dl,
body[class*="post-type-archive-hakuaien"] .bnr_pdf_dl,
body.single-hakuaien .bnr_pdf_dl,
body.tax-cat-hakuaien .bnr_pdf_dl {
    margin-top: 20px;
    width: 300px;
}
body[class*="parent-pageid-70"] .bnr_pdf_dl,
body.aijinen .bnr_pdf_dl,
body[class*="post-type-archive-aijinen"] .bnr_pdf_dl,
body.single-aijinen .bnr_pdf_dl,
body.tax-cat-aijinen .bnr_pdf_dl  {
    display: none;
}

@media only screen and (max-width:820px) {
    body[class*="page-template-page-temp-facility-"] #sidebar,
    body[class*="post-type-archive-hakuaien"] #sidebar,
    body[class*="post-type-archive-aijinen"] #sidebar,
    body.single-hakuaien #sidebar,
    body.single-aijinen #sidebar,
    body.tax-cat-hakuaien #sidebar,
    body.tax-cat-aijinen #sidebar {
        position: unset;
    }
}

/*main------------------------------*/
body[class*="page-template-page-temp-facility-"] #main,
body[class*="post-type-archive-hakuaien"] #main,
body[class*="post-type-archive-aijinen"] #main,
body.single-hakuaien #main,
body.single-aijinen #main,
body.tax-cat-hakuaien #main,
body.tax-cat-aijinen #main {
    width: 700px;
}
@media only screen and (max-width:820px) {
    body[class*="page-template-page-temp-facility-"] #main,
    body[class*="post-type-archive-hakuaien"] #main,
    body[class*="post-type-archive-aijinen"] #main,
    body.single-hakuaien #main, body.single-aijinen #main,
    body.tax-cat-hakuaien #main, body.tax-cat-aijinen #main {
        width: 100%;
    }
}

/*テーブル------------------------------*/
@media only screen and (max-width:820px) {
    body[class*="page-id-68"] #main .box table th,
    body[class*="page-id-70"] #main .box table th,
    body[class*="page-id-68"] #main .box table td,
    body[class*="page-id-70"] #main .box table td {
        display: block;
    }
}

/*見出し------------------------------*/
.wrap_facility #main h3,
body[class*="post-type-archive-hakuaien"] #main h3,
body[class*="post-type-archive-aijinen"] #main h3,
body.single-hakuaien #main h3,
body.single-aijinen #main h3,
body.tax-cat-hakuaien #main h3,
body.tax-cat-aijinen #main h3 {
    padding: 0 0 5px 2px;
    font-weight: bold;
    position: relative;
    border-bottom: 3px solid #F4EDD9;
    background-color: #FFFDF7;
    border-radius: unset;
    font-size: var(--24px);
}
.wrap_facility #main h3::before,
body[class*="post-type-archive-hakuaien"] #main h3::before,
body[class*="post-type-archive-aijinen"] #main h3::before,
body.single-hakuaien #main h3::before,
body.single-aijinen #main h3::before,
body.tax-cat-hakuaien #main h3::before,
body.tax-cat-aijinen #main h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100px;
    height: 3px;
    border-radius: 20px;
}
body[class*="id-68"] #main h3::before,
body[class*="post-type-archive-hakuaien"] #main h3::before,
body.single-hakuaien #main h3::before,
body.tax-cat-hakuaien #main h3::before {
    background: #FF7031;
}
body[class*="id-70"] #main h3::before,
body[class*="post-type-archive-aijinen"] #main h3::before,
body.single-aijinen #main h3::before,
body.tax-cat-aijinen #main h3::before {
    background: #F79292;
}
body[class*="page-template-page-temp-facility-"] #container {
    padding-bottom: 0;
}
body[class*="page-template-page-temp-facility-"] #main .entry-content {
    padding: 0;
}

/*リスト------------------------------*/
body[class*="page-template-page-temp-facility-"] section .inner div:not(.gallery, .message-senior) ul {
    margin-bottom: 20px;
}
body[class*="page-template-page-temp-facility-"] section .inner div:not(.gallery, .message-senior) li {
    margin-left: 25px;
    list-style: disc;
}

/*日課------------------------------*/
body[class*="page-template-page-temp-facility-"] .weekdays > p,
body[class*="page-template-page-temp-facility-"] .holiday > p {
    font-weight: bold;
    font-size: var(--18px);
}
body[class*="page-template-page-temp-facility-"] .weekdays > p {
    color: #0551C6;
}
body[class*="page-template-page-temp-facility-"] .holiday > p {
    margin-top: 50px;
    color: #CB0805;
}
body[class*="page-template-page-temp-facility-"] .weekdays table,
body[class*="page-template-page-temp-facility-"] .holiday table {
    width: auto;
}
body[class*="page-template-page-temp-facility-"] .weekdays th,
body[class*="page-template-page-temp-facility-"] .holiday th {
    width: 6em;
}
body[class*="page-template-page-temp-facility-"] .weekdays th {
    background-color: #E5F7FD;
}
body[class*="page-template-page-temp-facility-"] .holiday th {
    background-color: #FFEFEF;
}

/*年間行事------------------------------*/
body[class*="page-template-page-temp-facility-"] .inside > p,
body[class*="page-template-page-temp-facility-"] .school > p {
    font-weight: bold;
    font-size: var(--18px);
}
body[class*="page-template-page-temp-facility-"] .inside tr th,
body[class*="page-template-page-temp-facility-"] .school tr th {
    text-align: center;
    width: 5em;
}
body[class*="page-template-page-temp-facility-"] .inside tr:first-child th,
body[class*="page-template-page-temp-facility-"] .school tr:first-child th {
    background-color: #E2E2E2;
}
body[class*="page-template-page-temp-facility-"] .inside table,
body[class*="page-template-page-temp-facility-"] .school table {
    width: auto;
}
body[class*="page-template-page-temp-facility-"] .inside tr:first-child th:first-child,
body[class*="page-template-page-temp-facility-"] .school tr:first-child th:first-child {
    border-right: 1px solid #fff;
}
body[class*="page-template-page-temp-facility-"] .inside tr:first-child th:nth-child(2),
body[class*="page-template-page-temp-facility-"] .school tr:first-child th:nth-child(2) {
    width: auto;
}

/*ギャラリー------------------------------*/
body[class*="page-template-page-temp-facility-"] .gallery ul {
    flex-wrap: wrap;
    gap: 0;
}
body[class*="page-template-page-temp-facility-"] .gallery ul li {
    width: 46%;
    text-align: center;
}
body[class*="page-template-page-temp-facility-"] .gallery ul li:not(p)  {
    margin-bottom: 30px;
}
body[class*="page-template-page-temp-facility-"] .gallery ul li img {
    border-radius: 20px;
}
@media only screen and (max-width:820px) {
    body[class*="page-template-page-temp-facility-"] .gallery ul li {
        width: 100%;
    }
    body[class*="page-template-page-temp-facility-"] .box.gallery p {
        margin-bottom: 0;
    }
}

/*先輩からのメッセージ------------------------------*/
body[class*="page-template-page-temp-facility-"] .message-senior li:not(:last-child) {
    margin-bottom: 30px;
}
body[class*="page-template-page-temp-facility-"] .message-senior .name {
    margin-bottom: 15px;
    font-size: var(--18px);
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #F4EDD9;
}
body[class*="page-template-page-temp-facility-"] .message-senior .name span {
    margin-left: 20px;
    font-size: var(--15px);
    font-weight: bold;
}
body[class*="page-template-page-temp-facility-"] .message-senior .message {
    width: 95%;
    margin: 0 auto 50px;
}


/*職員募集------------------------------*/
body[class*="page-template-page-temp-facility-"] h4 {
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #F4EDD9;
}
body[class*="page-template-page-temp-facility-"] .details .box {
    width: 95%;
    margin: 0 auto 50px;
}
body[class*="page-template-page-temp-facility-"] .details .box p:not(:last-child) {
    margin-bottom: 20px;
    
}
body[class*="page-template-page-temp-facility-"] .details .box li {
    margin-left: 25px;
    list-style: disc;
}
body[class*="page-template-page-temp-facility-"] .details .box img {
    margin: 10px 0;
    width: auto;
}
body[class*="recruit"] p {
    margin-bottom: 20px;
}
body[class*="recruit"] p {
    margin-bottom: 20px;
}

body.post-type-archive-hakuaien .pagination .page-numbers li a,
body.post-type-archive-hakuaien .pagination .page-numbers li span,
body.post-type-archive-hakuaien .pagination .page-numbers li .current {
    color: var(--hakuaien);
    border: 1px solid var(--hakuaien);
}
body.post-type-archive-hakuaien .pagination .page-numbers li .current {
    color: #fff;
    background: var(--hakuaien);
}
body.post-type-archive-hakuaien .pagination .page-numbers li:last-child a,
body.post-type-archive-hakuaien .pagination .page-numbers li:first-child a {
    border: none !important;
    color: #343434 !important;
}




body.post-type-archive-aijinen .pagination .page-numbers li a,
body.post-type-archive-aijinen .pagination .page-numbers li span,
body.post-type-archive-aijinen .pagination .page-numbers li .current {
    color: var(--aijinen);
    border: 1px solid var(--aijinen);
}
body.post-type-archive-aijinen .pagination .page-numbers li .current {
    color: #fff;
    background: var(--aijinen);
}
body.post-type-archive-aijinen .pagination .page-numbers li:last-child a,
body.post-type-archive-aijinen .pagination .page-numbers li:first-child a {
    border: none !important;
    color: #343434 !important;
}


@media only screen and (max-width:820px){
    body[class*="page-template-page-temp-facility-"] .details .box table th,
    body[class*="page-template-page-temp-facility-"] .details .box table td {
        display: block;
    }

}



/*リンク------------------------------*/
body.post-type-archive-hakuaien #main .post-contents a,
body.post-type-archive-aijinen #main .post-contents a,
body.single-hakuaien #main .entry-content a,
body.tax-cat-hakuaien #main .post-contents a,
body.single-aijinen #main .entry-content a,
body.tax-cat-aijinen #main .post-contents a {
    text-decoration: underline;
}
body.post-type-archive-hakuaien #main a:hover,
body.single-hakuaien #main a:hover,
body.tax-cat-hakuaien #main a:hover {
    color: var(--hakuaien);
    text-decoration: none;
}
body.post-type-archive-aijinen #main a:hover,
body.single-aijinen #main a:hover,
body.tax-cat-aijinen #main a:hover {
    color: var(--aijinen);
    text-decoration: none;
}

/*お知らせ------------------------------*/
body[class*="post-type-archive-hakuaien"] .sidebar-news,
body[class*="post-type-archive-aijinen"] .sidebar-news,
body.single-hakuaien .sidebar-news,
body.single-aijinen .sidebar-news,
body.tax-cat-hakuaien .sidebar-news,
body.tax-cat-aijinen .sidebar-news {
    margin-top: 60px;
}
body[class*="post-type-archive-hakuaien"] .sidebar-news .box,
body[class*="post-type-archive-aijinen"] .sidebar-news .box,
body.single-aijinen .sidebar-news .box,
body.single-hakuaien .sidebar-news .box,
body.tax-cat-aijinen .sidebar-news .box,
body.tax-cat-hakuaien .sidebar-news .box {
    margin-bottom: 50px;
}
body[class*="post-type-archive-hakuaien"] .sidebar-news .box:last-child,
body[class*="post-type-archive-aijinen"] .sidebar-news .box:last-child,
body.single-hakuaien .sidebar-news .box:last-child,
body.single-aijinen .sidebar-news .box:last-child {
    margin-bottom: 0;
}
body[class*="post-type-archive-hakuaien"] .sidebar-news h3,
body[class*="post-type-archive-aijinen"] .sidebar-news h3,
body.single-hakuaien .sidebar-news h3,
body.single-aijinen .sidebar-news h3,
body.tax-cat-hakuaien .sidebar-news h3,
body.tax-cat-aijinen .sidebar-news h3 {
    padding: 0 0 3px 10px;
    position: relative;
}

body[class*="post-type-archive-hakuaien"] .sidebar-news h3:before,
body[class*="post-type-archive-aijinen"] .sidebar-news h3:before,
body.single-hakuaien .sidebar-news h3:before,
body.single-aijinen .sidebar-news h3:before,
body.tax-cat-hakuaien .sidebar-news h3:before,
body.tax-cat-aijinen .sidebar-news h3:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 3px;
    border-radius: 5px;
}
body[class*="post-type-archive-hakuaien"] .sidebar-news h3:before,
body.single-hakuaien .sidebar-news h3:before,
body.tax-cat-hakuaien .sidebar-news h3:before {
    background: #FFE3C4;
}
body[class*="post-type-archive-aijinen"] .sidebar-news h3:before,
body.single-aijinen .sidebar-news h3:before,
body.tax-cat-aijinen .sidebar-news h3:before {
    background: #FFDEDE;
}
body[class*="post-type-archive-hakuaien"] #sidebar .sidebar-news li,
body[class*="post-type-archive-aijinen"] #sidebar .sidebar-news li,
body.single-hakuaien #sidebar .sidebar-news li,
body.single-aijinen #sidebar .sidebar-news li,
body.tax-cat-hakuaien #sidebar .sidebar-news li,
body.tax-cat-aijinen #sidebar .sidebar-news li {
    background: none;
    border-bottom: 1px dotted #ccc;
    font-size: var(--16px);
}
body[class*="post-type-archive-hakuaien"] #sidebar .sidebar-news li a,
body[class*="post-type-archive-aijinen"] #sidebar .sidebar-news li a,
body.single-hakuaien #sidebar .sidebar-news li a,
body.single-aijinen #sidebar .sidebar-news li a,
body.tax-cat-hakuaien #sidebar .sidebar-news li a,
body.tax-cat-aijinen #sidebar .sidebar-news li a {
    padding-left: 10px;
}
body[class*="post-type-archive-hakuaien"] .post-list ul li,
body[class*="post-type-archive-aijinen"] .post-list ul li,
body.single-hakuaien .post-wrap,
body.single-aijinen .post-wrap,
body.tax-cat-hakuaien .post-list,
body.tax-cat-aijinen .post-list {
    padding: 0;
    background: none;
}
body[class*="post-type-archive-hakuaien"] .post-list ul li .flex-box,
body[class*="post-type-archive-aijinen"] .post-list ul li .flex-box,
body.single-hakuaien .post-wrap .flex-box,
body.single-aijinen .post-wrap .flex-box,
body.tax-cat-hakuaien .post-list .flex-box,
body.tax-cat-aijinen .post-list .flex-box {
    padding: 9px 10px;
    border-radius: 5px;
    background: #F5F2E9;
}
body[class*="post-type-archive-hakuaien"] .post-list ul li .flex-box .cat,
body[class*="post-type-archive-aijinen"] .post-list ul li .flex-box .cat,
body.single-hakuaien .post-wrap .flex-box .cat,
body.single-aijinen .post-wrap .flex-box .cat,
body.tax-cat-hakuaien .post-list .flex-box .cat,
body.tax-cat-aijinen .post-list .flex-box .cat {
    background-color: #fff;
    padding: 3px 10px;
    font-size: var(--14px);
    border-radius: 50px;
    width: fit-content;
}
body.single-hakuaien .h3-wrap,
body.single-aijinen .h3-wrap,
body.tax-cat-hakuaien .h3-wrap,
body.tax-cat-aijinen .h3-wrap {
    border-bottom: none;
}
body.single-hakuaien .h3-wrap::before,
body.single-aijinen .h3-wrap::before,
body.tax-cat-hakuaien .h3-wrap::before,
body.tax-cat-aijinen .h3-wrap::before {
    display: none;
}

body[class*="post-type-archive-aijinen"] .page-header,
body.single-aijinen .page-header,
body.tax-cat-aijinen .page-header {
    background: url("/wp-content/uploads/2024/03/aijinen_slider_01.jpg") no-repeat center;
    background-size: 100% auto;
}
body[class*="post-type-archive-hakuaien"] .page-header,
body.single-hakuaien .page-header,
body.tax-cat-hakuaien .page-header {
    background: url("/wp-content/uploads/2024/02/hakuaien_slider_01.jpg") no-repeat center;
    background-size: 100% auto;
}
body.post-type-archive-hakuaien #main .post-contents,
body.post-type-archive-aijinen #main .post-contents,
body.single-hakuaien #main .entry-content,
body.tax-cat-hakuaien #main .post-contents,
body.single-aijinen #main .entry-content,
body.tax-cat-aijinen #main .post-contents  {
    width: 95%;
    margin: 0 auto 50px;
}
body.post-type-archive-hakuaien #main .post-contents img,
body.post-type-archive-aijinen #main .post-contents img,
body.single-hakuaien #main .entry-content img,
body.tax-cat-hakuaien #main .post-contents img,
body.single-aijinen #main .entry-content img,
body.tax-cat-aijinen #main .post-contents img {
    margin: 15px 0;
    border-radius: 20px;
}
body.post-type-archive-hakuaien #main .post-contents p,
body.post-type-archive-aijinen #main .post-contents p,
body.single-hakuaien #main .entry-content p,
body.tax-cat-hakuaien #main .post-contents p,
body.single-aijinen #main .entry-content p,
body.tax-cat-aijinen #main .post-contents p {
    margin-bottom: 20px;
}
body.post-type-archive-hakuaien #main .post-contents ul,
body.post-type-archive-aijinen #main .post-contents ul,
body.single-hakuaien #main .entry-content ul,
body.tax-cat-hakuaien #main .post-contents ul,
body.single-aijinen #main .entry-content ul,
body.tax-cat-aijinen #main .post-contents ul {
    margin-bottom: 20px;
    gap: unset;
}
body.post-type-archive-hakuaien #main .post-contents li,
body.post-type-archive-aijinen #main .post-contents li,
body.single-hakuaien #main .entry-content li,
body.tax-cat-hakuaien #main .post-contents li,
body.single-aijinen #main .entry-content li,
body.tax-cat-aijinen #main .post-contents li {
    list-style: disc;
    margin-left: 25px;
    display:list-item;
}

#saiyou_daisotsu {
    margin-inline: auto;
    width: fit-content;
}
#saiyou_daisotsu img {
    width: auto;
}

@media only screen and (max-width:820px){

body[class*="post-type-archive-aijinen"] .page-header,
body.single-aijinen .page-header,
body.tax-cat-aijinen .page-header {
    background-size: auto 100%;
}
body[class*="post-type-archive-hakuaien"] .page-header,
body.single-hakuaien .page-header,
body.tax-cat-hakuaien .page-header {
    background-size: auto 100%;
}

}





/* =========================================================================================
本部(お知らせ)
=========================================================================================*/
body.date #main .post-list .post-contents p,
body.post-type-archive-post #main .post-list .post-contents p,
body.post-template-default #main .entry-content p {
    margin-bottom: 20px;
}
body.date #main .post-list .post-contents ul,
body.post-type-archive-post #main .post-list .post-contents ul,
body.post-template-default #main .entry-content ul {
    margin: 20px 0;
    gap: unset;
}
body.date #main .post-list .post-contents li,
body.post-type-archive-post #main .post-list .post-contents li,
body.post-template-default #main .entry-content li {
    list-style: disc;
    margin-left: 25px;
    display:list-item;
}
body.post-template-default .post-wrap {
    padding: 0;
    background: none;
    border-radius: unset;
}
body.date #main .post-list .post-contents img,
body.post-type-archive-post #main .post-list .post-contents img,
body.post-template-default #main .entry-content img {
    margin-bottom: 20px;
}

@media only screen and (max-width:820px){
    
}


/* =========================================================================================
Page(404)
=========================================================================================*/
.error404 h2{
    margin-top: 80px;
}

.error404 .error-message{
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}
    .error404 .error-message p img{
        margin: 0 auto 80px;
        max-width: 250px;
    }

@media only screen and (max-width:820px){
    .wrap_facility {width: 100%; padding:40px 5%; margin: 0 auto;}
    .wrap_facility .flex-box {
        display: flex;
        flex-flow: column;
        flex-direction: column-reverse;
    }
    body[class*="id-70"] h2, body[class*="id-68"] h2,body[class*="post-type-archive-hakuaien"] h2, body.single-hakuaien h2, body[class*="post-type-archive-aijinen"] h2, body.single-aijinen h2, body.tax-cat-aijinen h2, body.tax-cat-hakuaien h2 { border-radius: 0; font-size: var(--32px); padding: 10px 10px;}
    body[class*="page-template-page-temp-facility-"] .page-header, body[class*="post-type-archive-hakuaien"] .page-header, body.single-hakuaien .page-header, body[class*="post-type-archive-aijinen"] .page-header, body.single-aijinen .page-header, body.tax-cat-aijinen .page-header, body.tax-cat-hakuaien .page-header { border-radius: 0px; }
    body[class*="page-template-page-temp-facility-"] #sidebar, body[class*="post-type-archive-hakuaien"] #sidebar,body[class*="post-type-archive-aijinen"] #sidebar,
    body[class*="page-template-page-temp-facility-"] .post-list  { padding-bottom: 30px;}
    body[class*="page-id-68"] .post-list, body[class*="page-id-70"] .post-list  { padding-bottom: 0;}
    body[class*="page-template-page-temp-facility-"] .post-list ul li { flex-flow: column;}
    body[class*="page-template-page-temp-facility-"] #main .post-list .date { width: 100%; }
    body[class*="page-template-page-temp-facility-"] #main .post-list .title { width: 100%; }
    body[class*="page-template-page-temp-facility-"] .side-menu, body[class*="post-type-archive-hakuaien"] .side-menu, body.single-hakuaien .side-menu, body[class*="post-type-archive-aijinen"] .side-menu, body.single-aijinen .side-menu, body.tax-cat-hakuaien .side-menu, body.tax-cat-aijinen .side-menu {
        width: 100%;
    }
    body[class*="page-template-page-temp-facility-"] .bnr_pdf_dl, body[class*="post-type-archive-hakuaien"] .bnr_pdf_dl,
    body.single-hakuaien .bnr_pdf_dl {
        margin-top: 20px;
        width: 80%;
        margin-inline: auto;
    }
    body[class*="post-type-archive-hakuaien"] .single-navi, body.single-hakuaien .single-navi, body[class*="post-type-archive-aijinen"] .single-navi, body.single-aijinen .single-navi {
        padding: 0;
    }
    body[class*="post-type-archive-hakuaien"] .flex-box, body[class*="post-type-archive-aijinen"] .flex-box,
    body.tax-cat-hakuaien .flex-box, body.tax-cat-aijinen .flex-box {
        gap: unset;
    }
}
@media only screen and (max-width:468px){

}


/* =========================================================================================
沿革
=========================================================================================*/
.timeline-list {
    padding: 40px 0;
}
.timeline-list-item {
    display: flex;
}
.timeline-list-item .date {
    width: 26%;
    padding-right: 25px;
    text-align: right;
}
body[class*="page-template-page-temp-nursery"] .timeline-list-item .date {
    width: 16%;
}
.timeline-list-item .content {
    position: relative;
    width: 80%;
    padding: 0 20px 20px 30px;
}
body[class*="id-68"] .timeline-list-item .content {
    border-left: 2px solid #FF7031;
}
body[class*="id-70"] .timeline-list-item .content {
    border-left: 2px solid #F79292;
}
body[class*="page-id-157"] .timeline-list-item .content {
    border-left: 2px solid var(--ushioe);
}
body[class*="page-id-605"] .timeline-list-item .content {
    border-left: 2px solid var(--ushioe2);
}
body[class*="page-id-129"] .timeline-list-item .content {
    border-left: 2px solid var(--kodakasa);
}
body[class*="page-id-608"] .timeline-list-item .content {
    border-left: 2px solid var(--minamimachi);
}
body.enkaku .timeline-list-item .content {
    border-left: 2px solid var(--main-color);
}
.timeline-list-item:last-child .content {
    padding-bottom: 0;
    border-left: none;
}
.timeline-list-item .content img {
    width: auto;
    margin-top: 20px;
    border-radius: 10px;
}
.timeline-list-item .content::before {
    content: "";
    position: absolute;
    top:0.5lh;
    translate:0 -50%;
    left: -7px;
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background-color: #fffdf6;
}
body[class*="id-68"] .timeline-list-item .content::before {
    border: 3px solid #FF7031;
}
body[class*="id-70"] .timeline-list-item .content::before {
    border: 3px solid #F79292;
}
body[class*="page-id-157"] .timeline-list-item .content::before {
    border: 3px solid var(--ushioe);
}
body[class*="page-id-605"] .timeline-list-item .content::before {
    border: 3px solid var(--ushioe2);
}
body[class*="page-id-129"] .timeline-list-item .content::before {
    border: 3px solid var(--kodakasa);
}
body[class*="page-id-608"] .timeline-list-item .content::before {
    border: 3px solid var(--minamimachi);
}
body.enkaku .timeline-list-item .content::before {
    border: 3px solid var(--main-color);
}

@media only screen and (max-width:820px){
    .timeline-list { padding: 30px 0 20px 20px; }
    .timeline-list-item {display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(2, auto); grid-column-gap: 0px; grid-row-gap: 0px}
    .timeline-list-item .date { padding-left: 25px;width: 100%; text-align: left;}
    .timeline-list-item .content { padding-left: 25px; width: 100%; padding-bottom: 20px }
    .timeline-list-item .content::before { top: -17px;}
    body[class*="page-template-page-temp-facility"] .timeline-list-item .content::before { top: -14px;}
    body[class*="page-template-page-temp-nursery"] .timeline-list-item .date { width: 100%;}
    body[class*="id-68"] .timeline-list-item .date {border-left: 2px solid #F79292;}
    body[class*="id-70"] .timeline-list-item .date {border-left: 2px solid #FF7031;}
    body[class*="page-id-157"] .timeline-list-item .date {border-left: 2px solid var(--ushioe);}
    body[class*="page-id-605"] .timeline-list-item .date {border-left: 2px solid var(--ushioe2);}
    body[class*="page-id-129"] .timeline-list-item .date {border-left: 2px solid var(--kodakasa);}
    body[class*="page-id-608"] .timeline-list-item .date {border-left: 2px solid var(--minamimachi);}
    body.enkaku .timeline-list-item .date {border-left: 2px solid var(--main-color);}

    body[class*="page-id-68"] .timeline-list,
    body[class*="page-id-70"] .timeline-list,
    body.prev-navi .timeline-list { 
        padding: 0;
    }

}



/* =========================================================================================
法人概要
=========================================================================================*/
body.profile article, body.enkaku article, body.report article {
    margin-top: 60px;
    width: 1000px;
}
body.profile article.flex-box, body.enkaku article.flex-box, body.report article.flex-box {
    align-items: flex-start;
}
body.profile #main, body.enkaku #main, body.report #main {
    width: 700px;
}
body.profile #main a, body.enkaku #main a, body.report #main a {
    text-decoration: underline;
}
body.profile #main a:hover, body.enkaku #main a:hover, body.report #main a:hover {
    text-decoration: none;
}
body.profile #main .entry-content, body.enkaku #main .entry-content, body.report #main .entry-content {
    padding-top: 0;
}
body.profile section, body.report section {
    padding-left: 0;
    padding-right: 0;
}
body.profile h3.wp-block-heading, body.enkaku h3.wp-block-heading, body.report h3.wp-block-heading {
    font-size: 2.25rem;
    width: 100%;
    text-align: center;
    margin: 100px auto 30px;
    background: url("images/bg_heading.svg") no-repeat;
    padding: 0px 20px 30px 20px;
    background-position: 55% 50%;
}
body.profile .page-header, body.report .page-header {
    background: url("images/head_houjin.jpg") no-repeat center;
    background-size: auto;
    background-size: cover;
}
body.enkaku .page-header {
    background: url("images/head_kyoukai.webp") no-repeat center;
    background-size: auto;
    background-size: cover;
}
body.profile h3:first-child, body.enkaku h3:first-child, body.report h3:first-child {
    margin-top: 0;
}
body.profile .management_facility table {
    margin-top: 0;
}
body.profile .wp-block-table table th {
    width: 10em;
}
body.profile .management_facility table td {
    border-right: 1px solid #ddd;
}
body.profile h3.p_enkaku {
    width: auto;
    text-align: center;
}
body.profile ul.public_information li  {
    padding: 10px;
    border-bottom: 1px solid #343434;    
}
body.profile ul.public_information li a {
    padding: 15px 0;
}
body.profile .btn a {
    text-decoration: none!important;
}
body.profile .kaihou_honbu, body.report .kaihou_honbu {
    gap: 30px;
    text-align: center;
}
body.profile .kaihou_honbu figcaption, body.report .kaihou_honbu figcaption {
    color: #000;
    white-space: nowrap;

}
@media only screen and (max-width:820px){
    body.profile .kaihou_honbu .wp-block-column {
        flex-basis: min-content!important;
    }
    body.report .wp-block-columns.kaihou_honbu {
        flex-wrap: nowrap !important;
    }
    body.report .kaihou_honbu figcaption {
        font-size: 0.85rem;
    }
}

/*サイドバー------------------------------*/
body.profile .side-menu, body.enkaku .side-menu, body.report .side-menu, body.enkaku .side-menu {
    padding: 10px;
    border-radius: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
    width: 300px;
}
body.profile .side-menu ul, body.enkaku .side-menu ul, body.report .side-menu ul {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}
body.profile #sidebar, body.enkaku #sidebar, body.report #sidebar {
    position: sticky;
    top: 20px;
}
body.profile #sidebar li, body.enkaku #sidebar li, body.report #sidebar li {
    border-bottom: none;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    font-weight: 500;
    font-size: var(--18px);
}
body.profile #sidebar li a, body.enkaku #sidebar li a, body.report #sidebar li a {
    padding: 7px 10px 7px 25px;
    display: block;
    position: relative;
}
body.profile li a:hover, body.enkaku li a:hover, body.report li a:hover {
    color: var(--main-color);
}

body.profile #sidebar li a.active, body.enkaku #sidebar li a.active, body.report #sidebar li a.active {
    color: var(--main-color);
}
body.profile #sidebar li a.active::before, body.enkaku #sidebar li a.active::before, body.report #sidebar li a.active::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: -7px;
    width: 4px;
    height: 60%;
    border-radius: 5px;
}
body.profile #sidebar li a.active::before, body.enkaku #sidebar li a.active::before, body.report #sidebar li a.active::before {
    background: var(--main-color);
}
body.profile .side-menu, body.enkaku .side-menu, body.report .side-menu {
    background-color: #d3c2e5;
}
body.profile .bnr_pdf_dl {
    margin-inline: auto;
    margin-top: 20px;
    width: 400px;
}


@media only screen and (max-width:820px){
    body.profile .wrap_profile, body.enkaku .wrap_profile, body.report .wrap_profile {width: 100%; padding:0 5% 40px; margin: 0 auto;}
    body.profile .wrap_profile .flex-box, body.enkaku .wrap_profile .flex-box, body.report .wrap_profile .flex-box {
        display: flex;
        flex-flow: column;
        flex-direction: column-reverse;
    }
    body.profile article, body.enkaku article, body.report article {
        width: 100%;
    }
    body.profile #main, body.enkaku #main, body.report #main {
        width: 100%;
    }
    body.profile h3.wp-block-heading, body.enkaku h3.wp-block-heading, body.report h3.wp-block-heading {
        background-position: 65% 50%;
    }
    body.profile .wp-block-table table th,
    body.profile .wp-block-table table td {
        display: block;
    }
    body.profile .wp-block-table table th {
        width: 100%;
        text-align: center;
    }
    body.profile .wp-block-table table td {
        line-height: 1.5;
    }
    body.profile .management_facility table {
        border-bottom: 1px solid #ddd;
    }
    body.profile .management_facility table tr {
        display: flex;
        flex-wrap: wrap;
        background-color: #fff;
    }
    body.profile .management_facility tr:last-child th {
        border-bottom: none;
    }
    body.profile .management_facility table tr th {
        width: 100%;
    }
    body.profile .management_facility table tr td {
        border-bottom: none;
    }
    body.profile .management_facility table tr td:last-child {
        border-right: none;
    }
    body.profile #sidebar, body.enkaku #sidebar, body.report #sidebar {
        position: unset;
    }
    body.profile .side-menu, body.enkaku .side-menu, body.report .side-menu {
        width: 100%;
    }
    body.profile h3#kaihou {
        font-size: var(--32px);
    }
    body.enkaku .timeline-list-item .content::before { top: -12px;}
    body.profile .bnr_pdf_dl {
        width: 80%;
    }
}



/* =========================================================================================
wp-block-file
=========================================================================================*/
.wp-block-file a {
    text-decoration: none!important;
}
a.wp-block-file__button {
    color: #fff;
    padding: 5px 20px;
    background-color: #694A26;
}




/* =========================================================================================
Entry Btn / text
=========================================================================================*/
.entrytext {
    text-align: center;
}
.entrytext_center {
        text-align: center;
    }
.entrybtn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    padding: 10px 0;
}
.entrybtn div {
    background: linear-gradient(180deg, #7b5831 0%, #52371b 100%);
    padding-right: 16px;
    border-radius: 25px;
    /* box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.25); */
    transition:0.2s;
    position: relative;
    border-bottom: 5px solid #280d00;

}

.entrybtn div:hover {
    margin-top: 3px;
    color: #000;
    background: # fff20a;
    border-bottom: 2px solid #280d00;
}
.entrybtn a {
    color: #fff;
    padding: 8px 30px;
    position: relative;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
    font-size: var(--18px);
    display: block;
    text-decoration: none!important;
}
.entrybtn a::after{
    position: absolute;
    content: "";
    background-image: url("images/ico_arrow_wh.svg");
    background-repeat: no-repeat;
    background-position: center left 10px;
    background-size: contain;
    width: 32px;
    height: 16px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}


/* PDF用 */
.entrybtn a[href$=".pdf"]::after  {
    background-image: url("images/common/ico_download_wh.svg");
}
/* Word用（.doc と .docx の両方） */
.entrybtn a[href$=".doc"]::after,
.entrybtn a[href$=".docx"]::after {
    background-image: url("images/common/ico_download_wh.svg");
}

@media only screen and (max-width:820px) {
    .entrytext {
        text-align: left;
    }
    .entrybtn {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .entrybtn div {
        width: 70%;
        text-align: center;
        border-radius: 50px;
    }
    .entrybtn a {
        padding: 15px 30px;
    }
    .entrybtn a::after {
        width: 32px;
        height: 20px;
        background-position: center right;
    }
    body.nursery #recruit .entrybtn div {
        width: 100%;
    }
}


