@charset "UTF-8";
@import url("grid.css");

img {
    max-width: 100%;
    height: auto;
    /*高さ自動*/
}

a {
    display: block;
    color: #333;
    text-decoration-line: none;
}

a:hover {
    color: #999;
}

/*
a img:hover {
	opacity: 0.8;
}*/
.greenback {
    background-color: #007130;
    color: #fff;
    padding: 1rem;
    text-indent: 1em;
}

.underline {
    border-bottom: 3px solid #007130;
    padding-bottom: 0.5rem;
}

.center {
    text-align: center;
}

body {
    background: #f6f6f1;
}

/*ヘッダー
-------------------------------------*/
header {
    background-color: #FFF;
}

.head {
    display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 {
    position: relative;
    background-color: #fff;
    height: 68px;
    float: left;
    width: 600px;
    /*height: 54px;*/
    margin: 0 0 0 1%;
}

h1.logo a {
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/logo.png) no-repeat;
    background-size: contain;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/*
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}*/
.menu {
    background-color: #007130;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin-bottom: 0;
}

nav li {
    flex: 1 0 auto;
    margin-bottom: 0;
}

nav li:first-child a {
    font-size: 91.6%;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border-left: 1px solid #FFF;
}

nav li a {
    font-size: 91.6%;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border-right: 1px solid #FFF;
}

nav a:hover {
    background-color: #1a8b4a;
    color: #fff;
}

nav a {
    padding: 2rem 1rem;
    display: block;
}

@media screen and (min-width: 768px) {

    /* PC時はMENUボタンを非表示 */
    #open,
    #close {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .head {
        flex-direction: column;
        text-align: left;
        margin-bottom: 10px;
    }

    /*
.telbox {
	margin-left: 0;
	text-align: center;
}*/
    .head h1 {
        position: relative;
        background-color: #fff;
        height: 58px;
        float: left;
        width: 100%;
        /* height: 54px; */
        margin: 0 0 0 0;
    }

    .head #open,
    #close {
        position: absolute;
        top: 20px;
        right: 12px;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        padding-top: 0;
        border-bottom: 1px solid #ccc;
        margin-bottom: 0;
    }

    nav li:first-child a,
    nav li a {
        border: none;
    }

    /* スマホ時はMENUボタンを表示 */
    #open {
        display: block;
        background: url(../img/button.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }

    #close {
        display: block;
        background: url(../img/button2.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }

    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }

    /*キャッチのフォントサイズ*/
    .maintext h2 {
        font-size: 30px;
    }

    .maintext h3 {
        font-size: 20px;
    }
}

/*メイン画像
-------------------------------------*/
.mainimg {
    background-image: url("../img/mainimg.jpg");
    background-position: 50% 50%;
    background-size: cover;
    width: 100vw;
    height: 40vh;
    position: relative;
    display: table;
}

.mainimg .maintext {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.maintext .text1 {
    color: #007130;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    /*    font-size: 72px;*/
    font-weight: 600;
    text-shadow: 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff, 0 0 7px #fff;
}

.maintext .text2 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    padding-right: 0px;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}

.maintext h2,
.maintext h3 {
    margin-top: 15px;
}

.maintext h3 {
    color: #333;
    line-height: 1.4em;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}

.catch h2 {
    padding-bottom: 1rem;
    line-height: 2.0em;
}

.under {
    border-bottom: 0.4rem solid #000;
    /*padding-bottom: 1rem;*/
}

.center {
    text-align: center;
    margin-bottom: 4rem;
}

.catch-lead {
    /*    font-size: 124%; */
}

.list li {
    display: inline-block;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
    margin-left: 0;
    line-height: 1.6;
    padding-top: 4px;
    margin-top: 0;
}

.list li::before {
    content: "";
    position: absolute;
    top: 0.75em;
    left: 0px;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #007130;
    transform: translateY(-1px);
}

.important li {
    display: block;
    position: relative;
    list-style-type: none;
    padding-left: 40px;
    margin-left: 0;
    line-height: 1.6;
    padding-top: 4px;
    margin-top: 0;
}

.important li::before {
    content: "";
    position: absolute;
    top: 0em;
    left: 0px;
    display: inline-block;
    width: 32px;
    /* 新しい幅 */
    height: 32px;
    /* 新しい高さ */
    margin-right: 32px;
    background-image: url("../img/pdf_icon.png");
    background-size: contain;
    /* 画像のサイズを調整 */
    background-repeat: no-repeat;
    /* 画像を繰り返さない */
}

