@charset "utf-8";

/* =Reset
-------------------------------------------------------------- */
.content-header h1 {
    line-height: 30px;
}

.content-header h1:after {
    display: none;
}

.content-header h1 span {
    font-size: 14px;
    font-weight: bold;
}

.w980 {
    margin-bottom: 30px;
}

#ofm-menu {
    max-width: 1600px;
    min-width: 980px;
    height: 80px;
    margin: 0 auto;
    background-color: #c00 !important;
    border-top: 1px solid #fff;
    border-bottom: 6px solid #a6a6a6;
    position: relative;
}

#ofm-menu h1 {
    margin: 0;
    width: 220px;
    height: 0;
    position: static;
    padding: 0;
}

#ofm-menu h1 a {
    display: block;
    text-indent: -9999px;
    width: 142px;
    height: 80px;
    background: url(../image/ofm-menu-logo.png) no-repeat left center;
    background-size: contain;
    float: left;
}

#ofm-menu ul {
    display: table;
    width: 830px;
    height: 80px;
    float: right;
}

#ofm-menu ul li {
    display: table-cell;
    white-space: nowrap;
    letter-spacing: 0.1em;
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
    height: 80px;
}

#ofm-menu ul li a {
    color: #fff !important;
}

#ofm-menu ul li.this a {
    border-bottom: 2px solid #fff;
}

#ofm-menu ul li:nth-child(6) a {
    color: #c00 !important;
    font-weight: bold;
    display: inline-block;
    padding: 13px 18px;
    background-color: #fff !important;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
}

#ofm-menu h1 a {
    display: block;
    text-indent: -9999px;
    width: 142px;
    height: 80px;
    background: url(../../../../common/image/ofm-menu-logo.png) no-repeat left center;
    background-size: contain;
    float: left;
}

.content:before {
    display: block;
    max-width: 1600px;
    height: 110px;
    min-width: 980px;
    margin: 0 auto;
    background: url(../../../../common/image/bg-main-top.png) no-repeat center bottom;
    content: "";
}

.content:after {
    display: block;
    max-width: 1600px;
    height: 110px;
    min-width: 980px;
    margin: 0 auto;
    background: url(../../../../common/image/bg-main-bottom.png) no-repeat center top;
    content: "";
    clear: both;
}

.bg-fff-bdr-red {
    background-color: #fff !important;
    border: 1px solid #c00 !important;
    margin: 15px 0;
    clear: both;
}

.bg-fff-bdr-red h2 {
    color: #c00 !important;
    text-align: center;
    line-height: 40px;
    padding: 15px;
    background: #fff url(../../../../rule/image/bg-h2.png) no-repeat right center;
    cursor: pointer;
}

.bg-fff-bdr-red h2:hover {
    color: #fff !important;
    background-color: #c00 !important;
}

.bg-fff-bdr-red h2.toggleon {
    background-image: url(../../../../rule/image/bg-h2-toggle.png);
}

div.inner {
    display: none;
    border-top: dashed 1px #cc0000;
    margin: 0 30px;
    padding-top: 20px;
}

div.toggleon h2 {
    background: #fff url(../../../../rule/image/bg-h2-toggle.png) no-repeat right center;
}

a.bg-red-rc {
    display: block;
    width: 500px;
    height: 55px;
    background-color: #c00 !important;
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    line-height: 55px;
    margin: 0 auto;
    font-size: 18px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    margin: 0 auto;
}

div.bg-fff-bdr-red:nth-of-type(2) div.inner {
    display: block;
}

.to_toppage {
    position: absolute;
    right: 0;
    bottom: -100px;
    width: 200px;
    text-align: right;
}

.toppage_icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: right;
    vertical-align: bottom;
    background: #fff url(../../../../rule/image/bg-h2.png) no-repeat center center;
    transform: scale(-1, 1);
}

.to_toppage p {
    display: inline-block;
    color: #c00;
    text-align: right;
    cursor: pointer;
    margin: 0;
}

