/* ===== Footer ===== */

.siteFooter{ margin-top: 0; }

/* ======================================
   ① Support (4 boxes / accordion)
====================================== */

.fSupport{
  padding: 40px 0;
  background: #EFEFEF;
}

.fSupport__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Card */
.fAcc{
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  overflow: hidden;
}

/* summary */
.fAcc__summary{
  list-style: none;
  padding: 20px 20px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fAcc__summary::-webkit-details-marker{ display: none; }

.fAcc__body{
  padding: 0 20px 20px;
  font-size: 12px;
  color: #000;
}

.fText{
  margin: 0 0 12px;
  font-size: 12px;
  color: #000;
  line-height: 1.65;
}

/* list marker = ● */
.fList{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  line-height: 1.55;
}
.fList li{
  position: relative;
  padding-left: 14px;
}
.fList span,
.fText span{
  font-size: 10px;
}
.fList li::before{
  content: "●";
  position: absolute;
  left: 0;
  top: 0.4em;
  font-size: 10px;
  line-height: 1;
  color: #000;
}
.fList b{ font-weight: 700; }

/* buttons */
.fBtnRow{
  display: grid;
  gap: 10px;
  margin: 4px 0 10px;
}

.fBtn{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 18px 8px 10px; /* right: arrow space */
  border: 1px solid #000;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;

  transition:
    background-color .28s cubic-bezier(.2,.8,.2,1),
    color .28s cubic-bezier(.2,.8,.2,1),
    border-color .28s cubic-bezier(.2,.8,.2,1),
    box-shadow .28s cubic-bezier(.2,.8,.2,1),
    transform .28s cubic-bezier(.2,.8,.2,1);
}

/* Arrow = same SVG as fAcc, rotated to right */
.fBtn::after{
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(-90deg);
  pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: background-image .28s cubic-bezier(.2,.8,.2,1);
}

.fBtn:hover,
.fBtn:focus-visible{
  background: #000;
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.fBtn:hover::after,
.fBtn:focus-visible::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fBtn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,.14);
}

/* ======================================
   ② Orange bar
====================================== */

.fOrange{
  background: #EA8500;
}

.fOrange__row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
  padding: 40px 0;
}

.fOrange__item{
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.fOrange__item::after{
  content:"";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-left: 0px;
  transform: rotate(-90deg) translateY(1px);
  pointer-events: none;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fOrange__item.is-static::after{
  content: none;
}
.fOrange__item img{
  width:24px;
  height:24px;
}

.fOrange__txt{
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
}
.fOrange__txt b{ font-size: 14px; font-weight: 700; line-height: 1.5; }
.fOrange__txt span.smatex{ font-size: 10px; line-height: 1; }

/* icon placeholder (SVG later) */
.fOrange__ico{
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 6px;
  background: rgba(255,255,255,.25);
  flex: 0 0 auto;
}

/* ======================================
   ③ Main black footer
====================================== */

.fMain{
  background: #000;
  color: #fff;
  padding: 40px 0 0;
}

.fMain__grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.fBrand__logo img{
  display: block;
  width: 200px;
  height: auto;
}

.fSns{
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.fSns__btn{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

/* badge placeholder */
.fBadge{
  margin: 0;
}
.fBadge img{
  width:100%;
}
.fBadge__ph{
  width: 200px;
  display: block;
}

/* columns */
.fCols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.fCol__ttl{
  margin: 0 0 24px;
  font-size: 18px;
  letter-spacing: .7px;
  font-weight: 700;
}

.fCol a{
  display: block;
  width: fit-content;  
  color:#fff;
  padding: 4px 0;
  font-size: 12px;
  text-decoration: none;
  position: relative;
}
.fCol a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.fCol a:hover{
  color: #fff;
}
.fCol a:hover::after{
  transform: scaleX(1);
}

/* ======================================
   ④ Bottom
====================================== */

.fBottom{
  padding: 40px 0;
}

.fBottom__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fCopy{
  color: #fff;
  font-size: 10px;
  letter-spacing: .7px;
}

.fPay__ph {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

/* ⑤ SP badge bottom */
.fBadgeBottom{
  display:none;
}
.fBadgeBottom__ph{
  width: min(300px, 100%);
  height: 72px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* ======================================
   hover animation
====================================== */
.hvam{transition: opacity .68s cubic-bezier(.2,.8,.2,1);}
.hvam:hover{opacity: .6;}

/* ======================================
   Responsive
====================================== */
@media (max-width: 940px){
  .fMain__grid {
    grid-template-columns: 200px 1fr;
  }
  .fSupport__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .fMain__grid{ grid-template-columns: 1fr; }
  
  .fSupport__grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fAcc{
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid #eee;
  }

  .fAcc__summary{
    cursor: pointer;
    padding: 14px 12px;
  }

  .fAcc__summary::after{
    content:"";
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    opacity: .9;
  }
  .fAcc[open] .fAcc__summary::after{
    transform: rotate(180deg);
  }

  .fAcc__body{
    padding: 0 12px 22px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
      max-height .32s cubic-bezier(.2,.8,.2,1),
      opacity .22s ease;
    will-change: max-height;
  }
  
  .fAcc[open] .fAcc__body{
    opacity: 1;
  }

  .fOrange__row{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 0;
  }
  .fOrange__txt{ font-size: 12px; }

  .fMain{ padding-top: 40px; }
  .fMain__grid{
    gap: 0;
    padding-bottom: 40px;
  }
  
  .fSns {
      gap: 20px;
  }
  
  .fBrand{ text-align: center; }
  .fBrand__logo img{
    margin: 0 auto;
    width: 180px;
  }
  .fSns{ justify-content: center; }
  .fCol__ttl {
  margin: 20px 0 0px;
  }
  
  .fCols{
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    width: 280px;
    margin: 0 auto;
  }

  .fBottom__inner{
    flex-direction: column;
  }

  .fBadge{ display: none; }
  .fBadgeBottom{
    display:block;
    padding: 0 0 40px;
  }
  .fBadgeBottom img{
    width:220px;
    margin:0 auto;
  }
  .fCol a{
    margin: 0 auto;
  }
}

/* PC：アコーディオンに見せない（矢印なし・常時表示・クリック不可） */
@media (min-width: 769px){
  .fAcc__summary{
    cursor: default;
    pointer-events: none;
  }
  .fAcc__summary::after{
    content: none;
  }
}