@charset "UTF-8";

.news_container {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs {
  margin-bottom: 50px;
}

.breadcrumbs2 {
  margin-bottom: 20px;
}

/* primary ================================== */
#primary {
  margin: 0 auto;
  text-align: center;
}

.primary_title {
  font-size: 3rem;
  text-align: center;
  font-weight: bold;
  font-family: serif;
  padding: 80px 0;
  background-image: url(https://tsumugu-shinkyu.net/img/faq/faq_bg.jpg);
  background-position: top;
  background-repeat: repeat;
  background-size: cover;
  color: #fff;
}

.primary_txt {
  font-size: 1.8rem;
  margin-bottom: 50px;
}

.primary_txt .txt1 {
  color: #fff;
  background: #DB4A2E;
  display: block;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  padding: 10px 0;
  border-radius: 10px;
}

.primary_txt2 {
  color: #fff;
  background: #246f32;
  padding: 10px 0;
  margin-bottom: 50px;
}

.primary_txt2 a{
  text-decoration: underline;
  color: yellow;
  pointer-events: none;
}

.primary_txt .txt2 {
  color: #DB4A2E;
  font-weight: bold;
}


/* ==========  ご予約フォーム ========== */
#form {
  margin: 0 auto 100px;
}

.form_top {
  font-weight: bold;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 80px;
}

.form_box {
  margin: 0 auto;
  border: 1px solid #ccc;
  background: #fffdcf;
  padding: 20px;
}

#inputForm {
  margin: 0 auto;
}

.input_text {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.input_text dt{
  width: 100%;
  padding: 10px;
  color: #000;
  vertical-align: top;
  box-sizing: border-box;
  vertical-align: middle;
  font-weight: 600;
}

.input_text dt .required{
  background: #DB4A2E;
  border-radius: 5px;
  color: #fff;
  padding: 3px 6px;
  margin-left: 20px;
  font-size: 1.2rem;
  font-weight: 500;
}

.input_text .inbox{
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.name_box {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

.inbox span{
  margin-right: 10px;
}

.input_text p{
  margin: 20px 0;
}

.input_text p:first-child{
  margin: 0  0 20px;
}

input[type="text"]{
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

input[type="text"].teimei_txt{
  width: 100%;
  box-sizing: border-box;
  display: block;
}

input[type="date"].date_box{
  line-height: 3;
}

.input_time .timetable{
  line-height: 3;
}

input[type="email"],
input[type="tel"],
textarea{
  width: 100%;
  padding: 20px;
  color: #000;
  box-sizing: border-box;
}

.email_txt {
  margin-top: 20px;
}

::placeholder {
  color:#ccc;
}

input:placeholder-shown {
  color: #000;
}

.privacy {
  max-width: 750px;
  text-align: center;
  margin: 50px auto;
}

.agree_btn {
  padding: 20px;
}

.err_msg {
  color: #ff0000;
}

.form_submit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
}

.form_submit .edit,
.form_submit .submit {
  margin: 0 20px;
}

.form_submit button{
  width: 250px;
  padding: 20px;
  color: #fff;
  cursor: pointer;
  border: none;
  text-align: center;
  display: block;
  text-decoration: none;
}

.form_submit .submit button{
  background: #DB4A2E;
  border-radius: 10px;
  font-weight: 600;
}

.form_submit .submit button:hover{
  background-color: #ff9000;
  color: #fff;
}

.form_submit .edit button {
  background: #ccc;
  color: #000;
  border-radius: 10px;
}

.form_submit .edit button:hover {
  background: #8f8a8a;
  color: #fff;
}



/* ========== 入力確認画面 ========== */
#confirm .form_top {
  margin-bottom: 50px;
}

#confirm .input_txt {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

#confirm .input_txt:last-child {
  margin-bottom: 80px;
}


/* ========== 完了ページ ========== */
#complate {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 150px;
}


.complate_txt {
  background: #fffdcf;
  border: 1px solid #ccc;
  padding: 30px 20px;
  margin: 0 auto;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 100px;
}

.complate_contact {
  font-size: 1.8rem;
  margin-bottom: 150px;
  text-align: center;
}

.tc {
  width: 250px;
  box-sizing: border-box;
  margin: 0 auto;
  line-height: 1;
}

.tc a {
  text-decoration: none;
  background: #DB4A2E;
  text-align: center;
  display: block;
  line-height: 60px;
  height: 60px;
  color: #fff;
  border-radius: 5px;
  transition: all .4s ease;
}

.tc a:hover{
  background: #ff932e;
}


/* ---------------------------------------------------------
@media (max-width: 1200px)
----------------------------------------------------------- */
@media (max-width: 1200px){
  .container {
    news_width: 94%;
  }
}

