@media screen and (max-width: 834px){

  footer{
    display: block; /* noneを解除して表示 */
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  /* 追加するボタンコンテナのスタイル (モバイル) */
  .footer-contact-buttons {
      display: flex;
      flex-direction: column; /* 縦並びにする */
      gap: 15px;
      padding: 10px 5%;
      width: 100%;
  }

  .footer-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 12px 10px;
      border-radius: 4px;
      font-size: 110%;
      font-weight: bold;
      text-decoration: none;
      color: #fff;
      transition: background-color 0.3s;
      border: 1px solid #fff;
  }

  /* 電話ボタン (モバイル) */
  .footer-tel-btn {
      background-color: rgba(255, 0, 0, 0.8);
  }
  /* メールボタン (モバイル) */
  .footer-mail-btn {
      background-color: rgba(50, 50, 50, 0.8);
  }

  .footer-btn .btn-icon {
      font-size: 150%;
      margin-right: 10px;
  }

  /* フッターマップのモバイル表示は不要なため、そのまま非表示 */
  .footer_map{
    display:none !important;
  }

  .wrapper{
    background-color:black;
    line-height:20px;
    color:white;
    width:100%;
  }
/* ... (中略: 既存のスタイル) ... */

  .wrapper{
    background-color:black;
    line-height:20px;
    color:white;
    width:100%;
  }
   /* コピーライト*/
  #copyright{
  text-align:center;
  font-size:10px;
  margin-bottom:25px;
  }
  
  #copyright a:link {color:#555555;}
  #copyright a:visited  {color:#555555;}
  #copyright a:hover {color:#555555;}
  #copyright a:active  {color:#555555;}
}





@media screen and (min-width: 835px){

footer{
  background-color: rgba(100,100,100,0.8);
  line-height: normal;
  padding-bottom: 20px;
  line-height:30px;
  padding-top:20px;
  padding-bottom:125px;
}

/* 追加するボタンコンテナのスタイル */
.footer-contact-buttons {
    display: flex; /* 横並びにする */
    justify-content: center; /* 中央寄せ */
    gap: 30px; /* ボタン間の間隔 */
    padding: 30px 0 30px; /* 上下に余白 */
    width: 80%;
    margin: 0 auto;
}

.footer-btn {
    display: flex; /* アイコンとテキストを横並びにする */
    align-items: center;
    justify-content: center;
    width: 45%; /* ボタンの幅 */
    padding: 15px 10px;
    border-radius: 4px;
    font-size: 110%;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s;
    border: 1px solid #fff; /* 白い枠線で目立たせる */
}

/* 電話ボタン (サイトで使われている赤系を意識) */
.footer-tel-btn {
    background-color: rgba(255, 0, 0, 0.7); /* 透明度のある赤 */
}
.footer-tel-btn:hover {
    background-color: rgba(255, 0, 0, 1.0); /* ホバーで濃い赤 */
}

/* メールボタン (電話ボタンと対比する色) */
.footer-mail-btn {
    background-color: rgba(50, 50, 50, 0.7); /* 濃い灰色 */
}
.footer-mail-btn:hover {
    background-color: rgba(70, 70, 70, 1.0); /* ホバーで濃い灰色 */
}

.footer-btn .btn-icon {
    font-size: 150%;
    margin-right: 10px;
}
.footer_map{
  display: flex;/*横並びにする*/
  flex-wrap: nowrap; /*折り返ししない*/
  flex-basis: auto;
  padding-top: 40px;
  text-align: center;
  color:white;


}



.footer_map li{
  width: 100%;
  list-style-type: none;/*箇条書きの点なし*/
  position: relative; /*サブメニューポジションの基準位置にする*/
  text-decoration: underline;
}

.footer_map a{/*メインメニュー(HOME 会社概要 実績一覧...*/

  color: #ffffff;
  /*padding: 3px 10px 3px 10px;*/
  font-size:120%;
  line-height: 20px;
  text-decoration: none;/*下線なし*/
  text-align: center;
  font-weight: normal;

  display: block;/*項目内全域をリンク可能にする*/


}

.footer_map li a:hover{/*メインメニューのマウスオン*/
  background-color: rgba(255,0,0,0.8);



}

.footer_map li ul{/*サブメニュー全体*/
   z-index: 9999;
   font-size: 80%;
   margin: 0px;
   padding: 0px;
   position: absolute;
   padding-top: 10px;
   line-height: 20px;
   text-align: left;
   padding-left:0px;
   font-weight: normal;
   width: 100%;


}


.footer_map li ul li a:hover{/*サブメニューのマウスオン*/

   background-color: rgba(255,0,0,0.8);
}

.wrapper{
  background-color:black;
  line-height:20px;
  color:white;
}
 /* コピーライト*/
#copyright{
text-align:right;
font-size:10px;
margin-bottom:25px;
}

#copyright a:link {color:#555555;}
#copyright a:visited  {color:#555555;}
#copyright a:hover {color:#555555;}
#copyright a:active  {color:#555555;}
}