body {
    background-color: black;
}

header {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.24), rgba(0, 0, 255, 0.658)), url(img/AdobeStock_487120348.jpg) center;
    width: 100%;
    background-size: cover;
    text-align: center;
}


main {
    background-color: black;
    color: #ffffff;
    margin: 50px 500px;
}

h1 {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 auto;
    padding: 100px;
    z-index: 20;

}

h2 {
    font-size: 20px;
    text-align: left;
}

.titlecolor {
    background-color: #b3b3b3;
    color: #000000;
    padding: 5px 10px;
    margin: 30px 0px 30px;
}



.gray {
    color: gray;
    font-size: 18px;
}

.setsumei {
    margin-bottom: 50px;
}

.setsumei02 {
    padding: 30px;
    background-color: #333333;
    border-radius: 20px;
}

/* form-nav */

.progressbar {
    display: flex;
    flex-wrap: wrap;
  }
  .progressbar .item {
      position: relative;
      width: 33.3%;
      text-align: center;
      position: relative;
      align-items: center;
      justify-content: center;
      padding: 13px 0;
      margin-top: 10px;
      margin-bottom: 20px;
      line-height: 1.5;
      background: #F5F5F5;
      color: #999999;
  }
  .progressbar .item:not(:last-child)::before,
  .progressbar .item:not(:last-child)::after {
      position: absolute;
      z-index: 2;
      top: 0;
      bottom: 0;
      left: 100%;
      content: '';
      border: 37px solid transparent;
      border-left: 20px solid #F5F5F5;
      margin: auto;
  }
  .progressbar .item:not(:last-child)::before {
      margin-left: 1px;
      border-left-color: #FFF;
  }
  
  @media screen and (max-width: 1300px) {
  .progressbar .item {
      font-size: 11px;
      line-height: 1.4;
      padding: 10px 0;
  }
  .progressbar .item:not(:last-child)::before,
  .progressbar .item:not(:last-child)::after {
      border-width: 25px;
      border-left-width: 12px;
  }
  }
  
  /* active */
  
  .progressbar .item.active {
      z-index: 1;
      background: #0070BD;
      color: #FFF;
  }
  .progressbar .item.active:not(:last-child)::after {
      border-left-color: #0070bd;
  }
  .progressbar .item.active:not(:last-child)::before {
      border-left: none;
  }



.koumoku {
    margin: 0px 0px 40px 0px;
}

input[name="field_7311789_sei"],
[name="field_7311789_mei"] {
    width: 46.1%;
    height: 40px;
    font-size: 15px;
}


input[type=email] {
    width: 99%;
    height: 40px;
    font-size: 15px;
}

input[type=tel],
[type=number] {
    width: 100px;
    height: 40px;
    font-size: 15px;
}

input[name="field_7313884_city"],
[name="field_7313884_block"],
[name="field_7313884_building"],
[name="field_7311800"] {
    width: 99%;
    height: 40px;
    font-size: 15px;
}


textarea {
    width: 98%;
    height: 100px;
    font-size: 15px;
}



.smalleng {
    font-size: small;
    color: gray;
}

.must {
    color: #fff;
    background-color: red;
    border-radius: 5px;
    width: 100px;
}

.titlenameimage {
    text-align: center;
    position: relative;
}


.red {
    color: red;
    margin: 20px 0px 10px;
}

select {
    width: 80px;
    height: 40px;
    font-size: 15px;

}

.kakunin {
    text-align: center;
}

input[type="submit"] {
    width: 20%;
    font-size: 15px;
    color: #fff;
    display: inline-block;
    padding: 15px 0px;
    text-align: center;
    background-color: red;
    border: 1px solid red;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 1s;
    margin: 0px 20px;
}

/*--hover--*/
input[type="submit"]:hover {
    color: red;
    background-color: #ffffff;
    border: 1px solid red;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 1s;
    margin: 0px 20px;
}

input[type="button"] {
    width: 20%;
    font-size: 15px;
    color: #fff;
    display: inline-block;
    padding: 15px 0px;
    text-align: center;
    background-color: #5c87a6;
    border: 1px solid #5c87a6;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 1s;
    margin: 0px 20px;
}

/*--hover--*/
input[type="button"]:hover {
    color: #5c87a6;
    background-color: #ffffff;
    border: 1px solid #5c87a6;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 1s;
    margin: 0px 20px;
}




@media screen and (max-width: 1500px) {
    main {
        margin: 50px 10px;
    }

    .titlenameimage img {
        width: 100%;
    }


    h1 {
        font-size: 1.6rem;
        padding: 50px;
    }

    .setsumei02 {
        padding: 20px;
    }


    input[name="field_7311789_sei"],
    [name="field_7311789_mei"] {
        width: 97%;
        height: 40px;

    }


    input[type=email] {
        width: 97%;
        height: 40px;
    }

    input[type=tel],
    [type=number] {
        width: 97%;
        height: 40px;
    }

    input[name="field_7313884_city"],
    [name="field_7313884_block"],
    [name="field_7313884_building"],
    [name="field_7311800"] {
        width: 97%;
        height: 40px;
    }

    input[type="submit"] {
        width: 30%;
    }

    input[type="button"] {
        width: 30%;
    }

    textarea {
        width: 97%;
    }

    input[name="field_7312294"] {
        font-size: 9px;
    }

    .text {
        font-size: 14px;
    }


}