@charset "UTF-8";

/* ヘッダー
==================================== */

header {
    position: fixed;
    z-index: 5;
    width: 100%;
    top: 0;
    transition: .3s;
}

header.active::before {
    content: "";
    display: block;
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 9999;
    transition: background-color .3s;
}

header .header_inner {
    position: relative;
    background: #666;
    color: #fff;
    z-index: 999;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    height: 50px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

header .header_inner .h_title {
    font-size: 18px;
    font-weight: bold;
    margin-right: 1%;
    width: 80%;
}
@media only screen and (max-width: 345px) {
    header .header_inner .h_title {
        font-size: 16px;
    }
}

header .header_inner .h_title a,
header .header_inner .h_title a:visited {
    color: #fff;
}

header .header_inner .h_title p.h_caution{
    padding-left: 5px;
    font-size: 8px;
    font-weight: normal;
    color: #fff;
}

header .header_inner .menu {
    min-width: 42px;
}

header .header_inner .menu #nav_button {
    display: inline-block;
}

header .header_inner .menu #nav_button .icon_nav {
    height: 18px;
    width: 42px;
    margin: 11px 0 2px;
}

header .header_inner .menu #nav_button .icon_nav .icon_line {
    display: block;
    width: 26px;
    margin: 0 auto;
    border-top: 3px solid #fff;
}

header .header_inner .menu #nav_button .icon_nav .icon_line:nth-child(2) {
    margin: 4px auto;
}

header .header_inner .menu #nav_button .nav_name {
    font-size: 11px;
}

header:not(.active) .header_nav, header:not(.active) #nav_close {
    display: none;
}

header #nav_close {
    position: fixed;
    width: 20%;
    height: 100%;
    z-index: 9999;
    right: 80%;
    right: -webkit-calc(80% + 8px);
    right: calc(80% + 8px);
    top: 0;
    text-align: right;
}

header #nav_close .icon_close {
    position: relative;
    height: 22px;
    width: 20px;
    display: inline-block;
    top: 20px
}

header #nav_close .icon_close::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
    background-color: #fff;
    height: 3px;
    width: 100%;
    transform: rotate(-45deg)
}

header #nav_close .icon_close::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
    width: 100%;
    background-color: #fff;
    height: 3px;
    transform: rotate(45deg)
}

