html,
body {
  height: 100%;
  margin: 0;
  font-size: 14px;
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
h2 {
  font-size: 45px;
}
h3 {
  font-size: 26px;
}
address {
  background: #000000;
  color: #858585;
  padding: 4px;
}
.ui-datepicker {
  font-size: 12px;
}
.contents {
  min-height: 100%;
  margin-bottom: -250px;
  background: #e1e1e1;
  text-align: center;
}
.txt {
  display: inline-block;
}
img {
  max-width: 100%;
  height: auto;
}
.modal-body {
  max-height: 80vh;
  overflow: scroll;
}
.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #e2e2e2;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.loading {
  opacity: 0.8;
  position: absolute;
  top: 0;
  background: #dfdfdf;
  padding: 300px 0 0 0;
  /* border: 1px solid white; */
  width: 100%;
  height: 100%;
}
.loading_img {
  position: absolute;
  top: 0;
  padding: 300px 0 0 0;
  width: 100%;
  height: 100%;
}
.drawer-hamburger {
  z-index: 9998;
  padding: 20px;
  height: 64px;
  padding: 0 20px;
}
.drawer-toggle.drawer-hamburger {
  background: #ff94bc;
}
.drawer-overlay {
  z-index: 9997;
}
.drawer-nav {
  z-index: 9999;
}
.drawer-menu li {
  padding: 0px;
}
.drawer-menu li a {
  padding: 10px;
  display: block;
}
.drawer-menu li a:active {
  background: #f0f9ff;
}
.navbar-default {
  background: #281019;
  background: url(../img/header_bg2022.png?201126b) center top no-repeat;
  background-size: 100%;
}
.navbar-header {
  text-align: center;
  float: none;
}
.navbar-brand {
  float: none;
  height: 64px;
  padding: 20px 14px;
  display: inline-block;
  text-indent: -9999px;
}
.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
  margin: 0;
}
.drawer-hamburger-icon,
.drawer-hamburger-icon:after,
.drawer-hamburger-icon:before {
  background-color: #fff;
  height: 4px;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.4);
}
.drawer-open .drawer-hamburger-icon {
  box-shadow: none;
}
.arrow {
  position: relative;
  display: inline-block;
  padding: 0 0 0 16px;
  color: #000;
  vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
}
.arrow::before,
.arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}
.arrow::before {
  left: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid #3d58b7;
  border-width: 2px 2px 0 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#wrapper {
  width: 80%;
  margin: 0 auto;
  background: #181417;
  position: relative;
  /* ※ */
  min-height: 100%;
  /* ※ */
  _height: 100%;
  /* ※ */
}
#contents {
  padding: 10px;
  padding-bottom: 30px;
  /* ※指定しないと中身が長い場合フッターがめり込む */
}
#footer {
  color: #FFF;
  background: #000;
  text-align: center;
  height: 250px;
}
ul.footer_menu {
  padding: 30px;
  background: #1a0911;
  border-radius: 0;
  margin: 0;
  border-top: 2px solid #ffa9fb;
}
ul.footer_menu li {
  display: inline-block;
  list-style: none;
  margin: 10px;
}
ul.footer_menu li a {
  color: white;
}
ul.footer_menu .link_without_scrivener {
  color: #5589c1;
  cursor: pointer;
}
ul.footer_menu .link_without_test {
  color: #5589c1;
  cursor: pointer;
}
a:text {
  color: #333;
}
a:link {
  color: #339;
  text-decoration: none;
}
a:visited {
  color: #039;
}
a:active {
  color: #6085bd;
}
a:hover {
  color: #6085bd;
}
.touch.hov {
  background: #ccc;
}
.touch.act {
  background: #000;
}
.touch.down {
  background: #fff;
}
.spacer {
  font-size: 1px;
  line-height: 1px;
}
table.table {
  background: #ccc;
  font-size: 80%;
}
table.table caption {
  font-weight: bold;
  background: #ddd;
  border: 1px solid #ccc;
  border-bottom: none;
  padding: 3px;
}
table.table thead td {
  background: #eef;
}
table.table th {
  background: #efefef;
  padding: 3px;
  text-align: center;
  border: 1px solid white;
}
table.table td {
  background: white;
  padding: 3px;
}
.TB_overlayBG {
  background-color: #000;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
#TB_caption {
  color: white;
}
#TB_window {
  background: #333;
}
#TB_window a,
#TB_window a:link,
#TB_window a:hover,
#TB_window a:visited {
  color: #ddd;
}
#TB_closeWindow {
  color: #ddd;
}
.totop {
  position: fixed;
  right: 20px;
  bottom: -35px;
  z-index: 999;
}
.totop a {
  display: block;
  background: #556771 url(../img/totoparrow.png) left top no-repeat;
  color: white;
  text-align: center;
  height: 40px;
  line-height: 40px;
  padding: 0 10px 0 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
  opacity: 0.85;
}
.totop a:hover,
.totop a:focus {
  background-position-y: bottom;
  color: white;
  text-decoration: none;
}
.drawer header {
  display: none;
}
#header {
  padding: 0;
  background: #ff94bc;
  text-align: center;
}
#header #head {
  width: 900px;
  margin: 0 auto;
  display: block;
  height: 120px;
  overflow: hidden;
  box-shadow: 0 0 20px 7px white;
}
#menuPlace {
  background: black;
  height: 30px;
}
#menuInner {
  background: black url(../img/menu_bg.png?180418) left -2px repeat;
  height: 30px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 30px;
}
#menu {
  background: black url(../img/menu_bg.png?180418) left -2px repeat;
}
#menu:after {
  content: "";
  display: block;
  clear: both;
}
#menu a {
  color: white;
  min-width: 4em;
  padding: 0 3px;
  font-family: 'メイリオ';
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
#menu a:hover {
  background-position-y: center;
}
#menu a.scrivener {
  color: #fdcf78;
}
#menu .sp {
  border-left: 1px solid #ccc;
}
#menu:after {
  content: "";
  display: block;
  clear: both;
}
#menu.float {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
  left: 50%;
  transform: translateX(-50%);
}
.flow_chart {
  margin: 10px auto 10px;
  background: #fff;
  padding-bottom: 20px;
  text-align: left;
  border-radius: 10px;
}
.flow_chart div.h2 {
  background: transparent;
  margin: 0;
  padding: 0;
  display: flex;
}
.flow_chart div.h2 .ti {
  padding: 0;
  font-size: 18px;
  text-align: center;
  margin: 20px 0 20px 5px;
  display: block;
  flex-basis: 200px;
  white-space: nowrap;
}
.flow_chart div.h2 .line {
  margin: 20px 0;
  border-bottom: 1px solid #b1b1b1;
  height: 10px;
  flex-basis: 80%;
}
.flow_chart ul {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  padding: 0;
  margin: 0 auto 10px;
}
.flow_chart ul li {
  display: block;
  padding: 30px 10px;
  background: #29aaef;
  margin: 10px;
  background: linear-gradient(#29aaef, #5196ed);
  font-size: 20px;
  margin: 0 10px 0 10px;
}
.flow_chart ul li.flow {
  position: relative;
  padding: 10px;
  display: table;
  height: 130px;
  border-radius: 10px;
  color: white;
  font-family: serif;
  text-shadow: 0px 0px 8px #000000;
  font-weight: bold;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.4);
  margin: 0 25px 0 0;
}
.flow_chart ul li.flow .fr {
  display: table-cell;
  vertical-align: middle;
  border-radius: 5px;
  padding: 0px;
  min-width: 120px;
  text-align: center;
}
.flow_chart ul li.flow.act .imakoko {
  position: absolute;
  top: 15%;
  left: 50%;
  margin-left: -23px;
}
.flow_chart ul li.flow.act .fr {
  background: linear-gradient(#ffffff, #f5f2ed);
  padding: 20px;
  color: #333;
  text-shadow: 0px 0px 1px #000000;
  box-shadow: inset 0 0 4px 0px #00d3ff;
}
.flow_chart ul li.flow a.fr {
  color: white;
}
.flow_chart ul li.flow .arrow {
  position: absolute;
  background: transparent;
  right: 0px;
  top: 50%;
  margin-top: 1px;
}
.flow_chart ul li.flow .arrow::before {
  left: 3px;
  border: 2px solid #3da0ee;
  border-width: 12px;
  border-color: #3da0ee #3da0ee transparent transparent;
  width: 25px;
  height: 25px;
  box-shadow: 2px -2px 2px 0px rgba(0, 0, 0, 0.4);
}
.flow_chart ul li.flow.act .arrow {
  border-color: #ffe7c6;
}
.eContract_desc {
  background: #fff;
  color: black;
  border-radius: 10px;
  border: 3px solid #4C1D99;
  font-family: "Helvetica Neue", arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", meiryo, sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  width: 80%;
  border-radius: 40px;
  padding: 5px 20px;
  margin: 0 10px 20px 10px;
  line-height: 1.8;
}
.eContract_desc .memo {
  font-size: 80%;
  font-weight: normal;
}
.eContract_desc._pink {
  border-color: #C61292;
}
@media screen and (max-width: 768px) {
  .eContract_desc {
    font-size: 14px;
    font-weight: normal;
    padding: 2px 20px;
    border-width: 3px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 21px;
  }
  #menu {
    display: none;
  }
  #header {
    display: none;
  }
  .drawer header {
    display: block;
  }
  .contents {
    margin-bottom: -500px;
  }
  .contents:after {
    content: "";
    display: block;
    clear: both;
  }
  body {
    margin-top: 64px;
  }
  .flow_chart ul li.flow {
    margin: 0 auto 30px;
    font-size: 16px;
    height: auto;
    padding: 8px;
  }
  .flow_chart ul li.flow .fr {
    padding: 4px;
    font-size: 16px;
    text-align: center;
    height: 100px;
  }
  .flow_chart ul li.flow.act .fr {
    padding: 4px;
  }
}
@media screen and (max-width: 425px) {
  .flow_chart ul {
    display: block;
    width: auto;
  }
  .flow_chart ul li.flow {
    width: 90%;
    margin: 0 auto 30px;
    font-size: 16px;
    height: auto;
    padding: 8px;
  }
  .flow_chart ul li.flow .fr {
    padding: 4px;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
    display: flex;
    /* align-content: center; */
    align-items: center;
    justify-content: center;
  }
  .flow_chart ul li.flow .arrow {
    top: auto;
    bottom: 0px;
    background: transparent;
    left: 50%;
    margin: 0 auto;
    margin-left: -11px;
  }
  .flow_chart ul li.flow .arrow::before {
    top: -2px;
    transform: rotate(135deg) !important;
    border-color: #5097ed #5097ed transparent transparent !important;
    width: 16px;
    height: 16px;
  }
  .flow_chart ul li.flow.act .fr {
    padding: 4px;
  }
}
@media screen and (max-width: 380px) {
  #menu {
    display: none;
  }
}
