.footer {
  background-color: #FFFFFF;
  color: #000000;
  font-size: 1.4rem;
  border-top: 1px solid #DDDDDD;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem;
  padding: 8rem 0 8.3rem;
}
.footer__top .footer__col:nth-child(2) .footer__col-icon {
  width: 2.6rem;
  margin-right: 1.6rem;
}

.footer__col {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  margin: 0;
  max-width: 35.2rem;
}
.footer__col::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(115deg, #E50011 22%, #FED867 75%);
  z-index: 0;
  transition: height 0.4s ease;
}
@media screen and (min-width: 769px) {
  .footer__col:hover::after {
    height: 100%;
  }
  .footer__col:hover .footer__col-icon.hover {
    display: block;
  }
  .footer__col:hover .footer__col-icon.normal {
    display: none;
  }
  .footer__col:hover .footer__col-label,
  .footer__col:hover .footer__col-text {
    color: #FFFFFF;
  }
}

.footer__col-label {
  position: relative;
  z-index: 1;
  display: block;
  color: #E50011;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  transition: color 0.4s ease;
}

.footer__col-link {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #000000;
  padding-bottom: 4.4rem;
}

.footer__col-text {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.footer__col-icon {
  width: 2rem;
  height: auto;
  flex-shrink: 0;
  margin-right: 1.6rem;
  transition: filter 0.4s ease;
}
.footer__col-icon.normal {
  display: block;
}
.footer__col-icon.hover {
  display: none;
}

.footer__middle {
  display: flex;
  gap: 1.9rem;
}

.footer__navs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  width: 75%;
}

.footer__nav-group {
  flex: 1;
}
.footer__nav-group:nth-child(1) .footer__nav-list {
  gap: 0.79rem;
}
@media screen and (max-width: 768px) {
  .footer__nav-group:nth-child(1) .footer__nav-list {
    gap: 1.4rem;
  }
}
.footer__nav-group:nth-child(1) .footer__nav-title--mt {
  margin-top: 4rem;
  margin-bottom: 1rem;
}
.footer__nav-group:nth-child(2) {
  position: relative;
  top: -0.3rem;
  margin-left: -0.5rem;
}
.footer__nav-group:nth-child(2) .footer__nav-title--mt {
  margin-top: 2.9rem;
  margin-bottom: 1.4rem;
  display: block;
  width: fit-content;
}
.footer__nav-group:nth-child(2) .footer__nav-list {
  margin-top: -0.04rem;
  gap: 0.9rem;
}
.footer__nav-group:nth-child(2) .footer__nav-list .link-label {
  margin-bottom: 0.4rem;
}
@media screen and (max-width: 768px) {
  .footer__nav-group:nth-child(2) .footer__nav-list .link-label {
    margin-bottom: unset;
  }
}
.footer__nav-group:nth-child(2) .footer__nav-item {
  margin-bottom: -0.1rem;
}
@media screen and (max-width: 768px) {
  .footer__nav-group:nth-child(2) .footer__nav-item {
    margin-bottom: unset;
  }
}
.footer__nav-group:nth-child(3) {
  position: relative;
  left: -0.8rem;
}
.footer__nav-group:nth-child(3) .footer__legal-item {
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
  line-height: 1rem;
}

.footer__nav-title--mt {
  margin-top: 4rem;
}

