footer {
    background-color: #f2f2f2;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media only screen and (max-width: 425px) {
    footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .footer_ttl h2 {
        font-size: 18px;
    }
    .footer_txt {
        font-size: 14px;
    }
}
/* コンテンツが少ない時、余白が下にできないようにフッターを固定 */
.wrap{
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 0vh;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
	font-size: 14px;
	line-height: 1.7;
}

.footer-column {
  flex: 1; /* 各カラムを均等に広げる */
  padding: 16px;
  text-align: center; /* 必要に応じて変更 */
}

.footer-column:not(:last-child) {
  border-right: 1px solid #ccc; /* 右側の区切り線 */
}



@media (max-width: 1024px) {
  .footer-columns {
    flex-direction: column; /* スマホサイズで縦方向に並べる */
  }

  .footer-column:not(:last-child) {
    border-right: none; /* 縦方向時の右線を削除 */
    border-bottom: 1px solid #ccc; /* 縦方向の区切り線を追加 */
  }
}
.footer-column a {
  color: #333; /* 通常時の色 */
  text-decoration: none; /* 下線を削除 */
  transition: color 0.3s ease; /* 色の変化を滑らかに */
}

.footer-column a:hover {
  color: rgba(51, 51, 51, 0.5); /* マウスオン時に色を薄くする */
}








.cta_btn09 {
  font-weight: bold; /* 文字の太さ */
  text-align: center;
  letter-spacing: 0.1em;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta_btn09-contact , .cta_btn09-tel {
  color: #fff !important; /* 文字色 */
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 1em 1em 1em 60px;
  border-radius: 100vh;
  width: 90%; /* ボタン幅 */
  max-width: 350px; /* 最低ボタン幅 */
  transition: 0.3s;
}

.cta_btn09-contact {
  background: #F88400; /* お問い合わせボタン色 */
}

.cta_btn09-tel {
  background: #00BCD4; /* 電話ボタン色 */
}

.cta_btn09-contact::before,
.cta_btn09-tel::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: cover;
}
.cta_btn09-contact::before {
  width: 50px;
  height: 50px;
  background-image: url("../img/mail.svg"); 
}

.cta_btn09-tel::before {
  width: 50px;
  height: 50px;
  background-image: url("../img/phone.svg"); /* 電話アイコン */
}

.cta_btn09 .copy_txt {
  line-height: 1;
  display: inline-block;
  padding: 0.2em 1.5em;
  letter-spacing: 0;
  background: #fff; /* 下文字背景色 */
  font-size: 90%; /* 下文字サイズ */
  border-radius: 10px;
}

.cta_btn09-contact .copy_txt {
  color: #F88400; /* 下文字色 */
}

.cta_btn09-tel .copy_txt {
  color: #00BCD4; /* 下文字色 */
}

.cta_btn09 img {
    width: 1em;
    margin-right: 0.5em;
}

/* マウスオーバーした際のデザイン */
.cta_btn09-contact:hover,
.cta_btn09-tel:hover {
  transform: scale(1.05);
}



/* 小さめのボタンの基本スタイル */
.minibutton {
  padding: 5px 12px; /* ボタン内の余白を小さく設定 */
  font-size: 12px; /* フォントサイズを小さく設定 */
  background-color: gainsboro; /* 背景色（緑） */
  color: white; /* 文字色 */
  border: none; /* 枠線なし */
  border-radius: 15px; /* 角を丸く */
  cursor: pointer; /* マウスカーソルをポインターに */
  transition: background-color 0.3s ease, transform 0.2s ease; /* 背景色とサイズのスムーズな変化 */
  width: auto; /* 横幅を自動に設定してテキストに合わせる */
  max-width: 150px; /* 最大横幅を指定 */
  white-space: nowrap; /* ボタン内でテキストが改行されないようにする */
	
}

/* ホバー時のスタイル */
.minibutton:hover {
  background-color: darkgray; /* ホバー時に少し暗い緑色 */
  transform: scale(1.05); /* サイズを少し大きくする（1.05倍） */
}



/* 上に戻る */


.scroll-to-top {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50px; /* ボタンの幅 */
  height: 50px; /* ボタンの高さ */
  background-color: #fff; /* 背景色：白 */
  display: none; /* 初期状態で非表示 */
  cursor: pointer;
  padding: 0; /* 余白なし */
  margin: 0; /* 余白なし */
  border: none; /* 枠線なし */
}

.scroll-to-top img {
  width: 100%; /* 画像をボタン内にフィット */
  height: 100%; /* 画像をボタン内にフィット */
  object-fit: cover; /* 画像を枠内に収める */
}
/* コピーライト */
.copyright {
 display: flex;          /* フレックスボックスを有効化 */
  justify-content: center; /* 水平方向に中央揃え */
  align-items: center;     /* 垂直方向に中央揃え */
  font-size: 14px;         /* フォントサイズ */
  color: #fff;             /* テキストの色 */
	background-color: #0154A5; /* 背景色：白 */
  padding: 10px 0;         /* 上下の余白 */
  border-top: 0px solid #444; /* 上部に薄い線を追加 */
  height: 50px;            /* 必要に応じて高さを設定 */
}

