/*-----------------------------------
　ページタイトル
-----------------------------------*/

.page-header{
    background-image: url(../img/contents-topimage-contact.png);
}
#contents-top-col{
  max-width: 75%;
  margin: 0 auto;
}
#contents-top-ttl{
  letter-spacing: 1px;
}
#contents-top-subttl{
  letter-spacing: 5px;
  margin-left: 20px;
}
@media screen and (max-width: 979px){
  #contents-top-sec{
    margin-top: 70px;
  }
}
@media screen and (max-width: 767px){
  #contents-top-sec{
    background-position: left;
  }
  #contents-top-row{
    margin-top: initial;
    margin-bottom: initial;
    width: 94%;
  }
  #contents-top-col{
    max-width: 100%;
    flex-direction: column;
    padding-top: 43px;
    padding-bottom: 43px;
  }
  #contents-top-ttl{
    font-size: 28px;
  }
  #contents-top-subttl{
    font-size: 17px;
    margin-left: 0;
  }
}
/*-----------------------------------
　電話・会員マイページ
-----------------------------------*/
.font-red{
  display: inline-block;
  margin-left: 5px;
  font-size: 80%;
  color: red;
}
@media screen and (max-width: 979px){
  #phone-col h3,
  #member-col h3{
    font-size: 25px;
  }
}
@media screen and (max-width: 767px){
  #phone-contact-sec{
    padding: 28px 0 0;
  }
  #phone-col h3,
  #member-col h3{
    font-size: 20px;
  }
  #phone-txt,
  #member-txt{
    margin-top: 18px;
  }
  #phone-btn,
  #member-btn{
    width: 90%;
    margin: 28px 0 43px;
  }
}
/*-----------------------------------
　電話・会員マイページ
-----------------------------------*/
/* タイトル・文章等 */
@media screen and (max-width: 979px){
  #contactform-ttl-col h3{
    font-size: 25px;
  }
  #contactform-form-row{
    width: 75%;
  }
  #form-attention{
    font-size: 16px;
    text-align: start;
  }
  #form-txt{
    font-size: 15px;
  }
}
@media screen and (max-width: 767px){
  #contactform-sec{
    padding: 28px 0;
  }
  #contactform-ttl-row,
  #contactform-form-row{
    width: 90%;
  }
  #form-table{
    font-size: 15px;
  }
}
/*　一番下の送信後のアクションを消す　*/
.wpcf7-response-output{
  display: none;
}

/* お問い合わせフォーム */
/*元から入っているフォームCSSの削除*/
.wpcf7 p {
    margin-bottom: 0em;
}
#form-sec select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"], 
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  margin-bottom : 0;
}
/* 表の設定 */
#form-sec{
  width: 100%;
}
#form-row{
  display: flex;
  flex-direction: row;/*表全体のflexbox設定*/
}
#form-ttl-col{
  width: 25%;
  padding: 18px 0 9px;
}
#form-ttl-col p{
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  flex-direction: row;/*表全体のflexbox設定*/
  align-items: center;
  
}
#form-ctt-col{
  width: 75%;
  padding: 8px;
}
#form-check{
  padding: 18px 0 9px;
}
@media screen and (max-width: 979px){
  #form-table{
    font-size: 15px;
  }
  #form-ttl-col{
    width: 30%;
  }
  #form-ttl-col span{
    font-size: 10px;
    padding: 3px;
  }
}
@media screen and (max-width: 767px){
  #form-row{
    display: flex;
    flex-direction: column;/*表全体のflexbox設定*/
  }
  #form-ttl-col,
  #form-ctt-col{
    width: 100%;
  }
  #form-ttl-col{
    padding: 20px 3px 10px;
  }
  #form-ctt-col{
    padding: 0 3px;
  }
}
/* フォーム内の設定 */
#txtbox,
#dropbox,
#txtarea{
  border:solid 2px #000;
}
#txtbox,
#dropbox{
  height: 60px;
  border:solid 2px #000;
}
#txtbox{
  padding: 16px;
}
input[type="checkbox"]{
  margin-right: 5px;
}
#form-check .wpcf7-list-item{
  margin: initial;
}
@media screen and (max-width: 767px){
  #txtbox,
  #dropbox{
    height: 50px;
  }
}
/*---------------------------------*/
/*送信ボタン                       */
/*---------------------------------*/
/*------　送信ボタン設定上書き　------*/
.form_btn [type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  width: 95%;
  height: 80px;/*ボタンの縦サイズ*/
  margin: 35px auto 0;
  background: #000; /*ボタンの色はここで変更*/
  color: #fff; /*文字の色はここで変更*/
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 0px;
  cursor: pointer;
  margin-bottom: initial;
  text-shadow: initial;
  -webkit-box-shadow: 0 12px 12px rgba(0, 0, 0, 0.2);
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
/*------　送信ボタンhover設定上書き　------*/
.form_btn [type="submit"]:hover {
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  color: #000; /*ホバー時の文字色はここで変更*/
  background: #fbf900; /*ホバー時のボタンの色はここで変更*/
}



/* #contact-btn-txt{} */
#contact-btn-txt span{
  font-size: 80%;
}

