/* ==================================================
   固定追従アイコン（.c-fixedicon）
   1rem = 10px 基準（html { font-size: 62.5% } 相当）
   ================================================== */

/* --- 基本スタイル --- */
.c-fixedicon {
  position: fixed;
  inset: auto 1.8rem 4.8rem auto;
  z-index: 1000;
}
@media (min-width: 768px) {
  .c-fixedicon {
    inset: auto 4.8rem 4.8rem auto;
  }
}
.c-fixedicon__close {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 1;
  width: 2rem;
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border: none;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  translate: 50% -50%;
}
@media (min-width: 768px) {
  .c-fixedicon__close {
    width: 2.8rem;
  }
}
.c-fixedicon__close:before,
.c-fixedicon__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1px;
  content: "";
  background-color: #000;
  translate: -50% -50%;
}
@media (min-width: 768px) {
  .c-fixedicon__close:before,
  .c-fixedicon__close:after {
    width: 1rem;
  }
}
.c-fixedicon__close:before {
  rotate: -45deg;
}
.c-fixedicon__close:after {
  rotate: 45deg;
}
.c-fixedicon__link {
  display: grid;
  gap: 1rem;
  align-content: center;
  justify-items: center;
  width: 10.5rem;
  height: auto;
  aspect-ratio: 1;
  padding: 0 1rem;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(#ff7315, #fe9f00);
  border-radius: 1rem;
  box-shadow: 0 2px 8px #0000001a;
}
@media (min-width: 768px) {
  .c-fixedicon__link {
    gap: 1.5rem;
    width: 13.7rem;
  }
}
.c-fixedicon__link:hover {
  filter: brightness(1.1);
  color: #fff !important;
}

.c-fixedicon__img {
  width: 3.2rem;
}
@media (min-width: 768px) {
  .c-fixedicon__img {
    width: 4.6rem;
  }
}
.c-fixedicon__text {
  font-size: 1.4rem;
}
@media (min-width: 768px) {
  .c-fixedicon__text {
    font-size: 1.3rem;
  }
}

/* --- 2段ボタン・LINE用追加 --- */
.c-fixedicon__inner {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .c-fixedicon__inner {
    gap: 1.5rem;
  }
}
.c-fixedicon__link.c-fixedicon__link--line {
  background: linear-gradient(#06c755, #00b900);
}
.c-fixedicon__link.c-fixedicon__link--line {
  background: #06c755;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.4rem;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .c-fixedicon__link.c-fixedicon__link--line {
    gap: 0.8rem;
  }
}
.c-fixedicon__link.c-fixedicon__link--line .c-fixedicon__text {
  line-height: 1.25;
  white-space: nowrap;
  font-weight: 700;
}
.c-fixedicon__link.c-fixedicon__link--line .c-fixedicon__img {
  width: 5rem;
  height: auto;
}
@media (min-width: 768px) {
  .c-fixedicon__link.c-fixedicon__link--line .c-fixedicon__img {
    width: 6.5rem;
  }
}
