/* Common */
/*------------------------------------*/
.checksp{
  position: fixed;
  width: 1px;
  height: 1px;
  top: -10px;
  left: -10px;
  z-index: 99999;
  display: none;
}
@media (min-width: 768px) {
  .checksp{
    display: block;
  }
}

.hide {
  display: none !important;
}

.hideSp {
  display: none !important;
}
@media (min-width: 768px) {
  .hideSp {
    display: inherit !important;
  }
  .hidePc {
    display: none !important;
  }
}

.isSandbox:after{
  position: fixed;
  left: 0;
  bottom: 0;
  content: "SANDBOX";
  font-weight: bold;
  font-size: 20px;
  text-shadow: #666666 0 0 4px;
  color: #0000ff;
  padding: 0 10px;
  opacity: 0.5
}

/* TableWrap */
/*------------------------------------*/
.article-container .article-body .table-wrap{
  max-width: 100%;
  overflow-x: auto;
}
.article-container .article-body .table-wrap::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.article-container .article-body .table-wrap::-webkit-scrollbar-track {
  /*スクロールバーの軌道*/
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
.article-container .article-body .table-wrap::-webkit-scrollbar-thumb {
  /*スクロールバーの動く部分*/
  background-color: rgba(0, 0, 50, .5);
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}
.article-container .article-body .table-wrap > table{
  width: 864px;
  margin-bottom: 3px;
}
.article-container .article-body .table-wrap > table th,
.article-container .article-body .table-wrap > table td{
  border: 1px solid #cccccc;
  padding: 5px;
}
.article-container .article-body .table-wrap > table th{
  background-color: #eeeeee;
}
@media (min-width: 768px) {
  .article-container .article-body .table-wrap > table{
    width: auto;
  }
}

/* Sandbox */
/*------------------------------------*/
.isSandbox:after{
  position: fixed;
  left: 0;
  bottom: 0;
  content: "SANDBOX";
  font-weight: bold;
  font-size: 20px;
  text-shadow: #666666 0 0 4px;
  color: #0000ff;
  padding: 0 10px;
  opacity: 0.5
}


/* Modal */
/*------------------------------------*/
.modal-area{
  position: fixed;
  top: 0;
  left :0;
  width :100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .68);
  z-index: 20;
}

.modal-area .modal-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  height: auto;
  max-width: 80%;
  max-height: 80%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 5px;
}
.modal-area .text{
  margin: 0;
}
.modal-area .buttons{
  text-align: center;
  margin-top: 30px;
}
.modal-area .buttons .button{
  display: inline-block;
  background-color: $brand_color;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  line-height: 1;
  color: #ffffff;
  margin: 10px 0 0 0;
}
.modal-area .buttons .button:hover{
  opacity: 0.7;
}
.modal-area .buttons .button.close{
  background-color: #666666;
  border-color: #666666;
}

@media (min-width: 768px) {
  .modal-area .buttons .button{
    margin: 0 10px 0 10px;
    width: 160px;
  }
  .modal-area .modal-frame {  
    width: auto;
  }
}


/* Loading */
/*------------------------------------*/
.loader-area{
  position: fixed;
  top: 0;
  left :0;
  width :100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .68);
  z-index: 20;
}
.loader-area .loader-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 5em;
  height: 5em;
}
.loader-area .loader,
.loader-area .loader:after {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}
.loader-area .loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(0, 0, 0, 0.2);
  border-right: 1.1em solid rgba(0, 0, 0, 0.2);
  border-bottom: 1.1em solid rgba(0, 0, 0, 0.2);
  border-left: 1.1em solid #ffffff;
  transform: translateZ(0);
  animation: load8 1.1s infinite linear;
  margin: 0;
}

/* oad8 */
/*------------------------------------*/
@-webkit-keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header */
/*------------------------------------*/
.isFixed .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.isFixed .header.isScrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* Form */
/*------------------------------------*/
.isInput .form_input{
  display: inherit;
}
.isInput .form_confirm{
  display: none;
}
.isConfirm .form_input{
  display: none;
}
.isConfirm .form_confirm{
  display: block;
}
.isConfirm .suggestion-list{
  display: none;
}
.isInput .form_input.button_group{
  display: flex;
}
.isConfirm .form_confirm.button_group{
  display: flex;
}


