@charset "utf-8";
/* CSS Document */

#template_master .template_overall {
  font-weight: bold;
  padding: 10px 0 10px 0;
}

#template_master div.template_overall p.overall_text {
  float: left;
  width: auto;
}

#template_master div.template_overall button.draft_overall {
  float: right;
  padding: 0.2em 1em 0.2em 1em;
  background-color: #30c40c;
  position: relative;
  border-radius: 20px;
  color: #fff;
  font-size: 1.2vw;
}

#template_master .template_name {
  font-weight: bold;
  padding: 40px 0 10px 0;
}

#template_master .overall {
  width: 1010px;
  border: 1px solid #CCCCCC;
  padding: 10px 0 0 10px;
}

#template_master .templates {
  width: 1010px;
  border: 1px solid #8CD1D6;
  border-top: 3px solid #33C9E2;
  padding: 10px 0 0 10px;
}

#template_master .basetable td {
  padding: 15px 20px 20px 0;
}

#template_master .change_display {
  appearance: none;
  width: 10px;
  height: 10px;
  border: 1px solid #DCDCDC;
  border-radius: 0;
  box-shadow: 0 0 5px 2px #DCDCDC inset;
  margin-right: 10px;
}

.master input.change_display[type="checkbox"]:checked {
  background: url(../img/check.png) 5px 5px no-repeat;
  opacity: 1;
}

#template_master td.template_list {
  width: 250px;
  height: 400px;
}

#template_master .template_list dl {
  width:100%;
  height: 400px;
}

#template_master .template_list dd{
  width:100%;
  height: 400px;
  border: 1px solid #CCCCCC;
}

#template_master input[type="radio"]:checked + label {
  background: #30C40C;
  border: 1px solid #ccc;
  color: #fff;
  width: max-content;
}

#template_master input[type="radio"] {
  display: none;
}

#template_master div.template_button {
  margin: 10px;
}

#template_master div.template_button_display-none {
  display: none;
}

#template_master label.display-none {
  background: #eeeeee;
}

#template_master dd label {
  display: block;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  width: max-content;
}

#template_master .template_list dd > div {
  overflow: auto;
  height: 400px;
  width: 250px;
}

#template_master td.template_preview {
  width: 100%;
  height: 100%;
  padding: 0;
  line-height: 0.3em;
}

#template_master .template_preview dl{
  width:100%;
  height: 400px;
}

#template_master .template_preview dd{
  width:100%;
  height: 400px;
  border: 1px solid #CCCCCC;
}

#template_master button.btn_download {
  border-style: solid;
  border-width: 1px;
  border-color: #535353;
  border-radius: 5px;
  background-color: #535353;
  box-shadow: 0px 2px 4px 0px rgba(196, 196, 196, 0.4);
  margin: 0 0 25px 25px;
}

#template_master button.btn_color_green {
  margin: 0 0 25px 25px;
}

#template_master button.btn_color_white {
  margin: 0 0 0 25px;
}

#template_master  td.delete_button {
  vertical-align: bottom;
}

#template_master td.edit_button {
  vertical-align: top;
}

#template_master td.template_add {
  padding-top: 0;
  text-align: center;
}

#template_master .age_tab_area {
  padding: 0 0 50px 0;
}
#template_master .age_tab_area ul li{
  width: 120px;
  height: 50px;
  padding: 10px;
  font-size: 18px;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s;
  border-radius: 10px 10px 0 0 / 10px 10px 0 0;
  border: 1px solid #33C9E2;
  cursor: pointer;
  text-align: center;
}
#template_master div.age_tab_area ul li.not_active {
  background: #FFF;
  color: #33C9E2;
}

#template_master div.age_tab_area ul li.active {
  background: linear-gradient(to right, #8CD1D6, #36C7E2);
  color: #fff;
}

#template_master div.age_tab_area button.draft_insertion {
  float: right;
  padding: 0.2em 1em 0.2em 1em;
  background-color: #30c40c;
  position: relative;
  border-radius: 20px;
  color: #fff;
  font-size: 1.2vw;
}

#template_master .html table {
  transform-origin: top;
}