.footer__nav-title {
  color: #E50011;
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  display: block;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.footer__nav-title--link {
  text-decoration: none;
}
@media screen and (min-width: 769px) {
  .footer__nav-title--link {
    display: inline-flex;
    align-items: center;
    width: auto;
  }
  .footer__nav-title--link {
    position: relative;
  }
  .footer__nav-title--link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-color: #E50011;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
}
@media screen and (min-width: 769px) and (min-width: 769px) {
  .footer__nav-title--link:hover::after {
    transform: scaleX(1);
  }
}

.footer__nav-toggle-icon {
  display: none;
}

.footer__nav-link-icon {
  display: none;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
}

.footer__nav-item {
  line-height: 2rem;
}

.footer__nav-link {
  padding-left: 1.8rem;
}

.footer__nav-sub .footer__nav-link {
  padding-left: 0;
}

.footer__nav-link {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
  position: relative;
  display: flex;
}
@media screen and (min-width: 769px) {
  .footer__nav-link:hover {
    opacity: 1;
    text-decoration: none;
    color: #E50011;
  }
  .footer__nav-link:hover .link-label {
    color: #E50011;
    background-size: 100% 0.1rem;
  }
}

.footer__nav-line {
  display: inline-block;
  vertical-align: top;
  height: 1px;
  width: 1rem;
  background-color: #E50011;
  margin-top: 1rem;
  margin-right: 0.8rem;
  position: absolute;
  left: 0;
}

.link-label {
  display: inline;
  line-height: 2rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #000000;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 0.1rem;
  background-position: left calc(100% - 0.1rem);
  transition: background-size 0.7s ease, color 0.3s ease;
}

.footer__nav-sub {
  padding-left: 1.6rem;
  position: relative;
}
.footer__nav-sub .footer__nav-line {
  background-color: unset;
  width: 0.8rem;
  height: 0.8rem;
  position: relative;
  top: -0.7rem;
  margin-right: 0.5rem;
}
.footer__nav-sub .icon-marker {
  width: 100%;
  object-fit: cover;
  display: block;
}

.footer__legal {
  width: 20%;
}

.footer__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: -0.25rem;
}

.footer__legal-item {
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
  line-height: 0.7;
}

.footer__legal-link {
  display: inline-block;
  color: #000000;
  text-decoration: none;
  padding-left: 1.8rem;
  position: relative;
}
@media screen and (min-width: 769px) {
  .footer__legal-link:hover {
    color: #E50011;
  }
  .footer__legal-link:hover .link-label {
    color: #E50011;
    background-size: 100% 0.1rem;
  }
}

.icon-layer-footer {
  width: 1.6rem;
  height: 1.2rem;
  position: relative;
  top: 0.1rem;
  left: -0.1rem;
}
@media screen and (max-width: 768px) {
  .icon-layer-footer {
    left: -2.6rem;
    width: 2.15rem;
  }
}
.icon-layer-footer img {
  width: 100%;
}

.footer__bottom {
  background-color: transparent;
  padding: 9.4rem 0 3rem;
  text-align: center;
}

.footer__bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
  }
}

.footer__copyright {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 768px) {
  .footer__copyright {
    width: 100%;
    text-align: left;
  }
}

.footer__pagetop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 4.8rem;
  height: 4.8rem;
  background-color: #E50011;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}
.footer__pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}
@media screen and (min-width: 769px) {
  .footer__pagetop.is-visible:hover {
    opacity: 0.6;
  }
}
.footer__pagetop .icon-top {
  width: 2.4rem;
  height: auto;
}

