body {
    overflow: hidden;
    position: relative;
    /* background-color: #faf6ef;
    color: #594C36; */
    background-image: url(../image/top_background.png);
    background-size:contain;
    
}

body::before {
    display: inline-block;
    content: '';
    background-image: url(../image/top_background_top.png);
    width: 100%;
    height: 15px;
}

body::after {
    display: inline-block;
    content: '';
    background-image: url(../image/top_background_bottom.png);
    width: 100%;
    height: 15px;
}

#header {
    position: relative;
    /* padding: 0 10px; */
}


#container {
    max-width: 1140px;
    margin: 0 auto;
}

#header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1340px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

#header-inner #head-logo {
    margin-left: 36px;
}

.header-r {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 40px;
}

@media screen and (max-width: 1100px)
{
    #head-logo {
        width: 25%;
    }

}

@media screen and (max-width: 1040px)
{

    #head-logo {
        width: 20%;
    }

    .header-r {
        margin-right: 30px;
    }
}

@media screen and (max-width: 980px)
{
    #head-logo {
        width: 18%;
        /* margin-left: 20px; */
    }

    #header-inner {
        padding: 40px 10px 0;
    }

    #header-inner #head-logo {
        margin-left: 20px;
    }

    .header-r {
        margin-right: 20px;
    }

}

@media screen and (max-width: 910px)
{
    .header-r {
        margin-right: 0;
    }
}

@media screen and (max-width: 850px)
{
    /* #header {
        padding: 0 10px;
    } */

    #head-logo {
        width: 50%;
    }

    #header-inner {
        padding: 20px 5px;
    }

    #header-inner #head-logo {
        margin-left: 0;
    }
}

/* @media screen and (max-width: 980px)
{
    .header-r {
        margin-right: 35px;
    }
} */

.head-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 6px;
    height: 6px;
    border: solid #379a30;
    border-width: 2px 2px 0 0;
    z-index: 1;
    transform: rotate(45deg);
}

.main_img {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0;
}

.main_img img {
    width: 1400px;
    height: auto;
}

#global-nav {
    /* max-width: 1120px; */
    background-image: url(../image/gnav.jpg);
    background-repeat: repeat;
}

#global-nav-inner {
   /* list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;*/
    border-left: 2px dotted #fff;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    /*display: block;*/
}

#global-nav-inner li:first-child {
    border-left: 1px dotted #fff !important;
}

#global-nav-inner li {
   /* -ms-flex: 1;
    flex: 1;*/
    border-right: 2px dotted #fff;
    /*max-width: 270px;*/
    width: 25%;
    padding: 32px 0;
    display: inline-block;
}

#global-nav-inner li a span{
    text-decoration: none;
    font-weight: bold;
    color: #685746;
    font-size: 1.4rem;
    padding: 5px 0 5px 40px;
    text-align: left;
    background: url(../image/gnav_img.png) no-repeat left center;
}

@media screen and (max-width: 850px) {
    #global-nav-inner li a span {
        font-weight: normal;
        color: black;
        font-size: 1.2rem;
    }
}


/* #global-nav-inner li a span::before {
    width: 30px;
    height: 30px;
    content: '';
    display: inline-block;
    background-image: url(../image/gnav_img.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    margin-right: 5px;
} */

@media screen and (max-width: 850px) {
    #global-nav-inner li {
        display: block;
        width: auto;
    }
    #global-nav-inner li:first-child {
        border: none!important;
        padding-top: 10px;
        height: 30px;
    }

}

.nav-sp {
    border: solid 1px #fae4b1!important;
}

.nav-sp {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    margin: 10px 5px;
    overflow: hidden;
}

.nav-sp li {
    width: 50%;
    height: 60px;
    list-style-type: none;
    border: dotted #fae4b1;
    border-width: 1px 0 0 1px;
    margin: -1px 0 0 -1px;
    /* text-align: left; */
    align-items: center;
    justify-content: center;
}

