@charset "utf-8";

* {
  font-size: 1.6rem;
}

.center {
  text-align: center;
}

h2 {
  text-align: center;
  color: #DB2222;
}

/* ページ3 */
.input_send .mgn_btm {
  margin-bottom: 1em;
}

.input_send .btn {
  margin-top: 50px;
}

input, textarea {
  -webkit-appearance: none;
  border-radius: 0;
}

.breadcrumb {
  display: flex;
  /* margin: 25px auto 40px; */
  margin: 50px auto;
  width: 300px;
}

.breadcrumb__item {
  width: 80px;
  height: 40px;
  line-height: 40px;
  border: solid 1px #000;
  text-align: center;
}

.breadcrumb__mark {
  width: 30px;
  height: 40px;
  line-height: 40px;
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
}

.item__current {
  color: #DB2222;
  border: solid 1px #DB2222;
}

.alert {
  color: #DB2222;
  font-size: 0.8em;
  line-height: 2em;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  padding: 0.5em 1em;
  border: solid 1px #000;
  border-radius: 0;
  outline: none;
  background: none;
  /*height: 40px;*/
  width: 100%;
  box-sizing: border-box;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset;
}

select {
  border-radius: 0;
  border: solid 1px #000;
  outline: none;
  background: transparent;
  padding: 0.5em 1em;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: none;
  padding: 0.5em 1em;
  border: solid 1px #000;
  outline: none;
  background: transparent;
  width: 100%;
  height: 200px;
  box-sizing: border-box;
}

/*チェックボックスの装飾*/
input[type="checkbox"] {
  display: none;
}

.checkbox01 {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  /*padding: 5px 30px;*/
  position: relative;
  width: auto;
  padding-left: calc(25px + 0.5em);
}

.checkbox01::before {
  background: #F2F2F2;
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  margin-top: -15px;
  position: absolute;
  top: 50%;
  left: 0;
}

.checkbox01::after {
  border-right: 4px solid #DB2222;
  border-bottom: 4px solid #DB2222;
  content: '';
  display: block;
  width: 10px;
  height: 15px;
  margin-top: -15px;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: rotate(45deg);
  transition: 0.1s;
}

.checkbox01 a {
  color: #a9a9a9;
}

input[type="checkbox"]:checked+.checkbox01::after {
  opacity: 1;
}

.btn {
  width: 120px;
  height: 50px;
  line-height: 50px;
  background-color: #FFF;
  outline: none;
  border: solid 1px #000;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  cursor: pointer;
  color: #DB2222;
  border: solid 1px #DB2222;
}

.btn--check {
  width: 230px;
}

.btn--send {
  margin-left: 20px;
}

.form--check td {
  height: 40px;
}

/* @media only screen and (max-width:760px) {
  .form {
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
  }

  form select, form input, form textarea {
    font-size: 16px;
  }

  td {
    display: block;
    vertical-align: top;
  }

  .form tbody tr:last-child td {
    text-align: center;
    padding-top: 20px;
  }

  .form__left {
    white-space: nowrap;
  }

  .form__left span {
    position: relative;
    padding-right: 0.2em;
    font-weight: bold;
  }

  .form__left span:after {
    content: "必須";
    background-color: #DB2222;
    color: #FFF;
    font-size: 0.8em;
    padding: 0.2em 0.5em;
    margin-left: 0.2em;
    font-weight: normal;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    white-space: nowrap;
  }

  .form tbody tr:nth-child(n+1):nth-child(-n+6) td:nth-child(1) {
    margin-bottom: 5px;
  }

  .form tbody tr:nth-child(n+1):nth-child(-n+7) td:nth-child(2) {
    margin-bottom: 30px;
  }

  .form tbody tr:last-child td {
    padding: 0;
  }
} */

/* 20221108 takahashi */
@media only screen and (max-width:760px) {
  section:not(.address) {
    width: 90%;
    margin: 65px auto 0 auto;
    padding: 50px 0 100px 0;
  }

  h2 span {
    display: block;
    line-height: 1;
  }

  h2 span:first-child {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
  }

   h2 span:last-child {
    font-size: 14px;
  }

  .breadcrumb {
    width: 90%;
  }

  .breadcrumb__item {
    width: calc((100% - 60px) / 3);
  }

/* ページ1 */
	.contact_form .hissu{
		margin-bottom: 1.5em;
		font-size: 14px;
		color: #DB2222;
	}

	.contact_form dt {
		position: relative;
		display: inline-block;
		margin-bottom: 0.25em;
	}

	.contact_form dt:after{
		content: "*";
		color: #DB2222;
		font-size: 20px;
		position: absolute;
		top: 50%;
		right: -0.5em;
		transform: translateY(-50%);
	}

  .contact_form dl div:not(:last-child), .input_check dl div:not(:last-child) {
    margin-bottom: 1.5em;
  }

  .contact_form .consent {
    margin: 3em 0;
    text-align: center;
  }

  /* ページ2 */
  .input_check dl {
    margin: 50px 0;
  }

  .input_check dt {
    color: #a9a9a9;
  }
}

@media only screen and (min-width:761px) {
  section:not(.address) {
    padding: 100px 0;
    width: 80%;
    margin: 120px auto 0 auto;
    max-width: 1185px;
  }

  h2 span {
    display: block;
  }

  h2 span:first-child {
    font-size: 50px;
    font-weight: bold;
  }

  h2 span:last-child{
    font-size: 20px;
  }

  form {
    width: 70%;
    margin: 0 auto;
  }

  dt {
    margin-bottom: 0.25em;
  }

  dl div:not(:last-child) {
    margin-bottom: 1.5em;
  }

  /* ページ1 */
	.contact_form .hissu{
		margin-bottom: 1.5em;
		font-size: 14px;
		color: #DB2222;
	}

	.contact_form dt {
		position: relative;
		display: inline-block;
	}

	.contact_form dt:after{
    content: "*";
		color: #DB2222;
		font-size: 20px;
		position: absolute;
		top: 50%;
		right: -0.5em;
		transform: translateY(-50%);
	}

  .contact_form .consent {
    margin: 3em 0;
    text-align: center;
  }

  /* ページ2 */
  .input_check dl {
    margin: 50px 0;
  }

  .input_check dt {
    color: #a9a9a9;
  }
}

/* 20221108 takahashi */
