/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    font-size: 1em;
    line-height: 1;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
    common
   ========================================================================== */

table {
    border-collapse: collapse;
}
table,
th,
td {
    box-sizing: border-box;
}


input[type="text"],
input[type="password"],
input[type="submit"] {
    box-sizing: border-box;
}
input[type="text"],
input[type="password"] {
    padding: 4px 8px;
    border: 1px solid #707070;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input[type="submit"] {
    border: none;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    cursor: pointer;
}

input[type="text"].input__err,
input[type="password"].input__err {
    border-color: #f00;
}
.input__err_mess {
    padding: 0 1em;
    color: #f00;
}

input[type="submit"].btn__def,
a.btn__def,
input[type="submit"].btn__break {
    display: inline-block;
    margin: 0 8px;
    padding: 16px 32px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input[type="submit"].btn__def,
a.btn__def {
    color: #fff;
    background: #099895;
    border: solid 1px #099895;
}
input[type="submit"].btn__break {
    color: #000;
    background: #fff;
    border: solid 1px #000;
}
input[type="submit"].btn__def:hover,
input[type="submit"].btn__break:hover,
a.btn__def:hover {
    opacity: 0.8;
}

a {
    color: #00578B;
    text-decoration: none;
}

.color_red {
    color: #f00;
}

.margin__bottom_40 {
    margin-bottom: 40px;
}

.ct {
    text-align: center;
}

/* ==========================================================================
    Header
   ========================================================================== */

.header {
    margin: 40px auto 64px auto;
    text-align: center;
}
.header__tit {
    font-size: 1.6em;
}
.header__tit_sub {
    font-size: 1em;
}

/* ==========================================================================
    Contents
   ========================================================================== */

.cont {
    width: 960px;
    margin: 0 auto 120px auto;
}

/* ==========================================================================
    A01 - Login
   ========================================================================== */

.login {
    margin: 80px auto 0 auto;
}

.login__tit {
    margin-bottom: 40px;
    text-align: center;
}
.login__tit h1 {
    margin-bottom: 16px;
    font-size: 2em;
}

.login__mess {
    margin-bottom: 32px;
    line-height: 1.6;
    text-align: center;
}

.login__form {
    width: 546px;
    margin: 0 auto;
    padding: 40px 0;
    border: 1px solid #000;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
.login__form_input {
    width: 310px;
    margin: 0 auto 24px auto;
}
.login__form_input label {
    display: block;
    margin-bottom: 8px;
}
.login__form_input input {
    width: 310px;
}
.login__form_input input[type="submit"] {
    width: 310px;
    padding: 8px;
    color: #fff;
    background: #099895;
}
.login__err {
    margin-bottom: 8px;
    text-align: center;
}

/* ==========================================================================
    A02 - Check
   ========================================================================== */

.profile {
    margin-bottom: 32px;
}
.profile_id {
    margin: 24px 0;
}
.profile_org {
    margin-bottom: 24px;
}
.profile_sep {
    margin-left: 32px;
}

.profile_id th,
.profile_id td {
    padding: 8px;
    border: 1px solid #000;
}
.profile_id th {
    min-width: 120px;
    background: #D0E7C9;
}
.profile_id td {
    min-width: 180px;
}

.profile_name {
    font-size: 2em;
}

.test__mess {
    margin-bottom: 40px;
    padding: 24px 32px;
    line-height: 1.6;
    border: 3px solid #ADCFBC;
}

.question {
    margin-bottom: 40px;
}

.question h2 {
    margin-bottom: 24px;
    padding-left: 16px;
    line-height: 28px;
    border-left: 6px solid #099895;
}
.question table {
    width: 100%;
}
.question th,
.question td {
    border: 1px solid #000;
}
.question th {
    height: 56px;
    font-size: 0.75em;
    text-align: center;
    line-height: 1.4;
    background: #D0E7C9;
}
.question td {
    padding: 8px;
}
.question__no {
    width: 40px;
    text-align: right;
}
.question__choice {
    width: 86px;
    text-align: center;
}

.check__err {
    display: block;
    margin: 0 0 8px 0;
    padding: 16px 32px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #a94442;
    background: #f2dede;
    border: solid 1px #ebccd1;
}

/* ==========================================================================
    A03 - Advice Sheet
   ========================================================================== */

.profile_name_id {
    margin-left: 1em;
    font-size: 0.5em;
}
.advice h2 {
    margin-bottom: 32px;
    padding: 8px 0;
    text-align: center;
    background: #ADCFBC;
}

.advice__mess {
    margin-bottom: 32px;
    padding: 0 24px;
}
.advice__mess dt {
    font-size: 1.6em;
    color: #099895;
    line-height: 1.6;
    margin-bottom: 24px;
}
.advice__mess dd {
    line-height: 1.6;
}

.advice__analysis {
    width: 100%;
}

.advice__analysis_tit {
    position: relative;
    margin-bottom: 24px;
}
.advice__analysis_tit h3 {
    padding: 10px 0 10px 16px;
    color: #fff;
    border: 1px solid #00578B;
    background: #00578B;
}
.advice__analysis_point {
    position: absolute;
    right: 1px;
    top: 1px;
    padding: 10px 16px;
    color: #000;
    text-align: center;
    background: #fff;
}
.advice__analysis_mess {
    margin-bottom: 40px;
    padding: 0 16px;
}
.advice__analysis_mess dt {
    margin-bottom: 8px;
    padding-left: 10px;
    font-weight: bold;
    border-left: 4px solid #099895;
}
.advice__analysis_mess dd {
    margin-bottom: 24px;
    line-height: 1.3;
}

.advice__graphs {
    display: table;
    margin-bottom: 64px;
}
.advice__graph {
    display: table-cell;
    width: 300px;
}
.advice__graph_ct {
    padding: 0 30px;
}

.advice__score {
    margin-bottom: 40px;
}
.advice__score_cap {
    margin-bottom: 8px;
    line-height: 1.6;
}
.advice__score table {
    width: 100%;
}
.advice__score th,
.advice__score td {
    border: 1px solid #000;
}
.advice__score th {
    height: 56px;
    font-size: 0.75em;
    text-align: center;
    line-height: 1.4;
    background: #D0E7C9;
}
.advice__score td {
    padding: 8px;
}
.advice__score__no {
    width: 40px;
    text-align: right;
}
.advice__score__result {
    width: 86px;
    text-align: center;
}
.advice__score_low {
    background: #E7E7E7;
}

.advice__pri {
    padding: 40px 0;
    background: #D0E7C9;
    text-align: center;
}
.advice__pri h4 {
    margin-bottom: 32px;
    font-size: 1.4em;
}
.advice__pri_cont {
    display: inline-block;
}
.advice__pri ul {
    margin-bottom: 24px;
    list-style-type: decimal
}
.advice__pri li {
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.6;
}
.advice__pri_mess {
    text-align: left;
    line-height: 1.6;
}

/*genkikei/result/*/
.advice__genkikei table {
    width: 100%;
}
.advice__genkikei th,
.advice__genkikei td {
    border: 1px solid #000;
    padding: 8px;
    width: 160px;
    height: 54px;
    text-align: center;
}
.advice__genkikei th {
    height: 54px;
    font-size: 0.75em;
    line-height: 1.4;
}

.advice__genkikei tr:nth-child(odd) {
    background: #D0E7C9;
    font-size: 12px;
}

.advice__genkikei tr:nth-child(even) {
    background: #ffffff;
}

.advice__genkikei, .match_genki_zone{
    background-color: #ffaaaa;
}

#advice__genkikei__graph th {
    height: 54px;
    font-size: 0.75em;
    text-align: center;
    line-height: 1.4;
    background: #D0E7C9;
}
#advice__genkikei__graph {
    padding-top:0px;
}
#advice__genkikei__graph td {
    width: 110px;
}

