@media (min-width: 768px) {
  section#contact {
    padding: 0 0 4rem 0;
    position: relative; }

  main {
    position: relative; } }
main {
  width: 100vw; }

#form form .required {
  color: red; }
#form form dt, #form form dd {
  color: #333 !important;
  font-weight: 400;
  padding: 1rem 2rem; }
#form form dt {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap; }
  #form form dt p {
    margin-top: 1rem; }
#form form dl {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  display: grid;
  grid-gap: 20px;
  grid-template: auto/270px minmax(280px, 700px); }
  @media (max-width: 767px) {
    #form form dl {
      grid-template: auto / auto; }
      #form form dl dt, #form form dl dd {
        border-bottom: 1px solid #888; } }
#form form dt a {
  background: #E67E22;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px 0; }
  #form form dt a:hover, #form form dt a:active {
    color: #fff;
    opacity: 0.7; }

a.telephone {
  width: auto;
  background: #E67E22;
  color: #fff;
  padding: 1rem 2rem;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 10px auto; }
  a.telephone:hover, a.telephone:active {
    color: #fff;
    opacity: 0.7; }

input[type="date"]::-webkit-calendar-picker-indicator {
  display: none; }

option.selectFirst {
  display: none;
  color: #999; }

#calendar {
  background: #fff;
  border: 1px solid #888 !important;
  margin-bottom: 10px;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  grid-area: calendar;
  display: flex !important;
  justify-content: center; }
  #calendar table {
    width: 94%; }

a.pp {
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; }
  a.pp:hover, a.pp:active {
    color: #fff;
    opacity: 0.7; }

input[type="submit"], input[type="button"], input[type="reset"] {
  background: #0652DD;
  color: #fff;
  padding: 2rem 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: none; }
input:hover, input:active {
  opacity: 0.7; }

label {
  color: #333; }

input[type="text"], input[type="date"], input[type="email"], input[type="tel"] {
  border: 1px solid #888;
  padding: 1rem;
  margin-right: 10px;
  background: #fff;
  position: relative; }
  input[type="text"]:last-child, input[type="date"]:last-child, input[type="email"]:last-child, input[type="tel"]:last-child {
    margin-right: 0; }
  input[type="text"]:focus:invalid, input[type="date"]:focus:invalid, input[type="email"]:focus:invalid, input[type="tel"]:focus:invalid {
    background: #ffeeee; }

select, textarea {
  border: 1px solid #888;
  padding: 1rem;
  margin-right: 10px;
  background: #fff; }
  select:focus:invalid, textarea:focus:invalid {
    background: #ffeeee; }

dd {
  box-sizing: border-box; }
  #menu dd {
    display: grid;
    grid-template-columns: repeat(auto-fit, 160px);
    grid-gap: 10px; }
    #menu dd div {
      display: flex;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: center; }
      #menu dd div input {
        margin-right: 1ch;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-top: 0 !important; }
      #menu dd div label {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 0 !important;
        color: #333;
        font-weight: 400; }
  #appoint-date dd {
    display: grid;
    grid-template: auto / auto;
    grid-gap: 10px; }
    #appoint-date dd div {
      display: grid;
      justify-content: start; }
      @media (max-width: 575.98px) {
        #appoint-date dd div.row {
          grid-template: "calendar" auto / auto !important; }
        #appoint-date dd div#app-d1, #appoint-date dd div#app-d2 {
          grid-template: auto / auto !important; }
          #appoint-date dd div#app-d1 input[type="date"], #appoint-date dd div#app-d2 input[type="date"] {
            max-width: 260px !important; } }
      #appoint-date dd div.row {
        grid-template: ". calendar" auto/minmax(0, 110px) minmax(260px, 320px);
        grid-gap: 10px;
        margin-left: 0 !important;
        margin-right: 0 !important; }
      #appoint-date dd div#app-d1, #appoint-date dd div#app-d2 {
        grid-template: auto/110px repeat(2, 1fr);
        grid-gap: 10px; }
        #appoint-date dd div#app-d1 p, #appoint-date dd div#app-d2 p {
          margin-bottom: 0 !important;
          display: flex;
          align-items: center; }
        #appoint-date dd div#app-d1 input[type="date"], #appoint-date dd div#app-d2 input[type="date"] {
          width: 100%;
          max-width: 320px; }
  #car dd {
    display: grid;
    grid-template: auto / auto;
    grid-gap: 10px; }
    #car dd div {
      display: grid;
      grid-template: auto/110px minmax(100px, 320px);
      grid-gap: 10px; }
      #car dd div:nth-child(2) {
        display: inline-grid;
        grid-template: auto/minmax(156px, 240px) minmax(40px, 190px); }
        #car dd div:nth-child(2) p {
          white-space: nowrap; }
      #car dd div p {
        margin-bottom: 0 !important;
        display: flex;
        align-items: center; }
      #car dd div input[type="text"] {
        width: 100%;
        max-width: 320px; }
  #name dd, #name-kana dd {
    display: grid;
    grid-template: auto/repeat(2, minmax(100px, 220px)); }
  #appoint-store dd select, #ways-to-contact dd select, #contact-time dd select {
    width: 100%;
    max-width: 440px;
    margin-bottom: 10px; }
  #parson dd input, #address dd input, #email-address dd input {
    width: 100%;
    max-width: 440px;
    margin-bottom: 10px; }
  #telephone-number dd input {
    width: 100%;
    max-width: 330px;
    margin-bottom: 10px; }
  #postal-code dd input {
    width: 100%;
    max-width: 210px;
    margin-bottom: 10px; }
  #message dd textarea {
    width: 100%;
    max-width: 440px;
    margin-bottom: 10px; }