.important li a {
    display: inline-block;
}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: #007130;
    color: #fff;
    padding: 1rem;
}

.news li {
    list-style-type: none;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0;
}

/*サービス
-------------------------------------*/
h3 {
    text-align: center;
    color: #007130;
    margin-top: 30px;
}

/*施設概要
-------------------------------------*/
.facility a {
    color: #007130;
}


/*お問い合わせ・相談
-------------------------------------*/
.contactus {
    text-align: center;
}

.contactus .contact-box {
    text-align: left;
}

.contactus .contact-box .tel {
    margin-bottom: 0;
    display: table-cell;
    vertical-align: middle;
}

.contactus .contact-box .tel img {
    height: 40px;
}

.contactus .contact-box .tel a {
    color: #007130;
    font-size: 40px;
    font-family: 'Lato', sans-serif;
}

.contactus .contact-box .time {
    color: #007130;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    text-align: center;
}

.contactus h2 {
    margin-bottom: 2em;
}

.contactus table label {
    display: inline;
}

.contactus table span {
    background-color: #DE2F2F;
    font-size: 83.3%;
    color: #FFF;
    margin-left: 15px;
    padding: 0 8px;
}

.contactus button {
    border: none;
    background-color: rgba(0, 113, 48, 0.6);
    color: #fff;
}

.contactus button:hover {
    border: none;
    background-color: rgba(0, 113, 48, 1.0);
    color: #fff;
}

.contactus input[type="button"],
.contactus input[type="submit"] {
    border: none;
    background-color: rgba(0, 113, 48, 0.6);
    color: #fff;
}

.contactus input[type="button"]:hover,
.contactus input[type="submit"]:hover {
    border: none;
    background-color: rgba(0, 113, 48, 1.0);
    color: #fff;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #007130;
    padding: 0;
    color: #fff;
}

footer .col a {
    color: #fff;
    text-align: center;
}

footer .col:hover {
    /*    background: #3366FF;*/
}

footer div.wrap {
    /*display: flex;
    flex-direction: row;
    justify-content: space-around;*/
    list-style: none;
    margin-bottom: 0;
}

footer div.wrap div {
    /*flex: 1 0 auto;*/
    margin-bottom: 0;
    margin-left: 0;
}

footer div.wrap div:first-child a {
    font-size: 91.6%;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border-left: 1px solid #FFF;
}

footer div.wrap div a {
    font-size: 91.6%;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border-right: 1px solid #FFF;
}

footer div.wrap div a:hover {
    background-color: #1a8b4a;
    color: #fff;
}

footer div.wrap div a {
    padding: 1em 1rem;
    display: block;
}

@media screen and (max-width: 768px) {
    footer {
        background-color: #007130;
        padding: 0;
        color: #fff;
    }

    footer .col a {
        color: #fff;
        text-align: center;
    }

    footer .col:hover {
        background: #3366FF;
    }

    footer div.wrap {
        /*display: flex;
        flex-direction: row;
        justify-content: space-around;*/
        list-style: none;
        margin-bottom: 0;
    }

    footer div.wrap div {
        /*flex: 1 0 auto;*/
        margin-bottom: 0;
        margin-left: 0;
    }

    footer div.wrap div:first-child a {
        font-size: 91.6%;
        text-decoration: none;
        text-align: center;
        color: #fff;
        border-left: 1px solid #FFF;
    }

    footer div.wrap div a {
        font-size: 91.6%;
        text-decoration: none;
        text-align: center;
        color: #fff;
        border-right: 1px solid #FFF;
    }

    footer div.wrap div a:hover {
        background-color: #1a8b4a;
        color: #fff;
    }

    footer div.wrap div a {
        padding: 1em 1rem;
        display: block;
    }

    footter div.wrap {
        flex-direction: column;
    }

    footer div.wrap div {
        padding-top: 0;
        border-bottom: 1px solid #ccc;
        margin-bottom: 0;
    }

    footer div.wrap div:first-child a,
    footer div.wrap div a {
        border: none;
    }
}

/*個人情報の利用について
-------------------------------------*/
.privacy h3 {
    text-align: left;
    color: #000;
}

.privacy h4 {
    text-align: left;
    color: #000;
    border-bottom: 3px solid #007130;
}

.privacy ul li {}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}

.copyright a {
    color: #000;
    text-decoration: none;
    display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

#pagetop a {
    display: block;
    background-color: rgba(0, 113, 48, 0.8);
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}

#pagetop a:hover {
    background-color: rgba(0, 113, 48, 1.0);
}

/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;
}

.breadcrumb li {
    list-style-type: none;
}

.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}