.advice__small {
    padding-top: 10px;
    width: 100%;
    height: 18px;
    font-family: HelveticaNeue;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.17;
    letter-spacing: normal;
    text-align: left;
    color: #000000;
}
.advice__genkikei__outer{
    display: table;
    width: 100%;
    height: 280px;
    margin-bottom: 30px;
}
.advice__genkikei__inner__left {
    margin-right: auto;
    /*padding:  20px;             */
    width: 340px;
    float: left;
}
.advice__genkikei__inner__right {
    margin-left: auto;
    text-align: center;
    float: right;
    /*width: 500px;*/
}

.contact {
    margin-bottom: 40px;
    padding: 16px;
    border: 3px solid #FFAAAA;
}
.contact__mess,
.contact__memo {
    margin-bottom: 24px;
}
.contact__info {
    padding: 0 16px;
}
.contact__mimi {
    margin-bottom: 24px;
}
.contact__mimi_tit,
.contact__mimi_address {
    display: block;
    float: left;
    line-height: 1.3;
}
.contact__mimi_tit {
    font-size: 1.6em;
}
.contact__mimi_address {
    margin-left: 24px;
    font-size: 1.4em;
}
.contact__info h5 {
    margin-bottom: 24px;
    padding: 10px 16px;
    border: 1px solid #000;
}
.contact__genkikei {
    padding: 0 16px;
}
.contact__genkikei_contact {
    margin-bottom: 16px;
    font-size: 1.6em;
    line-height: 1.6;
}
.contact__genkikei_contact_info {
    margin-left: 1em;
    font-size: 0.625em;
}
.contact__genkikei_mess {
    margin-bottom: 24px;
}

