/*20261119*/



@media only screen and (min-width: 1025px) {
  .sidebox {
    right: 0;
    top: 300px;
  }

  /* 電話番号(telbox)以外の3ボタンを64pxの四角にする */
  .sidebox .list .item:not(.telbox) {
    width: 64px;
    height: 64px;
    padding: 0;
    margin-bottom: 8px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(62, 58, 57, 0.12);
    transition: opacity 0.3s ease;
  }

  /* 編集画面(data-element-id)で表示されるtelboxは元の幅と高さを維持 */
  [data-element-id].sidebox .list .item.telbox {
    width: 260px;
    height: auto;
    overflow: visible;
    margin-bottom: 8px;
  }

  .sidebox .list .item:not(.telbox):hover {
    transform: none;
    opacity: 0.78;
  }

  .sidebox .list .item:not(.telbox) a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
  }

  /* お問い合わせ・Instagramのアイコンサイズ */
  .sidebox .list .item:not(.telbox) a img {
    width: 30px;
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
  }

  /* LINE画像だけ一回り大きくして見た目を揃える */
  .sidebox .list .item.line a img {
    width: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  /* サイトのテーマカラー(#bd9f77)と調和する落ち着いたトーン */
  .sidebox .list .item.contact {
    background-color: #bd9f77;
  }

  .sidebox .list .item.instagram {
    background: #a38973;
  }

  .sidebox .list .item.line {
    background-color: #889681;
  }
}

/* スマホ下部固定の「お問い合わせ」ボタンのアイコン画像調整 */
@media only screen and (max-width: 1024px) {
  .sidebox .list .item.contact a img {
    width: 22px;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
  }
}


/* ==========================================
   TOP02 .another-pic の幅潰れ解消とサイズ調整
========================================== */
.top02 .picbox .pic.another-pic {
  position: static;
  width: 100%;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
}

.top02 .picbox .pic.another-pic .ofiImg img {
  object-fit: cover;
  object-position: center 25%;
}




/* ==========================================
   フッターSNS・お問い合わせボタン(.icon-flex) 追従ボタンと統一デザイン
========================================== */
#footer .icon-flex,
footer .icon-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: auto;
  margin: 30px auto 0;
  padding: 0;
}

#footer .icon-flex li.item,
footer .icon-flex li.item {
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(62, 58, 57, 0.12);
  transition: opacity 0.3s ease;
}

#footer .icon-flex li.item:hover,
footer .icon-flex li.item:hover {
  opacity: 0.78;
}

#footer .icon-flex li.item a,
footer .icon-flex li.item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}

/* お問い合わせ・Instagramのアイコンサイズ */
#footer .icon-flex li.item a img,
footer .icon-flex li.item a img {
  width: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}


/* LINE画像だけさらに一回り大きく調整 */
#footer .icon-flex li.item.line a img,
footer .icon-flex li.item.line a img {
  width: 44px;
  max-width: 44px;
  max-height: 44px;
}

/* 落ち着いた3色のカラーリング（フッター背景と被らないダークモカブラウンを採用） */
#footer .icon-flex li.item.contact,
footer .icon-flex li.item.contact {
  background: #8a7158;
}

#footer .icon-flex li.item.instagram,
footer .icon-flex li.item.instagram {
  background: #a38973;
}

#footer .icon-flex li.item.line,
footer .icon-flex li.item.line {
  background: #889681;
}

