/* ============================================
   日清MCTオイルHC SP Landing Page
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-blue: #2fa4dc;
  --color-deep-blue: #00078c;
  --color-green: #45b035;
  --color-green-dark: #324337;
  --color-green-light: #30b134;
  --color-orange: #f28500;
  --color-text: #333333;
  --color-white: #ffffff;
  --font-main: "LINE Seed JP", sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 768px;
  min-width: 320px;
  overflow-x: hidden;
}

.unit-g {
  font-family: "Noto Sans JP", sans-serif;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

/* --- HEADER --- */
.header {
  align-items: start;
  container-type: inline-size;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 2% 2%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}

.header__logo {
  display: block;
  line-height: 0;
  width: 14%;
  position: relative;
}

.header__logo img {
  height: auto;
  width: 100%;
}

.header__sns {
  align-items: center;
  display: flex;
  gap: 2.8cqi;
}

.header__sns-link {
  align-items: center;
  display: flex;
}

.header__sns-link img {
  max-width: none;
}

.header__sns-link--x img {
  height: auto;
  width: 5.2cqi;
}

.header__sns-link--fb img {
  height: auto;
  width: 6.6cqi;
}

/* --- MAIN VISUAL --- */
.mv {
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 3;
}

.mv__img {
  display: block;
  height: auto;
  width: 100%;
}

.anim-enabled .mv__img {
  animation: mv-enter 0.6s ease-out both;
  animation-play-state: paused;
}

.anim-enabled .mv__img.anim-visible {
  animation-play-state: running;
}

