/**
 * 共通テンプレートCSS
 */

:root {
    --header-height: 90px;
}

body {
    padding-top: var(--header-height);
}

/* ヘッダー検索ボタン（虫眼鏡）。フォーム系ページの form.css が持つ
   素の `input { border / box-shadow }` 等がこのボタンに波及して枠線や影が
   出るのを打ち消す。common.css は全ページ読込のため、ここで指定すれば全体に効く。 */
.header_top_search form input[type='text'] {
    border: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    height: initial;
}

.header_top_search form input[type='submit'] {
    border: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

/* footerNav（旧 footer.css から移植） */
#footerNav {
    width: 100%;
    margin-top: 20px;
    background: #ffffff;
}
#footerNav > article {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    border-top: 1px dashed #333;
    word-wrap: break-word;
}
#footerNav > article > p {
    line-height: 60%;
}
#footerNav > article > p > small {
    font-size: 0.7em;
    color: #ccc;
    line-height: 16px;
}
article#copyright {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    border-top: 1px dashed #333;
    word-wrap: break-word;
    margin: 20px 0 -20px;
}
article#copyright > p {
    line-height: 60%;
}
article#copyright > p > small {
    font-size: 0.7em;
    color: #ccc;
    line-height: 16px;
}
#footerNav > nav {
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 5px;
    background: #252525;
    background-size: 3px 3px;
    box-sizing: border-box;
    border-bottom: 1px solid #000;
    line-height: 1;
}
#footerNav > nav:after {
    width: 100%;
    height: 5px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to top, #000000, #45494d);
    box-shadow: 0px -1px 1px rgba(255, 255, 255, 0.2) inset;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
#footerNav > nav > ul {
    display: flex;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}
#footerNav > nav > ul > li {
    width: 25%;
    position: relative;
    border-right: 1px solid #000;
    box-sizing: border-box;
    text-align: center;
}
#footerNav > nav > ul > li:after {
    width: 1px;
    height: 100%;
    content: '';
    top: 0;
    right: -2px;
    position: absolute;
    display: block;
    background-color: #666;
    z-index: 3;
}
/* 最右端の li では区切り線(:after)が body の右端を 2px はみ出し、
   iOS Safari で横スクロール(横スワイプ時のページのガタつき)を発生させるため非表示にする */
#footerNav > nav > ul > li:last-child:after {
    display: none;
}
#footerNav > nav > ul > li > a {
    display: block;
    padding: 2px 0;
    font-size: 0.6em;
    color: #fff;
    text-decoration: none;
}
#footerNav > nav > ul .favAdd > img {
    width: 29px;
    height: 24px;
    margin: 2px 0;
    background: url('https://assets.hisshobon.jp/data/html/img/footerimg/favAdd.png') center center no-repeat;
    background-size: 29px 24px;
}
#footerNav > nav > ul .favRem > img {
    width: 29px;
    height: 24px;
    margin: 2px 0;
    background: url('https://assets.hisshobon.jp/data/html/img/footerimg/favRem.png') center center no-repeat;
    background-size: 29px 24px;
}
#footerNav > nav > ul .comment > img {
    width: 27px;
    height: 24px;
    margin: 2px 0;
    background: url('https://assets.hisshobon.jp/data/html/img/footerimg/comment.png') center center no-repeat;
    background-size: 27px 24px;
}
#footerNav > nav > ul .machineInfo > img {
    width: 24px;
    height: 24px;
    margin: 2px 0;
    background: url('https://assets.hisshobon.jp/data/html/img/footerimg/machineInfo.png') center center no-repeat;
    background-size: 24px 24px;
}
#footerNav > nav > ul .pageBack > img {
    width: 24px;
    height: 24px;
    margin: 2px 0;
    background: url('https://assets.hisshobon.jp/data/html/img/footerimg/pageBack.png') center center no-repeat;
    background-size: 24px 24px;
}
#footerNav > nav > ul .pageTop > img {
    width: 24px;
    height: 24px;
    margin: 2px 0;
    background: url('https://assets.hisshobon.jp/data/html/img/footerimg/pageTop.png') center center no-repeat;
    background-size: 24px 24px;
}
#footerNav > nav > ul .ftActive {
    box-shadow: 6px 6px 2px #111111 inset;
}
#footerNav > nav > ul .ftActive > a:after {
    width: 100%;
    height: 100%;
    content: '';
    top: 0px;
    left: 0px;
    position: absolute;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
