/* --- 先頭へ戻るボタン本体 (.subtitle-wrap) --- */
#footer #footer-first-back {
  container-type: unset;
  max-width: unset;
  margin: unset;
  --w-ref: unset;
}

#footer .subtitle-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2.67cqw;
  gap: 1.33cqw;
  width: 100%;
  height: 6.73cqh;
  background: #f7ecdb;
  box-sizing: border-box;
  cursor: pointer;
}

/* --- テキスト (.subtitle) --- */
#footer .subtitle-wrap .subtitle {
  color: #d00000;
}

/* --- SVGアイコン --- */
#footer .subtitle-wrap svg {
  display: block;
  width: auto;
}

/* 1. ボタン本体（共通） */
#footer .is-pc .footer-accordionBtn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1cqw 1cqw 1cqw 1cqw;
  width: 100%;
  height: auto;
  background: #ffffff;
  border: 1px solid #bbbbbb;
  border-radius: 0.8cqw;
  margin: 0;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  min-width: max-content;
}

/* 既存のCSSの疑似要素（+ -）を消す */
#footer .is-pc .footer-accordionBtn::before,
#footer .is-pc .footer-accordionBtn::after {
  display: none !important;
}

/* 2. テキスト部分 */
#footer .is-pc .footer-accordionBtn .btn-text {
  display: flex;
  align-items: center;
  color: #272727;
  text-align: left;
}

/*  */
.footer-accordion_menu.common-style-area {
  container-type: unset;
  max-width: unset;
  margin: unset;
  --w-ref: unset;
}

/* 3. アイコン（通常時 = プラス） */
#footer .is-pc .footer-accordionBtn .btn-icon-wrap {
  display: block;
  width: 1.25cqw;
  height: 1.25cqw;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 5C12.0523 5 12.5 5.44772 12.5 6V11.5H18C18.5523 11.5 19 11.9477 19 12.5C19 13.0523 18.5523 13.5 18 13.5H12.5V19C12.5 19.5523 12.0523 20 11.5 20C10.9477 20 10.5 19.5523 10.5 19V13.5H5C4.44772 13.5 4 13.0523 4 12.5C4 11.9477 4.44772 11.5 5 11.5H10.5V6C10.5 5.44772 10.9477 5 11.5 5Z' fill='%23D00000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

/* 4. アイコン（Active時 = マイナス） */
#footer .is-pc .active .footer-accordionBtn .btn-icon-wrap {
  /* マイナスのSVG */
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='11' width='15' height='2' rx='1' fill='%23D00000'/%3E%3C/svg%3E");
  transform: rotate(0deg);
}

#footer-accordion_menu .item_list .common-link-btn::after {
  width: 2cqw;
  height: 2cqw;
}

#footer .footer__foot2026--inner_under {
  background-color: #000 !important;
  color: #fff !important;
}

#footer p.xx-small-text.fo.oter__foot--permit {
  font-size: max(15px);
}

#footer-accordion_menu .item_list .common-link-btn {
  padding: 0.5cqw 0.5cqw 0.5cqw;
  gap: 1cqw;
  width: 100cqw;
}

#footer-accordion_menu .item_list {
  container-type: unset;
  max-width: unset;
  margin: unset;
  --w-ref: unset;
}
@media (max-width: 767px) {
  #footer-accordion_menu .acod-content--wrap {
    display: flex;
    flex-direction: column;
    gap: 3cqw;
    padding-bottom: 4cqw;
  }
  #footer .corporate__link2026:nth-child(2) {
    max-width: 100% !important;
    padding: 1rem 3% !important;
  }
}

@media (min-width: 768px) {
  .footer__foot2026.common-style-area {
    max-width: 100%;
    background-color: #000 !important;
  }
}