@keyframes mv-enter {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- CLAIM (効能テキスト) --- */
.claim {
  background-color: var(--color-green);
  position: relative;
  z-index: 2;
}

.claim__wave {
  bottom: -1px;
  display: block;
  height: 20%;
  left: 0;
  position: absolute;
  width: 100%;
}

.claim__ellipse {
  display: none;
}

.claim__text-wrap {
  padding: 40px 0;
  position: relative;
  width: 100%;
}

.claim__flame {
  height: 129px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
}

.anim-enabled .claim__flame {
  animation: flame-in 0.8s ease-out both;
  animation-play-state: paused;
}
.anim-enabled .claim__flame.anim-visible {
  animation-play-state: running;
}

@keyframes flame-in {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.7);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.claim__text {
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.75px;
  line-height: 25.5px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.anim-enabled .claim__text {
  animation: claim-text-enter 0.5s ease-out both;
  animation-play-state: paused;
}

.anim-enabled .claim__text.anim-visible {
  animation-play-state: running;
}

@keyframes claim-text-enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- DISCLAIMER --- */
.disclaimer {
  padding: 10px 14px 0;
}

.disclaimer__inner {
  position: relative;
}

.disclaimer__badge {
  border: 1px solid var(--color-green);
  color: var(--color-green);
  display: inline-block;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  padding: 1px 12px;
}

.disclaimer__text {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.4;
  margin-top: 8px;
}

.disclaimer__text p {
  margin-bottom: 0;
  padding-left: 1em;
  text-indent: -1em;
}

/* --- TVCM --- */
.tvcm {
  padding: 45px 26px 35px;
  text-align: center;
}

.tvcm__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tvcm__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tvcm__player {
  position: relative;
}

.tvcm__thumbnail {
  aspect-ratio: 16 / 9;
  background-color: var(--color-green-dark);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.tvcm__thumb-img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.tvcm__thumbnail:hover .tvcm__thumb-img {
  transform: scale(1.05);
}

.tvcm__thumbnail:hover .tvcm__play-btn {
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1.15);
}

.tvcm__play-btn {
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  height: 47px;
  justify-content: center;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  width: 47px;
}

.tvcm__play-btn img {
  height: 47px;
  width: 47px;
}

.tvcm__iframe-wrap {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.tvcm__iframe-wrap iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.tvcm__label {
  display: block;
  height: auto;
  margin: -1px auto 0;
  max-width: 100%;
  width: 186px;
}

.tvcm__label-text {
  color: #324337;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 8px auto 0;
  text-align: center;
}

/* --- Video Modal --- */
.video-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.video-modal--active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__overlay {
  background: rgba(0, 0, 0, 0.8);
  inset: 0;
  position: absolute;
}

.video-modal__content {
  max-width: 900px;
  position: relative;
  width: 90vw;
}

.video-modal__close {
  align-items: center;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 36px;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: -8px;
  top: -48px;
  width: 44px;
}

.video-modal__iframe-wrap {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.video-modal__iframe-wrap iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.video-modal__tabs {
  bottom: 24px;
  display: flex;
  gap: 8px;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 1;
}

@media (min-width: 768px) {
  .video-modal__tabs {
    bottom: auto;
    left: auto;
    margin-top: 24px;
    position: static;
    right: auto;
  }
}

.video-modal__tab {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 32px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.video-modal__tab--orange {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.video-modal__tab--green {
  border-color: var(--color-green);
  color: var(--color-green);
}

.video-modal__tab:hover {
  background: rgba(255, 255, 255, 0.15);
}

.video-modal__tab--active.video-modal__tab--orange {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  cursor: default;
}

.video-modal__tab--active.video-modal__tab--green {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
  cursor: default;
}

/* --- ABOUT --- */
.about {
  text-align: center;
  padding: 30px 16px 0;
}

.about__title {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.about__title-hc {
  font-size: 12px;
  font-weight: 700;
}

.about__desc {
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
  margin-top: 15px;
}

.about__desc-hc {
  font-size: 10px;
}

.about__photo {
  margin-top: 4px;
  padding: 0 7px;
}

.anim-enabled .about__photo {
  animation: about-photo-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  animation-play-state: paused;
  transform-origin: center bottom;
}
.anim-enabled .about__photo.anim-visible {
  animation-play-state: running;
}

@keyframes about-photo-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.about__photo img {
  border-radius: 4px;
  height: auto;
  width: 100%;
}

/* --- FEATURE SLIDER --- */
:root {
  --slide-width: 318px;
}

.feature {
  background: url("../images/bg_slider.svg") no-repeat center / 100% 100%;
  padding: 70px 0 30px;
  position: relative;
}

#feature-slider {
  overflow: hidden;
  padding-bottom: 18px;
}

#feature-slider .swiper-slide {
  background-color: var(--color-white);
  border-radius: 6%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  width: var(--slide-width);
}

.slider__slide-border {
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

#feature-slider .swiper-slide img {
  border-radius: 0;
  display: block;
  height: auto;
  pointer-events: none;
  width: 100%;
}

/* Slide visual states */
#feature-slider .swiper-slide {
  opacity: 0.5;
  transform: scale(0.85);
}

#feature-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 3;
}

#feature-slider .swiper-slide-prev {
  opacity: 0.85;
  transform: scale(0.88) rotate(-5deg) translateX(160px) translateY(75px);
  z-index: 2;
}

#feature-slider .swiper-slide-next {
  opacity: 0.85;
  transform: scale(0.88) rotate(5deg) translateX(-160px) translateY(75px);
  z-index: 2;
}

.slider__nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
}

.slider__btn {
  align-items: center;
  background-color: var(--color-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.slider__btn:active {
  background-color: #f0f0f0;
}

.slider__btn--prev img {
  transform: rotate(-90deg);
}

.slider__btn--next img {
  transform: rotate(90deg);
}

/* Grid toggle button */
.slider__grid-btn {
  align-items: center;
  background-color: var(--color-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--color-green);
  cursor: pointer;
  display: flex;
  height: 56px;
  justify-content: center;
  margin: 12px auto 0;
  transition: opacity 0.2s;
  width: 56px;
}

.slider__grid-btn:active {
  opacity: 0.7;
}

/* --- GRID PANEL --- */
.grid-panel {
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  inset: 0;
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 9999;
  -webkit-overflow-scrolling: touch;
}

.grid-panel--active {
  opacity: 1;
  pointer-events: auto;
}

.grid-panel__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  padding: 8px 16px;
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 10001;
}

.grid-panel__inner {
  max-width: none;
  padding: 60px 16px 40px;
  width: 100%;
}

.grid-panel__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 45%), 1fr));
}

