/*** __action/common **/
html,body{width:100%;height:100%;}
html,body{margin:0;padding:0;}
*{box-sizing:border-box;}
body{display:flex;flex-direction:column;justify-content:space-between;}
a:link,a:active{text-decoration:none;color:inherit;}
a:hover{font-weight:bold;}
a,.selectable,.clickable,.selectable *,.clickable *{cursor:pointer;}
._mode_sketch{overflow: hidden;border: dotted 1px red;position:relative;}
._mode_sketch_description{position:absolute;top:0;left:0;font-size:2rem;color:#ccc;font-weight:bold;}
.inner{height:100%;width:100%;}
.esp-block-bar{display:flex;justify-content:space-between;align-items:center;margin:0;}
.esp-block-right-align {text-align:right;}
.esp-block-thin{height:2rem;}
.esp-block-thin h1{font-size:1rem;}
.esp-block-right-align {text-align:right;}
.esp-block-full-wide {width:100%;}
.esp-block-modest h2,.esp-block-modest h3,.esp-block-modest h4,.esp-block-modest h5,.esp-block-modest h6 {margin-top:0;margin-bottom:0;}
.esp-block-center{display:flex;justify-content:center;align-items:center;flex-direction:column;}
.esp-block-center-horizontal{display:flex;align-items:center;flex-direction:column;}
.preparing-target{position:relative;}
.preparing-cover{background-color:black;opacity:0.4;position:absolute;left:0;top:0;right:0;bottom:0;font-size:8rem;text-align:center;color:white;}
.preparing-cover span{position:absolute;top:50%;left:50%;transform: translateY(-50%) translateX(-50%);}

/***end of __action/common ***/

/*** __action/block **/
.esp-block-fixed{}
.notify{}
#error_box{}
#info_box{position:fixed;top:0;left:0;width:100%;height:1.5rem;background-color:yellow;opacity:0.3;color:#333;z-index:10000;}
#confirm_box{}
/***end of __action/block ***/

/*** __action/block/loading **/
.overlay {
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  right:0;
  z-index:10000;
  background-color: white;
  background-image: url(/_esp/img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  display:flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
/***end of __action/block/loading ***/

/*** __action/block/lifestage **/
.esp-lifestage {
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  right:0;
  z-index:-1;
  background-image: url(/_esp/img/underconst.png);
  opacity: 0.02;
}
/***end of __action/block/lifestage ***/

/*** __action/block/form **/
.esp-form {width:100%;font-size:1rem;overflow: auto;}
.esp-form .frame{display:table-cell;}
.esp-form div.field{display:table-row;height: auto;}
.esp-form div.cell{display:table-cell; padding:0.5rem 0.8rem; font-size:1rem;}
.esp-form div.label{text-align:left;width: 20%;white-space:nowrap; vertical-align: top;}
.esp-form div.label label{color:black;font-size:1rem;width:100%;}
.esp-form div.notes{width: 100%;font-size:0.8rem;}
.esp-form div.field.dirty .input{background-color:#f3e8aa;}
@media screen and (max-width:640px) {
  .esp-form .frame {
      display: flex;
      flex-direction: column;
      width: 100%;
  }
  .esp-form div.field {
      display: flex;
      flex-direction: column;
  }
  .esp-form div.field .label {
    width:100%;
  }
}
.esp-form div.check_group{display:flex;flex-wrap: wrap;}
.esp-form div.check{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    width: fit-content;
    margin-right: 0.8rem;
}
.esp-form div.check>input{
    margin-right: 0.3rem;
}
.esp-form div.check>label{
    height: auto;
    white-space:nowrap;
}
.esp-form div.hidable-notes .notes{
  display:none;
}
.esp-form div.hidable-notes:hover .notes{
  display:block;
}

/***end of __action/block/form ***/

/*** @@system/page **/
html{color:;}
html,body{width:100%;height:100%;}
body{font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;}
*{margin:0;padding:0;box-sizing:border-box;}
p{margin-block-start: 1em; margin-block-end: 1em;}
a:link,a:active{text-decoration:none;color:inherit;}
a:hover{font-weight:bold;}
a,.selectable,.clickable{cursor:pointer;}
._mode_sketch{overflow: hidden;border: dotted 1px red;position:relative;}
._mode_sketch_description{position:absolute;top:0;left:0;font-size:2rem;color:#ccc;font-weight:bold;}

#header{position:fixed;top:0;left:0;background-color:white;display:flex;flex-direction:row;justify-content: flex-start;z-index: 10;}
#header>*{margin:0 10px;}
#nav{width:40px;margin: 0;}
#toolbar{width:40%;}
#toolbar{width:40%;}
#main{height:100%;width:100%; padding: 40px 0 24px 0;overflow: hidden;}
#main>.inner{height:100%;width:100%;/*display:flex;flex-direction:column;*/overflow: hidden;}
#footer{position:fixed;bottom:0;left:0;background-color:white;z-index: 10}

/*device= / pc*/
/*for pc*/
form input,form select,form button,form label{
  height: 1.8rem;
}
button{padding: 4px 20px; border-radius: 15px;}
/*for narrow width*/
@media screen and (max-width:414px) {
  form input,form select,form button,form label{
    font-size:16pt;
    height:2.2rem;
  }
  #footer {
      font-size: 0.6rem;
  }
}

button{padding: 0 20px; border-radius: 15px;}
/***end of @@system/page ***/

/*** main **/
body{padding:10px;}
body>.inner{display: flex; flex-direction: column;overflow:auto;}
#header,#footer{position:relative;}
#main{display: flex; flex-direction: column; justify-content: space-between;height:auto;overflow:visible;padding:10px;}
#main>.inner>div{height:fit-content;margin:10px 10px 0 0;}

/***end of main ***/

/*** apply **/
#apply input[type=text], #apply.esp-form textarea, #apply.esp-form .data.cell>* {width:80vw;}
#apply div.cell {padding: 1.2rem 0.8rem;}
#apply div.hidable-notes .data{position:relative;}
#apply div.hidable-notes .notes{position:absolute;bottom:0;left:0;width:fit-content;height:fit-content;background-color:white;}

/***end of apply ***/

