*{
    margin: 0;
    padding: 0;
}

#wrapper {
    background: none !important;
}

#com_base {
    max-width: 640px !important;
}

#logo {
    margin: 0 auto 0 5px;
    width: 100%;
    text-align: left;
}

#logo img {
    height: 2.5rem;
    width: auto;
}

.title {
    margin: 0 auto;
}

.contents {
    margin: 10px auto;
    /*padding: 10px 20px;*/
    text-align: left;
    background-color: #fff;
}

.attention_message {
    color: #c00000;
    font-size: 10px;
}

.input_small {
    width: 30px;
}

.submit_buttons {
    text-align: center;
    margin: 10px auto;
}

.form_key {
    margin-top: 5px;
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form_value {
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form_value input[type="text"], input[type="password"] {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.input_attention {
    background-color: #ffa500;
}

.footer_actions {
    text-align: right;
    padding: 10px;
}

.footer_actions a {
    text-decoration: underline;
    color: #c00000;
}

.license_list {
    text-align: center;
    margin: 5px 0;
}

.buy_date {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #c00000;
    padding: 5px;
    margin: 5px 0;
}

.submit_link {
    width: 60%;
    border-radius: 5px;
    border: solid 2px #c00000;
    background-color: #fcc;
    color: #c00000;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    padding: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font:16px "ヒラギノ角ゴ Pro W3",tahoma,arial;
    white-space: nowrap;
}

.submit_link_inactive {
    width: 60%;
    border-radius: 5px;
    border: solid 2px #808080;
    background-color: #C0C0C0;
    color: #808080;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    padding: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font:16px "ヒラギノ角ゴ Pro W3",tahoma,arial;
    white-space: nowrap;
    pointer-events:none;
}

.standard_button {
    border: solid 2px #c00000;
    background-color: #fcc;
    color: #c00000;
    border-radius: 5px;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    padding: 5px;
}

.cancel_button {
    border-radius: 5px;
    border: solid 2px #800000;
    background-color: #fffacd;
    color: #800000;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    padding: 5px;
}

.form_element {
    margin: 5px 0;
}

#account_link {
    background-color: #bdd7ee;
    border: solid 2px #0070c0;
    border-radius: 5px;
    width: 60%;
    margin: 10px auto;
    padding: 5px;
    text-align: center;
    color: #0070c0;
}

#key_info {
    display: inline-block;
    border: solid 2px #c00000;
    margin: 10px auto;
    padding: 10px 20px;
    text-align: center;
    color: #c00000;
}

.confirm_element {
    margin: 5px 0;
}

.confirm_key {
    margin-top: 5px;
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.confirm_value {
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 0 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.alternate_color {
    background-color: #ffe4e1;
}

.top_message {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.terms_link {
    color: #c00000;
    margin: 5px;
    text-decoration: underline;
    font-size: small;
}

/* モーダル全体(背景＋本体) */
.modal{
    display: none;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
}

/* モーダル背景 */
.modal-bg{
    position: absolute;
    height: 100vh;
    width: 100%;
    /*background: rgba(0, 0, 0, 0.8);*/
}

/* モーダル本体 */
.modal-content{
    position: absolute;
    top: 20px;
    left: 20px;
    /*transform: translate(-50%, -50%);*/
    /*overflow: scroll; !* はみ出た部分はスクロールさせる *!*/
    /*height: 60%;!* これが無いと「overflow:scroll」が利かない *!*/
    /*width: 60%;!* これが無いと「overflow:scroll」が利かない *!*/
    background: white;
    padding: 40px;
    border: solid;
}

/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}

.box_srcollbar {
    overflow-y: auto;
    margin:0 10px;
    height:100px;
    padding:5px;
    border:1px solid #000;
    background-color:#F9F9F9;
    color:#000;
    font-size:12px;
    text-align:left;
}

.contents_margin {
    margin: 0 10px;
}

.display_inline {
    display:inline;
}

.color_red{
    color:#c00000;
}

.underline_red a {
    text-decoration: underline;
    color: #c00000;
}

.margin_10_0 {
    margin: 10px 0;
}

.margin_5_0 {
    margin: 5px 0;
}

.margin_right_5 {
    margin-right: 5px;
}

.align_left {
    text-align: left;
}

.font_size_6 {
    font-size: 6px;
}

.margin_top_1rem {
    margin-top: 1rem;
}

.width_80 {
    width: 80%;
}