@charset "utf-8";

.bgi {
  height: 210px;
  background-image: url(..//img/tissue.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.category {
  width: 100%;
  text-align: center;
  color: rgba(255, 250, 250, 0.85);
  font-family: Libre Baskerville;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.507);
  font-weight: bold;
}

.contact {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  margin: auto;

}

.form-area {
  margin-top: 25px;
  padding: 80px;
  display: flex;
  flex-wrap: wrap;
  font-family: "Zen Old Mincho", serif;
  margin: 0 auto;
}

.form-area dt {
  width: 200px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}

.form-area dt .required::after {
  content: '必須';
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 15px 0;
}

.input-text {
  width: 100%;
  /* max-width: 280px; */
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

.select-box {
  width: 200px;
  height: 40px;
  font-family: "Zen Old Mincho", serif;
}

.radio-button {
  display: block;
  margin-top: 20px;
}

.radio-button:first-child {
  margin-top: 0;
}

.radio-button input {
  margin-right: 8px;
}

.message {
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.confirm-text {
  font-size: 15px;
  margin-top: 30px;
  text-align: center;
}

.button {
  text-align: center;
}

.submit-button {
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: "Zen Old Mincho", serif;
  font-size: 15px;
  text-align: center;
  margin-top: 35px;
  cursor: pointer;
  border: none;
}

.submit-button:hover {
  background-color: #ebd7c6d3;
  transform: scale(1.05);
}

footer {
  margin-top: 100px;
}

@media (max-width: 800px) {
  .contact {
    width: 500px;
    margin-top: 45px;
  }

  .form-area dt,
  .form-area dd {
    width: 100%;
  }

  .form-area dt {
    padding-bottom: 0;
  }

  .submit-button {
    width: 100%;
  }
}

.pagetop {
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: inline-block;
  /* 画像のサイズに合わせる */
}

.pagetop img {
  width: 45px;
  display: block;
  /* 画像の下に余白ができないようにする */
}

.top-text {
  position: absolute;
  /* 親要素からの絶対位置で配置する */
  left: 50%;
  /* 親要素の幅の中央に配置 */
  top: -10%;
  transform: translate(-50%, -50%);
  /* 文字自体の中央に配置し直す */
  text-align: center;
  /* 文字を中央揃えにする */
  font-family: "Zen Old Mincho", serif;
  /* padding-top: 11px; */
  font-size: 11px;
}