.con03_question{margin-bottom:10px;background:url(../../img/lp_consult/con03_checkicon.png) no-repeat left top;background-size:20px auto;padding-left:25px;}
.con03_stop{margin-bottom:20px;}
.con03_case{float:left;width:calc(50% - 5px);height:auto;margin-right:10px;margin-bottom:15px;}
.con03_case:nth-child(2n){margin-right:0;}
.con04_contents{padding-top:60px;}
.con04_contents p{font-size:11px;}
.con05_contents{background:#FFF;}
.con05_txt{padding:20px;box-sizing:border-box;border-bottom:1px solid #000;}
.con05_txt__head{color:#f00505;font-size:20px;font-weight:bold;margin-bottom:5px;}
.con05_txt__sentence{color:#333;}
.con05_txt__organ{width:90%;margin:0 5% 20px;}
.con06_contents{background:#fff;color:#333;padding-bottom:30px;}
.con06_contents__inner{background:url(../../img/lp_consult/con06_bg.jpg);border:1px solid #333;padding:10px;}
.con06_box h3{font-weight:normal;color:#f00505;font-size:16px;margin-bottom:10px;}
.con06_box__image{margin-bottom:10px;}
.con06_box__01,
.con06_box__02{margin-bottom:30px;}
.con07_box{background:url(../../img/lp_consult/con07_bg.jpg) no-repeat;background-size:100% auto;padding:5%;color:#333;}
.con07_box__inner{background-color:rgba(255,255,255,.8);padding:15px;}
.con07_box__question dt{background:url(../../img/lp_consult/con07_icon01.png) no-repeat left top;background-size:20px auto;padding-left:30px;margin-bottom:5px;font-weight:bold;}
.con07_box__question dd{background:url(../../img/lp_consult/con07_icon02.png) no-repeat left top;background-size:20px auto;padding-left:30px;margin-bottom:20px;}
.con08_box__text p{margin-bottom:10px;}
.con08_box__performance{border:1px solid #fff;padding:20px;margin-bottom:20px;}
.company_contents dt{background:#555252;padding:8px;font-weight:bold;}
.company_contents dd{background:#555252;padding:8px;background:#6b6b6b}
.access_map iframe{width:100%;height:250px;}
.access_map{margin-bottom:40px;}
.contacts_tel{margin-bottom:30px;}
.contents_privacy{margin-bottom:30px;}
.form_box{background:#FFF;padding:15px;color:#333;margin-bottom:80px;}
.form_box dt{border-left:3px solid #D9B964;margin-bottom:10px;padding-left:5px;}
.form_box dd{margin-bottom:20px;}
.form_box input{box-sizing:border-box;padding:5px; width: auto; max-width: 100%;}
.form_box textarea{width:100%;box-sizing:border-box;padding:5px;}
/*.form_box .comment{margin-bottom:30px;}*/
.form_box .contact_button{/*width:80%;margin:0 10%;*/padding:0;}
.footer_privacy {
  overflow: hidden;
  margin-right: 100px;
  margin-bottom: 10px;
  float: right;
}
footer {
  overflow: hidden;
}
.footer_privacy li {margin-right:20px;float:left;}

/*　個人情報追加　*/
.privacy-area {
    padding: 15px;
    margin: 15px auto 15px;
    height: 130px;
    overflow-y: scroll;
    border: solid 1px #ccc;
}
.crosshead04 {
    font-size: 16px;
    margin-bottom: 15px;
}
.privacy-inner ol {
    padding-left: 17px;
}
.privacy-area ol > li {
    padding-left: 8px;
    margin-bottom: 13px;
	list-style: decimal;
}
.privacy-check input {
	text-align: center;
	box-sizing:border-box;
	padding:5px;
	width: 15px;
}
.horizontal-item {
    margin-left: 10px;
}

@media only screen and (max-width:600px){

  .footer_privacy {
    margin-right: 10px;
    float: none;
    text-align: center;
  }
  .footer_privacy li {
    display: inline-block;
    float: none;
  }
}


@media only screen and (max-width:767px){
  .contents_privacy .btn {
    width: 70%;
    margin: 20px auto 0;
  }
}

.hissu{color:#f00505;}
.errMsg,
.conMsg{padding:10px 0;}
.contact_conform .form_box{margin-bottom:10px;}
.contact_conform .button{
  text-align:center;
  /*margin-bottom:0;*/
  display: flex; /* Flexboxで子要素を横並びにする */
  gap: 50px;     /* ボタン間の余白を設定 */
  justify-content: center; /* 必要であれば中央寄せにする */
  align-items: center; /* 垂直方向の中央寄せ */
  width: 100%; /* 親要素の幅に合わせて広げる */
  max-width: 800px; /* 必要に応じて最大幅を設定 */
  margin: 0 auto; /* 中央寄せにする場合 */
}
.contact_conform .button input{background:#E11A22;color:#FFF;border:none;margin-bottom:10px;padding:10px 0;}
.contact_conform .button input{transition:all .5s ease;}
.contact_conform .button input:hover{cursor:pointer;opacity:.8;}
input#back{background:#666;}
.contact_result__btn a{background:#E11A22;color:#FFF;padding:20px 0;width:200px;display:inline-block;margin-top:50px;text-decoration:none;transition:all .3s ease;}
.contact_result__btn a:hover{opacity:.8;}
@media screen and (min-width:767px){.con01_contents{}
.con01_txt_box{float:left;}
.con01_btn{width:310px;float:right;}
.con03_question_box{background:url(../../img/lp_consult/con03_bg02.png) no-repeat right top;padding:80px 0;background-size:650px auto;}
.con03_question{font-size:20px;padding-left:40px;line-height:1;margin-bottom:30px;text-shadow:2px 2px 1px rgba(0,0,0,1);font-family:"游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Sawarabi Mincho", "ＭＳ 明朝", serif;}
.con03_stop{width:800px;margin:30px auto 50px;}
.con03_case{width:300px;margin-right:50px;margin-bottom:25px;}
.con03_case:nth-child(4){margin-left:160px;}
.con03_case:nth-child(2n){margin-right:50px;}
.con03_case:nth-child(3),
.con03_case:nth-child(5){margin-right:0;}
.con04_contents p{font-size:18px;}
li.con04_box{width:210px;margin:30px 53px 60px 0;}
li.con04_box:nth-child(2){margin:30px 53px 60px 0;}
li.con04_box:nth-child(4){margin:30px 0 60px 0;}
.con04_box p{font-size:14px;}
.con05_h2{padding:50px 0;}
.con05_txt__head{font-size:40px;font-weight:normal;}
.con05_contents{background:url(../../img/lp_consult/con05_bg.jpg) no-repeat;background-size:100% auto;}
.con05_txt{padding:40px 50px 25px;background-color:rgba(255,255,255,.8);margin-bottom:60px;border:none;}
.con05_box{margin-top:40px;}
.con05_box li{width:160px;margin-right:26px;}
.con05_box li:nth-child(4){margin-right:26px;}
.con05_box li:nth-child(5){margin-right:0}
.con05_tit_wrapper{background:url(../../img/lp_consult/con05_tit_bg.gif) repeat-x left top;}
.con05_txt__organ{margin-bottom:100px;}
.con06_contents__inner{border:4px solid #333;padding:50px;margin-bottom:100px;}
.con06_box{margin-bottom:60px;}
.con06_box__image{width:320px;margin-top:-40px;}
.con06_box__01 .con06_box__image,
.con06_box__03 .con06_box__image{float:right;margin-left:20px;}
.con06_box__02 .con06_box__image{float:left;margin-right:20px;}
.con06_box h3{font-size:22px;font-weight:bold;}
.con06_box__text p{line-height:2;}
.con07_contents{background:url(../../img/lp_consult/con07_bg.jpg) no-repeat;background-size:100% auto;}
.con07_h2{padding:60px 0;}
.con07_box{background:none;padding:0;margin-bottom:100px;}
.con07_box__inner{padding:60px 60px 40px;}
.con07_box__question dt{line-height:40px;font-size:22px;background-size:40px auto;padding-left:55px;margin-bottom:15px;}
.con07_box__question dd{background-size:40px auto;padding-left:55px;margin-bottom:20px;padding-top:5px;}
.contents__inner{margin-bottom:80px; margin-top: 40px;}
.con08_box__image{float:right;width:400px;}
.con08_box__text{float:left;width:570px;line-height:2;}
.con08_box__text p{margin-bottom:40px;}
.con08_box__performance{width:240px;}
.con08_box__performance h3{font-size:16px;font-weight:normal;}
.company_contents dt,
.company_contents dd{display:table-cell;padding-left:20px;box-sizing:border-box;}
.company_contents dt{width:100px;background:#6b6b6b;border-right:1px solid #aaa;}
.company_contents dd{width:900px;}
.company_contents dl:nth-of-type(2n-1) dt,
.company_contents dl:nth-of-type(2n-1) dd{background-color:#555252;}
.access_map{margin-bottom:120px;}
.access_map iframe{height:600px;}
.contents_privacy{margin-bottom:70px;}
.contents_privacy .txt{width:600px;float:left; padding-top: 7px;}
.contents_privacy .btn{/*width:310px;*/width:350px;float:right;}
.contacts_tel{width:600px;margin:0 auto;}
.contacts_tel p{}
.form_box{padding:30px;margin-bottom:200px;}
.form_box dl{border-bottom:1px dotted #000;padding:30px;
  display: flex;
  align-items: center;}
.form_box dl:after{content:"";display:block;clear:both;}
.form_box dd{margin-bottom:0;}
.form_box dt{width:200px;/*float:left;*/margin:7px 0;padding-left:10px;font-weight:bold;font-size:14px;line-height:1.4;border-width:7px;}
.form_box input[type="text"],
.form_box textarea{width:300px;border:1px solid #ccc;border-radius:3px;padding:8px;box-shadow:-1px -1px 0 rgba(0,0,0,.2);}
.form_box textarea{width:600px;margin-top:10px;}
.form_box .comment{width:550px;margin:20px auto;}
.form_box .button{
  text-align:center;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.form_box .contact_button{width:300px;margin:0 auto auto;}
.form_box .form_button{width:300px;margin:0 auto auto;}
/*.footer_privacy{margin-right:100px;}*/
.contact_conform dd{margin:7px 0;}
.conMsg{padding-bottom:20px;}
.contact_conform .button input{width:200px;margin:45px;}
}
.contact_conform .form_box.confirm_space{/*padding-top:200px;*/padding-top:30px;}
.contents__inner.completion_space{/*padding-top:400px;*/padding-top:150px;}
.privacy-check {
	text-align: center;
}


/*完了ページのid="a8sales"が読み込むimgタグによって、完了ページフッター下に大きな余白が入ってしまうのでcssで見かけ上非表示にする*/
span#a8sales {
  display: none;
}


/*.button .btn_form_wrap{
  display: inline-block;
}*/

.button .form_button {
    display: block; /* aタグの場合にブロック要素にする */
    max-width: 400px; /* 親要素の幅いっぱいに広げる */
    padding: 20px 30px; /* 上下左右のパディング */
    background-color: #A9A9A9; /* 修正するボタンの背景色（グレー） */
    color: #FFFFFF; /* 文字色（白） */
    font-size: 1.2em; /* フォントサイズ */
    font-weight: bold; /* フォントの太さ */
    text-align: center; /* テキストを中央寄せ */
    text-decoration: none; /* 下線をなくす（aタグの場合） */
    border: none; /* ボーダーをなくす */
    cursor: pointer; /* カーソルをポインターに */
    transition: background-color 0.3s ease; /* ホバー時のアニメーション */
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
}

.button .form_button:hover {
    background-color: #8C8C8C; /* ホバー時の背景色 */
}

/* ご入力内容の確認に進む / 送信するボタンのスタイル */
.button .contact_button {
    max-width: 400px; /* ボタンの最大幅 */
    padding: 20px 30px; /* 上下左右のパディング */
    background-color: #E11A22; /* 確認/送信ボタンの背景色（赤） */
    color: #FFFFFF; /* 文字色（白） */
    font-size: 1.2em; /* フォントサイズ */
    font-weight: bold; /* フォントの太さ */
    text-align: center; /* テキストを中央寄せ */
    border: none; /* ボーダーをなくす */
    cursor: pointer; /* カーソルをポインターに */
    transition: background-color 0.3s ease; /* ホバー時のアニメーション */
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
    position: relative; /* 疑似要素のためにrelativeを設定 */
    overflow: hidden; /* 角丸でグラデーションがはみ出さないように */
}

/* 確認/送信ボタンのグラデーション */
.button .contact_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0.1) 100%); /* グラデーションの表現 */
    pointer-events: none; /* クリックイベントを透過させる */
}

.button .contact_button:hover {
    background-color: #C81A28; /* ホバー時の背景色 */
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .button {
      display: flex;
      flex-direction: column; /* スマートフォンでは縦並びにする */
      gap: 15px; /* 縦並びの時の余白 */
    }

    .button .form_button,
    .button .contact_button {
        max-width: 100%; /* スマートフォンでは幅いっぱいに広げる */
        margin: 0 auto;
    }
}


.mw_wp_form_confirm .contact_content-text {
  display: none;
}