.qfc-top { overflow: hidden; }
.qfc-hero { position: relative; isolation: isolate; min-height: clamp(780px, 70vw, 1090px); overflow: hidden; background: rgb(255, 255, 255); }
.qfc-hero::before { content: ""; position: absolute; z-index: 0; left: 17%; top: 44%; width: 100%; aspect-ratio: 3176 / 942; background: url("https://qualifitcore.co.jp/system_panel/uploads/images/fv-back.png") center center / 100% 100% no-repeat; pointer-events: none; }
.qfc-hero__copy { position: relative; z-index: 2; padding: clamp(55px, 4.8vw, 70px) 0px 0px 5%; max-width: 64%; }
.qfc-hero h1 { position: relative; font: 800 clamp(72px,6.8vw,130px)/1.13 var(--qfc-display); letter-spacing: -0.055em; color: transparent; white-space: nowrap; }
.qfc-hero h1::before, .qfc-hero h1::after { position: absolute; left: 0px; width: max-content; max-width: none; overflow: hidden; white-space: nowrap; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat: ; background-attachment: ; background-origin: ; background-color: ; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; clip-path: inset(0px 100% 0px 0px); transform: translateY(0.18em); animation: 1.05s steps(12) 0s 1 normal both running qfc-title-in; }
.qfc-hero h1::before { content: "GOOD ENERGY."; top: 0px; animation-delay: 0.12s; }
.qfc-hero h1::after { content: "GOOD LIFE."; top: 1.13em; animation-duration: 0.85s; animation-timing-function: steps(10); animation-delay: 0.35s; }
@keyframes qfc-title-in { 
  0% { clip-path: inset(0px 100% 0px 0px); transform: translateY(0.18em); }
  100% { clip-path: inset(0px); transform: translateY(0px); }
}
.qfc-hero__sub-en { max-width: clamp(230px, 20vw, 390px); color: rgb(172, 172, 172); font: 500 clamp(12px,1.05vw,20px)/1.35 var(--qfc-display); margin-top: 0px !important; }
.qfc-hero__sub-ja { color: var(--qfc-navy); font-size: clamp(14px, 1.25vw, 24px); font-weight: 600; animation: 0.7s ease 0.85s 1 normal both running qfc-fade-up; margin-top: clamp(20px, 2.1vw, 32px) !important; }
@keyframes qfc-fade-up { 
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0px); }
}
.qfc-hero__photos { position: absolute; inset: 0px; pointer-events: none; }
.qfc-hero__photo { position: absolute; z-index: 1; overflow: hidden; border-radius: 12px; background: var(--qfc-orange); clip-path: inset(0px 100% 0px 0px); animation: 1.06s cubic-bezier(0.22, 0.7, 0.2, 1) 0s 1 normal both running qfc-photo-reveal; }
.qfc-hero__photo--sports { animation-delay: 0.72s; }
.qfc-hero__photo--gym { animation-delay: 0.98s; }
@keyframes qfc-photo-reveal { 
  100% { clip-path: inset(0px); }
}
.qfc-hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: 0.63s ease 0s 1 normal both running qfc-photo-image; }
.qfc-hero__photo--sports img { animation-delay: 1.26s; }
.qfc-hero__photo--gym img { animation-delay: 1.53s; }
@keyframes qfc-photo-image { 
  100% { opacity: 1; }
}
.qfc-hero__photo--gym { left: 38%; top: 40%; width: 27%; height: min(50%, 430px); }
.qfc-hero__photo--sports { right: 5%; top: 7%; width: 29%; height: min(58%, 540px); }
.qfc-hero__scroll { position: absolute; z-index: 3; left: 5%; top: calc(-263px + 100svh); bottom: auto; width: clamp(31px, 2.7vw, 50px); height: clamp(80px, 7vw, 130px); border: 1px solid rgb(17, 17, 17); border-radius: 30px; display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; color: var(--qfc-navy); font: 700 clamp(9px,.8vw,16px)/1 var(--qfc-display); }
.qfc-hero__scroll p { writing-mode: vertical-rl; }
.qfc-hero__scroll::before { content: ""; position: absolute; left: 50%; bottom: clamp(8px, 0.7vw, 14px); width: clamp(14px, 1.2vw, 22px); height: clamp(33px, 2.9vw, 49px); transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='49' viewBox='0 0 22 49'%3E%3Cg fill='none' stroke='%239f9f9f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l9 9 9-9'/%3E%3Cpath d='M2 19l9 9 9-9'/%3E%3Cpath d='M2 36l9 9 9-9'/%3E%3C/g%3E%3C/svg%3E") center center / contain no-repeat; }
.qfc-hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: clamp(32px, 2.8vw, 50px); width: clamp(14px, 1.2vw, 22px); height: clamp(8px, 0.7vw, 13px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='13' viewBox='0 0 22 13'%3E%3Cpath d='M2 2l9 9 9-9' fill='none' stroke='%230b2069' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center center / contain no-repeat; animation: 1.8s steps(1) 0s infinite normal none running qfc-scroll-step; }
@keyframes qfc-scroll-step { 
  0%, 100% { transform: translate(-50%, 0px); }
  33.33% { transform: translate(-50%, clamp(11px, 1vw, 17px)); }
  66.66% { transform: translate(-50%, clamp(22px, 2vw, 34px)); }
}
.qfc-hero__news { position: absolute; right: 2.4%; top: 56%; z-index: 3; width: min(425px, 22%); min-height: clamp(110px, 9.6vw, 186px); padding: clamp(8px, 0.9vw, 16px); border-radius: 10px; background: rgb(255, 255, 255); box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 10px; display: flex; gap: clamp(6px, 0.6vw, 16px); align-items: stretch; }
.qfc-hero__news-copy { flex: 1 1 0%; min-width: 0px; display: flex; flex-direction: column; gap: clamp(5px, 0.8vw, 14px); }
.qfc-hero__news-category { align-self: flex-start; border: 1px solid var(--qfc-navy); border-radius: 20px; padding: 3px 9px; color: var(--qfc-navy); font-size: clamp(9px, 0.8vw, 14px); }
.qfc-hero__news-title { font-size: clamp(10px, 0.9vw, 16px); line-height: 1.5; }
.qfc-hero__news-image { width: 40%; flex: 0 0 auto; border-radius: 4px; overflow: hidden; background: rgb(217, 217, 217); }
.qfc-hero__news-image img { width: 100%; height: 100%; object-fit: cover; }
.qfc-hero__swoosh { position: absolute; left: -8%; bottom: -20%; width: 110%; max-width: none; pointer-events: none; }
.qfc-about { padding: 230px 0px 160px; }
.qfc-about__swoosh { position: absolute; left: -8%; top: 0px; width: 112%; max-width: none; pointer-events: none; }
.qfc-about__inner { position: relative; display: grid; grid-template-columns: minmax(0px, 1.05fr) minmax(0px, 0.9fr); gap: clamp(48px, 8vw, 160px); align-items: center; }
.qfc-about__image { aspect-ratio: 668 / 842; overflow: hidden; border-radius: 10px; }
.qfc-about__image img { width: 100%; height: 100%; object-fit: cover; }
.qfc-about__content { min-width: 0px; }
.qfc-about__content h3 { font-size: clamp(28px, 2.2vw, 40px); line-height: 1.35; color: var(--qfc-navy); font-weight: 500; margin: 52px 0px 28px; }
.qfc-about__content > p { font-size: 16px; line-height: 2; margin-bottom: 12px; }
.qfc-about__content .qfc-link-button { margin-top: 26px; }
.qfc-action { padding: 70px 0px 130px; color: rgb(255, 255, 255); background: rgb(17, 17, 17); }
.qfc-action__backdrop { position: absolute; inset: 0px; opacity: 0.34; }
.qfc-action__backdrop img { width: 100%; height: 100%; object-fit: cover; }
.qfc-action__inner { position: relative; }
.qfc-action .qfc-section-title { color: rgb(255, 255, 255); }
.qfc-action__lead { font-size: 24px; line-height: 1.5; margin: 24px 0px 56px !important; }
.qfc-action__cards { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: clamp(20px, 3.6vw, 68px); }
.qfc-action-card { min-width: 0px; background: var(--qfc-navy); border-radius: 230px 230px 10px 10px; padding: 22px 34px 38px; text-align: center; position: relative; }
.qfc-action-card__number { position: absolute; left: 12px; top: -12px; color: var(--qfc-orange); font: 900 clamp(62px,6vw,108px)/1 var(--qfc-display); }
.qfc-action-card__photo { width: min(100%, 341px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; margin: 34px auto 22px; }
.qfc-action-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.qfc-action-card h3 { font-size: clamp(17px, 1.25vw, 24px); line-height: 1.5; margin-bottom: 12px; min-height: 2.8em; }
.qfc-action-card > p:last-child { font-size: 16px; line-height: 2; text-align: left; }
.qfc-service { padding: 130px 0px 150px; background: rgb(255, 255, 255); }
.qfc-service__swoosh { position: absolute; left: -5%; top: 0px; width: 110%; max-width: none; pointer-events: none; }
.qfc-service .qfc-container { position: relative; }
.qfc-service .qfc-section-title { text-align: center; margin-bottom: 90px; }
.qfc-service__row { display: grid; grid-template-columns: minmax(0px, 608px) minmax(0px, 1fr); gap: clamp(52px, 7vw, 124px); align-items: center; margin-bottom: 170px; }
.qfc-service__row:last-child { margin-bottom: 0px; }
.qfc-service__row--reverse { grid-template-columns: minmax(0px, 1fr) minmax(0px, 608px); }
.qfc-service__row--reverse .qfc-service__image { order: 2; }
.qfc-service__image { aspect-ratio: 608 / 913; overflow: hidden; border-radius: 10px; }
.qfc-service__image img { width: 100%; height: 100%; object-fit: cover; }
.qfc-service__content { min-width: 0px; }
.qfc-service__en { color: var(--qfc-navy); font: 800 20px/1.3 var(--qfc-display); }
.qfc-service__content h3 { font-size: clamp(30px, 2.4vw, 48px); line-height: 1.3; color: var(--qfc-navy); margin: 8px 0px 30px; }
.qfc-service__content > p:not(.qfc-service__en) { font-size: 16px; line-height: 2; margin-bottom: 32px; }
.qfc-instagram { padding: 65px 0px 80px; background: var(--qfc-gray); }
.qfc-instagram .qfc-section-title { font-size: 48px; }
.qfc-instagram__account { font-size: 20px; color: var(--qfc-navy); margin: 14px 0px 30px !important; }
.qfc-instagram__images { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 0px; overflow: hidden; }
.qfc-instagram__images img { width: 100%; height: auto; object-fit: cover; }
.qfc-contact { padding: 140px 0px 120px; }
.qfc-contact .qfc-container { max-width: 1344px; }
.qfc-contact__intro { font-size: 16px; line-height: 2; max-width: 800px; margin: 24px 0px 70px !important; }
.qfc-contact__form { min-height: 560px; }
.qfc-contact__form input, .qfc-contact__form textarea, .qfc-contact__form select { max-width: 100%; }
@media (max-width: 1024px) {
  .qfc-hero { min-height: 780px; }
  .qfc-hero__copy { padding-top: 62px; }
  .qfc-hero h1 { font-size: clamp(55px, 7vw, 78px); }
  .qfc-hero__sub-en { font-size: 12px; }
  .qfc-hero__sub-ja { font-size: 14px; }
  .qfc-hero__photo--gym { left: 39%; top: 40%; width: 28%; height: 50%; }
  .qfc-hero__photo--sports { right: 3%; top: 7%; width: 30%; height: 58%; }
  .qfc-hero__news { top: 56%; min-height: 110px; }
  .qfc-about { padding: 130px 0px 100px; }
  .qfc-about__inner { gap: 48px; }
  .qfc-about__content h3 { margin: 24px 0px 18px; }
  .qfc-action-card { padding: 18px 20px 28px; }
  .qfc-action-card > p:last-child { font-size: 14px; }
  .qfc-service__row { gap: 50px; margin-bottom: 110px; }
  .qfc-service__content h3 { font-size: 32px; }
}
@media (max-width: 768px) {
  .qfc-hero { min-height: 810px; }
  .qfc-hero__copy { max-width: 92%; padding: 48px 18px 0px; }
  .qfc-hero h1 { font-size: clamp(44px, 9.2vw, 70px); white-space: normal; }
  .qfc-hero__sub-en { font-size: 12px; max-width: 230px; }
  .qfc-hero__sub-ja { font-size: 14px; margin-top: 18px !important; }
  .qfc-hero__photo--gym { left: 20%; top: 47%; width: 39%; height: 39%; }
  .qfc-hero__photo--sports { right: 4%; top: 38%; width: 35%; height: 37%; }
  .qfc-hero__scroll { left: 18px; top: calc(-227px + 100svh); bottom: auto; height: 90px; width: 31px; font-size: 9px; }
  .qfc-hero__news { right: 18px; top: auto; bottom: 30px; width: min(300px, 70%); min-height: 110px; padding: 12px; }
  .qfc-hero__news-title { font-size: 13px; }
  .qfc-hero__news-image { width: 34%; }
  .qfc-about { padding: 90px 0px; }
  .qfc-about__inner { grid-template-columns: 1fr; gap: 34px; }
  .qfc-about__image { width: min(100%, 510px); aspect-ratio: 4 / 5; }
  .qfc-about__content h3 { font-size: 30px; }
  .qfc-action { padding: 70px 0px 80px; }
  .qfc-action__lead { font-size: 18px; margin-bottom: 38px !important; }
  .qfc-action__cards { grid-template-columns: 1fr; gap: 30px; max-width: 480px; margin: auto; }
  .qfc-action-card { padding: 18px 34px 34px; }
  .qfc-action-card__photo { width: min(100%, 300px); }
  .qfc-action-card h3 { min-height: 0px; font-size: 21px; }
  .qfc-action-card > p:last-child { font-size: 15px; }
  .qfc-service { padding: 90px 0px; }
  .qfc-service .qfc-section-title { margin-bottom: 50px; }
  .qfc-service__row, .qfc-service__row--reverse { grid-template-columns: 1fr; gap: 28px; margin-bottom: 90px; }
  .qfc-service__row--reverse .qfc-service__image { order: 0; }
  .qfc-service__image { width: min(100%, 560px); aspect-ratio: 4 / 5; }
  .qfc-service__content h3 { font-size: 32px; margin-bottom: 18px; }
  .qfc-instagram .qfc-section-title { font-size: 38px; }
  .qfc-contact { padding: 90px 0px; }
  .qfc-contact__intro { margin-bottom: 40px !important; }
}
@media (max-width: 414px) {
  .qfc-hero { min-height: 690px; }
  .qfc-hero__copy { padding-top: 36px; }
  .qfc-hero h1 { font-size: clamp(35px, 9.4vw, 39px); line-height: 1.17; }
  .qfc-hero__sub-en { font-size: 12px; max-width: 270px; }
  .qfc-hero__sub-ja { font-size: 15px; }
  .qfc-hero__photo--gym { left: 16%; top: 47%; width: 47%; height: 31%; }
  .qfc-hero__photo--sports { right: 3%; top: 40%; width: 39%; height: 31%; }
  .qfc-hero__news { width: 255px; min-height: 92px; bottom: 16px; padding: 10px; gap: 8px; }
  .qfc-hero__news-category { font-size: 11px; padding: 3px 9px; }
  .qfc-hero__news-title { font-size: 12px; }
  .qfc-hero__scroll { top: calc(-227px + 100svh); }
  .qfc-about__content h3 { font-size: 25px; }
  .qfc-about__content > p, .qfc-service__content > p:not(.qfc-service__en) { font-size: 14px; }
  .qfc-action-card { padding-inline: 24px; }
  .qfc-action-card h3 { font-size: 18px; }
  .qfc-service__content h3 { font-size: 28px; }
  .qfc-instagram__images { grid-template-columns: 1fr; }
  .qfc-instagram__images img:last-child { display: none; }
  .qfc-contact__intro { font-size: 14px; }
}
@media (max-width: 375px) {
  .qfc-hero__photo--gym { left: 15%; width: 47%; }
  .qfc-hero__photo--sports { right: 2%; width: 40%; }
  .qfc-hero__news { width: 235px; }
  .qfc-action-card { padding-inline: 20px; }
  .qfc-action-card__number { font-size: 64px; }
  .qfc-action-card__photo { width: min(100%, 255px); }
}
@media (max-width: 1024px) {
  .qfc-hero::before { left: 17%; top: 44%; width: 100%; }
}
@media (max-width: 768px) {
  .qfc-hero::before { left: -40%; top: 48%; width: 180%; }
  .qfc-hero h1::after { top: 1.13em; }
}
@media (max-width: 414px) {
  .qfc-hero::before { left: -70%; top: 52%; width: 240%; }
}
@media (prefers-reduced-motion: reduce) {
  .qfc-hero h1::before, .qfc-hero h1::after { animation: auto ease 0s 1 normal none running none; clip-path: none; transform: none; }
  .qfc-hero__photo { animation: auto ease 0s 1 normal none running none; clip-path: none; }
  .qfc-hero__photo img { animation: auto ease 0s 1 normal none running none; opacity: 1; }
  .qfc-hero__sub-ja { animation: auto ease 0s 1 normal none running none; }
  .qfc-hero__scroll::after { animation: auto ease 0s 1 normal none running none; }
}
.qfc-action { padding: clamp(40px, 4vw, 64px) 0px 72px; color: rgb(255, 255, 255); background: rgb(255, 255, 255); }
.qfc-action__backdrop { position: absolute; inset: 0px 0px auto; height: clamp(430px, 36vw, 520px); opacity: 1; overflow: hidden; }
.qfc-action__backdrop::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.32) 55%, rgba(0, 0, 0, 0.38)); }
.qfc-action__backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.qfc-action__inner { position: relative; z-index: 1; }
.qfc-action .qfc-section-title { color: rgb(255, 255, 255); font-size: clamp(58px, 5.2vw, 82px); line-height: 1.05; }
.qfc-action__lead { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; margin: 18px 0px 44px !important; }
.qfc-action__cards { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: clamp(24px, 3.2vw, 54px); align-items: stretch; }
.qfc-action-card { min-width: 0px; min-height: 465px; background: var(--qfc-navy); border-radius: 190px 190px 9px 9px; padding: 42px clamp(22px, 2.1vw, 34px) 30px; text-align: center; position: relative; display: flex; flex-direction: column; align-items: stretch; }
.qfc-action-card__number { position: absolute; z-index: 2; left: 0px; top: 0px; color: var(--qfc-orange); font: 900 clamp(62px,5.2vw,82px)/1 var(--qfc-display); }
.qfc-action-card__photo { width: min(100%, 270px); flex: 0 0 auto; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; margin: 0px auto 22px; }
.qfc-action-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.qfc-action-card h3 { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; margin-bottom: 12px; min-height: 0px; }
.qfc-action-card > p:last-child { font-size: 14px; line-height: 1.85; text-align: left; }
@media (max-width: 1024px) {
  .qfc-action { padding-top: 48px; }
  .qfc-action__backdrop { height: 440px; }
  .qfc-action .qfc-section-title { font-size: clamp(56px, 7vw, 72px); }
  .qfc-action__cards { gap: 22px; }
  .qfc-action-card { min-height: 430px; padding: 38px 18px 26px; border-radius: 150px 150px 9px 9px; }
  .qfc-action-card__photo { width: min(100%, 235px); margin-bottom: 18px; }
  .qfc-action-card__number { font-size: 64px; }
  .qfc-action-card h3 { font-size: 17px; }
  .qfc-action-card > p:last-child { font-size: 13px; }
}
@media (max-width: 768px) {
  .qfc-action { padding: 42px 0px 64px; }
  .qfc-action__backdrop { height: 360px; }
  .qfc-action .qfc-section-title { font-size: clamp(46px, 9vw, 64px); }
  .qfc-action__lead { font-size: 15px; max-width: 440px; margin: 14px 0px 38px !important; }
  .qfc-action__cards { grid-template-columns: minmax(0px, 1fr); gap: 26px; max-width: 460px; margin: 0px auto; }
  .qfc-action-card { min-height: 0px; padding: 30px; border-radius: 170px 170px 9px 9px; }
  .qfc-action-card__number { left: 2px; top: -2px; font-size: 66px; }
  .qfc-action-card__photo { width: min(100%, 270px); margin-bottom: 20px; }
  .qfc-action-card h3 { font-size: 20px; }
  .qfc-action-card > p:last-child { font-size: 14px; }
}
@media (max-width: 414px) {
  .qfc-action { padding: 34px 0px 54px; }
  .qfc-action__backdrop { height: 330px; }
  .qfc-action .qfc-section-title { font-size: 46px; }
  .qfc-action__lead { font-size: 13px; margin: 12px 0px 32px !important; }
  .qfc-action-card { padding: 26px 24px; border-radius: 145px 145px 8px 8px; }
  .qfc-action-card__number { font-size: 58px; }
  .qfc-action-card__photo { width: min(100%, 238px); }
  .qfc-action-card h3 { font-size: 18px; }
}
@media (max-width: 375px) {
  .qfc-action .qfc-section-title { font-size: 42px; }
  .qfc-action-card { padding-inline: 20px; }
  .qfc-action-card__photo { width: min(100%, 220px); }
  .qfc-action-card__number { font-size: 54px; }
}