#template_master .template_preview dd > div {
  overflow: auto;
  height: 229%;
}

.template_title_text {
  font-size: 16px;
  font-weight:bold;
  color:#515d62;
  float: left;
}

.age_select_title .template_title_text {
  width: 6%;
}
.template_title_content textarea {
  width: 690px;
  height: 60px;
}

.modal_row.template_title {
  padding-top: 20px;
  padding-bottom: 0;
}

.modal_row.template_title_textarea {
  padding-top: 15px;
  padding-bottom: 0;
}

.modal_row.template_file {
  padding-bottom: 10px;
}

div.template_file {
  font-size: 11pt;
  word-break: break-all;
}

.modal_row.template_file_button {
  padding: 10px 0;
}

.file_select_button {
  font-size: 11pt;
  width: 140px;
  text-align: center;
  border-radius: 15px;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  padding: inherit;
  border-color: rgb(204,204,204);
  background-image: -webkit-linear-gradient(90deg, rgb(221, 221, 221) 0%, rgb(252, 252, 252) 100%);
  box-shadow: 0px 4px 8px 0px rgb(230 230 230 / 40%), 2px -3px 2px 0px rgb(255 255 255 / 40%) inset;
}

.modal_row.template_display {
  padding-top: 10px;
  padding-bottom: 0;
}

.modal_row.display_select_button {
  padding-top: 15px;
  padding-bottom: 10px;
}

.modal_row.display_select_button input[type="radio"]:checked + label {
  background: #30C40C;
  border: 1px solid #ccc;
  color: #fff;
}

.modal_row.display_select_button input[type="radio"] {
  display: none;
}

.modal_row.display_select_button label {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}

.modal_row.display_select_button .display label {
  font-size:11pt;
  margin-right: 10px;
  width: 60px;
  height: 30px;
}

.modal_row.display_select_button .display_none label {
  font-size:11pt;
  width: 70px;
  height: 30px;
}

#template_master .drop_over {
  height: 1px;
  background-color: #333;
  visibility: hidden;
}

#template_master .html {
  width: 255%;
  height: 255%;
  overflow-y: auto;
  word-break: break-all;
  word-wrap: normal;
  white-space: pre-wrap;
  position: relative;/*追加*/
}
/*追加*/
#template_master .html {
  width: 249%;
  transform: scale(0.4);
  transform-origin: 0 0;
  position: absolute;
}

#template_master .preview_message {
  line-height: 1.5em;
  height: 100% !important;
}

#template_master .html td.vertical{
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  direction: rtl;
  width: 3.5vw;
}

#template_master .html td.vertical p{
  writing-mode: vertical-rl;
  white-space: pre;
  display: inline-block;
}
#template_master .html td.vertical span{
  writing-mode: vertical-rl;
  padding: 0;
}
#template_master .html td.vertical span p{
  writing-mode: vertical-rl;
  padding: 0px;
}

/*スイッチボタン緑3*/
/*原案挿入設定で使用*/
.master main#draft_grid_container {
  z-index: 2;
  padding: 20px 1% 20px 20px;
  height: calc(100vh - 8.9vh);
  box-sizing: content-box;
  background: #F7F7F7;
  overflow-y: scroll;
  overflow-x: scroll;
}

.checkbox_draft {
  height: 70px;
}

.checkbox_draft .switch_green3 {
  position: relative;
  display: inline-block;
  width: 7vw;
  padding: 1em;
  background-color: #30c40c;
  border: solid 1px rgb(48, 196, 12);
  border-radius: 10em;
  cursor: pointer;
  float: right;
}

.checkbox_draft .switch_green3 .switch-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.checkbox_draft .switch_green3 .switch-label {
  position: relative;
  display: block;
  height: inherit;
  font-size: 1.2vw;
  text-transform: uppercase;
  background: #ffffff;
  border-radius: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.15s ease-out;
  -moz-transition: 0.15s ease-out;
  -o-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
  -webkit-transition-property:
          opacity background;
  -moz-transition-property: opacity background;
  -o-transition-property: opacity background;
  transition-property: opacity background;
}

