/*   suorea.css v1.0
 *   copyright 2023 Tatsuro Nakamura All rights reserved.
 */

@charset "UTF-8";
/* 共通部分 */

html {
    font-size: 100%;
}

#m_cen {
    overflow: auto;
}

a {
    text-decoration: none;
}

h4 {
    color: black;
    font-weight:normal;
    margin: 0;
}

img {
    width:100%;
}

h5 {
   color: black;
   margin: 0;
}

p {
    font-size:small;
}

.sendphp-message {
    margin-top: 3em;
    text-align:center;
    font-size: large; 
    margin-bottom: 3em;
}

#home {
    background-image: linear-gradient( #abcce8, #6fa8d9);
    min-height: 100%;
} 

/* HEADER部分 */
#sr-header {
    background-color: black;
    height: 160px;
    justify-content: center;
    margin: 0 auto;
}

#hd-signboard {
    flex-direction: column;
    justify-content: center;
    height: 110px;
    max-width: 1000px;
    margin: 0 auto;
}

#hd-sb-1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#hd-sb-2 {
    display: flex;
    color: yellow;
    height: 30px;
    justify-content: center;
}

#hd-dmenu {
    display: flex;
    color: white;
    justify-content: center;
    height:50px;
    background: #14296b;
    border: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

#main-menu {
    overflow:hidden;
    height:50px;
    background: #14296b;
    border: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    display:flex;
    justify-content: center;
}

#main-menu li {
    list-style:none;
    font-size: 12px;
    width:200px;
}

#main-menu>li>a {
    display:block;
    height:40px;
    text-align:center;
    color:#fff;
    font-size:16px;
    line-height:2.8;
    margin-top: 10px;
    background: #173180;
    text-decoration:none;
    box-sizing: border-box;
}

.sm-name {
    font-size: 12px;
    color:whitesmoke;
    margin-top: 10px;
    margin-left: 20px;
    height:30px;
}

.sub-menu li {
    width: 200px;
}

.sub-menu>li>a {
    display:block;
    width:200px;
    height:30px;
    color:#fff;
    font-size:14px;
    background: #196AAB;
    text-decoration:none;
    box-sizing: border-box;
}

#main-menu > li:hover > a {
    color: yellow;
    background: #196AAB;
    border-bottom: 5px solid yellow;
    /*
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    */
}

.mega-menu {
    position: absolute;
    width: 600px;
    height: auto;
    padding: 0px;
    background:  #196AAB;
    margin-top: 10px;
    margin-left:-200px;
    top: 150px;
    display: none;
    background: transparent;
}

.mega-wrapper {
    display: flex;
    background:  #196AAB;
}

#main-menu li li:hover > a {
    color:yellow;
    background:#1d78c7;
}

/* main contents */
#main-area {
    max-width: 1200px;
    margin: auto;
    min-height: 100vh;
}

#m_con {
    display: flex;
    min-height: 100vh;
}

#m_cen {
    width: 75%;
    background: lightyellow;
    padding-bottom: 60px;
    box-sizing:border-box;
    }

#m_lef {
    width: 10%;
    min-height: 100vh;
    background: lemonchiffon;
    padding: 1%;
}

#m_rig {
    width: 15%;
    background: lemonchiffon;
    padding: 1%;
}

#m_img {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

.news_topic::before {
    content: 'NEW!';
    color:yellow;
    background-color:blue;
    display: inline-block;
}

/* テーブル */
.table-1 {
    font-size: small;
    text-align: justify;
}

.table-1 td {
    vertical-align: top;
}

.dlist-1 {
    font-size:small;
}

.olist-1 {
    width:85%;
    margin:auto;
}

.olist-1 li {
    font-size: small;
}

.table-3 {
    font-size: x-small;
    border: solid 1px black;
    border-collapse: collapse;
    margin:auto;
    width:70%;
}

.table-3 th {
    border: solid 1px black;
    font-weight: lighter;
    text-align:left;
}

.table-3 td {
    border: solid 1px black;
    text-align:left;
}

#table-4 {
    font-size: x-small;
    border: solid 1px black;
    border-collapse: collapse;
    margin:auto;
    width:90%;
}

#table-4 th {
    border: solid 1px black;
    font-weight: lighter;
    text-align:center;
    width:20%;
}

#table-4 td {
    border: solid 1px black;
    text-align:center;
}

#table-2 {
    border: solid 1px black;
    border-radius: 10px;
    margin: auto;
}

/* footer */
footer {
    margin: 0 auto;
    width: 100%;
    height: 60px;
    text-align: center;
    background-color: #14296b;
    color: white;
    position: fixed;
    bottom: 0;
}

#ft-1 {
    margin: 0 auto;
    display: flex;
    width: 500px;
}

#ft-1 a {
    font-size: 12px;
    width: 200px;
    color: white;
    margin:0 auto;
}