@charset "utf-8";

/*ヘッダーとフッターのcss読み込み*/
@import url("style.css");

.sp_header {
  opacity: 1;
}

h1 {
  font-size: 30px;
  text-align: center;
  margin: 120px auto 80px;
}

.intro {
  margin-bottom: 10px;
}

/*FAQアコーディオン*/
.accordion_content {
  display: none;
}

.accordion_header {
  background-color: #b08a60;
  color: #fff;
  margin: 5px 0;
  padding: 15px 5px;
  cursor: pointer;
  position: relative;
}

.accordion_header::before,
.accordion_header::after {
  position: absolute;
  content: "";
  top: 1px;
  right: 10px;
  bottom: 0;
  width: 12px;
  height: 2px;
  margin: auto;
  background: #fff;
}

.accordion_header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.accordion_header.active::after {
  transform: rotate(0deg);
}

.accordion_content {
  background-color: #FAF9F6;
  padding: 12px 20px 10px;
}

.accordion_header span,
.accordion_content span {
  position: relative;
}

.accordion_header:hover {
  background-color: #665138;
}

/*問い合わせフォーム*/
table {
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #333;
  display: block;
}

th {
  background-color: #b08a60;
  color: #fff;
  font-weight: 400;
  padding: 10px;
}

td {
  background-color: #FAF9F6;
  padding: 15px;
}

.required {
  font-size: 14px;
}

.input {
  display: block;
  width: 95%;
  height: 2.5em;
  margin: 0 auto;
}

dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

dt {
  width: 27%;
  margin-left: 3%;
  margin-top: 0.5em;
}

.dt_2 {
  margin-top: 1.5em;
}

dd {
  width: 70%;
}

dd:last-child {
  margin-bottom: -1.5em;
}

.zip1 {
  width: 35%;
  height: 2.5em;
  margin-right: 5%;
}

.zip2 {
  width: 45%;
  height: 2.5em;
  margin-left: 5%;
}

.search {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: none;
  background-color: #FAF9F6;
  cursor: pointer;
}

.pref {
  height: 2.5em;
  cursor: pointer;
}

.input_2 {
  display: block;
  width: 95%;
  height: 2.5em;
  margin-top: 1em;
}

.inquiry {
  display: block;
  width: 95%;
  margin: 0 auto;
  resize: none;
}

.notes {
  list-style-type: none;
}

.notes li {
  font-size: 14px;
  text-indent: -1em;
  padding-right: 1em;
  margin-bottom: 1em;
}

.send {
  text-align: center;
  margin-top: 50px;
}

.send input {
  width: 70%;
  height: 50px;
  cursor: pointer;
}

/*contact.php*/
.php_contact .intro {
  text-align: center;
  margin-bottom: 50px;
}

.php_contact .search {
  visibility: hidden;
  margin: 0;
}

.php_contact .pref {
  cursor: text;
  width: 35%;
}

.php_contact dd:last-child {
  margin-bottom: 0;
}

.back_btn {
  display: block;
  margin-top: 50px;
  text-align: center;
  text-underline-offset: 3px;
}

.back_btn a {
  color: #333;
}

.back_btn:hover {
  filter: brightness(2);
  transition: 0.2s;
}

/*completion.php*/
.php_completion .intro {
  text-align: center;
  line-height: 2em;
}

.top_btn {
  text-align: center;
  width: 35%;
  padding: 10px;
  margin: 50px auto;
  border: 1px solid #333;
  background-color: #333;
}

.top_btn a {
  display: block;
  text-decoration: none;
  color: #fff;
}

/*メインをフェードイン*/
main {
  animation: textAnimation 2s forwards;
}

@keyframes textAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*以下PC用のcss*/
@media screen and (min-width: 850px) {
  .pc_header {
    display: block;
    opacity: 1;
  }

  .sp_header {
    display: none;
  }

  h1 {
    margin: 200px auto 120px;
  }

  main {
    width: 70%;
    margin: 0 auto;
  }

  .accordion_header {
    padding-left: 20px;
  }

  .accordion_header::before,
  .accordion_header::after {
    margin-right: 10px;
  }

  table tbody tr {
    display: flex;
  }

  table tbody tr th {
    flex-basis: 55%;
    padding-top: 1.5em;
  }

  table tbody tr td {
    flex-basis: 45%;
  }

  table tbody tr td:last-child {
    flex-basis: 100%;
  }

  .send {
    margin-top: 80px;
  }

  .send input {
    width: 40%;
  }

  .search:hover {
    filter: opacity(0.6);
    transition: 0.2s;
  }

  .top_btn {
    font-size: 21px;
  }

  .top_btn:hover {
    background-color: #E5E5E5;
    transition: 0.2s;
  }

  .top_btn:hover a {
    color: #333;
    transition: 0.2s;
  }

}