.nav-sp a {
    /* height: 60px; */
    font-size: 90%;
    text-decoration: none;
    display: inline-block;
    margin: 15px 0 0 10px;
    font-weight: bold;
    color:  #685746;
    font-size: 1.3rem;
    
}

@media screen and (max-width: 640px) {
    .nav-sp a {
        font-size: .9rem;
    }
}

.nav-sp li a::before {
    width: 30px;
    height: 30px;
    content: '';
    display: inline-block;
    background-image: url(../image/gnav_img.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    margin-right: 5px;
}

@media screen and (max-width: 640px) {
    .nav-sp li a::before{
        width: 20px;
        height: 20px;
    }
}

#global-nav-inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /*min-height: 106px;*/
    padding: 0 10px;
    position: relative;
    line-height: 1.2;
    font-size: 114%;
    text-align: center;
    text-decoration: none;
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    #global-nav-inner {
        display: block;
        border: none;
    }
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    #global-nav-inner li {
        border: dotted #CCC;
        border-width: 0 0 1px;
        padding: 0 20px;
        /* max-width: 1000px; */
    }

    #global-nav-inner a {
        flex-direction: row;
        justify-content: flex-start;
        height: 60px;
        padding: 0 20px;
        text-align: left;
    }

}

@media screen and (min-width: 0px) and (max-width: 850px) {
    #global-nav {
        margin: 0;
        padding: 0;
        background-image: none;
    }
}

#topic-path {
    margin: 20px 0 10px;
    /* padding-left: 10%; */
}

#topic-path dt {
    display: inline-block;

}
#topic-path dd {
margin-left: 5em;
    margin-top: -1.5em;
}

#topic-path ol {
    list-style-type: none;
}

#topic-path li {
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
}

@media screen and (max-width: 1190px) {
    #topic-path {
        margin: 10px 0 10px;
        padding-left: 2%;
    }
}

.l-topic a {
    text-decoration: none;
}

.mie-map p {
    text-align: left;
}

.mie-map{
    text-align: center;
}


.mie-map-list, .mie-map-list-sp{
    display: block;
    background-color: #fcffef;
    margin: 0 auto!important;
    max-width: 700px!important;
    padding: 30px 65px 0 65px;
}

.mie-map-box {
    display: inline-block;
}

.mie-map h3 {
    text-align: left;
}

#center-contents .mie-map-list ul, #center-contents .mie-map-list-sp ul {
    list-style: none!important;
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;
}

.mie-map-list ul li{
    display: inline-block;
    width: 160px;
    margin-bottom: 30px;
    
}


.mie-map-list ul li a {
    padding: 3px 3px 3px 20px;
    margin-right: 20px;
    background-image: url(../image/arrow_icon_16.png);
    background-repeat: no-repeat;
    background-position: top 0.3rem left;}



.footer-mieiin dl:nth-child(1){
    margin-right: 40px;
}

@media screen and (max-width: 894px) {
    .footer-mieiin dl:nth-child(2){
        margin-left: 0;
    }
    #footer-inner {
       text-align: left;
    }

    #footer-inner dl {
        text-align: left;
    }
}


.mb-overlay-menu {
    display: block;
    background-color: #1c8814;
    text-align: center;
    color: #fff;
    height: 60px;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -ms-flex-align: center;

    align-items: center;

    -ms-flex-pack: center;
    justify-content: center;
}

#center-contents  h1 {
    font-size: 190%;
    font-weight: bold;
    color: #594c36;
    border-bottom: 3px dotted #ffbfb6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -ms-flex-align: center;

    align-items: center;
    margin: 30px 0 20px;
}

h1 .ico-topic01 {
    padding-left: 20px;
}

#center-contents h1 {
    background: url(../image/h2_logo.png) no-repeat top left;
    padding-left: 60px;
    padding-bottom: 16px;
}

@media screen and (max-width: 640px) {
    #center-contents  h1 {
    background: url(../image/h2_logo.png) no-repeat center left;
    background-size: 40px;
    padding-left: 46px;
    padding-bottom: 16px;
    padding-top: 16px;
    font-size: 1.4rem;
    }
}

