* {
  -ms-font-feature-settings: "normal";
  box-sizing: border-box;
  line-height: 1;
  min-height: 0%;
}

html {
}

body {
  background: url(../images/base.png) no-repeat center center/cover;
  height: 100%;
  min-width: 320px;
  font-family: "YakuHanJP", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

img {
  height: auto;
  max-width: 100%;
}

label {
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  display: none;
}

.inner {
  margin: auto;
  padding: 0 2rem;
  position: relative;
  width: 100%;
}

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

  .sp {
    display: block;
  }
}

/*ヘッダー
*****************************/
.header {
  width: 100%;
  background: #fff;
  padding: 30px 0;
}

.header-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner::after {
  content: "";
  background: url(../images/bg_header.png) no-repeat center center/cover;
  width: 420px;
  height: 60px;
  position: absolute;
  top: 69px;
  left: 50%;
  transform: translateX(-50%);
}

.header-title {
  font-size: 18px;
}

.header-title span {
  position: relative;
}

.header-title span::before {
  content: "";
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #00bf9f;
  position: absolute;
  top: 0;
  left: 7.5px;
}

.header-logo {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.header-logo a {
  display: block;
  transition: 0.3s;
}

.header-logo a:hover {
  opacity: 0.6;
}

.header-link {
  display: flex;
  align-items: center;
}

.header-link-text {
  font-size: 12px;
  font-weight: bold;
}

.header-link a {
  transition: 0.3s;
}

.header-link a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 900px) {
  .header-title {
    font-size: 14px;
  }

  .header-title span::before {
    top: -1px;
    left: 5.5px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header-inner::after {
    width: 210px;
    height: 30px;
    top: 48px;
  }

  .header-title {
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .header-title span::before {
    width: 2px;
    height: 2px;
    top: 0px;
    left: 4px;
  }

  .header-logo {
    top: -1px;
  }

  .header-logo img {
    width: 111px;
    height: 75px;
  }

  .header-link-text {
    display: none;
  }

  .header-link-image {
    width: 30px;
    height: 35px;
  }
}

/*
*********************************/
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  position: relative;
  flex: 1;
  width: 900px;
  max-width: 100%;
  margin: auto;
  padding: 0 20px 120px;
}

@media screen and (max-width: 768px) {
  .main {
    padding: 0 20px 60px;
  }
}

/*top
*********************************/
.top {
  margin-top: 120px;
}

.top-title {
  color: #fff;
  font-size: 48px;
  text-align: center;
  line-height: 1.3;
}

.top-lead {
  margin-top: 15px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.top-joe {
  display: flex;
  justify-content: center;
  width: 85%;
  margin: 40px auto 0;
}

.top-joe-cap {
  position: relative;
  width: 280px;
  z-index: 1;
}

.top-joe-cap p {
  margin-top: 20px;
  color: #4c1a13;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5625;
}

.top-joe-cap-image {
  position:relative;
  width: 100%;
  height: 76%;
}

.top-joe-cap-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.top-joe-cap-image img:first-child {
  z-index: 4;
}

.top-joe-image {
  position: relative;
  margin-left: -40px;
  z-index: 2;
}

.top-desc {
  margin-top: 50px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}

.top-link {
  margin-top: 30px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.top-link a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: opacity 0.2s;
}
.top-link a::after {
  content: '';
  display: inline-flex;
  margin-left: 0.4em;
  width: 1em;
  height: 1em;
  background: url(../images/icon_link_arrow.svg) right center/contain no-repeat;
}
.top-link a:hover {
  opacity: 0.6;
}

.top-step {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  text-align: center;
}

.top-step li {
  position: relative;
  width: 100px;
  height: 100px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  padding: 20px 0;
  margin-right: 40px;
}

.top-step li.on {
  background: #0088cc;
  border: 4px solid #b6e2f8;
}

.top-step li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -44px;
  transform: translateY(-50%);
  display: block;
  width: 40px;
  height: 4px;
  background: #fff;
  opacity: 0.5;
}

.top-step li:last-child {
  margin-right: 0;
}

.top-step li:last-child:after {
  display: none;
}

.top-step li span {
  display: block;
  color: #fff;
}

.top-step li .top-step-number {
  font-size: 20px;
  font-family: "Rubik", sans-serif;
}

.top-step li .top-step-text {
  margin-top: 12px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

.top-step li .top-step-text span {
  display: inline;
}

@media screen and (max-width: 768px) {
  .top {
    margin-top: 70px;
  }

  .top-title {
    font-size: 28px;
    font-weight: bold;
  }

  .top-lead {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .top-joe {
    margin-top: 25px;
    display: block;
  }
  
  .top-joe-cap {
    width: auto;
  }

  .top-joe-cap-image {
    height: 130px;
  }

  .top-joe-cap img {
    display: block;
    max-width: 130px;
    margin: auto;
  }
  
  .top-joe-cap p {
    margin-top: 0;
    font-size: 13px;
  }
  
  .top-joe-image {
    display: block;
    max-width: 318px;
    margin: 10px auto 0;
  }

  .top-desc {
    font-size: 13px;
  }

  .top-link {
    margin-top: 15px;
    font-size: 12px;
  }
  .top-link a {
    justify-content: center;
  }

  .top-step {
    margin-top: 25px;
  }

  .top-step li {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 6px 0;
    margin-right: 8px;
  }

  .top-step li.on {
    border: 2px solid #b6e2f8;
  }

  .top-step li::after {
    right: -10px;
    width: 8px;
    height: 3px;
  }

  .top-step li .top-step-number {
    font-size: 12px;
  }

  .top-step li .top-step-text {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.3;
  }

  .top-step li:first-child .top-step-text {
    margin-top: 6px;
  }

  .top-step li .top-step-text span {
    display: none;
  }
}

@media screen and (max-width: 374px) {
  .top-step li {
    width: 50px;
    height: 50px;
    padding: 6px 0;
    margin-right: 6px;
  }

  .top-step li::after {
    right: -8px;
    width: 6px;
    height: 2px;
  }

  .top-step li .top-step-number {
    font-size: 10px;
  }

  .top-step li .top-step-text {
    margin-top: 0;
    font-size: 10px;
  }
}

/*フォーム共通
*********************************/
.form {
  margin-top: 60px;
}

.form-title {
  width: 360px;
  margin: auto;
  padding: 13px 0;
  border-radius: 30px;
  background: #6a3f1d;
  color: #fff360;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.form-lead {
  margin-top: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.form-required {
  display: inline-block;
  width: 34px;
  height: 18px;
  margin: 0 5px;
  background: #ee0000;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
}

.form-required.ml0 {
  margin-left: 0;
}

.form-customer {
  margin-top: 80px;
}

.form-item {
  background: #fff;
  border-radius: 40px;
  margin-top: 40px;
  padding: 60px 80px;
}

.form-login .form-item {
  position: relative;
}

.form-login .form-item::before {
  content: "";
  background: url(../images/icon_joekun_01.png) no-repeat center center/cover;
  display: block;
  width: 115px;
  height: 184px;
  position: absolute;
  top: -30%;
  right: 3%;
}

.form-item-inner {
  display: flex;
}

.form-item-inner.center {
  align-items: center;
}

.form-item-inner:not(:first-child) {
  border-top: 1px dashed #83c9c6;
  margin-top: 40px;
  padding-top: 40px;
}

.form-item-inner dt {
  width: 28.5%;
  line-height: 1.2;
}

.form-item-inner dd {
  width: 71.5%;
}

.form-input {
  width: 100%;
  background: #f5f5f5;
  border-radius: 5px;
  padding: 15px 10px;
  font-size: 18px;
}

.form-input::placeholder {
  color: #999999;
}

.form-input.bg-error {
  background: #ffe8e8;
}

.form-input-error {
  margin-top: 5px;
  color: #e40000;
  font-size: 12px;
}

.form-item-name .form-input-error {
  position: absolute;
}

.form-input-list li {
  padding-left: 1em;
  text-indent: -1em;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.form-input-list a {
  color: #0088cc;
  transition: 0.3s;
}

.form-input-list a:hover {
  opacity: 0.6;
}

.form-input-confirm {
  margin: 30px 0 10px;
  font-size: 14px;
  font-weight: bold;
}

.form-item-email,
.form-item-password {
  margin-top: -16px;
}

.form-input-password .form-input {
  padding-right: 35px;
}

.field-icon {
  cursor: pointer;
  color: #555;
  float: right;
  margin-right: 10px;
  margin-top: -35px;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 900px) {
  .form-item {
    padding: 60px 40px;
  }
}

@media screen and (max-width: 768px) {
  .form {
    margin-top: 30px;
  }

  .form-item {
    margin-top: 25px;
    padding: 35px 25px;
    border-radius: 25px;
  }

  .form-login .form-item::before {
    background: url(../images/icon_joekun_01_sp.png) no-repeat center
      center/cover;
    width: 75px;
    height: 121px;
    top: -13.5%;
    right: 1%;
  }

  .form-title {
    width: 220px;
    padding: 7px 0;
    font-size: 16px;
  }

  .form-lead {
    margin-top: 20px;
    padding-right: 20px;
    font-size: 12px;
  }

  .form-required {
    margin-left: 10px;
    width: 30px;
    height: 17px;
    font-size: 11px;
    line-height: 17px;
    letter-spacing: 0;
  }

  .form-required.ml0 {
    margin-left: 10px;
  }

  .form-item-inner {
    display: block;
  }

  .form-item-inner:not(:first-child) {
    margin-top: 30px;
    padding-top: 30px;
  }

  .form-item-inner.center {
    align-items: center;
  }

  .form-item-inner dt,
  .form-item-inner dd {
    width: 100%;
  }

  .form-item-inner dt {
    margin-bottom: 10px;
  }

  .form-input {
    padding: 15px 10px;
    font-size: 14px;
  }

  .form-input-confirm {
    margin: 30px 0 10px;
    font-size: 12px;
  }

  .form-item-name .form-input-error {
    position: relative;
  }

  .form-item-email,
  .form-item-password {
    margin-top: 0;
  }

  .field-icon {
    margin-right: 10px;
    margin-top: -32px;
  }
}

@media screen and (max-width: 374px) {
  .form-item {
    padding: 30px 15px;
  }

  .form-login .form-item::before {
    right: -5%;
  }
}

/*LINE
*******************************/
.form-item-line {
  margin: -15px 0 20px;
  display: flex;
  align-items: center;
}

.form-item-line-button {
  position: relative;
  background: #06c755;
  border-radius: 5px;
  width: 280px;
  max-width: 100%;
  padding: 17px 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: 0.2s;
}

.form-item-line-button:hover {
  background: #05b34c;
}

.form-item-line-button:active {
  background: #048b3b;
  transition: 0;
}

.form-item-line-button::before {
  content: "";
  background: #000;
  opacity: 0.08;
  width: 1px;
  height: 50px;
  display: block;
  position: absolute;
  left: 50px;
  top: 0;
}

.form-item-line-button::after {
  content: "";
  background: url(../images/icon_line.png) no-repeat center center/cover;
  width: 38px;
  height: 35px;
  display: block;
  position: absolute;
  left: 7px;
  top: 8px;
}

.form-item-line-button.on {
  background: #fff;
  border: 1px solid #efefef;
  color: #d2d2d2;
}

.form-item-line-button.on:hover {
  background: #fff;
}

.form-item-line-button.on:active {
  background: #fff;
}

.form-item-line-button.on::before {
  background: #efefef;
  opacity: 1;
}

.form-item-line-button.on::after {
  content: "";
  background: url(https://www.ichijo.co.jp/virtual/assets/images/form/icon_line_on.png)
    no-repeat center center/cover;
  width: 38px;
  height: 35px;
  display: block;
  position: absolute;
  left: 7px;
  top: 8px;
}

.form-item-line-status {
  margin-left: 30px;
}

.form-item-line-status-text {
  font-size: 14px;
  font-weight: bold;
}

.form-item-line-status-modal {
  cursor: pointer;
  margin-top: 10px;
  color: #0088cc;
  font-size: 12px;
  text-align: center;
  transition: 0.3s;
}

.form-item-line-status-modal:hover {
  opacity: 0.6;
}

@media screen and (max-width: 768px) {
  .form-item-line {
    margin: 0 0 20px;
    display: block;
  }

  .form-item-line-text {
    margin: 20px 0 0;
    text-align: center;
  }

  .form-item-line-button {
    width: 100%;
  }

  .form-item-line-status {
    margin-top: 20px;
    margin-left: 0;
    text-align: center;
  }
}

/*名前
***********************************/
.form-item-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-item-text {
  font-size: 14px;
  font-weight: bold;
}

.form-item-name input {
  width: 200px;
}

@media screen and (max-width: 768px) {
  .form-item-name {
    flex-wrap: wrap;
  }

  .form-item-text {
    margin-top: 20px;
    font-size: 12px;
    width: 30px;
  }

  .form-item-name-input {
    width: calc(100% - 30px);
  }

  .form-item-name input {
    margin-top: 20px;
    width: 100%;
  }
}

/*性別
***********************************/

.form-radio {
}

.form-radio {
  position: relative;
  padding-left: 25px;
}

.form-radio:not(:first-child) {
  margin-left: 40px;
}

.form-radio span::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d1d1;
  border-radius: 50%;
}

.form-radio > input[type="radio"]:checked + span::before {
  border: 2px solid #0088cc;
}

.form-radio > input[type="radio"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #0088cc;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .form-radio {
    font-size: 14px;
  }
  .form-radio span::before {
    top: 1px;
  }
  .form-radio > input[type="radio"]:checked + span::after {
    top: 5px;
  }
}

/*年代
***********************************/
.form-item-select {
  position: relative;
  width: 200px;
}

.form-item-select::after {
  content: "";
  position: absolute;
  top: 38%;
  right: 10px;
  border-bottom: solid 3px #0088cc;
  border-right: solid 3px #0088cc;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.form-item-select select {
  width: 100%;
  background: #f5f5f5;
  border-radius: 5px;
  padding: 21px 10px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .form-item-select {
    width: 100%;
  }

  .form-item-select select {
    padding: 18px 10px;
    font-size: 14px;
  }
}

/*住所
***********************************/
.form-item-address {
  margin-top: -16px;
}

.form-item-address-inner {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.form-item-address-label {
  width: 100px;
  font-size: 14px;
  font-weight: bold;
}

.form-item-address-button {
  background: #0088cc;
  border-radius: 5px;
  width: 80px;
  margin-left: 20px;
  padding: 19px 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 3px 0 0 #006699;
  transition: 0.3s;
}

.form-item-address-button:hover {
  background: #0099e5;
}

.form-item-address-input {
  width: calc(100% - 100px);
}

.form-item-address-zip {
  margin-top: 0;
  align-items: flex-start;
}

.form-item-address-zip .form-item-address-label {
  padding-top: 20px;
}

.form-item-address-zip-01 {
  width: 80px;
}

.form-item-address-zip-02 {
  width: 100px;
}

@media screen and (max-width: 768px) {
  .form-item-address {
    margin-top: 0;
  }

  .form-item-address-inner {
    display: block;
  }

  .form-item-address-label {
    width: 100%;
  }

  .form-item-address-input {
    margin-top: 10px;
    width: 100%;
  }

  .form-item-address-button {
    width: 70px;
    margin-left: 20px;
    padding: 14px 0;
    font-size: 12px;
  }

  .form-item-address-zip .form-item-address-label {
    padding-top: 0;
  }

  .form-item-address-zip-01 {
    width: 75px;
  }

  .form-item-address-zip-02 {
    width: 75px;
  }
}

@media screen and (max-width: 374px) {
  .form-item-address-input span {
    font-size: 14px;
  }

  .form-item-address-zip-01 {
    width: 65px;
  }

  .form-item-address-zip-02 {
    width: 65px;
  }
}

/*電話番号
***********************************/
.form-item-tel {
  display: flex;
  align-items: center;
}


.form-item-tel-01 {
  width: 80px;
}

.form-item-tel-02,
.form-item-tel-03 {
  width: 100px;
}

.form-item-tel span {
  margin: 0 10px;
}

@media screen and (max-width: 768px) {
  .form-item-tel-01,
  .form-item-tel-02,
  .form-item-tel-03 {
    width: 24%;
  }
}

/*ご計画内容について
***********************************/
.form-item-plan-text {
  font-size: 14px;
  line-height: 1.5;
}

.form-item-plan-list {
  display: flex;
  flex-wrap: wrap;
}

.form-item-plan-list li {
  margin-top: 25px;
  width: 50%;
}

.form-checkbox {
}

.form-checkbox > span {
  position: relative;
  padding-left: 25px;
}

.form-checkbox > span::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d1d1;
  border-radius: 2px;
}

.form-checkbox > input[type="checkbox"]:checked + span::before {
  border: 2px solid #0088cc;
  background: #0088cc;
}

.form-checkbox > input[type="checkbox"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 6px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  width: 8px;
  height: 12px;
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .form-checkbox > span {
    display: inline-block;
    padding-left: 25px;
    font-size: 14px;
    line-height: 1.4;
  }

  .form-checkbox > span::before {
    top: 1px;
    width: 18px;
    height: 18px;
  }

  .form-checkbox > input[type="checkbox"]:checked + span::after {
    width: 6px;
    height: 11px;
    top: 3px;
  }
}

/*個人情報
***********************************/
.privacy {
  padding: 30px 0;
  margin-top: 60px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.4);
  border-style: solid;
  border-radius: 10px;
  text-align: center;
}

.privacy-text {
  color: #fff;
  font-size: 16px;
}

.privacy-text a {
  text-decoration: underline;
  transition: 0.3s;
}

.privacy-text a:hover {
  text-decoration: none;
}

.privacy-checkbox {
  display: block;
  margin-top: 30px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.privacy-checkbox.form-checkbox > span::before {
  border: 2px solid #fff;
}

.privacy-checkbox input {
  display: none;
}

.form-submit-text {
  margin-top: 60px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .privacy {
    padding: 30px 25px;
    margin-top: 40px;
    text-align: left;
  }

  .privacy-text {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
  }

  .privacy-checkbox {
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
  }

  .privacy-checkbox > span {
    height: 40px;
  }

  .form-submit-text {
    margin-top: 40px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0;
  }
}

@media screen and (max-width: 374px) {
  .form-submit-text {
    font-size: 13px;
  }
}

/*ボタン
***********************************/
.form-button {
  display: block;
  border-radius: 30px;
  width: 320px;
  padding: 16px 0;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 40px auto 0;
  background-color: #ff8e0e;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #ff8800 10px, #ff8800 20px );
  box-shadow: 0 3px 0 0 #cb6a00;
}

.form-button:hover {
  background-color: #ff9c00;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #FF9500 10px, #FF9500 20px );
  box-shadow: 0 3px 0 0 #cc7e00;
}

@media screen and (max-width: 768px) {
  .form-button {
    max-width: 335px;
    width: 100%;
    margin: 30px auto 0;
    padding: 15px 0;
    font-size: 20px;
  }
}

/*モーダル
*****************************/
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;
}

.modal-bg {
  background: rgba(0, 0, 0, 0.8);
  height: 120vh;
  position: absolute;
  width: 100%;
}

.modal-content {
  background: url(../images/bg_modal.png) no-repeat center center / 100%;
  max-width: 600px;
  max-height: 402px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-lottery-win .modal-content {
  background: url(../images/bg_modal_win.png) no-repeat center center / 100%;
}


.modal-content-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.modal-content-image {
  display: block;
  margin: auto;
  width: 110px;
}

.modal-content-image.lose{
  width: 200px;
}

.modal-content-image.lose5{
  width: 110px;
}


.modal-content-text {
  margin-top: 40px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.modal-content-text span {
  opacity: 0;
}

.modal-content-text span:nth-child(1) {
  animation: Puru 1.8s step-start 0.6s;
  animation-fill-mode: forwards;
}

.modal-content-text span:nth-child(2) {
  animation: Puru 1.8s step-start 1.2s;
  animation-fill-mode: forwards;
}

.modal-content-text span:nth-child(3) {
  animation: Puru 1.8s step-start 1.8s;
  animation-fill-mode: forwards;
}

@keyframes Puru {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  
}


.modal-content-button {
  position: absolute;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-button button,
.modal-content-button a {
  border-radius: 30px;
  width: 300px;
  padding: 16px 0;
  margin: 0 10px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.modal-content-button-cancel {
  background-size: auto auto;
  background-color: rgba(155, 144, 135, 1);
  background-image: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 10px,
    rgba(160, 150, 141, 1) 10px,
    rgba(160, 150, 141, 1) 20px
  );
  box-shadow: 2px 3px 0 0 #6e6760;
}

.modal-content-button-ok {
  background-size: auto auto;
  background-color: rgba(0, 136, 204, 1);
  background-image: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 10px,
    rgba(13, 142, 207, 1) 10px,
    rgba(13, 142, 207, 1) 20px
  );
  box-shadow: 2px 3px 0 0 #006699;
}

.modal-content-button-result {
  background-size: auto auto;
  background-color: rgba(255, 142, 13, 1);
  background-image: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 10px,
    rgba(255, 136, 0, 1) 10px,
    rgba(255, 136, 0, 1) 20px
  );
  box-shadow: 2px 3px 0 0 #cc6d00;
}




@media screen and (max-width: 768px) {
  .modal-content {
    background: url(../images/bg_modal_sp.png)
      no-repeat center center/ 100% 100%;
    max-height: 352px;
    max-width: 344.5px;
    padding: 0 20px;
  }

  .modal-lottery-win .modal-content {
    background: url(../images/bg_modal_win_sp.png) no-repeat center center / 100%;
  }

  .modal-content-image {
    width: 90px;
  }

  .modal-content-image.lose{
    width: 190px;
  }

  .modal-content-image.lose5{
    width: 90px;
  }


  .modal-content-text {
    margin-top: 25px;
    font-size: 24px;
  }

  .modal-content-button {
    flex-direction: column-reverse;
    max-width: 300px;
    width: 100%;
  }

  .modal-content-button-lose {
    flex-direction: column-reverse;
    bottom: -135px;
  }


  .modal-content-button-lose .modal-content-button-cancel {
    margin-top: 20px;
  }

  .modal-content-button button {
    width: 100%;
    margin: auto;
    padding: 17px 0;
    font-size: 16px;
  }

  .modal-content-close {
    bottom: -8%;
  }
}

/*確認画面
*********************************/
.form-confirm .form-login .form-item::before {
  display: none;
}

.form-confirm-lead {
  margin: 20px 0 40px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}

.form-item-plan-list-confirm {
  margin-top: -4px;
  display: block;
}

.form-item-plan-list-confirm li {
  margin-top: 0;
  line-height: 1.5;
  width: 100%;
}

.form-confirm .privacy {
  padding: 10px 20px 20px;
}

.form-confirm .privacy-text {
  margin-top: 10px;
  font-size: 16px;
}

.form-button-wrap {
  display: flex;
  align-items: center;
}

.form-button-wrap .form-button {
  width: 320px;
}

.form-button-back {
  background-size: auto auto;
  background-color: #a1968d;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #9b9087 10px, #9b9087 20px );
  box-shadow: 0 3px 0 0 #6e675f;
}

.form-button-back:hover {
  background-color: #b3a99d;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #afa499 10px, #afa499 20px );
  box-shadow: 0 3px 0 0 #817a72;
}

.form-button-next {
  background-size: auto auto;
  background-color: #078ece;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #0088cb 10px, #0088cb 20px );
  box-shadow: 0 3px 0 0 #026699;
}

.form-button-next:hover {
  background-color: #0a9ee5;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #0098e5 10px, #0098e5 20px );
  box-shadow: 0 3px 0 0 #0277b3;
}


@media screen and (max-width: 768px) {
  .form-confirm-lead {
    font-size: 14px;
  }

  .form-confirm .privacy {
    padding: 10px 20px 20px;
  }

  .form-confirm .privacy-text {
    margin-top: 10px;
    font-size: 12px;
  }

  .form-button-wrap {
    flex-direction: column-reverse;
  }

  .form-button-wrap .form-button {
    width: 100%;
  }
}

@media screen and (max-width: 374px) {
  .form-confirm-lead {
    margin: 10px 0 20px;
    font-size: 12px;
  }
}

/*入力完了画面
**************************************/
.form-fix {
  position: relative;
  background: url(../images/bg_modal.png) no-repeat center center / 100% 100%;
  margin-top: 90px;
  padding: 150px 40px 140px;
}

.form-fix::before {
  content: "";
  background: url(../images/icon_joekun_02.png) no-repeat center center/ cover;
  display: block;
  width: 163px;
  height: 152px;
  position: absolute;
  top: -30px;
  left: 48.6%;
  transform: translateX(-50%);
}

.form-fix-text {
  font-size: 24px;
  text-align: center;
  line-height: 1.33;
}

.form-fix-button {
  display: block;
  margin: 40px auto 0;
  border-radius: 30px;
  width: 300px;
  padding: 16px 0;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background-size: auto auto;
  background-color: rgba(0, 136, 204, 1);
  background-image: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 10px,
    rgba(13, 142, 207, 1) 10px,
    rgba(13, 142, 207, 1) 20px
  );
  box-shadow: 2px 3px 0 0 #006699;
}

@media screen and (max-width: 768px) {
  .form-fix {
    background: url(../images/bg_modal_sp.png) no-repeat center center / 100%
      100%;
    margin: 35px auto 0;
    padding: 100px 20px 70px;
    max-width: 345px;
  }

  .form-fix::before {
    width: 115.5px;
    height: 107.5px;
    top: -19px;
    left: 47.6%;
  }

  .form-fix-text {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .form-fix-button {
    margin: 40px auto 0;
    width: 200px;
    padding: 16px 0;
    font-size: 16px;
  }
}


.lottery {
  background: #fff;
  border-radius: 40px;
  margin-top: 40px;
  padding: 40px 60px;
}

.lottery-title {
  color: #4c1a13;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.lottery-title span {
  color: #00bf9f;
  font-size: 48px;
}

.lottery-list {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.lottery-list li {
  text-align: center;
  opacity: 0.65;
}

.lottery-list li.active {
  opacity: 1;
}


.lottery-list-number {
  color: #4c1a13;
  font-size: 24px;
  line-height: 1.25;
}

.lottery-list-number span {
  font-weight: bold;
  font-size: 30px;
}

.lottery-list-image {
  margin: 20px auto 0;
  display: block;

}

.lottery-list-status {
  margin-top: 20px;
  color:#73b1dc;
  font-size: 26px;
  font-weight: bold;
}

.lottery-list-status.completed {
  color: #999999;
}

.lottery-list-status.win {
  color: #cf435e;
}

.lottery-iframe {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: 40px;
  padding-top: 75%;
  border-radius: 40px;
}

.lottery-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 40px;
}

.lottery-notes {
  background: #fff;
  padding: 10px 30px;
}

.lottery-notes-block:last-child {
  margin-top: 40px;
}

.lottery-notes-title {
  color: #00bf9f;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.lottery-notes-text {
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.6667;
  text-align: left;
}

.lottery-notes-text span {
  font-weight: bold;
}

.lottery-notes-text a {
  color: #0088cc;
}

.lottery-button {
  display: block;
  border-radius: 30px;
  max-width: 320px;
  width: 100%;
  padding: 16px 0;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 25px auto 0;
  background-color: #ff8e0e;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #ff8800 10px, #ff8800 20px );
  box-shadow: 0 3px 0 0 #cb6a00;
}

.lottery-button:hover {
  background-color: #ff9c00;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #FF9500 10px, #FF9500 20px );
  box-shadow: 0 3px 0 0 #cc7e00;
}

.lottery-start-button.disabled {
  background-size: auto auto;
  background-color: #078ece;
  background-image: repeating-linear-gradient( 135deg, transparent, transparent 10px, #0088cb 10px, #0088cb 20px );
  box-shadow: 0 3px 0 0 #026699;
}

.lottery-checkbox {
  display: block;
  margin-top: 30px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.lottery-checkbox > span {
  position: relative;
  padding-left: 25px;
}

.lottery-checkbox > span::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d1d1;
  border-radius: 2px;
}

.lottery-checkbox input {
  display: none;
}

.lottery-checkbox > input[type="checkbox"]:checked + span::before {
  border: 2px solid #0088cc;
  background: #0088cc;
}

.lottery-checkbox > input[type="checkbox"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 6px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  width: 8px;
  height: 12px;
  transform: rotate(45deg);
}

.lottery-win {
  margin-top: 100px;
  text-align: center;
}

.lottery-win-title {
  color: #f9fc03;
  font-size: 54px;
  font-weight: bold;
  text-align: center;
}

.lottery-win-image {
  margin-top: 30px;
}

.lottery-win-text-01 {
  margin-top: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
}

.lottery-win-text-02 {
  margin-top: 15px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
}

.lottery-win-text-03 {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 2;
}



@media screen and (max-width: 768px) {
  .lottery {
    border-radius: 20px;
    margin-top: 30px;
    padding: 20px 10px;
  }
  
  .lottery-title {
    font-size: 14px;
  }
  
  .lottery-title span {
    font-size: 22px;
  }
  
  .lottery-list {
    margin-top: 15px;
  }
  
  .lottery-list li {
    width: calc(20% - 2px);
    text-align: center;
  }
  
  .lottery-list-number {
    font-size: 10px;
  }
  
  .lottery-list-number span {
    font-size: 12px;
  }
  
  .lottery-list-image {
    margin: 10px auto 0;
  }
  
  .lottery-list-status {
    margin-top: 10px;
    font-size: 10px;
  }
 
  .lottery-iframe {
    padding-top: 140%;
    margin-top: 50px;
    border-radius: 20px;
  }

  .lottery-iframe iframe {
    padding: 10px;
    border-radius: 20px;
  }

  .lottery-notes {
    padding: 10px;
  }

  .lottery-notes-title {
    font-size: 18px;
  }
  
  .lottery-notes-text {
    margin-top: 15px;
    font-size: 12px;
  }
  
  .lottery-checkbox > span {
    display: inline-block;
    padding-left: 25px;
    font-size: 14px;
    line-height: 1.4;
  }

  .lottery-checkbox > span::before {
    top: 1px;
    width: 18px;
    height: 18px;
  }

  .lottery-checkbox > input[type="checkbox"]:checked + span::after {
    width: 6px;
    height: 11px;
    top: 3px;
  }

  .lottery-win {
    margin-top: 30px;
  }
  
  .lottery-win-title {
    font-size: 20px;
  }
  
  .lottery-win-image {
    margin-top: 15px;
  }
  
  .lottery-win-text-01 {
    margin-top: 15px;
    font-size: 16px;
  }
  
  .lottery-win-text-02 {
    margin-top: 10px;
    font-size: 12px;
  }

  .lottery-win-text-03 {
    font-size: 10px;
  }
}