* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #333;
    font-size: 13px;
    background-color: #fff;
    font-family: 'YakuHanJP', 'Noto Sans JP', sans-serif, serif;
}
.content {
    max-width: 600px;
    margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #333;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}

fieldset legend {
    display: none!important;
}
/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu {
    background: #111;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}
.pure-menu{
    line-height: 3em;
}
.pure-menu-item{
    text-align: center;
    color:#333;
    font-size: 1.5em;
}
.pure-menu-item a{
    color:#333;
}
.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #6FBEF3;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background: #1f8dd6;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 88%;
    top: 0;
    left: 0;
    position: fixed !important;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: 3px solid white;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 87%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
    margin-top: 1em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: #aaa;
}

/* This is the class used for the footer */
.footer {
    background: #111;

    bottom: 0;
    width: 100%;
}

.pure-button{
    margin-top: 1em;
}

.label-sex {
    padding: 1.4em 1em 1em 1em;
    width: 100%;
    text-align: center;
    border-left:#fff;
}
.label-sex2 {
    padding: 1.4em 1em 1em 1em;
    width: 100%;
    text-align: center;
    background:#FAD8C7;
    border-left:#fff;
}

.sex-wrap {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
.fw-bold{
    font-weight: bold;
    font-size: 1.5em!important;
}

h3.bbl_style02 {
    position: relative;
    padding: 0 65px 15px 65px;
    text-align: center;
    color:#333;
    font-size:2em;
    border-bottom: 2px solid #F08222;
  }
  

  
  h3.bbl_style02:before {
    left: 0;
  }
  
  h3.bbl_style02:after {
    right: 0;
  }

  .alert {
    padding: 20px 20px 40px 20px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2em;
}

.alert-danger { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
.alert-warning { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }
.alert-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }

.triage { margin: 10px 0; }
.triage-red { color: #a94442; background-color: #f00; padding: 0.5em;}
.triage-yellow { color: #8a893b; background-color: #ff0; padding: 0.5em;}
.triage-green { color: #3c763d; background-color: #26896D; padding: 0.5em;}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: -2em;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
  cursor: none;
}
.btn2 {
    display: inline-block;
    padding: 6px 12px;
    margin: 0.5em;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
  cursor: none;
}

.btn-danger { color: #fff; background-color: #d9534f; border-color: #d43f3a; }
.btn-warning { color: #fff; background-color: #f0ad4e; border-color: #eea236; }
.btn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }
.btn-block { width: 100%; }


.stylish-table {
    width: 100%;
    border-collapse: separate; /* border-radius を使用するために必要 */
    border-spacing: 0;
    margin: 20px 0;
    font-size: 1.5em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px; /* 角丸の大きさ */
    overflow: hidden; /* 角丸をテーブル全体に適用するために必要 */
}

.stylish-table th,
.stylish-table td {
    text-align: center;
    padding: 15px;
}

.stylish-table thead th {
    background-color: #005931;
    color: #fff;
}

.stylish-table thead th.danger {
    background-color: #F00;
}

.stylish-table thead th.safe {
    background-color: #005931;
}

.stylish-table tbody td {
    border-bottom: 1px solid #dddddd;
}

.stylish-table tbody tr:last-of-type td:first-child {
    border-bottom-left-radius: 10px; /* 左下の角を丸くする */
}

.stylish-table tbody tr:last-of-type td:last-child {
    border-bottom-right-radius: 10px; /* 右下の角を丸くする */
}

.pure-g input,select,textarea{
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #eee;
    
}

/*その他の設定*/
*,::before, ::after {
    box-sizing: border-box;
}

h3 {
   margin: 10px;
   color: #333;
   font-weight: normal;
   font-size:1.5em;
} 
.border-b {
    border-bottom:1px solid #ccc;
}
#my_dataviz{
    width: 100%;
    text-align: center;
}
#my_dataviz svg{
    margin:0 auto;
}
legend {
    color:#fff;
}
.observation-checkbox{
    width: 100%;
    background-color: #FCFCFC;
    color:#333;
    box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.2);
    border: #BEBEBE solid 1px;
    border-radius: 8px;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    height: 65px;
}

.odd .pure-u-1-2:nth-child(odd){
    margin-right:4%;
  }


.observation .checkbox-visual{
    margin: 0 26px;
}

.checkbox-input{
    display: none;
}

.checkbox-input:checked ~ .observation-checkbox{
    background: linear-gradient(#F08222, #F06B2F);
    color: #fff;
    border-color: rgba(0,0,0,0);
    box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
}
.checkbox-input:checked ~ .observation-checkbox .checkbox-visual{
    border-color: #fff;
    background-color: #fff; 
}
.checkbox-input:checked ~ .observation-checkbox .checkbox-visual::before{
    border-color: #E5562B;
}
.check-btns{
    margin-top: 42px;
}

.btn-regi {
    padding: 0.8em!important;
    width: 100%;
    margin-right: 4%;
    background: linear-gradient(#F08222, #F06B2F);
    font-size: 1.8em!important;
    color: #fff!important;
    border-radius:8px!important;
}
.btn-login {
    padding: 0.3em!important;
    width: 100%;
    margin-right: 4%;
    background: linear-gradient(#F08222, #F06B2F);
    font-size: 1.8em!important;
    color: #fff!important;
    border-radius:8px!important;
}
.btn-reset {
    padding: 0.8em!important;
    width: 100%;
    font-size: 1.8em!important;
    margin-top: 0!important;
    border-radius:8px!important;
}
.g-list {
    float:left;
    padding-left:13px;
}
.g-checkbox{
    width: 100px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 8px;
    color: #999B9E;
    font-size:2em;
}


.check-none:checked ~ .g-checkbox{
    background: linear-gradient(#F08222, #F06B2F);
    color: #fff;
    border: none;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
}

.check-none {
    display: none;
}
.g-list label:last-child .g-checkbox {
    margin-left: 0.5em;
}
.f-left{
    float: left;
}

/* Make the navigation 100% width on phones */
#nav {
    width: 100%;
    height: 65px;
    position: relative;
}
/* Show the "Menu" button on phones */
#nav .nav-menu-button {
    display: block;
    top: 0.5em;
    right: 0.5em;
    position: absolute;
    padding: 0.5em;
    background: #fff;
    border-radius: 8px;
    color:#F08222;
    border: 2px solid #F08222;
    text-decoration: none;

  }

.pure-menu-heading img {
    margin-top: 6px;
}

/* When "Menu" is clicked, the navbar should be 80% height */
#nav.active {
    height: 80%;
}
/* Don't show the navigation items... */
.nav-inner {
    display: none;
    text-align: center;;
}

/* ...until the "Menu" button is clicked */
#nav.active .nav-inner {
    display: block;
    padding: 2em 0;
    border-bottom: 2px solid #F08222;
}


/*
 * -- NAV BAR STYLES --
 * Styling the default .pure-menu to look a little more unique.
 */
#nav .pure-menu {
    background: transparent;
    border: none;
    text-align: center;
}
    #nav .pure-menu-link:hover,
    #nav .pure-menu-link:focus {
        background: rgb(55, 60, 90);
    }
    #nav .pure-menu-link {
        color: #333;
        margin-left: 0.5em;
    }
    #nav .pure-menu-heading {
        border-bottom: 2px solid #F08222;
        font-size:110%;
        color: rgb(75, 113, 151);
    }
 
    .login-form {
        background-color: #fff;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 400px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-group label {
        display: block;
        margin-bottom: 5px;
    }
    .form-group input[type="text"],
    .form-group input[type="password"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
    }
    .form-action {
        text-align: center;
    }
    .form-action button {
        background-color: #0056b3;
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        border-radius: 4px;
        cursor: pointer;
    }
    .form-action button:hover {
        background-color: #003d7a;
    }
/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }



}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}