header .header_nav {
    position: fixed;
    width: 80%;
    height: 100%;
    right: 0;
    top: 0;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

header .header_nav .nav_list {
    min-height: 100%;
    padding-bottom: 77px;
    background-color: #666;
}

header .header_nav .nav_list li {
    background-color: #fff;
    border-bottom: 1px solid #cccccc;
    box-sizing: border-box;
    font-size: 16px;
    min-height: 42px;
}

header .header_nav .nav_list li a {
    padding: 10px 10px;
    margin-left: 12px;
    display: block;
    color: #333;
    font-weight: bold;
}

header .header_nav .nav_list li.blank {
    background-color: #666;
    min-height: 22px;
}

header .header_nav .nav_list li p.menu_parent > a {
    display: inline-block;
    width: calc(80% - 32px);
}

header .header_nav .nav_list li p.menu_parent .menu_toggle {
    display: inline-block;
    width: calc(15% - 6px);
    text-align: center;
}
header .header_nav .nav_list li p.menu_parent .menu_toggle::before {
    position: relative;
    content: "";
    display: inline-block;
    height: 10px;
    width: 10px;
    top: -3px;
    border-top: 2px solid #999999;
    border-left: 2px solid #999999;
    box-sizing: border-box;
    transition: all .2s;
    transform: rotate(225deg);
}
header .header_nav .nav_list li p.menu_parent .menu_toggle.active::before {
    top: 3px;
    transform: rotate(45deg);
}

header .header_nav .nav_list li ul.menu_child {
    margin-left: 12px;
}

header .header_nav .nav_list li ul.menu_child li {
    background-color: #eee;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-bottom: none;
    font-size: 15px;
}

header .header_nav .nav_list li ul.menu_child li > a {
    position: relative;
    padding: 10px 6px 10px 26px;
    margin-left: 0;
    z-index: 1001;
}
header .header_nav .nav_list li ul.menu_child li > a::before {
    position: absolute;
    content: "";
    border-top: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #333;
    top: 0;
    bottom: 0;
    left: 12px;
    margin: auto 0;
    width: 0;
    height: 0;
    display: inline-block;
    z-index: 1001;
}

/* メイン
==================================== */
main {
    width: 94%;
    margin: 0 auto 20px;
}

main h1 {
    position: relative;
    margin: 10px 0;
    padding: 5px 0;
    font-size: 18px;
    text-align: left;
    box-sizing: border-box;
    border-top: 4px solid #e0e0e0;
}
main h1::before {
    content: "";
    background: #e1c561;
    width: 60px;
    height: 4px;
    position: absolute;
    top: -4px;
    left: 0;
}

main .bold {
    font-weight: bold;
}

main .clear {
    clear: both;
}

main .btn_ptop {
    width: 100%;
    font-size: 14px;
    text-align: right;
    margin-right: 5px;
}

/* コンテンツ */
main .contents {
    margin-bottom: 50px;
}

main .contents h2 {
    margin: 30px 0 5px 0.5em;
    font-size: 16px;
    font-weight: bold;
    clear: both;
}
main .contents h2:not(.no_diamond):before {
    content: "◆ "
}

main .contents h3 {
    margin-left: 1em;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    clear: both;
}

main .contents p {
    font-size: 14px;
}

main .contents p.i1 {
    width: calc(100% - 1em);
    margin-left: 1em;
}

main .contents p.i2 {
    width: calc(100% - 2em);
    margin-left: 2em;
}

main .contents p.p1 {
    margin-left: 1em;
}

main .contents p.list {
    margin-left: 1em;
}
main .contents p.list::before {
    content: "・";
    margin-left: -1em;
}

main .contents p.i1.list {
    width: calc(100% - 2em);
    margin-left: 2em;
}

main .contents p.i2.list{
    width: calc(100% - 3em);
    margin-left: 3em;
}

main .contents p.p1.list {
    margin-left: 2em;
}

main .contents p.image {
    width: 97%;
    margin: 5px auto;
    text-align: center;
}

main .contents p.image img {
    max-width: 100%;
}

main .contents .caution {
    width: 94%;
    padding: 5px;
    margin: 10px auto;
    background-color: #fff7ff;
    border: 1px solid #d99694;
    text-align: center;
}

main .contents table.i1 {
    width: 100%;
    margin: 10px auto;
    border-collapse: collapse;
}

main .contents table .top {
    vertical-align: top;
}

main .contents table.i1 th {
    padding: 5px;
    border: 1px solid #b4b4b4;
    background: #9e9e9e;
    color: #fff;
}

main .contents table th.sub {
    background: #ddd;
    font-weight: normal;
    color: #000;
}

main .contents table th.sub2 {
    background: #eee;
    font-weight: normal;
    color: #000;
}

main .contents table.i0 {
    font-size: 6px;
}

main .contents table.i0 th {
    padding: 3px 0px;
    border: 0.5px solid #b4b4b4;
    border-collapse: collapse;
    text-align: center;
    background: #9e9e9e;
    color: #fff;
}

main .contents table.i0 th.sub {
    color: #000;
    background: #ddd;
}

main .contents table.i0 th.normal {
    font-weight: normal;
}

main .contents table.i0 td {
    padding: 3px 0px;
    border: 0.5px solid #b4b4b4;
    text-align: center;
    border-collapse: collapse;
    background: #fff;
    font-weight: bold;
    color: #000;
}

main .contents table.i0 td.blue {
    color: #203864;
}

main .contents table.i0 td.red {
    color: #c55a11;
}

main .contents table th p.vertical {
    text-align: center;
}
main .contents table th p.vertical span {
    writing-mode: vertical-rl;
    white-space: nowrap;
    text-orientation: upright;
}

main .contents table th.sub_center {
    background: #eee;
    text-align: center;
    padding: 2px;
}

main .contents table td.sub {
    background: #ffc;
    font-weight: normal;
    color: #000;
}

main .contents .center {
    text-align: center;
}

main .contents table.i1 td {
    padding: 4px 5px;
    border: 1px solid #b4b4b4;
}

main .contents table.no_border td {
    border: none;
}

main .contents table.img_table tr th {
    font-weight: bold;
    vertical-align: top;
    background-color: #fff;
    color: #000;
    border: none;
    padding: 1px;
}

main .contents table.img_table tr td {
    padding: 6px 3px 6px 0;
}

main .contents table.img_table td.image {
    width: 50%;
    text-align: right;
}

main .contents table.img_table td.image img {
    max-width: 100%;
}

/* 各画面CSS
==================================== */

/* 【銘柄を比較する】銘柄比較表の画像 */
@media only screen and (max-width: 365px) {
    main .contents#h200 table.img_table td.image.comp_table {
        width: 60%;
    }
}

