@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

* {
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  font-family: Cabin, sans-serif;
  font-size: 14px;
  height: 100%;
  padding-bottom: 60px;
}
body.loading {
  pointer-events: none;
}
body.loading .modal-loading {
  display: block;
}
body.logined {
  padding-bottom: 0;
}

/* General */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.t-jp {
  font-family: "Noto Sans JP", sans-serif;
}
.t-red {
  color: #E52144;
}
.t-success{
  color: #198754;
}
.t-fail{
  color: #dc3545;
}

.btn {
  cursor: pointer;
  display: inline-block;
  padding: 5px 20px;
  line-height: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  min-width: 80px;
}
.btn:hover {
  text-decoration: none;
  opacity: 0.8;
}
.btn-next {
  font-weight: bold;
  background: #E52144;
  border: 0;
  color: #fff;
  width: 400px;
  height: 60px;
  padding: 20px 0 0;
  text-align: center;
}
.btn-next img{
  margin-left: 10px;
}
.btn.disabled {
  background: #ddd;
  border-color: #ddd;
  color: #fff;
  pointer-events: none;
}

.hide {
  display: none;
}

/* Site */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.mb-3 {
  margin-bottom: 15px;
}
.mb-6 {
  margin-bottom: 30px;
}
.col-sm {
  flex: 0 1 100%;
  max-width: 100%;
}
.col-sm-6 {
  flex: 1 0 50%;
  max-width: 50%;
}

textarea.form-control ,
select.form-control ,
input.form-control {
  border: 1px solid #ddd;
  padding: 5px;
  line-height: 20px;
  display: block;
  width: 100%;
}
textarea.form-control {
  min-height: 100px;
}

/* Header */
header {
  position: relative;
  padding-top: 44px;
}
header::before{
  display: none;
  content: '';
  position: absolute;
  top: -402px;
  right: -389px;
  width: 1071px;
  height: 933px;
  z-index: 0;
  background: url(../img/body.png) 0 0 / 100% auto no-repeat;
}
header.no-bg::before{
  display: none;
}
header.thanks::before{
  top: -350px;
}
header .row{
  justify-content: space-between;
}
header .lottie-icon{
  position: absolute;
  top: 30px;
  right: -80px;
  width: 780px;
  height: 600px;
}
header.thanks .lottie-icon{
  right: -135px;
}
header.no-bg .lottie-icon{
  display: none;
}

/* Login */
.login-form {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 370px;
  max-width: calc( 100% - 30px );
  height: 240px;
  margin: auto;
  padding: 50px 55px 0;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  text-align: center;
}
.login-form h1 {
  font-size: 18px;
  font-weight: bold;
  line-height: 36px;
  padding: 0;
  margin: 0 0 17px;
}
.login-form p{
  color: #A8A8A8;
  line-height: 36px;
  margin: 15px 0 0;
}
.login-form .abcRioButton:active ,
.login-form .abcRioButton:hover ,
.login-form .abcRioButton {
  background: #E52144;
  border-radius: 10px;
  color: #fff;
  padding-top: 20px;
  width: 100% !important;
  height: 60px !important;
  margin: 0 auto;
  box-shadow: none;
}
.login-form .abcRioButtonIcon {
  float: none;
  display: inline-block;
  background: url(../img/ico-g.png) 0 0 / cover no-repeat;
  width: 21px;
  height: 21px;
  vertical-align: middle;
}
.login-form .abcRioButtonContents{
  font-family: Cabin, sans-serif;
  font-size: 14px !important;
  line-height: 22px !important;
  margin-left: 15px !important;
}
.login-form .abcRioButtonIcon .abcRioButtonIconImage{
  opacity: 0;
}

/* Info */
form {
  padding: 50px 99px 0;
}
.row-info {
  padding-bottom: 80px;
  color: #767676;
}
.row-info .col-info{
  width: 50%;
}
.row-info .heading{
  font-size: 34px;
  font-weight: bold;
  line-height: 42px;
  color: #E52144;
  padding-bottom: 15px;
  text-transform: uppercase;
}
.row-info .sub_heading{
  font-size: 16px;
  font-weight: bold;
  color: #333;
  line-height: 20px;
  padding-bottom: 30px;
  text-transform: uppercase;
}
.row-info .desc p{
  line-height: 36px;
  margin-bottom: 10px;
}
.row-info-thanks .button-back a{
  display: inline-block;
  font-weight: bold;
  padding-top: 20px;
  line-height: 28px;
  color: #555;
  border-bottom: 1px solid #555;
  text-decoration: none;
}
.row-info-thanks .button-back a img{
  margin-right: 10px;
}

/* Account */
.row-account {
  padding-bottom: 12px;
}
.row-account .label{
  color: #767676;
  line-height: 22px;
}
.row-account .label b{
  color: #333;
}