.to_toppage a {
    color: #c00;
}

.to_photo_on {
    float: right;
    width: 220px;
    height: 40px;
    margin-bottom: 35px;
    text-align: center;
}

.to_photo_on a {
    width: 220px;
    height: 40px;
    line-height: 40px;
    display: block;
    box-sizing: border-box;
    border: solid 1px #CC0000;
    color: #CC0000 !important;
    padding-left: 30px;
    background: #FFFFFF url(../../../../common/image/icon-photo.png) no-repeat 20px 9px;
}

.to_photo_on a:hover {
    color: #FFFFFF !important;
    background: #CC0000 url(../../../../common/image/icon-photo-on.png) no-repeat 20px 9px;
}

.to_photo_off {
    float: right;
    width: 220px;
    height: 40px;
    margin-bottom: 35px;
    text-align: center;
}

.to_photo_off span {
    width: 220px;
    height: 40px;
    line-height: 40px;
    display: block;
    box-sizing: border-box;
    border: solid 1px #707070;
    color: #707070 !important;
    padding-left: 30px;
    background: #FFFFFF url(../../../../common/image/icon-photo-off.png) no-repeat 20px 9px;
}

/*表*/

.result {
    width: 800px;
    margin: 0 auto 50px;
}

.result h3 {
    font-size: 16px;
    color: #cc0000;
    font-weight: bold;
    margin-bottom: 20px;
}

.result table {
    width: 100%;
}

.result table tr {
    border: solid 1px #666;
}

.result table tr th {
    background-color: #666;
    color: #fff;
    text-align: center;
    padding: 3px 0;
    border-right: solid 1px #fff;
}

.result table tr th:first-child {
    width: 110px;
}

.result table tr th:nth-of-type(2) {
    width: 110px;
}

.result table tr th:last-child {
    border-right: none;
    width: 150px;
}

.result table.tableSize2 tr th:last-child {
    width: 220px;
}

.result table tr td {
    text-align: center;
    vertical-align: middle;
    padding: 3px 0;
    border-right: solid 1px #666;
}

/* レスポンシブ */