/* ---------------------------------------------------------
@media (max-width: 1024px)
----------------------------------------------------------- */
@media (max-width: 1024px){
  .primary_box p {
    padding: 5px 0 0 0;
  }

  .form_top {
    font-size: 1.6rem;
    margin-bottom: 50px;
  }

  .input_text dt .required {
    border-radius: 3px;
    padding: 3px 6px;
    font-size: 1.2rem;
  }

  .input_text dd {
    display: block;
    width: 100%;
    padding: 40px 0;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .input_text p {
    margin: 10px 0;
  }

  .input_text p:first-child {
    margin: 0 0 10px;
  }

  input[type="date"].date_box {
    line-height: 2.5;
    width: 30%;
    margin-left: 1px;
  }

  input[type="time"].time_box {
    line-height: 2.5;
    width: 20%;
    margin-left: 1px;
  }

  .privacy {
    margin: 10px auto;
  }

  .form_submit {
    margin: 40px auto 60px;
  }

  .complate_title {
    font-size: 2.8rem;
  }

  .complate_txt {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .complate_contact {
    font-size: 1.6rem;
    margin-bottom: 100px;
  }

  .tc {
    font-size: 1.8rem;
    margin-bottom: 100px;
  }

  .input_text{
    margin-bottom: 20px;
  }

  input[type="text"] {
    padding: 15px;
  }

  input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 15px;
  }

  .input_text {
    border: none;
  }

  .input_text dt {
    display: block;
    width: auto;
    padding: 10px;
    box-sizing: border-box;
  }

  .city{
    width: 96%;
    box-sizing: border-box;
  }
}

/* ---------------------------------------------------------
@media (max-width: 768px)
----------------------------------------------------------- */
@media (max-width: 768px) {
  #primary {
    margin: 0 auto 50px;
  }

  .primary_title {
    font-size: 2.5rem;
    padding: 50px 0;
  }

  .primary_txt .txt1 {
    font-size: 2rem;
    padding: 5px 0;
    text-align: center;
  }

  .primary_txt {
    font-size: 1.6rem;
    text-align: left;
  }

  .primary_txt br{
    display: none;
  }

  .primary_txt2 {
    padding: 10px 15px;
    text-align: left;
  }

  .form_top {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .form_box {
    font-size: 1.4rem;
  }

  .input_text dt,
  .input_text dd {
    border: none;
  }

  .input_text dt {
    padding: 6px;
    font-size: 1.4rem;
  }

  .input_text dd {
    display: block;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
  }

  .input_text p:first-child {
    margin: 0 0 10px;
  }

  .form_submit {
    margin: 50px 25px 100px;
  }

  input[type="text"] {
    padding: 10px;
  }

  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 10px;
  }

  .form_submit {
    display: block;
  }

  .form_submit button{
    width: 280px;
    font-size: 1.6rem;
    padding: 20px;
    margin: 0 auto 30px;
  }

  .complate_title {
    font-size: 2rem;
    margin: 60px auto 30px;
    width: 100%;
  }

  .complate_txt {
    font-size: 1.6rem;
    margin-bottom: 50px;
    text-align: left;
  }

  .complate_contact {
    font-size: 1.6rem;
    margin-bottom: 80px;
    text-align: left;
  }

  .tc {
    font-size: 1.6rem;
    margin-bottom: 80px;
  }
}

/* ---------------------------------------------------------
@media (max-width: 600px)
----------------------------------------------------------- */
@media (max-width: 600px) {
  .form_top {
    text-align: left;
  }

  .form_top br{
    display: none;
  }

  .primary_title {
    font-size: 2rem;
  }

  .primary_txt .txt1 {
    font-size: 1.8rem;
  }

  .primary_txt2 br {
    display: none;
  }

  .inbox span {
    display: block;
  }

  .inbox:nth-of-type(2) span {
    margin-left: 0;
  }

  input[type="text"] {
    margin-right: 30px;
  }

  input[type="text"].no{
    margin-right: 0;
  }
}

/* ---------------------------------------------------------
@media (max-width: 428px)
----------------------------------------------------------- */
@media (max-width: 428px) {
  #primary {
    margin: 0 auto 30px;
  }

  #form {
    margin: 0 auto 50px;
  }

  .form_top {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .form_box {
    font-size: 1.4rem;
    padding: 15px;
  }

  .primary_txt {
    padding: 0;
    margin-bottom: 20px;
  }

  .input_text {
    margin-bottom: 0;
  }

  .input_text dt{
    padding: 7px;
    font-size: 1.4rem;
  }

  .input_text dd {
    padding: 15px 0;
    margin-bottom: 0;
  }

  .inbox {
    width: auto;
  }

  input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    margin-right: 0;
  }

  input[type="date"].date_box {
    width: 50%;
  }

  input[type="time"].time_box {
    width: 30%;
  }

  .form_submit {
    margin: 30px 0 60px;
  }

  .form_submit button{
    width: 180px;
    font-size: 1.4rem;
    padding: 15px;
  }

  .privacy {
    margin: 0 auto;
  }

  .complate_title {
    margin: 30px 0;
    font-size: 1.6rem;
    width: auto;
  }

  .tc {
    font-size: 1.4rem;
    margin-bottom: 60px;
  }

  .primary_txt2 a{
    pointer-events: auto;
  }
}

/* ---------------------------------------------------------
@media (max-width: 375px)
----------------------------------------------------------- */
@media (max-width: 375px) {
  .form_top {
    text-align: left;
  }
}
