/*! 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    p:first-letter,
    div:first-letter,
    blockquote:first-letter,
    li:first-letter,
    p:first-line,
    div:first-line,
    blockquote:first-line,
    li:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

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

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

select{
    padding: 0;
    margin: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}
select::-ms-expand {
    display: none;
}
.selectwrap{
    position: relative;
    display: inline-block;
}
.selectwrap::before{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    height: 100%;
    width: 30px;
}
.selectwrap::after{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #000 transparent transparent transparent; 
}

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

.input__def {
    width: 480px;
}
.input__half {
    width: 240px;
}
.input__quarter {
    width: 120px;
}
.input__file_label {
    box-sizing: border-box;
    padding: 8px 16px;
    border: 1px solid #707070;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.input__file_err {
    border-color: #f00;
}

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

.import__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;
}

.download__err {
    display: block;
    margin: 0 0 8px 0;
    padding: 16px 32px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #856404;
    background: #fff3cd;
    border: solid 1px #ffeeba;
}

input[type="submit"].btn__def,
input[type="button"].btn__def,
a.btn__def {
    display: inline-block;
    color: #fff;
    background: #099895;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input[type="submit"].btn__def,
input[type="button"].btn__def {
    padding: 16px 32px;
    border: solid 1px #099895;
}
a.btn__def {
    padding: 16px;
}

input[type="submit"].btn__cancel,
input[type="button"].btn__cancel,
a.btn__cancel,
a.btn__back {
    display: inline-block;
    color: #000;
    border: solid 1px #000;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input[type="submit"].btn__cancel,
input[type="button"].btn__cancel {
    padding: 16px 32px;
}
a.btn__cancel,
a.btn__back {
    padding: 16px;
    line-height: 1;
}
a.btn__back {
    width: 246px;
}
a.btn__dl {
    display: inline-block;
    width: 230px;
    margin: 0 8px 16px 8px;
    padding: 16px 32px;
    color: #fff;
    text-align: center;
    background: #00578B;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-sizing: border-box;
}
a.disabled {
    pointer-events: none;
}
a.btn__list {
    display: inline-block;
    margin-left: 8px;
    padding: 0 8px;
    font-size: 0.9em;
    color: #000;
    line-height: 32px;
    background: #fff;
    border: solid 1px #000;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input.btn__delete,
a.btn__delete {
    display: inline-block;
    margin-left: 32px;
    padding: 16px;
    color: #fff;
    background: #4E4E4E;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

input[type="submit"].btn__def:hover,
input[type="submit"].btn__cancel:hover,
input[type="button"].btn__def:hover,
input[type="button"].btn__cancel:hover,
a.btn__def:hover,
a.btn__cancel:hover,
a.btn__back:hover,
a.btn__dl:hover,
a.btn__list:hover,
a.btn__delete:hover {
    opacity: 0.8;
}

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

.color_red {
    color: #f00;
}

.margin__bottom_40 {
    margin-bottom: 40px;
}
.margin__left_24 {
    margin-left: 24px;
}
.ct {
    text-align: center;
}

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

.header {
    height: 48px;
    margin-bottom: 40px;
    background: #ADCFBC;
    z-index: 0;
}
.header__cont {
    width: 960px;
    margin: 0 auto;
}

.header__cont_tit {
    float: left;
    line-height: 48px;
}
.header__cont_tit-sub {
    margin-left: 1em;
    font-size: 0.7em;
}

.header__cont_btns {
    float: right;
    height: 48px;
}
a.header__cont_btn,
span.header__cont_btn {
    display: inline-block;
    width: 120px;
    height: 48px;
    margin-left: 2px;
    color: #000;
    line-height: 48px;
    text-align: center;
}
span.header__cont_btn-act,
a.header__cont_btn:hover {
    background: #D0E7C9;
}

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

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

.cont h1 {
    margin-bottom: 32px;
    padding-left: 12px;
    font-size: 1.6em;
    border-left: 4px solid #099895;
}

.cont h2 {
    margin-bottom: 32px;
    padding: 0 8px;
    line-height: 32px;
    background: #ADCFBC;
}

.regist__comment {
    margin-bottom: 24px;
}

.regist table {
    width: 100%;

}
.regist th {
    width: 178px;
}
.regist th,
.regist td {
    padding: 0 20px 24px 0;
    vertical-align: top;
    line-height: 32px;
}

.regist td .btn__delete {
    margin: 0;
}
.regist input[type="submit"].btn__def,
.regist input[type="button"].btn__def {
    margin-right: 16px;
}

.list table {
    width: 100%;
    margin-bottom: 32px;
}
.list th {
    padding: 0 0 8px 10px;
    font-size: 0.9em;
    color: #4E4E4E;
}
.list td {
    padding: 10px;
    line-height: 1.2;
}
.list tbody tr:nth-child(2n+1) {
    background-color: #E7E7E7;
}

.pagination {
    margin-bottom: 40px;
    text-align: center;
}
.pagination li {
    display: inline-block;
}
.pagination li a,
.pagination li.active span {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    color: #000;
    line-height: 40px;
    border: 1px solid #000;
    background: #fff;
}
.pagination li a:hover {
    color: #fff;
    background: #000;
}
.pagination li.active span {
    color: #fff;
    border: 1px solid #000;
    background: #000;
}

.detail table {
    width: 100%;
    margin-bottom: 32px;
}
.name table {
    margin-bottom: 32px;
}
.detail th,
.detail td,
.name th,
.name td {
    padding: 16px 10px;
    border: 1px solid #000;
}
.detail th,
.name th {
    background: #D0E7C9;
}

.align--right_box {
    margin: 0 0 30px;
    text-align: right;
}

.align--left_box {
    margin-bottom: 30px;
}

/* ==========================================================================
    B01 - Login
   ========================================================================== */

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

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