.grid-panel__item {
  background-color: var(--color-white);
  border: none;
  border-radius: 6%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.grid-panel__item::after {
  border: 1.5px solid #4caf50;
  border-radius: 6%;
  content: "";
  inset: 4px;
  pointer-events: none;
  position: absolute;
}

.grid-panel__item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: scale(0.95);
}

.grid-panel__item:active {
  transform: scale(0.95);
}

.grid-panel__item img {
  display: block;
  height: auto;
  width: 100%;
}

/* --- USAGE --- */
.usage {
  margin: 10px 0;
  overflow: hidden;
  padding: 40px 0 30px;
  position: relative;
}

.usage__inner {
  padding: 0;
  position: relative;
}

.usage__title {
  margin: 0 auto 45px;
  text-align: center;
}

.usage__title-img {
  display: block;
  height: auto;
  margin: 0 auto;
  width: 100%;
}

.usage__title-line {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 266px;
  width: 75%;
}

.usage__grid {
  padding: 0 16px;
  display: grid;
  gap: 20px 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 500px;
}

.usage__item {
  text-align: center;
  transition: transform 0.3s ease;
}

.usage__item-photo {
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow:
    0 4px 16px rgba(69, 176, 53, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.06);
  margin: -20px auto 0;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  width: 92%;
}

.usage__item-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.usage__item-arc {
  display: block;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  width: 100%;
}

.usage__item-label {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
}

