div#wrap {
    max-width: 1000px;
    margin: 0 auto;
}

nav#subNav ul {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

nav#subNav ul li {
    width: 30%;
    margin: 5px 1.4%;
    position: relative;
    text-align: center;
    font-size: 14px;
}

nav#subNav ul li a {
    text-decoration: none;
    color: #333;
}

nav#subNav ul li:after {
    position: absolute;
    content: " | ";
    top: 0;
    right: -4px;
    color: #f2f2f2;
}

nav#subNav ul li:nth-child(3):after,
nav#subNav ul li:nth-child(5):after {
    display: none;
}

nav#subNav ul li:nth-child(4),
nav#subNav ul li:nth-child(5) {
    width: 46%;
}

nav#subNav {
    padding: 10px 0 10px;

}

section#mainVisual {
    margin-bottom: 80px;
}

section.subContens {
    padding: 5px 0px 100px;
    position: relative;
}

section.subContens h1 {
    background: url(../img/bgTitle.png);
    height: 90px;
    padding-top: 40px;
    padding-left: 15px;
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 20px;
}

section.subContens h2 {
    position: absolute;
    top: -8px;
    left: -8px;
    line-height: 32px;
    height: 32px;
    background: rgba(255, 247, 55, 0.38);
    padding: 0px 15px;
}



ul.subFlex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 35px 15px 0;
}

div.subBox {
    padding: 35px 15px 0;
}

div.subBox h3 {
    text-align: center;
    margin-bottom: 5px;
}

ul.subFlex p {
    margin-bottom: 15px;
}

ul.subFlex p:last-of-type {
    margin-bottom: 0;
}

ul.subFlexli {
    font-size: 14px;
}

ul.subFlex.ltext li {
    width: 30%;
    text-align: justify;

}

ul.subFlex.ltext li:first-child {
    width: 65%;
    margin-right: 5%;
}

ul.subFlex.rtext li:first-child {
    width: 30%;
}

ul.subFlex.rtext li:last-child {
    width: 65%;
    margin-left: 5%;
}

table.csTable1 {
    width: 80%;
    border: 1px solid #333;
    margin: 0 auto;
}

table.csTable1 th {
    padding: 8px 10px;
    background: #333;
    color: #fff;
}

table.csTable1 tr td {
    padding: 8px 10px;
    border: 1px solid #eee;
    font-size: 14px;
}

table.csTable1 tr td:first-child {
    padding: 8px 10px;
    width: 28%;
}

ul#shand li {
    margin-bottom: 15px;
}

@media screen and (max-width: 600px) {
    section.subContens h1 {
        font-size: 22px;
        height: 88px;
    }
    ul.subFlex {
        font-size: 14px;
    }
}

/*　フッター　*/

footer#footer {
    background: #f2f2f2;
    min-height: 120px;
}

div#footerInner {
    max-width: 980px;
    margin: 0 auto;
    padding: 15px 5px 0px;
    position: relative;
    height: 90px;
}

footer#footer small {
    font-size: 12px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


footer#footer ul li {
    display: inline-block;
    font-size: 14px;
}

footer#footer ul li::after {
    content: " | ";
    padding: 0 10px;
    color: #ddd;
}

div.flexWrap {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

footer#footer ul:first-of-type {
    width: 75%;
    margin-right: 5%;
}

div#footerlogos {
    width: 20%;
}

footer#footer ul li:last-child::after {
    display: none;
}
