@charset "UTF-8";

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* 大枠 */
html,
body {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -webkit-overflow-scrolling: touch !important;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    line-height: 1.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

body>#wrapper {
    height: auto;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    content: " ";
    clear: both;
    height: 0;
}

@media print {

    html,
    html body {
        overflow: visible !important;
    }
}

/* アクセシビリティ */
.guidance {
    left: -999px;
    position: absolute;
    width: 990px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    pointer-events: none;
}

/* レスポンシブ対応 */
img {
    vertical-align: bottom;
    box-shadow: #000 0 0 0;
    /* ロールオーバー対応 */
}

img,
x:-moz-any-link,
x:default {
    box-shadow: #000 0 0 0;
    /* IE7対応 */
}

/* Windows Chrome 画像ぼやけ防止 */
@media screen and (min-width: 768px) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* リンク */
a {
    display: inline-block;
}

a:link,
a:visited,
a:active {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    opacity: .7;
    text-decoration: none !important;
}

.NotoSans {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.NotoSerif {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
}

/* CLEARFIX */
.container:after,
.row:after,
.col:after {
    content: "";
    display: table;
    clear: both;
}

.container {
    width: 100%;
    max-width: 1040px;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
}

.pc {
    display: block;
}

.sp {
    display: none;
}


/* ▼ タイトル
--------------------------------------- */
#site_title {
    overflow: hidden;
}

h1.title {
    background: #999;
    padding: 20px 10px;
    margin-bottom: 30px;
    color: #fff;
    overflow: hidden;
}


/* ▼▼▼ ヘッダー
====================================================== */
header {
    width: 100%;
    background: #ccc;
    overflow: hidden;
}

header .container {
    padding: 20px;
}

.menu {
    display: none;
}

/* グローバルナビゲーション */
#gnav {
    overflow: hidden;
}

#gnav ul {
    display: flex;
}

#gnav ul>li {}

#gnav ul>li a {
    display: block;
    text-decoration: none;
}

#gnav ul>li a:hover {
    -ms-filter: "alpha(opacity=60)";
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
}


/* ▼▼▼ メイン 「コンテンツとサイドを囲む要素」
====================================================== */
#main {
    margin: 0 auto;
    clear: both;
    overflow: hidden;
}

.read {
    margin: 0 0 30px;
}

/* 2column の場合！！各自修正して使用してください */
.flex_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 40px;
}

.flex_box>div {
    width: 48%;
    background: #ccc;
    margin: 0 0 10px;
}

.flex_box>div.full {
    flex: 100%;
}

.flex_box>div:hover {
    opacity: .7;
}

.flex_box>div a {
    display: block;
    padding: 30px;
    text-align: center;
    text-decoration: none;
}


/* ▼ パンくず
--------------------------------------- */
#path {
    margin-bottom: 10px;
    font-size: 14px;
    overflow: hidden;
}

#path li {
    float: left;
}

#path li:not(:last-child):after {
    content: "〉";
    margin-left: 10px;
    color: #333;
}

/* ▼ Googlemap
--------------------------------------- */
.map_container {
    width: 100%;
    position: relative;
    padding-top: 30%;
}

.google {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

/* ▼ システム
--------------------------------------- */
.disabled {
    opacity: .5;
    pointer-events: none;
}

/* ▼▼▼ フッター
===================================== */
footer {
    width: 100%;
    background: #333;
    padding: 20px 0;
    clear: both;
    overflow: hidden;
}

#footer_inner {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}


/* ▼ ページ上部へ戻る
--------------------------------------- */
.pagetop {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    position: fixed;
    cursor: pointer;
}

.pagetop::after {
    content: '';
    width: 11px;
    height: 11px;
    border-left: #FFF 1px solid;
    border-top: #FFF 1px solid;
    position: absolute;
    top: calc(50% - 3px);
    right: calc(50% - 6px);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* ▼ コピーライト
--------------------------------------- */
#copyright {
    font-size: 12px;
    color: #fff;
}


/* ▼▼▼ 404
====================================================== */
#not_found {
    padding: 8vw 20px;
}

#not_found p {
    font-size: 14px;
    text-align: center;
}