.return-button, .confirm-button {
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
}
.return-button{
  background-color: #999999;
  color: #FFFFFF;
}
.confirm-button{
  background-color: #0072EF;
  color: #FFFFFF;
}
.button_group{
  display: flex;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 768px){
  .return-button, .confirm-button {
    width: auto;
  }
  .button_group{
    flex-direction: row-reverse;
  }
}

/* ImageBox */
/*------------------------------------*/
.imagebox-area{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;  
}
.imagebox-area .imagebox-bg{
  opacity: 0.9;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.imagebox-area .imagebox-image{
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% - 120px);
  height: calc(100% - 60px);
  transform: translateX(-50%) translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.imagebox-area .imagebox-image img{
  max-width: 100%;
  max-height: 100%;
}
.imagebox-area .imagebox-close{
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 20px;
  height: 20px;
}
.imagebox-area .imagebox-close span{
  position: relative;
  text-indent: -9999px;
  display: block;
}
.imagebox-area .imagebox-close span:before,
.imagebox-area .imagebox-close span:after{
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  height: 4px;
  background-color: #666666;
  border-radius: 3px;
  transition: background-color 0.2s linear;
}
.imagebox-area .imagebox-close:hover span:before,
.imagebox-area .imagebox-close:hover span:after{
  background-color: #999999;
}
.imagebox-area .imagebox-close span:before{
  transform: rotate(-45deg);
}
.imagebox-area .imagebox-close span:after{
  transform: rotate(45deg);
}

.imagebox-area .imagebox-prev,
.imagebox-area .imagebox-next{
  display: block;
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
}
.imagebox-area .imagebox-prev{
  left: 15px;
}
.imagebox-area .imagebox-next{
  right: 15px;
}
.imagebox-area .imagebox-prev span,
.imagebox-area .imagebox-next span{
  position: relative;
  text-indent: -9999px;
  display: block;
  width: 100%;
  height: 100%;
}
.imagebox-area .imagebox-prev span:before,
.imagebox-area .imagebox-prev span:after,
.imagebox-area .imagebox-next span:before,
.imagebox-area .imagebox-next span:after{
  content: "";
  display: block;
  position: absolute;
  width: 75%;
  height: 4px;
  background-color: #666666;
  border-radius: 3px;
  transform-origin: center;
  transition: background-color 0.2s linear;
}
.imagebox-area .imagebox-prev:hover span:before,
.imagebox-area .imagebox-prev:hover span:after,
.imagebox-area .imagebox-next:hover span:before,
.imagebox-area .imagebox-next:hover span:after{
  background-color: #999999;
}
.imagebox-area .imagebox-prev span:before{
  transform: rotate(-45deg);
  top: 6px;
  left: 0;
}
.imagebox-area .imagebox-prev span:after{
  transform: rotate(45deg);
  bottom: 6px;
  left: 0;
}
.imagebox-area .imagebox-next span:before{
  transform: rotate(45deg);
  top: 6px;
  right: 0;
}
.imagebox-area .imagebox-next span:after{
  transform: rotate(-45deg);
  bottom: 6px;
  right: 0;
}
.imagebox-area .imagebox-prev.disabled,
.imagebox-area .imagebox-next.disabled{
  pointer-events: none;
}
.imagebox-area .imagebox-prev.disabled span:before,
.imagebox-area .imagebox-prev.disabled span:after,
.imagebox-area .imagebox-next.disabled span:before,
.imagebox-area .imagebox-next.disabled span:after{
  background-color: #dddddd;
}

.imagebox-item{
  max-width: 200px !important;
  max-height: 200px !important;
  cursor: zoom-in;
  display: block;
  margin: 10px 0;
  width: auto;
  height: auto;  
}