.login__form {
    padding: 80px 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"],
.login__form_input input[type="button"] {
    width: 310px;
    padding: 8px;
    color: #fff;
    background: #099895;
}
.login__err {
    text-align: center;
}

/* ==========================================================================
    B02 - Customer List
   ========================================================================== */

.customerlist__th_02,
.customerlist__th_03 {
    width: 120px;
}

/* ==========================================================================
    B04 - Customer Information
   ========================================================================== */

.customerInfo {
    width: 960px;
    margin-bottom: 40px;
}

.customerInfo__info {
    float: left;
    width: 620px;
}
.customerInfo__info th {
    width: 120px;
}

.search__staff {
    float: right;
    width: 300px;
    padding: 24px 0;
    background: #D0E7C9;
}
.search__staff_tit {
    margin: 0 0 16px 16px;
    padding-left: 8px;
    border-left: 4px solid #099895;
}
.search__staff_form {
    width: 258px;
    margin: 0 auto;
}
.search__staff_label {
    font-size: 0.9em;
}
.search__staff_input {
    width: 100%;
    margin: 16px 0;
}
input[type="submit"].search__staff_btn,
input[type="button"].search__staff_btn {
    display: inline-block;
    width: 100%;
    padding: 8px 0;
    color: #fff;
    background: #099895;
    border: solid 1px #099895;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input[type="submit"].search__staff_btn:hover,
input[type="button"].search__staff_btn:hover {
    opacity: 0.8;
}
.search__staff_err {
    margin-bottom: 16px;
    font-size: 0.9em;
    color: #f00;
    text-align: center;
}

.servicelist__th_02 {
    width: 240px;
}
.servicelist__th_03 {
    width: 160px;
}

/* ==========================================================================
    B07 - Service Information
   ========================================================================== */

.serviceInfo {
    width: 960px;
    margin-bottom: 40px;
}
.serviceInfo table {
    width: 100%;
}
.serviceInfo th {
    width: 120px;
}
.serviceInfo td {
    width: 360px;
}

.download {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
    padding: 16px;
    border: 3px solid #ADCFBC;
}
.download__tit {
    margin-right: 8px;
    padding-top: 16px;
}

.stafflist__th_01 {
    width: 80px;
}
.stafflist__th_02 {
    width: 140px;
}
.stafflist__th_03 {
    width: 180px;
}
.stafflist__th_04,
.stafflist__th_05 {
    width: 56px;
}
.stafflist__th_07 {
    width: 80px;
}
.stafflist__td_07 {
    width: 140px;
    text-align: right;
    white-space: nowrap;
}

ul.processNav li{
    float: left;
    margin-right: 20px;
}

/* ==========================================================================
    B09 - Staff Information
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    width: 600px;
    margin: 0;
    padding: 96px 0;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    z-index: 3;
}
.modal__alert {
    margin-bottom: 32px;
    font-size: 1.4em;
}
a.btn__delete_modal {
    margin-left: 0;
}
a.btn__cancel_modal {
    margin-left: 16px;
}
.modal__bg {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: #000;
    opacity: 0.7;
    z-index: 2;
}

/* ==========================================================================
    B10 - Service Edit
   ========================================================================== */

.servieEdit__th {
    width: 120px;
}

/* ==========================================================================
    B12 - Advice Sheet
   ========================================================================== */

.profile {
    margin-bottom: 32px;
}
.profile_org {
    margin-bottom: 24px;
}
.profile_sep {
    margin-left: 32px;
}
.profile_name {
    font-size: 2em;
}
.profile_name_id {
    margin-left: 1em;
    font-size: 0.5em;
}
.profile_id {
    margin: 24px 0;
}
.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;
}

.advice h2 {
    margin-bottom: 32px;
    padding: 8px 0;
    text-align: center;
    line-height: 1;
    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_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;
    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__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;
}
.advice__genkikei__inner__left {
    float: left;
    margin-right: auto;
    /*padding:  20px;             */
    width: 340px;
}
.advice__genkikei__inner__right {
    float: right;
    margin-left: auto;
    text-align: center;
    /*width: 500px;*/
}
/* ==========================================================================
    B13 - Search List
   ========================================================================== */

.searchlist__th_01 {
    width: 80px;
}
.searchlist__th_02 {
    width: 300px;
}
.searchlist__th_03 {
    width: 300px;
}

/* ==========================================================================
    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;   
}