/* PC: portrait photos scaled for a balanced page layout */
@media (min-width:1025px){
  .qfc-hero__photo--sports{right:6.5%;width:min(27%,390px);height:min(52%,480px)}
  .qfc-hero__photo--gym{left:39%;top:42%;width:min(25%,350px);height:min(45%,390px)}
  .qfc-about__inner{grid-template-columns:minmax(0,540px) minmax(0,1fr);gap:clamp(64px,7vw,100px)}
  .qfc-about__content img{max-width:540px;width:100%;height:auto}
  .qfc-service__row{grid-template-columns:minmax(0,480px) minmax(0,484px);gap:clamp(64px,6vw,96px)}
  .qfc-service__row--reverse{grid-template-columns:minmax(0,480px) minmax(0,484px)}
  .qfc-service__image{width:100%;max-width:480px;aspect-ratio:2/3}
}


/* Restore the gradient text fill after CSS editor serialization */
.qfc-hero h1::before,.qfc-hero h1::after{background:linear-gradient(90deg,var(--qfc-navy) 0 4.55ch,var(--qfc-orange) 4.55ch 100%);background-clip:text;-webkit-background-clip:text}

/* Figma TOP alignment, adapted to the existing CMS markup */
.qfc-top .qfc-service__content{min-width:0;max-width:484px}
.qfc-top .qfc-service__en{color:#acacac;font-size:20px;font-weight:500;line-height:1.3;margin:0}
.qfc-top .qfc-service__content h3{font-size:clamp(24px,2.4vw,40px);font-weight:600;line-height:1.35;margin:8px 0 30px}
.qfc-top .qfc-service__content>p:not(.qfc-service__en){font-size:16px;font-weight:500;line-height:2;margin:0 0 32px}
.qfc-top .qfc-link-button{position:relative;font-size:16px;max-width:100%;border-radius:6px;padding:14px 58px;gap:0;color:#000!important}
.qfc-top .qfc-link-button>p{font-size:inherit;line-height:1.3;margin:0}
.qfc-top .qfc-action-card .c4331>p{font-size:14px;line-height:1.85;text-align:left;margin:0}
.qfc-top .qfc-about__content>img{border-radius:10px;display:block;height:auto}
.qfc-top .qfc-about__content>p{font-size:16px;font-weight:500;line-height:2}
.qfc-top .qfc-instagram{position:relative;overflow:hidden}
.qfc-top .qfc-instagram::after {
  content: 'QualiFitCore　QualiFitCore　';
  position: absolute;
  bottom: 0;
  left: 0;
  width: max-content;
  font: 900 clamp(48px, 12vw, 180px)/1 var(--qfc-display);
  white-space: pre;
  color: #fff;
  pointer-events: none;
  animation: qfc-instagram-flow 20s linear infinite;
}
.qfc-top .qfc-instagram > * { position: relative; z-index: 1; }
@keyframes qfc-instagram-flow { to { transform: translateX(-50%); } }
.qfc-top .qfc-instagram .qfc-section-title{font-size:clamp(30px,2.5vw,48px)}
.qfc-top .qfc-contact__intro{max-width:792px}
.qfc-top .qfc-contact__form{width:100%;max-width:1200px;min-height:0;margin-inline:auto}
.qfc-top .qfc-contact__form .container{width:100%;max-width:none;padding:0}
.qfc-top .qfc-contact__form .formRow{margin:0;border-bottom:1px solid #d6d6d6;padding:28px 0;align-items:center}
.qfc-top .qfc-contact__form .formTh{display:flex;align-items:center;gap:14px;padding:0 24px 0 0;flex:0 0 290px;max-width:290px}
.qfc-top .qfc-contact__form .formTd{flex:1;max-width:none;min-width:0;padding:0}
.qfc-top .qfc-contact__form label{margin-bottom:0}
.qfc-top .qfc-contact__form .requiredText{background:#fa0;color:#00146d;border-radius:20px;font-size:14px;padding:3px 18px;margin:0;order:-1;white-space:nowrap}
.qfc-top .qfc-contact__form .formInput,.qfc-top .qfc-contact__form .formTextArea{display:block;width:100%;border:0;border-radius:0;background:#f4f4f4;padding:14px 18px;font:inherit;min-height:53px}
.qfc-top .qfc-contact__form .formTextArea{min-height:217px;resize:vertical}
.qfc-top .qfc-contact__form .radioArea{display:flex;gap:12px 24px;flex-wrap:wrap}
.qfc-top .qfc-contact__form .formRow:has(.privacyLabel),.qfc-top .qfc-contact__form .formRow:has(.formSend){justify-content:center;border:0}
.qfc-top .qfc-contact__form .formBtnTd{max-width:none;flex:none;padding:0;text-align:center}
.qfc-top .qfc-contact__form .formSend{width:317px;max-width:100%;min-height:90px;background:#fa0;color:#00146d;border:0;border-radius:6px;font-size:20px;font-weight:600;cursor:pointer}
@media(min-width:769px){
 .qfc-top .qfc-service__row,.qfc-top .qfc-service__row--reverse{grid-template-columns:minmax(0,480px) minmax(0,484px);justify-content:center;gap:clamp(40px,6vw,96px)}
 .qfc-top .qfc-service__row--reverse .qfc-service__image{order:0}
 .qfc-top .qfc-service__row:last-child{transform:translateX(3%)}
 .qfc-top .qfc-service__swoosh{left:0;top:0;width:100%;transform:rotate(-9deg);z-index:0}
}
@media(max-width:768px){
 .qfc-top .qfc-service__content{max-width:100%}
 .qfc-top .qfc-service__image{width:min(100%,440px);margin-inline:auto}
 .qfc-top .qfc-service__content h3{font-size:30px;margin-bottom:22px}
 .qfc-top .qfc-service__content>p:not(.qfc-service__en),.qfc-top .qfc-about__content>p{font-size:15px}
 .qfc-top .qfc-contact__form .formTh{flex:0 0 100%;max-width:100%;padding:0;margin-bottom:16px}
 .qfc-top .qfc-contact__form .formTd{flex:0 0 100%;max-width:100%}
 .qfc-top .qfc-contact__form .formRow{padding:22px 0}
 .qfc-top .qfc-contact__form .formSend{min-height:64px;width:280px;font-size:18px}
 .qfc-top .qfc-contact__form .radioArea{font-size:14px;gap:10px 16px}
}
@media(max-width:414px){.qfc-top .qfc-service__content h3{font-size:27px}.qfc-top .qfc-service__content>p:not(.qfc-service__en),.qfc-top .qfc-about__content>p{font-size:14px}.qfc-top .qfc-service__en{font-size:17px}}

.qfc-top .qfc-service::after { content: ""; position: absolute; left: 0; bottom: 45px; width: 85%; aspect-ratio: 3271 / 1199; background: url("/system_panel/uploads/images/top-serback02.png") center / contain no-repeat; pointer-events: none; z-index: 0; }
.qfc-top .qfc-service > .qfc-container { z-index: 1; }
.qfc-top .qfc-link-button::before{content:'';position:absolute;left:15%;top:50%;width:24px;height:24px;margin:0;transform:translateY(-50%);border-radius:50%;background:var(--qfc-navy);pointer-events:none}
.qfc-top .qfc-link-button::after{content:'';position:absolute;left:calc(15% + 12px);top:50%;width:7px;height:10px;margin:0;border:0;background:var(--qfc-orange);clip-path:polygon(0 0,30% 0,100% 50%,30% 100%,0 100%,70% 50%);transform:translate(-50%,-50%);pointer-events:none}
.qfc-top .qfc-link-button:hover,.qfc-top .qfc-link-button:focus-visible{background:var(--qfc-navy);color:var(--qfc-orange)!important}
.qfc-top .qfc-link-button:hover::before,.qfc-top .qfc-link-button:focus-visible::before{background:var(--qfc-orange)}
.qfc-top .qfc-link-button:hover::after,.qfc-top .qfc-link-button:focus-visible::after{border-color:var(--qfc-navy);background:var(--qfc-navy);}
@media(max-width:768px){.qfc-top .qfc-service::after{bottom:20px;width:110%;left:-10%}}

/* Scroll label and arrows use separate areas */
.qfc-top .qfc-hero__scroll{width:36px;height:126px;padding:0;display:block;font-size:11px;line-height:1;border-radius:30px}
.qfc-top .qfc-hero__scroll>p{position:absolute;top:12px;left:50%;transform:translateX(-50%);writing-mode:vertical-rl;font:700 11px/1 var(--qfc-display);margin:0;padding:0;white-space:nowrap}
.qfc-top .qfc-hero__scroll::before{width:18px;height:40px;bottom:10px}
.qfc-top .qfc-hero__scroll::after{width:18px;height:40px;bottom:10px;transform:translateX(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='49' viewBox='0 0 22 49'%3E%3Cg fill='none' stroke='%230b2069' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l9 9 9-9'/%3E%3Cpath d='M2 19l9 9 9-9'/%3E%3Cpath d='M2 36l9 9 9-9'/%3E%3C/g%3E%3C/svg%3E") center center / contain no-repeat;clip-path:inset(0 0 66.6667% 0);animation:qfc-scroll-step 1.8s steps(1,end) infinite}
@keyframes qfc-scroll-step{0%,100%{clip-path:inset(0 0 66.6667% 0)}33.3333%{clip-path:inset(33.3333% 0 33.3333% 0)}66.6667%{clip-path:inset(66.6667% 0 0 0)}}
/* Content stays visible until the observer is ready */
.qfc-reveal{transition:opacity .8s ease,translate .8s cubic-bezier(.22,.7,.2,1);transition-delay:var(--qfc-reveal-delay,0ms)}
.qfc-reveal.qfc-reveal-pending{opacity:0;translate:0 24px}
.qfc-reveal.qfc-reveal-visible{opacity:1;translate:0 0}
@media(prefers-reduced-motion:reduce){.qfc-reveal,.qfc-reveal.qfc-reveal-pending{opacity:1;translate:none;transition:none}.qfc-top .qfc-hero__scroll::after{animation:none}}

/* JS preserves the original text and only replaces its visual layer while animating. */
.qfc-top .qfc-motion-title-playing { opacity: 0; }
.qfc-hero h1.qfc-motion-hero::before,
.qfc-hero h1.qfc-motion-hero::after { animation: none; clip-path: none; transform: none; }
.qfc-top .qfc-contact__form .formSend { transition: background-color .2s, color .2s; }
.qfc-top .qfc-contact__form .formSend:is(:hover, :focus-visible) { background: var(--qfc-navy); color: var(--qfc-orange); }
@media (prefers-reduced-motion: reduce) {
  .qfc-top .qfc-instagram::after { animation: none; }
  .qfc-top .qfc-contact__form .formSend { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .qfc-top .qfc-hero__sub-en { animation: qfc-fade-up .7s ease .74s both; }
}

/* TOP composition based on the supplied desktop layout. */
.qfc-top .qfc-about__content > p,
.qfc-top .qfc-service__content > p:not(.qfc-service__en) {
  margin: 0;
  font-size: clamp(13px, 1.02vw, 16px);
  line-height: 1.9;
}
.qfc-top .qfc-service__en { font-size: clamp(14px, 1.15vw, 20px); }
.qfc-top .qfc-service__content h3 { margin: 6px 0 clamp(18px, 2vw, 32px); }
.qfc-top .qfc-service__content .qfc-link-button { margin-top: clamp(20px, 2vw, 32px); }
.qfc-top .qfc-instagram { padding-block: clamp(30px, 2.8vw, 54px) clamp(44px, 4.3vw, 82px); }
.qfc-top .qfc-instagram > .qfc-container { width: min(80%, 1536px); }
.qfc-top .qfc-instagram .webgene-blog { min-width: 0; }

@media (min-width: 769px) {
  .qfc-top .qfc-hero { min-height: clamp(640px, 68vw, 1110px); }
  .qfc-top .qfc-hero__photo--gym { left: 38.1%; top: 40.5%; width: 26.4%; height: auto; aspect-ratio: 3 / 4; }
  .qfc-top .qfc-hero__photo--sports { right: 5%; top: 7%; width: 28.9%; height: auto; aspect-ratio: 5 / 7; }
  .qfc-top .qfc-hero__scroll { top: clamp(310px, calc(100svh - 200px), 61%); }
  .qfc-top .qfc-about { padding: clamp(42px, 4.35vw, 83px) 0 clamp(86px, 9.4vw, 180px); }
  .qfc-top .qfc-about__inner {
    width: min(80%, 1536px);
    grid-template-columns: minmax(0, 43.6%) minmax(0, 36%);
    gap: 14%;
    align-items: start;
  }
  .qfc-top .qfc-about__content > img { width: 100%; max-width: none; aspect-ratio: 668 / 842; object-fit: cover; }
  .qfc-top .qfc-about__content:has(>h2) { padding-top: clamp(64px, 11.2vw, 210px); }
  .qfc-top .qfc-about__content h3 { font-size: clamp(20px, 2.05vw, 39px); margin: clamp(24px, 3.7vw, 70px) 0 clamp(18px, 1.8vw, 34px); }
  .qfc-top .qfc-about__content .qfc-section-title { font-size: clamp(35px, 4.5vw, 86px); }
  .qfc-top .qfc-action { padding: clamp(34px, 3vw, 58px) 0 0; }
  .qfc-top .qfc-action__inner { width: min(90%, 1728px); }
  .qfc-top .qfc-action__backdrop { height: clamp(325px, 33.2vw, 620px); }
  .qfc-top .qfc-action__cards { width: 88.89%; margin-inline: auto; gap: 4.45%; }
  .qfc-top .qfc-action-card { min-height: 0; padding: clamp(25px, 3vw, 58px) 10% clamp(24px, 2.2vw, 42px); padding-inline: clamp(14px, 2.5vw, 48px); }
  .qfc-top .qfc-action-card__photo { display: block; width: 92%; max-width: 345px; object-fit: cover; margin: 0 auto clamp(14px, 1.6vw, 30px); }
  .qfc-top .qfc-action-card h3 { font-size: clamp(14px, 1.23vw, 23px); }
  .qfc-top .qfc-action-card .c4331 > p { font-size: clamp(12px, .98vw, 16px); }
  .qfc-top .qfc-service { padding: clamp(86px, 9vw, 170px) 0 clamp(145px, 16vw, 300px); }
  .qfc-top .qfc-service > .qfc-container { width: min(70%, 1344px); }
  .qfc-top .qfc-service .qfc-section-title { margin-bottom: clamp(32px, 3.3vw, 62px); }
  .qfc-top .qfc-service__row,
  .qfc-top .qfc-service__row--reverse {
    grid-template-columns: minmax(0, 45.3%) minmax(0, 36.5%);
    justify-content: start;
    gap: 9.2%;
    margin-bottom: clamp(68px, 10vw, 188px);
  }
  .qfc-top .qfc-service__row:last-child { width: 100%; margin: 0; transform: translateX(7.1%); }
  .qfc-top .qfc-service__image { max-width: none; aspect-ratio: 2 / 3; }
  .qfc-top .qfc-service__swoosh { left: 5%; top: clamp(80px, 9vw, 170px); transform: rotate(-9deg); }
  .qfc-top .qfc-service::after { bottom: clamp(60px, 7vw, 130px); }
  .qfc-top .qfc-link-button { min-width: clamp(170px, 13.75vw, 263px); min-height: clamp(48px, 3.75vw, 72px); padding: 10px clamp(40px, 4.05vw, 62px); font-size: clamp(12px, 1vw, 16px); }
  .qfc-top .qfc-link-button::before { width: clamp(16px, 1.25vw, 24px); height: clamp(16px, 1.25vw, 24px); }
  .qfc-top .qfc-link-button::after { left: calc(15% + clamp(8px, .625vw, 12px)); width: clamp(5px, .45vw, 7px); height: clamp(7px, .625vw, 10px); }
}

/* CONTACT uses the live CMS form and keeps the submission fields intact. */
.qfc-top .qfc-contact { padding: clamp(68px, 8.4vw, 150px) 0 clamp(60px, 6.2vw, 116px); }
.qfc-top .qfc-contact > .qfc-container { width: min(70%, 1200px); }
.qfc-top .qfc-contact__intro { margin: 14px 0 clamp(30px, 3.1vw, 58px) !important; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.9; }
.qfc-top .qfc-contact__form { --qfc-form-label: 21.6%; width: 100%; max-width: 1200px; }
.qfc-top .qfc-contact__form .formRow {
  position: relative;
  padding: clamp(12px, 1vw, 19px) 0;
  border-bottom: 1px solid #aaa;
}
.qfc-top .qfc-contact__form .formRow:has(.formTh)::after {
  content: '';
  position: absolute;
  inset: auto auto -1px 0;
  width: var(--qfc-form-label);
  height: 2px;
  background: #333;
  pointer-events: none;
}
.qfc-top .qfc-contact__form .formTh { flex: 0 0 27.5%; max-width: 27.5%; gap: 10px; padding-right: 12px; }
.qfc-top .qfc-contact__form .formTh label { color: var(--qfc-navy); font-size: clamp(13px, 1.05vw, 16px); font-weight: 600; }
.qfc-top .qfc-contact__form :is(.requiredText, .optionalText) {
  flex: none;
  order: -1;
  min-width: 46px;
  border-radius: 999px;
  padding: 2px 9px;
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}
.qfc-top .qfc-contact__form .optionalText { background: var(--qfc-navy); color: #fff; }
.qfc-top .qfc-contact__form :is(.formInput, .formTextArea, select) {
  display: block;
  width: 100%;
  min-height: clamp(42px, 3.5vw, 56px);
  border: 0;
  border-radius: 0;
  padding: 10px clamp(12px, 1.8vw, 34px);
  background: #f2f2f2;
  color: #111;
  font: inherit;
  font-size: clamp(14px, 1.15vw, 16px);
}
.qfc-top .qfc-contact__form select { appearance: auto; padding-inline-end: 24px; }
.qfc-top .qfc-contact__form select:has(option[value='']:checked) { color: #595959; }
.qfc-top .qfc-contact__form .formTextArea { min-height: clamp(98px, 8vw, 150px); }
.qfc-top .qfc-contact__form .formRow:has(.formTextArea, .qfc-privacy-copy) { align-items: flex-start; }
.qfc-top .qfc-contact__form .formRow:has(.formTextArea, .qfc-privacy-copy) .formTh { padding-top: 8px; }
.qfc-top .qfc-contact__form .qfc-privacy-copy { max-height: 240px; overflow: auto; padding: 16px 22px; background: #f2f2f2; font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.qfc-top .qfc-contact__form .formRow:has(.privacyLabel) { border-bottom: 1px solid #aaa; }
.qfc-top .qfc-contact__form .formRow:has(.privacyLabel):not(:has(.formTh)) > .col { padding: 0 0 0 27.5%; }
.qfc-top .qfc-contact__form .formRow:has(.privacyLabel) .text-center { text-align: left !important; }
.qfc-top .qfc-contact__form .privacyLabel { font-size: 14px; }
.qfc-top .qfc-contact__form .formRow:has(.formSend) { border: 0; padding: clamp(32px, 3vw, 56px) 0 0; }
.qfc-top .qfc-contact__form .formSend { width: clamp(210px, 16.5vw, 317px); min-height: clamp(55px, 4.7vw, 90px); font-size: clamp(14px, 1.15vw, 20px); }

@media (max-width: 1024px) {
  .qfc-top .qfc-contact > .qfc-container { width: min(84%, 1200px); }
}
@media (max-width: 768px) {
  .qfc-top .qfc-about { padding-block: 56px 64px; }
  .qfc-top .qfc-about__content > img { width: min(100%, 440px); margin-inline: auto; }
  .qfc-top .qfc-service { padding-block: 64px 85px; }
  .qfc-top .qfc-instagram > .qfc-container,
  .qfc-top .qfc-contact > .qfc-container { width: calc(100% - 36px); }
  .qfc-top .qfc-contact__form .formTh { flex: 0 0 100%; max-width: 100%; padding-right: 0; margin-bottom: 10px; }
  .qfc-top .qfc-contact__form .formRow:has(.privacyLabel):not(:has(.formTh)) > .col { padding: 0; }
  .qfc-top .qfc-contact__form .formRow:has(.formTh)::after { display: none; }
}
@media (max-width: 414px) {
  .qfc-top .qfc-hero h1 { font-size: clamp(32px, 9vw, 37px); line-height: 1.17; }
  .qfc-top .qfc-hero h1::after { top: 1.17em; }
  .qfc-top .qfc-contact .qfc-section-title { font-size: 46px; }
}

@media (max-width: 768px) {
  .qfc-top .qfc-action__cards { container-type: inline-size; }
  .qfc-top .qfc-action-card {
    border-top-left-radius: 50cqw;
    border-top-right-radius: 50cqw;
  }
}

@media (max-width: 768px) {
  .qfc-top .qfc-link-button { justify-content: flex-start; padding: 16px 28px 16px 76px; }
  .qfc-top .qfc-link-button::before { left: 28px; width: 24px; height: 24px; }
  .qfc-top .qfc-link-button::after { left: 40px; width: 7px; height: 10px; }
}

/* SP ornaments follow photos rather than section bottoms/buttons. */
@media(max-width:768px){
#main-content .qfc-about{isolation:isolate}#main-content .qfc-about__swoosh{top:8vw;bottom:auto;left:-25%;width:150%;height:auto;max-height:60vw;object-fit:contain;transform:none;z-index:0;pointer-events:none}#main-content .qfc-about__inner{position:relative;z-index:1}
#main-content .qfc-service__swoosh{display:none}#main-content .qfc-service::after{content:none}
#main-content .qfc-service__row{position:relative;isolation:isolate;overflow:visible}
#main-content .qfc-service__row::before{content:'';position:absolute;z-index:-1;top:8vw;left:-25%;width:150%;height:50vw;max-height:340px;background:url('/system_panel/uploads/images/20261124011707738131.png') center/contain no-repeat;pointer-events:none}
#main-content .qfc-service__row:last-child::before{background-image:url('/system_panel/uploads/images/top-serback02.png');transform:rotate(-8deg)}
#main-content .qfc-service__image{position:relative;z-index:1}#main-content .qfc-service__content{position:relative;z-index:1;background:#fff}
}

/* TOP latest article: TopNews data block */
.qfc-top .qfc-top-news {
  position: absolute; top: 56%; right: 2.4%; z-index: 4;
  width: clamp(280px, 22.5vw, 432px); margin: 0; padding: 0;
  text-align: left; overflow: visible;
}
.qfc-top .qfc-top-news .webgene-blog { position: static; width: 100%; margin: 0; padding: 0; }
.qfc-top .qfc-top-news .webgene-item { margin: 0; padding: 0; width: 100%; }
.qfc-top .qfc-top-news .webgene-item:nth-of-type(n + 2) { display: none; }
.qfc-top .qfc-top-news :is(.qfc-top-news__card, .qfc-hero__news) {
  position: relative; inset: auto; width: 100%; min-height: 0; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 40%;
  gap: clamp(12px, 1.1vw, 20px); align-items: stretch;
  padding: clamp(10px, .8vw, 16px); border: 0; border-radius: 8px;
  background: #fff; color: #000; text-decoration: none;
  box-shadow: 0 3px 3px #0003; transition: box-shadow .25s ease;
}
.qfc-top .qfc-top-news :is(.qfc-top-news__copy, .qfc-hero__news-copy) { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.qfc-top .qfc-top-news :is(.qfc-top-news__category, .qfc-hero__news-category) {
  display: inline-block; width: auto; max-width: 100%; margin: 0 0 6px; padding: 2px 12px;
  border: 1px solid #00146d; border-radius: 999px; color: #00146d;
  font-size: clamp(10px, .72vw, 14px); font-weight: 500; line-height: 1.25;
}
.qfc-top .qfc-top-news :is(.qfc-top-news__title, .qfc-hero__news-title) {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; margin: 0; padding: 0; color: #000;
  font-size: clamp(11px, .85vw, 16px); font-weight: 500; line-height: 1.5;
  letter-spacing: 0; text-align: left; text-wrap: wrap;
  white-space: normal; word-break: normal; overflow-wrap: anywhere;
}
.qfc-top .qfc-top-news__date {
  margin: auto 0 0; padding-top: 12px; color: #b5b5b5;
  font-size: clamp(10px, .7vw, 13px); font-weight: 400; line-height: 1.2;
}
.qfc-top .qfc-top-news :is(.qfc-top-news__image, .qfc-hero__news-image) {
  min-width: 0; width: 100%; aspect-ratio: 1; align-self: center;
  overflow: hidden; border-radius: 3px; background: #d9d9d9;
}
.qfc-top .qfc-top-news :is(.qfc-top-news__image, .qfc-hero__news-image) img {
  display: block; width: 100%; height: 100%; max-width: 100%; margin: 0;
  object-fit: cover; opacity: 1; transform: none; animation: none;
}
.qfc-top .qfc-top-news__badge, .qfc-top .qfc-top-news .qfc-hero__news::after {
  content: "NEWS"; position: absolute; top: -14px; right: -12px; z-index: 2;
  display: grid; place-items: center; width: clamp(46px, 3.6vw, 68px);
  aspect-ratio: 1; margin: 0; padding: 0; border-radius: 50%;
  background: #00146d; color: #fff;
  font-family: var(--qfc-display); font-size: clamp(10px, .85vw, 16px);
  font-weight: 700; line-height: 1; letter-spacing: 0;
}
.qfc-top .qfc-top-news :is(.qfc-top-news__card, .qfc-hero__news):focus-visible { outline: 2px solid #00146d; outline-offset: 4px; }
@media (hover: hover) {
  .qfc-top .qfc-top-news :is(.qfc-top-news__card, .qfc-hero__news):hover { box-shadow: 0 4px 10px #0003; }
}
@media (max-width: 768px) {
  .qfc-top .qfc-top-news { top: auto; right: 24px; bottom: 24px; width: min(300px, calc(100% - 88px)); }
  .qfc-top .qfc-top-news :is(.qfc-top-news__card, .qfc-hero__news) { gap: 12px; padding: 10px; }
  .qfc-top .qfc-top-news :is(.qfc-top-news__category, .qfc-hero__news-category) { font-size: 10px; padding: 2px 10px; }
  .qfc-top .qfc-top-news :is(.qfc-top-news__title, .qfc-hero__news-title) { font-size: 11px; line-height: 1.5; }
  .qfc-top .qfc-top-news__date { font-size: 10px; padding-top: 8px; }
  .qfc-top .qfc-top-news__badge, .qfc-top .qfc-top-news .qfc-hero__news::after { width: 42px; font-size: 10px; top: -12px; right: -10px; }
}
@media (max-width: 480px) {
  .qfc-top .qfc-top-news { right: 24px; bottom: 16px; width: min(280px, calc(100% - 88px)); }
}
