/* ページレイアウト */

body {
    background-color: white;
}

.title {
    text-align: center;
    z-index: 0;
}

.index-content {
    text-align: left;
    background: whitesmoke;
    width: 45%;
    padding: 20px;
    margin: 30px auto;
    z-index: 0;
}

.attention-content {
    background: whitesmoke;
    text-align: left;
    width: 45%;
    padding: 20px;
    margin: 30px auto;
    z-index: 0;
}

.products-content {
    background: whitesmoke;
    text-align: left;
    width: 45%;
    padding: 20px;
    margin: 30px auto;
    z-index: 0;
}

.introduce-content {
    background: whitesmoke;
    text-align: center;
    width: 45%;
    padding: 10px;
    margin: 30px auto;
    z-index: 0;
}

.sub {
    position: relative;
    margin: 10px auto;
    padding: 20px;
    z-index: -2;
}

.left {
    text-align: left;
    float: left;
    margin: 0 auto;
    overflow: hidden;
    padding: 50px, 50px, 10px, 50px;
}

.right {
    text-align: left;
    margin: 0 auto;
    overflow: hidden;
    padding: 50px, 10px, 50px, 50px;
    float: right;
}

.title {
    position: relative;
    background: rgba(255, 255, 0, 0.75);
    width: 500px;
    margin: 30px auto;
    border-radius: 30px;
    z-index: 1;
}

.title img {
    background: rgb(255, 187, 0);
    border-radius: 30px;
}

.title a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -999px;
    z-index: 2;
}

.copyright {
    text-align: center;
}

.daenPic {
    border-radius: 30px;
}

.enPic {
    border-radius: 100%;
}

.link:hover {
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    /*ちょろめパイセン*/
    opacity: 0.8;
    zoom: 1;
}

.resizeimage100 {
    width: 100%;
}

.resizeimage80 {
    width: 80%;
}

table {
    border-collapse: collapse;
}

th, td {
    border: solid 1px;
    text-align: center;
}

/* テキストまわり */

h1 {
    font-size: 55px;
    color: rgb(255, 187, 0);
    font-family: tbcinergothic-std, sans-serif;
    font-weight: 600;
    font-style: normal;
}

h2 {
    font-size: 30px;
    color: rgb(238, 75, 0);
    font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.introduce-content h2, .attention-content h2 {
    border-bottom: double 5px #FFC778;
}

.index-content h2, .products-content h2 {
    padding: 0.5em;
    display: inline-block;
    line-height: 1.3;
    background: #ddeefc;
    vertical-align: middle;
    border-radius: 25px 0px 0px 25px;
    width: 500px;
}

.index-content h2:before, .products-content h2:before {
    content: '★';
    color: rgb(245, 245, 166);
    margin-right: 8px;
}

h3 {
    font-size: 27px;
    font-family: a-otf-jun-pro, sans-serif;
    font-style: italic;
    font-weight: 300;
    background: #dcecfc;
    box-shadow: 0px 0px 0px 5px #dfefff;
    border-top: dashed 2px #fff;
    border-bottom: dashed 2px #fff;
    padding: 0.2em 0.5em;
}

p {
    font-size: 18px;
    font-family: a-otf-jun-pro, sans-serif;
    font-style: normal;
    font-weight: 300;
}

.copyright {
    font-family: a-otf-jun-pro, sans-serif;
    font-style: normal;
    font-weight: 300;
}

/* nav */

nav {
    border-bottom: 5px solid rgb(204, 204, 204);
    position: relative;
}

.mainNav h2 {
    display: none;
}

.mainNav {
    position: absolute;
    left: 20%;
    display: flex;
    margin: 0 auto;
    padding: 0;
    width: 90%;
    text-align: center;
}

.mainNav>li {
    width: 25%;
}

.mainNav li {
    list-style: none;
    position: relative;
    min-width: 50px;
}

.mainNav li.current {
    font-weight: bold;
    border-top: 5px solid rgb(0, 176, 240);
}

.mainNav li a {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-decoration: none;
    font-size: 18px;
    font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
    font-weight: 600;
    font-style: normal;
    color: rgb(170, 170, 170);
}

.mainNav li.current a {
    color: #00B0F0;
}

.mainNav li a:hover {
    color: #0089BB;
    background-color: #FBFBDD;
}

.mainNav li li {
    height: 0;
    overflow: hidden;
    transition: .5s;
    /* 子要素のBG */
    background-color: white;
}

.mainNav li:hover {
    border-top: 5px solid #F8E750;
}

.mainNav li ul li:hover {
    border-top: 5px solid rgb(80, 248, 150);
}

.mainNav li li a {
    border-top: 1px solid rgb(238, 238, 238);
}

.mainNav li:hover>ul>li {
    height: 3rem;
    overflow: visible;
}

/* PageTop */

#page_Top {
    position: fixed;
    bottom: 30px;
    right: 40px;
}

#page_Top i {
    padding-top: 12px;
    padding-right: 7px;
}

#page_Top a {
    display: block;
    z-index: 999;
    padding: 10px 0 0 10px;
    border-radius: 40px;
    width: 50px;
    height: 50px;
    background-color: #9fd6d2;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

#page_Top a:hover {
    text-decoration: none;
    opacity: 0.7;
}