@charset "UTF-8";

/***** color *****/
.text-orange,
.hover-text-orange:hover {
    color: #fa6900 !important;
}

.text-charcoal,
.hover-text-charcoal:hover {
    color: #4e2506 !important;
}

.text-paleOrange,
.hover-text-paleOrange:hover {
    color: #fcc7a4 !important;
}

.bg-lightgray,
.hover-bg-paleOrange:hover {
    background-color: lightgray !important;
}

.bg-paleOrange,
.hover-bg-paleOrange:hover {
    background-color: #fcc7a4 !important;
}

.theme-orange,
.hover-bg-orange:hover {
    color: #fff !important;
    background-color: #fa6900 !important;
}

.theme-paleOrange,
.hover-bg-paleOrange:hover {
    color: #4e2506 !important;
    background-color: #fcc7a4 !important;
}


.w3-my-orange,
.w3-hover-my-orange:hover {
    color: #fff !important;
    background-color: #fa6900 !important;
}

/***** border *****/
/* 位置 */
.border-top {
    border-top: 1px solid lightgray;
}

.border-bottom {
    border-bottom: 1px solid lightgray;
}

.border-left {
    border-left: 1px solid lightgray;
}

.border-right {
    border-bottom: 1px solid lightgray;
}

/* 太さ */
.border-width-1 {
    border-width: 1px;
}

.border-width-2 {
    border-width: 2px;
}

.border-width-3 {
    border-width: 3px;
}

/* 色 */
.border-orange,
.hover-border-orange:hover {
    border-color: #fa6900 !important;
}

.border-charcoal,
.hover-border-charcoal:hover {
    border-color: #4e2506 !important;
}

.border-paleorange,
.hover-border-paleOrange:hover {
    border-color: #fcc7a4 !important;
}

.border-lightgray {
    border-right-color: lightgray !important;
}

/***** body *****/
body {
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', 'YuGothic', 'Yu Gothic', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic';
    line-height: 1.2;
    font-size: 1rem;
    color: #1d1d1d;
    font-weight: 400;
}

/***** grid layout *****/
/* レスポンシブなグリッドレイアウト */
/* 各グリッドは grid-column: (開始グリッド境界線 1～) / (終了グリッド境界線)のように範囲指定 */
.grid {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 20% 1fr;
    /* grid-template-area は使えないブラウザがあるっぽい */
    /*grid-template-areas:
    "header header"
    "nav main"
    "footer footer"
    ;*/
}

/***** header *****/
.header {
    display: inline-block;
    grid-row: 1 / 2;
    grid-column: 1 / 4;
    /* gridに入れる順番 */
    order: 1;
    box-sizing: border-box;
    vertical-align: middle;
    background-color: #Fa6900;
    background-position-y: center;
    color: #fff;
    white-space: nowrap;
}

#topMiniBanner {
    display: inline-block;
    box-sizing: border-box;
    height: inherit;
    vertical-align: middle;
    margin: 0 0 0 0.5%;
    padding: 10px 0;
    width: 19.5%;
    background: #fff;
}

.header h1 {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
    margin-left: 1rem;
    font-size: 1.8rem;
    white-space: nowrap;
}

/* バナー上部装飾用 */
.border-3 {
    border-color: #fa6900;
    border-width: 3px;
    border-style: solid;
    padding: 0px;
    margin: 0px;
}


/***** mobile nav *****/
/* モバイル用ナビ */
/* w3のドロップダウンリストをチェックボックスのトグルで開閉させる */
.navS {
    display: inline-block;
    box-sizing: border-box;
    text-align: middle;
    vertical-align: middle;
    font-size: 0.9rem;
    user-select: none;
    /* タップで文字が選択状態になるのを防ぐ */
}

.navs #dropownMenu {
    display: none;
}

.navS a {
    display: block;
    line-height: 1.8em;
}

/* モバイル用メニューがクリック（チェックボックスがオンに）されたら直後のdiv要素を表示（ドロップダウンのリストを表示） */
.navS #toggleCheck:checked+#dropdownMenu {
    display: block;
    /* inline-block にするとメニューが上のバーに被るので注意 */
}


/***** desktop nav *****/
/* デスクトップ用ナビ */
.navL {
    display: block;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    order: 2;
    height: 100%;
    margin: 0px;
    padding: 30px 0px;
    text-align: center;
    white-space: nowrap;
    background-color: bisque;
}

.navL a {
    display: block;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.2em;
    font-size: 1.1em;
}


/***** main contents *****/
.main {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    order: 3;
}

.topBanner {
    width: 100%;
}

.map {
    max-width:600px;
    width: 100%;
}

/* ページタイトル・大見出し */
article h2 {
    font-size: 1.25em;
    font-weight: 600;
}

/* 更新情報用テキストボックス */
textarea.infobox {
    resize: none;
    border-left: 0;
    border-right: 0;
    border-top: dotted #fcc7a4 2px;
    border-bottom: dotted #fcc7a4 2px;
    outline: none;
    font-size: 0.8em;
    line-height: 1.3em;
    width: 100%;
    height: 7.3em;
    padding: 0.5em;
}


