@media screen and (min-width: 768px), print {
  .cbox_open #colorbox,
  .cbox_open #cboxOverlay {
    opacity: 1 !important;
  }
  #colorbox,
  #cboxOverlay {
    opacity: 0 !important;
    -webkit-transition: opacity .35s ease;
    -moz-transition: opacity .35s ease;
    transition: opacity .35s ease;
  }
  #cboxOverlay {
    background: rgba(0, 0, 0, 0.7);
  }
  #cboxMiddleLeft,
  #cboxMiddleRight {
    width: 0;
  }
  #cboxWrapper > div {
    width: 100%;
  }
  #cboxWrapper > div > div {
    background: none;
  }
  #cboxContent,
  #cboxLoadedContent {
    overflow: visible !important;
  }
  #cboxLoadedContent {
    margin-bottom: 0;
    padding-top: 40px;
  }
  #cboxClose {
    width: 34px;
    height: 34px;
    background: url(/common/images/icon_close_green.png) no-repeat center/contain;
    background-position: center !important;
    position: absolute;
    top: 0;
    bottom: auto;
    right: 0;
  }
  #cboxTitle,
  #cboxTopLeft,
  #cboxTopCenter,
  #cboxTopRight,
  #cboxBottomLeft,
  #cboxBottomCenter,
  #cboxBottomRight,
  #cboxLoadingOverlay,
  #cboxLoadingGraphic {
    display: none;
  }
  .modal_content {
    display: none;
  }
  .each_modal {
    background-color: #fff;
    text-align: center;
    padding: 50px;
    min-width: 400px;
    min-height: 250px;
    font-size: 1.6rem;
    -moz-border-radius: 30px;
         border-radius: 30px;
  }
  .each_modal,
  .each_modal *,
  .each_modal *:before,
  .each_modal *:after {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
  }
  .each_modal .info_box .c-checkbox {
    margin-top: 26px;
    text-align: center;
  }
  .each_modal .info_box .c-checkbox input {
    display: none;
  }
  .each_modal .info_box .c-checkbox input:checked ~ label:after {
    opacity: 1;
  }
  .each_modal .info_box .c-checkbox label {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    position: relative;
    padding-left: 35px;
    margin-right: 14px;
    cursor: pointer;
    height: 20px;
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .each_modal .info_box .c-checkbox label:before, .each_modal .info_box .c-checkbox label:after {
    content: '';
    position: absolute;
  }
  .each_modal .info_box .c-checkbox label:before {
    width: 20px;
    height: 20px;
    background: #fff;
    top: -1px;
    left: 0;
    border: 2px solid #000;
  }
  .each_modal .info_box .c-checkbox label:after {
    width: 12px;
    height: 5px;
    border-left: 2px solid #34af5d;
    border-bottom: 2px solid #34af5d;
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
    top: 5px;
    left: 4px;
  }
  .each_modal .info_box_btn {
    margin-top: 30px;
  }
  .each_modal .info_box_btn a {
    display: inline-block;
    color: #fff;
    background-color: #34af5d;
    text-decoration: none;
    padding: 14px 30px;
    line-height: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  .each_modal .info_box_btn a:hover {
    opacity: 0.7;
  }
  .each_modal .info_box_btn a.disable {
    opacity: 0.4;
    pointer-events: none;
    color: #000;
    background: #D9D9D9;
  }
}

@media screen and (max-width: 767px) {
  .cbox_open #colorbox,
  .cbox_open #cboxOverlay {
    opacity: 1 !important;
  }
  #colorbox,
  #cboxWrapper,
  #cboxContent,
  #cboxLoadedContent {
    width: 100% !important;
  }
  #colorbox,
  #cboxOverlay {
    opacity: 0 !important;
    -webkit-transition: opacity .35s ease;
    -moz-transition: opacity .35s ease;
    transition: opacity .35s ease;
  }
  #cboxOverlay {
    background: rgba(0, 0, 0, 0.7);
  }
  #cboxMiddleLeft,
  #cboxMiddleRight {
    width: 0;
  }
  #cboxWrapper > div {
    width: 100%;
  }
  #cboxWrapper > div > div {
    background: none;
  }
  #cboxContent,
  #cboxLoadedContent {
    overflow: visible !important;
  }
  #cboxLoadedContent {
    margin-bottom: 0;
    padding-top: 8.59375vw;
  }
  #cboxClose {
    width: 6.77083vw;
    height: 6.77083vw;
    background: url(/common/images/icon_close_green.png) no-repeat center/contain;
    background-position: center !important;
    position: absolute;
    top: 0;
    bottom: auto;
    right: 3.90625vw;
  }
  #cboxTitle,
  #cboxTopLeft,
  #cboxTopCenter,
  #cboxTopRight,
  #cboxBottomLeft,
  #cboxBottomCenter,
  #cboxBottomRight,
  #cboxLoadingOverlay,
  #cboxLoadingGraphic {
    display: none;
  }
  .modal_content {
    display: none;
  }
  .each_modal {
    background-color: #fff;
    text-align: center;
    margin: 0 auto;
    padding: 6.51042vw 3.90625vw;
    width: -webkit-calc(100% - 7.8125vw);
    width: -moz-calc(100% - 7.8125vw);
    width: calc(100% - 7.8125vw);
    font-size: 3.64583vw;
    line-height: 1.4;
    -moz-border-radius: 3.90625vw;
         border-radius: 3.90625vw;
  }
  .each_modal,
  .each_modal *,
  .each_modal *:before,
  .each_modal *:after {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
  }
  .each_modal .info_box .c-checkbox {
    margin-top: 6.25vw;
    text-align: center;
  }
  .each_modal .info_box .c-checkbox input {
    display: none;
  }
  .each_modal .info_box .c-checkbox input:checked ~ label:after {
    opacity: 1;
  }
  .each_modal .info_box .c-checkbox label {
    display: inline-block;
    font-size: 3.64583vw;
    line-height: 1;
    position: relative;
    padding-left: 9.11458vw;
    margin-right: 2.60417vw;
    cursor: pointer;
    height: 5.72917vw;
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .each_modal .info_box .c-checkbox label:before, .each_modal .info_box .c-checkbox label:after {
    content: '';
    position: absolute;
  }
  .each_modal .info_box .c-checkbox label:before {
    width: 5.72917vw;
    height: 5.72917vw;
    background: #fff;
    top: 1px;
    left: 0;
    border: 2px solid #000;
  }
  .each_modal .info_box .c-checkbox label:after {
    width: 3.38542vw;
    height: 1.82292vw;
    border-left: 2px solid #34af5d;
    border-bottom: 2px solid #34af5d;
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
    top: 1.69271vw;
    left: 1.17188vw;
  }
  .each_modal .info_box_btn {
    margin-top: 7.03125vw;
  }
  .each_modal .info_box_btn a {
    display: inline-block;
    color: #fff;
    background-color: #34af5d;
    text-decoration: none;
    padding: 3.64583vw 5.72917vw;
    line-height: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  .each_modal .info_box_btn a.disable {
    opacity: 0.4;
    pointer-events: none;
    color: #000;
    background: #D9D9D9;
  }
}
