.content .content_box {
  /* end profile_form */
}
.content .content_box .enter_wrap {
  width: 100%;
  /* end template_wrap */
  /* end font_style_wrap */
}
.content .content_box .enter_wrap:not(:last-child) {
  margin-bottom: 50px;
}
.content .content_box .enter_wrap input[type=text] {
  padding: 1rem;
  width: 100%;
  font-size: 1rem;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.content .content_box .enter_wrap textarea {
  padding: 1rem;
  width: 100%;
  height: 150px;
  font-size: 1rem;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  resize: none;
}
.content .content_box .enter_wrap .warning {
  margin-top: 5px;
  color: #333;
  display: block;
}
.content .content_box .enter_wrap .template_wrap {
  padding: 20px;
  width: 100%;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.content .content_box .enter_wrap .template_wrap li {
  position: relative;
  top: 0px;
  left: 0px;
  width: 190px;
  height: auto;
  cursor: pointer;
}
.content .content_box .enter_wrap .template_wrap li:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(59, 163, 238, 0.1);
  border: solid 5px #3ba3ee;
  border-radius: 5px;
  box-sizing: border-box;
}
.content .content_box .enter_wrap .template_wrap li:nth-of-type(-n+4) {
  margin-bottom: 25px;
}
.content .content_box .enter_wrap .template_wrap li img {
  width: 100%;
  display: block;
}
.content .content_box .enter_wrap .template_wrap li.selected:before {
  display: block;
}
.content .content_box .enter_wrap .template_wrap li.selected img {
  border-radius: 5px;
}
.content .content_box .enter_wrap label.font_color_wrap,
.content .content_box .enter_wrap label.font_style_wrap {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 50px;
  display: block;
}
.content .content_box .enter_wrap label.font_color_wrap:after,
.content .content_box .enter_wrap label.font_style_wrap:after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 100%;
  display: block;
  border-top: solid 1px #ccc;
  border-right: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #429ce6;
  box-sizing: border-box;
  background-image: url(./img/select_arrow.png);
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
}
.content .content_box .enter_wrap label.font_color_wrap select,
.content .content_box .enter_wrap label.font_style_wrap select {
  padding: 0px 20px;
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #ccc;
  cursor: pointer;
}
.content .content_box .profile_form .profile_form_content {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  /* end left_profile */
  /* end right_profile */
}
.content .content_box .profile_form .profile_form_content .left_profile {
  width: 46.5%;
}
.content .content_box .profile_form .profile_form_content .left_profile .box_yellow {
  margin-bottom: 50px;
  padding: 20px 20px 21px 20px;
}
.content .content_box .profile_form .profile_form_content .left_profile .box_yellow p {
  font-size: 16px;
}
.content .content_box .profile_form .profile_form_content .left_profile .box_yellow p:not(:last-child) {
  margin-bottom: 12px;
}
.content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap {
  padding: 20px;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}