#footerNav > nav > ul .ftActive > a > span {
    position: relative;
    top: 1px;
    left: 1px;
    text-shadow: 0px 0px 0px black;
}
#footerNav > div {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(to top, #000000 0%, #232426 75%, #45494d 100%);
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
}
#footerNav a > p {
    margin-bottom: 0;
}
#footerNav > div > p > small {
    font-size: 0.8em;
    color: #fff;
}
#footerNav > .machine-copyright small {
    font-size: 0.7em;
    color: #ccc;
    line-height: 16px;
}
#footerNav > .machine-copyright {
    text-align: left;
}

/* ページヘッダー（旧 sp.css から移植） */
#header {
    border: 1px solid #000;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
    text-shadow: 0 -1px 1px #000;
    background: linear-gradient(to bottom, #333, #5a5a5a);
    box-sizing: border-box;
    padding: 5px 0;
}
#pageTitle {
    border: 1px solid #111;
    box-sizing: border-box;
    padding: 5px 0;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-shadow: 0px -1px 1px #000;
    background: linear-gradient(to top, #333333, #5a5a5a);
}

.cominind {
    margin: 0px 0px 15px 15px;
}
.cominhead {
    border-bottom: 2px dotted;
    border-left: 10px solid #ff8a00;
    margin-bottom: 10px;
    padding: 0px 0px 0px 5px;
}
.cotextaria {
    margin: 10px 10px 80px;
    font-size: 100%;
    line-height: 120%;
}
h1.col {
    padding: 0px;
    margin: 0px 0px 10px 0px;
}
.clearfix {
    clear: both;
}
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}
.copyright {
    color: #808080;
    font-size: 10px;
    line-height: 1.2em;
}
.kyoutai {
    float: left;
    width: 40%;
    padding-right: 10px;
    padding-left: 5px;
    padding-bottom: 10px;
}