@media (max-width: 767px){
  .br-sp{
    display: none;
  }
}

/*----------------------------------
　20241227_追加
-----------------------------------*/
/*-希望日時変更-*/
.schedule-row{
  display: flex;
  align-items: center;
}
.schedule-day-col{
  width: 70%;
  max-width: 265px;
}
.schedule-time-col{
  width: calc(30% - 50px);
  max-width: 160px;
  margin-left: 50px;
}
input[type="date"]{
  height: 60px;
  border:solid 2px #000;
}
#form-sec select{
  height: 60px;
  border:solid 2px #000;  
}
@media (max-width: 979px){
  .schedule-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .schedule-day-col{
    width: 60%;
    max-width: none;
  }
  .schedule-time-col{
    margin-top: 20px;
    margin-left: 0;
    width: 40%;
    max-width: none; 
  }
}
@media (max-width: 767px){
  input[type="date"],
  #form-sec select{
    height: 50px;
  }
}
/*-必須・任意箇所設定-*/
#form-ttl-col span{
  display: inline-block;
  font-size: 0.8em;
  padding: 2px 16px;
  margin-left: 15px;
  border-radius: 2px;
  color: #000;
  line-height: 1.2;
}
.mandatory{
  background: #f4db23;
}
.any{
  background: blue;
}

/*-チェックボックス編集-*/
.thepurpose {
  display: flex;
  flex-direction: column;
}
.thepurpose .wpcf7-checkbox span{
  margin-left: 0;
}
.thepurpose .wpcf7-list-item{
  margin-right: 1em;
  margin-left: 0;
}
.thepurpose .wpcf7-list-item.first {
  margin: 0 1em 0 0;
}
.thepurpose .wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}
.thepurpose input[type="checkbox"]{
  opacity: 0; /* デフォルトのボタンを非表示 */
  position: absolute; 
}
.thepurpose .wpcf7-list-item-label::before{
  display: block !important;
  background: #fff;
  border: 1px solid #000;
  border-radius: 100%; /* ラジオボタンっぽく丸くする */
  content: "";
  width: 18px;
  height: 18px;
  margin-bottom: auto;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .5s; /* 色をじんわり変化させる */
}
.thepurpose input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background-color: #f4db23; /* チェック後の中心の色 */
}
@media (max-width: 979px){
  .thepurpose .wpcf7-list-item{
    font-size: 14px;
  }
  .thepurpose .wpcf7-list-item-label::before{
    width: 16px !important;
    height: 16px !important;
  }
}

.tel-container{
  width: fit-content;
  margin: 0 auto;
}

.tel-container h3{
  line-height: 1!important;
}

.tel-container p{
  line-height: 0.5!important;
}

.tel-sub-container{
  align-items: flex-start!important;
}