@charset "utf-8";

/* 基本要素 */

html,
body {
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

a {
    color: #000000;
    text-decoration: none;
}

a:visited {
    color: #444444;
}

a:hover {
    color: #4E7A05;
    font-weight: bold;
    text-decoration: none;
}

a img {
    transition: opacity 0.2s linear;
}

a:hover img {
    opacity: 0.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h2 {
    margin: 0;
    padding: 2px 5px;
    font-size: 1.125em;
    background-color: #d9f9a3;
}

p {
    margin-top: 0;
    line-height: 1.6;
    padding: 0 5px;
    font-size: 0.93em;
}

img {
    vertical-align: bottom;
}


/* レイアウト */

#container {
    width: 980px;
    margin: 0 auto;
}

#contents {
    width: 980px;
    margin: 3px 0;
}

#menu {
    float: left;
    width: 170px;
}

#main {
    float: right;
    width: 808px;
}

#footer {
    clear: both;
}

/* ヘッダー */

#header {
    height: 120px;
    background-image: url(../images/header_grad_bg.jpg);
    color: #ffffff;
}

#header_title {
    padding: 10px;
}

#header_title h1 {
    margin: 0;
    font-size: 2.5em;
    float: left;
}

#header_title p {
    margin: 0;
    margin-top: 0px;
    font-size: 1em;
}

#header_title a {
    color: #ffffff;
    text-decoration: none;
}

#header_title a:visited {
    color: #ffffff;
    text-decoration: none;
}

#header_title a:hover {
    color: #ffffff;
    text-decoration: none;
}

#header_organizations {
    font-size: 8pt !important;
    margin: 0;
    text-align: right;
}

#header_company {
    margin: 0px;
    height: 0px;
    text-align: right;
    font-size: 9pt !important;
}


/* サイドメニュー */

.menu {
    width: auto;
    min-height: 300px;
    font-size: 14px;
    line-height: 2;
    color: #ffffff;
    background-color: #569eba;
    text-align: center;
    padding-top: 1px;
}

.menu ul {
    margin: 0;
    padding: 15px 10px;
}

.menu li {
    list-style-type: none;
    border-bottom: solid 1px #f2f2f2;
    text-align: center;
}

.menu li a {
    line-height: 2;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.menu li a:hover {
    font-weight: bold;
}

.menu li:first-child {
    border-top: solid 1px #f2f2f2;
}

.menu h2 {
    background-color: #d9f9a3;
    color: #4E7A05;
    padding: 2px;
    font-size: 14px;
    width: 164px;
    margin: 0px auto;
}

.menu a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.menu a::after {
    position: absolute;
    bottom: 2px;
    left: 0px;
    content: '';
    width: 100%;
    height: 10%;
    background: rgba(235, 255, 0, 0.93);
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .2s;
}

.menu a:hover::after {
    transform: scale(1, 1);
}

#main h1 {
    background-image: url(../images/header_bg.jpg);
    padding: 13px 30px 10px 20px;
    font-size: 26px;
    color: #44382d;
    border-bottom: solid 3px #48ccd1;
}

#main h2 {
    width: auto;
    font-size: 22px;
    border: double 3px #4E7A05;
    padding: 6px;
    border-radius: 5px;
    text-align: center;
}

#main h3 {
    margin: 32px 0px 0px 0px;
    font-size: 20px;
    background-color: rgba(72, 204, 209, 0.16);
    border-left: solid 15px #569eba;
    border-bottom: solid 2px #569eba;
    padding: 4px 9px 0px 20px;
}

#main img {
    align-content: center;
    box-shadow: 5px 5px 5px #aaaaaa;
    margin: 5px 200px;
    border-radius: 15px;
}

/* 問い合わせフォーム */
form {
    margin: 5%;
    padding: 3%;
    background-color: rgba(72, 204, 209, 0.16);
}

input,
textarea {
    border: solid 1px #4E7A05;
    box-shadow: 0 0 2px 1px #569eba;
    padding: 3px;
}

input:focus,
textarea:focus {
    background-color: #d9f9a3;
    box-shadow: 0 0 10px 3px #569eba;
    transition: 1.0s;
}

#entry form td {
    padding: 5px;
}

#conf tr td,
#conf tr th {
    background-color: #d9f9a3;
}



/* フッター */

footer {
    clear: both;
    background-color: #4E7A05;
    text-align: center;
}

footer #footer_nav {
    background-color: #efefef;
    padding: 2px 0;
}