/* テーブル設定（sp.cssから) */
.basic {
    border-collapse: collapse;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    font-size: 16px;
    line-height: 1em;
}
.basic td {
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    padding: 8px 4px 6px 4px;
    background-color: #fff;
    text-align: right;
    vertical-align: middle;
}
.tuika {
    border-collapse: collapse;
    border-right: 1px solid #000;
    font-size: 16px;
    line-height: 1em;
}
.tuika td {
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    padding: 8px 4px 6px 4px;
    background-color: #fff;
    text-align: right;
    vertical-align: middle;
}
th {
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 6px 4px 4px 4px;
    font-weight: bold;
    background-color: #000;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}
td.noline {
    border-bottom: 1px solid #000;
    border-left: none;
    padding: 6px 4px 4px 4px;
    background-color: #fff;
    text-align: right;
    font-size: 16px;
    vertical-align: middle;
}
td.noline1 {
    text-align: right;
    border-left: none;
    vertical-align: middle;
    background-color: #e0e0e0;
    padding: 6px 4px 4px 4px;
    font-size: 14px;
}
td.noline2 {
    border-bottom: 1px solid #000;
    border-left: none;
    background-color: #e0e0e0;
    vertical-align: middle;
    padding: 6px 4px 4px 4px;
    text-align: right;
    font-size: 14px;
}
td.center {
    text-align: center;
    vertical-align: middle;
    background-color: #e0e0e0;
    padding: 6px 4px 4px 4px;
    font-size: 14px;
}
td.center0 {
    text-align: center;
    vertical-align: middle;
    background-color: #e0e0e0;
    font-size: 16px;
    padding: 6px 4px 4px 4px;
}
td.center1 {
    text-align: center;
    vertical-align: middle;
    background-color: #e0e0e0;
    font-size: 13px;
    padding: 6px 4px 4px 4px;
}
td.center2 {
    text-align: center;
    vertical-align: middle;
    background-color: #e0e0e0;
    font-size: 12px;
    padding: 6px 4px 4px 4px;
}
td.center3 {
    text-align: center;
    vertical-align: middle;
    background-color: #e0e0e0;
    font-size: 11px;
    padding: 6px 4px 4px 4px;
}
td.center_align {
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
    font-size: 16px;
    padding: 6px 4px 4px 4px;
}
td.center_align1 {
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
    font-size: 14px;
    padding: 6px 4px 4px 4px;
}
td.left {
    text-align: left;
    vertical-align: middle;
    background-color: #e0e0e0;
    padding: 6px 4px 4px 4px;
    font-size: 14px;
}
td.left_align {
    text-align: left;
    vertical-align: middle;
    background-color: #fff;
    font-size: 14px;
    padding: 6px 4px 4px 4px;
}
td.center_blue {
    padding: 6px 4px 4px 4px;
    text-align: center;
    vertical-align: middle;
    background-color: #add8e6;
    font-size: 14px;
}
td.center_orange {
    padding: 6px 4px 4px 4px;
    text-align: center;
    vertical-align: middle;
    background-color: #fc6;
    font-size: 14px;
}
td.center_red {
    padding: 6px 4px 4px 4px;
    text-align: center;
    vertical-align: middle;
    background-color: #f9f;
    font-size: 14px;
}
td.center_purple {
    padding: 6px 4px 4px 4px;
    text-align: center;
    vertical-align: middle;
    background-color: #e0e;
    font-size: 14px;
}
td.center_green {
    padding: 6px 4px 4px 4px;
    text-align: center;
    vertical-align: middle;
    background-color: #9add32;
    font-size: 14px;
}
td.center_blood {
    padding: 6px 4px 4px 4px;
    text-align: center;
    vertical-align: middle;
    background-color: #ff1493;
    font-size: 14px;
}

td.font_red {
    color: #f00;
}
td.font_red1 {
    color: #f00;
    font-size: 14px;
}
td.font_red2 {
    color: #f00;
    font-size: 12px;
}

td.font_blue {
    color: #00f;
}
td.font_blue1 {
    color: #00f;
    font-size: 14px;
}
td.font_blue2 {
    color: #00f;
    font-size: 12px;
}

td.font_1 {
    font-size: 14px;
}
td.font_2 {
    font-size: 12px;
}

td.ph {
    padding: 0px;
    text-align: center;
}

/* TOP　フッター */
.footer {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 2.6667vw;
    padding: 2.6667vw;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer_nav {
    padding-bottom: 2.6667vw;
    color: white;
    font-size: 3.2vw;
    line-height: 2;
    text-align: center;
    white-space: nowrap;
    border-bottom: dotted 0.2667vw white;
}

.footer_copy {
    margin-top: 5vw;
    color: white;
    font-size: 3.3333vw;
    line-height: 1.2;
}

@media (min-width: 835px) {
    #footerNav {
        margin-inline: auto;
    }

    .footer {
        width: calc(100% - 500px);
        min-width: 375px;
        max-width: 400px;
        margin-inline: auto;
        margin-top: 0;
        padding: 10px;
    }

    .footer_nav {
        width: 100%;
        font-size: 12px;
        padding-bottom: 10px;
        border-bottom: dotted 1px white;
    }

    .footer_copy {
        width: 100%;
        padding: 0;
        margin-top: 10px;
        font-size: 12px;
    }
}

/* ==============================================
   footer_wrap（関連リンクメニュー）
   ============================================== */
#footer_wrap {
    margin: 0 5px auto;
}

.menu_update {
    font-size: 15px;
    line-height: 17px;
    border-bottom: 2px #000 solid;
    margin: 0 0 10px 0;
    padding: 0 0 5px 10px;
}

.menu_update a {
    display: block;
    text-decoration: none;
    color: #369;
}

li.menu_update i {
    color: #f00;
}

/* ページヘッダメニュー（複数ページに配置したことによる補正) */
@media screen and (min-width: 835px) {
    .header a.header_nav_news:hover {
        opacity: 1;
        background-color: #0069c4;
    }
    .header a.header_nav_column:hover {
        opacity: 1;
        background-color: #4d9ef5;
    }
    .header a.header_nav_slot:hover {
        opacity: 1;
        background-color: #52cc2a;
    }
    .header a.header_nav_pachi:hover {
        opacity: 1;
        background-color: #fb7777;
    }
    .header a.header_nav_movie:hover {
        opacity: 1;
        background-color: #fdb133;
    }
}

/* ==============================================
   機種ボタンリンク（bancholink）— 関連機種への色付きボタン
   ボタン色（boxone〜four）は記事横断で標準化
   ============================================== */
.bancholink {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.bancholink .machinebutton {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
    border-radius: 5px;
    width: 23%;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.bancholink .boxone {
    background: #2f58af;
}
.bancholink .boxtwo {
    background: #2c842e;
}
.bancholink .boxthree {
    background: #dc7a19;
}
.bancholink .boxfour {
    background: #b52833;
}