#center-contents  h2 {
    font-size: 140%;
    color: #594c36;
    border-bottom: solid 2px #a3d166;
    font-weight: bold;
    padding: 5px 10px;
    margin: 30px 0 20px;
    text-align: left;
}

#center-contents  h3 {
    font-size: 130%;
    font-weight: bold;
    color: #625135;
    background-color: #fbfaea;
    border-left: solid 7px #f9dc85;
    padding: 5px 10px;
    margin: 30px 0 20px;
    text-align: left;
}

#center-contents  h4 {
    font-size: 125%;
    font-weight: bold;
    border-bottom: dotted 3px #b4d975;
    color: #2d7523;
    padding: 5px 10px;
    margin: 30px 0 20px;
    text-align: left;
}

#center-contents  h5 {
    font-size: 120%;
    font-weight: bold;
    background-color: #faeeee;
    color: #774d3f;
    padding: 5px 10px;
    margin: 30px 0 20px;
    text-align: left;
}
/* 
#center-contents  ul {
    list-style-type:none!important;
} */

#center-contents  .maru-list li::before {
    content: "〇";
    padding-right: 5px;
}

/* #center-contents h2 {
    font-size: 140%;
    border-bottom: solid 2px #a3d166;
    padding: 5px 10px;
    margin: 30px 0 20px;
    text-align: left;
} */

.box-topic {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 40px 45px;
}

@media screen and (min-width: 0px) and (max-width: 736px) {
    .box-topic {
        padding: 1px 20px;
    }
}
@media screen and (min-width: 0px) and (max-width: 736px) {
    #center-contents .box-topic h2 {
     font-size: 120%;
     margin-top: 20px;
 }
    #center-contents .box-topic h3 {
     font-size: 110%;
 }
    #center-contents .box-topic h4 {
     font-size: 110%;
 }
    #center-contents .box-topic h5 {
     font-size: 100%;
 }
}

@media screen and (min-width: 0px) and (max-width: 736px) {
    #center-contents .box-topic h2::before {
        width: 32px;
        height: 51px;
        background-size: contain;
        vertical-align: middle;
    }
}

.l-topic dl dd a{
    margin-bottom: 10px;
    padding-left: 15px;
    background: url(../image/arrow_r.png) no-repeat;
    background-position: left center;
}

.threebox {
    margin-top: 10px;
    margin-bottom: 10px;
}

.three_left,  .three_center, .three_right{
    width : calc((100% - 100px)/3) !important ;
    width : -webkit-calc((100% - 100px)/3) !important ;
    /* width : 29% !important ; */
    /* width: 324px !important; */
}
.three_full{
    width : 95% !important ;
}
.three_auto{
    width : auto !important ;
}

@media screen and (max-width: 850px) {
    .threebox .three_left,  .threebox .three_center, .threebox .three_right, .three_full, .three_auto {
        width: 100%!important;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 850px) {
    .center-contents-c .twobox>div {
        width: 100%!important;
        box-sizing: border-box;
    }
}


.threebox .ttl, .twobox .ttl {
    background: url(../image/arrow_teachar.png) no-repeat 25px 1.0rem #f3f8e4 ;
}

.center-contents-c .twobox>div {
    width: 45%;
/*    width: 502px; */
}


@media screen and (max-width: 850px) {
    .threebox>div {
        clear: left;
    }
}

#page-top {
    position: fixed;
    right: 90px;
    bottom: 80px;
    z-index: 1;
}

#page-top a {
    display: block;
    width: 72px;
    height: 0;
    padding-top: 72px;
    background-image: url(../image/ico_pagetop.png);
    overflow: hidden;
}


@media screen and (min-width: 0px) and (max-width: 850px) {
    #page-top {
        right: 10px;
        bottom: 10px;
    }
}

#footer {
    margin-bottom: 10px;
}
#footer-inner {
    position: relative;
    padding: 0 10px;
}

.footer-mieiin {
    display: block;
}
.footer-mieiin dl{
    display: inline-block;
}