/* Members */
.tab-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  text-transform: uppercase;
  padding-bottom: 15px;
}
.tab-members ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.tab-members li{
  flex: 0 1 33.33%;
  max-width: 33.33%;
  margin: 0;
}
.tab-menu {
  padding-bottom: 30px;
}
.tab-menu li{
  font-size: 14px;
  line-height: 30px;
  text-transform: uppercase;
  padding: 15px 40px;
  cursor: pointer;
  border-bottom: 1px solid #E0E0E0;
  position: relative;
}
.tab-menu li.active::after{
  display: block;
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 2px solid #E52144;
}
.tab-menu li strong{
  font-weight: normal;
}
.tab-menu li img{
  margin-right: 15px;
}
.tab-menu li .count{
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  color: #333;
  background: #F2F4F8;
  border-radius: 50%;
}
.tab-menu li.active .count{
  background: #E52144;
  color: #fff;
}
.tab-items {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 5px 0;
}
.tab-item {
  display: none;
}
.tab-item.active{
  display: block;
}
.tab-item label{
  display: flex;
  align-items: center;
  padding: 15px 25px;
  cursor: pointer;
}
.tab-item label img{
  margin-right: 10px;
}
.tab-item label span{
  flex: 0 1 100%;
  max-width: 100%;
}
.tab-item label strong{
  font-size: 14px;
  color: #333;
  font-weight: normal;
  display: block;
}
.tab-item label i{
  font-size: 12px;
  color: #666;
  font-style: normal;
  display: block;
}
.tab-item li {
  padding: 0 5px;
}
.tab-item .bg-color-0 label{
  background: rgb(242, 244, 248);
  background: rgba(242, 244, 248, .5);
}
.tab-footer {
  padding: 40px 0 80px;
  text-align: center;
}

.slide-messages {
  padding: 80px 0;
}
.slide-messages .messages-title{
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #333;
  line-height: 20px;
  padding-bottom: 50px;
}
.slide-messages .messages-list{
  margin: 0 -15px;
}
.slide-messages .message-box{
  padding: 0 15px 30px;
}
.slide-messages .message-label{
  display: flex;
  line-height: 20px;
  justify-content: space-between;
  font-weight: bold;
  color: #333;
  padding-bottom: 5px;
}
.slide-messages .message-name strong{
  color: #333;
  font-size: 14px;
}
.slide-messages .message-name i{
  color: #666;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
}
.slide-messages textarea{
  font: 14px/28px Cabin, sans-serif;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  color: #333;
  padding: 10px;
  width: 100%;
  height: 100px;
  resize: none;
}
.slide-messages textarea.invalid {
  color: #E52144;
  border-color: #E52144;
}
.slide-messages .messages-footer{
  padding-top: 20px;
  text-align: center;
}
.slide-messages .messages-footer p{
  margin-bottom: 20px;
}

.row-info-thanks {
  padding: 100px 99px 100px;
}
.row-info-thanks .sub_heading{
  line-height: 28px;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 12px;
  color: #666;
  text-align: center;
  padding: 20px 0 0;
  height: 60px;
  border-top: 1px solid #E0E0E0;
}
body.thanks-page footer,
body.logined footer{
  position: static;
}

/* Modal */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(255, 255, 255, .4);
}
.modal-dialog{
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate( -50%, -20% );
  width: 600px;
  max-width: calc( 100% - 30px );
  min-height: 100px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px 3px #ddd;
  padding: 15px;
}
.modal-title{
  font-weight: bold;
  font-size: 20px;
}
.modal-body {
  padding: 10px 0;
}
.modal-footer {
  text-align: center;
}

@media screen and (min-width: 769px) 
{
  .hidden-pc {
    display: none;
  }

  body {
    min-width: 1200px;
  }

  .row-info-thanks {
    min-height: 600px;
  }
}

@media screen and (max-width: 768px) 
{
  .hidden-sp {
    display: none;
  }

  header .lottie-icon{
    display: none;
  }
  .login-form {
    padding: 40px 30px 0;
  }
  .row-info .desc p {
    line-height: 28px;
    margin-bottom: 5px;
  }
  .btn-next {
    width: 100%;
  }
  form {
    padding: 30px 0 0;
  }
  .tab-menu {
    padding-bottom: 0;
    margin-bottom: 15px;
  }
  .tab-members.fixed .tab-menu {
    height: 50px;
  }
  .tab-members.fixed .tab-menu ul{
    position: fixed;
    top: 0;
    width: calc( 100% - 30px );
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #fff;
  }
  .tab-menu li {
    padding: 10px;
  }
  .tab-menu li:first-child {
    padding-left: 0;
  }
  .tab-menu li:last-child {
    padding-right: 0;
  }
  .tab-menu li img {
    display: none;
  }
  .tab-menu li .count {
    right: 10px;
  }
  .tab-item li {
    padding: 0;
  }
  .tab-item label {
    display: block;
    padding: 10px 5px;
    text-align: center;
  }
  .tab-item label img {
    margin: 0;
  }
  .tab-item label span {
    display: block;
    padding: 5px 0;
  }
  .tab-footer {
    padding: 20px 0 40px;
  }
  /* .tab-members.fixed .btn-members {
    position: fixed;
    bottom: 5px;
    width: calc( 100% - 30px );
    left: 0;
    right: 0;
    margin: 0 auto;
  } */
  .row-info {
    padding-bottom: 30px;
  }
  .row-info .col-info {
    width: 100%;
  }
  .slide-messages {
    padding: 0 0 40px;
  }
  .slide-messages .messages-title {
    padding-bottom: 20px;
  }
  .slide-messages .message-box{
    flex: 1 0 100%;
    max-width: 100%;
    padding-bottom: 15px;
  }
  .slide-messages .message-label {
    font-size: 12px;
  }
  .slide-messages .message-name {
    text-align: right;
  }
  .slide-messages .message-name strong{
    font-size: 12px;
  }
  .slide-messages .message-name i{
    font-size: 10px;
  }
  .slide-messages .messages-footer {
    margin-top: 0;
  }
  .slide-messages .btn-back{
    display: block;
    margin-top: 10px;
  }
  
  .row-info-thanks {
    padding: 80px 15px 0;
  }
}

@media screen and (max-width: 320px) 
{
  .row-info .heading {
    font-size: 30px;
  }
}