suffixsuffixsuffixsuffixsuffixsuffixsuffixsuffixhtml {
}
body {
  margin: 0;
  padding: 0
}
.contact-form {
    padding-top: 2rem;
    width: 100%;
}
.contact-form .form-head {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-form .form-head h2 {
    margin-left: 1rem;
    padding: 1rem 0;
    color: #fff;
    font-family: Meiryo;
    font-weight: lighter;
}
.form-container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 30;
}
.form-section {
  
}
#confirm_contact, #complete_contact {
  display: none
}
h1, h2, h3 {
  text-align: center
}
h3 {
  margin: 2rem 0
}
p {
  line-height: 1.7;
  text-align: justify
}
.lead {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 40rem;
  margin: 1rem auto 2rem;
  line-height: 1.7
}
.link-home {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
.link-home a{
    padding: 1rem;
    background-color: #fff;
    border-radius: 5px;
    color: #000;
    width: 80%;
    margin: 0 auto;
}
.stepbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
  margin: 1rem auto 3rem;
  padding: 0;
  list-style: none;
  transform: scale(0.8)
}
.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 5rem;
  height: 5rem;
  margin-left: 0;
  border: 1px solid #ff6989;
  border-radius: 50%;
  color: #ff6989;
  text-transform: uppercase
}
.step.visited {
  border: none;
  background-color:#ff6989;
  color: #fff
}
.step-num {
  font-size: 1.5rem;
  line-height: 1
}
.step-caption {
  position: absolute;
  bottom: -1.5rem;
  width: 6rem;
  color: #ff6989;
  font-weight: bold;
  font-size: .8rem;
  text-align: center
}
@media(min-width: 768px) {}



dl.form {
  width: 100%;
  margin-bottom: 2rem;
}
dl.form dt, dl.form dd {
  margin-bottom: 0.5rem;
}
dl.form dt{
  width: 100%;
}
dl.form dd {
  
}
#confirm_contact dl.form dd {
  margin-left: 1rem;
  font-weight: bold !important;
  background-color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  word-wrap: break-word; /* 単語の途中でも折り返す */
  word-break: break-all; /* 必要なら単語全体を折り返す */
  white-space: normal;   /* 通常の改行・折り返しを適用 */
}

dl.form dd input,dl.form dd select,dl.form dd textarea{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}
dl.form dd input{width: 100%;}
dl.form dd select{
    width: 22%;
}
dl.form dd textarea {
	width: 100%;
    resize: none;
}
@media(min-width: 768px) {
  dl.form {
    flex-direction: column
  }
  dl.form dt, dl.form dd {
    width: 100%
  }
  dl.form dt {
  }
  dl.form dd {
    
  }
}
label.required::after {
  margin-left: .5rem;
  padding: .2rem;
  border-radius: .2rem;
  background-color: #ff0000;
  color: #fff;
  font-size: .8rem;
  content: "必須"
}
label.optional::after {
  margin-left: .5rem;
  padding: .2rem;
  border-radius: .2rem;
  background-color: #00a0e9;
  color: #fff;
  font-size: .8rem;
  content: "任意"
}
@media(min-width: 768px) {
label.required::after {
  margin-left: .5rem;
  padding: .2rem;
  border-radius: .2rem;
  background-color: #ff0000;
  color: #fff;
  font-size: .8rem;
  content: "必須"
}
label.optional::after {
  margin-left: .5rem;
  padding: .2rem;
  border-radius: .2rem;
  background-color: #00a0e9;
  color: #fff;
  font-size: .8rem;
  content: "任意"
	}
}
.contact-form {
  padding-top: 2rem;
  width: 100%;
}
.contact-form .form-head {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-form .form-head img {}
.contact-form .form-head h2 {
  margin-left: 1rem;
  padding: 1rem 0;
  color: #fff;
  font-family: Meiryo;
  font-weight: lighter;
}
.form-container {
width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 30;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
}

.birthdate-inputs {
  display: flex;
  gap: 10px;
}
.date-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 25%;
  background-color: #fff;
}
textarea {
  resize: none;
}
.back-button{
  display: block;
    width: 30%;
    margin: 0 auto;
  padding: 0.5rem 1rem;
	font-size: 1rem;
  color: #000;
    background-color: #fff;
    border: none;
    border-radius: 5px;
  cursor: pointer;
}
#confirmation-form p{
  width: 90%;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  
}
#completion-form{
  padding: 12rem 0;
}
#completion-form p{
  text-align: center;
  font-size: 1.2rem;

}
  .suffix {
    font-size: 1.2rem;
	margin-left: 0.5rem;
  }


@media screen and (min-width: 768px) {
  .form-container {
    padding: 2rem 2rem 4rem;
  }
  label {
    display: block;
    font-size: 1.5rem;
  }
  label .required, label .optional {
    font-size: 1.0rem;
    margin-left: 0.5rem;
    padding: 0 0.3rem;  
  }
  input[type="text"], input[type="email"], input[type="tel"], textarea {
    padding: 1rem;
    font-size: 1.2rem;
  }
  .date-select select {
    padding: 1rem;
    font-size: 1.2rem;
  }
  .suffix {
    font-size: 1.5rem;
	margin-left: 0.5rem;
  }
}
	
footer {
  padding: 1rem 0;
}
footer p {
  text-align: center;
  color: #fff;
  font-size: 1rem;
}
  .buttons {
	display: flex;
    flex-direction: column
  }
  .buttons button:not(:first-child) {
    margin-top: 1rem;
    margin-left: 0
  }
.button .submit-button {
    display: block;
    width: 80%;
    margin: 0 auto 2rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #00a0e9;
    border: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
.button .submit-button:hover {
  background-color: #007acc;
}
	
.btn {
  padding: .5rem 2rem;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.btn:hover {
  opacity: .8;
}
.btn-forward {
  position: relative;
  background-color: #00a0e9;
  color: #fff;
}
.btn-forward::after {
  position: absolute;
  right: .5rem;
  font-size: 1.2rem;
  content: "»";
}
.btn-back {
  position: relative
}
.btn-back::before {
  position: absolute;
  left: .5rem;
  font-size: 1.2rem;
  content: "«";
}
.error-message {
  display: none;
  margin-top: .5rem;
  color: red;
}
.error-item {
  border: 1px solid red;
  background-color: #fef;
}


	
	
	
	