@charset "utf-8";

/* リセットCSS*/
*,
::before,
::after {
    /* 要素の余白をなくす */
    padding: 0;
    margin: 0;
    /* padding と border が width と height に含まれる */
    box-sizing: border-box;
}

ul,
ol {
    /* リストの行頭アイコンを非表示にする */
    list-style: none;
}

a {
    /* リンクは親要素の文字色を継承する */
    color: inherit;
    /* 下線をなくす */
    text-decoration: none;
}

a:hover,
a:hover :not(.not-a-hover),
.a-hover:hover {
    /* カーソルを乗せると色を変える */
    color: aqua;
    cursor: pointer;
}

/*
dl {
    display: flex;
    flex-wrap: wrap;
}*/

/* ベーススタイルの設定 */
body {
    /* 基本となるフォントを設定する */
    font-family: sans-serif;
    font-size: 16px;
    color: #000000;
    /* 行間を設定する */
    line-height: 1.5;
    /* 背景色を設定する */
    background-color: #ffffff;
}

img {
    /* img要素の最大幅を指定する */
    max-width: 100%;
}

h2 {
    margin-top: 30px;
    margin-bottom: 6px;
    /*border-left: solid 30px black;*/
    border-bottom: solid 3px black;
}

h3 {
    margin-top: 15px;
    margin-bottom: 3px;
}

h4 {
    margin-top: 6px;
}

input,
textarea {
    width: 30em;
    max-width: 100%;
}

iframe {
    border: none;
}

iframe[src$=.pdf] {
    max-width: 60%;
    border: none;
}

object {
    max-width: 100%;
    object-fit: contain;
}

span {
    display: inline-block;
}

summary:hover {
    color: lime;
    cursor: pointer;
}

/* ヘッダーに関する設定 */
.header {
    /* ヘッダーを上部に固定する */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 背景色を指定する */
    background-color: #fffffff0;
    /* 高さを指定する */
    height: 90px;
    /* 常に手前に表示する */
    z-index: 10;
    /* 影を付ける */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.header-inner {
    /* ヘッダーのサイズを指定する */
    max-width: 1200px;
    height: 100%;
    /* 位置を指定する */
    margin-left: auto;
    margin-right: auto;
    /* 左右の余白を指定する */
    padding-left: 40px;
    padding-right: 40px;
    /* ロゴとナビゲーションを横並びにする */
    display: flex;
    /* ロゴとナビゲーションを左右の端に寄せる */
    justify-content: space-between;
    /* ロゴとナビゲーションの上下の高さを揃える */
    align-items: center;
}

.header-logo {
    /* ロゴのサイズを指定できるようにする */
    display: block;
}

.header-logo img {
    /* ロゴ位置調整用 */
    margin-top: 9px;
    max-height: 60px;
}

.site-menu ul {
    /* ナビゲーションの項目を横並びにする */
    display: flex;

    flex-wrap: wrap;
    justify-content: end;
    position: relative;
}

.site-menu ul li {
    /* ナビゲーションの項目間余白を指定する */
    padding-left: 10px;
    padding-right: 10px;
}

.site-menu ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: ;
}

.site-menu-l1 a:hover {
    color: aqua;
}

/* サブメニュー（通常は非表示） */
.site-menu-l1 ul {
    display: none;
    position: absolute;
    background-color: #ffffffff;
    border: solid 3px black;
    font-size: 0.8em;
    font-weight: normal;
    line-height: 2;
}

/* カーソルを乗せると表示 */
.site-menu-l1 li:hover ul {
    display: block;
}

.header-menu-button {
    display: none;
}

/* フローティングバナー */
.floating-banner {
    position: fixed;
    z-index: 999;
    bottom: 0;
    right: 0;
    background-color: #07a741;
    border: solid;
}

.floating-banner-body {
    width: 300px;
    padding: 40px 10px;
    text-align: center;
}

/* フッターの設定 */
.footer {
    /* フッターの文字色と背景色を指定する */
    color: #ffffff;
    background-color: #24211b;
    /* 上下の余白を指定する */
    /* padding-top: 30px; */
    padding-bottom: 15px;
    /* 要素を横並びにする */
    display: flex;
    /* flex の方向を指定する */
    flex-direction: column;
    /* 要素を中央に揃える */
    align-items: center;
}

.footer-menu {}