.content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group label {
  position: relative;
  top: 0px;
  left: 0px;
  padding: 8px;
  font-size: 14px;
  display: block;
  background-color: #ddd;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group label:not(:last-child) {
  margin-bottom: 30px;
}
.content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group label input[type=checkbox] {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  cursor: pointer;
}
.content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group label span {
  padding-left: 20px;
  display: block;
}
.content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group .checked_style {
  color: #fff;
  background-color: #429ce6;
}
.content .content_box .profile_form .profile_form_content .right_profile {
  width: 46.5%;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .gender_birthday_wrap {
  width: 140px;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .ico_wrap {
  width: 236px;
  height: auto;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .ico_wrap label {
  position: relative;
  top: 0px;
  left: 0px;
  padding-top: 100%;
  width: 100%;
  height: 0px;
  display: block;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 5px;
  background-image: url(./img/profile_sample.jpg);
  background-repeat: no-repeat;
  background-position: top 50% left 50%;
  background-size: cover;
  box-shadow: 0px 0px 0px 10px #fff inset;
  cursor: pointer;
  transition: opacity 0.3s;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .ico_wrap label:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: url(./img/ico_select.png);
  background-repeat: no-repeat;
  background-position: top 50% left 50%;
  background-size: 60px auto;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .ico_wrap label:hover {
  opacity: 0.75;
}
.content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .ico_wrap label input[type=file] {
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.content .content_box .profile_form .submit_btn {
  position: relative;
  top: 0px;
  left: 0px;
  padding: 22px 0px;
  width: 100%;
  height: auto;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #fff;
  text-align: center;
  background-color: #429ce6;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.3s;
}
.content .content_box .profile_form .submit_btn:hover {
  opacity: 0.75;
}
.content .content_box .profile_form .submit_btn svg {
  position: absolute;
  bottom: 7px;
  left: 50%;
  display: none;
  transform: translateX(-50%);
}
.content .content_box .preview_btn {
  position: fixed;
  right: 15px;
  bottom: 15px;
  padding: 22px;
  color: #fff;
  font-size: 14px;
  background-color: rgba(243, 161, 63, 0.9);
  border: solid 1px #ccc;
  box-sizing: border-box;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.content .content_box .preview_btn:hover {
  background-color: rgba(249, 176, 92, 0.9);
}
.content .content_box .preview_btn svg {
  position: absolute;
  bottom: 7px;
  left: 50%;
  display: none;
  transform: translateX(-50%);
}
.content .content_box .preview_box_wrap {
  z-index: 100;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  display: none;
  background-color: rgba(0, 0, 0, 0.75);
}
.content .content_box .preview_box_wrap .preview_box {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #ccc;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
}
.content .content_box .preview_box_wrap .preview_box .close_btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: #888;
  border: solid 1px #bbb;
  border-radius: 15px;
  box-sizing: border-box;
  cursor: pointer;
}
.content .content_box .preview_box_wrap .preview_box .close_btn:before, .content .content_box .preview_box_wrap .preview_box .close_btn:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 3px;
  display: block;
  background-color: #ccc;
}
.content .content_box .preview_box_wrap .preview_box .close_btn:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.content .content_box .preview_box_wrap .preview_box .close_btn:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.content .content_box .preview_box_wrap .preview_box .canvas_wrap {
  width: 300px;
  height: 425px;
}
.content .content_box .preview_box_wrap .preview_box .canvas_wrap canvas {
  width: 100%;
  height: 100%;
}
.content .content_box .preview_box_wrap .preview_box .download_btn {
  margin: 20px auto 0px auto;
  width: 200px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1rem;
  display: none;
  background-color: #429ce6;
  border: solid 1px #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.3s;
}
.content .content_box .preview_box_wrap .preview_box .download_btn a {
  width: 100%;
  height: 100%;
  display: block;
  color: #fff;
  text-decoration: none;
}
.content .content_box .preview_box_wrap .preview_box .download_btn a:hover {
  opacity: 1;
}
.content .content_box .preview_box_wrap .preview_box .download_btn:hover {
  opacity: 0.75;
}

@media screen and (max-width: 480px) {
  .content .content_box {
    /* end profile_form */
  }
  .content .content_box .enter_wrap .template_wrap {
    display: block;
  }
  .content .content_box .enter_wrap .template_wrap li {
    width: 100%;
  }
  .content .content_box .enter_wrap .template_wrap li:nth-of-type(-n+4) {
    margin-bottom: 0px;
  }
  .content .content_box .enter_wrap .template_wrap li:not(:last-child) {
    margin-bottom: 25px;
  }
  .content .content_box .profile_form .profile_form_content {
    display: block;
    /* end left_profile */
    /* end right_profile */
  }
  .content .content_box .profile_form .profile_form_content .left_profile {
    margin-bottom: 50px;
    width: 100%;
  }
  .content .content_box .profile_form .profile_form_content .left_profile .box_yellow {
    padding: 15px;
  }
  .content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap {
    padding: 30px;
    display: block;
  }
  .content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group:not(:last-child) {
    margin-bottom: 30px;
  }
  .content .content_box .profile_form .profile_form_content .left_profile .checkbox_wrap .checkbox_group label span {
    padding-left: 22px;
  }
  .content .content_box .profile_form .profile_form_content .right_profile {
    width: 100%;
  }
  .content .content_box .profile_form .profile_form_content .right_profile .right_top_profile {
    margin-bottom: 50px;
    display: block;
  }
  .content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .gender_birthday_wrap {
    margin-bottom: 50px;
    width: 100%;
  }
  .content .content_box .profile_form .profile_form_content .right_profile .right_top_profile .ico_wrap {
    width: 100%;
  }
  .content .content_box .profile_form .submit_btn:hover {
    opacity: 1;
  }
  .content .content_box .preview_btn:hover {
    background-color: rgba(243, 161, 63, 0.9);
  }
  .content .content_box .preview_box_wrap .preview_box {
    padding: 15px;
  }
  .content .content_box .preview_box_wrap .preview_box .canvas_wrap {
    width: 62.5vw;
    height: 88.5416666667vw;
  }
  .content .content_box .preview_box_wrap .preview_box .download_btn {
    margin-top: 15px;
  }
  .content .content_box .preview_box_wrap .preview_box .download_btn:hover {
    opacity: 10;
  }
}