#pp {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 3rem auto; }
  #pp > * {
    margin-bottom: 10px; }

p.top-required {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto; }
p.confirm {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0;
  height: 100%;
  padding: 1rem 0 1rem 2rem;
  border: 1px solid #888;
  background: #fff; }

#flow ul {
  width: 100%;
  max-width: 340px;
  margin: 3rem auto;
  padding: 0; }
  #flow ul li {
    background: #0652DD;
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 110%; }
    #flow ul li:nth-child(2n) {
      background: none;
      color: #0652DD; }

b {
  font-weight: 700;
  color: #111; }

#title {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 0px!important; }
  #title img {
    width: 100%; }
  #title h1 {
    position: absolute;
    color: #fff;
    font-size: 38px; }
    @media (max-width: 767.98px) {
      #title h1 {
        font-size: 28px; } }

#complate {
  min-height: 700px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column; }

.remodal {
	box-shadow: 0 0 5px 3px rgb(0 0 0 / 10%);
  position: relative; }
  .remodal > div {
    padding: 20px;
    background: #fff;
    display: grid;
    grid-template: "pdfImg pdfImg pdfImg" auto ". close ." auto / 1fr 240px 1fr;
    grid-gap: 30px; }
    .remodal > div img {
      width: 100%;
      max-width: 1000px;
      grid-area: pdfImg; }
    .remodal > div input {
      max-width: 240px;
      align-self: center;
      grid-area: close; }

.remodal-close {
  background: none;
  border: none;
  position: absolute;
  width: 30px;
  height: 30px;
  right: 20px;
  top: 20px; }
  .remodal-close i {
    font-size: 2rem;
    color: #999; }
    .remodal-close i:hover, .remodal-close i:active {
      color: #E67E22; }

h1 {
  font-size: 38px;
  margin-bottom: 3rem; }
  @media (max-width: 767.98px) {
    h1 {
      font-size: 24px; } }

.align-center {
  text-align: center; }
  @media (max-width: 767.98px) {
    .align-center {
      text-align: justify; } }

.fa-info-circle {
  margin-right: 0.75rem; }