/* 【業績修正を探す／個別-業績予想修正】対前回比較 矢印 */
main .contents#h260 .up::before,
main .contents#h308 .up::before {
    position: relative;
    display: inline-block;
    content: "↑";
    color: #f00;
}
main .contents#h260 .down::before,
main .contents#h308 .down::before {
    position: relative;
    display: inline-block;
    content: "↓";
    color: #039a03;
}
main .contents#h260 .mid::before,
main .contents#h308 .mid::before  {
    position: relative;
    display: inline-block;
    content: "→";
    color: #333;
}

/* 【業績ニュース】天気 */
main .contents#h230 .weather_icon_w_L_00::before {
    position: relative;
    display: inline-block;
    content: "";
    background: url(/assets/img/sp/news/weather_icon_w_M_00.svg)no-repeat 0 0;
    background-size: 100%;
    margin-top: -7px;
    top: 6px;
    width: 50px;
    height: 50px;
}
main .contents#h230 .weather_icon_w_L_01::before {
    position: relative;
    display: inline-block;
    content: "";
    background: url(/assets/img/sp/news/weather_icon_M_01.svg)no-repeat 0 0;
    background-size: 100%;
    margin-top: -7px;
    top: 6px;
    width: 50px;
    height: 50px;
}
main .contents#h230 .weather_icon_w_L_02::before {
    position: relative;
    display: inline-block;
    content: "";
    background: url(/assets/img/sp/news/weather_icon_M_02.svg)no-repeat 0 0;
    background-size: 100%;
    margin-top: -7px;
    top: 6px;
    width: 50px;
    height: 50px;
}
main .contents#h230 .weather_icon_w_L_03::before {
    position: relative;
    display: inline-block;
    content: "";
    background: url(/assets/img/sp/news/weather_icon_M_03.svg)no-repeat 0 0;
    background-size: 100%;
    margin-top: -7px;
    top: 6px;
    width: 50px;
    height: 50px;
}

main .contents#h102 .icon_shut::before {
    content: "";
    display: inline-block;
    position: relative;
    top: 5px;
    width: 20px;
    height: 20px;
    background: url(/assets/img/sp/news/ico_remove.svg) no-repeat 0 0;
}

main .contents#h105 .memo_icon {
    width: 16px;
    padding-bottom: 4px;
}

main .contents#h105 .i1_mrg-btm {
    margin-bottom: 20px;
}

/* メイン
==================================== */
footer {
    display: table;
    width: 100%;
    height: 30px;
    background: #666;
    font-size: 10px;
    color: #fff;
    border-top: 5px solid #f60;
    border-collapse: separate;
    border-spacing: 10px 0;
}

footer .copyright {
    display: table-cell;
    vertical-align: middle;
}
