.shop-body, .shop-body * { box-sizing: border-box; }

body.shop-body {
    margin: 0;
    color: #686868;
    font-family: "MS PGothic", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: -0.4px;
    background: #fff url("../images/comm/bg1.jpg") repeat-x left top;
}

img { border: 0; vertical-align: top; }
a { color: #e07020; text-decoration: none; }
button, input { font-family: inherit; }

.subpage { width: 960px; margin: 0; padding: 0 0 24px; }

.sub-head { display: flex; align-items: flex-start; width: 958px; }
.sub-logo { width: 227px; height: 105px; }
.sub-head-main { width: 731px; text-align: right; }
.sub-tagline { margin: 13px 15px 3px 0; }
.sub-menu { width: 731px; height: 47px; }

.sub-frame {
    display: flex;
    align-items: flex-start;
    width: 960px;
}

.sub-side {
    width: 201px;
    flex: none;
    padding: 0 0 16px;
    background: url("../images/comm/sub_left_bg.gif") no-repeat left top;
}

.game-start {
    position: relative;
    width: 154px;
    height: 168px;
    margin: 10px auto 8px;
    background: url("../images/main/start2_small/bg.png") no-repeat left top;
}

.game-start a {
    position: absolute;
    left: 6px;
    display: block;
    width: 142px;
    height: 45px;
    line-height: 0;
    background-repeat: no-repeat;
}

.game-start .start-install { top: 72px; background-image: url("../images/main/start2_small/btn2_hover.png"); }
.game-start .start-launcher { top: 117px; background-image: url("../images/main/start2_small/btn3_hover.png"); }
.game-start a:hover img { visibility: hidden; }

.member-panel {
    width: 167px;
    height: 355px;
    margin: 0 auto 10px;
    background: url("../images/comm/bg_login3_new.png") no-repeat left top;
    color: #000;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: -1px;
    text-align: left;
}

.member-photo {
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo img { width: 119px; height: 168px; }
.member-meta { padding: 0 10px 0 8px; }
.member-ok {
    box-sizing: border-box;
    width: 148px;
    height: 76px;
    padding: 7px;
    overflow: hidden;
    background: url("../images/comm/login_ok_bg.gif") no-repeat left top;
}
.member-nick { color: #de4204; font-weight: bold; }
.member-ruby { color: #fe5e39; font-weight: bold; }
.member-ok img { vertical-align: middle; }
.member-actions { margin-top: 8px; }
.member-actions a,
.member-actions button {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    line-height: 0;
    cursor: pointer;
}
.member-actions form { margin: 3px 0 0; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.login-card {
    position: relative;
    box-sizing: border-box;
    width: 171px;
    margin: 0 auto 8px;
    padding: 50px 8px 8px;
    background: url("../images/comm/bg_login_new2.png") no-repeat left top;
    color: #686868;
    font-size: 12px;
    letter-spacing: -1px;
    text-align: left;
}

.login-line { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.login-fields label { display: block; margin: 2px 0; text-align: right; white-space: nowrap; font-size: 12px; }
.login-fields input {
    box-sizing: border-box;
    width: 64px;
    height: 18px;
    margin-left: 2px;
    padding: 1px 3px;
    border: 1px solid #d1b697;
    background: #fff;
    color: #666;
    font-family: inherit;
    font-size: 11px;
}
.go { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.save { display: flex; align-items: center; gap: 4px; margin: 6px 2px 4px; font-size: 11px; line-height: 15px; }
.save input { margin: 0; }
.find { display: block; margin: 2px 0 0; line-height: 0; }
.find img { width: 150px; height: 20px; }
.openid {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    width: 150px;
    height: 63px;
    margin-top: 4px;
    padding: 0 6px 8px;
    background: url("../images/comm/bg_openid_new.png") no-repeat left top;
}
.openid a { line-height: 0; }
.openid img { width: 18px; height: 18px; }

.cash-menu { width: 167px; margin: 8px auto 12px; line-height: 0; }
.cash-menu-body {
    padding: 4px 12px 2px;
    background: url("../images/left/left_body.gif") repeat-y center top;
}
.cash-menu-body a,
.cash-menu-body img { display: block; margin: 0 auto; }

.sub-main {
    width: 759px;
    flex: none;
    overflow: hidden;
    background: url("../images/comm/sub_body_bg.gif") repeat-y left top;
}
.ruby-banner,
.sheet-cap { display: block; width: 759px; height: auto; }
.ruby-body {
    width: 750px;
    margin: 0;
    padding: 8px 0 16px;
    overflow: hidden;
    color: #666;
}

.notice {
    display: flex;
    align-items: flex-start;
    width: 700px;
    min-height: 72px;
    margin: 8px 0 0 25px;
}
.notice img { width: 60px; height: 60px; flex: none; }
.notice-links {
    flex: 1;
    min-width: 0;
    margin: 8px 8px 0;
    color: #e10600;
    font-weight: 800;
    line-height: 1.35;
}
.notice-links a { color: #e10600; font-weight: 800; }
.notice-date {
    width: 140px;
    flex: none;
    margin-top: 8px;
    color: #ff3300;
    font-weight: 800;
    line-height: 1.25;
}

.buy-head,
.step-img { display: block; margin: 18px 0 8px 37px; }
.buy-copy,
.buy-notes {
    width: 650px;
    margin: 10px 0 0 37px;
    line-height: 1.4;
}
.buy-copy a { color: #0000ee; text-decoration: underline; }
.buy-notes { color: #ff0066; }

.pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 86%;
    max-width: 86%;
    margin: 6px auto 0;
}
.pay {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 48%;
    flex: none;
    min-width: 0;
    cursor: pointer;
}
.pay input { flex: none; margin: 0; }
.pay-logos { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.pay-logos img,
.carrier-logos img { max-width: 230px; height: auto; }
.wm-caption { color: #999; font-size: 12px; line-height: 1.3; }
.pay-bank { width: 50%; }
.bank-note { width: 118px; flex: none; color: #ff6600; font-size: 12px; line-height: 1.25; }
.bank-note a { color: #ff6600; }
.carrier-logos { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.carrier-row { display: flex; align-items: center; gap: 6px; }

.qty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    box-sizing: border-box;
    width: 86%;
    max-width: 86%;
    row-gap: 14px;
    margin: 12px auto 0;
}
.qty { display: flex; align-items: center; gap: 4px; min-width: 0; cursor: pointer; }
.qty input { flex: none; margin: 0; }
.qty img { width: 185px; max-width: calc(100% - 22px); height: auto; }
.qty-note { box-sizing: border-box; width: 86%; max-width: 86%; margin: 8px auto 4px; color: #666; text-align: right; }
.pay-actions { display: flex; justify-content: center; align-items: center; gap: 28px; width: 720px; padding: 16px 0 8px; }
.pay-actions button { border: 0; background: none; padding: 0; line-height: 0; cursor: pointer; }
.secure-bar { display: block; width: 650px; height: 30px; margin: 8px auto 16px; }

.news-read { width: 730px; min-height: 480px; margin: 16px 0 0 7px; }
.news-titlebar {
    box-sizing: border-box;
    width: 710px;
    height: 47px;
    padding-top: 10px;
    background: url("../images/news/title_top.gif") no-repeat left top;
}
.news-titleline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 590px;
    height: 27px;
    margin-left: 90px;
    padding: 0 8px;
    background: #ffebbf;
    color: #333;
    font-size: 12px;
    line-height: 27px;
}
.news-titleline span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news-titleline time { flex: none; margin-left: 12px; }
.kokuchibun {
    width: 690px;
    margin: 0 auto;
    padding: 22px;
    color: #666;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0;
}
.kokuchibun p { margin: 0 0 12px; }
.kokuchibun img { max-width: 100%; height: auto; }
.news-pager {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 708px;
    height: 39px;
    margin: 8px auto 16px;
    padding-left: 22px;
    background: url("../images/service/board_page_bg.gif") no-repeat left top;
}
.news-pager img { display: block; }

.sub-foot { width: 958px; padding: 16px 0 8px; text-align: center; }
.sub-foot img { vertical-align: middle; }
.foot-logo { margin-right: 18px; }
