.sp-menu {
  display: none;
}

.sp-menu a {
  background: #245286;
  width: 50px;
  height: 50px;
  padding-top: 10px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000); 
  background: rgba(0, 0, 0, 0.5);
}

.modal-wrap {
  height: 100%;
  padding: 0 30px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  height: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.modal-table-wrap {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}

.modal-table-cell {
  display: table-cell;
  padding: 60px 0 60px;
  vertical-align: middle;
}

.modal-content-box {
  position: relative;
  margin: 0 auto;
  background: #245286;
}

.modal-content-inner {
  padding: 50px 30px 50px;
}

.modal-btn-close {
  position: absolute;
  top: -50px;
  right: 0;
  z-index: 9;
  height: 30px;
  width: 30px;
  cursor: pointer;
}
.modal-btn-close span {
  display: block;
  background: #fff;
  height: 2px;
  width: 30px;
}
.modal-btn-close .bar01 {
  -moz-transform: translateY(15px) rotate(-45deg);
  -ms-transform: translateY(15px) rotate(-45deg);
  -webkit-transform: translateY(15px) rotate(-45deg);
  transform: translateY(15px) rotate(-45deg);
}
.modal-btn-close .bar02 {
  -moz-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -webkit-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}

.modal-ct-text-box ul {
  list-style-type: none;
  padding:10px;
}

.modal-ct-text-box ul li a {
  display: block;
  border-bottom: 1px solid #eee;
  position: relative;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.1em;
}
.modal-ct-text-box ul li.menu-item-has-children a::after {
  content: "+";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 7px;
  right: 0;
  color: #fff;
  font-size: 23px;
  background: #245286;
  padding: 5.5px 0 0;
  width: 35px;
  height: 35px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
}
.modal-ct-text-box ul li a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 18px;
  background: url(../images/model-icon-after.png) no-repeat right center;
  background-size: 7px 13px;
  width: 100%;
  height: 50px;
}
.drawer-bottom ul {
  width: 100%;
  display: table;
  margin-top: 15px;
}
.drawer-bottom ul li {
  width: 50%;
  display: inline-block;
  float: left;
  margin-bottom: 6px;
}
.drawer-bottom ul li a {
  font-size: 12px;
  border: 2px solid #eee;
  padding-top: 10px;
  height: 50px;
padding-left: 10px;
}
.drawer-bottom ul li a img {
  vertical-align: middle;
  display: block;
}
.drawer-bottom ul li:nth-child(2n) a {
  margin-left: 10px;
}
.drawer-bottom ul li a:after {
  font-size: 10px;
}
.modal-ct-text-box ul.sub-menu {
  margin: 0;
  padding-top: 0;
}
.modal-ct-text-box ul.sub-menu li {
  margin-bottom: 0;
  padding: 0;
  color:#fff;
}
.modal-ct-text-box ul.sub-menu li a {
  background: #245286;
font-size: 1.0em;
  border-bottom:none;
  color: #fff;
text-decoration: underline;
}
#sp-phone-wrap {
  width: 250px;
  margin: 10px auto 0;
}

/*---------アイコンここから↓---------*/
/*--↓アイコンここから--*/
.modal-ct-text-box li a:before {
  font-family: "Font Awesome 5 Free";
  margin-right: 10px;
  vertical-align: middle;
}
.modal-ct-text-box ul.sub-menu li a:before {
  content: none !important;
}
.modal-ct-text-box li.menu-item-has-children li a:after {
  content: none;
}

@media only screen and (max-width: 781px) {

.sp-menu {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  background: #023d89;
  text-align: center;
  vertical-align: middle;
}
.sp-menu a {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
}
  .modal-wrap {
    padding: 0 3.125%;
  }

  .modal-content-inner {
    padding: 5% 5% 40px;
  }

#head-right {
  right: 90px;
}
#head-right {
  display: inline-block;
  width: 50%;
}
#head-right01 {
  right: 0;
  top: 0;
  width: 210px;
}

}

@media only screen and (max-width: 620px) {

#head-right {
  display: none;
}
.sp-menu {
  width: 50px;
  height: 50px;
}
.sp-menu a {
  width: 50px;
  height: 50px;
}

}

@media only screen and (max-width: 460px) {
.drawer-bottom ul li {
  display: inline-block;
  float: left;
  margin-bottom: 6px;
}
.drawer-bottom ul li:first-child {
  width: 45%;
}
.drawer-bottom ul li:first-child img {
  width: 70%;
}
.drawer-bottom ul li:nth-child(2) {
  width: 55%;
}
.drawer-bottom ul li:nth-child(2) img {
  width: 85%;
  padding-top: 3px;
}
.drawer-bottom ul li:nth-child(3),
.drawer-bottom ul li:nth-child(4) {
  width: 100%;
  display: block;
  float: none;
  clear: both;
}
.drawer-bottom ul li:nth-child(4) a {
  margin-left: 0;
}
}