@charset "UTF-8";

/* ------------------------------------------------------------------
  Renewal footer styles (scoped/compat)
  - `footer_pc_custom.php` uses renewal markup (`.footer`, `.inner`, etc)
  - Many pages don't load `renewal/css/common.css` (global reset-heavy),
    so we provide only the footer + common banner subset here.
------------------------------------------------------------------- */

:root {
  --brand-primary: #3247fa;
  --brand-primary-hover: #2a3de8;
  --brand-accent-soft: rgba(50, 71, 250, 0.38);
}

/* This skin uses `html{font-size:62.5%}` (1rem = 10px). Renewal footer assets
   were designed around 16px root (1rem = 16px). Scale only this page's footer
   and common banner to match intended size without changing the whole page. */
.sl-renewal-compat .footer.footer--renewal,
.sl-renewal-compat .common_bannerbox.common_bannerbox--renewal {
  zoom: 1.6;
}

@supports not (zoom: 1) {
  .sl-renewal-compat .footer.footer--renewal,
  .sl-renewal-compat .common_bannerbox.common_bannerbox--renewal {
    transform: scale(1.6);
    transform-origin: left top;
    width: calc(100% / 1.6);
  }
}

/* inner padding utility used by renewal footer markup */
.footer.footer--renewal .inner,
.common_bannerbox.common_bannerbox--renewal .inner {
  position: relative;
  width: 100%;
  padding: 0 3.125rem;
  box-sizing: border-box;
}

/* common banner box (shown above footer on PC) */
.common_bannerbox.common_bannerbox--renewal {
  margin-top: 80px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.875rem 3.125rem;
  box-sizing: border-box;
}

.common_bannerbox.common_bannerbox--renewal .banner {
  position: relative;
  width: calc((100% - 1rem) / 2);
  height: 10.375rem;
  border-radius: 0.313rem;
  overflow: hidden;
}