@media screen and (max-width:736px) {
    .content-header h1 {
        font-size: calc(90%);
    }

    #ofm-menu {
        width: 100%;
        min-width: 100%;
        height: 18vw;
        border-bottom: 2vw solid #a6a6a6;
        z-index: 11111;
        top: 0;
        left: 0;
    }

    #ofm-menu.fxd {
        top: 0;
        position: fixed;
    }

    #ofm-menu.spmenu {
        background-color: #cc0000;

    }

    #ofm-menu ul {
        display: none;
        min-width: 250px;
        width: 60%;
        height: 100vh;
        padding-bottom: 30vh;
        background-color: #c00 !important;
        z-index: 11112;
        position: absolute;
        top: 68px;
        ;
        right: 0;
        float: none;
    }

    #ofm-menu ul li {
        display: inline;
        text-align: left;
    }

    #ofm-menu ul li.this a {
        border-bottom: 1px dashed #fff;
    }

    #ofm-menu ul li a {
        display: block;
        font-size: calc(60% + 2vw);
        color: #fff !important;
        line-height: calc(100% + 7vw);
        padding: 3vw;
        border-bottom: 1px dashed #fff;
    }

    #ofm-menu ul li:last-child a {
        display: block;
        font-size: calc(60% + 2vw);
        background-color: #fff !important;
        line-height: calc(60% + 4vw);
        padding: 10px;
        border: 0;
        margin: 8vw auto;
        color: #c00 !important;
        font-weight: bold;
        text-align: center;
        width: 50%;
        border-radius: 30px;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
    }

    #ofm-menu h1 {
        margin: 1.5vw 0 0 1.5vw;
        width: 220px;
        height: 15vw;
    }

    #ofm-menu h1 a {
        width: 220px;
        height: 15vw;
        background-size: contain;
    }

    #ofm-menu div.bgcover {
        position: fixed;
        width: 100%;
        height: 100%;
        top: calc(20vw + 53px);
        background: #000;
        filter: alpha(opacity=60);
        opacity: 0.6;
        -moz-opacity: 0.6;
        display: none;
    }

    .bgcover.fx-cover {
        top: calc(20vw + 1px) !important;
    }

    #ofm-menu div.ham {
        display: block;
        width: 8vw;
        height: 8vw;
        background: url(../image/icon-hummenu.png) no-repeat center right;
        position: absolute;
        background-size: contain;
    }

    #ofm-menu.spmenu div.ham {
        background: #c00 url(../image/btn-close.png) no-repeat center right;
        background-size: contain;
    }

    .content-header h1 {
        font-size: calc(90%);
    }

    #ofm-menu h1 a {
        width: 220px;
        height: 15vw;
        background-size: contain;
    }

    #ofm-menu div.ham {
        display: block;
        width: 8vw;
        height: 8vw;
        background: url(../../../../common/image/icon-hummenu.png) no-repeat center right;
        position: absolute;
        background-size: contain;
        top: 5vw;
        right: 5vw;
    }

    #ofm-menu.spmenu div.ham {
        background: #c00 url(../../../../common/image/btn-close.png) no-repeat center right;
        background-size: contain;
    }

    p.to_page_top a {
        display: block;
        width: 100px;
        height: 25px;
        margin: 0 auto;
        text-indent: -9999px;
        background: url(../../../../common/image/btn-to_pagetop.jpg) no-repeat center top;
    }

    #to_pagetop {
        display: block;
        width: calc(55px + 4vw);
        max-width: 75px;
        height: calc(55px + 4vw);
        max-height: 75px;
        text-indent: -9999px;
        background: url(../../../../common/image/btn-to_pagetop-sp.png) no-repeat center center;
        background-size: contain;
        position: fixed;
        bottom: 3%;
        right: 3%;
        z-index: 999;
    }

    #main,
    .content,
    .content:before,
    .content:after,
    .w980 {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        font-size: 18px;
    }

    .bg-fff-bdr-red {
        margin: -1px;
    }

    div.to_toppage {
        display: none;
    }

    .to_photo_on {
        float: none;
        width: 220px;
        height: 40px;
        margin: 0 auto 15px;
        text-align: center;
    }

    .to_photo_on a {
        width: 220px;
        height: 40px;
        line-height: 40px;
        display: block;
        box-sizing: border-box;
        border: solid 1px #CC0000;
        color: #CC0000 !important;
        padding-left: 30px;
        background: #FFFFFF url(../../../../common/image/icon-photo.png) no-repeat 20px 9px;
    }

    .to_photo_on a:hover {
        color: #FFFFFF !important;
        background: #CC0000 url(../../../../common/image/icon-photo-on.png) no-repeat 20px 9px;
    }

    .to_photo_off {
        float: none;
        margin: 0 auto 15px;
        width: 220px;
        height: 40px;
        text-align: center;
    }

    /*表*/

    .result {
        width: 100%;
        margin: 0 auto 50px;
    }

    .result h3 {
        font-size: 16px;
        color: #cc0000;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .result .scx {
        overflow-x: scroll;
    }

    .result table {
        width: 600px;
    }

    .result table tr {
        border: solid 1px #666;
    }

    .result table tr th {
        background-color: #666;
        color: #fff;
        text-align: center;
        padding: 3px 0;
        border-right: solid 1px #fff;
    }

    .result table tr th:last-child {
        border-right: none;
    }

    .result table tr td {
        text-align: center;
        padding: 3px 0;
        border-right: solid 1px #666;
    }

    .result table tr th:first-child {
        width: 80px;
    }

    .result table tr th:nth-of-type(2) {
        width: 80px;
    }

    .result table tr th:last-child {
        border-right: none;
        width: 150px;
    }
}
