@charset "utf-8";
/* CSS Document */ ::placeholder {
  color: #cccccc;
}

.main {
  height: 500px;
  background-image: url(../bk1.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
}
.main p {
  max-inline-size: max-content;
  margin-inline: auto;
  color: rgba(233, 84, 102, 1.00);
  font: 3em YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  position: absolute;
  right: 0;
  left: 0;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
}
.main2 {
  padding: 100px 20px;
  background-image: url(../pagehead-default.png);
  background-size: 90% auto;
}
.main2p {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2em;
}
.main img {
  display: block;
  position: absolute;
  bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  right: 0;
  left: 0;
  height: 350px;
  max-width: 100%;
  width: auto;
}
.waku {
	display: flex;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding: 2%;
	border-radius: 10px;
	align-items: center;
	position: relative;
	margin-bottom: 54px;
	background-color: rgba(255, 255, 255, 1.00);
	-webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.20);
	box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.20);
}
.waku::after {
  position: absolute;
  bottom: -40px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  content: "";
  display: block;
  width: 48px;
  height: 24px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../allow.png);
}
.waku.last::after {
  background-image: none;
  display: none;
}
.waku div:nth-child(1) {
  width: 25%;
  margin-right: 5%;
  text-align: center;
  background-color: rgba(255, 255, 255, 1.00);
}
.waku div .number {
  width: 150px;
  height: 150px;
  background-color: rgba(79, 148, 185, 1.00);
  border-radius: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 1.00);
  font-size: 2em;
  line-height: 1.2em;
}
.waku div:nth-child(2) {
  width: 70%;
}
.waku div .wakut {
  font-weight: bold;
  color: rgba(0, 61, 110, 1.00);
}
.form {
  padding-top: 100px;
  padding-bottom: 100px;
}
footer {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: rgba(225, 225, 225, 1.00);
}
#formWrap {
  width: 700px;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
}
table.formTable {
  width: 100%;
  margin: 0 auto 20px;
  border-collapse: collapse;
}
table.formTable td, table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
}
table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}
.require {
  color: #F00;
}
tr td .calendar, tr td {
  width: 40%;
  padding: 5px;
}
textarea {
  height: 100px;
}
/*ラジオボタン*/
input.radio {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
}
.m-form-radio-name {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  color: #666;
}
.m-form-radio-name:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 1px solid #ccc;
  border-radius: 50%;
  margin-right: 4px;
  flex-shrink: 0;
}
.m-form-text {
  height: 2.4em;
  /*padding: 0 16px 15px;*/
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.m-form-text:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
  width: auto;
}
input.radio:checked + .m-form-radio-name:before {
  border: 0.3em solid rgb(33, 150, 243);
}
input.radio:checked + .m-form-radio-name {
  color: rgb(33, 150, 243);
}
input.radio:focus + .m-form-radio-name {
  color: rgb(33, 150, 243);
}
input.focus-visible + .m-form-radio-name .m-form-radio-text {
  background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}
tr td .m-form-text.calendar {
  width: 45%;
  background-image: url(../cal.svg);
  background-repeat: no-repeat;
  background-position: 94% 45%;
  background-size: 10% auto;
  background-color: white;
}
form input[type="text"], form textarea {
  width: 95%;
  padding: 15px;
  font-size: 110%;
  margin-bottom: 10px;
}
.ad td .p-postal-code {
  width: 35% !important;
  height: 2.4em;
  padding: 16px 15px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
}
.p-postal-code, .name {
  padding: 5px;
}
tr td .m-form-text.p-postal-code {
  width: 45%;
}
td span {
  display: block;
  margin-bottom: 5px;
}
.ad td input {
  margin-bottom: 15px;
}
/*ボタン*/
.button {
  display: inline-block;
  border-radius: 5px; /* 角丸       */
  font-size: 1.2rem; /* 文字サイズ */
  text-align: center; /* 文字位置   */
  cursor: pointer; /* カーソル   */
  padding: 12px 30px; /* 余白       */
  background: #007fff; /* 背景色     */
  color: #ffffff; /* 文字色     */
  line-height: 1em; /* 1行の高さ  */
  transition: .3s; /* なめらか変化 */
  box-shadow: 1px 1px 3px #666666; /* 影の設定 */
  border: 2px solid #007fff; /* 枠の指定 */
  -webkit-box-shadow: 1px 1px 3px #666666;
}
.button:hover {
  box-shadow: none; /* カーソル時の影消去 */
  color: #007fff; /* 背景色     */
  background: #ffffff; /* 文字色     */
}
@media screen and (max-width:720px) {
  .main img {
    display: block;
    position: absolute;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    left: 0;
    max-width: 100%;
    width: 80%;
    height: auto;
  }
  .main {
    height: auto;
    background-image: url(../bk1.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    padding-bottom: 71%;
  }
  .main p {
    font-size: 5vw;
  }
}
@media screen and (min-width:573px) {
  .os {
    display: none;
  }
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
  h2 {
    margin-bottom: 20px;
  }
  .main p {
    top: 5%;
    max-inline-size: max-content;
    margin-inline: auto;
    font: 5vw YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .waku div .wakut {
    font-weight: bold;
    text-align: center;
    font-size: 5vw;
    margin-bottom: 10px;
  }
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }
  table.formTable th, table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  form input.p-postal-code {
    width: 30%;
  }
  tr td .name {
    width: 40%;
  }
  select {
    padding: 11px;
    width: 100%;
  }
  .waku {
	display: block;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 10px;
	align-items: center;
	padding: 20px;
  }
  .waku div:nth-child(1) {
    width: 100%;
    margin-right: auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 1.00);
    display: block;
    margin-left: auto;
    margin-bottom: 20px;
  }
  .waku div .number {
    width: 150px;
    height: 150px;
    background-color: rgba(79, 148, 185, 1.00);
    border-radius: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 1.00);
    font-size: 2em;
    line-height: 1.2em;
  }
  .waku div:nth-child(2) {
    width: 100%;
    display: block;
  }
  .main2 {
    padding: 100px 20px 0px;
    background-image: url(../pagehead-default.png);
    background-size: 80% auto;
  }
  /*ボタン*/
  .button {
    border-radius: 5px; /* 角丸       */
    font-size: 5vw; /* 文字サイズ */
    text-align: center; /* 文字位置   */
    cursor: pointer; /* 余白       */
    background: #007fff; /* 背景色     */
    color: #ffffff; /* 文字色     */
    line-height: 1em; /* 1行の高さ  */
    transition: .3s; /* なめらか変化 */
    box-shadow: 1px 1px 3px #666666; /* 影の設定 */
    border: 2px solid #007fff; /* 枠の指定 */
    -webkit-box-shadow: 1px 1px 3px #666666;
    padding-top: 25px;
    padding-bottom: 24px;
    width: 100%;
  }
  footer p {
    font-size: 3vw;
  }
}
