button,
select {
  -webkit-appearance: none;
  appearance: none;
  color: var(--text-color);
}

/* contactadd ページが増えた場合common.cssに移動させる※index.php記述のみ残す */

.contactadd {
  width: 100%;
  margin: 0 auto;
  padding: 100px 0 120px;
  position: relative;
  background: url(../images/common/contact_bg.jpg) no-repeat center center;
  background-size: cover;
}
.contactadd .contactadd_cntns {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
}
.contactadd .contactadd_cntns h3 {
  width: 100%;
  padding: 10px 0;
  background: #ffffffaa;
  text-align: center;
  justify-content: center;
  box-shadow: 0 3px 3px #66778acc;
}
:root {
  --shadow: #2386c7;
  --shadow2: #66bfe5;
}
.contactadd .contactadd_cntns p {
  width: fit-content;
  margin: 30px auto;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.5px;
  position: relative;
  color: #ffffff;
  text-shadow:
    0 0 3px var(--shadow),
    0 0 6px var(--shadow),
    0 0 10px var(--shadow),
    0 0 15px var(--shadow);
}
.contactadd .contactadd_cntns p em {
  display: inline-block;
  font-size: 1.4em;
  color: var(--point-color);
  margin-top: 0.5em;
  color: #ffff00;
}

.contactadd .contactadd_cntns .contactadd_cntns_form {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.contactadd .contactadd_cntns .contactadd_cntns_form .main_btn {
  width: 100%;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .contactadd {
    padding: 18vw 0 24vw;
  }
  .contactadd .contactadd_cntns {
    width: 90%;
    padding: 5vw 0;
  }
}
@media screen and (max-width: 821px) {
  .contactadd {
    padding: 10vw 0 16vw;
  }
}
/* スマートフォン用のスタイル */
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .contactadd {
    padding: 10vw 0 24vw;
  }
  .contactadd .contactadd_cntns {
    width: 90%;
  }
  .contactadd .contactadd_cntns p {
    margin: 5vw auto 3vw;
    letter-spacing: 0;
    line-height: 1.6;
  }
  .contactadd .contactadd_cntns p em {
    font-size: clamp(16px, calc(80vw / 18), 22px);
  }
  .contactadd .contactadd_cntns .contactadd_cntns_form li {
    width: 100%;
  }
}

/* contact-btn */
.cntct-btn {
  width: 30vw;
  max-width: 320px;
  min-height: 60px;
  margin: 10px;
  display: flex;
  align-items: center;
  background: var(--main-color);
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  border-radius: 50px;
  /* border: 2px solid var(--main-color); */
  position: relative;
  z-index: 1;
}
.cntct-btn a {
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  color: #ffffff;
  /*! font-family: "Zen Kaku Gothic"; */
  font-size: 110%;
  transition-duration: 0.4s;
  z-index: 2;
}
.cntct-btn::after {
  background: var(--sub-color);
  border-radius: 50%;
  content: "";
  display: block;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 100%;
  height: 0;
  z-index: -1;
  transform: translateY(-50%) scale(0.1);
  transition:
    opacity 0.3s,
    transform 0s;
  transition-delay: 0s, 0.3s;
}

/* .cntct-btn:hover a {
  color: #513832;
} */
.cntct-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  transition-delay: 0s;
  transition:
    opacity 0.7s,
    transform 0.5s ease-in-out;
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .cntct-btn {
    width: 90%;
    max-width: 50vw;
    min-width: auto;
    min-height: 50px;
    margin: 3vw auto;
  }
  .cntct-btn {
    width: 100%;
    max-width: 240px;
    margin: 10px auto;
    background: var(--main-color);
  }
}

/* ----- contact.php #contact ----- */
#contact main {
  background: linear-gradient(180deg, #2cb0ff 0%, #2780cd 10%, #1b79c5 15%, #0058b6 90%);
}
.contact_box {
  padding: 120px 0 60px;
}
#contact .form {
  margin-bottom: 60px;
  padding: 80px 0;
  position: relative;
  z-index: 0;
  /* overflow: hidden; */
}
#contact .form .formTable {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 60px;
  background: #ffffffaa;
}
#contact .form .formTable .form_items {
  margin-bottom: 20px;
}
#contact .form .formTable .form_items dt {
  margin-bottom: 5px;
  padding-left: 0.75em;
  display: flex;
  align-items: baseline;
  font-weight: bold;
  position: relative;
}
#contact .form .formTable .form_items dt span {
  margin-left: 10px;
  font-size: 60%;
  color: #ffffff;
  background: #cc3333;
  padding: 3px 5px 4px;
  border-radius: 3px;
}
#contact .form .formTable .form_items dt.list-beasic {
  margin-left: 0;
}
#contact .form .formTable .form_items dt.list-beasic::before {
  content: " ";
  background: none;
  width: 1em;
  height: 1em;
  display: inline-block;
  border: var(--main-color) solid 0.5em;
  border-color: transparent transparent transparent var(--main-color);
  border-radius: 0;
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
}