/* --- USAGE GROUP (usage + longlast + caution wrapper) --- */
.usage-group {
  background:
    radial-gradient(
      ellipse 120% 40% at 15% 25%,
      rgba(69, 176, 53, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 100% 35% at 85% 55%,
      rgba(69, 176, 53, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #fafff6 0%, #f6fdf2 30%, #f9fef5 60%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

/* Decorative leaf-shaped accent — top-right */
.usage-group::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -18px;
  width: 90px;
  height: 90px;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(69, 176, 53, 0.1) 0%,
    transparent 70%
  );
  border-radius: 0 70% 0 70%;
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 0;
}

/* Decorative dot cluster — bottom-left */
.usage-group::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 10px;
  width: 60px;
  height: 60px;
  background-image:
    radial-gradient(
      circle 3px at 10px 10px,
      rgba(69, 176, 53, 0.15) 50%,
      transparent 50%
    ),
    radial-gradient(
      circle 2px at 30px 20px,
      rgba(69, 176, 53, 0.12) 50%,
      transparent 50%
    ),
    radial-gradient(
      circle 3px at 20px 40px,
      rgba(69, 176, 53, 0.1) 50%,
      transparent 50%
    ),
    radial-gradient(
      circle 2px at 45px 35px,
      rgba(69, 176, 53, 0.13) 50%,
      transparent 50%
    ),
    radial-gradient(
      circle 2px at 50px 10px,
      rgba(69, 176, 53, 0.08) 50%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* --- LONGLAST (1本で約45日分) --- */
.longlast {
  overflow: hidden;
  padding: 20px 24px 40px;
  position: relative;
}

.longlast__inner {
  margin: 0 auto;
  max-width: 400px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.longlast__circles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.longlast__circle:first-child {
  align-self: flex-start;
  margin-left: -2%;
}

.longlast__circle:last-child {
  align-self: flex-end;
  margin-right: -2%;
}

.longlast__circle {
  align-items: center;
  background:
    radial-gradient(ellipse at 30% 25%, #f5fcf0 0%, transparent 50%),
    radial-gradient(ellipse at 70% 75%, #edf8e5 0%, transparent 60%), #eff8e8;
  border: 2px solid rgba(69, 176, 53, 0.13);
  border-radius: 50%;
  box-shadow:
    0 6px 24px rgba(69, 176, 53, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.03),
    inset 0 -4px 12px rgba(69, 176, 53, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  position: relative;
  width: min(60vw, 240px);
  height: min(60vw, 240px);
}

/* Thin decorative ring around each circle */
.longlast__circle::before {
  border: 1px dashed rgba(69, 176, 53, 0.18);
  border-radius: 50%;
  content: "";
  height: calc(100% + 16px);
  left: -10px;
  pointer-events: none;
  position: absolute;
  top: -10px;
  width: calc(100% + 16px);
}

.longlast__heading {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  position: relative;
}

.longlast__heading::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(69, 176, 53, 0.25) 30%,
    rgba(69, 176, 53, 0.25) 70%,
    transparent 100%
  );
  border-radius: 2px;
  content: "";
  display: block;
  height: 2px;
  margin: 8px auto 0;
  width: 60%;
}

.longlast__desc {
  color: #2d7a22;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.6;
  margin-top: 10px;
}

.longlast__note {
  color: #888;
  font-family: var(--font-main);
  font-size: 9px;
  margin-top: 6px;
}

.longlast__hc {
  font-size: 0.75em;
}

/* --- CAUTION --- */
.caution {
  padding: 20px 15px 24px;
}

.caution__list {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 10px;
  line-height: 1.87;
}

.caution__list li {
  padding-left: 15px;
  position: relative;
}

.caution__list li::before {
  content: "\25CF";
  left: 0;
  position: absolute;
}

.caution__list li + li {
  margin-top: 4px;
}

.caution__list small {
  font-size: 9px;
}

.caution__list sup {
  font-size: 5px;
  vertical-align: super;
}

.caution__note {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 9px;
  line-height: 1.75;
  margin-top: 4px;
  padding-left: 1em;
  text-indent: -1em;
}

/* --- SCIENCE --- */
.science {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 150px 0 150px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #eaf9f6 30%,
    #eaf9f6 70%,
    transparent 100%
  );
}

.science__deco-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 52px 16px;
  width: 100%;
}

.science__deco {
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* ── asymmetric diagonal flow (NW → SE) ── */

/* Teal bar — upper-left, crosses behind button's upper edge */
.science__deco--bar-y-top {
  background: #2bb5a0;
  height: 12px;
  left: calc(50% - 410px);
  top: calc(50% - 11px);
  width: 300px;
}

.science__deco--bar-y-top2 {
  background: #2bb5a0;
  height: 1px;
  left: calc(50% - 210px);
  top: calc(50% + 14px);
  width: 300px;
}

/* Yellow line — upper, going right off-screen */
.science__deco--line-t-top {
  background: #ffed00;
  height: 2px;
  left: calc(50% + 20px);
  top: calc(50% - 28px);
  width: 440px;
}

/* Yellow block — upper-left corner area */
.science__deco--rect-t-left {
  background: #ffed00;
  height: 9px;
  left: calc(50% - 180px);
  top: 14px;
  width: 80px;
}

.science__deco--rect-t-left2 {
  background: #ffed00;
  height: 3px;
  left: calc(50% - 280px);
  top: calc(50% + 60px);
  width: 120px;
}

/* Yellow bar — lower-right, crosses behind button's lower edge */
.science__deco--line-t-bottom {
  background: #ffed00;
  height: 14px;
  left: calc(50% + 80px);
  top: calc(50% + 8px);
  width: 240px;
}

/* Teal line — lower, also going right */
.science__deco--bar-y-bottom {
  background: #2bb5a0;
  height: 2px;
  left: calc(50% - 40px);
  top: calc(50% + 28px);
  width: 380px;
}

/* Teal block — lower-right area */
.science__deco--rect-y-right {
  background: #2bb5a0;
  height: 14px;
  left: calc(50% + 140px);
  bottom: 6px;
  width: 32px;
}

.science__link {
  background-color: #2bb5a0;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(43, 181, 160, 0.25);
  color: #ffed00;
  display: block;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  padding: 14px 28px;
  position: relative;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(18, 105, 92, 0.35);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
  width: 100%;
  max-width: 300px;
  z-index: 2;
}

.science__link::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffed00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  height: 14px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 14px;
}

.science__link:hover {
  box-shadow: 0 6px 24px rgba(43, 181, 160, 0.35);
  transform: scale(1.02);
}

.science__link:hover::after {
  transform: translateY(-50%) translate(2px, -2px);
}

.science__link:active {
  box-shadow: 0 2px 8px rgba(43, 181, 160, 0.2);
  transform: scale(0.98);
}

/* --- LINEUP --- */
.lineup {
  padding: 40px 0px 50px;
  position: relative;
}

.lineup__circles {
  height: calc(100% + 120px);
  left: -120px;
  opacity: 0.5;
  position: absolute;
  top: -60px;
  width: calc(100% + 240px);
  z-index: -1;
}

.lineup__circle {
  background-color: #e8f5e3;
  border-radius: 50%;
  height: 328px;
  position: absolute;
  width: 328px;
  max-height: 80vw;
  max-width: 80vw;
}

.lineup__circle--1 {
  right: 0;
  top: 0;
}

.lineup__circle--2 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.lineup__circle--3 {
  bottom: 0;
  left: 0;
}

.lineup__title {
  color: var(--color-green);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}

.lineup__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  overflow: clip;
  padding-top: 40px;
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}

.lineup__item--third {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 4px;
  max-width: 50%;
}

.lineup__item {
  text-align: center;
}

/* hs peek-out wrapper */
.lineup__item-img-wrap {
  display: block;
  margin: 0 auto;
  position: relative;
  width: 65%;
}

.lineup__item-hs {
  bottom: 1%;
  height: 85%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -30%;
  transform: translateX(-50%);
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  width: auto;
  z-index: 0;
}

/* PC: hover trigger */
@media (min-width: 768px) {
  .lineup__item--has-hs:hover .lineup__item-hs {
    opacity: 1;
    transform: translateX(0);
  }
}

/* SP: JS trigger */
.lineup__item--has-hs.hs-peek .lineup__item-hs {
  opacity: 1;
  transform: translateX(0);
}

/* 3つ目の商品: hs個別調整 */
.lineup__item--third .lineup__item-hs {
  height: 80%;
  right: 5%;
  bottom: 1%;
}

.lineup__item-img-wrap .lineup__item-img {
  position: relative;
  z-index: 1;
}

.lineup__item-img {
  aspect-ratio: 124 / 201;
  margin: 0 auto;
  object-fit: contain;
  width: 100%;
}

/* non-wrapped items keep original width */
.lineup__item:not(.lineup__item--has-hs) .lineup__item-img {
  width: 65%;
}

.lineup__item-name {
  color: #000000;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
  margin-top: 8px;
}

.lineup__item-hc {
  font-size: 10px;
}

.lineup__item-size {
  color: #000000;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}

.lineup__item-btn {
  align-items: center;
  background-color: var(--color-green);
  border: none;
  border-radius: 100px;
  color: var(--color-white);
  display: inline-flex;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  letter-spacing: 2px;
  margin-top: 8px;
  min-width: 117px;
  padding: 6px 20px;
  transition: opacity 0.3s;
}

.lineup__item-btn:hover {
  opacity: 0.8;
}

.lineup__item-arrow {
  border-bottom: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  display: inline-block;
  height: 7px;
  transform: rotate(-45deg);
  width: 7px;
}

/* --- SHOP CTA --- */
.shop-cta {
  padding: 0 20px 60px;
}

.shop-cta__btn {
  align-items: center;
  background-color: var(--color-white);
  border: 2px solid var(--color-green);
  border-radius: 100px;
  color: var(--color-green);
  display: flex;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  height: 54px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 315px;
  padding: 0 24px;
  transition: opacity 0.3s;
  width: 100%;
}

.shop-cta__btn:hover {
  opacity: 0.85;
}

.shop-cta__icon {
  flex-shrink: 0;
  height: 22px;
  width: auto;
}

.shop-cta__arrow {
  flex-shrink: 0;
  height: auto;
  transform: rotate(90deg);
  width: 15px;
}

/* --- RELATED --- */
.related {
  padding: 0 13px 40px;
}

.related__card {
  border-radius: 19px;
  display: block;
  overflow: hidden;
  position: relative;
}

.related__header {
  background-color: var(--color-green-light);
  border-radius: 19px 19px 0 0;
  padding: 12px 20px;
  position: relative;
}

.related__header-text {
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  text-align: center;
}

.related__products {
  align-items: flex-end;
  background: linear-gradient(
    180deg,
    #61c064 0%,
    #e6f3db 61.54%,
    #f9fff3 89.42%,
    #f0ffe4 100%
  );
  display: flex;
  justify-content: center;
  margin-top: -30px;
  overflow: hidden;
  padding: 0;
}

.related__product {
  flex: 0 0 auto;
  width: 45%;
}

.related__product:last-child {
  margin-left: -6%;
  width: 48%;
}

.related__product img {
  display: block;
  height: auto;
  width: 100%;
}

.related__names {
  background: linear-gradient(180deg, #f0ffe4 0%, #f9fff3 100%);
  border-radius: 0 0 19px 19px;
  display: flex;
  justify-content: space-around;
  justify-content: space-evenly;
  padding: 4px 20px 18px;
}

.related__name {
  color: var(--color-green);
  text-align: left;
}

.related__name-prefix {
  display: block;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 28px;
}

.related__name-brand {
  display: block;
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 700;
  line-height: 28px;
}

.related__name-type {
  display: block;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 28px;
}

.related__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.related__arrow img {
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}

/* --- FOOTER --- */
.footer {
  background-color: #f5f5f5;
  padding: 20px 20px 14px;
  text-align: center;
}

.footer__nav {
  align-items: center;
  display: flex;
  font-size: 11px;
  gap: 8px;
  justify-content: center;
}

.footer__link {
  color: var(--color-text);
  transition: opacity 0.3s;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__sep {
  color: #cccccc;
}

.footer__brand {
  color: #666666;
  font-size: 11px;
  font-weight: 500;
  margin: 12px 0 8px;
}

.footer__copyright {
  color: #999999;
  font-size: 10px;
}

/* --- LIGHTBOX --- */
.lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.lightbox--active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  padding: 8px 16px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 10001;
}

.lightbox__swiper-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  width: 100%;
}

.lightbox__swiper {
  overflow: hidden;
  width: 100%;
}

.lightbox__swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox__slide-inner {
  background-color: var(--color-white);
  border-radius: 6%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  max-width: min(80vw, 500px);
  overflow: hidden;
  position: relative;
  width: min(80vw, 500px);
}

.lightbox__slide-inner img {
  display: block;
  height: auto;
  width: 100%;
}

.lightbox__border {
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.lightbox__nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
  position: relative;
  z-index: 10000;
}

.lightbox__nav-btn {
  align-items: center;
  background-color: var(--color-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  transition: opacity 0.2s;
  width: 48px;
}

.lightbox__nav-btn:active {
  opacity: 0.7;
}

.lightbox__nav-btn--prev img {
  transform: rotate(-90deg);
}

.lightbox__nav-btn--next img {
  transform: rotate(90deg);
}

/* ========================================
   PC (768px以上)
   ======================================== */
@media (min-width: 768px) {
  body {
    max-width: none;
  }

  /* --- HEADER --- */
  .header {
    margin: 0 auto;
    max-width: 1100px;
    padding: 12px 10px;
    align-items: start;
  }

  .header__logo {
    width: 7.8%;
  }

  .header__sns-link--x img {
    height: auto;
    width: 2.6cqi;
  }

  .header__sns-link--fb img {
    height: auto;
    width: 3.3cqi;
  }

  /* --- MV --- */
  .mv {
    background-color: #fdf8ec;
  }

  .mv__img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
  }

  /* --- CLAIM --- */
  .claim {
    margin-top: 0;
  }

  .claim__text-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 0;
  }

  .claim__text {
    font-size: 20px;
    line-height: 1.7;
  }

  .claim__text br.sp-only {
    display: none;
  }
  .claim__wave {
    height: 40%;
  }

  /* --- DISCLAIMER --- */
  .disclaimer {
    margin: 0 auto;
    max-width: 1100px;
    padding: 16px 40px 0;
  }

  .disclaimer__badge {
    font-size: 13px;
  }

  .disclaimer__text {
    font-size: 12px;
  }

  /* --- TVCM --- */
  .tvcm {
    margin: 40px auto 0;
    max-width: 1100px;
    padding: 30px 20px;
  }

  /* --- ABOUT --- */
  .about {
    align-items: center;
    display: flex;
    gap: 0px;
    margin: 0 auto;
    max-width: 1100px;
    padding: 40px 10px 0;
  }

  .about__text {
    flex: 1;
  }

  .about__title {
    font-size: 28px;
  }

  .about__desc {
    font-size: 17px;
    margin-top: 20px;
  }

  .about__desc-hc {
    font-size: 11px;
  }

  .about__photo {
    flex: 0 0 50%;
    margin: 0;
    margin-left: -45px;
    max-width: 550px;
    padding: 0;
    position: relative;
    left: -50px;
    transform: scale(1.1);
    transform-origin: center bottom;
  }

  .anim-enabled .about__photo {
    animation-name: about-photo-in-pc;
  }

  @keyframes about-photo-in-pc {
    0% {
      opacity: 0;
      transform: scale(0.3);
    }
    60% {
      opacity: 1;
      transform: scale(1.16);
    }
    100% {
      opacity: 1;
      transform: scale(1.1);
    }
  }

  /* --- FEATURE SLIDER --- */
  :root {
    --slide-width: min(400px, 35vw);
  }

  .feature {
    padding: 70px 0 45px;
  }

  /* --- USAGE --- */
  .usage {
    padding: 70px 0 30px;
  }

  .usage__inner {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 40px;
  }

  .usage__grid {
    gap: 24px 20px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
  }

  .usage__title-img {
    max-width: 540px;
  }

  .usage__title-line {
    max-width: 320px;
  }

  .usage__item:hover .usage__item-photo {
    transform: translateY(-2px);
  }

  .usage__item:hover .usage__item-photo img {
    transform: scale(1.08);
  }

  /* --- LONGLAST --- */
  .longlast {
    padding: 20px 40px 50px;
  }

  .longlast__inner {
    max-width: 740px;
  }

  .longlast__circles {
    align-items: center;
    flex-direction: row;
    gap: 48px;
    justify-content: center;
  }

  .longlast__circle:first-child,
  .longlast__circle:last-child {
    align-self: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .longlast__circle {
    width: 300px;
    height: 300px;
  }

  .longlast__heading {
    font-size: 26px;
  }

  .longlast__desc {
    font-size: 16px;
  }

  /* --- CAUTION --- */
  .caution {
    margin: 0 auto;
    max-width: 1100px;
    padding: 24px 40px 30px;
  }

  .caution__list {
    font-size: 12px;
  }

  .caution__list small {
    font-size: 11px;
  }

  .caution__note {
    font-size: 11px;
  }

  /* --- SCIENCE --- */
  .science {
    padding: 120px 0;
  }

  .science__inner {
    margin: 0 auto;
    max-width: 1000px;
  }

  .science__card {
    padding: 36px 40px 40px;
  }

  .science__title {
    font-size: 30px;
  }

  .science__desc {
    font-size: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }

  .science__label-title {
    font-size: 22px;
  }

  .science__label-desc {
    font-size: 11px;
  }

  .science__diagram {
    display: flex;
    gap: 20px;
  }

  .science__diagram-item {
    flex: 1;
    margin-top: 0;
  }

  .science__diagram-img {
    width: 100%;
  }

  .science__link {
    font-size: 17px;
    line-height: 1.6;
    max-width: 360px;
    padding: 18px 32px;
  }

  .science__link::after {
    height: 18px;
    right: 22px;
    width: 18px;
  }

  /* --- LINEUP --- */
  .lineup {
    margin: 0 auto;
    max-width: 900px;
    padding: 50px 40px 70px;
  }

  .lineup__title {
    font-size: 26px;
  }

  .lineup__grid {
    align-items: end;
    grid-template-columns: repeat(3, 1fr);
  }

  .lineup__item--third {
    grid-column: auto;
    max-width: none;
    margin-top: 0;
  }

  .lineup__item-name {
    font-size: 14px;
  }

  .lineup__item-size {
    font-size: 14px;
  }

  .lineup__item-btn {
    font-size: 13px;
    min-width: 130px;
  }

  /* --- SHOP CTA --- */
  .shop-cta {
    margin: 0 auto;
    max-width: 500px;
    padding: 0 40px 80px;
  }

  /* --- RELATED --- */
  .related {
    margin: 0 auto;
    max-width: 600px;
    padding: 0 20px 50px;
  }

  /* --- FOOTER --- */
  .footer {
    padding: 24px 40px 18px;
  }

  .footer__nav {
    font-size: 13px;
    gap: 12px;
  }

  .footer__brand {
    font-size: 13px;
  }

  .footer__copyright {
    font-size: 12px;
  }

  /* --- GRID PANEL PC --- */
  .grid-panel__inner {
    max-width: none;
    padding: 80px 40px 60px;
  }

  .grid-panel__grid {
    gap: 16px;
  }

  /* --- SLIDER PC: all slides equal --- */
  #feature-slider .swiper-slide,
  #feature-slider .swiper-slide-active,
  #feature-slider .swiper-slide-prev,
  #feature-slider .swiper-slide-next {
    opacity: 1;
    transform: scale(1);
    z-index: auto;
  }

  /* --- SLIDER HOVER PC --- */
  #feature-slider .swiper-slide:hover {
    transform: scale(0.95);
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   Active only when body.anim-enabled is present.
   Without it, all elements display normally (no flicker).
   ============================================================ */

/* --- Fade Up (default) --- */
.anim-enabled [data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.anim-enabled [data-anim="fade-up"].anim-visible {
  opacity: 1;
  transform: none;
}

/* --- Fade In (no movement) --- */
.anim-enabled [data-anim="fade-in"] {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.anim-enabled [data-anim="fade-in"].anim-visible {
  opacity: 1;
}

/* --- Scale In --- */
.anim-enabled [data-anim="scale-in"] {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.anim-enabled [data-anim="scale-in"].anim-visible {
  opacity: 1;
  transform: none;
}

/* --- Slide from Left --- */
.anim-enabled [data-anim="slide-left"] {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.anim-enabled [data-anim="slide-left"].anim-visible {
  opacity: 1;
  transform: none;
}

/* --- Slide from Right --- */
.anim-enabled [data-anim="slide-right"] {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.anim-enabled [data-anim="slide-right"].anim-visible {
  opacity: 1;
  transform: none;
}

/* --- Bar slide from Left (for deco bars) --- */
.anim-enabled [data-anim="bar-left"] {
  opacity: 0;
  transform: translateX(-60px) scaleX(0.3);
  transform-origin: left center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.anim-enabled [data-anim="bar-left"].anim-visible {
  opacity: 1;
  transform: none;
}

/* --- Bar slide from Right (for deco bars) --- */
.anim-enabled [data-anim="bar-right"] {
  opacity: 0;
  transform: translateX(60px) scaleX(0.3);
  transform-origin: right center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.anim-enabled [data-anim="bar-right"].anim-visible {
  opacity: 1;
  transform: none;
}

/* --- Respect prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .anim-enabled [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .anim-enabled .claim__flame,
  .anim-enabled .claim__text,
  .anim-enabled .mv__img,
  .anim-enabled .about__photo {
    animation: none !important;
  }
}
