/* ==========================================================================
   BIGLOBE Login Page - Common Styles
   Shared styles for all devices and components
   ========================================================================== */

/* CSS Reset and Base Styles */
html, body, table {
    letter-spacing: 1px;
}

br {
    letter-spacing: 0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #333333;
    background-color: #ffffff;
    text-align: center;
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    line-height: 1.4;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

p {
    margin: 0;
    padding: 0;
}

/* Links */
.biglobe-link {
    color: #0000bb;
    cursor: pointer;
    text-decoration: underline;
}

.biglobe-link:visited {
    color: #3366bb;
}

.biglobe-link:hover {
    color: #ff0000;
}

.biglobe-link:active {
    color: #990000;
}

.biglobe-link img {
    border: 0;
}

/* Common Layout Classes */
.biglobe-page-wrapper {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.biglobe-container {
    margin: 10px auto 40px auto;
    display: block;
    width: 100%;
    max-width: 750px;
    font-size: 62.5%;
    text-align: left;
}

/* Common Form Elements */
.biglobe-text-input {
    margin: 0;
    padding: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
    vertical-align: middle;
}

.biglobe-text-input:focus {
    outline: 2px solid #7db4e6;
    outline-offset: 1px;
}

.biglobe-required-mark {
    color: #FF0000;
    font-weight: bold;
    margin-left: 5px;
}

.biglobe-error {
    color: #cc0000;
}

/* Common Button Styles */
.biglobe-button {
    border: 0;
    cursor: pointer;
    display: inline-block;
}

.biglobe-button:hover {
    opacity: 0.8;
}

.biglobe-button:active {
    opacity: 0.6;
}

/* Utility Classes */
.biglobe-hidden {
    display: none;
}

.biglobe-clearfix:after {
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    content: ".";
}

.biglobe-clearfix {
    display: inline-block;
}

* html .biglobe-clearfix {
    height: 1%;
}

.biglobe-clearfix {
    display: block;
}

/* Print Styles */
@media print {
    .biglobe-page-wrapper {
        width: 100%;
        max-width: none;
    }
    
    .biglobe-button,
    .biglobe-submit-button {
        display: none;
    }
}