#contact .form .formTable input[type="text"],
#contact .form .formTable textarea {
  width: 100% !important;
  height: auto;
  max-height: 50px;
  display: block;
  padding: 1%;
  background: #fff;
  font-size: 1em;
  border: 2px solid #999999;
  border-radius: 5px;
  line-height: 1.6;
}
#contact .form .formTable textarea {
  height: 120px !important;
}
#contact .form .formTable input[type="radio"] {
  width: 15px;
  height: 15px;
  margin-left: 30px;
  display: inline-block;
  transform: scale(1.5);
  border: 3px solid #999999;
}
#contact .form .form_tyui {
  margin: 20px auto;
  font-size: 90%;
  color: #ffffff;
}
#contact .form .form_tyui span {
  display: block;
  line-height: 1.2;
  padding-bottom: 5px;
  padding-left: 1em;
  text-indent: -1em;
}
#contact .form .form_tyui a {
  display: inline;
  color: var(--point1-color);
  text-decoration: underline;
  font-weight: bold;
}

@media screen and (max-width: 1081px) {
  #contact .form .formTable {
    width: 100%;
    padding: 4svh 3vw;
  }
  #contact .form .formTable .form_items dt {
    font-size: 1.2em;
  }
  #contact .form .formTable input[type="radio"] {
    width: 3vw;
    max-width: 16px;
    height: 2vw;
    min-height: 20px;
    margin-right: 1vw;
    margin-left: 5vw;
    border: 2px solid #999999;
  }
}
@media screen and (max-width: 768px) {
  .contactad {
    margin-top: -6vw;
    margin-bottom: 15vw;
    background-size: auto 6vw;
  }
  .contact_box {
    padding: 12vw 0 6vw;
  }
  #contact .form {
    padding: 6svh 0;
    margin-bottom: 0;
  }
  #contact .form .formTable {
    width: 100%;
    padding: 8vw 6vw;
  }
  #contact .form .formTable label {
    display: block;
    padding: 5px 0 0 0;
    font-size: 110%;
  }
  #contact .form .formTable .form_items dt {
    font-size: 120%;
  }
  #contact .form .formTable .form_items {
    margin-bottom: 6vw;
  }
  #contact .form .formTable input[type="radio"] {
    margin-left: 0;
  }
}

/* 郵便番号自動入力 */
#contact .form .formTable .form_post dd {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
#contact .form .formTable input#postcode {
  width: 40% !important;
  max-width: 240px;
}
#contact .form .formTable .postcodebtn {
  display: block;
  margin-top: 5px;
  padding: 5px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 80%;
  border: 1px solid #666666;
  border-radius: 6px;
  cursor: pointer;
}
/* privacy */
#contact .privacy {
  padding: 80px 0 120px;
}
#contact .privacy_box {
  width: 80%;
  height: 36vh;
  max-height: 360px;
  overflow-y: scroll;
  max-width: 1075px;
  margin: 0 auto;
  padding: 30px 50px;
  background: #fdfdfc;
  border: 2px solid #333333;
  position: relative;
  z-index: 0;
}
#contact .privacy_box h3 {
  margin-bottom: 20px;
  font-size: 140%;
  font-weight: bold;
  text-align: center;
  color: #333333;
}
#contact .privacy_box p,
#contact .privacy_box ul {
  margin-bottom: 30px;
  /*! text-indent: 20px; */
  font-size: 90%;
}
#contact .privacy_box ul li {
  line-height: 1.6;
}
#contact .privacy_box dl dt {
  font-weight: bold;
}
#contact .privacy_box dl dd {
  line-height: 1.6;
  margin: 10px 0 40px;
  text-indent: 20px;
  font-size: 90%;
}
#contact .privacy_box dl dd ul {
  margin: 10px 0;
  text-indent: 0;
}
#contact .privacy_box dl dd ul li {
  margin-bottom: 10px;
}
#contact .privacy_box dl .list-beasic {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  #contact .privacy {
    padding: 0 0 14svh;
  }
  #contact .privacy_box {
    max-height: 30svh;
    padding: 5vw 5vw 0;
  }
  #contact .privacy_box dl dd {
    line-height: 1.6;
  }
  #contact .privacy_box h3 {
    margin-bottom: 20px;
    font-size: 1.4em;
  }
}

/* thanks */
#contact #thanks .form {
  margin-bottom: 0;
  padding: 8svh 0 14svh;
}
#contact #thanks .form .formTable {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0;
}
#contact #thanks .form .formTable .thanks p {
  padding: 30px 0;
  margin-bottom: 30px;
}
#contact #thanks .cotns_box {
  background: #ffffff url(../images/contact/thx_bg.png) no-repeat bottom center;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  #contact #thanks .form .formTable {
    padding: 0 0 3vw;
  }
}
