@charset "UTF-8";
/*基本設定*/
* {
    margin: 0;
}
/*ページ全体の設定*/
body {
    font-family: sans-serif;
}

a {
    text-decoration: none;
}

div.pan a {
    text-decoration: underline;
}

a:hover {
    color: orange;
}

li {
    list-style: none;
}

/* 共通ヘッダー・フッターの設定開始　*/
/*ヘッダー*/
div.header {
    padding-top: 15px;
    max-width: 1100px;
    margin-left: 10%;
    margin-right: 10%;
}

div.head section.title {
    display: flex;
    justify-content: space-between;
    font-size: 180%;
    color: darkgreen;
    text-shadow: 5px 5px 10px lightgray;
}

div.head section.title ul {
    padding-left: 0;
    list-style: none;
}

div.head section.title a {
    color: #0d5635;
    text-decoration-line: none;
}

section.title button {
    padding: 6px;
    border: none;
    background-color: white;
    color: dimgray;
    font-size: 30px;
    cursor: pointer;
    display: none;
}

section.title ul li span {
    color: dimgray;
}

section.title button:focus {
    outline: none;
}

/*ナビゲーションメニューの設定　*/

div.nav {

    margin-top: -1%;
    display: flex;
    justify-content: flex-end;
}

div.nav div.font ul li:first-child {
    min-width: 6em;
}

div.nav div:first-child {
    max-width: 20em;
    padding-bottom: -3px;
}

div.nav a {
    font-weight: bold;
    color: dimgray;
}

div.nav a:hover {
    color: orange;
}

div.nav a:focus {
    color: darkorange;
}

div.font {
    display: flex;
    justify-content: flex-end;
    align-self: center;
    height: 65px;
}

div.font ul {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    padding-left: 10px;
    align-items: center;
}


div.font li:first-child {
    width: 6em;
}

div.font li input {
    background-color: rgb(90,150,240);
/*    background-color: cornflowerblue;*/
    color: white;
    border: none;
    box-shadow: none;
    font-family: sans-serif;
    font-size: 16px;
    margin-left: 10px;
    margin-bottom: 1px;
    height: 25px;
}


/*メニューバー　*/

button: focus {
    outline: none;
}

div.menu {
    display: flex;
/*    margin-top: 20px;*/
    padding: 0 10%;
    background-color: darkgreen;
    justify-content: center;
}

div.menu a {
    flex-grow: 1;
    min-width: 6em;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 8px 0px;
    border-right: solid 1px white;
    font-size: 110%;
}

div.menu a:first-child {
    border-left: solid 1px white;
}


div.menu a:hover {
    color: darkgreen;
    background-color: whitesmoke;
}

div.menu a:focus {
    background-color: whitesmoke;
	color: darkgreen;
}

/*パンくずリストの設定　*/

div.pan {
    margin-top: 10px;
    margin-bottom: 10px;
}

section.pan a {
    color: dimgray;
    text-decoration: none;
    font-size: 110%;
    font-weight: bold;
}

section.pan a:hover {
    color: orange;
}

section.pan a:focus {
    color: orange;
}

/*メイン・ディヴィジョンの設定*/
div.main {
    padding: 15px 0 20px 0;
    margin: 0 10%;
    
}

/*フッター*/

div.footer {
    height: 100px;
    margin-bottom: 0;
    text-align: center;
    background-color: rgba(0,100,0,0.07);
}

div.footer ul {    
    list-style: none;
    padding-top: 10px;
}

div.footer li {   
    display: inline-block;
    font-family: serif;
    margin-top: 0;
    padding-top: 0;
}

div.footer li {
    margin-right: 20px;
}

/*ページトップへ戻る設定　*/

#pageTop {
  position: fixed;
  bottom: 30px;
  right: 20px;
}
 
#pageTop a {
    border: solid 1px;
    background-color: rgba(0,100,0,0.5);
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: whitesmoke;
    font-weight: bold;
}
 
#pageTop a:hover {

}

/* 共通ヘッダー・フッターの設定終わり　*/

/* ここからスマホ版の共通設定　*/

@media (max-width: 600px) {

div.header {
    margin-bottom: -10px;
    }
    
div.head section.title header {
    font-size: 22px;
}
    
div.head section.title ul li {
        font-size: 24px;
    }
    
div.head section.title button {
        display: block;
    }
    
div.head section.title li.menu {
        display: block; 
    }

div.nav {             
        max-height: 0px;
        overflow: hidden;
        margin-top: 4%;
        display: flex;
    }
    
div.nav div.font {
        max-height: 0px;
        overflow: hidden;
    }
    
    
button: focus {
    outline: none;
}

div.menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-top: 0;
    padding: 0px 50px;
    background-color: lemonchiffon;
}

div.menu a {
    display: block;
    color: black;
    text-decoration: none;
    border: none;
    text-align: left;
}

div.menu a:first-child {
    border: none;
}


div.menu a:hover {
    color: orange;
    background-color: none;
}

div.pan {
    margin-top: 0;
    padding-top: 0;
    max-height: 0px;
    overflow: hidden;  
    }
    
div.main {
    padding-top: 0;
}
    
div.footer {
    min-height: 120px;
    }

div.footer ul li {
        display: block;
    }   

div.main {
    margin: 0 2%;
}
}
/* スマホ版共通設定　終わり　*/
    