.footer-mieiin dl dd {
    border-left: medium solid #379a30;
    padding-left: 8px;
}

@media screen and (max-width: 850px) {

    .mie-map-list{
        padding: 20px 30px 0 30px;
    }
    .mie-map-box {
        padding: 0 !important;
    }
    .mie-map-list ul li {
        width: 130px;
        margin-bottom: 20px;
    }

}

.is-hide-text {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
}

.is-hide {
    display: none;
}

@media screen and (min-width: 0px) and (max-width: 736px) {
    .is-mb-optimize {
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .is-mb-optimize>* {
        float: none !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .box-topic {
        padding: 30px 20px;
    }
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    .is-mb-hide {
        display: none;
    }
}

@media screen and (min-width: 737px) and (max-width: 960px) {
    .is-mb-show {
        display: none;
    }
}

@media screen and (min-width: 961px) {
    .is-mb-show {
        display: none;
    }
}

@media \0screen {
    .is-mb-show {
        display: none;
    }
}

@media screen and (min-width: 850px) and (max-width: 960px) {
    .is-tb-hide {
        display: none;
    }
}

@media \0screen {
    .is-tb-hide {
        display: none;
    }
}

@media screen and (min-width: 737px) and (max-width: 960px) {
    .is-tb-show {
        display: none;
    }
}

@media screen and (min-width: 961px) {
    .is-tb-show {
        display: none;
    }
}

@media \0screen {
    .is-tb-show {
        display: none;
    }
}

/* .is-pc-hide {
    display: none;
} */

/* .is-sp-hide {
    display: none;
} */

@media screen and (min-width: 850px) {
    .is-pc-hide {
        display: none !important;
    }
}

@media \0screen {
    .is-pc-hide {
        display: none;
    }
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    .is-pc-show {
        display: none;
    }
 .footer-offical {
        right: 10px;
        bottom: 36px;
        width: 44px;
        padding-top: 15px;
        background-size: cover;
    }
}

@media screen and (min-width: 737px) and (max-width: 850px) {
    .is-pc-show {
        display: none;
    }
}

.header-menu {
    display: none;
}

.head-accessible-nav {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    .head-accessible-nav {
        display: none;
    }
}

.head-accessible-nav [class*="accessible-"] {
    /* border-right: 1px dotted; */
    padding-right: 10px;
    margin-right: 10px;
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    .head-accessible-nav [class*="accessible-"] {
        display: none;
    }
}

.head-accessible-nav [class*="accessible-"]>li {
    list-style-type: none;
}


@media screen and (max-width: 850px) and (min-width: 0px)
{
    .header-menu {
        display: block;
        width: 66px;
        height: 66px;
        background: url(../image/ico_menu02.png) no-repeat 0 0;
        background-size: cover;
        overflow: hidden;
        text-indent: -9999px;
        position: absolute;
        top: 10px;
        right: 0;
    }

    /* #header-inner {
        padding: 20px 5px;
    } */
}

@media screen and (max-width: 1400px) {
    #header {
        padding: 0 20px;
    }
}

@media screen and (max-width: 850px) {
    #header {
        padding: 0 10px;
    }
}


#page-id-no {
    display: inline-block;
    margin-top: 16px;
    padding: 2px 12px 0;
    border: 1px solid #cccccc;
    background: #F1EBDF;
}

@media screen and (min-width: 0px) and (max-width: 850px) {
    #page-id-no 
    {
        margin-top: 10px;
        /* background:none; */
        /* background: #F1EBDF; */
    }
}

.nav-sp--footer a {
    height: 50px;
    justify-content: flex-start;
    flex-direction: row;
    padding: 0 5px;
}

.nav-sp--footer a:before {
    width: 30px;
    height: 30px;
    content: '';
    display: inline-block;
    background-image: url(../image/gnav_img.png);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    margin-right: 5px;
}
html.is-anchor-loading body {
  opacity: 0;
  visibility: hidden;
}
html body {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease;
}

