.footer {
  background: #2f78b7;
  color: #fff;
  padding: 60px 0 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.footer-logo{
  background: #fff;
  padding: 10px;
  display: inline-block;
  height: fit-content;
  width: fit-content;
}
.footer-logo img{
  max-height: 60px;
}
.footer-inner {
  max-width: 1440px;
  padding: 0 50px;
  width: 90%;
  gap: 30px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

/* 左 */
.footer-info {
    display: flex;
    gap: 30px;
}
.footer-rt{
  display: flex;
  gap: 30px;
  max-width: 600px;
  width: 90%;
  justify-content: space-between;
  position: relative;
}
.footer-info p {
  font-size: var(--font-size-footer-normal);
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 0;
}
.shop-name{
  font-weight: bold;
}
/* ナビ */
.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: var(--font-size-footer-normal);
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* 右ボタン */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 15px 20px;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  font-size: var(--font-size-footer-normal);
}
.btn:hover{
  opacity: 0.8;
  color: #fff;
}

.tel-btn {
  background: #f39c42;
  color: #fff;
}

.line-btn {
  background: #5fbf63;
  color: #fff;
}

.footer-contact-btn {
  background: #fff;
  color: #2f78b7;
}
.footer-contact-btn:hover{
  color: #2f78b7;
}

/* ページトップ */
.to-top {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #2f78b7;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-normal);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}
/* 下部 */
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.5);
  padding: 20px 0;
  text-align: right;
  font-size: 13px;
}
.footer-bottom p{
  padding: 0 30px;
}
body{
  position: relative;
}
.sp-footer-cta{
  display: none;
  width: 100%;
  position: fixed;
  z-index: 999;
  height: auto;
  background: #ffffffd3;
  border: 1px solid #2f78b7;
  padding: 15px 0;
  right: 0;
  bottom: -100px;
  justify-content: space-evenly;
  gap: 5px;
  transition: 0.3s;
}
.sp-footer-cta.is-show{
  bottom: 0; /* 表示時 */
}
/* レスポンシブ */
@media (max-width: 768px) {
  .footer-inner{
    flex-direction: column;
  }
  .footer-nav {
    gap: 30px;
  }
  
  .footer-bottom {
    text-align: center;
  }
  .footer-info-txts{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
  .footer-nav{
    max-width: 400px;
    width: 90%;
  }
  .footer-cta {
    min-width: 230px;
    
  }
  .footer-rt{
    max-width: none;
  }
}
@media(max-width:500px){
  .footer-rt{
    flex-direction: column;
  }
  .footer-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 下段を2列にする */
    grid-auto-rows: auto;
    gap: 16px; /* ボックスの間隔はお好みで */
  }
  
  /* 上のボックスを横幅いっぱい（2列分）に広げる */
  .item1 {
    grid-column: 1 / 3; /* 1列目〜2列目をまたぐ */
  }
  
  /* デモ用の装飾（任意） */
  .item {
    border: 1px solid #ccc;
    box-sizing: border-box;
    white-space: nowrap;
    height: fit-content;
  }
  
}
@media (max-width: 500px) {
  .footer-inner{
    padding: 0;
  }
  .footer-nav{
    gap: 70px;
    flex-wrap: wrap;
    padding-right: 30px;
    column-gap: 30px;
  }
  .footer-cta{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .to-top{
    display: none;
  }
  .footer-rt{
    width: 100%;
  }
  .footer-info{
    flex-direction: column;
  }
  .sp-footer-cta{
    display: flex;
  }
}