.common_bannerbox.common_bannerbox--renewal .banner > .link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.75rem;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.common_bannerbox.common_bannerbox--renewal .banner .txtbox {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.common_bannerbox.common_bannerbox--renewal .banner .txtbox .tit {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 150%;
  letter-spacing: -0.04em;
  color: #fff;
}

.common_bannerbox.common_bannerbox--renewal .banner .txtbox .desc {
  font-size: 0.875rem;
  line-height: 140%;
  letter-spacing: -0.04em;
  color: #fff;
}

.common_bannerbox.common_bannerbox--renewal .banner .imgbox {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.common_bannerbox.common_bannerbox--renewal .banner:hover .imgbox {
  transform: rotate(2deg) scale(1.05);
}

.common_bannerbox.common_bannerbox--renewal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.563rem;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.common_bannerbox.common_bannerbox--renewal .banner1 {
  background: #4a5ebd;
}

.common_bannerbox.common_bannerbox--renewal .banner2 {
  background: #9482b5;
}

.common_bannerbox.common_bannerbox--renewal .banner1 .imgbox {
  width: 9rem;
  transform: translateY(0.75rem);
}

.common_bannerbox.common_bannerbox--renewal .banner2 .imgbox {
  width: 12.5rem;
  transform: translateY(0.75rem);
}

/* renewal footer */
.footer.footer--renewal {
  position: relative;
  /* Normalize sizing across pages that alter `html` font-size */
  font-size: 16px;
}

.footer.footer--renewal img {
  max-width: 100%;
  height: auto;
}

.footer.footer--renewal .f_banbox .banner .txtbox .desc {
  font-size: 12px !important;
}

.footer.footer--renewal .f_banbox .banner .txtbox .more_btn {
  font-size: 14px !important;
}

.footer.footer--renewal .f_topbox .f_nav > li .link {
  font-size: 14px !important;
}

.footer.footer--renewal .f_topbox .f_family > li .acc_tit {
  font-size: 14px !important;
}

.footer.footer--renewal .f_topbox .f_family .acc_cont > li .linkitem .link {
  font-size: 12px !important;
}

.footer.footer--renewal .f_bottom .f_info,
.footer.footer--renewal .f_bottom .f_contact .call_txt {
  font-size: 12px !important;
}

.common_bannerbox.common_bannerbox--renewal .banner .txtbox .tit {
  font-size: 24px !important;
}

.common_bannerbox.common_bannerbox--renewal .banner .txtbox .desc {
  font-size: 14px !important;
}

.footer.footer--renewal .f_banbox {
  padding: 3.125rem;
  display: flex;
  gap: 1.25rem;
  box-sizing: border-box;
}

.footer.footer--renewal .f_banbox .banner {
  width: calc((100% - 1.25rem * 2) / 3);
  box-shadow:
    0.25rem 0.75rem 2.25rem 0 rgba(0, 0, 0, 0.09),
    0 0 0.125rem 0 rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.688rem 0.625rem;
  border-radius: 0.313rem;
  border: 1px solid transparent;
  transition: all 0.35s ease;
  gap: 1.25rem;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.footer.footer--renewal .f_banbox .banner:hover {
  border-color: var(--brand-accent-soft);
  box-shadow: 0.25rem 0.75rem 2.25rem 0 rgba(0, 0, 0, 0.2);
}

.footer.footer--renewal .f_banbox .banner .iconbox {
  width: 4.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.313rem;
  overflow: hidden;
  flex-shrink: 0;
}

.footer.footer--renewal .f_banbox .banner .txtbox {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer.footer--renewal .f_banbox .banner .txtbox .desc {
  font-size: 0.75rem;
  line-height: 133%;
  color: #4e5968;
}

.footer.footer--renewal .f_banbox .banner .txtbox .more_btn {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 114%;
  color: #1a1a1a;
}

.footer.footer--renewal .f_banbox .banner .txtbox .more_btn .arrow {
  width: 1rem;
  flex-shrink: 0;
  display: block;
  transition: transform 0.25s ease;
}

.footer.footer--renewal .f_banbox .banner:hover .txtbox .more_btn .arrow {
  transform: translateX(0.25rem);
}

.footer.footer--renewal .f_inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer.footer--renewal .f_topbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer.footer--renewal .f_topbox .f_nav {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer.footer--renewal .f_topbox .f_nav > li .link {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 86%;
  color: #898989;
  padding: 0.625rem;
  text-decoration: none;
}

.footer.footer--renewal .f_topbox .f_nav > li .link.bold {
  font-weight: 700;
  color: #333333;
}

/* Family Site accordion (keep same look as renewal) */
.footer.footer--renewal .f_topbox .f_family {
  position: relative;
}

.footer.footer--renewal .f_topbox .f_family > li .acc_tit {
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 93%;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 0.313rem;
  padding: 0.5rem 0.625rem;
  cursor: pointer;
  user-select: none;
}

.footer.footer--renewal .f_topbox .f_family > li .acc_tit .txt {
  font: inherit;
  color: inherit;
}

.footer.footer--renewal .f_topbox .f_family > li .acc_tit .icon {
  background: url(/renewal/img/f_family_arrow.png) no-repeat center / contain;
  width: 0.75rem;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.footer.footer--renewal .f_topbox .f_family .acc_cont {
  position: absolute;
  right: 0;
  bottom: 100%;
  box-shadow:
    0 0.5rem 1.25rem 0 rgba(0, 0, 0, 0.15),
    0 0 1px 0 rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 0.375rem;
  overflow: hidden;
  display: none;
  min-width: 10rem;
  z-index: 2;
}

/* `accordion` JS toggles `.active` on parent */
.footer.footer--renewal .f_topbox .f_family.accordion.active .acc_cont,
.footer.footer--renewal .f_topbox .f_family > li.active .acc_cont {
  display: block;
}

.footer.footer--renewal .f_topbox .f_family .acc_cont > li .linkbox {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  border-radius: 0.375rem;
}

.footer.footer--renewal .f_topbox .f_family .acc_cont > li .linkitem .link {
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 107%;
  color: #4e5968;
  white-space: nowrap;
  padding: 0.5rem;
  display: block;
  text-decoration: none;
}

.footer.footer--renewal .f_topbox .f_family .acc_cont > li .linkitem .link:hover {
  background: rgba(50, 71, 250, 0.08);
  color: #1a1a1a;
}

.footer.footer--renewal .f_bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 0.625rem;
  box-sizing: border-box;
}

.footer.footer--renewal .f_bottom .f_info {
  font-size: 0.75rem;
  line-height: 180%;
  color: #898989;
}

.footer.footer--renewal .f_bottom .f_info .bar {
  display: inline-flex;
  padding: 0 0.375rem;
}

.footer.footer--renewal .f_bottom .f_contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}

.footer.footer--renewal .f_bottom .f_contact .call_txt {
  font-size: 0.75rem;
  line-height: 180%;
  text-align: right;
  color: #898989;
}

.footer.footer--renewal .f_bottom .f_contact .snsbox {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
}

.footer.footer--renewal .f_bottom .f_contact .snsbox .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer.footer--renewal .f_bottom .f_contact .snsbox .icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.footer.footer--renewal .f_lastbox {
  display: flex;
  justify-content: center;
  padding-top: 4.25rem;
}

.footer.footer--renewal .f_lastbox .top_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
}

@media screen and (max-width: 1280px) {
  .common_bannerbox.common_bannerbox--renewal .banner > .link {
    padding: 0 2rem 0 2.75rem;
  }
}

@media screen and (max-width: 1024px) {
  .common_bannerbox.common_bannerbox--renewal {
    padding: 1.875rem 2rem;
  }
  .common_bannerbox.common_bannerbox--renewal .banner > .link {
    padding: 0 1.5rem 0 2.5rem;
  }
  .footer.footer--renewal .f_banbox {
    padding: 2rem;
    flex-wrap: wrap;
  }
  .footer.footer--renewal .f_banbox .banner {
    width: 100%;
  }
}