@media screen and (max-width: 768px) {
  .footer__inner {
    padding: 0 1.8rem;
    padding-top: 4rem;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin-bottom: 2.2rem;
  }
  .footer__top .footer__col:nth-child(2) .footer__col-link {
    padding-bottom: 3.1rem;
  }
  .footer__col {
    margin: 0;
    padding: 0;
  }
  .footer__col-label {
    font-size: 1.4rem;
    margin-bottom: 0rem;
    padding-top: 2.3rem;
  }
  .footer__col-link {
    padding-bottom: 3rem;
  }
  .footer__col-text {
    font-size: 2rem;
  }
  .footer__middle {
    flex-direction: column;
    padding: 0;
  }
  .footer__navs {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
  }
  .footer__nav-group {
    border: none;
  }
  .footer__nav-group:nth-child(1) .footer__nav-list {
    margin-top: 0;
  }
  .footer__nav-group:nth-child(1) .footer__nav-title {
    border-top: 0;
  }
  .footer__nav-group:nth-child(1) .footer__nav-title--mt {
    margin: 0;
  }
  .footer__nav-group:nth-child(2) {
    margin-left: 0;
  }
  .footer__nav-group:nth-child(2) .footer__nav-list {
    margin-top: 0;
  }
  .footer__nav-group:nth-child(2) .footer__nav-title--mt {
    margin: 0;
    width: 100%;
    display: flex;
  }
  .footer__nav-group:nth-child(3) {
    left: 0;
  }
  .footer__nav-group:nth-child(3) .footer__nav-title {
    padding: 2rem 0 2rem;
  }
  .footer__nav-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2.5rem 0 2.03rem;
    font-size: 1.8rem;
    letter-spacing: 0.07em;
    color: #000000;
    margin: 0;
    cursor: pointer;
    border-bottom: 0.1rem solid #dddddd;
  }
  .footer__nav-title--mt {
    margin-top: 0;
  }
  .footer__nav-title--link {
    text-decoration: none;
    color: #000000;
    cursor: pointer;
  }
  .footer__nav-title[aria-expanded=true] {
    border: none;
  }
  .footer__nav-title[aria-expanded=false] .footer__nav-list {
    border: none;
  }
  .footer__nav-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #E50011;
    flex-shrink: 0;
    margin-right: 1.6rem;
  }
  .footer__nav-toggle-svg {
    width: 2rem;
    height: 2rem;
  }
  .footer__nav-toggle-v {
    transition: transform 0.3s ease;
    transform-origin: center;
  }
  .footer__nav-title[aria-expanded=true] .footer__nav-toggle-v {
    transform: scaleY(0);
  }
  .footer__nav-link-icon {
    display: block;
    width: 2rem;
    height: auto;
    flex-shrink: 0;
    margin-right: 1.8rem;
  }
  .footer__nav-list {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    gap: 1.4rem;
  }
  .footer__nav-item:last-child {
    padding-bottom: 2.2rem;
    border-bottom: 0.1rem solid #DDDDDD;
  }
  .footer__nav-link {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    width: 100%;
  }
  .link-label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding-right: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #000000;
    background-image: none;
  }
  .link-label img {
    width: 1.6rem;
  }
  .footer__legal {
    width: 100%;
    margin-top: 1.2rem;
    padding: 2rem 0;
  }
  .footer__legal .link-label {
    font-weight: 500;
    line-height: 2rem;
  }
  .footer__legal-item {
    font-size: 1.4rem;
  }
  .footer__bottom {
    padding: 2.7rem 0rem;
  }
  .footer__bottom-inner {
    justify-content: flex-start;
    padding-left: 1.8rem;
  }
  .footer__copyright {
    letter-spacing: -0.01em;
  }
}
.footer__bottom-sns {
  position: absolute;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  bottom: -0.3rem;
}
@media screen and (max-width: 768px) {
  .footer__bottom-sns {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 0;
    background-color: #f5f5f5;
    border-radius: 3.2rem;
    display: flex;
    justify-content: center;
  }
}

.footer__bottom-sns-label {
  margin-right: 1.6rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
}
.footer__bottom-sns-label > span:first-child {
  font-size: 1.1rem;
}
.footer__bottom-sns-label > span:last-child {
  font-size: 1.4rem;
}
@media screen and (max-width: 768px) {
  .footer__bottom-sns-label {
    flex-direction: row;
  }
  .footer__bottom-sns-label > span:first-child {
    font-size: 1.4rem;
  }
  .footer__bottom-sns-label br {
    display: none;
  }
}

.footer__bottom-sns-item {
  margin-right: 0.8rem;
}
.footer__bottom-sns-item img {
  width: 4.8rem;
  height: 4.8rem;
}

/*# sourceMappingURL=footer.css.map */