.contact__genkikei_address_logo {
    float: left;
    margin-right: 24px;
}
.contact__genkikei_address_info {
    float: left;
}
.contact__genkikei_address_info {
    margin-left: 24px;
    font-size: 0.9em;
    line-height: 1.5;
}
.contact__genkikei_address_company {
    margin-right: 16px;
    font-size: 1.2em;
    font-weight: bold;
}

@media print {
    .header,
    .footer,
    a.btn__def {
        display: none;
    }
    .page_break {
        page-break-before: always;
    }
}


/* ==========================================================================
    New Password Confirm
   ========================================================================== */
.new_password.cont {
    width: 500px;
}

.new_password_title {
    font-size: 1.3em;
    margin-bottom: 24px;
}

.new_password_text {
    line-height: 1.8;
    margin-bottom: 40px;
}

.new_password_display {
    background-color: #fff6a8;
    border: none !important;
    border-radius: 0 !important;
    color: #ff5722;
    font-weight: bold;
    text-align: center;
}

.new_password_display:focus {
    outline: none;
}

.new_password_caution {
    margin-bottom: 32px;
    padding: 16px;
    border: 3px solid #FFAAAA;
    width: 100%;
}

.new_password_sub_title {
    margin-bottom: 12px;
}

.new_password_list {
    line-height: 1.4;
}

.new_password_btn {
    color: #fff;
    background: #099895;
    border: solid 1px #099895;
    display: block;
    margin: 0 auto;
    padding: 16px 32px;
    border-radius: 4px;
    box-sizing: border-box;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    text-align: center;
    width: 130px;
}


/* ==========================================================================
    Error Page
   ========================================================================== */
.error_display .err_msg {
    line-height: 1.8;
    text-align: center;
}

.error_display .err_msg_text {
    margin-bottom: 40px;
}

.error_display .err_msg_btn {
    color: #fff;
    background: #099895;
    border: solid 1px #099895;
    display: block;
    margin: 0 auto;
    padding: 16px 32px;
    border-radius: 4px;
    box-sizing: border-box;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    text-align: center;
    width: 320px;
}


/* ==========================================================================
    Footer
   ========================================================================== */

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #463C31;
    z-index: 1;
}
.footer__copy {
    padding: 8px 0;
    font-size: 0.8em;
    text-align: center;
    color: #fff;   
}


