.selectList {
  border-radius: 5px;
}

.bannerList li {
  margin: 0;
  padding: 0;
}

.bannerList li a {
  margin: 0;
  display: block;
  position: relative;
  box-shadow: 0 0 5px #333;
  border-radius: 10px;
}

.imgList li {
  float: left;
  margin: 0;
  padding: 0;
}

.imgList li a {
  margin: 5px;
  box-shadow: 0 0 5px #333;
  display: block;
  position: relative;
  border-radius: 10px;
}

.selectImg {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.selectImg img {
  width: 100%;
  border-radius: 10px;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.selectText {
  position: absolute;
  text-align: center;
  color: #fff;
  width: 100%;
  font-family: serif;
  line-height: 1.4em;
  border-radius: 0 0 10px 10px;
  -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
  align-items: center; /* 縦方向中央揃え */
  -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
  justify-content: center; /* 横方向中央揃え */
  display: flex;
  display: -webkit-flex;
  bottom: 0;
  font-weight: bold;
  letter-spacing: -0.5px;
}

.bannerList .selectText {
  background: rgba(86, 136, 187, 0.7);
}

.imgList .selectText {
  background: rgba(36, 111, 186, 0.75);
  height: 45px;
}

/* 選択したアイテム */
.selectItem {
  position: relative;
}

.selectItem:before {
  position: absolute;
  top: 40%;
  left: 56%;
  margin: -38px 0 0 -41px;
  z-index: 100;
}

.bannerList .selectItem:before {
  left: 52%;
}

.selectItem:after {
  position: absolute;
  top: -2px;
  left: -5px;
  z-index: 100;
}

.bannerList .selectItem:after {
  top: -6px;
  left: -7px;
}


.selectItem a {
  border: 3px solid #006ad6;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  border-radius: 10px;
}

.selectItem .selectText {
  background: rgb(11,81,209); /* Old browsers */
  background: -moz-linear-gradient(left, rgba(11,81,209,1) 0%, rgba(61,164,228,1) 50%, rgba(11,81,209,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(11,81,209,1) 0%,rgba(61,164,228,1) 50%,rgba(11,81,209,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(11,81,209,1) 0%,rgba(61,164,228,1) 50%,rgba(11,81,209,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b51d1', endColorstr='#0b51d1',GradientType=1 ); /* IE6-9 */
  margin-bottom: -3px;
  overflow: hidden;
}


@media screen and (min-width: 481px) {
  /* sADD */
  .bannerList {
    margin: 15px 15px 0 15px;
  }
  
  .imgList {
    margin: 5px 10px 10px 10px;
    width: 610px;
  }
  
  .imgList li {
    width: 33.33%;
  }
  
  .selectText {
    font-size: 105%;
  }
  
  .bannerList .selectText {
    height: 47px;
  }
  
  .selectItem:before {
    content: url("../image/check_img.png");
  }
  
  .selectItem:after {
    content: url("../image/ribbon.png");
  }
  
  .title_image {
    height: 100px;
  }

  .error {
    border: 1px solid #FF0000 !important;
  }

  .tap_prompt_text {
    position: relative;
    top: -10px;
  }

  .foot_button {
    height: 72px;
    padding: 5px;
    text-align: center;
    margin-top: 30px;
	position: fixed;
    bottom: 0px;
    box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.4);
    background-color: rgba(255,255,255,1);
	width: 100%;
  }
  .post_button {
    /*margin: 0 auto 50px auto;*/
    padding: 0px;
    width: 550px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
  }
  .popup_window {
    position: fixed;
    top: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-font-smoothing: none;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
    width: 660px;
    height: 100%;
  }

  .popup_window::-webkit-scrollbar {
    /*display: none;*/
  }

  .present_select {
    text-align: center;
    border: #ff8635 solid 2px;
    background-repeat: repeat;
    margin: 0 auto 110px auto;
    border-image-source: url(../image/line.png);
    border-image-slice: 1;
    border-image-width: 2px;
    border-image-repeat: stretch;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.4);
    width: 626px;
  }
  .radio_button {
    display: none;
  }
  .radio_button:checked {
    background-image: url("../image/check_icon.png");

  }
  .present_button {
    display: inline-block; //width: 30%;
    width: 200px;
    height: 200px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
  }
  .present_image_block {
    position: relative;
    display: inline-block;
  }
  .present_image_block_ticket {
    position: relative;
    border: 1px solid #5688bb;
    border-radius: 18px;
  }
  .present_button_border {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
  }
  .present_image {
    max-height: 100%;
    max-width: 100%;
  }

  .present_image_ticket {
    width: 600px;
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.4);
  }

  .check_image {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 101%;
    height: 100%;
  }

  .present_title_blue {
    border: 1px solid #5688bb;
  }
  .present_title_text {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    height: 24%;
    opacity: 0.8;
    font-size: 15px;
    color: #FFFFFF;
    font-family: serif;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-weight: bold;
  }
  .present_title_text_ticket {
    position: absolute;
    bottom: 7px;
    left: 0;
    text-align: center;
    width: 100%;
    height: 24%;
    font-size: 15px;
    color: #FFFFFF;
    font-family: serif;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-weight: bold;
    background-color: rgba(86, 136, 187, 0.8);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  .error_text {
    font-size: 15px;
    text-align: left;
    color: #FF0000;
    margin: 5px 0 0 0;
  }
  .overlap_error {
    font-size: 15px;
    text-align: center;
    color: #FF0000;
  }
  .overlay {
    display: block;
    background-color: #000000;
    width: 10000px;
    height: 4000px;
    opacity: 0.5;
    position: fixed;
    top: 0px;
    left: 0px;
  }
  .popup_frame::-webkit-scrollbar {
    display: none;
  }
}



@media screen and (max-width: 480px) {

  #colorbox {
    /*margin:20% 0px;*/
  }
  /* sADD */
  .bannerList li {
    margin: 0;
  }

  .imgList {
    margin: 5px -5px 0 -5px;
  }
  
  .imgList li {
    float: left;
    width: 50%;
  }
  
  .selectText {
    font-size: 80%;
    
  }
  
  .bannerList .selectText {
    height: 30px;
  }
  
  .bannerList .selectItem:before {
    top: 40%;
    left: 55%;
  }
  
  .imgList .selectItem:before {
    left: 60%;
  }
  
  .selectItem:before {
    content: url("../image/check_img_sp.png");
  }
  
  .selectItem:after {
    content: url("../image/ribbon_sp.png");
  }
  
  .error {
    border: 1px solid #FF0000 !important;
  }

  .tap_prompt_text {
    position: relative;
    top: -10px;
  }

  .foot_button {
    height:45px;
    padding: 5px;
    text-align: center;
    /*margin: 10px;*/
    margin-top: 20px;
	position: fixed;
    bottom: 0px;
    box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.4);
    background-color: rgba(255,255,255,1);
  }
  .post_button {
    /*margin: 0 0 30px 0;*/
    padding: 0px;
    width: 75%;
    display: inline-block;
    vertical-align: middle;
  }
  .popup_window {
    position: fixed;
    top: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-font-smoothing: none;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
    width: 80%;
    height: 90%;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
  }

  .popup_window::-webkit-scrollbar {
    display: none;
  }

  .present_select {
    padding: 10px;
    text-align: center;
    border: #ff8635 solid 2px;
    background-repeat: repeat;
    margin: 0px 15px 70px 15px;
    border-image-source: url(../image/line.png);
    border-image-slice: 1;
    border-image-width: 2px;
    border-image-repeat: stretch;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.4);
  }
  .present_select label {
    width: 50%; //float: left;
  }
  .radio_button {
    display: none;
  }
  .radio_button:checked {
    background-image: url("../image/check_icon.png");

  }
  .present_button {
    display: inline-block;
    width: 49%; //max-width:150px;
    /*height :150px;*/
    text-align: center;
    vertical-align: middle;
  }
  .present_image_block {
    position: relative; //border:1px solid #5688bb;
    /*text-align:center;*/
    /*border-radius:18px;*/
  }
  .present_image_block_ticket {
    position: relative;
    border: 1px solid #5688bb; //text-align:center;
    border-radius: 18px;
  }
  .present_button_border {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
  }
  .present_image {
    max-height: 100%;
    max-width: 100%; //padding: 10px;
  }

  .present_image_ticket {
    border-radius: 5px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.4);
  }

  .check_image {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 101%;
    height: 100%;
  }

  .present_title_blue {
    border: 1px solid #5688bb;
  }
  .present_title_text {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    height: 24%;
    opacity: 0.8;
    font-size: 10px;
    color: #FFFFFF;
    font-family: serif;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /* 縦方向中央揃え（Safari用） */
    align-items: center;
    /* 縦方向中央揃え */
    -webkit-justify-content: center;
    /* 横方向中央揃え（Safari用） */
    justify-content: center;
    /* 横方向中央揃え */
    font-weight: bold;
    font-size: 13px;

  }
  .present_title_text_ticket {
    position: absolute;
    bottom: 4px;
    left: 0;
    text-align: center;
    width: 100%;
    height: 24%;
    font-size: 10px;
    color: #FFFFFF;
    font-family: serif;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /* 縦方向中央揃え（Safari用） */
    align-items: center;
    /* 縦方向中央揃え */
    -webkit-justify-content: center;
    /* 横方向中央揃え（Safari用） */
    justify-content: center;
    /* 横方向中央揃え */
    font-weight: bold;
    font-size: 13px;
    background-color: rgba(86, 136, 187, 0.8);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  .error_text {
    font-size: 15px;
    text-align: left;
    color: #FF0000;
    margin-left: 0px;
    margin-top: 5px;
  }
  .overlap_error {
    font-size: 15px;
    text-align: center;
    color: #FF0000;
  }
  .overlay {
    display: block;
    background-color: #000000;
    width: 2000px;
    height: 1000px;
    opacity: 0.5;
    position: fixed;
    top: 0px;
    left: 0px;
  }
  .popup_frame {
    border-radius: 15px;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
  }
  .popup_frame::-webkit-scrollbar {
    display: none;
  }
}