.checkbox_draft .switch_green3 .switch-label:before,
.checkbox_draft .switch_green3 .switch-label:after {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  line-height: 1;
  -webkit-transition: inherit;
  -moz-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
}

.checkbox_draft .switch_green3 .switch-label:before {
  content: attr(data-off);
  right: 15%;
  color: #ffffff;
  transition: color 0.1s;
}

.checkbox_draft .switch_green3 .switch-label:after {
  content: attr(data-on);
  left: 15%;
  color: #ffffff;
  opacity: 0;
  transition: color 0.1s;
}

.checkbox_draft .switch_green3 .switch-handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 18%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 3vw;
  height: 3vw;
  background: rgb(253, 253, 253);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
}

.checkbox_draft .switch_green3 .switch-input:checked ~ .switch-handle:before {
  left: 83%;
}

.checkbox_draft .switch_green3 .switch-input:checked ~ .switch-label {
  background: #ffffff;
}

.checkbox_draft .switch_green3 .switch-input:checked ~ .switch-label:before {
  opacity: 0;
}

.checkbox_draft .switch_green3 .switch-input:checked ~ .switch-label:after {
  opacity: 1;
}

.space-between-elements {
  height: 20px; /* 適切な高さを指定 */
}

/* 基本案登録ポップアップで使用*/
#draft_modal .modal_contents_form {
  display: flex;
  font-size: 15px;
}
#draft_modal .textbox {
  width: 60vw;
  height: 260px;
}
#draft_modal .textbox textarea {
  border-radius: 6px;
  border: 1px solid #30C40C;
  height: 240px;
  margin-bottom: 10px;
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
}

#draft_modal .draft_modal_row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 0 1.5vw 0;
}

.modal_row.original_kbn {
  padding-top: 10px;
  padding-bottom: 0;
}

.modal_row.class_select_message {
  color: #db2323;
  letter-spacing: 0.08em;
  padding-bottom: 0;
  font-size: 11pt;
}

.modal_row.age_class_select_title {
  padding-top: 35px;
  padding-bottom: 5px;
}

.class_select_contents {
  /*height: 315px;*/
  width: 690px;
  background-color: #eeeeee;
  padding: 20px;
  margin-bottom: 1vw;
}

.original_template.ReactModal__Content.ReactModal__Content--after-open {
  height: 40vw;
}

select.original_template_year {
  width: 190px;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #DCDCDC;
  box-shadow: 0px 0px 5px 2px #DCDCDC inset;
  border-radius: 10px;
  background: url(../img/arrow02.jpg) right 50% no-repeat, #fff;
  background-size: 3.3vw;
  font-size: 12pt;
  color:#4C556E;
  display: inline-block;
  float: left;
  text-align: left;
  padding: 1vh;
}

.class_select_contents p.year-add-txt {
  font-size: 13pt;
  color:#4C556E;
  float: left;
  margin: 0 59% 0 15px;
  line-height: 2.93vw;
}

.class_select_contents div.modal_row {
  padding: 0 0 20px 0;
}

.modal_row.display_select_button.age_select_button .display label {
  font-size:10pt;
  background: #ffffff;
}

.original_template.all_button {
  width: 60px;
  height: 25px;
  font-size: 13px;
  background: linear-gradient(to bottom, #FCFCFC, #CBCBCB);
  border: 1px solid #cccccc;
  border-radius: 7px;
  line-height: 2em;
  text-align: center;
  margin-right: 10px;
}

.original_template.all_button button {
  color: #4b5570;
}

.original_template.all_button.release_button {
  margin-right: 0;
}

.template_title_text.class_title {
  width: 9%;
}

.modal_row.class_list_area {
  width: 100%;
  background: #ffffff;
}

div.modal_row.class_list_area {
  height: auto;
  padding: 5px;
  align-items: flex-start;
}

.modal_row.display_select_button .display label.class_button {
  width: auto;
  height: auto;
}

.modal_row.display_select_button.original_template_kbn {
  padding-bottom: 0px;
}

.modal_row.add_class_select_contents {
  padding: 0 47%;
}

.multiple_message {
  width: 71%;
  font-size: 9pt;
}

#original li.display {
  float: left;
  padding: 5px;
}
