/* common */
.flex {
  display: flex;
}

li {
  list-style: none;
}
a {
  color: #393939;
  text-decoration: none;
}
img{
  width: 100%;
}


body {
  background-color: #eaeaea;
  color: #393939;
  font-family: 'Montserrat Subrayada', sans-serif;
  font-family: 'Noto Sans JP', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-family: 'Sarina', cursive;
  font-family: 'Zen Antique', serif;
}

::-webkit-scrollbar {
  width: 10px;
  height: 20px;
  }
  ::-webkit-scrollbar-track {
  background-color: #adadad67;
  /* border-radius: 100px; */
  }
  ::-webkit-scrollbar-thumb {
  background: #ff6600ce;
  width: 10px;
  }
  
  ::selection {
    background-color: #ff6600ce;
    color: #fff;
  }

/* common */
header {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  font-family: 'Oswald', sans-serif;
  padding: 5vh 0;
}
header ul {
  justify-content: end;
  font-weight: 400;
}
header li {
  align-items: center;
  font-size: 2rem;
}
header li:nth-child(1) {
  visibility: hidden;
}
main {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
h2 {
  font-family: 'Montserrat Subrayada', sans-serif;
  font-size: 2.5rem;
  color: #FF7A00;
  text-align: center;
  padding-bottom: 50px;
}

/* footer */
footer {
  padding: 50px 0 0 ;
}
.copy_right {
  font-size: .85rem;
  text-align: center;
  padding: 30px 0 0;
}



/* contact section */

.form_box {
  text-align: center;
  padding: 0 0 20px;
  font-family: 'Noto Sans JP', sans-serif;
}
.form_box input {
  max-width: 300px;
  width: 100%;
  padding: 10px;
  margin: 15px 0 0;
  border: none;
  background-color: #ffffff;
  font-size: 1rem;
  color: #393939;
}
.form_box input:focus {
  outline: none;
}
.form_box textarea {
  max-width: 300px;
  width: 100%;
  height: 200px;
  padding: 10px;
  margin: 10px 0 0;
  background-color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  font-size: 1rem;
  color: #393939;
}
.form_box textarea:focus {
  outline: none;
}
.submit_box {
  text-align: center;
  margin: 0 auto;
  border: none;
}

.submit_btn {
  background-color: #ffffff;
  color: #393939;  
  font-size: 1rem;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  width: 150px;
  border: none;
  padding: 10px;
  margin: 30px 0 0;
}

.submit_box :hover {
  opacity: .7;
  transition: 1000ms;
}

.error_msg {
  text-align: center;
  padding: 20px 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #ff3300;
}

/* confirm window*/

.confirm_table {
  width: 100%;
  margin: 0 auto;
}

.confirm_table dt{
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
}
.confirm_table dd {
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 300px;
  width: 100%;
  padding: 10px;
  margin: 15px auto 20px;
  border-bottom: 1px solid #7a7a7a;
  font-size: 1rem;
  color: #393939;
}

.confirm_btn_box {
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.confirm_sub_btn {
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #393939;
  font-size: 1rem;
  width: 150px;
  border: none;
  padding: 10px;
  margin: 30px 0 0;
}

.confirm_sub_btn:hover{
  opacity: .6;
  transition: 500ms;
}

/* sent window */

.sent_box {
  width: 90%;
  margin: 0 auto;
}
.sent_msg {
  font-family: 'Zen Antique', serif;
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: justify;
  padding: 0 0 50px;
}
.b2m {
  text-align: center;
  margin: 0 auto;
  font-size: 1.125rem;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  width: 200px;
  padding: 20px 0;
  
}

.b2m:hover {
  opacity: .7;
  transition: 700ms;
}







/* responsive */
@media only screen and (min-width: 500px) {
  header li:nth-child(1) {
    visibility: visible;
  }
  header li:nth-child(2) {
    visibility: hidden;
  }
  .form_box textarea {
    max-width: 400px;
    width: 100%;
    height: 250px;
  }

  .ct_msg {
    max-width: 400px !important;
    width: 100%;
  }
  .sent_box {
    width: 100%;
  }
}