footer #footer_nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer #footer_nav li {
    display: inline;
    border-left: solid 1px #aaa;
    margin-left: 8px;
    padding-left: 8px;
    font-size: smaller;
}

footer #footer_nav li:last-child {
    border-right: solid 1px #aaa;
    padding: 0 8px;
}

footer small {
    display: block;
    padding: 4px 0;
    color: #fff;
}

#aside p {
    font-size: 11px;
}

#side_contact {
    margin-top: 15px;
    margin-bottom: 5px;
    background: white;
}

#side_contact {
    border: 3px solid #d9f9a3;
    color: #4E7A05;
    text-align: center;
}

#side_contact h2 {
    background-color: #4E7A05 color: #fff;
    font-size: 14px;
}

#side_contact address {
    font-weight: bold;
    font-size: 17px;
    font-style: normal;
}

#side_contact p {
    font-size: 12px;
}

#side_contact address img {
    vertical-align: middle;
    margin-right: 5px;
}

#side_contact .contact_button {
    display: inline-block;
    background: #f1ede4;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f1ede4));
    background: -webkit-linear-gradient(top, #ffffff 0%, #f1ede4 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f1ede4 100%);
    color: #4E7A05;
    padding: 5px 25px 5px 25px;
    border: 1px solid #4E7A05;
    border-radius: 8px;
    text-decoration: none;
}

#side_contact .contact_button:hover {
    background: #d9f9a3;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4E7A05), color-stop(100%, #d9f9a3));
    background: -webkit-linear-gradient(top, #4E7A05 0%, #d9f9a3 100%);
    background: linear-gradient(to bottom, #4E7A05 0%, #d9f9a3 100%);
    color: #fff;
}

#map_canvas {
    width: 164px;
    height: 200px;
    margin: 1px auto;
    padding: 2px;
}

#map_canvas iframe {
    width: 164px;
    height: 200px;
}

#update ul {
    padding: 0;
    list-style: none;
}

#update ul li {
    font-size: 14px;
    position: relative;
    margin: 0 0 5px;
    padding: 0 5px 0px 8em;
    border-bottom: 1px dotted #ccc;
    text-align: center;
}

#update ul li span.date {
    font-size: 14px;
    display: block;
    position: absolute;
    top: 0;
    left: 0.5em;
    width: 9em;
    margin: 0;
}

/* パンくずリスト */

#breadcrumb {
    font-size: smaller;
}

#breadcrumb ol {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}

#breadcrumb ol li {
    display: inline;
}

#breadcrumb ol li::after {
    content: ">";
    padding-left: 7px;
}

#breadcrumb ol li:last-child::after {
    content: none;
}

/* ---------------------------------
メディアクエリー
--------------------------------- */

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

    /* 基本要素 */
    img {
        max-width: 100%;
    }

    #container {
        width: 100%;
        margin: 0 auto;
    }

    /* Layout */
    header,
    #continer,
    #main,
    #contents,
    #footer {
        clear: both;
        width: 100%;
    }

    #header {
        height: auto;
    }

    #header_title {
        margin: 0px;
        padding: 0px;
        text-align: center;
    }

    #header_title h1 {
        width: 100%;
        font-size: 1.5em;
        text-align: center;
    }

    #header_company {
        width: 100%;
        clear: both;
        margin: 0px;
        text-align: center;
        padding-bottom: 50px;
    }

    #header_organizations {
        display: none;
    }

    #menu {
        width: 100%;
    }

    .menu h2 {
        background-color: #d9f9a3;
        color: #4E7A05;
        padding: 2px;
        font-size: 14px;
        width: 100%;
        margin: 0px auto;
    }

    .menu {
        width: 100% auto;
        padding: 0px;
        margin: 0px;
        height: auto;
    }

    /* ヘッダー */
    header h1 img {
        width: 100%;
    }

    /* メイン部分 */
    #main {
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
    }

    #map_canvas {
        width: 99%;
        height: 200px;
        margin: 1px auto;
        padding: 1px;
        overflow: hidden;
    }

    #map_canvas iframe {
        width: 100%;
    }

    th,
    td {
        display: block;
        width: 90% auto;
    }

    form {
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: rgba(72, 204, 209, 0.16);
    }

    input,
    textarea {
        padding: 1em 0em;
        width: 90%;
    }

    table {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    #main img {
        padding:0;
        margin: auto;
        width: 100%;
        box-shadow: 5px 5px 5px #aaaaaa;
        border-radius: 15px;
    }
}