/* セクション内見出しの装飾 */
.midashi-m {
    display: inline-block;
    background: linear-gradient(transparent 75%, #fcc7a4 25%);
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
    line-height: 1.5rem;
}

.midashi-s {
    display: inline-block;
    background: linear-gradient(transparent 97%, #fcc7a4 3%);
    font-weight: 600;
    font-size: 1em;
    margin-top: 1em;
    margin-bottom: 0.2em;


}

article p {
    line-break: normal;
    font-size: 1em;
    line-height: 1.5rem;
}

/* ul, ol の行間指定 */
article ul,
ol {
    line-height: 1.5em;
}

/* li の間隔指定 */
article li {
    margin: 0.5em 0;
}

/* ul li の箇条書きの黒点を表示する（インデントはされる） */
.list-style-disc {
    list-style: disc;
}

/* ul li, ol li の箇条書きの黒点を表示しない（インデントはされる） */
.list-style-none {
    list-style: none;
}

/* paddingをゼロに */
.padding-0{
    padding:0;
}
/* marginをゼロに */
.margin-0{
    margin: 0;
}

/** インデント**/
/* 左にn文字分の幅を開ける*/
.padding-left-0 {
    padding-left: 0;
}

.padding-left-1 {
    padding-left: 1em;
}

.padding-left-2 {
    padding-left: 2em;
}

.padding-left-3 {
    padding-left: 3em;
}

.padding-left-4 {
    padding-left: 4em;
}

.padding-left-5 {
    padding-left: 5em;
}

.padding-left-6 {
    padding-left: 6em;
}

.padding-left-7 {
    padding-left: 7em;
}

.padding-left-8 {
    padding-left: 8em;
}

.padding-left-9 {
    padding-left: 9em;
}

/* 2行目以降の先頭n文字を右にインデントする*/
.indent-1 {
    padding-left: 1em;
    text-indent: -1em;
}

.indent-2 {
    padding-left: 2em;
    text-indent: -2em;
}

.indent-3 {
    padding-left: 3em;
    text-indent: -3em;
}

.indent-4 {
    padding-left: 4em;
    text-indent: -4em;
}

.indent-5 {
    padding-left: 5em;
    text-indent: -5em;
}

/* 文字の幅を揃える */
.justify {
    text-align-last: justify;
}

/** font **/
/* デフォルトサイズ-2 */
.x-small {
    font-size: x-small;
}

/* デフォルトサイズ-1 */
.small {
    font-size: small;
}

/* デフォルトサイズ+1 */
.large {
    font-size: large;
}

/* デフォルトサイズ+2 */
.x-large {
    font-size: x-large;
}

/* 親要素のフォントサイズより小さく */
.smaller {
    font-size: smaller;
}

/* 親要素のフォントサイズより大きく */
.larger {
    font-size: larger;
}


/* 太字にする */
.bold {
    font-weight: bold;
}

/* 文字に下線を引く */
.underline {
    text-decoration: underline;
}

/* 打消し線を引く (<del>タグと同じです) */
.del {
    text-decoration-line: line-through;
}

/* リンクの下線を取る */
.no-underline {
    text-decoration: none;
}

/* 長文などブロック化して，指定の位置で改行する */
/* 改行したい文字ブロックを<span class="br"></span>で囲むこと */
/* Hx等には効きません */
.br {
    display: inline-block;
}


/***** footer *****/
.footer {
    display: block;
    grid-row: 3 / 4;
    grid-column: 1 / 3;
    order: 4;
    text-align: center;
    padding: 10px;
    font-size: small;
    color: #fff;
    background-color: #fa6900;
}



/***** icon *****/
/* 新着情報用アイコン．div や spanでクラス指定してください．*/
.newIcon {
    background-image: url(https://www.ergonomics.jp/local-branch/kansai/taikai/2022/img/new.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 6.5em;
}

/***** pdfへのリンク後部にpdfのアイコンをつける *****/
a[href$=".pdf"]:after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: top;
    background: url(https://www.ergonomics.jp/local-branch/kansai/taikai/2022/img/PDF_icon24.png) no-repeat;
}


/***** responsive *****/
/* モバイル用 */
@media screen and (max-width: 640px) {

    body {
        font-size: 0.8em;
    }

    #topBanner {
        width: 100%;
    }

    #topMiniBanner {
        display: none;
    }

    .infobox textarea {
        width: 100%;
    }

    /* 通常メニューを消し，モバイル用メニューを表示する */
    .grid {
        display: grid;
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 0 1fr;
    }

    .header {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
        white-space: nowrap;
    }

    .navL {
        display: none;
    }

    .main {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
    }

    .footer {
        grid-row: 3 / 4;
        grid-column: 1 / 3;
    }

    /* 文字サイズ調整 */
    .header h1 {
        font-size: 1.2em;
        font-weight: bold;
        padding-left: 1em;
        text-align: left;
        vertical-align: middle;
        white-space: nowrap;
    }

    article h4 {
        font-size: 1em;
    }

}

/* デスクトップ用 */
@media screen and (min-width: 640.01px) {

    /*モバイル用メニューを消す*/
    .navS {
        display: none;
    }

}