.footer-address {
    width: 21em;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.footer-address td {
    padding-left: 0.5em;
}

.footer-address dt {
    width: 50px;
}

.footer-address dd {
    /*    margin-left: 50px;*/
    width: calc(100% - 50px);
}

.counter {
    font-size: 14px;
    margin-top: 30px;
}

.copyright {
    /* コピーライトのスタイルを調整する */
    font-size: 14px;
    font-weight: bold;
    margin-top: 30px;
}

/* メインの設定 */
.main {
    /* ヘッダー分下げる */
    padding-top: 90px;
}

.title {
    height: 60px;
    background-image: url(../images/common/line-title.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-shadow: 1px 1px 10px #4b2c14;
}

.title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: bold;
}

.title p {
    font-size: 14px;
    margin-top: 15px;
}

.contents,
.contents-1 {
    width: 1200px;
    max-width: 90%;
    margin-top: 30px;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
}

/* display 設定 */
.display-flex {
    display: flex;
}

/* 非表示用 */
.disuse,
.displya-none {
    display: none;
}

.underline {
    text-decoration: underline;
}

/* リストの行頭アイコンをエンブレムに設定 */
.list-emblem dt {
    float: left;
    padding-left: 1.5em;
    width: 11em;
    background: url(../images/common/emblem.png) left 0px top 3px no-repeat;
    background-size: 1em;
}

.list-emblem dd {
    float: left;
    width: calc(100% - 11em);
}

/* 色設定 */
.color-red {
    color: red;
}

.color-blue {
    color: blue;
}

/* インデント設定 */
.indent-1 {
    padding-left: 1em;
    text-indent: -1em;
}

.indent-2 {
    padding-left: 2em;
    text-indent: -1em;
}

.indent-2-2 {
    padding-left: 2em;
    text-indent: -2em;
}

.indent-3 {
    padding-left: 3em;
    text-indent: -1em;
}

.indent-3-2 {
    padding-left: 3em;
    text-indent: -2em;
}

.indent-3-2 img {
    padding-top: 3px;
    padding-bottom: 6px;
}

/* 文字の太さ設定 */
.font-weight-normal {
    font-weight: normal;
}

/* 文字のサイズ設定 */
.font-size-small {
    font-size: small;
}

.font-size-smaller {
    font-size: smaller;
}

/* テキスト配置設定 */
.text-align-l {
    text-align: left;
}

.text-align-c {
    text-align: center;
}

.text-align-r {
    text-align: right;
}

/* 配置設定 */
.vertical-align-bottom {
    vertical-align: bottom;
}

/* 以下はモバイル用設定 */
@media (max-width: 800px) {
    .site-menu ul {
        /* ナビケーションの項目を縦並びに変更する */
        display: block;

        /* width: 90%; */

        /* 項目を中央に揃える */
        text-align: center;
        line-height: 2;
        position: static;
    }

    .site-menu li:hover ul {
        display: none;
    }

    .site-menu li:active ul {
        display: block;
    }

    /* ヘッダーの変更 */
    .header {
        /* ヘッダーの高さを変更する */
        height: 50px;
    }

    .header-inner {
        /* ヘッダーのサイズを変更する */
        padding-left: 20px;
        padding-right: 20px;
        height: 100%;

        position: relative;
    }

    .header-logo {
        width: 100px;
    }

    .header-site-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        color: #ffffff;
        background-color: #736e62;
        padding-top: 30px;
        padding-bottom: 50px;
        display: none;
    }

    .header-site-menu.is-show {
        display: block;
    }

    .header-menu-button {
        display: block;
        width: 44px;
        height: 34px;
        background-image: url(../images/common/icon-menu.png);
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: none;
        cursor: pointer;
        /* ボタンにカーソルを合わせると指に */
    }

    /* サブメニュー（通常は非表示） */
    .site-menu-l1 ul {
        display: none;
        padding-top: 0px;
        background-color: #4b4840;
    }

    /* カーソルを乗せると表示 */
    .site-menu-l1 li:hover ul {
        display: block;
    }

    /* メインの設定 */
    .main {
        /* ヘッダー分下げる */
        padding-top: 50px;
    }

    .title {
        height: 50px;
    }

    .title h1 {
        font-size: 24px;
    }

    .contents,
    .contents-1 {
        /* 上下の余白を変更する */
        margin-top: 15px;
        margin-bottom: 15px;
    }

    /* リストの行頭アイコンをエンブレム */
    .list-emblem dt,
    .list-emblem dd {
        padding-left: 1.5em;
        width: 100%;
    }
}