#not_found p.arial {
    margin-bottom: 10px;
    font-size: 42px;
    font-family: "Arial", "メイリオ";
}

#not_found p.arial+p {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

#not_found p.txt {
    margin-bottom: 30px;
    line-height: 1.9;
}

#not_found .top_btn a {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #ccc;
}

/* ▼▼▼ 480px〜768px
====================================================== */
@media screen and (max-width: 768px) {

    body {
        font-size: 14px;
    }

    body.wrap {
        overflow: hidden;
    }


    #wrapper {
        width: 100%;
    }

    #screen {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 200;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    /* ▼タイトル
	--------------------------------------- */
    #site_title {
        overflow: hidden;
    }

    /* ▼▼▼ ヘッダー
	====================================================== */
    header {
        width: 100%;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        overflow: visible;
    }

    .header_inner {
        width: 100%;
        height: 60px;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
    }

    /* ▼ グローバルナビゲーション
	--------------------------------------- */
    #gnav {
        display: block !important;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        float: none;
        width: 100%;
        max-height: 100vh;
        padding-top: 60px;
        margin: 0;
        position: absolute;
        top: -1000px;
        left: 0;
        z-index: 1000;
        overflow: auto;
    }

    #gnav.open {
        -moz-transform: translateY(1000px);
        -webkit-transform: translateY(1000px);
        transform: translateY(1000px);
    }

    #gnav ul {
        display: block;
    }

    #gnav ul>li {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        text-indent: 0;
    }

    #gnav ul>li>a {
        height: 50px !important;
        background: #fff;
        background-size: 10px 10px !important;
        border-bottom: 1px solid #ccc;
        padding: 0 15px;
        color: #333;
        line-height: 50px;
        font-weight: bold;
    }

    #gnav ul>li>a:hover {
        text-decoration: none;
        opacity: 1;
    }

    /* ▼メニューボタン
	--------------------------------------- */
    .menu {
        display: block;
        width: 60px;
        height: 60px;
        background: #000;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2000;
    }

    .menu .icon {
        display: block;
        width: 30px;
        height: 2px;
        border-top: 2px solid #fff;
        position: absolute;
        top: 40%;
        right: 15px;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .menu .icon:before,
    .menu .icon:after {
        content: '';
        width: 30px;
        border-top: 2px solid #fff;
        position: absolute;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        right: 0;
    }

    .menu .icon:before {
        top: -11px;
    }

    .menu .icon:after {
        bottom: -9px;
    }

    .menu .icon.active {
        border-color: transparent;
    }

    .menu .icon.active:before {
        -moz-transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
        top: -2px;
        right: 0;
    }

    .menu .icon.active:after {
        -moz-transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        bottom: 0;
        right: 0;
    }

    .menu .icon span:before {
        content: "Menu";
        color: #fff;
        font-size: 12px;
        position: absolute;
        left: 50%;
        bottom: -30px;
        transform: translate(-50%, -0%);
        -webkit-transform: translate(-50%, -0%);
    }

    .menu .icon.active span:before {
        content: "Close";
    }

    /* ▼▼▼ メイン 「コンテンツとサイドを囲む要素」
	====================================================== */
    #header_inner,
    #main,
    #contents,
    #side,
    footer,
    #footer_inner {
        float: none;
        width: 100%;
    }

    #main {
        margin-top: 60px;
    }

    .menu_fixed {
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .read {
        margin: 0 0 15px;
    }

    /* 2column の場合！！各自修正して使用してください */
    .flex_box {}


    /* ▼▼▼ フッター
	====================================================== */
    footer {
        padding: 20px;
    }

    /* ▼ ページ上部へ戻る
	--------------------------------------- */
    .pagetop {
        background: #000;
        padding: 10px;
        color: #fff;
    }

    /* ▼▼▼ 404
	====================================================== */
    #not_found {
        padding: 100px 20px 60px;
    }

    #not_found p.arial {
        margin-bottom: 10px;
        font-size: 39px;
    }

    #not_found p.arial+p {
        font-size: 17px;
    }

    #not_found p.txt {
        line-height: 1.6;
    }

}
