@charset "UTF-8";
/* フォーム */
@media screen {
  /* フォーム */
  #f_main{
    max-width: 900px;
    margin: 0 auto 60px;
  }
  textarea {
    width: 90%;
    max-width: 900px;
    height: 8em;
  }
  form input[type="button"],
  form input[type="submit"],
  form input[type="file"],
  button {
    font-size: 1.4em;
    cursor: pointer;
  }
  select,
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"] {
    height: 1.6em;
  }
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="radio"],
  select,
  textarea {
    font-size: 1.2em;
    color: black;
    margin: 5px;
    border: solid 1px #888;
    background: #FFF;
    padding: 4px;
    max-width: calc(99% - 10px);
    box-sizing: border-box;
  }

  input[type="number"] {
    text-align: right;
    width: 4em;
  }

  #f_main .w90p {
    width: 90%;
  }

  #f_main pre {
    margin: 0.5em;
  }

  /* 小さなメッセージ */
  #f_main {
    position: relative;
  }
  .blocker,
  #f_message {
    font-size: medium;
    /* ie */
    font: initial;
    outline: solid 1px;
    padding: 20px;
    z-index: 9;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    color: white;
    background: rgba(64, 64, 80, 0.8);
  }

  .blocker *,
  #f_message * {
    color: white;
    max-width: 900px;
    margin: 1em auto;
  }
  /* ボタンの囲い */
  /* wp */
  .buttonwrap,
  .login-submit {
    clear: both;
    font-size: initial;
    text-align: center;
  }
  .selectable:hover {
    cursor: pointer;
    background: yellow;
  }

  input.discreet,
  button.discreet {
    font-size: medium;
    background: inherit;
    border: none;
    outline: none;
    padding: 1px;
    margin: 1px;
    height: initial;
  }
  button.discreet.innertextbox {
    margin-left: -30px;
  }
  input.search_word {
    border-bottom: solid 1px gray;
  }

  textarea.narrow {
    height: 2.4em;
  }

  .single-line {
    height: 1.6em;
  }

  .hide-true {
    display: none;
  }

  label.error {
    display: block;
    width: max-content;
    background-color: white;
    border-bottom: solid 1px orangered;
    font-size: 1.2em;
    margin: 5px;
  }

  .sheet-switcher {
    display: flex;
  }

  .sheet-switcher .move-prev,
  .sheet-switcher .move-next {
    width: 40px;
  }
  .sheet-switcher .sheet-slider {
    width: calc(100% - 80px);
  }

  /* entrant */
  ul.list-table li {
    font-size: 20px;
    padding: 4px;
  }


  dt.label {
    border-bottom: solid 1px;
    margin: 16px auto;
    padding: 3px;
  }
}

@media screen and (max-width: 40em) {
  dd {
    margin-top: 10px;
  }
}



@media screen {
  /* タブ */

  #f_main .buttons {
    display: flex;
  }

  #f_main .tab:hover {
    text-decoration: underline;
    background: linear-gradient(0deg, lightyellow, transparent);
  }

  #f_main .tab {
    flex-grow: 1;
    padding: 4px;
    outline: white 1px solid;
    cursor: pointer;
  }

  .pager {
    position: relative;
  }

  .pager .active ,
  #f_main .tab.active {
  }
}


/*  upload */
@media screen {
  .popup-form {
    background-color: whitesmoke;
    text-align: center;
  }

  .button,
  .tabbutton {
    color: white;
    background-color: darkcyan;
    padding: 4px;
    border-radius: 4px;
    border: none;
    display: inline-block;
    cursor: pointer;
    margin: 2px;
    font-weight: bold;
    font-size: 1em;
    min-width: 1.5em;
    text-align: center;
  }
  .button.active {
    background: linear-gradient(red,orange);
  }
  .thumb-back {
    background: url('../images/noimage.png');
    background-repeat: round;
  }
  img.thumbnail[src=""] {
    visibility: hidden;
  }
  .pictcell .submenu .button {
    margin: 0 5px;
  }
  .pictcell input[type="text"],
  .pictcell .submenu {
    width: calc(100% - 1em);
    margin: 6px auto;
  }
  .pictcell .submenu {
    text-align: right;
  }
  .pictcell {
    display: inline-block;
    border: solid 1px #CCC;
    width: calc(100% / 3 - 20px);
    min-width: 250px;
    box-sizing: border-box;
    margin: 2px;
    padding: 8px 0;
  }

  .scroller {
    overflow-y: auto;
    height: 85vh;
    max-width: 900px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 900px) {
  .pictcell {
    width: calc(100% / 2 - 20px);
    margin: 2px;
  }
}

@media screen and (max-width: 600px) {
  .pictcell {
    width: calc(100% / 1 - 20px);
    margin: 2px auto;
  }
}
