@charset "utf-8";
/********************************/
/*        共通的な設定          */
/********************************/
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
body {
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    overflow-y: scroll;
    position: relative;
}
h1,h2 {
/*
    font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", sans-serif;
*/
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: normal;
/*
    padding-top: 3px;
    padding-bottom: 7px;
*/
/*border:solid 1px red;*/
}
h3, h4 {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
header,
main,
footer {
    display: block;
}
img {
    vertical-align:bottom;
}
/*========基本文字サイズ========*/
.pb_main {
    font-size: var(--setting-font-size);
}
/*==========リンク表示==========*/
a:link,
a:visited {
    color: blue;
}
section a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
}
/*=========アドレス表示=========*/
address {
    font-style:normal;
    margin-bottom: 30px;
}
/*=========表示範囲設定=========*/
@media (min-width: 960px){
header >div,
main,
footer >div {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}
}
@media (max-width: 959px){
header >div,
footer >div {
    width: 100%;
}
main {
    width: 98%;
    margin: 0 auto;
}
}
/*===========表示切替===========*/
/*PCのみ表示*/
@media (max-width: 959px){.pc1 {display:none;}}
/*モバイルのみ表示*/
@media (min-width: 960px){.mb1 {display:none;}}
/********************************/
/*          ヘッダー            */
/********************************/
h1 a {
    text-decoration: none;
}
h1 a:link,
h1 a:visited {
    color: black;
}
.cs_header >div >p {
    font-size: 1.1rem;
    line-height: 1.1;
}
/*=======ヘッダー1行目文言=======*/
.cs_header >p {
    font-size: calc(var(--setting-font-size) - 0.2rem);
}
@media (min-width: 960px){
.cs_header >div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
}
@media (max-width: 959px){
.cs_header {
    font-size: smaller;
}
.cs_header >div >div {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.cs_header >div >p {
    text-align: center;
}
}
header {
    width: 100%;
    background-color: white;
}
@media (min-width: 960px){
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
}
}
.cs_header {
    padding-top: 5px;
    padding-bottom: 5px;
}
/*===========タイトル===========*/
.cs_title {
    display: flex;
    align-items: center;
}
.cs_title a:hover img {
    opacity:1.0;
    filter: alpha(opacity=100);
}
.cs_title >div {
    margin-left: 5px;
}
.cs_title picture {
    margin: 5px;
}
/*
.cs_title >div >p {
border: solid 1px blue;
}
*/
@media (min-width: 420px){
.cs_title h1 {
    margin-top: -7px;
    margin-bottom: -10px;
}
}
@media (max-width: 419px){
.cs_title img {
    width: 55px;
}
.cs_title h1 {
    font-size: 1.3rem;
    margin-top: -4px;
    margin-bottom: -7px;
}
}
/********************************/
/*      グローバルメニュー      */
/********************************/
.cs_menu {
    background-color: var(--setting-background-color);
}
.cs_menu div {
    width: 100%;
    text-align: center;
    font-size: calc(var(--setting-font-size) + 0.1rem);
}
/*
.cs_menu >div span {
    display: inline-block;
    color: #999;
    width: 20px;
}
*/
.cs_menu >div >a {
    display: inline-block;
    border-right: solid 1px #999;
    padding-right: 15px;
    margin-right: 7px;
}
.cs_menu >div >a:first-of-type {
    border-left: solid 1px #999;
    padding-left: 15px;
}
.cs_menu >div >a:link,
.cs_menu >div >a:visited {
    color: var(--setting-color);
}
@media (min-width: 960px){
.cs_menu {
    padding-top: 5px;
    padding-bottom: 5px;
}
}
@media (max-width: 959px){
.cs_menu div {
    display:none;
}
.cs_menu {
    height: 10px;
}
}
/*ハンバーガーメニュー*/
@media (max-width: 959px){
body {
    padding-top: 40px;
}
}
#hamburger-menu {
    width: 100%;
    cursor: pointer;
    position: relative;
    text-align: center;
    background-color: var(--setting-background-color);
/*
    text-align: center;
    color: white;
    background-color: black;
*/
    padding-top: 10px;
    padding-bottom: 10px;
}
#hamburger-menu picture{
    padding-left: 10px;
    padding-right: 10px;
}
@media (max-width: 959px){
#hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
}
}
#id_menu_list {
    display:none;
    position: absolute;
    top: 40px;
    list-style: none;
    width: 100%;
    z-index: 100;
}
@media (max-width: 959px){
#id_menu_list {
    position: fixed;
    z-index: 100;
}
}
#id_menu_list {
    background-color: white;
    border-top: solid 1px black;
    border-left: solid 1px black;
}
#id_menu_list li {
    padding-left: 20px;
    border-bottom: solid 1px black;
    border-right: solid 1px black;
}
#id_menu_list li a {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
    font-size: 1.2rem;
}
/********************************/
/*         ページタイトル       */
/********************************/
main h2 {
    font-size: calc(var(--setting-font-size) + 0.6rem);
    border-top: solid 10px var(--setting-background-color);
    border-bottom: solid 1px var(--setting-background-color);
    border-left: solid 1px var(--setting-background-color);
    border-right: solid 1px var(--setting-background-color);
}
/********************************/
/*        パンくずリスト        */
/********************************/
nav ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}
nav ol li {
    margin-bottom: 20px;
}
nav ol li::before{
    content: '＞';
    display: inline-block;
    padding: 0 10px;
}

nav ol li:first-of-type::before{
    display: none;
}
/********************************/
/*            矢印              */
/********************************/
.cs_arrow {
    display: inline-block;
    transform: rotate(90deg) scaleY(1.0) translateX(-3px);
    font-size: 0.9rem;
    padding-left: 6px;
    color: var(--setting-background-color);
}
/********************************/
/*         上へボタン           */
/********************************/
#id_page_top{
    position: fixed;
    bottom: 20px;
    right: 5px;
    width: 50px;
    height: 35px;
    background-color: white;
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    z-index: 900;
    transform:translate3d(0,0,900);
    color: var(--setting-background-color);
    border: solid 1px var(--setting-background-color);
}
/********************************/
/*          フッター            */
/********************************/
footer {
    padding-top: 10px;
    padding-left: 10px;
    background-color: var(--setting-background-color);
}
footer h2 a {
    text-decoration: none;
}
footer,
footer a:link,
footer a:visited,
footer h2 a:link,
footer h2 a:visited {
    color: var(--setting-color);
}
footer h2 a:hover img {
    opacity:1.0;
    filter: alpha(opacity=100);
}
footer h2 {
    font-size: 1.6rem;
}
.cs_copyright {
    text-align: center;
}

@media (min-width: 960px){
footer >div >div {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}
footer >div >div div {
    text-align: right;
}
}
@media (max-width: 959px){
footer >div >div div {
    margin-bottom: 15px;
}
}
/*フッターを最下部へ固定*/
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
footer {
  margin-top: auto;
}
