.required:after {
  content: "必須";
  font-size: 0.65rem;
  color: #ffffff;
  background-color: #FE2F2F;
	border-radius: 4px;
	padding: 2px 8px;
	margin-left: 10px;
}

.accordionbox input + label div {
  display: none;
}
.accordionbox input:checked + label div {
  display: block;
}
.tooltip{
  position: relative;
  cursor: pointer;
  display: inline-block;
}
.tooltip p{
  margin:0;
  padding:0;
}
.description {
  display: none;
  position: absolute;
  padding: 10px;
  font-size: 12px;
  line-height: 1.6em;
  color: #fff;
  border-radius: 5px;
  background: #000;
  width: 300px;
}
.description:before {
  content: "";
  position: absolute;
  top: -24px;
  right: 60%;
  border: 15px solid transparent;
  border-top: 15px solid #000;
  margin-left: -15px;
  transform: rotateZ(180deg);
}
.tooltip:hover .description{
  display: inline-block;
  top: 30px;
  left: 0px;
}
.help::before{
  content: "?";
  font-size: 85%;
  margin-right: 5px;
  display: inline-block;
  vertical-align: 2px;
  width: 1.5em;
  height: 1.5em;
  text-align: center;
  line-height: 1.5;
  border-radius: 50%;
  background: #4287f5;
  color: #FFF;
  font-weight: bold;
}
.notice-select {
  width: calc(100%/2);
  height: 50px;
  border-bottom-width: 3px;
  border-color: #a9a9a9;
  line-height: 50px;
  font-size: 15px;
  text-align: center;
  display: block;
  float: left;
  order: -1;
}
.notice-box {
  margin-top: 70px;
}
input[name="notice"] {
  display: none;
}
input:checked + .notice-select {
  border-color: #003be0;
}
#user_notice, #service_notice {
  display: none;
}
#tab1:checked~.notice-box #user_notice {
  display: block;
}
#tab2:checked~.notice-box #service_notice {
  display: block;
}
.notice-box img {
	width: 1.3em;
	display: inline;
	margin-right: 5px;
}

.notification {
  position:fixed;
  background-color: #003be0;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  bottom:20px;
  right:20px;
  z-index: 10;
}
.notification-count {
  position:fixed;
  color: #fff;
  background-color: #fe2f2f;
  border-radius: 10px;
  font-size: 0.8em;
  padding: 2px 6px;
  bottom:60px;
  right:15px;
}

.fade {
  background-color:#000000;
  opacity:0.25;
  z-index: 1;
}

#loading {
  display: table;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.8;
  z-index: 10;
}

#loading .loadingMsg {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding-top: 140px;
  background: url("/img/loading.gif") center center no-repeat;
}

.shop_progress {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.shop_progress .step {
    position: relative;
    min-height: 60px;
    width: 200px;
    line-height: 1.5;
    padding: 5px 0;
    background: #dddfe5;
}
.shop_progress .step:not(:first-child) {
    width: 220px;
}
.shop_progress .step:not(:last-child)::before,
.shop_progress .step:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border-style: solid;
    border-width: 30px 0 30px 20px;
    border-color: transparent transparent transparent #dddfe5;
    margin: auto;
}
.shop_progress .step:not(:last-child)::before {
    margin-left: 2px;
    border-left-color: #FFF;
}

@media screen and (max-width: 767px) {
    .shop_progress .step {
        min-height: 50px;
        width: calc(100% / 3);
        min-width: 94px;
        line-height: 1.4;
    }
    .shop_progress .step:not(:first-child) {
        width: calc(100% / 3);
        min-width: 114px;
    }
    .shop_progress_title {
        font-size: 12px;
    }
    .shop_progress .step:not(:last-child)::before,
    .shop_progress .step:not(:last-child)::after {
        border-width: 25px 0 25px 20px;
    }
}

.shop_progress .step.active {
    z-index: 1;
    background: #e6f8ff;
}
.shop_progress .step.active:not(:last-child)::after {
    border-left-color: #e6f8ff;
}
.shop_progress .step.active:not(:last-child)::before {
    border-left: none;
}

.mypage_progress {
    display: flex;
    flex-wrap: wrap;
}
.mypage_progress .step {
    position: relative;
    padding: 0.3rem 0;
    background: #dddfe5;
    color: #000;
}
.mypage_progress .step:not(:last-child)::before,
.mypage_progress .step:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 10px;
    border-color: transparent transparent transparent #dddfe5;
    margin: auto;
}
.mypage_progress .step:not(:last-child)::before {
    margin-left: 2px;
    border-left-color: #FFF;
}

.mypage_progress .step.active {
    z-index: 1;
    background: #003be0;
    color: #FFF;
}
.mypage_progress .step.active:not(:last-child)::after {
    border-left-color: #003be0;
}
.mypage_progress .step.active:not(:last-child)::before {
    border-left: none;
}

.purchase_num_label {
    display: inline-block;
    padding: 0 15px;
    transform: translateY(-50%);
    background-color: #fff;
}
.balloon{
    position:relative;
    min-width:48px;
    background:#FFFFFF;
    padding:0 4px;
    text-align:center;
    border:1px solid #707070;
    color:#333333;
    font-size:10px;
    font-weight:bold;
    border-radius:10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    white-space: nowrap;
}
.balloon:after,.balloon:before{
    border: solid transparent;
    content:'';
    pointer-events:none;
    position:absolute;
    top:100%;
    left:50%;
}
.balloon:after{
    border-color: rgba(255, 255, 255, 0);
    border-top-width:5px;
    border-bottom-width:5px;
    border-left-width:5px;
    border-right-width:5px;
    margin-left: -5px;
    border-top-color:#FFFFFF;
}
.balloon:before{
    border-color: rgba(0, 0, 0, 0);
    border-top-width:6px;
    border-bottom-width:6px;
    border-left-width:6px;
    border-right-width:6px;
    margin-left: -6px;
    margin-top: 1px;
    border-top-color:#707070;
}
.balloon.border-red{
    border:1px solid #FE2F2F;
    color:#FE2F2F;
}
.balloon.border-red:after{
    border-color: rgba(255, 0, 0, 0);
    border-top-color:#FFFFFF;
}
.balloon.border-red:before{
    border-color: rgba(0, 0, 0, 0);
    border-top-color:#FE2F2F;
}
.balloon-gray{
    position:relative;
    min-width:44px;
    background:#707070;
    padding:0px;
    text-align:center;
    border:1px solid #707070;
    color:#ffffff;
    font-size:10px;
    font-weight:bold;
    border-radius:10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    white-space: nowrap;
}
.mypage_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
    align-items: center;
}
